"use strict"; var main; (function() { var $rt_seed = 2463534242; function $rt_nextId() { var x = $rt_seed; x ^= x << 13; x ^= x >> 17; x ^= x << 5; $rt_seed = x; return x; } function $rt_compare(a, b) { return a > b ? 1 : a < b ? -1 : a === b ? 0 : 1; } function $rt_isInstance(obj, cls) { return obj !== null && !!obj.constructor.$meta && $rt_isAssignable(obj.constructor, cls); } function $rt_isAssignable(from, to) { if (from === to) { return true; } if (to.$meta.item !== null) { return from.$meta.item !== null && $rt_isAssignable(from.$meta.item, to.$meta.item); } var supertypes = from.$meta.supertypes; for (var i = 0;i < supertypes.length;i = i + 1 | 0) { if ($rt_isAssignable(supertypes[i], to)) { return true; } } return false; } function $rt_createArray(cls, sz) { var data = new Array(sz); var arr = new $rt_array(cls, data); if (sz > 0) { var i = 0; do { data[i] = null; i = i + 1 | 0; }while (i < sz); } return arr; } function $rt_wrapArray(cls, data) { return new $rt_array(cls, data); } function $rt_createUnfilledArray(cls, sz) { return new $rt_array(cls, new Array(sz)); } function $rt_createLongArray(sz) { var data = new Array(sz); var arr = new $rt_array($rt_longcls(), data); for (var i = 0;i < sz;i = i + 1 | 0) { data[i] = Long_ZERO; } return arr; } function $rt_createNumericArray(cls, nativeArray) { return new $rt_array(cls, nativeArray); } function $rt_createCharArray(sz) { return $rt_createNumericArray($rt_charcls(), new Uint16Array(sz)); } function $rt_createByteArray(sz) { return $rt_createNumericArray($rt_bytecls(), new Int8Array(sz)); } function $rt_createShortArray(sz) { return $rt_createNumericArray($rt_shortcls(), new Int16Array(sz)); } function $rt_createIntArray(sz) { return $rt_createNumericArray($rt_intcls(), new Int32Array(sz)); } function $rt_createBooleanArray(sz) { return $rt_createNumericArray($rt_booleancls(), new Int8Array(sz)); } function $rt_createFloatArray(sz) { return $rt_createNumericArray($rt_floatcls(), new Float32Array(sz)); } function $rt_createDoubleArray(sz) { return $rt_createNumericArray($rt_doublecls(), new Float64Array(sz)); } function $rt_arraycls(cls) { var result = cls.$array; if (result === null) { var arraycls = { }; var name = "[" + cls.$meta.binaryName; arraycls.$meta = { item : cls, supertypes : [$rt_objcls()], primitive : false, superclass : $rt_objcls(), name : name, binaryName : name, enum : false }; arraycls.classObject = null; arraycls.$array = null; result = arraycls; cls.$array = arraycls; } return result; } function $rt_createcls() { return { $array : null, classObject : null, $meta : { supertypes : [], superclass : null } }; } function $rt_createPrimitiveCls(name, binaryName) { var cls = $rt_createcls(); cls.$meta.primitive = true; cls.$meta.name = name; cls.$meta.binaryName = binaryName; cls.$meta.enum = false; cls.$meta.item = null; return cls; } var $rt_booleanclsCache = null; function $rt_booleancls() { if ($rt_booleanclsCache === null) { $rt_booleanclsCache = $rt_createPrimitiveCls("boolean", "Z"); } return $rt_booleanclsCache; } var $rt_charclsCache = null; function $rt_charcls() { if ($rt_charclsCache === null) { $rt_charclsCache = $rt_createPrimitiveCls("char", "C"); } return $rt_charclsCache; } var $rt_byteclsCache = null; function $rt_bytecls() { if ($rt_byteclsCache === null) { $rt_byteclsCache = $rt_createPrimitiveCls("byte", "B"); } return $rt_byteclsCache; } var $rt_shortclsCache = null; function $rt_shortcls() { if ($rt_shortclsCache === null) { $rt_shortclsCache = $rt_createPrimitiveCls("short", "S"); } return $rt_shortclsCache; } var $rt_intclsCache = null; function $rt_intcls() { if ($rt_intclsCache === null) { $rt_intclsCache = $rt_createPrimitiveCls("int", "I"); } return $rt_intclsCache; } var $rt_longclsCache = null; function $rt_longcls() { if ($rt_longclsCache === null) { $rt_longclsCache = $rt_createPrimitiveCls("long", "J"); } return $rt_longclsCache; } var $rt_floatclsCache = null; function $rt_floatcls() { if ($rt_floatclsCache === null) { $rt_floatclsCache = $rt_createPrimitiveCls("float", "F"); } return $rt_floatclsCache; } var $rt_doubleclsCache = null; function $rt_doublecls() { if ($rt_doubleclsCache === null) { $rt_doubleclsCache = $rt_createPrimitiveCls("double", "D"); } return $rt_doubleclsCache; } var $rt_voidclsCache = null; function $rt_voidcls() { if ($rt_voidclsCache === null) { $rt_voidclsCache = $rt_createPrimitiveCls("void", "V"); } return $rt_voidclsCache; } function $rt_throw(ex) { throw $rt_exception(ex); } function $rt_exception(ex) { var err = ex.$jsException; if (!err) { err = new Error("Java exception thrown"); if (typeof Error.captureStackTrace === "function") { Error.captureStackTrace(err); } err.$javaException = ex; ex.$jsException = err; $rt_fillStack(err, ex); } return err; } function $rt_fillStack(err, ex) { if (typeof $rt_decodeStack === "function" && err.stack) { var stack = $rt_decodeStack(err.stack); var javaStack = $rt_createArray($rt_objcls(), stack.length); var elem; var noStack = false; for (var i = 0;i < stack.length;++i) { var 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); } } } function $rt_createMultiArray(cls, dimensions) { var first = 0; for (var i = dimensions.length - 1;i >= 0;i = i - 1 | 0) { if (dimensions[i] === 0) { first = i; break; } } if (first > 0) { for (i = 0;i < first;i = i + 1 | 0) { cls = $rt_arraycls(cls); } if (first === dimensions.length - 1) { return $rt_createArray(cls, dimensions[first]); } } var arrays = new Array($rt_primitiveArrayCount(dimensions, first)); var firstDim = dimensions[first] | 0; for (i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createArray(cls, firstDim); } return $rt_createMultiArrayImpl(cls, arrays, dimensions, first); } function $rt_createByteMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_bytecls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createByteArray(firstDim); } return $rt_createMultiArrayImpl($rt_bytecls(), arrays, dimensions); } function $rt_createCharMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_charcls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createCharArray(firstDim); } return $rt_createMultiArrayImpl($rt_charcls(), arrays, dimensions, 0); } function $rt_createBooleanMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_booleancls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createBooleanArray(firstDim); } return $rt_createMultiArrayImpl($rt_booleancls(), arrays, dimensions, 0); } function $rt_createShortMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_shortcls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createShortArray(firstDim); } return $rt_createMultiArrayImpl($rt_shortcls(), arrays, dimensions, 0); } function $rt_createIntMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_intcls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createIntArray(firstDim); } return $rt_createMultiArrayImpl($rt_intcls(), arrays, dimensions, 0); } function $rt_createLongMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_longcls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createLongArray(firstDim); } return $rt_createMultiArrayImpl($rt_longcls(), arrays, dimensions, 0); } function $rt_createFloatMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_floatcls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createFloatArray(firstDim); } return $rt_createMultiArrayImpl($rt_floatcls(), arrays, dimensions, 0); } function $rt_createDoubleMultiArray(dimensions) { var arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_doublecls(), dimensions); } var firstDim = dimensions[0] | 0; for (var i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createDoubleArray(firstDim); } return $rt_createMultiArrayImpl($rt_doublecls(), arrays, dimensions, 0); } function $rt_primitiveArrayCount(dimensions, start) { var val = dimensions[start + 1] | 0; for (var i = start + 2;i < dimensions.length;i = i + 1 | 0) { val = val * (dimensions[i] | 0) | 0; if (val === 0) { break; } } return val; } function $rt_createMultiArrayImpl(cls, arrays, dimensions, start) { var limit = arrays.length; for (var i = start + 1 | 0;i < dimensions.length;i = i + 1 | 0) { cls = $rt_arraycls(cls); var dim = dimensions[i]; var index = 0; var packedIndex = 0; while (index < limit) { var arr = $rt_createUnfilledArray(cls, dim); for (var 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]; } function $rt_assertNotNaN(value) { if (typeof value === 'number' && isNaN(value)) { throw "NaN"; } return value; } var $rt_stdoutBuffer = ""; var $rt_putStdout = typeof $rt_putStdoutCustom === "function" ? $rt_putStdoutCustom : function(ch) { if (ch === 0xA) { if (console) { console.info($rt_stdoutBuffer); } $rt_stdoutBuffer = ""; } else { $rt_stdoutBuffer += String.fromCharCode(ch); } }; var $rt_stderrBuffer = ""; var $rt_putStderr = typeof $rt_putStderrCustom === "function" ? $rt_putStderrCustom : function(ch) { if (ch === 0xA) { if (console) { console.error($rt_stderrBuffer); } $rt_stderrBuffer = ""; } else { $rt_stderrBuffer += String.fromCharCode(ch); } }; var $rt_packageData = null; function $rt_packages(data) { var i = 0; var packages = new Array(data.length); for (var j = 0;j < data.length;++j) { var prefixIndex = data[i++]; var prefix = prefixIndex >= 0 ? packages[prefixIndex] : ""; packages[j] = prefix + data[i++] + "."; } $rt_packageData = packages; } function $rt_metadata(data) { var packages = $rt_packageData; var i = 0; while (i < data.length) { var cls = data[i++]; cls.$meta = { }; var m = cls.$meta; var className = data[i++]; m.name = className !== 0 ? className : null; if (m.name !== null) { var packageIndex = data[i++]; if (packageIndex >= 0) { m.name = packages[packageIndex] + m.name; } } m.binaryName = "L" + m.name + ";"; var 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 = { }; } var 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++]; var clinit = data[i++]; cls.$clinit = clinit !== 0 ? clinit : function() { }; var virtualMethods = data[i++]; if (virtualMethods !== 0) { for (var j = 0;j < virtualMethods.length;j += 2) { var name = virtualMethods[j]; var func = virtualMethods[j + 1]; if (typeof name === 'string') { name = [name]; } for (var k = 0;k < name.length;++k) { cls.prototype[name[k]] = func; } } } cls.$array = null; } } function $rt_threadStarter(f) { return function() { var args = Array.prototype.slice.apply(arguments); $rt_startThread(function() { f.apply(this, args); }); }; } function $rt_mainStarter(f) { return function(args, callback) { if (!args) { args = []; } var javaArgs = $rt_createArray($rt_objcls(), args.length); for (var i = 0;i < args.length;++i) { javaArgs.data[i] = $rt_str(args[i]); } $rt_startThread(function() { f.call(null, javaArgs); }, callback); }; } var $rt_stringPool_instance; function $rt_stringPool(strings) { $rt_stringPool_instance = new Array(strings.length); for (var i = 0;i < strings.length;++i) { $rt_stringPool_instance[i] = $rt_intern($rt_str(strings[i])); } } function $rt_s(index) { return $rt_stringPool_instance[index]; } function $rt_eraseClinit(target) { return target.$clinit = function() { }; } var $rt_numberConversionView = new DataView(new ArrayBuffer(8)); function $rt_doubleToLongBits(n) { $rt_numberConversionView.setFloat64(0, n, true); return new Long($rt_numberConversionView.getInt32(0, true), $rt_numberConversionView.getInt32(4, true)); } function $rt_longBitsToDouble(n) { $rt_numberConversionView.setInt32(0, n.lo, true); $rt_numberConversionView.setInt32(4, n.hi, true); return $rt_numberConversionView.getFloat64(0, true); } function $rt_floatToIntBits(n) { $rt_numberConversionView.setFloat32(0, n); return $rt_numberConversionView.getInt32(0); } function $rt_intBitsToFloat(n) { $rt_numberConversionView.setInt32(0, n); return $rt_numberConversionView.getFloat32(0); } function $rt_javaException(e) { return e instanceof Error && typeof e.$javaException === 'object' ? e.$javaException : null; } function $rt_jsException(e) { return typeof e.$jsException === 'object' ? e.$jsException : null; } function $rt_wrapException(err) { var ex = err.$javaException; if (!ex) { ex = $rt_createException($rt_str("(JavaScript) " + err.toString())); err.$javaException = ex; ex.$jsException = err; $rt_fillStack(err, ex); } return ex; } function $dbg_class(obj) { var cls = obj.constructor; var arrayDegree = 0; while (cls.$meta && cls.$meta.item) { ++arrayDegree; cls = cls.$meta.item; } var clsName = ""; if (cls === $rt_booleancls()) { clsName = "boolean"; } else if (cls === $rt_bytecls()) { clsName = "byte"; } else if (cls === $rt_shortcls()) { clsName = "short"; } else if (cls === $rt_charcls()) { clsName = "char"; } else if (cls === $rt_intcls()) { clsName = "int"; } else if (cls === $rt_longcls()) { clsName = "long"; } else if (cls === $rt_floatcls()) { clsName = "float"; } else if (cls === $rt_doublecls()) { clsName = "double"; } else { clsName = cls.$meta ? cls.$meta.name || "a/" + cls.name : "@" + cls.name; } while (arrayDegree-- > 0) { clsName += "[]"; } return clsName; } function Long(lo, hi) { this.lo = lo | 0; this.hi = hi | 0; } Long.prototype.__teavm_class__ = function() { return "long"; }; Long.prototype.toString = function() { var result = []; var n = this; var positive = Long_isPositive(n); if (!positive) { n = Long_neg(n); } var radix = new Long(10, 0); do { var 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); }; var Long_ZERO = new Long(0, 0); var Long_MAX_NORMAL = 1 << 18; function Long_fromInt(val) { return val >= 0 ? new Long(val, 0) : new Long(val, -1); } function Long_fromNumber(val) { if (val >= 0) { return new Long(val | 0, val / 0x100000000 | 0); } else { return Long_neg(new Long( -val | 0, -val / 0x100000000 | 0)); } } function Long_toNumber(val) { var lo = val.lo; var hi = val.hi; if (lo < 0) { lo += 0x100000000; } return 0x100000000 * hi + lo; } var $rt_imul = Math.imul || function(a, b) { var ah = a >>> 16 & 0xFFFF; var al = a & 0xFFFF; var bh = b >>> 16 & 0xFFFF; var bl = b & 0xFFFF; return al * bl + (ah * bl + al * bh << 16 >>> 0) | 0; }; var $rt_udiv = function(a, b) { if (a < 0) { a += 0x100000000; } if (b < 0) { b += 0x100000000; } return a / b | 0; }; var $rt_umod = function(a, b) { if (a < 0) { a += 0x100000000; } if (b < 0) { b += 0x100000000; } return a % b | 0; }; function $rt_setCloneMethod(target, f) { target.$clone = f; } function $rt_cls(cls) { return jl_Class_getClass(cls); } function $rt_str(str) { if (str === null) { return null; } var characters = $rt_createCharArray(str.length); var charsBuffer = characters.data; for (var i = 0; i < str.length; i = (i + 1) | 0) { charsBuffer[i] = str.charCodeAt(i) & 0xFFFF; } return jl_String__init_(characters); } function $rt_ustr(str) { if (str === null) { return null; } var data = str.$characters.data; var result = ""; for (var i = 0; i < data.length; i = (i + 1) | 0) { result += String.fromCharCode(data[i]); } return result; } function $rt_objcls() { return jl_Object; } function $rt_nullCheck(val) { if (val === null) { $rt_throw(jl_NullPointerException__init_()); } return val; } function $rt_intern(str) { return str; } function $rt_getThread() { return jl_Thread_currentThread(); } function $rt_setThread(t) { return jl_Thread_setCurrentThread(t); } function $rt_createException(message) { return jl_RuntimeException__init_(message); } function $rt_createStackElement(className, methodName, fileName, lineNumber) { return null; } function $rt_setStack(e, stack) { } var $java = Object.create(null); function jl_Object() { this.$monitor = null; this.$id$ = 0; } function jl_Object__init_() { var var_0 = new jl_Object(); jl_Object__init_0(var_0); return var_0; } function jl_Object_monitorEnterSync($o) { var var$2; if ($o.$monitor === null) jl_Object_createMonitor($o); if ($o.$monitor.$owner === null) $o.$monitor.$owner = jl_Thread_currentThread0; else if ($o.$monitor.$owner !== jl_Thread_currentThread0) { var$2 = new jl_IllegalStateException; jl_Throwable__init_(var$2, $rt_s(0)); $rt_throw(var$2); } $o = $o.$monitor; $o.$count = $o.$count + 1 | 0; } function jl_Object_monitorExitSync($o) { var var$2, var$3; if (!jl_Object_isEmptyMonitor($o) && $o.$monitor.$owner === jl_Thread_currentThread0) { var$2 = $o.$monitor; var$3 = var$2.$count - 1 | 0; var$2.$count = var$3; if (!var$3) $o.$monitor.$owner = null; jl_Object_isEmptyMonitor($o); return; } $o = new jl_IllegalMonitorStateException; jl_Throwable__init_0($o); $rt_throw($o); } function jl_Object_monitorEnter($o) { if ($o.$monitor === null) jl_Object_createMonitor($o); if ($o.$monitor.$owner === null) $o.$monitor.$owner = jl_Thread_currentThread0; if ($o.$monitor.$owner !== jl_Thread_currentThread0) jl_Object_monitorEnterWait($o, 1); else { $o = $o.$monitor; $o.$count = $o.$count + 1 | 0; } } function jl_Object_createMonitor($o) { var var$2; var$2 = new jl_Object$Monitor; var$2.$owner = jl_Thread_currentThread0; $o.$monitor = var$2; } function jl_Object_monitorEnterWait(var$1, var$2) { var thread = $rt_nativeThread(); var javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; var result = thread.attribute; if (result instanceof Error) { throw result; } return result; } var callback = function() {}; callback.$complete = function(val) { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = function(e) { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); return thread.suspend(function() { try { jl_Object_monitorEnterWait0(var$1, var$2, callback); } catch($e) { callback.$error($rt_exception($e)); } }); } function jl_Object_monitorEnterWait0($o, $count, $callback) { var $thread_0, $monitor, var$6; $thread_0 = jl_Thread_currentThread0; if ($o.$monitor === null) { jl_Object_createMonitor($o); jl_Thread_setCurrentThread($thread_0); $o = $o.$monitor; $o.$count = $o.$count + $count | 0; otpp_AsyncCallbackWrapper_complete($callback, null); return; } if ($o.$monitor.$owner === null) { $o.$monitor.$owner = $thread_0; jl_Thread_setCurrentThread($thread_0); $o = $o.$monitor; $o.$count = $o.$count + $count | 0; otpp_AsyncCallbackWrapper_complete($callback, null); return; } $monitor = $o.$monitor; 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.$_0 = $thread_0; var$6.$_1 = $o; var$6.$_2 = $count; var$6.$_3 = $callback; $callback = var$6; $monitor.push($callback); } function jl_Object_monitorExit($o) { var var$2; if (!jl_Object_isEmptyMonitor($o) && $o.$monitor.$owner === jl_Thread_currentThread0) { var$2 = $o.$monitor; var$2.$count = var$2.$count - 1 | 0; if (var$2.$count <= 0) { var$2.$owner = null; if (var$2.$enteringThreads !== null && !otp_PlatformQueue_isEmpty$static(var$2.$enteringThreads)) { var$2 = new jl_Object$monitorExit$lambda$_8_0; var$2.$_00 = $o; otp_Platform_postpone(var$2); } else jl_Object_isEmptyMonitor($o); } return; } $o = new jl_IllegalMonitorStateException; jl_Throwable__init_0($o); $rt_throw($o); } function jl_Object_isEmptyMonitor($this) { var $monitor; $monitor = $this.$monitor; if ($monitor === null) return 1; a: { if ($monitor.$owner === null && !($monitor.$enteringThreads !== null && !otp_PlatformQueue_isEmpty$static($monitor.$enteringThreads))) { if ($monitor.$notifyListeners === null) break a; if (otp_PlatformQueue_isEmpty$static($monitor.$notifyListeners)) break a; } return 0; } $this.$monitor = null; return 1; } function jl_Object__init_0($this) { return; } function jl_Object_getClass($this) { return jl_Class_getClass($this.constructor); } function jl_Object_equals($this, $other) { return $this !== $other ? 0 : 1; } function jl_Object_toString($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), jl_Class_getName(jl_Object_getClass($this))), $rt_s(1)); var$2 = jl_Object_identity($this); if (!var$2) var$3 = $rt_s(2); else { if (!var$2) var$4 = 32; else { var$5 = 0; var$4 = var$2 >>> 16; if (var$4) var$5 = 16; else var$4 = var$2; var$6 = var$4 >>> 8; if (!var$6) var$6 = var$4; else var$5 = var$5 | 8; var$4 = var$6 >>> 4; if (!var$4) var$4 = var$6; else var$5 = var$5 | 4; var$6 = var$4 >>> 2; if (!var$6) var$6 = var$4; else var$5 = var$5 | 2; if (var$6 >>> 1) var$5 = var$5 | 1; var$4 = (32 - var$5 | 0) - 1 | 0; } var$6 = (((32 - var$4 | 0) + 4 | 0) - 1 | 0) / 4 | 0; var$7 = $rt_createCharArray(var$6); var$8 = var$7.data; var$4 = (var$6 - 1 | 0) * 4 | 0; var$6 = 0; while (var$4 >= 0) { var$5 = var$6 + 1 | 0; var$8[var$6] = jl_Character_forDigit(var$2 >>> var$4 & 15, 16); var$4 = var$4 - 4 | 0; var$6 = var$5; } var$3 = jl_String__init_(var$7); } return jl_StringBuilder_toString(jl_StringBuilder_append(var$1, var$3)); } function jl_Object_identity($this) { var $platformThis, var$2; $platformThis = $this; if (!$platformThis.$id$) { var$2 = $rt_nextId(); $platformThis.$id$ = var$2; } return $this.$id$; } function jl_Object_clone($this) { var $result, var$2, var$3; if (!$rt_isInstance($this, jl_Cloneable) && $this.constructor.$meta.item === null) { $result = new jl_CloneNotSupportedException; jl_Throwable__init_0($result); $rt_throw($result); } $result = otp_Platform_clone($this); var$2 = $result; var$3 = $rt_nextId(); var$2.$id$ = var$3; return $result; } function jl_Object_notifyAll($this) { var $listeners, $listener; if (!($this.$monitor !== null && $this.$monitor.$owner === jl_Thread_currentThread0 ? 1 : 0)) { $listeners = new jl_IllegalMonitorStateException; jl_Throwable__init_0($listeners); $rt_throw($listeners); } $listeners = $this.$monitor.$notifyListeners; if ($listeners === null) return; while (!otp_PlatformQueue_isEmpty$static($listeners)) { $listener = otp_PlatformQueue_remove$static($listeners); if (!$listener.$expired()) otp_Platform_postpone($listener); } $this.$monitor.$notifyListeners = null; } function nle_Client() { jl_Object.call(this); } var nle_Client_rootElement = null; var nle_Client_instance = null; var nle_Client_isCrashed = 0; function nle_Client_main($args) { var $ex2, $e, var$4, var$5, $s, var$7, var$8, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$s = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$e = $thread.pop();$ex2 = $thread.pop();$args = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_Client__clinit_(); jl_String__clinit_(); jl_Integer__clinit_(); jl_Character__clinit_(); ju_Locale__clinit_(); ju_Calendar__clinit_(); ju_GregorianCalendar__clinit_(); otcit_CachedDateTimeZone__clinit_(); otcit_DateTimeZoneProvider__clinit_(); jl_Long__clinit_(); ju_TimeZone__clinit_(); nle_EarlyLoadScreen__clinit_(); nleat_IndexedDBFilesystem__clinit_(); nleat_IndexedDBFilesystem$OpenState__clinit_(); jl_Thread__clinit_(); nle_AssetRepository__clinit_(); cmmlt_Tile$SoundType__clinit_(); cmmll_LiquidType__clinit_(); nle_Base64__clinit_(); nle_BaseNCodec__clinit_(); nle_GLAllocation__clinit_(); jl_Float__clinit_(); jnc_Charset$Charsets__clinit_(); jn_ByteOrder__clinit_(); nle_BaseNCodec$CodecPolicy__clinit_(); cmm_GameSettings__clinit_(); cmmi_Item__clinit_(); cmmp_Player__clinit_(); nPm_MathHelper__clinit_(); cmmr_ShapeRenderer__clinit_(); cmmr_FrustrumImpl__clinit_(); ju_Collections__clinit_(); cmmr_TextureLocation__clinit_(); cjj_Inflate__clinit_(); cmmr_RenderEngine__clinit_(); jnc_CodingErrorAction__clinit_(); nPg_FixedFunctionShader__clinit_(); jnc_CoderResult__clinit_(); cjj_InfBlocks__clinit_(); cjj_InfTree__clinit_(); cjj_InfCodes__clinit_(); cmmg_FontAllowedCharacters__clinit_(); cjj_CRC32__clinit_(); jl_AbstractStringBuilder$Constants__clinit_(); otcit_FloatAnalyzer__clinit_(); nle_Client_registerErrorHandler$js_body$_5(); $ex2 = window.classicConfig; if ($ex2 === null) $e = null; else { $e = $rt_createArray(jl_String, $ex2.length); $args = $e.data; var$4 = 0; var$5 = $args.length; while (var$4 < var$5) { $args[var$4] = $rt_str($ex2[var$4]); var$4 = var$4 + 1 | 0; } } a: { try { $args = $e.data; $ex2 = window.document; $s = $args[0]; $ex2 = $ex2.getElementById($rt_ustr($s)); nle_Client_rootElement = $ex2; $s = $args[1]; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nle_Client$AbortedLaunchException) { } else if ($$je instanceof jl_Throwable) { $ex2 = $$je; break a; } else { throw $$e; } } return; } $s = new ji_StringWriter; $s.$lock = $s; var$7 = new jl_StringBuffer; jl_AbstractStringBuilder__init_(var$7, 16); $s.$buf = var$7; $s.$lock = $s.$buf; var$7 = new ji_PrintWriter; var$7.$lock = $s; var$7.$autoflush = 0; var$7.$out = $s; jl_Throwable_printStackTrace($ex2, var$7); return; case 1: b: { c: { d: { try { nlea_EaglerAdapterImpl2_initializeContext($ex2, $s); if ($rt_suspending()) { break main; } break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nle_Client$AbortedLaunchException) { } else if ($$je instanceof jl_Throwable) { $ex2 = $$je; break c; } else { throw $$e; } } return; } try { break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $ex2 = $$je; } else { throw $$e; } } } $s = new ji_StringWriter; $s.$lock = $s; var$7 = new jl_StringBuffer; jl_AbstractStringBuilder__init_(var$7, 16); $s.$buf = var$7; $s.$lock = $s.$buf; var$7 = new ji_PrintWriter; var$7.$lock = $s; var$7.$autoflush = 0; var$7.$out = $s; jl_Throwable_printStackTrace($ex2, var$7); return; } ji_PrintStream_println(jl_System_out(), $rt_s(3)); $ex2 = new cmm_Minecraft; $s = new cmmg_SurvivalGameMode; $s.$minecraft = $ex2; $s.$instantBreak = 0; $ex2.$gamemode = $s; $s = new cmm_Timer; $s.$speed = 1.0; $s.$elapsedDelta = 0.0; $s.$adjustment = 1.0; $s.$tps = 20.0; $s.$lastSysClock = jl_System_currentTimeMillis(); $s.$lastHRClock = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); $ex2.$timer = $s; $ex2.$session = null; $ex2.$levelLoaded = 0; $ex2.$waiting = 0; $ex2.$currentScreen = null; $s = new cmm_ProgressBarDisplay; $s.$text = $rt_s(4); $s.$title = $rt_s(4); $s.$start = jl_System_currentTimeMillis(); $s.$minecraft0 = $ex2; $ex2.$progressBar = $s; $s = new cmmr_Renderer; $s.$fogColorMultiplier = 1.0; $s.$displayActive = 0; $s.$fogEnd = 0.0; $s.$entity = null; $s.$random = new ju_Random; $s.$unused1 = 0; $s.$unused2 = 0; $s.$buffer = nle_GLAllocation_createDirectFloatBuffer(16); $s.$minecraft1 = $ex2; var$7 = new cmmr_HeldBlock; var$7.$block = null; var$7.$pos = 0.0; var$7.$lastPos = 0.0; var$7.$offset = 0; var$7.$moving = 0; var$7.$minecraft2 = $ex2; $s.$heldBlock = var$7; $ex2.$renderer = $s; $s = new cmml_LevelIO; $s.$progressBar0 = $ex2.$progressBar; $ex2.$levelIo = $s; $ex2.$ticks = 0; $ex2.$blockHitTime = 0; $ex2.$levelName = null; $ex2.$levelId = 0; $ex2.$online = 0; cmmm_HumanoidModel__init_(new cmmm_HumanoidModel, 0.0); $ex2.$selected = null; $ex2.$server = null; $ex2.$port = 0; $ex2.$running = 0; $ex2.$debug = $rt_s(4); $ex2.$hasMouse = 0; $ex2.$lastClick = 0; $ex2.$raining = 0; $s = new cmm_SleepForeverThread; jl_Thread__init_($s, null, null); $s.$daemon = 1; jl_Thread_start($s); $ex2.$width = nlea_EaglerAdapterImpl2_getCanvasWidth(); $ex2.$height = nlea_EaglerAdapterImpl2_getCanvasHeight(); nle_Client_instance = $ex2; nle_Client_instance.$host = $rt_s(5); var$7 = nle_Client_instance; var$8 = new cmm_SessionData; cmm_SessionData_$callClinit(); var$8.$username = $rt_s(6); var$8.$sessionId = $rt_s(7); var$7.$session = var$8; nle_Client_instance.$levelLoaded = 1; nlea_EaglerAdapterImpl2_canvas.focus(); nlea_EaglerAdapterImpl2_canvasBack.focus(); nle_Client_instance.$waiting = 0; $ex2 = nle_Client_instance; $ptr = 2; case 2: cmm_Minecraft_run($ex2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($args, $ex2, $e, var$4, var$5, $s, var$7, var$8, $ptr); } function nle_Client_showDatabaseLockedScreen($msg) { var $s, var$3, var$4, $doc, $img, $div; $s = $rt_str(nle_Client_rootElement.getAttribute("style")); var$3 = nle_Client_rootElement; var$4 = jl_StringBuilder__init_(); if ($s === null) $s = $rt_s(4); var$4 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(var$4, $s), $rt_s(8))); var$3.setAttribute("style", $rt_ustr(var$4)); $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", "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/jvbzH5DEC6DWys6NF5WFppkxabqppp5VuOu/VkrHEmk8WXnO2XN61USTPbCWGlyce6WYps+wyyJ+R3sLV/GMt6c0733SWBhPvxJ05MVj6pD//PY9/OdC9DvmUPJikPr38pOxAZRmeOX/mLhKS7jeO2gvw9+P3H89rIYPthXmwwRX1M4S29IUtx1F5iS7c2Hj9lEWS/TUAIWLuxmJSIQOxp9JST1FylpSI4yA/i4GG14aSgtRa3qwy11I6yRnZ5+Y7kt69ueXPZTiLRLTSi5CaWRa5qhAb+JE6wNBqpdXWWm/SRptt9dJrb7136U5+S4pUadJFZMiUNcqoo40+ZIww5lgzzwI5ttmnzDHnXItJFyMvvr24YS3NWrRq066iQ6cuAz5WrVk3sRFs2tp5lw1P7L5ljz33OukApVNPO/3IGWeedYHaLbfedvuVO+6860fWUvik9S+P/zxr6Ttr+WXKb5QfWeOrIt9DJKeT5jkjYxnFIGOeAQCdPWdxpFpz8NR5zuLMVEXLrLJ5cnbyjJHBelJuN/3I3T8z90veQq3/r7zl78wFT93fkbngqfsXmftr3v6Qte1qY7GElyEvQw9qLJQfN608+Icm/eev4b/9wt8/0In35Clj53MtbQbay3TJha/Pkal9UOin9o2snXLdVJzrX8x6El9Up6p2YeDZ7wV5Y/ZWZzDrsVZAxUREcEtXINlSba6zTUo7DqNNZZ7E0GlIa3OfMnNv2cYao2mOEnZWMnx6MUFcO2kfd3QoZ7IO65tFgligM06VYamjx10GGcZxALBZbupiJbS1j5a+V9tDt/GvGR/r3nEymiW+cplN17qzsLtxyazNKjvJParJP+8Y0tKjru0vjl+vc9j299JPInSpnbbXGwBy3FFMWMZI5Uw7N5pqa6FLzXXavN2aLGB6zMbTnLuwLg3RomLPiV3HgUku87QbJ/vPsqlllauVYKcDOZfiTyyjorvMlm2f3G+8RnHU26nhpTqhsBk7QSEPiSKACKic+QARYJfY662kSbJyz20y4WC4mxqDTLRvdiqn4XOONR0EhnG4or7ZVKSV3SRYHcXIcdzjpK7spLVzqLEac1lnJ7T3trXSAgEbJb917dLbbgUs5cy+0mgiQa2kju+LR8HSIRLpggxyCUvEO5hWkQyq/UJFkMvIOmO9ZkIOtggga2opgLhVd2LLrZ6LMPGFTTjGXQBFsi8/GtWg+xxlaYQtH4WpABhgjToaKW0BWEBqZ7Y9xSprJzQ4EBIz9EBImNHdT7FThzuVx8CT7d25bm06r5Y7TGu4MJT0wm74vCZBJPbp4jZI7ny5A1NsEWq8x86u0RbOxjTLOXgVIZTNDfssWH8lcOSOaDIXN5OAWiFCpBuA4hObzbQJ2jLbnaKdN1H96XZFoVm6BGh3b2Pxslg5TpdBdNiNwEFbnxTSYvEwY1WBMoou0quCj2erCyAMT/EM5c4tk7ITRwOpJb98gV0Il6/gw4jLnqSA/MbVxAVtuan02dhz39d6C8uBxw0yG4qguQ8tE9Jm3Y1NqxiqA4OkzSC7rmOJSQ0FA6+TYqSCZM4bjl1+2TcoQAQQiWK9wts5euIHQkcNIQwogqJEiaVFG6cpl7rXy6vIuAP1VJ0J7yC3G7Xy3XXwnNGTm/CratGOxFJ8InCPUc3crSdDUCmfyZ1XQ+sehTxAakljQkbCHUTrIcSUhXU2v+m72mUcWwqiL5AZaA52YBaWoTnI7dBKVmOjR0gmpWJOfqwuFp8ecJTuAiaiS/ds2PPqVhqkZmQZ+WaTgUZIWTLEjKceUE2bxicDi9PrCi43qCEDowuMjkcOXrnQQKJEIK6tCoeFTmhZy4QzjTXCgQDTOerenNAaalzHI4ziLMR64mnMRN8KDUKviZqL47hkAzKzBUHYxXAcah6yVw88vlPGrWUkoRYzvgP/Oy+sQ8sCA+anbvRz17B+SM51PQdXw43GKZBNupUqE+e2jQRUihD2jXclhnCpS9QJXFkzHQN0SLAHqM6Z5oAqhb1ZdzN3FUtBdFEh+g1CgvNJ+GoQBby22qMXaoqw5IbDD/V5N5g68zUS2+eN+0IxOKFxk+3nahRGavBX1kwG8c3XnRD5Rwevl9IIWg60XPMS7FWOw5BK7W8+34HrNGFs6AKiuTtQRS4vrdHqUrQn6BI1GiVQ29QxSrQoLFKEgG7WfZR9fqSvbnG12rhGw+wutwG7Yc4obQqqysLVUWvMCTq8PduHQAHBtSfM53L44Hv6E3Hg4ClgEmpTLh1lX5fpG8WzzgxbcocKWyeLKH1TYuOKEtn8rAXD3fZW58hbKmZPF/fiRvGJ+EDA5/3xXCeQdAHTdKLU4llYinQGxd8Nwpm44WTUlYzM0BiBYy5q1SGZ4fiizmbQggZEkU2fgzftJR13OLaEeihuGy8a1yCjBjZc24kRECWrCZuCYaaqWK5SO2FNInPp7SbaQSdKr4XngTInYZuQhPL+uvt+RiY197sHtYRmV4Z+J6leOYcN7hy2hdmJ3HCa2Smz45pWgc2nIuUT6UTz6HmxEr65thqqTn43ecYfWJB6pvusxL1EcbVJvdaCaaCCqLlqVBob2cTVzf+HOROZ6PkSnYc4nDdbW1R5r3WjZvKYHi5sh8LGasG7/QMFGGS5HyMh4/g01IU12spNOMlQKLSOJBsNeZhRDBq2Ca6wS+3rvhvwIWp1RAhK6CeQlLMbdxUnvUFoFSCEjq5hHYSFetT4Fc0nOXJeZ6x2n/oPNL9UrJnrMqNHdzlVend/tolGDriXJWAYm+RcstiIk8XO6xL3jmO79BNwILKp0H0GynCHw2Gft4erFLqFg+JUcrEhNDaxoPl89vCTMfxCLwvYu7Ok/vVQDKVgYeFT/Dfliu/FqhYBR3i1ZUxQKoveQhAVycoHW00NemeHVzF5fvVO2ATGplIaUKLrmS6IlNXIwXPhEQJLhtPyksOctOc7PVeveGFurBNcBXkPLJnLMI3SPngyJEqIBlmrhYLYyzuJPPBr0BtWZMC3eCqaUQiFNvJiHRIG5Sz6OfqHXeVspDaxKN9bwONqMTfVbAUVceMH8zZc3jVwCaxhLLKeGMNPG/B9mD6bznYXT4xIYPopEYp8u1+l9pTmoj92nJAQVUuJbLzTQCUIO9saYB2rh33FUdOcQnnUo1dkeF0IvhSM2RCMEp4P37SIK87IDtx4rpNjceB2DCCQEDwm8xwcNrwPZ5F+BlbvZ+iUKGndCyCYpYVwUpYlOp2s6oLGXgZb78N5Zafup1V1Is6VPuu1WVRDnt3GhtwEIcN2swl3R03rwr3jOTdNG6R1n5O9NPzg0/ud5ITrDBeIuLnpXMC+Og/Q7R8luPA1C4sbQdw7pwhJ4liQABaNYRKmBwZ0/4YvXjmgG7sBb8xlN0jQCwmvTHjhw4yPw0ZGsEchK734RqoWcVsULPn1rlAJ69ru2FwNuHczIXJeux54qcA2NHrY0lxeR6Bkb7P749pB0XunMyr1pd614vx1jF3gmOLOFWX1GhOY/uM09wD43swqRZxrtuOIoorpNWlmMNMVZJPHAPXofVEyPfgAmOMg+AkePn7wiF+ODmt7ZYuPw3YDnF1KBUg0Xi6PuOWAn8gdssLzOjTbddueqHPtiDhMTysJVTvNA1bnDYonejAj6fEAgsYlNTDngDDZRaK5modo0JRdvvIQHmH/V76NFt2dAyWApSHTNMjcKJWVOSWFpuiMa1k3P2RB2jAqQ2DlgssUsASTYRZ3Nu/wsBxEFV+DVLUBj2IP8Z5lhEML/XBh8fXPM2HDvH1GN+4krwRoAdbsfPZO2WkycKDChN40J9wiYk0LwRLhgyOVBG9kBmntrMzQtVgRlaW9REcw5YO2YAc+PZxC4cttFyigJwh4KGI9xTkKDp6XIeGSwjS5K5bfT7kSfQglvDZ9pzCsxgqQysRl5EnJE2eK1k0QqtH+DSMeVJE0Z0KcjsdiFUV01TsinsN0MmeWnDo4XN7HDe8NvUEin+4QsFKUA02X293xBIuUj5Kun3O/1n1D/gN+IH6wJyPSqy7NsE3OTn14xNYoqwZ+/ESBRtAgEqz+PYOdT6KKGPspRUD8Bshj0bTMluEwgtGxl158e08/KLm0ITgFmhTgMG+rNICG7uNvsQk4MmoeHOHCqhFm2hBGY4HtyEe/5dElQJfh6MOtdAoMLLjppIvGmyJLfr78VkQzd8gpJVCQNkoP64jBwznSiqsfeOIX8B74EUQeaoFIWTEstV4vTDOGHQh92XQS8aaXqhx+lKXkkShCYpimC5N6t3fBGETtWe3s3Q8mqF2ak4NFKjN4Xlitx571mru5Nb271cL4F5iyYD8qEidIKAqFhsgu6k4m0BznhqkW8Jcld6GIbHnVwjjdMD5IS8EBDRejTmvvUMM/k0L2Qsil9kd2uI0Kn/Xg1cDOlcjSs0PHNRr0QKzxiGPhI1FJPx6dyc2EL2awLcKOTPixghGwjYdEDUQxA6Wiu62MMUgVvouX1q8f1A03jEx6HCUIip8OY/KgrARQAVrbADc4wg6qh8yiQXCyHyusipfJljJU54koJTZfG7J1SCqmFRkg+Xt6tSeKd2G0WCXRYmgWMhD8RABpAJ2GQJQSDoLdhe5Y+/BjSHx4MUgCZqKxYXr3RQFCzB+yYe90qd3PEJEhP/zFmFLyaCnvWuJuqET84A+6O9WJaNDcQ1l9WsDLGGaGrn/7qWAmngb7l4+N1te44P38EBk/SI/FvntzlgL04qfJpIAbQ8emODPjRtJEjpA0erPKenW8v86hJ6D8xzmt/w2odn/ClBI6NoT1ySmgy7dxlzcEP91ObRjLJrXIEf4yAZtJC71sNbgAoHdcVHdf1RcdxA1YL2/DIC7aBqrAOnLrR/XJkQi1OpfNzDfdjoEQPN3BCezs1AsY/IQVyQmV9orsT8yf/3HU/BO9Y4I9GIwGiYL2Y2B6H/WWEUR5awuPszBvaYr/daJL8NOHCQrdHuF6EadM9yfU2hp0hKy60KdTfMSK1g+w4QUajQkyDWpaxt3glWfAkk0ylLxeBw4isbTkHRI9ZYMxZcJg6SMJ5gaT5tvTNegyS+0oPxaymQZECg+qa0HX9dI6M/Eq8C0+kWD4oYafVHrcticUeio06LAhyMOLXBjX5SewUOQLeMRBHw/Nt/SOX18Oc0yuNRmX43iPBam3TosB1vG96acj9PDjLP23V8OwMW4rER1BD+iK4vKDk11fK1l68WOfsRs6ktd6f6YvxGxi4djsB3OsxTHy3/w9IfwNf8n440BILET+f7LnjZBrgBfeAAABhGlDQ1BJQ0MgcHJvZmlsZQAAeJx9kT1Iw1AUhU9TRZGKg0GKOGSoThZERRylikWwUNoKrTqYvPQPmjQkKS6OgmvBwZ/FqoOLs64OroIg+APi6OSk6CIl3pcUWsR44fE+zrvn8N59gNCoMM3qmgA03TZT8ZiUza1KPa8IIIwhCBBlZhmJ9GIGvvV1T91Ud1Ge5d/3Z/WreYsBAYl4jhmmTbxBPLNpG5z3iUVWklXic+Jxky5I/Mh1xeM3zkWXBZ4pmpnUPLFILBU7WOlgVjI14mniiKrplC9kPVY5b3HWKjXWuid/YSivr6S5TmsEcSwhgSQkKKihjApsRGnXSbGQovOYj3/Y9SfJpZCrDEaOBVShQXb94H/we7ZWYWrSSwrFgO4Xx/kYBXp2gWbdcb6PHad5AgSfgSu97a82gNlP0uttLXIEDGwDF9dtTdkDLneA8JMhm7IrBWkJhQLwfkbflAMGb4G+NW9urXOcPgAZmtXyDXBwCIwVKXvd5929nXP7t6c1vx8743KRRjbQVgAADfdpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDQuNC4wLUV4aXYyIj4KIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgIHhtbG5zOkdJTVA9Imh0dHA6Ly93d3cuZ2ltcC5vcmcveG1wLyIKICAgIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIgogICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICB4bXBNTTpEb2N1bWVudElEPSJnaW1wOmRvY2lkOmdpbXA6NDJlMTU3MGEtNmMyZS00Y2E1LWI3ZTMtOGI4ODI1MmMwZDMwIgogICB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjU1NGY3N2UwLTc4NmEtNGFlZS1iYjhmLWNhYTBiZGNiYzE3MSIKICAgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmNmMWYyMjUxLWIwY2QtNDE1NS1hMjAyLTExNGI0ZGM2MmFhNSIKICAgZGM6Rm9ybWF0PSJpbWFnZS9wbmciCiAgIEdJTVA6QVBJPSIyLjAiCiAgIEdJTVA6UGxhdGZvcm09IldpbmRvd3MiCiAgIEdJTVA6VGltZVN0YW1wPSIxNjQzMDYxODUwNDk0OTc0IgogICBHSU1QOlZlcnNpb249IjIuMTAuMjQiCiAgIHRpZmY6T3JpZW50YXRpb249IjEiCiAgIHhtcDpDcmVhdG9yVG9vbD0iR0lNUCAyLjEwIj4KICAgPHhtcE1NOkhpc3Rvcnk+CiAgICA8cmRmOlNlcT4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ODUyMGQ4YTMtMWRhZC00ZjIwLWFjOTktODg4OTJkZDExNDQ0IgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJHaW1wIDIuMTAgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDIxLTEyLTE3VDE3OjIyOjQ4Ii8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjJkY2U5N2M4LTBkZjItNGQzNi1iMzE1LWE0YjdmMmUyMjJiNSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iR2ltcCAyLjEwIChXaW5kb3dzKSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMi0wMS0yNFQxNDowNDoxMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz61xwk6AAAABmJLR0QAnQCdAJ2roJyEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5gEYFgQKOBb3JwAAIABJREFUeNrtvXl0lFWePv7UvlelKvu+koSQRQiyBJGISEB0hFYZwW1sp4/2csaZ1jlz5sz80cc5c7rnaI8zju2o09qiIrKowEGURXYI+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/+MMfYDabYbfb4XQ64XQ64XA42HeHw4HBwUFIJBJIJBLExMRg4cKFSEtL+0GSmJAwxsLn80EqlSIQCIRYomKxGD6fD2KxGH6/n31un88HiUQCv98fcm26Pr2H0LIlkhLeg/B3RIbCa30XS46TGMePHn6/HxaLBVu2bIFcLg9ZXLRQpFIpDAYDDAYDW0RyufwHRV7ChU9kQeQhtHyInLxeL7OwyFoS/o7caCI1+k7XlEgkjIiEJOXz+SASiSCVStl9SKX/j2pEIhH8fj8kEkmI1Sa0Gqcy7pzEOH708Hq9GBoagtPphEaj+dF+zrEEJvw/oTtHxCMWi0NcTaG7SeQmvMZYt3Ts/wnJSPh9rLUVjqTGur1TITKeneT40UMsFsNoNGLjxo3IyMiAyWSCSqX6wca5JrLGxhIDEVYwGGRJC7vdDofDAb/fz6wocifJQqPfjf0/YZdYkUjEXHOKMXo8HhZ39Hq9zJqj1wvd1bEu6Fi3M1yMjVtiHBEhjJ0Id9ofOuRyORYsWIDS0lIMDw+js7MTp0+fxs6dO9HZ2fmjs8aE1pbQPZRIJBCLxXC5XLDb7VAoFFAoFAgEArDZbJBKpZBKpZDL5XA4HFCpVAAAp9MJhUIBh8MBpVIJt9sNsVgMmUwGt9vNMroej4f9rFarYbVaEQwG4fF4EB8fz0hOrVZDJBJBIpEwciNSI8KUyWRRkxGcxDjC7uCtra1wOByQy+WQy+VQqVRQKBSQyWSQy+U/WKmBSCRin0mn0yEtLQ2JiYmoq6tDR0fHj4KoiQCECz8QCDCioCwsEQK9zuVyQSwWQ61Ww+PxIBgMwmazQavVMotJqVTC6XSy10gkEuam03vp9Xq4XC4olUq4XC60trbCaDQiEAjAaDTC4XBAo9EwCzgQCITE5AKBAKRSKSMwipmNjedxEuOIGjf69NNP8dVXXyEQCLAFn5SUhOTkZGzYsAGzZ89mE+uHbKmIRCLIZLJpS/HfCRAG2YWkRmRAlo3L5YLNZoPNZoPX62UWkVwuZ1aWVqsNIUWynnw+HxQKBQvc0/WlUincbjdkMhmGhoZw9uxZdHR0YMmSJYiJicHQ0BBMJhMkEgm8Xi/kcjl8Ph/kcjl7HyI2IjBKBIyVfnAS44iIwcFBNDU1obe3NyQGUVdXB6/Xi6qqKvAzZe5sSzpcZpJcSrK+Tp06hT179qCvrw9xcXFITExEQUEBli1bhmAwiJGRESQlJUGpVIaQIhGX8FokrSC5RktLC7Zt24a6ujrIZDLcuHEDOp0OFRUVyM3NRUZGBrO2iGjpGmKxeFycLFoigJMYxzh0dnZiYGAgLFGFy0Bx3FkEJnw+JN4F/ixtcDqdzLru7u7GoUOHUF9fz17/wgsvID4+HkajEXFxcbBarRCLxZDL5ex6ZIUR6dB7+nw+RnLDw8N47bXXYLfb2bWfeeYZmM1maLVaJCcnM6kGWY6kVRNaaGQhC63+aCTGs5McCAaDqK+vR19fHx+MH+jzE36nBU9EQe4aiXiFmi0AuH79OrZv346+vj7o9XrI5XLY7fYQl1Emk41T7stkMhYzHR4eRjAYhFqtDiGejz76CDt27EBHRwcjV6HmjK5D90rvMzZ2F20T5STGAafTiaamJgwNDfHB+AGCLBdhjI8sHKlUCoVCAY1Gg2AwCLvdDrfbHfL3x48fx7vvvgsA0Ov10Gq1UKvVLFutUqmYJRYMBiGVShlRKhQKuFwuZrWNJdf09HRcvHgRVqsVEomEXUutVjO5BxEaxcjofYhEJ7LEuDvJgf7+fpjNZrjd7h+ldurHDmHsi6wbl8vFYkqk16LAvtVqDXsdt9vNpBcej4dlo+12O5RKJex2O1QqFcto0u9IIxYMBjE8PBxyzRUrViA7OxuLFi2CWCyGw+GAQqHA6Ogo9Ho9vF4vI1uPxwOpVAqXy8Vc12AwOGFWnFtiHOjo6EBvby8fiB8ohPWLfr8fLpcLHo+H/dvn8zEiWLx4Mf7t3/4NTz31FHP9qqqq8PrrryMpKQlutxsjIyNQqVRMsCqXy2G1WqFQKOB0OhEMBuH1elmxvMPhgM1mg16vx5tvvomKigoAwEsvvYSqqirce++9MJlMTIM2OjrKZBvkMlJG0uVyQSqVMtd3Mtnw226JCdW+Xq+X7RCUSpXJZCHp7+myDMYqgClYSfqZkEH5/0V/QrP5dlkowvEh8SDttDQJ6MFOxz35/X40NTVNSi8108F9YVaN5gZ9duHnp39zqzHUpaR5LRS2isViRkgqlQoZGRkQi8W4dOkSMjMz4XA4UF5ejtWrV0Or1SIYDEKv18Pj8UClUjHrTavVwuv1QqlUMq2YRCJh1lMgEEBMTAzmzJmDhx56CK2trbhx4waqqqqQn58Po9HI6i71ej3cbjc0Gk1I9pNcSYrZTfYZS2/XwvT5fLBarejs7ERrayva2trQ3d2N0dFRlnKVy+XQ6/VIS0tDRkYGcnNzkZycDK1WC4lEMqVJS+weCATgcDhgtVrR29uL/v5+DAwMoL+/H729vcwcFha1qtVqGI1GpKWlIT09HZmZmYiPj4dWq2Xm+nSPj9/vh81mg9lsRlNTE9rb29HZ2YnR0VF4PB6IxWLodDqkp6cjLy8Ps2bNgk6nm9S9KJVK6PV6iEQiuN3uEJPfZrOhoaEB/f39Ya9FAdaBgQFYLJawpn0wGIRKpYJOp5uy9oo+u9VqhdlsRktLC9ra2tDV1YWRkRF4PB42N7RaLVJTU5GZmYmsrCykpaVBr9dPeW7MVFzRZrOF7RgRzYIyGAxQKBTTcg80DiqVKkS2QBuzSCRCXFwcVCoVXn75ZfzTP/0Ts9JiYmJY0F8mk4Vs3nR/dH2aAySEjY2NZdcvLi5GRkYGHnvsMUgkEuj1eqhUqhBSJbIiMa5YLGbF4uRC3jEF4MFgEG63G11dXaiursaRI0fQ0tLC2p643W6mO6EBk0gkUCqVUKvV0Gg0mDVrFh544AFUVFSwwZoIPp8PnZ2duHz5Murr69HY2Aiz2Qyn0wmPxxPyJawdE04GqVQKpVIJlUoFrVaL/Px8LF++HAsWLEB8fHyIlXYr4+P1emGxWHD27FkcOnQIjY2NsNlscDgccLlcIeNDY6PRaFizvonuQSKRYN26dXjqqacgkUjQ2tqKX//61+z3Xq8XPT09Ua8jl8vx+uuvw2AwhCUpr9eLDRs24LHHHoNOp5vSZ+/u7mafvampidX0UTnL2LmhUCjY3MjOzsaKFSuwZMkSJCYmfq8VBWfPnsWHH34Ii8Uy6XlhMpnw8ssvo6ys7Jbm0tisJFmzwp+pjQ4RhE6ng9FoZNYuWfc0p+RyOUsAiMViuN1uqNVqZnAIu1PQ60ltTxsmCWz9fj+TUIhEIng8HiaspcQDbZZkRd4RJObz+dDb24vDhw9j69ataGpqYo3mxj4A4Q1TDdbo6CgAoLW1FdXV1ViyZAmeeeYZlJWVTbhz2Ww27Nu3D6+99hqkUmlYlzHaJCCT3Ol0soxdU1MTDh8+jAULFuDJJ5/E/PnzJ20JRQrGjoyM4OzZs9iyZQsuXLjASCva33i93oiB2bAPWCrFtWvX2HX7+vpw7tw5aLXaKd1vT08Penp6wv7OarVi+fLlcDgckyIxv9+P/v5+HDt2DDt27EB9fT0rRp7M3KDPT3OjoqICzzzzDObNmxeS4r+dMJvNqK2txeDg4KT/JjU1FT09PSgrK5uWuBiRFMXCKGBOJCSXy5kRoNfrWaAeADweD7Rabch4kzrfarVCrVbD6XRCLpezwL5IJGKB+pGRESiVypCMIs1ZymxSfE4ikaCnpwcqlQoejwcKhYLdR7iNmdZuJCt/RkjM7XajoaEBmzdvxvbt28e5lWRO6nQ6xvjDw8Ms7jF2wo+MjOCrr77CwMAAfv7zn2PRokVhU7pj/25wcBAxMTFhCdbn8zGrhlK65HaSeTv2ena7HYcOHcKVK1fw8ssvo6qqCkajccpEFggEYDabsWfPHrz33nsYHBwc1xDO4/Ew91oqlcJms8Fut7NJGe1zU5yRHnxnZyfbcbu7u9nPt1J2I4zd+f1+9PX1hYgcI8Hj8aCpqQnbt2/Htm3b4HA4QtxKCiTrdDooFAoWaCZCHjuODocD+/btQ0dHB1555RVUVFSwBXG7QELPwcHBkJq/icbPZrOho6Pjlls5U2BfSGD0M4HKeajO0eFwsPIichnJQhq7CWq1WvZ6ioGRYaBSqRhxk1VGsS8iOoqjUf1qY2Mj+vv72fpXq9VQKpVQKBSw2WxQq9WQy+Uhsetohsu0k5jH48GFCxfwhz/8AceOHWMmvt/vh16vx4IFC5CdnY2EhAQWz/B4POjp6cGFCxdQXV0dNmgtEolw7NgxGAwGmEwmzJkz5zs9eLlcjmXLlqGoqAgmkwlqtZotDqfTiZ6eHly+fBnnzp1jpRZj72NgYACvvvoq5HI5Vq9ePaXdPxgMwmKxYOvWrXjjjTfGuaUikQgZGRm47777kJyczMbIbrejra0Np06dQkNDQ1gC8vv9qKioQGFhYUjDOZ1Ox3ZAuVzOAq83b95kE3EiQvN4PHC5XGx3T0lJQXx8PEwmE2JiYpCWljapuVFbW4sPPvgAX375ZciCoU4T+fn5iI+Ph8FggEwmg8fjQV9fH86fP4+zZ8/C4/GMeyYSiQRXr17F//7v/yIuLg5z5syZVNhhOud8TEwMVqxYgYGBARYSiER4LpcLGRkZKCwsDGkcOB3upNPpZIXVtFELyUcikbD6SHL/iPjGEhhtFB6PBxqNBl6vl20sJFAlN9PpdLKYl7BUiLKQSqUSwWAQPT09sNls2LNnD27cuIGnn34aS5cuZfer0+ngcDhYsoAqDW5b7aTf70dtbS3eeOMNnD17lhFYIBBAXl4enn76acybNw9JSUkwGAzMRw4EArBarViyZAnS0tKwa9cu5nsLoVAosHPnTpSVlSE1NRVGo3HK9xgXF4eNGzdi/vz50Gq1ISRCVl9TUxP27t2L7du3M0thLJG5XC689957yMvLQ0lJyaStGrvdjgMHDuDNN98MG8NRqVRYv3491q5di9jYWDZGPp8P/f39KC8vx8cff4xz586FHf/09HSsXr0a6enpIVlMcn0XL16MrKws9PX1wWKxoKmpCUeOHEFra2vESRIIBLBy5UoUFxdDq9VCo9EgJiaGiSI1Gg0MBgNiY2Ojzo3Gxkb86U9/wrZt20LcTqPRiBdffBHl5eVITU1lwW5aDDabDUuWLMHu3buxa9eusO60TCbDiRMnsGfPHqSnp8NkMt02ElMqlVi+fDlKS0vR0dGBd955B7W1teNCGHa7HZWVlbj33nuRnZ2NxMREVoozXa6kRCKB1WrFwMAA7HY71Go1tFotDAYDtFoti3+5XC5mnZEVR9YSuY+0YYjFYthsNvY+9DyFbit5KqOjo1CpVEzN73a7YbPZWNueEydOsHlG4tbOzk5kZ2dDo9GwzCfFy4RdYG+LJdbW1oZNmzbh0qVLIW/qcDiwdOlSrFq1CklJSWHTwwaDAQsWLIBUKkVvby++/fbbsItcJpPh4MGDWLx4MWJiYqZkjYlEIqSkpKCkpCQsAUokEphMJhiNRphMJvT29mL//v1h41QikQhNTU346quvkJeXN6mOoX6/H3V1dfjwww8j3ndMTAzuvfdeJCcnh7xGKpUiKSkJK1asgFQqhdVqDal/o7E5fPgw4uPjsX79emRkZIx7n8TERCQmJgL4cxuW5uZm9Pf3o6mpKaL14vP5sGbNGtxzzz3M1J9K62ayPrdv347t27eHEJhIJMLs2bPxyCOPICEhIew463Q6FoNsaWlBdXV12BinWq3Gl19+iVWrVsFgMNy2jhtisRgJCQlQKBS4efMm3G73OEmP0+nE+vXrsX79ehQXF0957k40vmKxmJGO1WrF5cuXUVNTA5lMhlmzZiEvL4/Fk4WCVgrIk6SChKs2mw0ajQYSiQROp5PNF51Ox1r2kOXX2dkJsVgMhUKBffv2oaSkhM0zkUiEoaEhRq4XLlzAJ598AovFgueee471FqPNklxI8iSEh4zMOImRiXjkyJFxE8xms6GgoGDCYLJYLEZRUREWL16M8+fPh7WCZDIZjh07hps3byI/P39KrpxMJkNZWVnYONnYhZOZmYm1a9fi9OnTEctxAoEAjh49iscffxx5eXkTTkqn04mvv/4abW1tEeUMubm5SElJiXgtpVKJiooKXL58GZ2dnSFui0gkQl9fH9566y1IpVI8/fTTiIuLi2pBxMbGsh060gIRiUSIj4+fdHY43Oc+fPgwtmzZMo7sRSIRSktLodfrJ7xOTk4OVq5ciWvXro1ThhMGBgZw9uxZFBUV3dbYWE9PD7755ht89NFHaG1tDZkjCoUCf/u3f4t169YhLy9vwnjudwUFxWNjY1FQUID29nacPHkS/f39OH/+PG7cuAGFQoGenh4kJSXBbrcjMzMTZrOZlQRZLBYYDAZYLBYkJiYyAjEYDMydbG5uZhsZSZcozLB161ZUVFQgISEBCQkJEIlEIZZYbW0tW082m41ZhGKxmMkthPKQ20pily9fxsGDB8fFAoLBIDObJ6OHUavVyM/PR3Z2Nq5evRpxsdfV1WHp0qVTIjGFQoHy8vJJpeIlEgnKysqQm5uL8+fPR3zd0NAQGhsbkZubG5XEgsEgzGYzTp48GTEGIhKJMGvWrAk/k06nw4IFC/Dtt9+OG2+aBJ988gkKCwtx3333hY11jI2nTDbu8l2ysG1tbdiyZUvYeJZYLGYxvMlkWufOnQuj0RiRxCh2+vjjj7Ns2UyCmknu2rUL27ZtQ3d3d8hRZ2lpaXj22Wfx4IMPIikpaUasw7EF1S6XC7GxsdDpdKitrcX+/fvDzu8lS5agtLQUPp8PhYWF2LRpE44ePRryOoPBgLVr18JoNGLu3Lk4efIk/uu//ivq/dy8eXNS9221WiGVShETE8NE3BSnE3azELYECvv5p2MQR0ZGcPToUTQ1NYWdxDk5OTAajZPW8aSlpSElJSXiwlEqlbhy5cqUpAYUe5mIbISLQavVYt68eVFf73Q60djYGFUaQePQ2NiIgYGBqO85a9asCXceshQjWS9isZi5wpPJGM4k3G43Dh48iIaGhrDjKJPJkJKSMqm4EIUD4uPjoz6T5uZm9PX1zXiFgd/vx7Vr1/D+++/j448/htlsDinGLisrwyuvvIL169cjJSVlxtxbqpkk6UNsbCzcbjeSkpKwcePGca/XaDRYs2YNli1bhr6+PqSkpOD06dOoq6sb91qXy4UzZ87g5MmT2L17N06dOsWe22R0ipGeIwAUFRUhMzOTGTdUckRZeMq0C09YmjFLrKGhAbW1tcx3HhtPyc3NnZIuyWAwQKfTRZyElI0aGRmJKBWgwyFInxIMBpmvPtlAqlQqRU5OTtR+Wh6PB52dnaxdSTQSu3HjBlwuV9SHGxsbO6mJodFoorolMpkMx48fx9DQECv5uN0g6/Obb76JSPJGo3HSn5kSH/QMI13T7XbDYrEgPz9/RjOSNTU1+NOf/oTDhw/D6XSyz6BUKrF48WI8//zzmDdvXlRLeLosMdKBUb1jeno6nE4nrFYrMjIyYLfbYbVaWZaS2udUVlbigw8+QGNjY1jr1ufzYXBwkMWq4uPjsWLFCmRkZMDn8+HcuXNhyQ8A4uPjmdRJiOTkZDz++ONYu3Yt5HI5qwTRarWw2WxQqVSsnz+pF6KNoXS6dqOxQWbhw05PT5+S26dSqaKeRiMSiTA4OAibzcZ2obELuLCwEC+99BKGh4cxOjoKt9uNysrKKZV4kKYm2gILBAKw2+0T7vper5fptSZyeSezoCl+MJGFbLPZvreGhoFAADU1NRFFshRq0Ov1kyZZsVg8IYmRmHamPrfdbseZM2fw7rvv4tKlSyFSnNjYWNx///147rnnkJubO+NSDyIXuVzOOk9IpVIMDw8jNzcXPp8PjzzyCLxeL86fP4/z588jIyMDP/nJT6DX6zEyMoLKykrY7fawJJaZmYmHH34YMTExuP/+++F2uzE4OIji4mKIxWK89dZbaGhoCGspPf7443C5XPjggw9C/j8rKwv33HMP8vLyWMyQEg2kSaNWQH6/H3K5PKqu8ZZHeGBgAG1tbSwDEY7E9Hr9lEpCpFIpS9NGmqik3BZW6AutlHvvvRf33HMPGwiqkp9qUHUiUiGR5kQLxufzYWRkZEK3cybqMr8vkGYwkksbDAaRkpIypYUuEokQExMzoeC3v79/SnWMkx3L0dFRHDt2DK+//jo6OztDmvbl5ORg3bp1eOyxx5CQkHBbrF+huFTYl56ErPHx8cjNzcX169cZ2RYVFTFLTKlUwmAwRDz1aXh4GPX19UhNTUVnZyckEklI4XZycjKKiopQV1c3bm673e5xvcsAsMy2xWIJCe8I+4mRrEJ4DuaMWWIWiyXkYYabyFMtcpXJZNDpdKyHUaQJZbfbI05UYfHrrU6S6dwxp4t0hMfPT7QhfF8YHh5GXV0dK+IO9xmmGisSi8UwmUxRn20gEGCdRqfTquzv78fXX3+N//mf/wlxkQKBAIqLi/HMM89g1apVt1SOdqtxMap6IBJJSkrCgw8+CLlcjtraWqxduxaJiYnYvHkzBgcHsXz5clRXV0OtVrNSPyEGBwdx/PhxFBYWQqFQQK/Xo729HVlZWcjKyoJUKmWHgIwlsUhr0Ol0wu/3Iykpid0r9Q3zer0sHkZdLMJ5W9NOYi0tLREnokajgcPhgMViCTtIkR5IJMWzcHGSOzmTu9x075iTcVUms/ioTU80mEymcfVwtzMe1t3dPWHyheJmkw03UC1ftDGiutTpssT8fj+6urqwY8cOvP/+++OsC4/Hg4ULF+L++++flFRkpghMqMonz4i6n6SmpqK8vByZmZnYtm0bE0srlUqUl5fDbDZHdPtJMaBWq9HS0oL8/Hx4PB44HA50dHSgr68v7Dr8v//7v4gxy/7+fvT39yMmJoa13yGBq9PphF6vZ4F9KiSfEcU+mdfRerNrtVrs2rULNTU1k7YKvF4vrl+/HlYnNlOuElXQU00Y7WjTFVOSyWRsx4q0uCiDWVlZOaH7bbVaw5rqwok9b96879QeZ7rQ398fNZEhlUrx9ddfo729fdJzIxAIoK6uLupnp9dNx5yw2Wy4fv06tm3bhh07doSNacpkMly5cgVms5m1tLmdoK6oSqWSzV+j0cjKjiQSCXQ6HfLz80MIDAAOHDiAAwcOTPgcP/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//7vcffdd09L2xEhkpKSolpJIyMjqK6uxsGDB3HmzBm0t7ezBx5ucgp7t48dyOmAWq3GI488gpqaGpw8eTLiAmxqasI777yDxsZGVFRUIC0tjYn+LBYLTp48iYsXL4aKXQI8AAAa20lEQVS9L5/Ph1/96ldYunTplBbgTIA690azHv7u7/4OCxYsmNaurGRBT6c1JJVKkZaWBrvdHjUGfOnSJezcuRO/+MUvJt3ldjpAGzF5EdQfn8IXMTEx8Pl8KCsrw7p16zAwMACTyQSVSoWenh588sknKCkpQUFBAbq6unD+/HlYLBZcvHgRQ0NDaG5uDqsj27ZtGwAgNzcX2dnZWLJkCbv2119/HfZedTodEhMTWRss6pFHWUmKi1M9JT3TGSGxiYLrtCPm5+dj/vz5005iwg859n17e3uxe/dubN++HS0tLczEHvvgVSoV1Go1a9eblpaGzMxMFhBvaGjAtm3bpuW+KQbw61//GsFgEGfPng27KwYCAdy8eZPVWpLi3ufzYXR0FO3t7eOsMCqT2rBhA9avXz+uC8b34YpNJAPx+/3Izc1lqvbpmhu0CU1XgF2n0+Ghhx7Cxo0bcfXqVbz66qsRY31utxsHDhxAaWkpqqqqbqslLNyAybIRlkHJZDIYjUYkJSXB6/XCYDBArVbD4XCw1ljkOlutVla4L5VK0d7ejosXL0YleWqbPjg4iMHBQXY9av1DaGhowI4dO+D3+7Fo0SIYDIaQeUNERvN3onlxW0REVOZwO7I2dKjF559/jj/+8Y8YGhoad2qKTCZDeno6CgsLUV5ejtmzZyM5OZk9SLpPn8+H6upqNuDTFYAtLi7GP//zP2PLli04dOhQxBS13W6fMCFCu25eXh7Wrl2L1atXs+4Bdzqo/xWpzO9EJCUl4cknn8Sjjz6KuLg4xMXF4cKFC9i+fXvYMQ4Gg2hvb8euXbuQn5+P3Nzc2zaW1KyQOkdoNBrY7XbIZDLWMTU1NRULFy6E3+9nPeHcbjdMJhN8Ph88Hg8yMzPxwAMPsBbWcXFxsNls+N3vfhfVy6D+dzqdDpWVlUhMTIRGo0FNTU1IBpQO66FzKmUyGVQqFSudstlsrOyQRLwzqtifjMs5WWHmdMDhcODIkSN4++232VHsY62vefPm4Ze//CVKSkqYjirc8VBk4k43IchkMhQVFeEf/uEfMHv2bLz33ntoa2tjD2misQoGg1AqlTCZTMjIyEBZWRmqqqpQVFQ06bKl22kdRPvd7Zwb3yVY/vOf/xwPP/wwDAYDRCIRTCYT1q9fj0uXLqGxsTHswqKawr179+KnP/3pbXHricBIGkT1h3q9HqOjo8ytpP+z2+3YvHkzAoEAnE4nurq6WFdY8kyo46rL5cLly5cBABkZGVAqlWhvb2cH9GZnZyM9PR3JyckIBoOIj4/H4OAgSktLAfw5A11UVMRO7woEAtizZw/uuusuLFy4kAll1Wo1bDYbvF4vC/BTsiJauOGWSSyauUwN2sIdEDJTweSuri68//77YQkM+PMBCVVVVVi8ePFt1/OMJSJSKdN9BINBZGdnIysrC06nk53ORONMrYb1ej0rJ7nrrruQlZUVtdb0+yKviU6toflxJ5JYMBiEWq1GaWlpiAKfpDJPPvkkfvvb34ZtLwT8Wel++PBhlJSUYOnSpTM616hUhwLj1BlVp9OxVtSUoTQYDKyffV9fX0iGm7KGVLhN9adUOSMWi7Fq1SqkpaXhyJEjOHToEKRSKe655x6UlpZCq9WyInS9Xg+fz4fKykpIpVLU19djx44dOH36NHs/m80Gi8XCjt6jBph00hg9BwpDzYjYlVrQTrRDDA8PM1NxJuHxeHDq1Clcv3494qTR6/VTaic9U2Tb09OD3bt346233mIq/bKyMjz11FMoKSkJObqM3C6qc4uNjYVer//eNGCTJTFq/x1JZiEWi9Hd3T2jVRe3SmThLHStVovKykpcuXIFW7duDZvRFolEuHjxIvbt24ecnBxkZGTM2H1S7aRwM6QgOWUjqU+9yWRCa2srhoaGxukV6YxX6oOWkZHBsswAsHnzZqSlpaGoqAg9PT04dOgQOzuTevvRe1O1gM/nw3333QeTyYRvv/025P1u3ryJq1evsvbmUqk0pO+/MCY2Y2VHcrkcGo0maoZQLpeju7sbdrt9xrM1drsdR48ejbrraTQa1p75+1oYPT09+Pzzz/Haa6+xNrw5OTl4/vnn8cADD9z203pmAhKJBHFxcawdcqTXXLt2jVkLPxRQX7NHHnmEdXAJF9MTiUQ4ePAgiouLsXbt2hlzK4VF6PSdPB+hy07F1FqtFgkJCeP0ij6fj204QguIDJDOzk52buyRI0eY4ZCbm4v4+HjWA1AYIqCDRgKBAObPn4/6+nq0tLQA+LPUQq1WsxPQ6LRxiuvROp7Iir0lc0SlUiE2NhZGozGiS6BWq3Ht2rWIwszptG6Gh4ejBsJFIhEj3e+rnnB4eBi7d+/Gf/7nf7KHI5fL8Td/8zdYtmzZHUtgUx0vkUiE9PT0qAtXJBKhvr6etTf+IUEul6OkpARr166NGK8RiUQwm83Yu3cvrl+/flvqfMlyJOtF+J2ylmq1GiaTCb/5zW8wb968cZ4VdZOgmDAdqfbiiy8iLi4OZrOZkd1zzz3HTpgXKu3pO1ljfr8fxcXFIWdbkLXmdrsZ0dHf0f1OJk4svtWBS0xMRE5OTsQ3kUqlOH36NBobGycsQZkOgphIIS7MPk73wp0IXq8Xp06dYoWxdBry8uXLsXTp0u+leHgyY0CC5qnErujouYmsj6GhIVRXV0/YZ+1OhMlkwrJly1BVVRWxRlQul+PIkSM4cOAALBbLjLmTwu90IjcRk1gshlwuZ7/XaDSoqqrCo48+iqysrJC1Si296QAPoQi8srISKpUKmzZtQlNTE1avXo17770XarWabb4k5aDvZPmlp6dDoVDgvvvuY6di9fb2MheXOsUS8Qld0onW4i0HhjIyMjBr1qyIOymdiLJ//35YLJYZDeJOpljb7XZPesH4fD60t7dPWzGx2WzG1q1bmeyD3iMxMfF76zZBuqBoMYeRkRE4nc4pj0NKSgpmzZoVVT4RCASwd+9etLe337FZymhEnZeXh6qqKhQUFEQcH5lMhi+++AIXLlyYkY1c6CqO7S9G+kiKmZFoOjs7e9wBMeROKpVKFpui11NHFOE8IT2Y3++Hy+UKEdxSTI6ObVOpVNDpdEhOTkZhYSF+//vf45e//CWKiorYGaOUmKBeYpM97eiWSSwpKQnFxcVR40wKhQIHDx7EwYMH2WnOM2XiT9TA0Gq1YnR0dMIF4/F4cPz4cezatWtaSCwQCODcuXPj3F2lUomzZ89i3759uHLlCpqamtDS0hL1q62tDd3d3RgcHBx3PNhUoVAoJnWgxuDgYMS+YJGgVqtx//33R42FBoNBXL9+HV988cW4NsY/BCgUCixevBgPPPBARLdSLBbDbDZjx44daG1tnXbXWajUp5gUWdB0+AZZ/R6PBwqFAhaLBWq1OsT6l0ql7BRumUwGp9PJ4mHDw8MsAE84c+YME5zTKd/UeJHOj3Q6nawmUiaTMX1YbGwsiouLkZCQwN6L3G3KtAqPcIuGW5ZYyGQyLFy4ECdPnsTBgwfDLiiRSAS3242PPvoIcrkcf/VXfzWllsQ02SnIaLfbodVqQ7JCpOGZSDQ5NDSEq1evIjs7O6JY0Wq14uDBg/j000+ZPmYy9zaRBXj+/PlxQW6JRIKGhgb88Y9/RHJy8qTidTRxaHeLiYlBVlYWcnJykJ6eztrBTMayk8lk0Gg0bPcNB6PRiPPnz6OysjIiIYVLgUskEixcuBDz5s3D4cOHI05Gl8uFnTt3Qq1W44knnkBcXNyUrFIaf6/Xi8HBQSa6jBYEp0Uymc1H2BAgHOLj47Fy5UrU1dVFLCdTKBQ4duwYysrKkJCQAKPRGPWaU7XEhEedAWDta8iqoV5jIpEIIyMjiImJQWtrK1QqFf71X/8VmzdvZjoylUrFBKfAn7tOkOBVuOao+zL19ouNjUUgEGDWHx3xNjIywjRlCxYsgF6vR05ODtOVCYP31KaaVA+T2aAlv/nNb35zq4NIRcpNTU0RA/gikQijo6O4ceMG+vv7Q8xTYVaFvmjyeL1e2Gw2NDc34+TJk/jss8/Q3NyMnJyccQvK7/fj9OnTMJvNUcnE5/Nhzpw5bBei9/N6vWhubsZHH32ELVu24MaNG+wE5WhugF6vR2lpaQgBjZ2gTqcTu3fvRnNzc9gHMzo6iq6uLrS1taG1tTXqV0tLC5qbm9HY2Ii6ujrU1tbi8uXLqK6uRnV1NQYGBmAwGNjhp9EWikQiQXd3N65duxaxoFwikaCjowMlJSWsnbTwOXk8HvT19cHj8YTIPiieEh8fjwsXLkS1wh0OB27evIne3l7o9fpxm9zYuSHs99bW1obTp09j27ZtOHr0KMrLy0MOZaVSFqvVis7OTly+fBn79u3DqVOnInYUoVY8wsNiqcaPel0JXxsbGwu73Y6GhoaoLZJaW1vhdrvhdDpZtcJkzkuYbFB/rHVGandhyZ9SqYTT6YROp0NnZycOHTqErKwsVFZWIicnh/UhE76exmJ0dBRbtmwB8Oce+gsXLkRpaSmSk5PZ+5IrSC4iWX50Xujdd9+N7Oxs6PV6Nj8phiZssy3sZDGjtZNkhi5fvhxmsxmbN29Gd3d3RAbt7u7G1q1bceLECZSUlGDBggXIzMwMaSbn8XgwMDCA7u5utLS0oLa2Fr29vRgdHUVvby+efvrpcbsoFf2uXLkSly9fjpgJ8vl8OHHiBABg7dq1yM7OBgD09fXhwoULOH78OBoaGuByuZCRkYHVq1dDq9Xit7/9bVgrLxgM4tq1a3j55ZeRlpaG0tJSFBYWYu7cuezBksUTFxcXto3vrbioRL52ux1dXV2oq6vDxYsXsXv3bqxfvx4rVqxAfHx8xGQG1bZmZ2ejo6Mj4mvsdjt+//vfo6OjA/Pnz2diRrPZjIsXL+LatWv4xS9+wYK2wrlx11134YUXXsDbb7+Njo6OiBZwX18fvvzyS1RXV6OsrAzz589HdnY2jEYjG3uPx4ORkRF0dHSgvb0dtbW1MJvNsFqtGB4eRmlp6bi54Xa7UV1djU2bNsFsNsNms2F0dHTCppsikQifffYZvvrqK1a0vHLlSjz22GPjtGEKhQIrV67ElStX8PXXX4d1velw448//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+BXJCYTuZGFhYdT6NoPBgIceegiJiYnYu3cvqqur2dkMkeYGlV5NNDc0Gg3mzJmDwsJCLFq0KMSVpJ3fYDBEbQ0+GahUKqSkpESMt4nFYtx9991Ys2YN2traJjwngor3w/WM+y4WmPA7PQuKLQndfJPJhJ6eHhiNRoyMjGD//v1sPqrValitVtaskO7RarUyly8jIwPp6elIS0uDwWCAw+GARqNhr6dsN1nPRHLkPpOrTqRFMUciMGEs77acdhRu1125ciXy8/NRUVGBK1euoKamBteuXcPAwADkcjn7kMKJRjupx+OB2+2GXq9Heno6Zs2ahZycHGRnZyMnJwd5eXlITEyMuMgUCgUWLlwIpVKJgoICnDhxAjU1Ncw3F/4dpYZlMhnmzJmDefPmYf78+Vi0aFFIQ0GtVov58+ezBAUtILIG6IGQWLCgoGDcxBSJRDAajXj66aeRkZGB6upqnD17Fl1dXSHjMJnj3+h64RZ/OCtx//79KC4uxuOPPx6RaLKzs/Hss88iPj4e3377Lc6fP88Cs8K4GhE1dT4oLS3FvHnzMHfuXKSnp084N5YuXYrs7GwsXrwYV65cwaVLl1BfX4+enh4m9xgbxxO6zW63G2q1GhkZGcjJycGsWbOQmZmJ3NxczJo1C0lJSePcfqlUCqPRiIULF2J0dPQ7bxwmkykkRBAOSqUSa9aswfXr13HlypUJn2FiYmKIAHQ642LRXpuQkIDu7m4AwD/+4z/i+vXr0Gq18Hg8rOaSepK53W4YDAbY7XZoNBrk5uYiLS0NRqMRXq+XxQ0VCgWzlMcSvVKpZLFM6psv1IURWVFgn/5+MhILUXAGxTlerxc9PT3o7OxEd3c3LBYL+vr60NPTw4SpVBeoVqthNBpZ5sZkMrHWJwkJCYiNjZ1SG2OqT2xsbERLSwtrRd3f38+yJwkJCUhPT0dqairS09ORlZWF1NTUcQ8gGAyiubkZb7/9Ngua63Q66PV6KJVKRswkFkxJSUFJSUlIOnrsuNTX1+Ozzz7DRx99xIjF4/GgqKhoQoGo3+9np1zX19dDIpHAaDRGtRCWLl2Kf//3f0dKSkrUa/f397PSEBozCtpTd9DU1FQkJSUhKSkJqampyMjIYH3SJwufz4fe3l50dHSwk3b6+/thNpuZW0P3Tqn9sXMjNjYWSUlJrLnfRFlpOnvxu0IikbCOpBN9tvr6egwMDEx4Ta1Wi7vuuuu2NyMgGQXV5w4NDSE2NhaxsbHs1CEhKZJO8OzZs/jwww/xyiuvoLi4OMRlFc63scQj7G1GRDbWDSZyGyvenYicZ5TExi5cii84HA54PJ6Q5mcSiQQKhYKpf1Uq1bT0Xqc2u1arlXXUoMFTKpWMjCaSNjidTnR3d7NdQi6Xs6OmKOBJX8IYTjhYrVacOXMGX3zxBfbs2cNOq/nZz36GqqqqCQu7yRK02WwYGRlBV1cXzpw5g8OHD497+IT8/Hz8y7/8C5YuXTqpcXM4HGzMXC4XM/lJkqHVaqHRaKalqN/n87G5Ybfbw84NcnWEc+OH0DPt+4BwSRMpENFQmQ+51XSoCB1yTfOTxpsSI7QG2tvbcenSJSxbtgy5ublMviEs2g43/8jVJIuaYqrCLP7Y7OodR2Ic/69h4969e7F161ZcvHiRNYP767/+a7z44ovIy8ubdLqdTHdqmVxdXY133nkHZrN53DUSExPxq1/9Chs3buSL/0c6t4TPVZhtHKt1E/6brB/aNAKBANvoqbsxhUwoQUAaMq1WO2kLkkiMAv/kgQl1YtG6Vsy4xIJjcpNscHAQn332GZOhUNKgvLwcGzZsQE5OzpT0QlQTJ5fLERMTA6PRCI/Hg1dffXXcdUjIyPHjRDSJArl3RBjCwDllMYWlSkJyoUA9NSaUyWQsuzjZzVBocQm7U9A9CX8vJLDJXl/MH//tgd1ux44dO/DJJ5/AYrGwB+n3+/HEE0+gsLDwllo0i0QixMfHo6ysDLNnzx4nd5gudTjHD88yo+9EZmRVkUsplDdQkJ2sNLKcqGssvWYqAl3hXAynVxMmqKZKYJzEbhMCgQBOnjyJL7/8MuSkHK/Xi6VLl6KsrGzaeq3pdDqkpaWNIzGlUomYmBhOZH9BltlYIiOrhzRcwsaDwt+PJRXhwbzkFk7GjSQCFFqBdF3hKUZj7yGcaDcauDt5G9DX14e9e/eOKzlyOp2YO3cu4uLippUwSbArRExMDKtO4PjLcjHHumnkQgoJayzJjH09ySfIgpvobE+y7sIduUbXFXaiDXfPnMTuINTX1+PmzZvj0vukXp7Ok37sdvu4wL5EIkF6evqMtkjm+GEQmpBEwv0uHMZ2WJ2MFRbNWruVEiPuTn5P6OjoCNtmRqVS4caNG+jr65uWXlpOpxOdnZ24ceNGyAQymUyszzkHx48N3BK7DYh05qZCocA333yD2bNnQywWIzExESqVakKdmdCS83g8cLlcsNvtaG1txbFjx0LiYSKRCA8++CAqKyu/19OdODg4if2AQQcpUJmHkGD8fj/+4z/+AzU1NVi0aBGSkpKg0+mYkFTYOYDiB1SsTp0bzGYz6urqcPr0aSbdoKDqk08+iQ0bNkxr3I2D445ylbnYdeZhtVqxadMmvPPOO7DZbGGtLLfbjdHRUbhcLqSlpSE3NxdGo3Fc5UIgEIDVakV3dzfq6upYsa5arWYF5S6XC4mJiXj22WexZs2aKQloOTg4iXGERVdXF/bs2YNNmzahpaUFCoUiIrEIW8uE6/MUTqdDWUmVSoU1a9ZgzZo1mDt3LhISErisgoOTGMf0YHBwEE1NTTh+/Di+/fZb1NTUAAgtuZgM4QibzpHyurCwEPfccw8qKiqQl5eHhISEsIe6cnBwEuO4JVCt48jICLq7u9HW1oabN29iYGAAFosFPT09zK0cK8mQyWRQqVSse0RcXBzrypqamsoOI53pk9Y5ODiJcYQ09aN+ZG63m50BQL2XhK+nDhl0QpGwa4awMy4HBycxju+N2ML9HPLAvoOimYODkxgHBwfHHQqed+fg4OAkxsHBwcFJjIODg4OTGAcHBycxDg4ODk5iHBwcHJzEODg4ODiJcXBwcBLj4ODg4CTGwcHBwUmMg4ODg5MYBwcHJzEODg4OTmIcHBwcnMQ4ODg4iXFwcHBwEuPg4ODgJMbBwcHBSYyDg+MvCv8foPuErXNuO3cAAAAASUVORK5CYII="); $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: 24px sans-serif;padding:10px;"); nle_Client_rootElement.appendChild($img); nle_Client_rootElement.appendChild($div); $msg = $doc.createTextNode($rt_ustr($msg)); $div.appendChild($msg); } function nle_Client__clinit_() { nle_Client_rootElement = null; nle_Client_instance = null; nle_Client_isCrashed = 0; } function nle_Client_registerErrorHandler$js_body$_5() { window.minecraftError = null; window.onerror = function(message, file, line, column, errorObj) { if (errorObj) { window.minecraftError = errorObj; window.minecraftErrorL = "" + line + ":" + column; nle_Client_handleNativeError$jsocb$_0(); } else { alert("a native browser exception was thrown but your browser does not support fith argument in onerror"); } }; } function nle_Client_handleNativeError$jsocb$_0() { var var$1, var$2; var$1 = window.minecraftError; var$2 = jl_StringBuilder__init_(); jl_StringBuilder_append(var$2, $rt_s(9)); jl_StringBuilder_append(var$2, $rt_s(10)); jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append(var$2, $rt_s(11)), $rt_str(window.minecraftErrorL)), 10); jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append(var$2, $rt_s(12)), $rt_str(var$1.name)), 10); jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append(var$2, $rt_s(13)), $rt_str(var$1.message)), 10); jl_StringBuilder_append(var$2, $rt_s(14)); jl_StringBuilder_append0(jl_StringBuilder_append(var$2, $rt_str(var$1.stack)), 10); } function jlr_AnnotatedElement() { } function jl_Class() { var a = this; jl_Object.call(a); a.$name = null; a.$platformClass = null; } function jl_Class_getClass($cls) { var $result, var$3; if ($cls === null) return null; $result = $cls.classObject; if ($result === null) { $result = new jl_Class; $result.$platformClass = $cls; var$3 = $result; $cls.classObject = var$3; } return $result; } function jl_Class_getPlatformClass($this) { return $this.$platformClass; } function jl_Class_isInstance($this, $obj) { var var$2; $obj = $obj; var$2 = $this.$platformClass; return $obj !== null && !(typeof $obj.constructor.$meta === 'undefined' ? 1 : 0) && otp_Platform_isAssignable($obj.constructor, var$2) ? 1 : 0; } function jl_Class_isAssignableFrom($this, $obj) { return otp_Platform_isAssignable($obj.$platformClass, $this.$platformClass); } function jl_Class_getName($this) { if ($this.$name === null) $this.$name = $rt_str($this.$platformClass.$meta.name); return $this.$name; } function jl_Class_isPrimitive($this) { return $this.$platformClass.$meta.primitive ? 1 : 0; } function jl_Class_getComponentType($this) { return jl_Class_getClass($this.$platformClass.$meta.item); } function otji_JS() { jl_Object.call(this); } function otji_JS_function(var$1, var$2) { var name = 'jso$functor$' + var$2; if (!var$1[name]) { var fn = function() { return var$1[var$2].apply(var$1, arguments); }; var$1[name] = function() { return fn; }; } return var$1[name](); } function otji_JS_functionAsObject(var$1, var$2) { if (typeof var$1 !== "function") return var$1; var result = {}; result[var$2] = var$1; return result; } function otp_Platform() { jl_Object.call(this); } function otp_Platform_clone(var$1) { var copy = new var$1.constructor(); for (var field in var$1) { if (!var$1.hasOwnProperty(field)) { continue; } copy[field] = var$1[field]; } return copy; } function otp_Platform_isAssignable($from, $to) { var $supertypes, $i; if ($from === $to) return 1; $supertypes = $from.$meta.supertypes; $i = 0; while ($i < $supertypes.length) { if (otp_Platform_isAssignable($supertypes[$i], $to)) return 1; $i = $i + 1 | 0; } return 0; } function otp_Platform_startThread(var$1) { return setTimeout(function() { $rt_threadStarter(otp_Platform_launchThread)(var$1); }, 0); } function otp_Platform_launchThread($runnable) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$runnable = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $runnable.$run(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($runnable, $ptr); } function otp_Platform_postpone($runnable) { otp_Platform_schedule($runnable, 0); } function otp_Platform_schedule(var$1, var$2) { return setTimeout(function() { otp_Platform_launchThread(var$1); }, var$2); } function otp_Platform_stringFromCharCode($charCode) { return String.fromCharCode($charCode); } function otp_Platform_createQueueJs$js_body$_30() { return []; } function ji_Serializable() { } function jl_Comparable() { } function jl_CharSequence() { } function jl_String() { var a = this; jl_Object.call(a); a.$characters = null; a.$hashCode = 0; } var jl_String_CASE_INSENSITIVE_ORDER = null; function jl_String__init_(var_0) { var var_1 = new jl_String(); jl_String__init_0(var_1, var_0); return var_1; } function jl_String__init_1(var_0, var_1, var_2) { var var_3 = new jl_String(); jl_String__init_2(var_3, var_0, var_1, var_2); return var_3; } function jl_String__init_3(var_0, var_1) { var var_2 = new jl_String(); jl_String__init_4(var_2, var_0, var_1); return var_2; } function jl_String__init_5(var_0, var_1, var_2) { var var_3 = new jl_String(); jl_String__init_6(var_3, var_0, var_1, var_2); return var_3; } function jl_String__init_0($this, $characters) { var var$2, $i; $characters = $characters.data; var$2 = $characters.length; $this.$characters = $rt_createCharArray(var$2); $i = 0; while ($i < var$2) { $this.$characters.data[$i] = $characters[$i]; $i = $i + 1 | 0; } } function jl_String__init_2($this, $value, $offset, $count) { var $i, var$5; $this.$characters = $rt_createCharArray($count); $i = 0; while ($i < $count) { var$5 = $value.data; $this.$characters.data[$i] = var$5[$i + $offset | 0]; $i = $i + 1 | 0; } } function jl_String__init_4($this, $bytes, $charset) { $charset = jnc_Charset_decode($charset, jn_ByteBuffer_wrap($bytes, 0, $bytes.data.length)); if (jn_CharBuffer_hasArray($charset) && !$charset.$position && $charset.$limit == $charset.$capacity) $this.$characters = jn_CharBuffer_array($charset); else { $this.$characters = $rt_createCharArray(jn_Buffer_remaining($charset)); jn_CharBuffer_get($charset, $this.$characters); } } function jl_String__init_6($this, $codePoints, $offset, $count) { var $charCount, $i, var$6, var$7, $codePoint, var$9; $this.$characters = $rt_createCharArray($count * 2 | 0); $charCount = 0; $i = 0; while ($i < $count) { var$6 = $codePoints.data; var$7 = $offset + 1 | 0; $codePoint = var$6[$offset]; if ($codePoint < 65536) { var$6 = $this.$characters.data; var$9 = $charCount + 1 | 0; var$6[$charCount] = $codePoint & 65535; } else { var$6 = $this.$characters.data; $offset = $charCount + 1 | 0; var$6[$charCount] = jl_Character_highSurrogate($codePoint); var$6 = $this.$characters.data; var$9 = $offset + 1 | 0; var$6[$offset] = jl_Character_lowSurrogate($codePoint); } $i = $i + 1 | 0; $offset = var$7; $charCount = var$9; } if ($charCount < $this.$characters.data.length) $this.$characters = ju_Arrays_copyOf($this.$characters, $charCount); } function jl_String_charAt($this, $index) { var var$2; if ($index >= 0 && $index < $this.$characters.data.length) return $this.$characters.data[$index]; var$2 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } function jl_String_length($this) { return $this.$characters.data.length; } function jl_String_isEmpty($this) { return $this.$characters.data.length ? 0 : 1; } function jl_String_compareTo($this, $anotherString) { var $l, $i, $a; if ($this === $anotherString) return 0; $l = jl_Math_min(jl_String_length($this), jl_String_length($anotherString)); $i = 0; while (true) { if ($i >= $l) return jl_String_length($this) - jl_String_length($anotherString) | 0; $a = jl_String_charAt($this, $i) - jl_String_charAt($anotherString, $i) | 0; if ($a) break; $i = $i + 1 | 0; } return $a; } function jl_String_startsWith($this, $prefix, $toffset) { var $i, var$4, var$5; if (($toffset + jl_String_length($prefix) | 0) > jl_String_length($this)) return 0; $i = 0; while ($i < jl_String_length($prefix)) { var$4 = jl_String_charAt($prefix, $i); var$5 = $toffset + 1 | 0; if (var$4 != jl_String_charAt($this, $toffset)) return 0; $i = $i + 1 | 0; $toffset = var$5; } return 1; } function jl_String_startsWith0($this, $prefix) { if ($this === $prefix) return 1; return jl_String_startsWith($this, $prefix, 0); } function jl_String_indexOf($this, $ch, $fromIndex) { var $i, $bmpChar, $hi, $lo; $i = jl_Math_max(0, $fromIndex); if ($ch < 65536) { $bmpChar = $ch & 65535; while (true) { if ($i >= $this.$characters.data.length) return (-1); if ($this.$characters.data[$i] == $bmpChar) break; $i = $i + 1 | 0; } return $i; } $hi = jl_Character_highSurrogate($ch); $lo = jl_Character_lowSurrogate($ch); while (true) { if ($i >= ($this.$characters.data.length - 1 | 0)) return (-1); if ($this.$characters.data[$i] == $hi && $this.$characters.data[$i + 1 | 0] == $lo) break; $i = $i + 1 | 0; } return $i; } function jl_String_indexOf0($this, $ch) { return jl_String_indexOf($this, $ch, 0); } function jl_String_lastIndexOf($this, $ch, $fromIndex) { var $i, $bmpChar, $hi, $lo, var$7; $i = jl_Math_min($fromIndex, jl_String_length($this) - 1 | 0); if ($ch < 65536) { $bmpChar = $ch & 65535; while (true) { if ($i < 0) return (-1); if ($this.$characters.data[$i] == $bmpChar) break; $i = $i + (-1) | 0; } return $i; } $hi = jl_Character_highSurrogate($ch); $lo = jl_Character_lowSurrogate($ch); while (true) { if ($i < 1) return (-1); if ($this.$characters.data[$i] == $lo) { var$7 = $this.$characters.data; $ch = $i - 1 | 0; if (var$7[$ch] == $hi) break; } $i = $i + (-1) | 0; } return $ch; } function jl_String_lastIndexOf0($this, $ch) { return jl_String_lastIndexOf($this, $ch, jl_String_length($this) - 1 | 0); } function jl_String_indexOf1($this, $str, $fromIndex) { var $i, $toIndex, $j; $i = jl_Math_max(0, $fromIndex); $toIndex = jl_String_length($this) - jl_String_length($str) | 0; a: while (true) { if ($i > $toIndex) return (-1); $j = 0; while (true) { if ($j >= jl_String_length($str)) break a; if (jl_String_charAt($this, $i + $j | 0) != jl_String_charAt($str, $j)) break; $j = $j + 1 | 0; } $i = $i + 1 | 0; } return $i; } function jl_String_indexOf2($this, $str) { return jl_String_indexOf1($this, $str, 0); } function jl_String_substring($this, $beginIndex, $endIndex) { var var$3; if ($beginIndex <= $endIndex) return jl_String__init_1($this.$characters, $beginIndex, $endIndex - $beginIndex | 0); var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } function jl_String_substring0($this, $beginIndex) { return jl_String_substring($this, $beginIndex, jl_String_length($this)); } function jl_String_replace($this, $target, $replacement) { var $sb, $sz, $i, $j; $sb = jl_StringBuilder__init_(); $sz = jl_String_length($this) - jl_String_length($target) | 0; $i = 0; while ($i <= $sz) { $j = 0; a: { while (true) { if ($j >= jl_String_length($target)) { jl_StringBuilder_append1($sb, $replacement); $i = $i + (jl_String_length($target) - 1 | 0) | 0; break a; } if (jl_String_charAt($this, $i + $j | 0) != jl_String_charAt($target, $j)) break; $j = $j + 1 | 0; } jl_StringBuilder_append0($sb, jl_String_charAt($this, $i)); } $i = $i + 1 | 0; } jl_StringBuilder_append1($sb, jl_String_substring0($this, $i)); return jl_StringBuilder_toString($sb); } function jl_String_toString($this) { return $this; } function jl_String_toCharArray($this) { var $array, var$2, $i, var$4; $array = $rt_createCharArray($this.$characters.data.length); var$2 = $array.data; $i = 0; var$4 = var$2.length; while ($i < var$4) { var$2[$i] = $this.$characters.data[$i]; $i = $i + 1 | 0; } return $array; } function jl_String_valueOf($obj) { return $obj === null ? $rt_s(15) : $obj.$toString(); } function jl_String_equals($this, $other) { var $str, $i; if ($this === $other) return 1; if (!($other instanceof jl_String)) return 0; $str = $other; if (jl_String_length($str) != jl_String_length($this)) return 0; $i = 0; while ($i < jl_String_length($str)) { if (jl_String_charAt($this, $i) != jl_String_charAt($str, $i)) return 0; $i = $i + 1 | 0; } return 1; } function jl_String_getBytes($this, $charset) { var $buffer, $result; $buffer = jnc_Charset_encode($charset, jn_CharBuffer_wrap($this.$characters)); if (!$buffer.$position && $buffer.$limit == $buffer.$capacity) return $buffer.$array0; $result = $rt_createByteArray(jn_Buffer_remaining($buffer)); jn_ByteBuffer_get($buffer, $result); return $result; } function jl_String_hashCode($this) { var var$1, var$2, var$3, $c; a: { if (!$this.$hashCode) { var$1 = $this.$characters.data; var$2 = var$1.length; var$3 = 0; while (true) { if (var$3 >= var$2) break a; $c = var$1[var$3]; $this.$hashCode = (31 * $this.$hashCode | 0) + $c | 0; var$3 = var$3 + 1 | 0; } } } return $this.$hashCode; } function jl_String_toLowerCase($this) { var $codePoints, var$2, $codePointCount, $i, var$5, var$6, var$7; if (jl_String_isEmpty($this)) return $this; $codePoints = $rt_createIntArray($this.$characters.data.length); var$2 = $codePoints.data; $codePointCount = 0; $i = 0; while ($i < $this.$characters.data.length) { a: { if ($i != ($this.$characters.data.length - 1 | 0) && jl_Character_isHighSurrogate($this.$characters.data[$i])) { var$5 = $this.$characters.data; var$6 = $i + 1 | 0; if (jl_Character_isLowSurrogate(var$5[var$6])) { var$7 = $codePointCount + 1 | 0; var$2[$codePointCount] = jl_Character_toLowerCase(jl_Character_toCodePoint($this.$characters.data[$i], $this.$characters.data[var$6])); $i = var$6; break a; } } var$7 = $codePointCount + 1 | 0; var$2[$codePointCount] = jl_Character_toLowerCase($this.$characters.data[$i]) & 65535; } $i = $i + 1 | 0; $codePointCount = var$7; } return jl_String__init_5($codePoints, 0, $codePointCount); } function jl_String_toUpperCase($this) { var $codePoints, var$2, $codePointCount, $i, var$5, var$6, var$7; if (jl_String_isEmpty($this)) return $this; $codePoints = $rt_createIntArray($this.$characters.data.length); var$2 = $codePoints.data; $codePointCount = 0; $i = 0; while ($i < $this.$characters.data.length) { a: { if ($i != ($this.$characters.data.length - 1 | 0) && jl_Character_isHighSurrogate($this.$characters.data[$i])) { var$5 = $this.$characters.data; var$6 = $i + 1 | 0; if (jl_Character_isLowSurrogate(var$5[var$6])) { var$7 = $codePointCount + 1 | 0; var$2[$codePointCount] = jl_Character_toUpperCase(jl_Character_toCodePoint($this.$characters.data[$i], $this.$characters.data[var$6])); $i = var$6; break a; } } var$7 = $codePointCount + 1 | 0; var$2[$codePointCount] = jl_Character_toUpperCase($this.$characters.data[$i]) & 65535; } $i = $i + 1 | 0; $codePointCount = var$7; } return jl_String__init_5($codePoints, 0, $codePointCount); } function jl_String_compareTo0($this, var$1) { return jl_String_compareTo($this, var$1); } function jl_String__clinit_() { jl_String_CASE_INSENSITIVE_ORDER = new jl_String$_clinit_$lambda$_81_0; } function jl_Throwable() { var a = this; jl_Object.call(a); a.$message = null; a.$cause = null; a.$suppressionEnabled = 0; a.$writableStackTrace = 0; a.$stackTrace = null; } function jl_Throwable__init_1() { var var_0 = new jl_Throwable(); jl_Throwable__init_0(var_0); return var_0; } function jl_Throwable__init_2(var_0) { var var_1 = new jl_Throwable(); jl_Throwable__init_(var_1, var_0); return var_1; } function jl_Throwable__init_0($this) { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; } function jl_Throwable__init_($this, $message) { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; } function jl_Throwable_fillInStackTrace($this) { return $this; } function jl_Throwable_getMessage($this) { return $this.$message; } function jl_Throwable_getLocalizedMessage($this) { return $this.$getMessage(); } function jl_Throwable_toString($this) { var $message; $message = $this.$getMessage(); return jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), jl_Class_getName(jl_Object_getClass($this))), $message === null ? $rt_s(4) : jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(16)), $message)))); } function jl_Throwable_printStackTrace0($this) { jl_Throwable_printStackTrace1($this, jl_System_err()); } function jl_Throwable_printStackTrace1($this, $stream) { var $message, var$3, var$4, var$5, $element; ji_PrintStream_print($stream, jl_Class_getName(jl_Object_getClass($this))); $message = $this.$getMessage(); if ($message !== null) ji_PrintStream_print($stream, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(16)), $message))); a: { ji_PrintStream_println0($stream); if ($this.$stackTrace !== null) { var$3 = $this.$stackTrace.data; var$4 = var$3.length; var$5 = 0; while (true) { if (var$5 >= var$4) break a; $element = var$3[var$5]; ji_PrintStream_print($stream, $rt_s(17)); ji_PrintStream_println1($stream, $element); var$5 = var$5 + 1 | 0; } } } if ($this.$cause !== null && $this.$cause !== $this) { ji_PrintStream_print($stream, $rt_s(18)); jl_Throwable_printStackTrace1($this.$cause, $stream); } } function jl_Throwable_printStackTrace($this, $stream) { var $message, var$3, var$4, var$5, $element; ji_PrintWriter_print($stream, jl_Class_getName(jl_Object_getClass($this))); $message = $this.$getMessage(); if ($message !== null) ji_PrintWriter_print($stream, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(16)), $message))); a: { ji_PrintWriter_println($stream); if ($this.$stackTrace !== null) { var$3 = $this.$stackTrace.data; var$4 = var$3.length; var$5 = 0; while (true) { if (var$5 >= var$4) break a; $element = var$3[var$5]; ji_PrintWriter_print($stream, $rt_s(19)); ji_PrintWriter_println0($stream, $element); var$5 = var$5 + 1 | 0; } } } if ($this.$cause !== null && $this.$cause !== $this) { ji_PrintWriter_print($stream, $rt_s(18)); jl_Throwable_printStackTrace($this.$cause, $stream); } } function jl_Error() { jl_Throwable.call(this); } function jl_LinkageError() { jl_Error.call(this); } function jl_NoClassDefFoundError() { jl_LinkageError.call(this); } function jl_AbstractStringBuilder() { var a = this; jl_Object.call(a); a.$buffer0 = null; a.$length0 = 0; } function jl_AbstractStringBuilder__init_0(var_0) { var var_1 = new jl_AbstractStringBuilder(); jl_AbstractStringBuilder__init_(var_1, var_0); return var_1; } function jl_AbstractStringBuilder__init_($this, $capacity) { $this.$buffer0 = $rt_createCharArray($capacity); } function jl_AbstractStringBuilder_append($this, $value, $radix) { return jl_AbstractStringBuilder_insert($this, $this.$length0, $value, $radix); } function jl_AbstractStringBuilder_insert($this, $target, $value, $radix) { var $positive, var$5, var$6, $pos, $sz, $posLimit, var$10; $positive = 1; if ($value < 0) { $positive = 0; $value = -$value; } a: { if ($value < $radix) { if ($positive) jl_AbstractStringBuilder_insertSpace($this, $target, $target + 1 | 0); else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 2 | 0); var$5 = $this.$buffer0.data; var$6 = $target + 1 | 0; var$5[$target] = 45; $target = var$6; } $this.$buffer0.data[$target] = jl_Character_forDigit($value, $radix); } else { $pos = 1; $sz = 1; $posLimit = 2147483647 / $radix | 0; b: { while (true) { var$10 = $rt_imul($pos, $radix); if (var$10 > $value) { var$10 = $pos; break b; } $sz = $sz + 1 | 0; if (var$10 > $posLimit) 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.$buffer0.data; $positive = $target + 1 | 0; var$5[$target] = 45; } while (true) { if (var$10 <= 0) break a; var$5 = $this.$buffer0.data; $target = $positive + 1 | 0; var$5[$positive] = jl_Character_forDigit($value / var$10 | 0, $radix); $value = $value % var$10 | 0; var$10 = var$10 / $radix | 0; $positive = $target; } } } return $this; } function jl_AbstractStringBuilder_insert0($this, $target, $value, $radix) { var $positive, var$5, var$6, var$7, $sz, $pos, $pos_0; $positive = 1; if (Long_lt($value, Long_ZERO)) { $positive = 0; $value = Long_neg($value); } a: { var$5 = Long_fromInt($radix); if (Long_lt($value, var$5)) { if ($positive) jl_AbstractStringBuilder_insertSpace($this, $target, $target + 1 | 0); else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 2 | 0); var$6 = $this.$buffer0.data; var$7 = $target + 1 | 0; var$6[$target] = 45; $target = var$7; } $this.$buffer0.data[$target] = jl_Character_forDigit($value.lo, $radix); } else { $sz = 1; $pos = Long_fromInt(1); while (true) { $pos_0 = Long_mul($pos, var$5); if (Long_le($pos_0, $pos)) break; if (Long_gt($pos_0, $value)) break; $sz = $sz + 1 | 0; $pos = $pos_0; } if (!$positive) $sz = $sz + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, $target, $target + $sz | 0); if ($positive) $sz = $target; else { var$6 = $this.$buffer0.data; $sz = $target + 1 | 0; var$6[$target] = 45; } while (true) { if (Long_le($pos, Long_ZERO)) break a; var$6 = $this.$buffer0.data; $target = $sz + 1 | 0; var$6[$sz] = jl_Character_forDigit(Long_div($value, $pos).lo, $radix); $value = Long_rem($value, $pos); $pos = Long_div($pos, var$5); $sz = $target; } } } return $this; } function jl_AbstractStringBuilder_insert1($this, $target, $value) { var $mantissa, var$4, $number, $exp, $negative, $intPart, $sz, $digits, $zeros, $pos, $i, $intDigit; $mantissa = $rt_compare($value, 0.0); if (!$mantissa) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 48; var$4 = $this.$buffer0.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 46; $this.$buffer0.data[$target] = 48; return $this; } if (!$mantissa) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 4 | 0); var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 45; var$4 = $this.$buffer0.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 48; var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 46; $this.$buffer0.data[$mantissa] = 48; return $this; } if (isNaN($value) ? 1 : 0) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 78; var$4 = $this.$buffer0.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 97; $this.$buffer0.data[$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.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 45; } var$4 = $this.$buffer0.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 73; var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 110; var$4 = $this.$buffer0.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 102; var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 105; var$4 = $this.$buffer0.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 110; var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 105; var$4 = $this.$buffer0.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 116; $this.$buffer0.data[$target] = 121; return $this; } $number = jl_AbstractStringBuilder$Constants_floatAnalysisResult; otcit_FloatAnalyzer_analyze($value, $number); $mantissa = $number.$mantissa; $exp = $number.$exponent; $negative = $number.$sign; $intPart = 1; $sz = 1; if ($negative) { $negative = 1; $sz = 2; } $digits = 9; $zeros = jl_AbstractStringBuilder_trailingDecimalZeros($mantissa); if ($zeros > 0) $digits = $digits - $zeros | 0; if ($exp < 7 && $exp >= (-3)) { if ($exp >= 0) { $intPart = $exp + 1 | 0; $digits = jl_Math_max($digits, $intPart + 1 | 0); $exp = 0; } else if ($exp < 0) { $mantissa = $mantissa / jl_AbstractStringBuilder$Constants_intPowersOfTen.data[ -$exp] | 0; $digits = $digits - $exp | 0; $exp = 0; } } 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 | 0) | 0); if (!$negative) $negative = $target; else { var$4 = $this.$buffer0.data; $negative = $target + 1 | 0; var$4[$target] = 45; } $pos = 100000000; $i = 0; while ($i < $digits) { if ($pos <= 0) $intDigit = 0; else { $intDigit = $mantissa / $pos | 0; $mantissa = $mantissa % $pos | 0; } var$4 = $this.$buffer0.data; $target = $negative + 1 | 0; var$4[$negative] = (48 + $intDigit | 0) & 65535; $intPart = $intPart + (-1) | 0; if ($intPart) $negative = $target; else { var$4 = $this.$buffer0.data; $negative = $target + 1 | 0; var$4[$target] = 46; } $pos = $pos / 10 | 0; $i = $i + 1 | 0; } if ($exp) { var$4 = $this.$buffer0.data; $target = $negative + 1 | 0; var$4[$negative] = 69; if ($exp >= 0) $mantissa = $target; else { $exp = -$exp; var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 45; } if ($exp < 10) $zeros = $mantissa; else { var$4 = $this.$buffer0.data; $zeros = $mantissa + 1 | 0; var$4[$mantissa] = (48 + ($exp / 10 | 0) | 0) & 65535; } $this.$buffer0.data[$zeros] = (48 + ($exp % 10 | 0) | 0) & 65535; } return $this; } function jl_AbstractStringBuilder_trailingDecimalZeros($n) { var $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; } function jl_AbstractStringBuilder_ensureCapacity($this, $capacity) { var $newLength; if ($this.$buffer0.data.length >= $capacity) return; $newLength = $this.$buffer0.data.length >= 1073741823 ? 2147483647 : jl_Math_max($capacity, jl_Math_max($this.$buffer0.data.length * 2 | 0, 5)); $this.$buffer0 = ju_Arrays_copyOf($this.$buffer0, $newLength); } function jl_AbstractStringBuilder_insertSpace($this, $start, $end) { var $sz, $i; $sz = $this.$length0 - $start | 0; $this.$ensureCapacity(($this.$length0 + $end | 0) - $start | 0); $i = $sz - 1 | 0; while ($i >= 0) { $this.$buffer0.data[$end + $i | 0] = $this.$buffer0.data[$start + $i | 0]; $i = $i + (-1) | 0; } $this.$length0 = $this.$length0 + ($end - $start | 0) | 0; } function jl_Appendable() { } function jl_StringBuilder() { jl_AbstractStringBuilder.call(this); } function jl_StringBuilder__init_() { var var_0 = new jl_StringBuilder(); jl_StringBuilder__init_0(var_0); return var_0; } function jl_StringBuilder__init_0($this) { jl_AbstractStringBuilder__init_($this, 16); } function jl_StringBuilder_append($this, $string) { jl_StringBuilder_insert($this, $this.$length0, $string); return $this; } function jl_StringBuilder_append2($this, $value) { jl_AbstractStringBuilder_append($this, $value, 10); return $this; } function jl_StringBuilder_append3($this, $value) { jl_StringBuilder_insert0($this, $this.$length0, $value); return $this; } function jl_StringBuilder_append4($this, $value) { jl_StringBuilder_insert1($this, $this.$length0, $value); return $this; } function jl_StringBuilder_append0($this, $c) { jl_StringBuilder_insert2($this, $this.$length0, $c); return $this; } function jl_StringBuilder_append1($this, $obj) { jl_StringBuilder_insert3($this, $this.$length0, $obj); return $this; } function jl_StringBuilder_insert0($this, $target, $value) { jl_AbstractStringBuilder_insert0($this, $target, $value, 10); return $this; } function jl_StringBuilder_insert1($this, $target, $value) { jl_AbstractStringBuilder_insert1($this, $target, $value); return $this; } function jl_StringBuilder_insert3($this, $index, $obj) { jl_StringBuilder_insert($this, $index, $obj === null ? $rt_s(15) : $obj.$toString()); return $this; } function jl_StringBuilder_insert2($this, $index, $c) { jl_AbstractStringBuilder_insertSpace($this, $index, $index + 1 | 0); $this.$buffer0.data[$index] = $c; return $this; } function jl_StringBuilder_insert($this, $index, $string) { var var$3, var$4, var$5; if ($index >= 0 && $index <= $this.$length0) { a: { if ($string === null) $string = $rt_s(15); else if (jl_String_isEmpty($string)) break a; jl_AbstractStringBuilder_ensureCapacity($this, $this.$length0 + jl_String_length($string) | 0); var$3 = $this.$length0 - 1 | 0; while (var$3 >= $index) { $this.$buffer0.data[var$3 + jl_String_length($string) | 0] = $this.$buffer0.data[var$3]; var$3 = var$3 + (-1) | 0; } $this.$length0 = $this.$length0 + jl_String_length($string) | 0; var$3 = 0; while (var$3 < jl_String_length($string)) { var$4 = $this.$buffer0.data; var$5 = $index + 1 | 0; var$4[$index] = jl_String_charAt($string, var$3); var$3 = var$3 + 1 | 0; $index = var$5; } } return $this; } $string = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_0($string); $rt_throw($string); } function jl_StringBuilder_setLength($this, var$1) { $this.$length0 = var$1; } function jl_StringBuilder_getChars($this, var$1, var$2, var$3, var$4) { var var$5, var$6, var$7, var$8, var$9; if (var$1 > var$2) { var$5 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$5, $rt_s(20)); $rt_throw(var$5); } while (var$1 < var$2) { var$6 = var$3.data; var$7 = var$4 + 1 | 0; var$8 = $this.$buffer0.data; var$9 = var$1 + 1 | 0; var$6[var$4] = var$8[var$1]; var$4 = var$7; var$1 = var$9; } } function jl_StringBuilder_length($this) { return $this.$length0; } function jl_StringBuilder_toString($this) { return jl_String__init_1($this.$buffer0, 0, $this.$length0); } function jl_StringBuilder_ensureCapacity($this, var$1) { jl_AbstractStringBuilder_ensureCapacity($this, var$1); } function jl_StringBuilder_insert4($this, var$1, var$2) { return jl_StringBuilder_insert3($this, var$1, var$2); } function jl_StringBuilder_insert5($this, var$1, var$2) { return jl_StringBuilder_insert2($this, var$1, var$2); } function jl_StringBuilder_insert6($this, var$1, var$2) { return jl_StringBuilder_insert1($this, var$1, var$2); } function jl_StringBuilder_insert7($this, var$1, var$2) { return jl_StringBuilder_insert0($this, var$1, var$2); } function jl_StringBuilder_insert8($this, var$1, var$2) { return jl_StringBuilder_insert($this, var$1, var$2); } function jl_Number() { jl_Object.call(this); } function jl_Integer() { jl_Number.call(this); this.$value = 0; } var jl_Integer_TYPE = null; var jl_Integer_integerCache = null; function jl_Integer__init_(var_0) { var var_1 = new jl_Integer(); jl_Integer__init_0(var_1, var_0); return var_1; } function jl_Integer__init_0($this, $value) { $this.$value = $value; } function jl_Integer_valueOf($i) { var var$2; if ($i >= (-128) && $i <= 127) { a: { if (jl_Integer_integerCache === null) { jl_Integer_integerCache = $rt_createArray(jl_Integer, 256); var$2 = 0; while (true) { if (var$2 >= jl_Integer_integerCache.data.length) break a; jl_Integer_integerCache.data[var$2] = jl_Integer__init_(var$2 - 128 | 0); var$2 = var$2 + 1 | 0; } } } return jl_Integer_integerCache.data[$i + 128 | 0]; } return jl_Integer__init_($i); } function jl_Integer_intValue($this) { return $this.$value; } function jl_Integer_hashCode($this) { return $this.$value >>> 4 ^ $this.$value << 28 ^ $this.$value << 8 ^ $this.$value >>> 24; } function jl_Integer_equals($this, $other) { if ($this === $other) return 1; return $other instanceof jl_Integer && $other.$value == $this.$value ? 1 : 0; } function jl_Integer_compareTo($this, $other) { return $rt_compare($this.$value, $other.$value); } function jl_Integer_compareTo0($this, var$1) { return jl_Integer_compareTo($this, var$1); } function jl_Integer__clinit_() { jl_Integer_TYPE = $rt_cls($rt_intcls()); } function jl_IncompatibleClassChangeError() { jl_LinkageError.call(this); } function jl_IncompatibleClassChangeError__init_(var_0) { var var_1 = new jl_IncompatibleClassChangeError(); jl_IncompatibleClassChangeError__init_0(var_1, var_0); return var_1; } function jl_IncompatibleClassChangeError__init_0($this, $message) { jl_Throwable__init_($this, $message); } function jl_NoSuchFieldError() { jl_IncompatibleClassChangeError.call(this); } function jl_NoSuchFieldError__init_(var_0) { var var_1 = new jl_NoSuchFieldError(); jl_NoSuchFieldError__init_0(var_1, var_0); return var_1; } function jl_NoSuchFieldError__init_0($this, $message) { jl_IncompatibleClassChangeError__init_0($this, $message); } function jl_NoSuchMethodError() { jl_IncompatibleClassChangeError.call(this); } function jl_NoSuchMethodError__init_(var_0) { var var_1 = new jl_NoSuchMethodError(); jl_NoSuchMethodError__init_0(var_1, var_0); return var_1; } function jl_NoSuchMethodError__init_0($this, $message) { jl_IncompatibleClassChangeError__init_0($this, $message); } function jl_Exception() { jl_Throwable.call(this); } function jl_Exception__init_(var_0) { var var_1 = new jl_Exception(); jl_Exception__init_0(var_1, var_0); return var_1; } function jl_Exception__init_0($this, $message) { jl_Throwable__init_($this, $message); } function jl_RuntimeException() { jl_Exception.call(this); } function jl_RuntimeException__init_(var_0) { var var_1 = new jl_RuntimeException(); jl_RuntimeException__init_0(var_1, var_0); return var_1; } function jl_RuntimeException__init_0($this, $message) { jl_Throwable__init_($this, $message); } function otj_JSObject() { } function otjde_EventTarget() { } function otjde_FocusEventTarget() { } function otjde_MouseEventTarget() { } function otjde_KeyboardEventTarget() { } function otjde_LoadEventTarget() { } function otjb_WindowEventTarget() { } function otjb_StorageProvider() { } function otjc_JSArrayReader() { } function otjb_Window() { jl_Object.call(this); } function otjb_Window_addEventListener$exported$0(var$0, var$1, var$2) { var$0.$addEventListener($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent")); } function otjb_Window_removeEventListener$exported$1(var$0, var$1, var$2) { var$0.$removeEventListener($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent")); } function otjb_Window_get$exported$2(var$0, var$1) { return var$0.$get1(var$1); } function otjb_Window_removeEventListener$exported$3(var$0, var$1, var$2, var$3) { var$0.$removeEventListener0($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent"), var$3 ? 1 : 0); } function otjb_Window_dispatchEvent$exported$4(var$0, var$1) { return !!var$0.$dispatchEvent(var$1); } function otjb_Window_getLength$exported$5(var$0) { return var$0.$getLength(); } function otjb_Window_addEventListener$exported$6(var$0, var$1, var$2, var$3) { var$0.$addEventListener0($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent"), var$3 ? 1 : 0); } function nlea_EaglerAdapterImpl2() { jl_Object.call(this); } var nlea_EaglerAdapterImpl2_isAnisotropicPatched = 0; var nlea_EaglerAdapterImpl2_doc = null; var nlea_EaglerAdapterImpl2_parent = null; var nlea_EaglerAdapterImpl2_canvas = null; var nlea_EaglerAdapterImpl2_canvasContext = null; var nlea_EaglerAdapterImpl2_canvasBack = null; var nlea_EaglerAdapterImpl2_webgl = null; var nlea_EaglerAdapterImpl2_win = null; var nlea_EaglerAdapterImpl2_loadedPackage = null; var nlea_EaglerAdapterImpl2_contextmenu = null; var nlea_EaglerAdapterImpl2_mousedown = null; var nlea_EaglerAdapterImpl2_mouseup = null; var nlea_EaglerAdapterImpl2_mousemove = null; var nlea_EaglerAdapterImpl2_keydown = null; var nlea_EaglerAdapterImpl2_keyup = null; var nlea_EaglerAdapterImpl2_keypress = null; var nlea_EaglerAdapterImpl2_wheel = null; var nlea_EaglerAdapterImpl2_identifier = null; var nlea_EaglerAdapterImpl2_mouseEvents = null; var nlea_EaglerAdapterImpl2_keyEvents = null; var nlea_EaglerAdapterImpl2_mouseX = 0; var nlea_EaglerAdapterImpl2_mouseY = 0; var nlea_EaglerAdapterImpl2_mouseDX = 0.0; var nlea_EaglerAdapterImpl2_mouseDY = 0.0; var nlea_EaglerAdapterImpl2_width = 0; var nlea_EaglerAdapterImpl2_height = 0; var nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; var nlea_EaglerAdapterImpl2_isWindowFocused = 0; var nlea_EaglerAdapterImpl2_progId = 0; var nlea_EaglerAdapterImpl2_viewportCache = null; var nlea_EaglerAdapterImpl2_uploadBuffer = null; var nlea_EaglerAdapterImpl2_mat2 = null; var nlea_EaglerAdapterImpl2_mat3 = null; var nlea_EaglerAdapterImpl2_mat4 = null; var nlea_EaglerAdapterImpl2_currentProgram = 0; var nlea_EaglerAdapterImpl2_imageLoadCanvas = null; var nlea_EaglerAdapterImpl2_imageLoadContext = null; var nlea_EaglerAdapterImpl2_currentEvent = null; var nlea_EaglerAdapterImpl2_currentEventK = null; var nlea_EaglerAdapterImpl2_buttonStates = null; var nlea_EaglerAdapterImpl2_keyStates = null; var nlea_EaglerAdapterImpl2_mouseUngrabTimer = Long_ZERO; var nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; var nlea_EaglerAdapterImpl2_needsPointerLock = 0; var nlea_EaglerAdapterImpl2_pointerLockFlag = 0; var nlea_EaglerAdapterImpl2_dateFormatSS = null; var nlea_EaglerAdapterImpl2_rateLimitedAddresses = null; var nlea_EaglerAdapterImpl2_blockedAddresses = null; var nlea_EaglerAdapterImpl2_sock = null; var nlea_EaglerAdapterImpl2_sockIsConnecting = 0; var nlea_EaglerAdapterImpl2_sockIsConnected = 0; var nlea_EaglerAdapterImpl2_sockIsAlive = 0; var nlea_EaglerAdapterImpl2_readPackets = null; var nlea_EaglerAdapterImpl2_rateLimitStatus = null; var nlea_EaglerAdapterImpl2_currentSockURI = null; var nlea_EaglerAdapterImpl2_playbackId = 0; var nlea_EaglerAdapterImpl2_loadedSoundFiles = null; var nlea_EaglerAdapterImpl2_audioctx = null; var nlea_EaglerAdapterImpl2_playbackOffsetDelay = 0.0; var nlea_EaglerAdapterImpl2_activeSoundEffects = null; var nlea_EaglerAdapterImpl2_connected = 0; var nlea_EaglerAdapterImpl2_LWJGLKeyNames = null; var nlea_EaglerAdapterImpl2_LWJGLKeyCodes = null; var nlea_EaglerAdapterImpl2_appendbufferindex = 0; var nlea_EaglerAdapterImpl2_appendbuffer = null; var nlea_EaglerAdapterImpl2_unpressCTRL = 0; function nlea_EaglerAdapterImpl2_$callClinit() { nlea_EaglerAdapterImpl2_$callClinit = $rt_eraseClinit(nlea_EaglerAdapterImpl2); nlea_EaglerAdapterImpl2__clinit_(); } function nlea_EaglerAdapterImpl2__wgetShaderHeader() { nlea_EaglerAdapterImpl2_$callClinit(); return $rt_s(21); } function nlea_EaglerAdapterImpl2_loadResourceBytes($path) { nlea_EaglerAdapterImpl2_$callClinit(); if (jl_String_startsWith0($path, $rt_s(22))) $path = jl_String_substring0($path, 1); return ju_HashMap_get(nle_AssetRepository_filePool, $path); } function nlea_EaglerAdapterImpl2_fileContents($path) { var $contents; nlea_EaglerAdapterImpl2_$callClinit(); $contents = nlea_EaglerAdapterImpl2_loadResourceBytes($path); if ($contents === null) return null; return jl_String__init_3($contents, jnc_Charset_forName($rt_s(23))); } function nlea_EaglerAdapterImpl2_downloadAssetPack(var$1) { var thread = $rt_nativeThread(); var javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; var result = thread.attribute; if (result instanceof Error) { throw result; } return result; } var callback = function() {}; callback.$complete = function(val) { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = function(e) { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); return thread.suspend(function() { try { nlea_EaglerAdapterImpl2_downloadAssetPack0(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); } function nlea_EaglerAdapterImpl2_downloadAssetPack0($assetPackageURI, $cb) { var $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$cb = $cb; $assetPackageURI = otji_JS_function($assetPackageURI, "stateChanged"); $request.onreadystatechange = $assetPackageURI; $request.send(); } function nlea_EaglerAdapterImpl2_initializeContext($rootElement, $assetPackageURI) { var $s, $e, $st, var$6, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$st = $thread.pop();$e = $thread.pop();$s = $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(nlea_EaglerAdapterImpl2_parent.getAttribute("style")); $e = nlea_EaglerAdapterImpl2_parent; $st = jl_StringBuilder__init_(); if ($s === null) $s = $rt_s(4); $st = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append($st, $s), $rt_s(24))); $e.setAttribute("style", $rt_ustr($st)); nlea_EaglerAdapterImpl2_win = window; nlea_EaglerAdapterImpl2_doc = nlea_EaglerAdapterImpl2_win.document; nlea_EaglerAdapterImpl2_canvas = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); nlea_EaglerAdapterImpl2_width = $rootElement.clientWidth; nlea_EaglerAdapterImpl2_height = $rootElement.clientHeight; $st = nlea_EaglerAdapterImpl2_canvas; $e = nlea_EaglerAdapterImpl2_width; $st.width = $e; $st = nlea_EaglerAdapterImpl2_canvas; $e = nlea_EaglerAdapterImpl2_height; $st.height = $e; nlea_EaglerAdapterImpl2_canvasContext = nlea_EaglerAdapterImpl2_canvas.getContext("2d"); nlea_EaglerAdapterImpl2_canvas.setAttribute("id", "deevis589723589"); $st = nlea_EaglerAdapterImpl2_canvas; $rootElement.appendChild($st); nlea_EaglerAdapterImpl2_canvasBack = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); $rootElement = nlea_EaglerAdapterImpl2_canvasBack; $st = nlea_EaglerAdapterImpl2_width; $rootElement.width = $st; $rootElement = nlea_EaglerAdapterImpl2_canvasBack; $st = nlea_EaglerAdapterImpl2_height; $rootElement.height = $st; $rootElement = nlea_EaglerAdapterImpl2_canvasBack; $e = nlea_EaglerAdapterImpl2_youEagler$js_body$_25(); nlea_EaglerAdapterImpl2_webgl = $rootElement.getContext("webgl2", $e); if (nlea_EaglerAdapterImpl2_webgl === null) $rt_throw(jl_RuntimeException__init_(jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(25)), $rt_str(window.navigator.userAgent)), $rt_s(26))))); nlea_EaglerAdapterImpl2_setContextVar$js_body$_12(nlea_EaglerAdapterImpl2_webgl); nlea_EaglerAdapterImpl2_webgl.getExtension("EXT_texture_filter_anisotropic"); $rootElement = nlea_EaglerAdapterImpl2_win; $e = nlea_EaglerAdapterImpl2$2__init_(); nlea_EaglerAdapterImpl2_contextmenu = $e; $rootElement.addEventListener("contextmenu", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = nlea_EaglerAdapterImpl2$3__init_(); nlea_EaglerAdapterImpl2_mousedown = $e; $rootElement.addEventListener("mousedown", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = nlea_EaglerAdapterImpl2$4__init_(); nlea_EaglerAdapterImpl2_mouseup = $e; $rootElement.addEventListener("mouseup", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = nlea_EaglerAdapterImpl2$5__init_(); nlea_EaglerAdapterImpl2_mousemove = $e; $rootElement.addEventListener("mousemove", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = nlea_EaglerAdapterImpl2$6__init_(); nlea_EaglerAdapterImpl2_keydown = $e; $rootElement.addEventListener("keydown", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = nlea_EaglerAdapterImpl2$7__init_(); nlea_EaglerAdapterImpl2_keyup = $e; $rootElement.addEventListener("keyup", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = nlea_EaglerAdapterImpl2$8__init_(); nlea_EaglerAdapterImpl2_keypress = $e; $rootElement.addEventListener("keypress", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = nlea_EaglerAdapterImpl2$9__init_(); nlea_EaglerAdapterImpl2_wheel = $e; $rootElement.addEventListener("wheel", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = nlea_EaglerAdapterImpl2$10__init_(); $rootElement.addEventListener("blur", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = nlea_EaglerAdapterImpl2$11__init_(); $rootElement.addEventListener("focus", otji_JS_function($e, "handleEvent")); nlea_EaglerAdapterImpl2_initFileChooser$js_body$_22(); $ptr = 1; case 1: nle_EarlyLoadScreen_paintScreen(); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nleat_IndexedDBFilesystem_initialize(); if ($rt_suspending()) { break main; } $st = $tmp; if ($st !== nleat_IndexedDBFilesystem$OpenState_OPENED) { if ($st === nleat_IndexedDBFilesystem$OpenState_LOCKED) nle_Client_showDatabaseLockedScreen($rt_s(27)); else nle_Client_showDatabaseLockedScreen(jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(28)), nleat_IndexedDBFilesystem_errorDetail()))); $rt_throw(nle_Client$AbortedLaunchException__init_()); } $ptr = 3; case 3: nlea_EaglerAdapterImpl2_downloadAssetPack($assetPackageURI); if ($rt_suspending()) { break main; } a: { try { nle_AssetRepository_install(nlea_EaglerAdapterImpl2_loadedPackage); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); } if (ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_mouseEvents) && ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_keyEvents) && !(nlea_EaglerAdapterImpl2_hasBeenActive$js_body$_14() ? 1 : 0)) { $ptr = 4; continue main; } nlea_EaglerAdapterImpl2_audioctx = otjw_AudioContext_create$js_body$_44(); ju_LinkedList_clear(nlea_EaglerAdapterImpl2_mouseEvents); ju_LinkedList_clear(nlea_EaglerAdapterImpl2_keyEvents); return; case 4: nle_EarlyLoadScreen_paintEnable(); if ($rt_suspending()) { break main; } while (ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_mouseEvents) && ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_keyEvents)) { try { var$6 = Long_fromInt(100); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { } else { throw $$e; } } } nlea_EaglerAdapterImpl2_audioctx = otjw_AudioContext_create$js_body$_44(); ju_LinkedList_clear(nlea_EaglerAdapterImpl2_mouseEvents); ju_LinkedList_clear(nlea_EaglerAdapterImpl2_keyEvents); return; case 5: a: { try { jl_Thread_sleep(var$6); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { } else { throw $$e; } } } while (ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_mouseEvents) && ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_keyEvents)) { try { var$6 = Long_fromInt(100); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { } else { throw $$e; } } } nlea_EaglerAdapterImpl2_audioctx = otjw_AudioContext_create$js_body$_44(); ju_LinkedList_clear(nlea_EaglerAdapterImpl2_mouseEvents); ju_LinkedList_clear(nlea_EaglerAdapterImpl2_keyEvents); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($rootElement, $assetPackageURI, $s, $e, $st, var$6, $ptr); } function nlea_EaglerAdapterImpl2__wglEnable($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enable($p1); } function nlea_EaglerAdapterImpl2__wglViewport($p1, $p2, $p3, $p4) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_viewportCache.data[0] = $p1; nlea_EaglerAdapterImpl2_viewportCache.data[1] = $p2; nlea_EaglerAdapterImpl2_viewportCache.data[2] = $p3; nlea_EaglerAdapterImpl2_viewportCache.data[3] = $p4; nlea_EaglerAdapterImpl2_webgl.viewport($p1, $p2, $p3, $p4); } function nlea_EaglerAdapterImpl2__wglClear($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear($p1); } function nlea_EaglerAdapterImpl2__wglClearColor($p1, $p2, $p3, $p4) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clearColor($p1, $p2, $p3, $p4); } function nlea_EaglerAdapterImpl2__wglDisable($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.disable($p1); } function nlea_EaglerAdapterImpl2__wglBindTexture($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_webgl; $p2 = $p2 !== null ? $p2.$obj : null; var$3.bindTexture($p1, $p2); } function nlea_EaglerAdapterImpl2__wglTexParameteri($p1, $p2, $p3) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texParameteri($p1, $p2, $p3); } function nlea_EaglerAdapterImpl2__wglTexImage2D($p1, $p2, $p3, $p4, $p5, $p6, $p7, $p8, $p9) { var $len, $deevis, $i, var$13, $data; nlea_EaglerAdapterImpl2_$callClinit(); $len = jn_Buffer_remaining($p9); $deevis = new Int32Array(nlea_EaglerAdapterImpl2_uploadBuffer.buffer); $i = 0; while ($i < $len) { var$13 = jn_IntBufferImpl_get($p9); $deevis[$i] = var$13; $i = $i + 1 | 0; } $p9 = nlea_EaglerAdapterImpl2_uploadBuffer.buffer; var$13 = $len * 4 | 0; $data = new Uint8Array($p9, 0, var$13); nlea_EaglerAdapterImpl2_webgl.texImage2D($p1, $p2, $p3, $p4, $p5, $p6, $p7, $p8, $data); } function nlea_EaglerAdapterImpl2__wglDeleteTextures($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj; var$2.deleteTexture($p1); } function nlea_EaglerAdapterImpl2__wglDrawArrays($p1, $p2, $p3) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.drawArrays($p1, $p2, $p3); } function nlea_EaglerAdapterImpl2__wglGenTextures() { var var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = new nlea_EaglerAdapterImpl2$TextureGL; var$2 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$1.$w = (-1); var$1.$h = (-1); var$1.$nearest = 1; var$1.$anisotropic = 0; var$1.$obj = var$2; return var$1; } function nlea_EaglerAdapterImpl2__wglActiveTexture($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.activeTexture($p1); } function nlea_EaglerAdapterImpl2__wglCreateProgram() { var var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = new nlea_EaglerAdapterImpl2$ProgramGL; var$1.$obj0 = nlea_EaglerAdapterImpl2_webgl.createProgram(); var$2 = nlea_EaglerAdapterImpl2_progId + 1 | 0; nlea_EaglerAdapterImpl2_progId = var$2; var$1.$hashcode = var$2; return var$1; } function nlea_EaglerAdapterImpl2__wglCreateShader($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = new nlea_EaglerAdapterImpl2$ShaderGL; var$2.$obj1 = nlea_EaglerAdapterImpl2_webgl.createShader($p1); return var$2; } function nlea_EaglerAdapterImpl2__wglAttachShader($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; $p2 = $p2.$obj1; var$3.attachShader($p1, $p2); } function nlea_EaglerAdapterImpl2__wglDetachShader($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; $p2 = $p2.$obj1; var$3.detachShader($p1, $p2); } function nlea_EaglerAdapterImpl2__wglCompileShader($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj1; var$2.compileShader($p1); } function nlea_EaglerAdapterImpl2__wglLinkProgram($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; var$2.linkProgram($p1); } function nlea_EaglerAdapterImpl2__wglShaderSource($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj1; var$3.shaderSource($p1, $rt_ustr($p2)); } function nlea_EaglerAdapterImpl2__wglGetShaderInfoLog($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj1; return $rt_str(var$2.getShaderInfoLog($p1)); } function nlea_EaglerAdapterImpl2__wglGetProgramInfoLog($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; return $rt_str(var$2.getProgramInfoLog($p1)); } function nlea_EaglerAdapterImpl2__wglGetShaderCompiled($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj1; return var$2.getShaderParameter($p1, 35713) != 1 ? 0 : 1; } function nlea_EaglerAdapterImpl2__wglGetProgramLinked($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; return var$2.getProgramParameter($p1, 35714) != 1 ? 0 : 1; } function nlea_EaglerAdapterImpl2__wglDeleteShader($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj1; var$2.deleteShader($p1); } function nlea_EaglerAdapterImpl2__wglCreateBuffer() { var var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = new nlea_EaglerAdapterImpl2$BufferGL; var$1.$obj2 = nlea_EaglerAdapterImpl2_webgl.createBuffer(); return var$1; } function nlea_EaglerAdapterImpl2__wglBindBuffer($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_webgl; $p2 = $p2 !== null ? $p2.$obj2 : null; var$3.bindBuffer($p1, $p2); } function nlea_EaglerAdapterImpl2__wglBufferData0($p1, $p2, $p3) { var $len, $deevis, $i, var$7, $data; nlea_EaglerAdapterImpl2_$callClinit(); $len = jn_Buffer_remaining($p2); $deevis = new Int32Array(nlea_EaglerAdapterImpl2_uploadBuffer.buffer); $i = 0; while ($i < $len) { var$7 = jn_IntBufferImpl_get($p2); $deevis[$i] = var$7; $i = $i + 1 | 0; } $p2 = nlea_EaglerAdapterImpl2_uploadBuffer.buffer; $len = $len * 4 | 0; $data = new Uint8Array($p2, 0, $len); nlea_EaglerAdapterImpl2_webgl.bufferData($p1, $data, $p3); } function nlea_EaglerAdapterImpl2__wglBufferData($p1, $p2, $p3) { var var$4; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nlea_EaglerAdapterImpl2_webgl; $p2 = $p2; var$4.bufferData($p1, $p2, $p3); } function nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray($p1); } function nlea_EaglerAdapterImpl2__wglDisableVertexAttribArray($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.disableVertexAttribArray($p1); } function nlea_EaglerAdapterImpl2__wglGetUniformLocation($p1, $p2) { var $u; nlea_EaglerAdapterImpl2_$callClinit(); $u = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; $u = $u.getUniformLocation($p1, $rt_ustr($p2)); if ($u === null) $p1 = null; else { $p1 = new nlea_EaglerAdapterImpl2$UniformGL; $p1.$obj3 = $u; } return $p1; } function nlea_EaglerAdapterImpl2__wglBindAttributeLocation($p1, $p2, $p3) { var var$4; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; var$4.bindAttribLocation($p1, $p2, $rt_ustr($p3)); } function nlea_EaglerAdapterImpl2__wglUniform1f($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null) { var$3 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj3; var$3.uniform1f($p1, $p2); } } function nlea_EaglerAdapterImpl2__wglUniform2f($p1, $p2, $p3) { var var$4; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null) { var$4 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj3; var$4.uniform2f($p1, $p2, $p3); } } function nlea_EaglerAdapterImpl2__wglUniform3f($p1, $p2, $p3, $p4) { var var$5; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null) { var$5 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj3; var$5.uniform3f($p1, $p2, $p3, $p4); } } function nlea_EaglerAdapterImpl2__wglUniform4f($p1, $p2, $p3, $p4, $p5) { var var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null) { var$6 = nlea_EaglerAdapterImpl2_webgl; var$7 = $p1.$obj3; var$6.uniform4f(var$7, $p2, $p3, $p4, $p5); } } function nlea_EaglerAdapterImpl2__wglUniform1i($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null) { var$3 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj3; var$3.uniform1i($p1, $p2); } } function nlea_EaglerAdapterImpl2__wglUniformMat4fv($p1, $mat) { var var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_mat4.set($mat.data); if ($p1 !== null) { var$3 = nlea_EaglerAdapterImpl2_webgl; var$4 = $p1.$obj3; $p1 = nlea_EaglerAdapterImpl2_mat4; var$3.uniformMatrix4fv(var$4, !!0, $p1); } } function nlea_EaglerAdapterImpl2__wglUseProgram($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null && nlea_EaglerAdapterImpl2_currentProgram != $p1.$hashcode) { nlea_EaglerAdapterImpl2_currentProgram = $p1.$hashcode; var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; var$2.useProgram($p1); } } function nlea_EaglerAdapterImpl2__wglVertexAttribPointer($p1, $p2, $p3, $p4, $p5, $p6) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer($p1, $p2, $p3, !!$p4, $p5, $p6); } function nlea_EaglerAdapterImpl2__wglCreateVertexArray() { var var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = new nlea_EaglerAdapterImpl2$BufferArrayGL; var$1.$obj4 = nlea_EaglerAdapterImpl2_webgl.createVertexArray(); var$1.$isQuadBufferBound = 0; return var$1; } function nlea_EaglerAdapterImpl2__wglDeleteVertexArray($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj4; var$2.deleteVertexArray($p1); } function nlea_EaglerAdapterImpl2__wglBindVertexArray($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1 !== null ? $p1.$obj4 : null; var$2.bindVertexArray($p1); } function nlea_EaglerAdapterImpl2_loadPNG($data) { var $arr, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$arr = $thread.pop();$data = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $arr = new ArrayBuffer($data.data.length); (new Uint8Array($arr)).set($data.data); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0($arr); if ($rt_suspending()) { break main; } $arr = $tmp; return $arr; default: $rt_invalidPointer(); }} $rt_nativeThread().push($data, $arr, $ptr); } function nlea_EaglerAdapterImpl2_loadPNG0(var$1) { var thread = $rt_nativeThread(); var javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; var result = thread.attribute; if (result instanceof Error) { throw result; } return result; } var callback = function() {}; callback.$complete = function(val) { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = function(e) { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); return thread.suspend(function() { try { nlea_EaglerAdapterImpl2_loadPNG00(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); } function nlea_EaglerAdapterImpl2_loadPNG00($data, $ret) { var $toLoad, $src, var$5; nlea_EaglerAdapterImpl2_$callClinit(); $toLoad = nlea_EaglerAdapterImpl2_doc.createElement("img"); $src = new nlea_EaglerAdapterImpl2$12; $src.$val$toLoad = $toLoad; $src.$val$ret = $ret; $toLoad.addEventListener("load", otji_JS_function($src, "handleEvent")); var$5 = new nlea_EaglerAdapterImpl2$13; var$5.$val$toLoad0 = $toLoad; var$5.$val$ret0 = $ret; $toLoad.addEventListener("error", otji_JS_function(var$5, "handleEvent")); $src = $rt_str(nlea_EaglerAdapterImpl2_getDataURL$js_body$_118($data, "image/png")); if ($src === null) otpp_AsyncCallbackWrapper_complete($ret, null); else { $data = $rt_ustr($src); $toLoad.src = $data; } } function nlea_EaglerAdapterImpl2_mouseNext() { var var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); a: { nlea_EaglerAdapterImpl2_currentEvent = null; if (!ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_mouseEvents)) { var$1 = ju_AbstractSequentialList_remove(nlea_EaglerAdapterImpl2_mouseEvents, 0); nlea_EaglerAdapterImpl2_currentEvent = var$1; if (var$1 !== null) { var$2 = 1; break a; } } var$2 = 0; } return var$2; } function nlea_EaglerAdapterImpl2_mouseGetEventButton() { var $b; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_currentEvent === null) return (-1); $b = nlea_EaglerAdapterImpl2_currentEvent.button; if ($b == 1) $b = 2; else if ($b == 2) $b = 1; return $b; } function nlea_EaglerAdapterImpl2_mouseGetEventButtonState() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_currentEvent === null ? 0 : jl_String_equals($rt_str(nlea_EaglerAdapterImpl2_currentEvent.type), $rt_s(29)); } function nlea_EaglerAdapterImpl2_mouseIsButtonDown($p1) { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_buttonStates.data[$p1]; } function nlea_EaglerAdapterImpl2_mouseGetEventDWheel() { nlea_EaglerAdapterImpl2_$callClinit(); return !jl_String_equals($rt_s(30), $rt_str(nlea_EaglerAdapterImpl2_currentEvent.type)) ? 0 : nlea_EaglerAdapterImpl2_currentEvent.deltaY === 0.0 ? 0 : nlea_EaglerAdapterImpl2_currentEvent.deltaY <= 0.0 ? 1 : (-1); } function nlea_EaglerAdapterImpl2_mouseSetCursorPosition($x, $y) { nlea_EaglerAdapterImpl2_$callClinit(); } function nlea_EaglerAdapterImpl2_mouseSetGrabbed($grabbed) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_needsPointerLock = $grabbed; if ($grabbed) { nlea_EaglerAdapterImpl2_mouseDX = 0.0; nlea_EaglerAdapterImpl2_mouseDY = 0.0; setTimeout(otji_JS_function(new nlea_EaglerAdapterImpl2$14, "onTimer"), 200); } else { nlea_EaglerAdapterImpl2_mouseUngrabTimer = jl_System_currentTimeMillis(); if (nlea_EaglerAdapterImpl2_mouseUngrabTimeout) clearTimeout(nlea_EaglerAdapterImpl2_mouseUngrabTimeout); nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; nlea_EaglerAdapterImpl2_doc.exitPointerLock(); } } function nlea_EaglerAdapterImpl2_mouseGetDX() { var $dx; nlea_EaglerAdapterImpl2_$callClinit(); $dx = nlea_EaglerAdapterImpl2_mouseDX; nlea_EaglerAdapterImpl2_mouseDX = 0.0; return $dx | 0; } function nlea_EaglerAdapterImpl2_mouseGetDY() { var $dy; nlea_EaglerAdapterImpl2_$callClinit(); $dy = nlea_EaglerAdapterImpl2_mouseDY; nlea_EaglerAdapterImpl2_mouseDY = 0.0; return $dy | 0; } function nlea_EaglerAdapterImpl2_mouseGetX() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_mouseX; } function nlea_EaglerAdapterImpl2_mouseGetY() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_mouseY; } function nlea_EaglerAdapterImpl2_keysNext() { var var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_unpressCTRL) { a: { nlea_EaglerAdapterImpl2_currentEventK = null; if (!ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_keyEvents)) { var$1 = ju_AbstractSequentialList_remove(nlea_EaglerAdapterImpl2_keyEvents, 0); nlea_EaglerAdapterImpl2_currentEventK = var$1; if (var$1 !== null) { var$2 = 1; break a; } } var$2 = 0; } return var$2; } ju_LinkedList_clear(nlea_EaglerAdapterImpl2_keyEvents); nlea_EaglerAdapterImpl2_currentEventK = null; nlea_EaglerAdapterImpl2_keyStates.data[29] = 0; nlea_EaglerAdapterImpl2_keyStates.data[157] = 0; nlea_EaglerAdapterImpl2_keyStates.data[28] = 0; nlea_EaglerAdapterImpl2_keyStates.data[219] = 0; nlea_EaglerAdapterImpl2_keyStates.data[220] = 0; nlea_EaglerAdapterImpl2_unpressCTRL = 0; return 0; } function nlea_EaglerAdapterImpl2_getEventKey() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_currentEventK === null ? (-1) : nlea_EaglerAdapterImpl2_remapKey(nlea_EaglerAdapterImpl2_currentEventK.which); } function nlea_EaglerAdapterImpl2_getEventKeyState() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_currentEventK === null ? 0 : jl_String_equals($rt_str(nlea_EaglerAdapterImpl2_currentEventK.type), $rt_s(31)) ? 0 : 1; } function nlea_EaglerAdapterImpl2_isKeyDown($p1) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_unpressCTRL) { nlea_EaglerAdapterImpl2_keyStates.data[28] = 0; nlea_EaglerAdapterImpl2_keyStates.data[29] = 0; nlea_EaglerAdapterImpl2_keyStates.data[157] = 0; nlea_EaglerAdapterImpl2_keyStates.data[219] = 0; nlea_EaglerAdapterImpl2_keyStates.data[220] = 0; } return nlea_EaglerAdapterImpl2_keyStates.data[$p1]; } function nlea_EaglerAdapterImpl2_updateDisplay() { var var$1, var$2, var$3, var$4, $ww, $hh, var$7, var$8, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$hh = $thread.pop();$ww = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_commitContext$js_body$_148(nlea_EaglerAdapterImpl2_webgl); var$1 = nlea_EaglerAdapterImpl2_canvasContext; var$2 = nlea_EaglerAdapterImpl2_canvasBack; var$3 = nlea_EaglerAdapterImpl2_canvas.width; var$4 = nlea_EaglerAdapterImpl2_canvas.height; var$1.drawImage(var$2, 0.0, 0.0, var$3, var$4); $ww = nlea_EaglerAdapterImpl2_canvas.clientWidth; $hh = nlea_EaglerAdapterImpl2_canvas.clientHeight; if (!($ww == nlea_EaglerAdapterImpl2_width && $hh == nlea_EaglerAdapterImpl2_height)) { nlea_EaglerAdapterImpl2_width = $ww; nlea_EaglerAdapterImpl2_height = $hh; var$2 = nlea_EaglerAdapterImpl2_canvasBack; var$7 = $ww; var$2.width = var$7; var$2 = nlea_EaglerAdapterImpl2_canvasBack; var$7 = $hh; var$2.height = var$7; } try { var$8 = Long_fromInt(1); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { } else { throw $$e; } } return; case 1: a: { try { jl_Thread_sleep(var$8); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, var$2, var$3, var$4, $ww, $hh, var$7, var$8, $ptr); } function nlea_EaglerAdapterImpl2_isFocused() { var $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; } function nlea_EaglerAdapterImpl2_getCanvasWidth() { var $w, var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); $w = nlea_EaglerAdapterImpl2_parent.clientWidth; if ($w != nlea_EaglerAdapterImpl2_width) { var$2 = nlea_EaglerAdapterImpl2_canvas; var$3 = $w; var$2.width = var$3; var$2 = nlea_EaglerAdapterImpl2_canvasBack; var$3 = $w; var$2.width = var$3; nlea_EaglerAdapterImpl2_width = $w; } return $w; } function nlea_EaglerAdapterImpl2_getCanvasHeight() { var $h, var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); $h = nlea_EaglerAdapterImpl2_parent.clientHeight; if ($h != nlea_EaglerAdapterImpl2_height) { var$2 = nlea_EaglerAdapterImpl2_canvas; var$3 = $h; var$2.height = var$3; var$2 = nlea_EaglerAdapterImpl2_canvasBack; var$3 = $h; var$2.height = var$3; nlea_EaglerAdapterImpl2_height = $h; } return $h; } function nlea_EaglerAdapterImpl2__wArrayByteLength($obj) { nlea_EaglerAdapterImpl2_$callClinit(); return $obj.byteLength; } function nlea_EaglerAdapterImpl2_remapKey($k) { nlea_EaglerAdapterImpl2_$callClinit(); return $k <= nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data.length && $k >= 0 ? nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data[$k] : (-1); } function nlea_EaglerAdapterImpl2_access$000() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_loadedPackage; } function nlea_EaglerAdapterImpl2_access$100() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_buttonStates; } function nlea_EaglerAdapterImpl2_access$200() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_mouseEvents; } function nlea_EaglerAdapterImpl2_access$300() { nlea_EaglerAdapterImpl2_$callClinit(); if (Long_gt(Long_sub(jl_System_currentTimeMillis(), nlea_EaglerAdapterImpl2_mouseUngrabTimer), Long_fromInt(3000)) && nlea_EaglerAdapterImpl2_needsPointerLock && !(document.pointerLockElement != null ? 1 : 0)) { nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); if (document.pointerLockElement != null ? 1 : 0) nlea_EaglerAdapterImpl2_needsPointerLock = 0; } } function nlea_EaglerAdapterImpl2_access$1000() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_keyStates; } function nlea_EaglerAdapterImpl2_access$1100($x0) { nlea_EaglerAdapterImpl2_$callClinit(); return $x0.which; } function nlea_EaglerAdapterImpl2_access$1200($x0) { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_remapKey($x0); } function nlea_EaglerAdapterImpl2_access$1300() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_keyEvents; } function nlea_EaglerAdapterImpl2_access$1502($x0) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_isWindowFocused = $x0; return $x0; } function nlea_EaglerAdapterImpl2_access$1700() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_imageLoadCanvas; } function nlea_EaglerAdapterImpl2_access$1800() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_imageLoadContext; } function nlea_EaglerAdapterImpl2_access$1900($x0) { nlea_EaglerAdapterImpl2_$callClinit(); URL.revokeObjectURL($rt_ustr($x0)); } function nlea_EaglerAdapterImpl2_access$2000() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_mouseUngrabTimeout; } function nlea_EaglerAdapterImpl2_access$2002($x0) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_mouseUngrabTimeout = $x0; return $x0; } function nlea_EaglerAdapterImpl2_access$2100() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_mouseUngrabTimer; } function nlea_EaglerAdapterImpl2__clinit_() { var var$1, var$2; nlea_EaglerAdapterImpl2_isAnisotropicPatched = 0; nlea_EaglerAdapterImpl2_doc = null; nlea_EaglerAdapterImpl2_parent = null; nlea_EaglerAdapterImpl2_canvas = null; nlea_EaglerAdapterImpl2_canvasContext = null; nlea_EaglerAdapterImpl2_canvasBack = null; nlea_EaglerAdapterImpl2_webgl = 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_mouseEvents = ju_LinkedList__init_(); nlea_EaglerAdapterImpl2_keyEvents = ju_LinkedList__init_(); 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_uploadBuffer = new Uint8Array(new ArrayBuffer(4194304)); nlea_EaglerAdapterImpl2_mat2 = new Float32Array(4); nlea_EaglerAdapterImpl2_mat3 = new Float32Array(9); nlea_EaglerAdapterImpl2_mat4 = new Float32Array(16); nlea_EaglerAdapterImpl2_currentProgram = (-1); nlea_EaglerAdapterImpl2_imageLoadCanvas = null; nlea_EaglerAdapterImpl2_imageLoadContext = null; 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_needsPointerLock = 0; nlea_EaglerAdapterImpl2_pointerLockFlag = 0; nlea_EaglerAdapterImpl2_dateFormatSS = jt_SimpleDateFormat__init_($rt_s(32)); nlea_EaglerAdapterImpl2_rateLimitedAddresses = ju_HashSet__init_(); nlea_EaglerAdapterImpl2_blockedAddresses = ju_HashSet__init_(); nlea_EaglerAdapterImpl2_sock = null; nlea_EaglerAdapterImpl2_sockIsConnecting = 0; nlea_EaglerAdapterImpl2_sockIsConnected = 0; nlea_EaglerAdapterImpl2_sockIsAlive = 0; nlea_EaglerAdapterImpl2_readPackets = ju_LinkedList__init_(); nlea_EaglerAdapterImpl2_rateLimitStatus = null; nlea_EaglerAdapterImpl2_currentSockURI = null; nlea_EaglerAdapterImpl2_playbackId = 0; nlea_EaglerAdapterImpl2_loadedSoundFiles = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_audioctx = null; nlea_EaglerAdapterImpl2_playbackOffsetDelay = 0.029999999329447746; nlea_EaglerAdapterImpl2_activeSoundEffects = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_connected = 0; var$1 = $rt_createArray(jl_String, 256); var$2 = var$1.data; var$2[0] = $rt_s(33); var$2[1] = $rt_s(34); var$2[2] = $rt_s(35); var$2[3] = $rt_s(36); var$2[4] = $rt_s(37); var$2[5] = $rt_s(38); var$2[6] = $rt_s(39); var$2[7] = $rt_s(40); var$2[8] = $rt_s(41); var$2[9] = $rt_s(42); var$2[10] = $rt_s(43); var$2[11] = $rt_s(2); var$2[12] = $rt_s(44); var$2[13] = $rt_s(45); var$2[14] = $rt_s(46); var$2[15] = $rt_s(47); var$2[16] = $rt_s(48); var$2[17] = $rt_s(49); var$2[18] = $rt_s(50); var$2[19] = $rt_s(51); var$2[20] = $rt_s(52); var$2[21] = $rt_s(53); var$2[22] = $rt_s(54); var$2[23] = $rt_s(55); var$2[24] = $rt_s(56); var$2[25] = $rt_s(57); var$2[26] = $rt_s(58); var$2[27] = $rt_s(59); var$2[28] = $rt_s(60); var$2[29] = $rt_s(61); var$2[30] = $rt_s(62); var$2[31] = $rt_s(63); var$2[32] = $rt_s(64); var$2[33] = $rt_s(65); var$2[34] = $rt_s(66); var$2[35] = $rt_s(67); var$2[36] = $rt_s(68); var$2[37] = $rt_s(69); var$2[38] = $rt_s(70); var$2[39] = $rt_s(71); var$2[40] = $rt_s(72); var$2[41] = $rt_s(73); var$2[42] = $rt_s(74); var$2[43] = $rt_s(75); var$2[44] = $rt_s(76); var$2[45] = $rt_s(77); var$2[46] = $rt_s(78); var$2[47] = $rt_s(79); var$2[48] = $rt_s(80); var$2[49] = $rt_s(81); var$2[50] = $rt_s(82); var$2[51] = $rt_s(83); var$2[52] = $rt_s(84); var$2[53] = $rt_s(85); var$2[54] = $rt_s(86); var$2[55] = $rt_s(87); var$2[56] = $rt_s(88); var$2[57] = $rt_s(89); var$2[58] = $rt_s(90); var$2[59] = $rt_s(91); var$2[60] = $rt_s(92); var$2[61] = $rt_s(93); var$2[62] = $rt_s(94); var$2[63] = $rt_s(95); var$2[64] = $rt_s(96); var$2[65] = $rt_s(97); var$2[66] = $rt_s(98); var$2[67] = $rt_s(99); var$2[68] = $rt_s(100); var$2[69] = $rt_s(101); var$2[70] = $rt_s(102); var$2[71] = $rt_s(103); var$2[72] = $rt_s(104); var$2[73] = $rt_s(105); var$2[74] = $rt_s(106); var$2[75] = $rt_s(107); var$2[76] = $rt_s(108); var$2[77] = $rt_s(109); var$2[78] = $rt_s(110); var$2[79] = $rt_s(111); var$2[80] = $rt_s(112); var$2[81] = $rt_s(113); var$2[82] = $rt_s(114); var$2[83] = $rt_s(115); var$2[84] = $rt_s(15); var$2[85] = $rt_s(15); var$2[86] = $rt_s(15); var$2[87] = $rt_s(116); var$2[88] = $rt_s(117); var$2[89] = $rt_s(15); var$2[90] = $rt_s(15); var$2[91] = $rt_s(15); var$2[92] = $rt_s(15); var$2[93] = $rt_s(15); var$2[94] = $rt_s(15); var$2[95] = $rt_s(15); var$2[96] = $rt_s(15); var$2[97] = $rt_s(15); var$2[98] = $rt_s(15); var$2[99] = $rt_s(15); var$2[100] = $rt_s(118); var$2[101] = $rt_s(119); var$2[102] = $rt_s(120); var$2[103] = $rt_s(121); var$2[104] = $rt_s(122); var$2[105] = $rt_s(123); var$2[106] = $rt_s(15); var$2[107] = $rt_s(15); var$2[108] = $rt_s(15); var$2[109] = $rt_s(15); var$2[110] = $rt_s(15); var$2[111] = $rt_s(15); var$2[112] = $rt_s(124); var$2[113] = $rt_s(125); var$2[114] = $rt_s(15); var$2[115] = $rt_s(15); var$2[116] = $rt_s(15); var$2[117] = $rt_s(15); var$2[118] = $rt_s(15); var$2[119] = $rt_s(15); var$2[120] = $rt_s(15); var$2[121] = $rt_s(126); var$2[122] = $rt_s(15); var$2[123] = $rt_s(127); var$2[124] = $rt_s(15); var$2[125] = $rt_s(128); var$2[126] = $rt_s(15); var$2[127] = $rt_s(15); var$2[128] = $rt_s(15); var$2[129] = $rt_s(15); var$2[130] = $rt_s(15); var$2[131] = $rt_s(15); var$2[132] = $rt_s(15); var$2[133] = $rt_s(15); var$2[134] = $rt_s(15); var$2[135] = $rt_s(15); var$2[136] = $rt_s(15); var$2[137] = $rt_s(15); var$2[138] = $rt_s(15); var$2[139] = $rt_s(15); var$2[140] = $rt_s(15); var$2[141] = $rt_s(129); var$2[142] = $rt_s(15); var$2[143] = $rt_s(15); var$2[144] = $rt_s(130); var$2[145] = $rt_s(131); var$2[146] = $rt_s(132); var$2[147] = $rt_s(133); var$2[148] = $rt_s(134); var$2[149] = $rt_s(135); var$2[150] = $rt_s(136); var$2[151] = $rt_s(137); var$2[152] = $rt_s(15); var$2[153] = $rt_s(15); var$2[154] = $rt_s(15); var$2[155] = $rt_s(15); var$2[156] = $rt_s(138); var$2[157] = $rt_s(139); var$2[158] = $rt_s(15); var$2[159] = $rt_s(15); var$2[160] = $rt_s(15); var$2[161] = $rt_s(15); var$2[162] = $rt_s(15); var$2[163] = $rt_s(15); var$2[164] = $rt_s(15); var$2[165] = $rt_s(15); var$2[166] = $rt_s(15); var$2[167] = $rt_s(140); var$2[168] = $rt_s(15); var$2[169] = $rt_s(15); var$2[170] = $rt_s(15); var$2[171] = $rt_s(15); var$2[172] = $rt_s(15); var$2[173] = $rt_s(15); var$2[174] = $rt_s(15); var$2[175] = $rt_s(15); var$2[176] = $rt_s(15); var$2[177] = $rt_s(15); var$2[178] = $rt_s(15); var$2[179] = $rt_s(141); var$2[180] = $rt_s(15); var$2[181] = $rt_s(142); var$2[182] = $rt_s(15); var$2[183] = $rt_s(143); var$2[184] = $rt_s(144); var$2[185] = $rt_s(15); var$2[186] = $rt_s(15); var$2[187] = $rt_s(15); var$2[188] = $rt_s(15); var$2[189] = $rt_s(15); var$2[190] = $rt_s(15); var$2[191] = $rt_s(15); var$2[192] = $rt_s(15); var$2[193] = $rt_s(15); var$2[194] = $rt_s(15); var$2[195] = $rt_s(15); var$2[196] = $rt_s(145); var$2[197] = $rt_s(146); var$2[198] = $rt_s(15); var$2[199] = $rt_s(147); var$2[200] = $rt_s(148); var$2[201] = $rt_s(149); var$2[202] = $rt_s(15); var$2[203] = $rt_s(150); var$2[204] = $rt_s(15); var$2[205] = $rt_s(151); var$2[206] = $rt_s(15); var$2[207] = $rt_s(152); var$2[208] = $rt_s(153); var$2[209] = $rt_s(154); var$2[210] = $rt_s(155); var$2[211] = $rt_s(156); var$2[212] = $rt_s(15); var$2[213] = $rt_s(15); var$2[214] = $rt_s(15); var$2[215] = $rt_s(15); var$2[216] = $rt_s(15); var$2[217] = $rt_s(15); var$2[218] = $rt_s(157); var$2[219] = $rt_s(158); var$2[220] = $rt_s(159); var$2[221] = $rt_s(160); var$2[222] = $rt_s(161); var$2[223] = $rt_s(162); var$2[224] = $rt_s(15); var$2[225] = $rt_s(15); var$2[226] = $rt_s(15); var$2[227] = $rt_s(15); var$2[228] = $rt_s(15); var$2[229] = $rt_s(15); var$2[230] = $rt_s(15); var$2[231] = $rt_s(15); var$2[232] = $rt_s(15); var$2[233] = $rt_s(15); var$2[234] = $rt_s(15); var$2[235] = $rt_s(15); var$2[236] = $rt_s(15); var$2[237] = $rt_s(15); var$2[238] = $rt_s(15); var$2[239] = $rt_s(15); var$2[240] = $rt_s(15); var$2[241] = $rt_s(15); var$2[242] = $rt_s(15); var$2[243] = $rt_s(15); var$2[244] = $rt_s(15); var$2[245] = $rt_s(15); var$2[246] = $rt_s(15); var$2[247] = $rt_s(15); var$2[248] = $rt_s(15); var$2[249] = $rt_s(15); var$2[250] = $rt_s(15); var$2[251] = $rt_s(15); var$2[252] = $rt_s(15); var$2[253] = $rt_s(15); var$2[254] = $rt_s(15); var$2[255] = $rt_s(15); nlea_EaglerAdapterImpl2_LWJGLKeyNames = var$1; var$1 = $rt_createIntArray(224); var$2 = var$1.data; var$2[0] = (-1); var$2[1] = (-1); var$2[2] = (-1); var$2[3] = (-1); var$2[4] = (-1); var$2[5] = (-1); var$2[6] = (-1); var$2[7] = (-1); var$2[8] = 14; var$2[9] = 15; var$2[10] = (-1); var$2[11] = (-1); var$2[12] = (-1); var$2[13] = 28; var$2[14] = (-1); var$2[15] = (-1); var$2[16] = 42; var$2[17] = 29; var$2[18] = 56; var$2[19] = (-1); var$2[20] = (-1); var$2[21] = (-1); var$2[22] = (-1); var$2[23] = (-1); var$2[24] = (-1); var$2[25] = (-1); var$2[26] = (-1); var$2[27] = 1; var$2[28] = (-1); var$2[29] = (-1); var$2[30] = (-1); var$2[31] = (-1); var$2[32] = 57; var$2[33] = 210; var$2[34] = 201; var$2[35] = 207; var$2[36] = 199; var$2[37] = 203; var$2[38] = 200; var$2[39] = 205; var$2[40] = 208; var$2[41] = 205; var$2[42] = 208; var$2[43] = (-1); var$2[44] = (-1); var$2[45] = 210; var$2[46] = 211; var$2[47] = 211; var$2[48] = 11; var$2[49] = 2; var$2[50] = 3; var$2[51] = 4; var$2[52] = 5; var$2[53] = 6; var$2[54] = 7; var$2[55] = 8; var$2[56] = 9; var$2[57] = 10; var$2[58] = (-1); var$2[59] = (-1); var$2[60] = (-1); var$2[61] = (-1); var$2[62] = (-1); var$2[63] = (-1); var$2[64] = (-1); var$2[65] = 30; var$2[66] = 48; var$2[67] = 46; var$2[68] = 32; var$2[69] = 18; var$2[70] = 33; var$2[71] = 34; var$2[72] = 35; var$2[73] = 23; var$2[74] = 36; var$2[75] = 37; var$2[76] = 38; var$2[77] = 50; var$2[78] = 49; var$2[79] = 24; var$2[80] = 25; var$2[81] = 16; var$2[82] = 19; var$2[83] = 31; var$2[84] = 20; var$2[85] = 22; var$2[86] = 47; var$2[87] = 17; var$2[88] = 45; var$2[89] = 21; var$2[90] = 44; var$2[91] = (-1); var$2[92] = (-1); var$2[93] = (-1); var$2[94] = (-1); var$2[95] = (-1); var$2[96] = (-1); var$2[97] = (-1); var$2[98] = (-1); var$2[99] = (-1); var$2[100] = (-1); var$2[101] = (-1); var$2[102] = (-1); var$2[103] = (-1); var$2[104] = (-1); var$2[105] = (-1); var$2[106] = (-1); var$2[107] = (-1); var$2[108] = (-1); var$2[109] = 12; var$2[110] = 52; var$2[111] = 53; var$2[112] = (-1); var$2[113] = (-1); var$2[114] = (-1); var$2[115] = (-1); var$2[116] = (-1); var$2[117] = (-1); var$2[118] = (-1); var$2[119] = (-1); var$2[120] = (-1); var$2[121] = (-1); var$2[122] = (-1); var$2[123] = (-1); var$2[124] = (-1); var$2[125] = (-1); var$2[126] = (-1); var$2[127] = (-1); var$2[128] = (-1); var$2[129] = (-1); var$2[130] = (-1); var$2[131] = (-1); var$2[132] = (-1); var$2[133] = (-1); var$2[134] = (-1); var$2[135] = (-1); var$2[136] = (-1); var$2[137] = (-1); var$2[138] = (-1); var$2[139] = (-1); var$2[140] = (-1); var$2[141] = (-1); var$2[142] = (-1); var$2[143] = (-1); var$2[144] = (-1); var$2[145] = (-1); var$2[146] = (-1); var$2[147] = (-1); var$2[148] = (-1); var$2[149] = (-1); var$2[150] = (-1); var$2[151] = (-1); var$2[152] = (-1); var$2[153] = (-1); var$2[154] = (-1); var$2[155] = (-1); var$2[156] = (-1); var$2[157] = (-1); var$2[158] = (-1); var$2[159] = (-1); var$2[160] = (-1); var$2[161] = (-1); var$2[162] = (-1); var$2[163] = (-1); var$2[164] = (-1); var$2[165] = (-1); var$2[166] = (-1); var$2[167] = (-1); var$2[168] = (-1); var$2[169] = (-1); var$2[170] = (-1); var$2[171] = (-1); var$2[172] = (-1); var$2[173] = (-1); var$2[174] = (-1); var$2[175] = (-1); var$2[176] = (-1); var$2[177] = (-1); var$2[178] = (-1); var$2[179] = (-1); var$2[180] = (-1); var$2[181] = (-1); var$2[182] = (-1); var$2[183] = (-1); var$2[184] = (-1); var$2[185] = (-1); var$2[186] = 39; var$2[187] = 13; var$2[188] = 51; var$2[189] = 12; var$2[190] = 52; var$2[191] = 53; var$2[192] = (-1); var$2[193] = (-1); var$2[194] = (-1); var$2[195] = (-1); var$2[196] = (-1); var$2[197] = (-1); var$2[198] = (-1); var$2[199] = (-1); var$2[200] = (-1); var$2[201] = (-1); var$2[202] = (-1); var$2[203] = (-1); var$2[204] = (-1); var$2[205] = (-1); var$2[206] = (-1); var$2[207] = (-1); var$2[208] = (-1); var$2[209] = (-1); var$2[210] = (-1); var$2[211] = (-1); var$2[212] = (-1); var$2[213] = (-1); var$2[214] = (-1); var$2[215] = (-1); var$2[216] = (-1); var$2[217] = (-1); var$2[218] = (-1); var$2[219] = (-1); var$2[220] = 26; var$2[221] = 43; var$2[222] = 27; var$2[223] = 40; nlea_EaglerAdapterImpl2_LWJGLKeyCodes = var$1; nlea_EaglerAdapterImpl2_appendbufferindex = 0; nlea_EaglerAdapterImpl2_appendbuffer = new Int32Array(new ArrayBuffer(2100000)); nlea_EaglerAdapterImpl2_unpressCTRL = 0; } function nlea_EaglerAdapterImpl2_setContextVar$js_body$_12(var$1) { window.currentContext = var$1; } function nlea_EaglerAdapterImpl2_hasBeenActive$js_body$_14() { if (window.navigator.userActivation) { return window.navigator.userActivation.hasBeenActive; } else { return false; } } function nlea_EaglerAdapterImpl2_initFileChooser$js_body$_22() { if (!nlea_EaglerAdapterImpl2_initFileChooser$js_body$_22.$native) { nlea_EaglerAdapterImpl2_initFileChooser$js_body$_22.$native = function() { return (function() { window.eagsFileChooser = { inputElement: null, openFileChooser: function(ext, mime){ var el = window.eagsFileChooser.inputElement = document.createElement("input"); el.type = "file"; el.multiple = false; el.addEventListener("change", function(evt){ var f = window.eagsFileChooser.inputElement.files; if(f.length == 0){ window.eagsFileChooser.getFileChooserResult = null; }else{ (async function(){ window.eagsFileChooser.getFileChooserResult = await f[0].arrayBuffer(); window.eagsFileChooser.getFileChooserResultName = f[0].name; })(); } }); window.eagsFileChooser.getFileChooserResult = null; window.eagsFileChooser.getFileChooserResultName = null; el.accept = mime; el.click(); }, getFileChooserResult: null, getFileChooserResultName: null }; })(); }; nlea_EaglerAdapterImpl2_initFileChooser$js_body$_22 = nlea_EaglerAdapterImpl2_initFileChooser$js_body$_22.$native; } return nlea_EaglerAdapterImpl2_initFileChooser$js_body$_22(); } function nlea_EaglerAdapterImpl2_youEagler$js_body$_25() { return { antialias : false, depth : true, powerPreference : "high-performance", desynchronized : false, preserveDrawingBuffer : false, premultipliedAlpha : false, alpha : false }; } function nlea_EaglerAdapterImpl2_getDataURL$js_body$_118(var$1, var$2) { return URL.createObjectURL(new Blob([var$1], { type : var$2 })); } function nlea_EaglerAdapterImpl2_commitContext$js_body$_148(var$1) { if (var$1.commit) var$1.commit(); } function nle_Client$AbortedLaunchException() { jl_RuntimeException.call(this); } function nle_Client$AbortedLaunchException__init_() { var var_0 = new nle_Client$AbortedLaunchException(); nle_Client$AbortedLaunchException__init_0(var_0); return var_0; } function nle_Client$AbortedLaunchException__init_0($this) { jl_Throwable__init_0($this); } function jl_AutoCloseable() { } function ji_Closeable() { } function ji_Flushable() { } function ji_Writer() { jl_Object.call(this); this.$lock = null; } function ji_StringWriter() { ji_Writer.call(this); this.$buf = null; } function ji_StringWriter_flush($this) { return; } function ji_StringWriter_write($this, $cbuf, $offset, $count) { var var$4, var$5; if ($offset >= 0) { var$4 = $cbuf.data.length; if ($offset <= var$4 && $count >= 0 && $count <= (var$4 - $offset | 0)) { if (!$count) return; jl_StringBuffer_append($this.$buf, $cbuf, $offset, $count); return; } } var$5 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$5); $rt_throw(var$5); } function ji_PrintWriter() { var a = this; ji_Writer.call(a); a.$out = null; a.$ioError = 0; a.$autoflush = 0; } function ji_PrintWriter_flush($this) { var $$je; a: { if ($this.$out === null) ji_PrintWriter_setError($this); else { try { ji_StringWriter_flush($this.$out); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } ji_PrintWriter_setError($this); } } } function ji_PrintWriter_print($this, $str) { if ($str === null) $str = jl_String_valueOf(null); ji_PrintWriter_write($this, $str); } function ji_PrintWriter_println($this) { ji_PrintWriter_print($this, $rt_s(163)); if ($this.$autoflush) ji_PrintWriter_flush($this); } function ji_PrintWriter_println0($this, $obj) { ji_PrintWriter_println1($this, jl_String_valueOf($obj)); } function ji_PrintWriter_println1($this, $str) { ji_PrintWriter_print($this, $str); ji_PrintWriter_println($this); } function ji_PrintWriter_setError($this) { $this.$ioError = 1; } function ji_PrintWriter_write0($this, $buf) { ji_PrintWriter_write1($this, $buf, 0, $buf.data.length); } function ji_PrintWriter_write1($this, $buf, $offset, $count) { var $$je; a: { if ($this.$out === null) ji_PrintWriter_setError($this); else { try { ji_StringWriter_write($this.$out, $buf, $offset, $count); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } ji_PrintWriter_setError($this); } } } function ji_PrintWriter_write($this, $str) { ji_PrintWriter_write0($this, jl_String_toCharArray($str)); } function otci_IntegerUtil() { jl_Object.call(this); } function otjc_JSString() { jl_Object.call(this); } function jl_System() { jl_Object.call(this); } var jl_System_outCache = null; var jl_System_errCache = null; function jl_System_out() { if (jl_System_outCache === null) jl_System_outCache = ji_PrintStream__init_(new jl_ConsoleOutputStreamStdout, 0); return jl_System_outCache; } function jl_System_err() { if (jl_System_errCache === null) jl_System_errCache = ji_PrintStream__init_(new jl_ConsoleOutputStreamStderr, 0); return jl_System_errCache; } function jl_System_arraycopy($src, $srcPos, $dest, $destPos, $length) { var $srcType, $targetType, $srcArray, $i, var$10, var$11, var$12; 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) { $srcType = jl_Class_getComponentType(jl_Object_getClass($src)); $targetType = jl_Class_getComponentType(jl_Object_getClass($dest)); if ($srcType !== null && $targetType !== null) { if ($srcType === $targetType) break b; if (!jl_Class_isPrimitive($srcType) && !jl_Class_isPrimitive($targetType)) { $srcArray = $src; $i = 0; var$10 = $srcPos; while ($i < $length) { var$11 = $srcArray.data; var$12 = var$10 + 1 | 0; if (!jl_Class_isInstance($targetType, var$11[var$10])) { jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $i); $src = new jl_ArrayStoreException; jl_Throwable__init_0($src); $rt_throw($src); } $i = $i + 1 | 0; var$10 = var$12; } jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $length); return; } if (!jl_Class_isPrimitive($srcType)) break a; if (jl_Class_isPrimitive($targetType)) break b; else break a; } $src = new jl_ArrayStoreException; jl_Throwable__init_0($src); $rt_throw($src); } } jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $length); return; } $src = new jl_ArrayStoreException; jl_Throwable__init_0($src); $rt_throw($src); } $src = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($src); $rt_throw($src); } $dest = new jl_NullPointerException; jl_Throwable__init_($dest, $rt_s(164)); $rt_throw($dest); } function jl_System_doArrayCopy(var$1, var$2, var$3, var$4, var$5) { if (var$1 !== var$3 || var$4 < var$2) { for (var 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 (var i = 0; i < var$5; i = (i + 1) | 0) { var$3.data[--var$4] = var$1.data[--var$2]; } } } function jl_System_currentTimeMillis() { return Long_fromNumber(new Date().getTime()); } function jl_System_nanoTime() { return Long_fromNumber(performance.now() * 1000000.0); } function jl_Runnable() { } function cmm_Minecraft() { var a = this; jl_Object.call(a); a.$gamemode = null; a.$width = 0; a.$height = 0; a.$timer = null; a.$level = null; a.$levelRenderer = null; a.$player = null; a.$particleManager = null; a.$session = null; a.$host = null; a.$levelLoaded = 0; a.$waiting = 0; a.$fontRenderer = null; a.$currentScreen = null; a.$progressBar = null; a.$renderer = null; a.$levelIo = null; a.$ticks = 0; a.$blockHitTime = 0; a.$levelName = null; a.$levelId = 0; a.$hud = null; a.$online = 0; a.$selected = null; a.$server = null; a.$port = 0; a.$running = 0; a.$debug = null; a.$hasMouse = 0; a.$lastClick = 0; a.$raining = 0; } var cmm_Minecraft_settings = null; function cmm_Minecraft_setCurrentScreen($this, $var1) { if (!($this.$currentScreen instanceof cmmg_ErrorScreen)) { if ($var1 === null && $this.$player.$health <= 0) { $var1 = new cmmg_GameOverScreen; cmmg_GuiScreen__init_($var1); } $this.$currentScreen = $var1; if ($var1 === null) cmm_Minecraft_grabMouse($this); else { if ($this.$hasMouse) { cmmp_Player_releaseAllKeys($this.$player); $this.$hasMouse = 0; nlea_EaglerAdapterImpl2_mouseSetGrabbed(0); } cmmg_GuiScreen_open($var1, $this, ($this.$width * 240 | 0) / $this.$height | 0, ($this.$height * 240 | 0) / $this.$height | 0); $this.$online = 0; } } } function cmm_Minecraft_checkGLError($var0) { var var$2, $var2; olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl.getError(); if (var$2 == 37442) var$2 = (-144); if (var$2) { a: { switch (var$2) { case -144: break; case 1280: $var2 = $rt_s(165); break a; case 1281: $var2 = $rt_s(166); break a; case 1282: $var2 = $rt_s(167); break a; case 1285: $var2 = $rt_s(168); break a; default: $var2 = $rt_s(169); break a; } $var2 = $rt_s(170); } ji_PrintStream_println(jl_System_out(), $rt_s(171)); ji_PrintStream_println(jl_System_out(), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(172)), $var0))); ji_PrintStream_println(jl_System_out(), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), var$2), $rt_s(16)), $var2))); } } function cmm_Minecraft_shutdown($this) { nlea_EaglerAdapterImpl2_$callClinit(); } function cmm_Minecraft_run($this) { var $var76, $var101, $var66, $var13, $var15, var$6, $var63, var$8, $var18, $var20, $var24, $var24_0, $var64, $var65, $var81, $var86, $var91, $var94, $var70, $var37, $var29, $var30, $var31, $var35, $var32, $var69, $var74, $var33, $var34, $var87, $var36, $var71, $var117, $var103, $var115, $var77, $var126, $var119, $var89, $var93, $var26, $var116, $var98, $var104, $var58, $var60, $var22, var$48, $var120, $var83, $var110, $var122, $var68, $var125, $var125_0, $var38, $var114, $var108, $var121, $var10001, $var113, $var112, $var123, $var109, $var84, $var10000, $var124, $var92, var$69, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$69 = $thread.pop();$var92 = $thread.pop();$var124 = $thread.pop();$var10000 = $thread.pop();$var84 = $thread.pop();$var109 = $thread.pop();$var123 = $thread.pop();$var112 = $thread.pop();$var113 = $thread.pop();$var10001 = $thread.pop();$var121 = $thread.pop();$var108 = $thread.pop();$var114 = $thread.pop();$var38 = $thread.pop();$var125_0 = $thread.pop();$var125 = $thread.pop();$var68 = $thread.pop();$var122 = $thread.pop();$var110 = $thread.pop();$var83 = $thread.pop();$var120 = $thread.pop();var$48 = $thread.pop();$var22 = $thread.pop();$var60 = $thread.pop();$var58 = $thread.pop();$var104 = $thread.pop();$var98 = $thread.pop();$var116 = $thread.pop();$var26 = $thread.pop();$var93 = $thread.pop();$var89 = $thread.pop();$var119 = $thread.pop();$var126 = $thread.pop();$var77 = $thread.pop();$var115 = $thread.pop();$var103 = $thread.pop();$var117 = $thread.pop();$var71 = $thread.pop();$var36 = $thread.pop();$var87 = $thread.pop();$var34 = $thread.pop();$var33 = $thread.pop();$var74 = $thread.pop();$var69 = $thread.pop();$var32 = $thread.pop();$var35 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var29 = $thread.pop();$var37 = $thread.pop();$var70 = $thread.pop();$var94 = $thread.pop();$var91 = $thread.pop();$var86 = $thread.pop();$var81 = $thread.pop();$var65 = $thread.pop();$var64 = $thread.pop();$var24_0 = $thread.pop();$var24 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();var$8 = $thread.pop();$var63 = $thread.pop();var$6 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var66 = $thread.pop();$var101 = $thread.pop();$var76 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$running = 1; cmm_Minecraft_checkGLError($rt_s(173)); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glShadeModel(7425); olo_EaglerAdapterGL30_glClearDepth(1.0); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glDepthFunc(515); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glAlphaFunc(516, 0.0); olo_EaglerAdapterGL30_glCullFace(1029); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); cmm_Minecraft_checkGLError($rt_s(174)); cmm_Minecraft_settings = cmm_GameSettings__init_($this); $var76 = new cmmg_FontRenderer; $var101 = cmm_Minecraft_settings; $var66 = $rt_s(175); $ptr = 1; case 1: cmmg_FontRenderer__init_($var76, $var101, $var66); if ($rt_suspending()) { break main; } $this.$fontRenderer = $var76; jn_IntBuffer_limit(jn_IntBuffer_clear(nle_GLAllocation_createDirectIntBuffer(256)), 256); $this.$levelRenderer = cmmr_LevelRenderer__init_($this); cmmi_Item_initModels(); cmmm_Mob_modelCache = cmmm_ModelManager__init_(); olo_EaglerAdapterGL30_glViewport(0, 0, $this.$width, $this.$height); if ($this.$server !== null && $this.$session !== null) { $var66 = cmml_Level__init_(); cmml_Level_setData($var66, 8, 8, 8, $rt_createByteArray(512)); cmm_Minecraft_setLevel($this, $var66); $this.$particleManager = cmmp_ParticleManager__init_($this.$level); cmm_Minecraft_checkGLError($rt_s(176)); $this.$hud = cmmg_HUDScreen__init_($this, $this.$width, $this.$height); $var13 = jl_System_currentTimeMillis(); $var15 = 0; a: { b: { c: { d: { e: { try { while ($this.$running) { if ($this.$waiting) break e; f: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_gt($var18, Long_fromInt(1000))) { var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; if (Long_lt($var18, Long_ZERO)) { var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) { var$6 = $var15; $var24_0 = 0.0; } var$6 = $var15; if ($var24_0 > 1.0) { var$6 = $var15; $var24_0 = 1.0; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks > 100) { var$6 = $var15; $var63.$elapsedTicks = 100; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level === null) { var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); } var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) var$6 = $var15; else { var$6 = $var15; $var36 = 32.0; } var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; g: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break g; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } } var$6 = $var15; if (!cmm_Minecraft_settings.$limitFramerate) { var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; break f; } var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_lt(var$8, $var18)) break; $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break d; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break c; } else{ $var66 = $$je; break b; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break c; } else{ $var66 = $$je; break b; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; } $var15 = 1; $ptr = 2; case 2: cmm_Minecraft_generateLevel($this, $var15); if ($rt_suspending()) { break main; } $this.$particleManager = cmmp_ParticleManager__init_($this.$level); cmm_Minecraft_checkGLError($rt_s(176)); $this.$hud = cmmg_HUDScreen__init_($this, $this.$width, $this.$height); $var13 = jl_System_currentTimeMillis(); $var15 = 0; h: { i: { a: { b: { c: { try { while ($this.$running) { if ($this.$waiting) break c; e: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_gt($var18, Long_fromInt(1000))) { var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; if (Long_lt($var18, Long_ZERO)) { var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) { var$6 = $var15; $var24_0 = 0.0; } var$6 = $var15; if ($var24_0 > 1.0) { var$6 = $var15; $var24_0 = 1.0; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks > 100) { var$6 = $var15; $var63.$elapsedTicks = 100; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level === null) { var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); } var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) var$6 = $var15; else { var$6 = $var15; $var36 = 32.0; } var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; j: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break j; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } } var$6 = $var15; if (!cmm_Minecraft_settings.$limitFramerate) { var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; break e; } var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_lt(var$8, $var18)) break; $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 3: h: { i: { a: { b: { try { jl_Thread_sleep(var$8); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } c: { try { while ($this.$running) { if ($this.$waiting) break c; e: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_gt($var18, Long_fromInt(1000))) { var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; if (Long_lt($var18, Long_ZERO)) { var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) { var$6 = $var15; $var24_0 = 0.0; } var$6 = $var15; if ($var24_0 > 1.0) { var$6 = $var15; $var24_0 = 1.0; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks > 100) { var$6 = $var15; $var63.$elapsedTicks = 100; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level === null) { var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); } var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) var$6 = $var15; else { var$6 = $var15; $var36 = 32.0; } var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; j: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break j; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } } var$6 = $var15; if (!cmm_Minecraft_settings.$limitFramerate) { var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; break e; } var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_lt(var$8, $var18)) break; $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 4: h: { i: { a: { b: { c: { try { d: { e: { try { cmm_Minecraft_tick($this); if ($rt_suspending()) { break main; } $var64 = $var64 + 1 | 0; break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_fromInt(1000); $var18 = Long_add($var13, $var18); $var64 = Long_compare(var$8, $var18); if ($var64 >= 0) { $var66 = jl_StringBuilder__init_(); $var66 = jl_StringBuilder_append2($var66, $var15); $var76 = $rt_s(182); $var66 = jl_StringBuilder_append($var66, $var76); cmmr_Chunk_$callClinit(); $var15 = cmmr_Chunk_chunkUpdates; $var66 = jl_StringBuilder_append2($var66, $var15); $var76 = $rt_s(183); $var66 = jl_StringBuilder_append($var66, $var76); $var66 = jl_StringBuilder_toString($var66); $this.$debug = $var66; $var15 = 0; cmmr_Chunk_chunkUpdates = $var15; $var15 = 0; $var13 = $var18; continue; } $var64 = $this.$running; if (!$var64) break d; $var64 = $this.$waiting; if ($var64) break c; try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = $var63.$lastSysClock; $var18 = Long_sub(var$8, $var18); $var20 = jl_System_nanoTime(); $var22 = Long_fromInt(1000000); $var20 = Long_div($var20, $var22); $var22 = Long_fromInt(1000); $var64 = Long_compare($var18, $var22); if ($var64 > 0) { var$6 = $var15; $var22 = $var63.$lastHRClock; $var22 = Long_sub($var20, $var22); $var24 = Long_toNumber($var18); $var24_0 = Long_toNumber($var22); $var24 = $var24 / $var24_0; $var24_0 = $var63.$adjustment; var$48 = $var63.$adjustment; $var24 = $var24 - var$48; var$48 = 0.20000000298023224; $var24 = $var24 * var$48; $var24 = $var24_0 + $var24; $var63.$adjustment = $var24; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var22 = Long_ZERO; $var64 = Long_compare($var18, $var22); if ($var64 < 0) { var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var24 = Long_toNumber($var20); $var24_0 = 1000.0; $var24 = $var24 / $var24_0; $var24_0 = $var63.$lastHR; $var24_0 = $var24 - $var24_0; var$48 = $var63.$adjustment; $var24_0 = $var24_0 * var$48; $var63.$lastHR = $var24; $var24 = 0.0; $var64 = $rt_compare($var24_0, $var24); if ($var64 < 0) { var$6 = $var15; $var24_0 = 0.0; } var$6 = $var15; $var24 = 1.0; $var64 = $rt_compare($var24_0, $var24); if ($var64 > 0) { var$6 = $var15; $var24_0 = 1.0; } var$6 = $var15; $var35 = $var63.$elapsedDelta; $var24 = $var35; $var35 = $var63.$speed; var$48 = $var35; $var24_0 = $var24_0 * var$48; $var35 = $var63.$tps; var$48 = $var35; $var24_0 = $var24_0 * var$48; $var24 = $var24 + $var24_0; $var35 = $var24; $var63.$elapsedDelta = $var35; $var35 = $var63.$elapsedDelta; $var64 = $var35 | 0; $var63.$elapsedTicks = $var64; $var64 = $var63.$elapsedTicks; $var98 = 100; $var64 = $rt_compare($var64, $var98); if ($var64 > 0) { var$6 = $var15; $var64 = 100; $var63.$elapsedTicks = $var64; } var$6 = $var15; $var35 = $var63.$elapsedDelta; $var64 = $var63.$elapsedTicks; $var65 = $var64; $var35 = $var35 - $var65; $var63.$elapsedDelta = $var35; $var35 = $var63.$elapsedDelta; $var63.$delta = $var35; $var64 = 0; break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } } k: while (true) { l: { try { var$6 = $var15; if ($var64 >= $this.$timer.$elapsedTicks) { var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level === null) { var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); } var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) var$6 = $var15; else { var$6 = $var15; $var36 = 32.0; } var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; m: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break m; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } } var$6 = $var15; if (!cmm_Minecraft_settings.$limitFramerate) { var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; break l; } var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_fromInt(1000); $var18 = Long_add($var13, $var18); $var64 = Long_compare(var$8, $var18); if ($var64 >= 0) { $var66 = jl_StringBuilder__init_(); $var66 = jl_StringBuilder_append2($var66, $var15); $var76 = $rt_s(182); $var66 = jl_StringBuilder_append($var66, $var76); cmmr_Chunk_$callClinit(); $var15 = cmmr_Chunk_chunkUpdates; $var66 = jl_StringBuilder_append2($var66, $var15); $var76 = $rt_s(183); $var66 = jl_StringBuilder_append($var66, $var76); $var66 = jl_StringBuilder_toString($var66); $this.$debug = $var66; $var15 = 0; cmmr_Chunk_chunkUpdates = $var15; $var15 = 0; $var13 = $var18; continue; } $var64 = $this.$running; if (!$var64) break d; $var64 = $this.$waiting; if ($var64) break c; try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = $var63.$lastSysClock; $var18 = Long_sub(var$8, $var18); $var20 = jl_System_nanoTime(); $var22 = Long_fromInt(1000000); $var20 = Long_div($var20, $var22); $var22 = Long_fromInt(1000); $var64 = Long_compare($var18, $var22); if ($var64 > 0) { var$6 = $var15; $var22 = $var63.$lastHRClock; $var22 = Long_sub($var20, $var22); $var24 = Long_toNumber($var18); $var24_0 = Long_toNumber($var22); $var24 = $var24 / $var24_0; $var24_0 = $var63.$adjustment; var$48 = $var63.$adjustment; $var24 = $var24 - var$48; var$48 = 0.20000000298023224; $var24 = $var24 * var$48; $var24 = $var24_0 + $var24; $var63.$adjustment = $var24; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var22 = Long_ZERO; $var64 = Long_compare($var18, $var22); if ($var64 < 0) { var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var24 = Long_toNumber($var20); $var24_0 = 1000.0; $var24 = $var24 / $var24_0; $var24_0 = $var63.$lastHR; $var24_0 = $var24 - $var24_0; var$48 = $var63.$adjustment; $var24_0 = $var24_0 * var$48; $var63.$lastHR = $var24; $var24 = 0.0; $var64 = $rt_compare($var24_0, $var24); if ($var64 < 0) { var$6 = $var15; $var24_0 = 0.0; } var$6 = $var15; $var24 = 1.0; $var64 = $rt_compare($var24_0, $var24); if ($var64 > 0) { var$6 = $var15; $var24_0 = 1.0; } var$6 = $var15; $var35 = $var63.$elapsedDelta; $var24 = $var35; $var35 = $var63.$speed; var$48 = $var35; $var24_0 = $var24_0 * var$48; $var35 = $var63.$tps; var$48 = $var35; $var24_0 = $var24_0 * var$48; $var24 = $var24 + $var24_0; $var35 = $var24; $var63.$elapsedDelta = $var35; $var35 = $var63.$elapsedDelta; $var64 = $var35 | 0; $var63.$elapsedTicks = $var64; $var64 = $var63.$elapsedTicks; $var98 = 100; $var64 = $rt_compare($var64, $var98); if ($var64 > 0) { var$6 = $var15; $var64 = 100; $var63.$elapsedTicks = $var64; } var$6 = $var15; $var35 = $var63.$elapsedDelta; $var64 = $var63.$elapsedTicks; $var65 = $var64; $var35 = $var35 - $var65; $var63.$elapsedDelta = $var35; $var35 = $var63.$elapsedDelta; $var63.$delta = $var35; $var64 = 0; continue k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 5: h: { i: { a: { b: { try { c: { try { jl_Thread_sleep(var$8); if ($rt_suspending()) { break main; } var$6 = $var15; $var66 = $rt_s(178); cmm_Minecraft_checkGLError($var66); $var64 = 1; $var15 = $var15 + $var64 | 0; var$6 = $var15; break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } e: { try { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break; if ($this.$waiting) break e; try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_gt($var18, Long_fromInt(1000))) { var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; if (Long_lt($var18, Long_ZERO)) { var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) { var$6 = $var15; $var24_0 = 0.0; } var$6 = $var15; if ($var24_0 > 1.0) { var$6 = $var15; $var24_0 = 1.0; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks > 100) { var$6 = $var15; $var63.$elapsedTicks = 100; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level === null) { var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); } var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) var$6 = $var15; else { var$6 = $var15; $var36 = 32.0; } var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; n: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break n; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } } var$6 = $var15; if (!cmm_Minecraft_settings.$limitFramerate) { var$6 = $var15; $var66 = $rt_s(178); cmm_Minecraft_checkGLError($var66); $var64 = 1; $var15 = $var15 + $var64 | 0; var$6 = $var15; continue; } var$6 = $var15; var$8 = Long_fromInt(5); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 6: h: { i: { a: { b: { try { jl_Thread_yield(); if ($rt_suspending()) { break main; } $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } d: { try { e: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; f: { o: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break e; if ($this.$waiting) break d; p: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break p; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break p; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } q: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break q; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break q; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } r: { s: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break s; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } t: { u: { try { var$6 = $var15; if ($var24_0 > 1.0) break u; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } k: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break k; var$6 = $var15; $var63.$elapsedTicks = 100; break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break o; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break f; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } v: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break v; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } w: { x: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break x; break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } y: { j: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break j; var$6 = $var15; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; g: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break g; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 7: h: { i: { a: { b: { try { c: { try { nlea_EaglerAdapterImpl2_updateDisplay(); if ($rt_suspending()) { break main; } var$6 = $var15; $var66 = cmm_Minecraft_settings; $var64 = $var66.$limitFramerate; if (!$var64) { var$6 = $var15; $var66 = $rt_s(178); cmm_Minecraft_checkGLError($var66); $var64 = 1; $var15 = $var15 + $var64 | 0; var$6 = $var15; break c; } var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } z: { try { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break; if ($this.$waiting) break z; try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_gt($var18, Long_fromInt(1000))) { var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; if (Long_lt($var18, Long_ZERO)) { var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; } var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) { var$6 = $var15; $var24_0 = 0.0; } var$6 = $var15; if ($var24_0 > 1.0) { var$6 = $var15; $var24_0 = 1.0; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks > 100) { var$6 = $var15; $var63.$elapsedTicks = 100; } var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level === null) { var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); } var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) var$6 = $var15; else { var$6 = $var15; $var36 = 32.0; } var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; m: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break m; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } } var$6 = $var15; $var66 = cmm_Minecraft_settings; $var64 = $var66.$limitFramerate; if (!$var64) { var$6 = $var15; $var66 = $rt_s(178); cmm_Minecraft_checkGLError($var66); $var64 = 1; $var15 = $var15 + $var64 | 0; var$6 = $var15; continue; } var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else { throw $$e; } } $var66 = new cmmg_ErrorScreen; $var76 = $rt_s(179); $var101 = jl_StringBuilder__init_(); $var103 = $rt_s(180); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_append1($var101, $var58); $var103 = $rt_s(181); $var101 = jl_StringBuilder_append($var101, $var103); $var101 = jl_StringBuilder_toString($var101); cmmg_ErrorScreen__init_0($var66, $var76, $var101); cmm_Minecraft_setCurrentScreen($this, $var66); jl_Throwable_printStackTrace0($var58); $var15 = var$6; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 8: h: { i: { a: { b: { try { $var66.$render($var94, $var70); if ($rt_suspending()) { break main; } var$6 = $var15; $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } d: { try { e: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; f: { o: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break e; if ($this.$waiting) break d; p: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break p; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break p; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } q: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break q; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break q; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } r: { s: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break s; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } t: { u: { try { var$6 = $var15; if ($var24_0 > 1.0) break u; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } k: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break k; var$6 = $var15; $var63.$elapsedTicks = 100; break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break o; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break f; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } v: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break v; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } w: { x: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break x; break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } y: { j: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break j; var$6 = $var15; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; g: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break g; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 9: h: { i: { a: { b: { try { cmmg_HUDScreen_render($var76, $var65, $var64, $var94, $var70); if ($rt_suspending()) { break main; } var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$currentScreen; if ($var76 === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1; $var66 = $var66.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } e: { try { z: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; o: { ba: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break z; if ($this.$waiting) break e; q: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break q; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break q; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } r: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break r; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } s: { t: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break t; break s; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break s; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } u: { k: { try { var$6 = $var15; if ($var24_0 > 1.0) break k; break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } l: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break l; var$6 = $var15; $var63.$elapsedTicks = 100; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break ba; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break o; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } bb: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break bb; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$currentScreen; if ($var76 === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1; $var66 = $var66.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } x: { y: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break y; break x; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break x; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } j: { bc: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bc; var$6 = $var15; break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue z; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; n: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break n; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 10: h: { i: { a: { b: { c: { d: { try { cmmr_LevelRenderer_sortChunks($var89, $var126, $var64); if ($rt_suspending()) { break main; } if (!cmml_Level_isSolid($var119, $var126.$x, $var126.$y, $var126.$z, 0.10000000149011612)) break d; var$6 = $var15; $var120 = $var126.$x | 0; $var83 = $var126.$y | 0; $var110 = $var126.$z | 0; $var122 = $var120 - 1 | 0; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; break c; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } $var64 = $var120 + 1 | 0; $var104 = $var83 - 1 | 0; $var83 = $var83 + 1 | 0; $var68 = $var110 - 1 | 0; $var125 = $var110 + 1 | 0; while (true) { try { var$6 = $var15; if ($var122 > $var64) break d; var$6 = $var15; $var125_0 = $var104; while (true) { var$6 = $var15; if ($var125_0 > $var83) break; var$6 = $var15; $var38 = $var68; while (true) { var$6 = $var15; if ($var38 > $var125) break; var$6 = $var15; $var98 = cmml_Level_getTile($var89.$level0, $var122, $var125_0, $var38); if ($var98) { var$6 = $var15; if (cmmlt_Block_blocks.data[$var98].$isSolid0()) { var$6 = $var15; olo_EaglerAdapterGL30_glColor4f(0.20000000298023224, 0.20000000298023224, 0.20000000298023224, 1.0); olo_EaglerAdapterGL30_glDepthFunc(513); $var115 = cmmr_ShapeRenderer_instance; cmmr_ShapeRenderer_begin(cmmr_ShapeRenderer_instance); $var114 = 0; while (true) { var$6 = $var15; if ($var114 >= 6) break; var$6 = $var15; cmmlt_Block_blocks.data[$var98].$renderInside($var115, $var122, $var125_0, $var38, $var114); $var114 = $var114 + 1 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var115); olo_EaglerAdapterGL30_glCullFace(1028); cmmr_ShapeRenderer_begin($var115); $var108 = 0; while (true) { var$6 = $var15; if ($var108 >= 6) break; var$6 = $var15; cmmlt_Block_blocks.data[$var98].$renderInside($var115, $var122, $var125_0, $var38, $var108); $var108 = $var108 + 1 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var115); olo_EaglerAdapterGL30_glCullFace(1029); olo_EaglerAdapterGL30_glDepthFunc(515); } } var$6 = $var15; $var38 = $var38 + 1 | 0; } var$6 = $var15; $var125_0 = $var125_0 + 1 | 0; } var$6 = $var15; $var122 = $var122 + 1 | 0; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; break c; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } } try { var$6 = $var15; cmmr_Renderer_setLighting($var66, 1); $var103 = cmmr_Renderer_getPlayerVector($var66, $var65); $var101 = $var89.$level0.$blockMap; $ptr = 11; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } p: { try { q: while (true) { try { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; s: { t: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break q; if ($this.$waiting) break p; l: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break l; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bd: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break bd; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bd; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } be: { bf: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bf; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bg: { bh: { try { var$6 = $var15; if ($var24_0 > 1.0) break bh; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bi: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bi; var$6 = $var15; $var63.$elapsedTicks = 100; break bi; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break t; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break s; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } g: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break g; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } m: { bj: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bj; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bk: { bl: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bl; var$6 = $var15; break bk; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break bk; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bm: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bm; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; break i; } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 11: h: { i: { a: { b: { try { cmml_BlockMap_render($var101, $var103, $var76, $var65); if ($rt_suspending()) { break main; } cmmr_Renderer_setLighting($var66, 0); cmmr_Renderer_updateFog($var66); $var35 = -nPm_MathHelper_cos($var126.$yRot * 3.1415927410125732 / 180.0); $var29 = -nPm_MathHelper_sin($var126.$yRot * 3.1415927410125732 / 180.0); $var117 = -$var29 * nPm_MathHelper_sin($var126.$xRot * 3.1415927410125732 / 180.0); $var30 = $var35 * nPm_MathHelper_sin($var126.$xRot * 3.1415927410125732 / 180.0); $var32 = nPm_MathHelper_cos($var126.$xRot * 3.1415927410125732 / 180.0); $var83 = 0; while (true) { var$6 = $var15; if ($var83 >= 2) break; var$6 = $var15; if (ju_ArrayList_size($var93.$particles.data[$var83])) { var$6 = $var15; if (!$var83) { var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(184)); $ptr = 14; continue main; } var$6 = $var15; if ($var83 == 1) { var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 15; continue main; } var$6 = $var15; $var121 = cmmr_ShapeRenderer_instance; cmmr_ShapeRenderer_begin(cmmr_ShapeRenderer_instance); $var120 = 0; while (true) { var$6 = $var15; if ($var120 >= ju_ArrayList_size($var93.$particles.data[$var83])) break; var$6 = $var15; ju_ArrayList_get($var93.$particles.data[$var83], $var120).$render2($var121, $var65, $var35, $var32, $var29, $var117, $var30); $var120 = $var120 + 1 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var121); } var$6 = $var15; $var83 = $var83 + 1 | 0; } var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(186)); $ptr = 12; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } ba: { try { bn: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; q: { r: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break bn; if ($this.$waiting) break ba; u: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break u; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } k: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break k; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } l: { bd: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bd; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } be: { bf: { try { var$6 = $var15; if ($var24_0 > 1.0) break bf; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } bg: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bg; var$6 = $var15; $var63.$elapsedTicks = 100; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break r; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break q; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } j: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break j; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } g: { n: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break n; break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } m: { bj: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bj; var$6 = $var15; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bl: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bl; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 12: h: { i: { a: { b: { try { cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glCallList($var89.$listId); cmmr_Renderer_updateFog($var66); $var76 = cmmr_TextureLocation__init_($rt_s(187)); $ptr = 13; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } d: { try { e: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; f: { o: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break e; if ($this.$waiting) break d; p: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break p; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break p; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } q: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break q; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break q; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } r: { s: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break s; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } t: { u: { try { var$6 = $var15; if ($var24_0 > 1.0) break u; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } k: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break k; var$6 = $var15; $var63.$elapsedTicks = 100; break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break o; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break f; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } v: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break v; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } w: { x: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break x; break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } y: { j: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break j; var$6 = $var15; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; g: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break g; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 13: h: { i: { a: { b: { try { cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $var35 = ($var89.$level0.$cloudColor >> 16 & 255) / 255.0; $var29 = ($var89.$level0.$cloudColor >> 8 & 255) / 255.0; $var117 = ($var89.$level0.$cloudColor & 255) / 255.0; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var30 = $var35 * 30.0; $var35 = ($var30 + $var29 * 59.0 + $var117 * 11.0) / 100.0; $var29 = ($var30 + $var29 * 70.0) / 100.0; $var117 = ($var30 + $var117 * 70.0) / 100.0; } var$6 = $var15; $var115 = cmmr_ShapeRenderer_instance; $var87 = $var89.$level0.$depth + 2 | 0; $var36 = ($var89.$ticks0 + $var65) * 4.8828125E-4 * 0.029999999329447746; cmmr_ShapeRenderer_begin($var115); cmmr_ShapeRenderer_color($var115, $var35, $var29, $var117); $var104 = (-2048); while (true) { var$6 = $var15; if ($var104 >= ($var89.$level0.$width0 + 2048 | 0)) break; var$6 = $var15; $var125_0 = (-2048); while (true) { var$6 = $var15; if ($var125_0 >= ($var89.$level0.$height0 + 2048 | 0)) break; var$6 = $var15; $var35 = $var104; $var125 = $var125_0 + 512 | 0; $var29 = $var125; $var117 = $var35 * 4.8828125E-4 + $var36; $var30 = $var29 * 4.8828125E-4; cmmr_ShapeRenderer_vertexUV($var115, $var35, $var87, $var29, $var117, $var30); $var32 = $var104 + 512 | 0; $var69 = $var32 * 4.8828125E-4 + $var36; cmmr_ShapeRenderer_vertexUV($var115, $var32, $var87, $var29, $var69, $var30); $var74 = $var125_0; $var33 = $var74 * 4.8828125E-4; cmmr_ShapeRenderer_vertexUV($var115, $var32, $var87, $var74, $var69, $var33); cmmr_ShapeRenderer_vertexUV($var115, $var35, $var87, $var74, $var117, $var33); cmmr_ShapeRenderer_vertexUV($var115, $var35, $var87, $var74, $var117, $var33); cmmr_ShapeRenderer_vertexUV($var115, $var32, $var87, $var74, $var69, $var33); cmmr_ShapeRenderer_vertexUV($var115, $var32, $var87, $var29, $var69, $var30); cmmr_ShapeRenderer_vertexUV($var115, $var35, $var87, $var29, $var117, $var30); $var125_0 = $var125; } var$6 = $var15; $var104 = $var104 + 512 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var115); olo_EaglerAdapterGL30_glDisable(3553); cmmr_ShapeRenderer_begin($var115); $var32 = ($var89.$level0.$skyColor >> 16 & 255) / 255.0; $var35 = ($var89.$level0.$skyColor >> 8 & 255) / 255.0; $var29 = ($var89.$level0.$skyColor & 255) / 255.0; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var117 = $var32 * 30.0; $var32 = ($var117 + $var35 * 59.0 + $var29 * 11.0) / 100.0; $var35 = ($var117 + $var35 * 70.0) / 100.0; $var29 = ($var117 + $var29 * 70.0) / 100.0; } var$6 = $var15; cmmr_ShapeRenderer_color($var115, $var32, $var35, $var29); $var35 = $var89.$level0.$depth + 10 | 0; $var125_0 = (-2048); while (true) { var$6 = $var15; if ($var125_0 >= ($var89.$level0.$width0 + 2048 | 0)) break; var$6 = $var15; $var68 = (-2048); while (true) { var$6 = $var15; if ($var68 >= ($var89.$level0.$height0 + 2048 | 0)) break; var$6 = $var15; $var29 = $var125_0; $var117 = $var68; cmmr_ShapeRenderer_vertex($var115, $var29, $var35, $var117); $var30 = $var125_0 + 512 | 0; cmmr_ShapeRenderer_vertex($var115, $var30, $var35, $var117); $var68 = $var68 + 512 | 0; $var117 = $var68; cmmr_ShapeRenderer_vertex($var115, $var30, $var35, $var117); cmmr_ShapeRenderer_vertex($var115, $var29, $var35, $var117); } var$6 = $var15; $var125_0 = $var125_0 + 512 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var115); olo_EaglerAdapterGL30_glEnable(3553); cmmr_Renderer_updateFog($var66); if ($var66.$minecraft1.$selected !== null) { var$6 = $var15; olo_EaglerAdapterGL30_glDisable(3008); $var10001 = $var66.$minecraft1.$selected; cmmp_Inventory_getSelected($var126.$inventory); $var113 = cmmr_ShapeRenderer_instance; olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glBlendFunc(770, 1); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, (nPm_MathHelper_sin(Long_toNumber(jl_System_currentTimeMillis()) / 100.0) * 0.20000000298023224 + 0.4000000059604645) * 0.5); if ($var89.$cracks <= 0.0) { var$6 = $var15; olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDisable(3008); cmmp_Inventory_getSelected($var126.$inventory); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f(0.0, 0.0, 0.0, 0.4000000059604645); olo_EaglerAdapterGL30_glLineWidth(2.0); olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); } else { var$6 = $var15; olo_EaglerAdapterGL30_glBlendFunc(774, 768); $var76 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 18; continue main; } } var$6 = $var15; olo_EaglerAdapterGL30_glBlendFunc(770, 771); cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glEnable(3042); $var76 = cmmr_TextureLocation__init_($rt_s(188)); $ptr = 16; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } s: { try { t: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; k: { l: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break t; if ($this.$waiting) break s; bf: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break bf; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bf; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bg: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break bg; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bh: { bi: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bi; break bh; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break bh; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bo: { v: { try { var$6 = $var15; if ($var24_0 > 1.0) break v; break bo; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break bo; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bb: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bb; var$6 = $var15; $var63.$elapsedTicks = 100; break bb; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break l; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break k; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bj: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break bj; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bl: { bp: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bp; break bl; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break bl; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bm: { bq: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bq; var$6 = $var15; break bm; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break bm; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; br: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break br; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 14: h: { i: { a: { b: { try { cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } while (true) { var$6 = $var15; if ($var83 == 1) break; var$6 = $var15; $var121 = cmmr_ShapeRenderer_instance; cmmr_ShapeRenderer_begin(cmmr_ShapeRenderer_instance); $var120 = 0; while (true) { var$6 = $var15; if ($var120 >= ju_ArrayList_size($var93.$particles.data[$var83])) break; var$6 = $var15; ju_ArrayList_get($var93.$particles.data[$var83], $var120).$render2($var121, $var65, $var35, $var32, $var29, $var117, $var30); $var120 = $var120 + 1 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var121); while (true) { var$6 = $var15; $var83 = $var83 + 1 | 0; var$6 = $var15; if ($var83 >= 2) { var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(186)); $ptr = 12; continue main; } var$6 = $var15; if (!ju_ArrayList_size($var93.$particles.data[$var83])) continue; else break; } var$6 = $var15; if ($var83) continue; else { var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(184)); continue main; } } var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 15; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } ba: { try { bn: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; q: { r: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break bn; if ($this.$waiting) break ba; u: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break u; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } k: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break k; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } l: { bd: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bd; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } be: { bf: { try { var$6 = $var15; if ($var24_0 > 1.0) break bf; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } bg: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bg; var$6 = $var15; $var63.$elapsedTicks = 100; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break r; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break q; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } j: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break j; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } g: { n: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break n; break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } m: { bj: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bj; var$6 = $var15; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bl: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bl; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 15: h: { i: { a: { b: { try { cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } while (true) { var$6 = $var15; $var121 = cmmr_ShapeRenderer_instance; cmmr_ShapeRenderer_begin(cmmr_ShapeRenderer_instance); $var120 = 0; while (true) { var$6 = $var15; if ($var120 >= ju_ArrayList_size($var93.$particles.data[$var83])) break; var$6 = $var15; ju_ArrayList_get($var93.$particles.data[$var83], $var120).$render2($var121, $var65, $var35, $var32, $var29, $var117, $var30); $var120 = $var120 + 1 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var121); while (true) { var$6 = $var15; $var83 = $var83 + 1 | 0; var$6 = $var15; if ($var83 >= 2) { var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(186)); $ptr = 12; continue main; } var$6 = $var15; if (!ju_ArrayList_size($var93.$particles.data[$var83])) continue; else break; } var$6 = $var15; if (!$var83) { var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(184)); $ptr = 14; continue main; } var$6 = $var15; if ($var83 != 1) continue; else break; } var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(185)); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } ba: { try { bn: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; q: { r: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break bn; if ($this.$waiting) break ba; u: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break u; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } k: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break k; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } l: { bd: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bd; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } be: { bf: { try { var$6 = $var15; if ($var24_0 > 1.0) break bf; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } bg: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bg; var$6 = $var15; $var63.$elapsedTicks = 100; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break r; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break q; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } j: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break j; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } g: { n: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break n; break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } m: { bj: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bj; var$6 = $var15; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bn; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bl: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bl; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 16: h: { i: { a: { b: { try { cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glCallList($var89.$listId + 1 | 0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glColorMask(0, 0, 0, 0); $var64 = 1; $ptr = 17; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } d: { try { e: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; f: { o: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break e; if ($this.$waiting) break d; p: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break p; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break p; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } q: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break q; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break q; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } r: { s: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break s; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } t: { u: { try { var$6 = $var15; if ($var24_0 > 1.0) break u; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } k: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break k; var$6 = $var15; $var63.$elapsedTicks = 100; break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break o; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break f; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } v: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break v; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } w: { x: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break x; break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } y: { j: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break j; var$6 = $var15; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue e; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; g: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break g; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 17: h: { i: { a: { b: { try { $tmp = cmmr_LevelRenderer_sortChunks($var89, $var126, $var64); if ($rt_suspending()) { break main; } $var120 = $tmp; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; if ($var120 <= 0) { var$6 = $var15; olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDisable(2912); if (!$var66.$minecraft1.$raining) { var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; cmm_Entity_renderHover($var66.$entity, $var65); } var$6 = $var15; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var112 = $var66.$heldBlock; $var35 = $var66.$heldBlock.$lastPos + ($var112.$pos - $var112.$lastPos) * $var65; $var76 = $var112.$minecraft2.$player; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); cmmr_Renderer_setLighting($var112.$minecraft2.$renderer, 1); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glPushMatrix(); if ($var112.$moving) { var$6 = $var15; $var29 = ($var112.$offset + $var65) / 7.0; $var117 = nPm_MathHelper_sin($var29 * 3.1415927410125732); olo_EaglerAdapterGL30_glTranslatef( -nPm_MathHelper_sin(nPm_MathHelper_sqrt($var29) * 3.1415927410125732) * 0.4000000059604645, nPm_MathHelper_sin(nPm_MathHelper_sqrt($var29) * 3.1415927410125732 * 2.0) * 0.20000000298023224, -$var117 * 0.20000000298023224); } var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef(0.5600000023841858, (-0.5199999809265137) - (1.0 - $var35) * 0.6000000238418579, (-0.7199999690055847)); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(2977); if ($var112.$moving) { var$6 = $var15; $var35 = ($var112.$offset + $var65) / 7.0; $var29 = nPm_MathHelper_sin($var35 * $var35 * 3.1415927410125732); olo_EaglerAdapterGL30_glRotatef(nPm_MathHelper_sin(nPm_MathHelper_sqrt($var35) * 3.1415927410125732) * 80.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var29 * 20.0, 1.0, 0.0, 0.0); } var$6 = $var15; $var35 = cmml_Level_getBrightness($var112.$minecraft2.$level, $var76.$x | 0, $var76.$y | 0, $var76.$z | 0); olo_EaglerAdapterGL30_glColor4f($var35, $var35, $var35, 1.0); $var123 = cmmr_ShapeRenderer_instance; if ($var112.$block === null) { var$6 = $var15; $ptr = 21; continue main; } var$6 = $var15; olo_EaglerAdapterGL30_glScalef(0.4000000059604645, 0.4000000059604645, 0.4000000059604645); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); $var76 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 22; continue main; } var$6 = $var15; $var76 = $var66.$minecraft1.$player; $var109 = $var66.$minecraft1.$level; $var64 = $var76.$x | 0; $var108 = $var76.$y | 0; $var114 = $var76.$z | 0; $var84 = cmmr_ShapeRenderer_instance; olo_EaglerAdapterGL30_glDisable(2884); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var101 = cmmr_TextureLocation__init_($rt_s(189)); $ptr = 20; continue main; } var$6 = $var15; $var76 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 19; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } s: { try { t: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; k: { l: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break t; if ($this.$waiting) break s; bf: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break bf; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bf; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bg: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break bg; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bh: { bi: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bi; break bh; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break bh; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bo: { v: { try { var$6 = $var15; if ($var24_0 > 1.0) break v; break bo; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break bo; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bb: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bb; var$6 = $var15; $var63.$elapsedTicks = 100; break bb; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break l; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break k; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bj: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break bj; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bl: { bp: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bp; break bl; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break bl; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } bm: { bq: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bq; var$6 = $var15; break bm; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break bm; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue t; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; br: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break br; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 18: h: { i: { a: { b: { try { $tmp = cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } $var108 = $tmp; olo_EaglerAdapterGL30_glBindTexture(3553, $var108); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 0.5); olo_EaglerAdapterGL30_glPushMatrix(); $var64 = cmml_Level_getTile($var89.$level0, $var10001.$x0, $var10001.$y0, $var10001.$z0); if ($var64 <= 0) { var$6 = $var15; $var10000 = null; } else { var$6 = $var15; $var10000 = cmmlt_Block_blocks.data[$var64]; } var$6 = $var15; $var35 = ($var10000.$x1 + $var10000.$x2) / 2.0; $var29 = ($var10000.$y1 + $var10000.$y2) / 2.0; $var117 = ($var10000.$z1 + $var10000.$z2) / 2.0; olo_EaglerAdapterGL30_glTranslatef($var10001.$x0 + $var35, $var10001.$y0 + $var29, $var10001.$z0 + $var117); olo_EaglerAdapterGL30_glScalef(1.0099999904632568, 1.0099999904632568, 1.0099999904632568); olo_EaglerAdapterGL30_glTranslatef( -($var10001.$x0 + $var35), -($var10001.$y0 + $var29), -($var10001.$z0 + $var117)); cmmr_ShapeRenderer_begin($var113); cmmr_ShapeRenderer_noColor($var113); olo_EaglerAdapterGL30_glDepthMask(0); var$6 = $var15; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= 6) break; var$6 = $var15; cmmlt_Block_renderSide($var10000, $var113, $var10001.$x0, $var10001.$y0, $var10001.$z0, $var64, 240 + ($var89.$cracks * 10.0 | 0) | 0); $var64 = $var64 + 1 | 0; } var$6 = $var15; cmmr_ShapeRenderer_end($var113); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glPopMatrix(); var$6 = $var15; olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDisable(3008); cmmp_Inventory_getSelected($var126.$inventory); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f(0.0, 0.0, 0.0, 0.4000000059604645); olo_EaglerAdapterGL30_glLineWidth(2.0); olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); var$6 = $var15; olo_EaglerAdapterGL30_glBlendFunc(770, 771); cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glEnable(3042); $var76 = cmmr_TextureLocation__init_($rt_s(188)); $ptr = 16; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } f: { try { o: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; bn: { p: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break o; if ($this.$waiting) break f; s: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break s; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break s; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } t: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break t; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } u: { k: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break k; break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } l: { bd: { try { var$6 = $var15; if ($var24_0 > 1.0) break bd; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } be: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break be; var$6 = $var15; $var63.$elapsedTicks = 100; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break p; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break bn; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } x: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break x; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } j: { bc: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bc; break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } g: { n: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break n; var$6 = $var15; break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue o; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bj: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bj; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 19: h: { i: { a: { b: { try { cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glCallLists($var89.$buffer1); var$6 = $var15; olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDisable(2912); if (!$var66.$minecraft1.$raining) { var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; cmm_Entity_renderHover($var66.$entity, $var65); } var$6 = $var15; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var112 = $var66.$heldBlock; $var35 = $var66.$heldBlock.$lastPos + ($var112.$pos - $var112.$lastPos) * $var65; $var76 = $var112.$minecraft2.$player; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); cmmr_Renderer_setLighting($var112.$minecraft2.$renderer, 1); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glPushMatrix(); if ($var112.$moving) { var$6 = $var15; $var29 = ($var112.$offset + $var65) / 7.0; $var117 = nPm_MathHelper_sin($var29 * 3.1415927410125732); olo_EaglerAdapterGL30_glTranslatef( -nPm_MathHelper_sin(nPm_MathHelper_sqrt($var29) * 3.1415927410125732) * 0.4000000059604645, nPm_MathHelper_sin(nPm_MathHelper_sqrt($var29) * 3.1415927410125732 * 2.0) * 0.20000000298023224, -$var117 * 0.20000000298023224); } var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef(0.5600000023841858, (-0.5199999809265137) - (1.0 - $var35) * 0.6000000238418579, (-0.7199999690055847)); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(2977); if ($var112.$moving) { var$6 = $var15; $var35 = ($var112.$offset + $var65) / 7.0; $var29 = nPm_MathHelper_sin($var35 * $var35 * 3.1415927410125732); olo_EaglerAdapterGL30_glRotatef(nPm_MathHelper_sin(nPm_MathHelper_sqrt($var35) * 3.1415927410125732) * 80.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var29 * 20.0, 1.0, 0.0, 0.0); } var$6 = $var15; $var35 = cmml_Level_getBrightness($var112.$minecraft2.$level, $var76.$x | 0, $var76.$y | 0, $var76.$z | 0); olo_EaglerAdapterGL30_glColor4f($var35, $var35, $var35, 1.0); $var123 = cmmr_ShapeRenderer_instance; if ($var112.$block === null) { var$6 = $var15; $ptr = 21; continue main; } var$6 = $var15; olo_EaglerAdapterGL30_glScalef(0.4000000059604645, 0.4000000059604645, 0.4000000059604645); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); $var76 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 22; continue main; } var$6 = $var15; $var76 = $var66.$minecraft1.$player; $var109 = $var66.$minecraft1.$level; $var64 = $var76.$x | 0; $var108 = $var76.$y | 0; $var114 = $var76.$z | 0; $var84 = cmmr_ShapeRenderer_instance; olo_EaglerAdapterGL30_glDisable(2884); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var101 = cmmr_TextureLocation__init_($rt_s(189)); $ptr = 20; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } p: { try { q: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; s: { t: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break q; if ($this.$waiting) break p; l: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break l; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bd: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break bd; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bd; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } be: { bf: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bf; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break be; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bg: { bh: { try { var$6 = $var15; if ($var24_0 > 1.0) break bh; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break bg; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bi: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bi; var$6 = $var15; $var63.$elapsedTicks = 100; break bi; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break t; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break s; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } g: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break g; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } m: { bj: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bj; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } bk: { bl: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bl; var$6 = $var15; break bk; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break bk; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue q; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bm: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bm; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 20: h: { i: { a: { b: { c: { try { cmmr_TextureLocation_bindTexture($var101); if ($rt_suspending()) { break main; } $var110 = $var64 - 5 | 0; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; break c; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } $var64 = $var64 + 5 | 0; $var104 = $var114 - 5 | 0; $var83 = $var114 + 5 | 0; $var125_0 = $var108 - 5 | 0; $var68 = $var108 + 5 | 0; while (true) { try { var$6 = $var15; if ($var110 > $var64) break; var$6 = $var15; $var122 = $var104; while (true) { var$6 = $var15; if ($var122 > $var83) break; var$6 = $var15; $var98 = cmml_Level_getHighestTile($var109, $var110, $var122); if ($var125_0 >= $var98) $var125 = $var125_0; else { var$6 = $var15; $var125 = $var98; } var$6 = $var15; if ($var68 >= $var98) $var98 = $var68; else var$6 = $var15; var$6 = $var15; if ($var125 != $var98) { var$6 = $var15; $var29 = (((($var66.$levelTicks + ($var110 * 3121 | 0) | 0) + $rt_imul($var122, 418711) | 0) % 32 | 0) + $var65) / 32.0; $var117 = $var110; $var124 = $var117 + 0.5 - $var76.$x; $var30 = $var122; $var35 = $var30 + 0.5 - $var76.$z; $var92 = nPm_MathHelper_sqrt($var124 * $var124 + $var35 * $var35) / 5.0; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, (1.0 - $var92 * $var92) * 0.699999988079071); cmmr_ShapeRenderer_begin($var84); $var32 = $var125; $var74 = $var32 * 2.0 / 8.0; $var35 = $var29 * 2.0; $var29 = $var74 + $var35; cmmr_ShapeRenderer_vertexUV($var84, $var117, $var32, $var30, 0.0, $var29); $var69 = $var110 + 1 | 0; $var74 = $var122 + 1 | 0; cmmr_ShapeRenderer_vertexUV($var84, $var69, $var32, $var74, 2.0, $var29); $var33 = $var98; $var35 = $var33 * 2.0 / 8.0 + $var35; cmmr_ShapeRenderer_vertexUV($var84, $var69, $var33, $var74, 2.0, $var35); cmmr_ShapeRenderer_vertexUV($var84, $var117, $var33, $var30, 0.0, $var35); cmmr_ShapeRenderer_vertexUV($var84, $var117, $var32, $var74, 0.0, $var29); cmmr_ShapeRenderer_vertexUV($var84, $var69, $var32, $var30, 2.0, $var29); cmmr_ShapeRenderer_vertexUV($var84, $var69, $var33, $var30, 2.0, $var35); cmmr_ShapeRenderer_vertexUV($var84, $var117, $var33, $var74, 0.0, $var35); cmmr_ShapeRenderer_end($var84); } var$6 = $var15; $var122 = $var122 + 1 | 0; } var$6 = $var15; $var110 = $var110 + 1 | 0; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; break c; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } try { var$6 = $var15; olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glDisable(3042); var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; cmm_Entity_renderHover($var66.$entity, $var65); } var$6 = $var15; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var112 = $var66.$heldBlock; $var35 = $var66.$heldBlock.$lastPos + ($var112.$pos - $var112.$lastPos) * $var65; $var76 = $var112.$minecraft2.$player; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); cmmr_Renderer_setLighting($var112.$minecraft2.$renderer, 1); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glPushMatrix(); if ($var112.$moving) { var$6 = $var15; $var29 = ($var112.$offset + $var65) / 7.0; $var117 = nPm_MathHelper_sin($var29 * 3.1415927410125732); olo_EaglerAdapterGL30_glTranslatef( -nPm_MathHelper_sin(nPm_MathHelper_sqrt($var29) * 3.1415927410125732) * 0.4000000059604645, nPm_MathHelper_sin(nPm_MathHelper_sqrt($var29) * 3.1415927410125732 * 2.0) * 0.20000000298023224, -$var117 * 0.20000000298023224); } var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef(0.5600000023841858, (-0.5199999809265137) - (1.0 - $var35) * 0.6000000238418579, (-0.7199999690055847)); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(2977); if ($var112.$moving) { var$6 = $var15; $var35 = ($var112.$offset + $var65) / 7.0; $var29 = nPm_MathHelper_sin($var35 * $var35 * 3.1415927410125732); olo_EaglerAdapterGL30_glRotatef(nPm_MathHelper_sin(nPm_MathHelper_sqrt($var35) * 3.1415927410125732) * 80.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var29 * 20.0, 1.0, 0.0, 0.0); } var$6 = $var15; $var35 = cmml_Level_getBrightness($var112.$minecraft2.$level, $var76.$x | 0, $var76.$y | 0, $var76.$z | 0); olo_EaglerAdapterGL30_glColor4f($var35, $var35, $var35, 1.0); $var123 = cmmr_ShapeRenderer_instance; if ($var112.$block === null) { var$6 = $var15; $ptr = 21; continue main; } var$6 = $var15; olo_EaglerAdapterGL30_glScalef(0.4000000059604645, 0.4000000059604645, 0.4000000059604645); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); $var76 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 22; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } k: { try { l: while (true) { try { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; be: { bf: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break l; if ($this.$waiting) break k; bi: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break bi; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bi; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } bo: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break bo; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bo; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } v: { bb: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break bb; break v; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break v; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } w: { x: { try { var$6 = $var15; if ($var24_0 > 1.0) break x; break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } y: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break y; var$6 = $var15; $var63.$elapsedTicks = 100; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break bf; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break be; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } bp: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break bp; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } bq: { bs: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bs; break bq; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break bq; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } br: { bt: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bt; var$6 = $var15; break br; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break br; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue l; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bu: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bu; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; if ($var77 >= 2) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); var$6 = $var15; $var76 = $var66.$minecraft1.$hud; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; if ($var77) { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); } else { var$6 = $var15; olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } } var$6 = $var15; $var126 = $var66.$minecraft1.$player; $var119 = $var66.$minecraft1.$level; $var89 = $var66.$minecraft1.$levelRenderer; $var93 = $var66.$minecraft1.$particleManager; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); $var26 = $var66.$minecraft1.$level; $var76 = $var66.$minecraft1.$player; $var35 = 1.0 - jl_Math_pow(1.0 / (4 - cmm_Minecraft_settings.$viewDistance | 0), 0.25); $var29 = ($var26.$skyColor >> 16 & 255) / 255.0; $var117 = ($var26.$skyColor >> 8 & 255) / 255.0; $var30 = ($var26.$skyColor & 255) / 255.0; $var66.$fogRed = ($var26.$fogColor >> 16 & 255) / 255.0; $var66.$fogBlue = ($var26.$fogColor >> 8 & 255) / 255.0; $var66.$fogGreen = ($var26.$fogColor & 255) / 255.0; $var66.$fogRed = $var66.$fogRed + ($var29 - $var66.$fogRed) * $var35; $var66.$fogBlue = $var66.$fogBlue + ($var117 - $var66.$fogBlue) * $var35; $var66.$fogGreen = $var66.$fogGreen + ($var30 - $var66.$fogGreen) * $var35; $var66.$fogRed = $var66.$fogRed * $var66.$fogColorMultiplier; $var66.$fogBlue = $var66.$fogBlue * $var66.$fogColorMultiplier; $var66.$fogGreen = $var66.$fogGreen * $var66.$fogColorMultiplier; cmmlt_Block_$callClinit(); $var103 = cmmlt_Block_blocks.data[cmml_Level_getTile($var26, $var76.$x | 0, $var76.$y + 0.11999999731779099 | 0, $var76.$z | 0)]; if ($var103 !== null) { var$6 = $var15; if ($var103.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { var$6 = $var15; $var76 = $var103.$getLiquidType(); if ($var76 === cmmll_LiquidType_WATER) { var$6 = $var15; $var66.$fogRed = 0.019999999552965164; $var66.$fogBlue = 0.019999999552965164; $var66.$fogGreen = 0.20000000298023224; } else { var$6 = $var15; if ($var76 === cmmll_LiquidType_LAVA) { var$6 = $var15; $var66.$fogRed = 0.6000000238418579; $var66.$fogBlue = 0.10000000149011612; $var66.$fogGreen = 0.0; } } } } var$6 = $var15; if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; $var35 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 59.0 + $var66.$fogGreen * 11.0) / 100.0; $var29 = ($var66.$fogRed * 30.0 + $var66.$fogBlue * 70.0) / 100.0; $var117 = ($var66.$fogRed * 30.0 + $var66.$fogGreen * 70.0) / 100.0; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; olo_EaglerAdapterGL30_glClearColor($var66.$fogRed, $var66.$fogBlue, $var66.$fogGreen, 0.0); olo_EaglerAdapterGL30_glClear(16640); $var66.$fogColorMultiplier = 1.0; olo_EaglerAdapterGL30_glEnable(2884); $var66.$fogEnd = 512 >> (cmm_Minecraft_settings.$viewDistance << 1); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef( -(($var77 << 1) - 1 | 0) * 0.07000000029802322, 0.0, 0.0); } var$6 = $var15; $var116 = $var66.$minecraft1.$player; $var32 = 70.0; if ($var116.$health <= 0) { var$6 = $var15; $var32 = $var32 / ((1.0 - 500.0 / ($var116.$deathTime + $var65 + 500.0)) * 2.0 + 1.0); } var$6 = $var15; olo_EaglerAdapterGL30_gluPerspective($var32, $var66.$minecraft1.$width / $var66.$minecraft1.$height, 0.05000000074505806, $var66.$fogEnd); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if (cmm_Minecraft_settings.$anaglyph) { var$6 = $var15; olo_EaglerAdapterGL30_glTranslatef((($var77 << 1) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); if (cmm_Minecraft_settings.$viewBobbing) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1.$player; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); olo_EaglerAdapterGL30_glRotatef($var76.$xRotO + ($var76.$xRot - $var76.$xRotO) * $var65, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var76.$yRotO + ($var76.$yRot - $var76.$yRotO) * $var65, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef( -($var76.$xo + ($var76.$x - $var76.$xo) * $var65), -($var76.$yo + ($var76.$y - $var76.$yo) * $var65), -($var76.$zo + ($var76.$z - $var76.$zo) * $var65)); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; if ($var98 >= $var101.$chunkCache.data.length) break; var$6 = $var15; cmmr_Chunk_clip($var101.$chunkCache.data[$var98], $var76); $var98 = $var98 + 1 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1.$levelRenderer; ju_Collections_sort($var66.$minecraft1.$levelRenderer.$chunks, cmmr_ChunkDirtyDistanceComparator__init_($var126)); $var64 = ju_ArrayList_size($var101.$chunks) - 1 | 0; $var98 = ju_ArrayList_size($var101.$chunks); if ($var98 > 3) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; if ($var104 >= $var98) break; var$6 = $var15; $var103 = ju_ArrayList_remove($var101.$chunks, $var64 - $var104 | 0); cmmr_Chunk_update($var103); $var103.$loaded = 0; $var104 = $var104 + 1 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); olo_EaglerAdapterGL30_glEnable(2912); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; break i; } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 21: h: { i: { a: { b: { try { cmmp_Player_bindTexture($var76); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glScalef(1.0, (-1.0), (-1.0)); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.20000000298023224, 0.0); olo_EaglerAdapterGL30_glRotatef((-120.0), 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0); $var76 = cmmp_Player_getModel($var112.$minecraft2.$player).$leftArm; if (!$var76.$hasList) { var$6 = $var15; cmmm_ModelPart_generateList($var76, 0.0625); } var$6 = $var15; olo_EaglerAdapterGL30_glCallList($var76.$list); var$6 = $var15; olo_EaglerAdapterGL30_glDisable(2977); olo_EaglerAdapterGL30_glPopMatrix(); cmmr_Renderer_setLighting($var112.$minecraft2.$renderer, 0); if (!cmm_Minecraft_settings.$anaglyph) var$6 = $var15; else { var$6 = $var15; $var77 = $var77 + 1 | 0; var$6 = $var15; $var64 = 2; $var64 = $rt_compare($var77, $var64); if ($var64 < 0) { var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; if ($var77) { var$6 = $var15; $var64 = 1; $var98 = 0; $var104 = 0; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } else { var$6 = $var15; $var64 = 0; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } } var$6 = $var15; $var76 = $var66.$minecraft1; $var126 = $var76.$player; $var76 = $var66.$minecraft1; $var119 = $var76.$level; $var76 = $var66.$minecraft1; $var89 = $var76.$levelRenderer; $var76 = $var66.$minecraft1; $var93 = $var76.$particleManager; $var64 = 0; $var98 = 0; $var76 = $var66.$minecraft1; $var104 = $var76.$width; $var76 = $var66.$minecraft1; $var83 = $var76.$height; olo_EaglerAdapterGL30_glViewport($var64, $var98, $var104, $var83); $var76 = $var66.$minecraft1; $var26 = $var76.$level; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 1.0; $var64 = 4; $var101 = cmm_Minecraft_settings; $var98 = $var101.$viewDistance; $var64 = $var64 - $var98 | 0; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 1.0; $var24 = $var35; $var24_0 = 0.25; $var24 = jl_Math_pow($var24, $var24_0); $var35 = $var24; $var35 = $var29 - $var35; $var64 = $var26.$skyColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var29 = $var64; $var117 = 255.0; $var29 = $var29 / $var117; $var64 = $var26.$skyColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var117 = $var64; $var30 = 255.0; $var117 = $var117 / $var30; $var64 = $var26.$skyColor; $var98 = 255; $var64 = $var64 & $var98; $var30 = $var64; $var32 = 255.0; $var30 = $var30 / $var32; $var64 = $var26.$fogColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogRed = $var32; $var64 = $var26.$fogColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogBlue = $var32; $var64 = $var26.$fogColor; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogGreen = $var32; $var32 = $var66.$fogRed; $var69 = $var66.$fogRed; $var29 = $var29 - $var69; $var29 = $var29 * $var35; $var29 = $var32 + $var29; $var66.$fogRed = $var29; $var29 = $var66.$fogBlue; $var32 = $var66.$fogBlue; $var117 = $var117 - $var32; $var117 = $var117 * $var35; $var29 = $var29 + $var117; $var66.$fogBlue = $var29; $var29 = $var66.$fogGreen; $var117 = $var66.$fogGreen; $var117 = $var30 - $var117; $var35 = $var117 * $var35; $var35 = $var29 + $var35; $var66.$fogGreen = $var35; $var35 = $var66.$fogRed; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogRed = $var35; $var35 = $var66.$fogBlue; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogBlue = $var35; $var35 = $var66.$fogGreen; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogGreen = $var35; cmmlt_Block_$callClinit(); var$69 = cmmlt_Block_blocks; var$69 = var$69.data; $var35 = $var76.$x; $var64 = $var35 | 0; $var35 = $var76.$y; $var29 = 0.11999999731779099; $var35 = $var35 + $var29; $var98 = $var35 | 0; $var35 = $var76.$z; $var104 = $var35 | 0; $var64 = cmml_Level_getTile($var26, $var64, $var98, $var104); $var103 = var$69[$var64]; if ($var103 !== null) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_NOT_LIQUID; if ($var76 !== $var101) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_WATER; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.019999999552965164; $var66.$fogRed = $var35; $var35 = 0.019999999552965164; $var66.$fogBlue = $var35; $var35 = 0.20000000298023224; $var66.$fogGreen = $var35; } else { var$6 = $var15; $var101 = cmmll_LiquidType_LAVA; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.6000000238418579; $var66.$fogRed = $var35; $var35 = 0.10000000149011612; $var66.$fogBlue = $var35; $var35 = 0.0; $var66.$fogGreen = $var35; } } } } var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var35 = $var66.$fogRed; $var29 = 30.0; $var35 = $var35 * $var29; $var29 = $var66.$fogBlue; $var117 = 59.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = $var66.$fogGreen; $var117 = 11.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = 100.0; $var35 = $var35 / $var29; $var29 = $var66.$fogRed; $var117 = 30.0; $var29 = $var29 * $var117; $var117 = $var66.$fogBlue; $var30 = 70.0; $var117 = $var117 * $var30; $var29 = $var29 + $var117; $var117 = 100.0; $var29 = $var29 / $var117; $var117 = $var66.$fogRed; $var30 = 30.0; $var117 = $var117 * $var30; $var30 = $var66.$fogGreen; $var32 = 70.0; $var30 = $var30 * $var32; $var117 = $var117 + $var30; $var30 = 100.0; $var117 = $var117 / $var30; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; $var35 = $var66.$fogRed; $var29 = $var66.$fogBlue; $var117 = $var66.$fogGreen; $var30 = 0.0; olo_EaglerAdapterGL30_glClearColor($var35, $var29, $var117, $var30); $var64 = 16640; olo_EaglerAdapterGL30_glClear($var64); $var35 = 1.0; $var66.$fogColorMultiplier = $var35; $var64 = 2884; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 512; $var76 = cmm_Minecraft_settings; $var98 = $var76.$viewDistance; $var104 = 1; $var98 = $var98 << $var104; $var64 = $var64 >> $var98; $var35 = $var64; $var66.$fogEnd = $var35; $var64 = 5889; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var29 = 0.07000000029802322; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var64 = -$var64; $var35 = $var64; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; $var76 = $var66.$minecraft1; $var116 = $var76.$player; $var32 = 70.0; $var64 = $var116.$health; if ($var64 <= 0) { var$6 = $var15; $var64 = $var116.$deathTime; $var35 = $var64; $var35 = $var35 + $var65; $var29 = 1.0; $var117 = 500.0; $var30 = 500.0; $var35 = $var35 + $var30; $var35 = $var117 / $var35; $var35 = $var29 - $var35; $var29 = 2.0; $var35 = $var35 * $var29; $var29 = 1.0; $var35 = $var35 + $var29; $var32 = $var32 / $var35; } var$6 = $var15; $var76 = $var66.$minecraft1; $var64 = $var76.$width; $var35 = $var64; $var76 = $var66.$minecraft1; $var64 = $var76.$height; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 0.05000000074505806; $var117 = $var66.$fogEnd; olo_EaglerAdapterGL30_gluPerspective($var32, $var35, $var29, $var117); $var64 = 5888; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var35 = $var64; $var29 = 0.10000000149011612; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); $var76 = cmm_Minecraft_settings; $var64 = $var76.$viewBobbing; if ($var64) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 0.0; $var29 = 0.0; $var117 = (-0.10000000149011612); olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var35 = $var76.$xRotO; $var29 = $var76.$xRot; $var117 = $var76.$xRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 1.0; $var117 = 0.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$yRotO; $var29 = $var76.$yRot; $var117 = $var76.$yRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 0.0; $var117 = 1.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$xo; $var29 = $var76.$x; $var117 = $var76.$xo; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = $var76.$yo; $var117 = $var76.$y; $var30 = $var76.$yo; $var117 = $var117 - $var30; $var117 = $var117 * $var65; $var29 = $var29 + $var117; $var117 = $var76.$zo; $var30 = $var76.$z; $var32 = $var76.$zo; $var30 = $var30 - $var32; $var30 = $var30 * $var65; $var117 = $var117 + $var30; $var35 = -$var35; $var29 = -$var29; $var117 = -$var117; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var64 = var$69.length; $var64 = $rt_compare($var98, $var64); if ($var64 >= 0) break; var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var103 = var$69[$var98]; cmmr_Chunk_clip($var103, $var76); $var64 = 1; $var98 = $var98 + $var64 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var103 = $var66.$minecraft1; $var103 = $var103.$levelRenderer; $var103 = $var103.$chunks; $var115 = cmmr_ChunkDirtyDistanceComparator__init_($var126); ju_Collections_sort($var103, $var115); $var103 = $var101.$chunks; $var64 = ju_ArrayList_size($var103); $var98 = 1; $var64 = $var64 - $var98 | 0; $var103 = $var101.$chunks; $var98 = ju_ArrayList_size($var103); $var104 = 3; $var104 = $rt_compare($var98, $var104); if ($var104 > 0) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; $var83 = $rt_compare($var104, $var98); if ($var83 >= 0) break; var$6 = $var15; $var103 = $var101.$chunks; $var83 = $var64 - $var104 | 0; $var103 = ju_ArrayList_remove($var103, $var83); $var103 = $var103; cmmr_Chunk_update($var103); $var83 = 0; $var103.$loaded = $var83; $var83 = 1; $var104 = $var104 + $var83 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); $var64 = 2912; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 0; $ptr = 10; continue main; } var$6 = $var15; $var64 = 1; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$hud; $var101 = $var66.$minecraft1; $var101 = $var101.$currentScreen; if ($var101 === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } bi: { try { bo: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; bb: { w: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break bo; if ($this.$waiting) break bi; j: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break j; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } bc: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break bc; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break bc; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } g: { n: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break n; break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } m: { bj: { try { var$6 = $var15; if ($var24_0 > 1.0) break bj; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } bk: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bk; var$6 = $var15; $var63.$elapsedTicks = 100; break bk; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break w; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break bb; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } bu: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break bu; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } bv: { bw: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bw; break bv; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break bv; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } bx: { by: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break by; var$6 = $var15; break bx; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break bx; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bo; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bz: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bz; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; $var64 = 2; $var64 = $rt_compare($var77, $var64); if ($var64 >= 0) { var$6 = $var15; $var64 = 1; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$hud; $var101 = $var66.$minecraft1; $var101 = $var101.$currentScreen; if ($var101 === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; if ($var77) { var$6 = $var15; $var64 = 1; $var98 = 0; $var104 = 0; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } else { var$6 = $var15; $var64 = 0; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } } var$6 = $var15; $var76 = $var66.$minecraft1; $var126 = $var76.$player; $var76 = $var66.$minecraft1; $var119 = $var76.$level; $var76 = $var66.$minecraft1; $var89 = $var76.$levelRenderer; $var76 = $var66.$minecraft1; $var93 = $var76.$particleManager; $var64 = 0; $var98 = 0; $var76 = $var66.$minecraft1; $var104 = $var76.$width; $var76 = $var66.$minecraft1; $var83 = $var76.$height; olo_EaglerAdapterGL30_glViewport($var64, $var98, $var104, $var83); $var76 = $var66.$minecraft1; $var26 = $var76.$level; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 1.0; $var64 = 4; $var101 = cmm_Minecraft_settings; $var98 = $var101.$viewDistance; $var64 = $var64 - $var98 | 0; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 1.0; $var24 = $var35; $var24_0 = 0.25; $var24 = jl_Math_pow($var24, $var24_0); $var35 = $var24; $var35 = $var29 - $var35; $var64 = $var26.$skyColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var29 = $var64; $var117 = 255.0; $var29 = $var29 / $var117; $var64 = $var26.$skyColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var117 = $var64; $var30 = 255.0; $var117 = $var117 / $var30; $var64 = $var26.$skyColor; $var98 = 255; $var64 = $var64 & $var98; $var30 = $var64; $var32 = 255.0; $var30 = $var30 / $var32; $var64 = $var26.$fogColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogRed = $var32; $var64 = $var26.$fogColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogBlue = $var32; $var64 = $var26.$fogColor; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogGreen = $var32; $var32 = $var66.$fogRed; $var69 = $var66.$fogRed; $var29 = $var29 - $var69; $var29 = $var29 * $var35; $var29 = $var32 + $var29; $var66.$fogRed = $var29; $var29 = $var66.$fogBlue; $var32 = $var66.$fogBlue; $var117 = $var117 - $var32; $var117 = $var117 * $var35; $var29 = $var29 + $var117; $var66.$fogBlue = $var29; $var29 = $var66.$fogGreen; $var117 = $var66.$fogGreen; $var117 = $var30 - $var117; $var35 = $var117 * $var35; $var35 = $var29 + $var35; $var66.$fogGreen = $var35; $var35 = $var66.$fogRed; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogRed = $var35; $var35 = $var66.$fogBlue; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogBlue = $var35; $var35 = $var66.$fogGreen; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogGreen = $var35; cmmlt_Block_$callClinit(); var$69 = cmmlt_Block_blocks; var$69 = var$69.data; $var35 = $var76.$x; $var64 = $var35 | 0; $var35 = $var76.$y; $var29 = 0.11999999731779099; $var35 = $var35 + $var29; $var98 = $var35 | 0; $var35 = $var76.$z; $var104 = $var35 | 0; $var64 = cmml_Level_getTile($var26, $var64, $var98, $var104); $var103 = var$69[$var64]; if ($var103 !== null) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_NOT_LIQUID; if ($var76 !== $var101) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_WATER; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.019999999552965164; $var66.$fogRed = $var35; $var35 = 0.019999999552965164; $var66.$fogBlue = $var35; $var35 = 0.20000000298023224; $var66.$fogGreen = $var35; } else { var$6 = $var15; $var101 = cmmll_LiquidType_LAVA; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.6000000238418579; $var66.$fogRed = $var35; $var35 = 0.10000000149011612; $var66.$fogBlue = $var35; $var35 = 0.0; $var66.$fogGreen = $var35; } } } } var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var35 = $var66.$fogRed; $var29 = 30.0; $var35 = $var35 * $var29; $var29 = $var66.$fogBlue; $var117 = 59.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = $var66.$fogGreen; $var117 = 11.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = 100.0; $var35 = $var35 / $var29; $var29 = $var66.$fogRed; $var117 = 30.0; $var29 = $var29 * $var117; $var117 = $var66.$fogBlue; $var30 = 70.0; $var117 = $var117 * $var30; $var29 = $var29 + $var117; $var117 = 100.0; $var29 = $var29 / $var117; $var117 = $var66.$fogRed; $var30 = 30.0; $var117 = $var117 * $var30; $var30 = $var66.$fogGreen; $var32 = 70.0; $var30 = $var30 * $var32; $var117 = $var117 + $var30; $var30 = 100.0; $var117 = $var117 / $var30; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; $var35 = $var66.$fogRed; $var29 = $var66.$fogBlue; $var117 = $var66.$fogGreen; $var30 = 0.0; olo_EaglerAdapterGL30_glClearColor($var35, $var29, $var117, $var30); $var64 = 16640; olo_EaglerAdapterGL30_glClear($var64); $var35 = 1.0; $var66.$fogColorMultiplier = $var35; $var64 = 2884; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 512; $var76 = cmm_Minecraft_settings; $var98 = $var76.$viewDistance; $var104 = 1; $var98 = $var98 << $var104; $var64 = $var64 >> $var98; $var35 = $var64; $var66.$fogEnd = $var35; $var64 = 5889; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var29 = 0.07000000029802322; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var64 = -$var64; $var35 = $var64; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; $var76 = $var66.$minecraft1; $var116 = $var76.$player; $var32 = 70.0; $var64 = $var116.$health; if ($var64 <= 0) { var$6 = $var15; $var64 = $var116.$deathTime; $var35 = $var64; $var35 = $var35 + $var65; $var29 = 1.0; $var117 = 500.0; $var30 = 500.0; $var35 = $var35 + $var30; $var35 = $var117 / $var35; $var35 = $var29 - $var35; $var29 = 2.0; $var35 = $var35 * $var29; $var29 = 1.0; $var35 = $var35 + $var29; $var32 = $var32 / $var35; } var$6 = $var15; $var76 = $var66.$minecraft1; $var64 = $var76.$width; $var35 = $var64; $var76 = $var66.$minecraft1; $var64 = $var76.$height; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 0.05000000074505806; $var117 = $var66.$fogEnd; olo_EaglerAdapterGL30_gluPerspective($var32, $var35, $var29, $var117); $var64 = 5888; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var35 = $var64; $var29 = 0.10000000149011612; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); $var76 = cmm_Minecraft_settings; $var64 = $var76.$viewBobbing; if ($var64) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 0.0; $var29 = 0.0; $var117 = (-0.10000000149011612); olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var35 = $var76.$xRotO; $var29 = $var76.$xRot; $var117 = $var76.$xRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 1.0; $var117 = 0.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$yRotO; $var29 = $var76.$yRot; $var117 = $var76.$yRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 0.0; $var117 = 1.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$xo; $var29 = $var76.$x; $var117 = $var76.$xo; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = $var76.$yo; $var117 = $var76.$y; $var30 = $var76.$yo; $var117 = $var117 - $var30; $var117 = $var117 * $var65; $var29 = $var29 + $var117; $var117 = $var76.$zo; $var30 = $var76.$z; $var32 = $var76.$zo; $var30 = $var30 - $var32; $var30 = $var30 * $var65; $var117 = $var117 + $var30; $var35 = -$var35; $var29 = -$var29; $var117 = -$var117; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var64 = var$69.length; $var64 = $rt_compare($var98, $var64); if ($var64 >= 0) break; var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var103 = var$69[$var98]; cmmr_Chunk_clip($var103, $var76); $var64 = 1; $var98 = $var98 + $var64 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var103 = $var66.$minecraft1; $var103 = $var103.$levelRenderer; $var103 = $var103.$chunks; $var115 = cmmr_ChunkDirtyDistanceComparator__init_($var126); ju_Collections_sort($var103, $var115); $var103 = $var101.$chunks; $var64 = ju_ArrayList_size($var103); $var98 = 1; $var64 = $var64 - $var98 | 0; $var103 = $var101.$chunks; $var98 = ju_ArrayList_size($var103); $var104 = 3; $var104 = $rt_compare($var98, $var104); if ($var104 > 0) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; $var83 = $rt_compare($var104, $var98); if ($var83 >= 0) break; var$6 = $var15; $var103 = $var101.$chunks; $var83 = $var64 - $var104 | 0; $var103 = ju_ArrayList_remove($var103, $var83); $var103 = $var103; cmmr_Chunk_update($var103); $var83 = 0; $var103.$loaded = $var83; $var83 = 1; $var104 = $var104 + $var83 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); $var64 = 2912; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; case 22: h: { i: { a: { b: { try { cmmr_TextureLocation_bindTexture($var76); if ($rt_suspending()) { break main; } $var112.$block.$renderPreview($var123); var$6 = $var15; olo_EaglerAdapterGL30_glDisable(2977); olo_EaglerAdapterGL30_glPopMatrix(); cmmr_Renderer_setLighting($var112.$minecraft2.$renderer, 0); if (!cmm_Minecraft_settings.$anaglyph) var$6 = $var15; else { var$6 = $var15; $var77 = $var77 + 1 | 0; var$6 = $var15; $var64 = 2; $var64 = $rt_compare($var77, $var64); if ($var64 < 0) { var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; if ($var77) { var$6 = $var15; $var64 = 1; $var98 = 0; $var104 = 0; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } else { var$6 = $var15; $var64 = 0; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } } var$6 = $var15; $var76 = $var66.$minecraft1; $var126 = $var76.$player; $var76 = $var66.$minecraft1; $var119 = $var76.$level; $var76 = $var66.$minecraft1; $var89 = $var76.$levelRenderer; $var76 = $var66.$minecraft1; $var93 = $var76.$particleManager; $var64 = 0; $var98 = 0; $var76 = $var66.$minecraft1; $var104 = $var76.$width; $var76 = $var66.$minecraft1; $var83 = $var76.$height; olo_EaglerAdapterGL30_glViewport($var64, $var98, $var104, $var83); $var76 = $var66.$minecraft1; $var26 = $var76.$level; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 1.0; $var64 = 4; $var101 = cmm_Minecraft_settings; $var98 = $var101.$viewDistance; $var64 = $var64 - $var98 | 0; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 1.0; $var24 = $var35; $var24_0 = 0.25; $var24 = jl_Math_pow($var24, $var24_0); $var35 = $var24; $var35 = $var29 - $var35; $var64 = $var26.$skyColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var29 = $var64; $var117 = 255.0; $var29 = $var29 / $var117; $var64 = $var26.$skyColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var117 = $var64; $var30 = 255.0; $var117 = $var117 / $var30; $var64 = $var26.$skyColor; $var98 = 255; $var64 = $var64 & $var98; $var30 = $var64; $var32 = 255.0; $var30 = $var30 / $var32; $var64 = $var26.$fogColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogRed = $var32; $var64 = $var26.$fogColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogBlue = $var32; $var64 = $var26.$fogColor; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogGreen = $var32; $var32 = $var66.$fogRed; $var69 = $var66.$fogRed; $var29 = $var29 - $var69; $var29 = $var29 * $var35; $var29 = $var32 + $var29; $var66.$fogRed = $var29; $var29 = $var66.$fogBlue; $var32 = $var66.$fogBlue; $var117 = $var117 - $var32; $var117 = $var117 * $var35; $var29 = $var29 + $var117; $var66.$fogBlue = $var29; $var29 = $var66.$fogGreen; $var117 = $var66.$fogGreen; $var117 = $var30 - $var117; $var35 = $var117 * $var35; $var35 = $var29 + $var35; $var66.$fogGreen = $var35; $var35 = $var66.$fogRed; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogRed = $var35; $var35 = $var66.$fogBlue; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogBlue = $var35; $var35 = $var66.$fogGreen; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogGreen = $var35; cmmlt_Block_$callClinit(); var$69 = cmmlt_Block_blocks; var$69 = var$69.data; $var35 = $var76.$x; $var64 = $var35 | 0; $var35 = $var76.$y; $var29 = 0.11999999731779099; $var35 = $var35 + $var29; $var98 = $var35 | 0; $var35 = $var76.$z; $var104 = $var35 | 0; $var64 = cmml_Level_getTile($var26, $var64, $var98, $var104); $var103 = var$69[$var64]; if ($var103 !== null) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_NOT_LIQUID; if ($var76 !== $var101) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_WATER; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.019999999552965164; $var66.$fogRed = $var35; $var35 = 0.019999999552965164; $var66.$fogBlue = $var35; $var35 = 0.20000000298023224; $var66.$fogGreen = $var35; } else { var$6 = $var15; $var101 = cmmll_LiquidType_LAVA; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.6000000238418579; $var66.$fogRed = $var35; $var35 = 0.10000000149011612; $var66.$fogBlue = $var35; $var35 = 0.0; $var66.$fogGreen = $var35; } } } } var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var35 = $var66.$fogRed; $var29 = 30.0; $var35 = $var35 * $var29; $var29 = $var66.$fogBlue; $var117 = 59.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = $var66.$fogGreen; $var117 = 11.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = 100.0; $var35 = $var35 / $var29; $var29 = $var66.$fogRed; $var117 = 30.0; $var29 = $var29 * $var117; $var117 = $var66.$fogBlue; $var30 = 70.0; $var117 = $var117 * $var30; $var29 = $var29 + $var117; $var117 = 100.0; $var29 = $var29 / $var117; $var117 = $var66.$fogRed; $var30 = 30.0; $var117 = $var117 * $var30; $var30 = $var66.$fogGreen; $var32 = 70.0; $var30 = $var30 * $var32; $var117 = $var117 + $var30; $var30 = 100.0; $var117 = $var117 / $var30; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; $var35 = $var66.$fogRed; $var29 = $var66.$fogBlue; $var117 = $var66.$fogGreen; $var30 = 0.0; olo_EaglerAdapterGL30_glClearColor($var35, $var29, $var117, $var30); $var64 = 16640; olo_EaglerAdapterGL30_glClear($var64); $var35 = 1.0; $var66.$fogColorMultiplier = $var35; $var64 = 2884; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 512; $var76 = cmm_Minecraft_settings; $var98 = $var76.$viewDistance; $var104 = 1; $var98 = $var98 << $var104; $var64 = $var64 >> $var98; $var35 = $var64; $var66.$fogEnd = $var35; $var64 = 5889; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var29 = 0.07000000029802322; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var64 = -$var64; $var35 = $var64; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; $var76 = $var66.$minecraft1; $var116 = $var76.$player; $var32 = 70.0; $var64 = $var116.$health; if ($var64 <= 0) { var$6 = $var15; $var64 = $var116.$deathTime; $var35 = $var64; $var35 = $var35 + $var65; $var29 = 1.0; $var117 = 500.0; $var30 = 500.0; $var35 = $var35 + $var30; $var35 = $var117 / $var35; $var35 = $var29 - $var35; $var29 = 2.0; $var35 = $var35 * $var29; $var29 = 1.0; $var35 = $var35 + $var29; $var32 = $var32 / $var35; } var$6 = $var15; $var76 = $var66.$minecraft1; $var64 = $var76.$width; $var35 = $var64; $var76 = $var66.$minecraft1; $var64 = $var76.$height; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 0.05000000074505806; $var117 = $var66.$fogEnd; olo_EaglerAdapterGL30_gluPerspective($var32, $var35, $var29, $var117); $var64 = 5888; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var35 = $var64; $var29 = 0.10000000149011612; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); $var76 = cmm_Minecraft_settings; $var64 = $var76.$viewBobbing; if ($var64) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 0.0; $var29 = 0.0; $var117 = (-0.10000000149011612); olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var35 = $var76.$xRotO; $var29 = $var76.$xRot; $var117 = $var76.$xRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 1.0; $var117 = 0.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$yRotO; $var29 = $var76.$yRot; $var117 = $var76.$yRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 0.0; $var117 = 1.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$xo; $var29 = $var76.$x; $var117 = $var76.$xo; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = $var76.$yo; $var117 = $var76.$y; $var30 = $var76.$yo; $var117 = $var117 - $var30; $var117 = $var117 * $var65; $var29 = $var29 + $var117; $var117 = $var76.$zo; $var30 = $var76.$z; $var32 = $var76.$zo; $var30 = $var30 - $var32; $var30 = $var30 * $var65; $var117 = $var117 + $var30; $var35 = -$var35; $var29 = -$var29; $var117 = -$var117; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var64 = var$69.length; $var64 = $rt_compare($var98, $var64); if ($var64 >= 0) break; var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var103 = var$69[$var98]; cmmr_Chunk_clip($var103, $var76); $var64 = 1; $var98 = $var98 + $var64 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var103 = $var66.$minecraft1; $var103 = $var103.$levelRenderer; $var103 = $var103.$chunks; $var115 = cmmr_ChunkDirtyDistanceComparator__init_($var126); ju_Collections_sort($var103, $var115); $var103 = $var101.$chunks; $var64 = ju_ArrayList_size($var103); $var98 = 1; $var64 = $var64 - $var98 | 0; $var103 = $var101.$chunks; $var98 = ju_ArrayList_size($var103); $var104 = 3; $var104 = $rt_compare($var98, $var104); if ($var104 > 0) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; $var83 = $rt_compare($var104, $var98); if ($var83 >= 0) break; var$6 = $var15; $var103 = $var101.$chunks; $var83 = $var64 - $var104 | 0; $var103 = ju_ArrayList_remove($var103, $var83); $var103 = $var103; cmmr_Chunk_update($var103); $var83 = 0; $var103.$loaded = $var83; $var83 = 1; $var104 = $var104 + $var83 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); $var64 = 2912; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 0; $ptr = 10; continue main; } var$6 = $var15; $var64 = 1; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$hud; $var101 = $var66.$minecraft1; $var101 = $var101.$currentScreen; if ($var101 === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; } else if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } bh: { try { bi: while (true) { cmm_Minecraft_setCurrentScreen($this, cmmg_ErrorScreen__init_($rt_s(179), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(180)), $var58), $rt_s(181))))); jl_Throwable_printStackTrace0($var58); $var15 = var$6; v: { bb: { while (true) { var$8 = jl_System_currentTimeMillis(); $var18 = Long_add($var13, Long_fromInt(1000)); if (Long_ge(var$8, $var18)) { $var66 = jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), $var15), $rt_s(182)); cmmr_Chunk_$callClinit(); $this.$debug = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2($var66, cmmr_Chunk_chunkUpdates), $rt_s(183))); cmmr_Chunk_chunkUpdates = 0; $var15 = 0; $var13 = $var18; continue; } if (!$this.$running) break bi; if ($this.$waiting) break bh; y: { try { var$6 = $var15; $var63 = $this.$timer; var$8 = jl_System_currentTimeMillis(); $var18 = Long_sub(var$8, $var63.$lastSysClock); $var20 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_le($var18, Long_fromInt(1000))) break y; var$6 = $var15; $var24 = Long_toNumber($var18) / Long_toNumber(Long_sub($var20, $var63.$lastHRClock)); $var63.$adjustment = $var63.$adjustment + ($var24 - $var63.$adjustment) * 0.20000000298023224; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } j: { try { var$6 = $var15; if (Long_ge($var18, Long_ZERO)) break j; var$6 = $var15; $var63.$lastSysClock = var$8; $var63.$lastHRClock = $var20; break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } bc: { g: { try { var$6 = $var15; $var24 = Long_toNumber($var20) / 1000.0; $var24_0 = ($var24 - $var63.$lastHR) * $var63.$adjustment; $var63.$lastHR = $var24; if ($var24_0 < 0.0) break g; break bc; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 0.0; break bc; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } n: { m: { try { var$6 = $var15; if ($var24_0 > 1.0) break m; break n; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; $var24_0 = 1.0; break n; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } bj: { try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta + $var24_0 * $var63.$speed * $var63.$tps; $var63.$elapsedTicks = $var63.$elapsedDelta | 0; if ($var63.$elapsedTicks <= 100) break bj; var$6 = $var15; $var63.$elapsedTicks = 100; break bj; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; $var63.$elapsedDelta = $var63.$elapsedDelta - $var63.$elapsedTicks; $var63.$delta = $var63.$elapsedDelta; $var64 = 0; var$6 = $var15; if ($var64 < $this.$timer.$elapsedTicks) break bb; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(177)); olo_EaglerAdapterGL30_glEnable(3553); if (!$this.$online) { var$6 = $var15; cmmg_SurvivalGameMode_applyCracks($this.$gamemode, $this.$timer.$delta); $var65 = $this.$timer.$delta; $var66 = $this.$renderer; if ($this.$renderer.$displayActive) { var$6 = $var15; if (!nlea_EaglerAdapterImpl2_isFocused()) { var$6 = $var15; cmm_Minecraft_pause($var66.$minecraft1); } } var$6 = $var15; $var66.$displayActive = nlea_EaglerAdapterImpl2_isFocused(); if ($var66.$minecraft1.$hasMouse) { var$6 = $var15; $var81 = 0; $var86 = 0; if (!$var66.$minecraft1.$levelLoaded) { var$6 = $var15; $var81 = nlea_EaglerAdapterImpl2_mouseGetDX(); $var86 = nlea_EaglerAdapterImpl2_mouseGetDY(); } else { var$6 = $var15; nlea_EaglerAdapterImpl2_mouseSetCursorPosition($var66.$minecraft1.$width / 2 | 0, $var66.$minecraft1.$height / 2 | 0); } var$6 = $var15; $var91 = 1; if (cmm_Minecraft_settings.$invertMouse) { var$6 = $var15; $var91 = (-1); } var$6 = $var15; cmm_Entity_turn($var66.$minecraft1.$player, $var81, $rt_imul($var86, $var91)); } var$6 = $var15; if (!$var66.$minecraft1.$online) break v; } var$6 = $var15; if (cmm_Minecraft_settings.$limitFramerate) break; var$6 = $var15; cmm_Minecraft_checkGLError($rt_s(178)); $var15 = $var15 + 1 | 0; var$6 = $var15; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; var$8 = Long_fromInt(5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; $this.$ticks = $this.$ticks + 1 | 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } bA: { try { var$6 = $var15; $var81 = ($var66.$minecraft1.$width * 240 | 0) / $var66.$minecraft1.$height | 0; $var86 = ($var66.$minecraft1.$height * 240 | 0) / $var66.$minecraft1.$height | 0; $var94 = $rt_imul(nlea_EaglerAdapterImpl2_mouseGetX(), $var81) / $var66.$minecraft1.$width | 0; $var70 = ($var86 - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetY(), $var86) / $var66.$minecraft1.$height | 0) | 0) - 1 | 0; if ($var66.$minecraft1.$level !== null) break bA; var$6 = $var15; olo_EaglerAdapterGL30_glViewport(0, 0, $var66.$minecraft1.$width, $var66.$minecraft1.$height); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); cmmr_Renderer_enableGuiMode($var66); var$6 = $var15; if ($var66.$minecraft1.$currentScreen === null) { var$6 = $var15; $ptr = 6; continue main; } var$6 = $var15; $var66 = $var66.$minecraft1.$currentScreen; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } bB: { bv: { try { var$6 = $var15; $var37 = $var66.$minecraft1.$player; $var29 = $var37.$xRotO + ($var37.$xRot - $var37.$xRotO) * $var65; $var30 = $var37.$yRotO + ($var37.$yRot - $var37.$yRotO) * $var65; $var31 = cmmr_Renderer_getPlayerVector($var66, $var65); $var35 = -$var30 * 0.01745329238474369 - 3.1415927410125732; $var32 = nPm_MathHelper_cos($var35); $var69 = nPm_MathHelper_sin($var35); $var35 = -$var29 * 0.01745329238474369; $var74 = nPm_MathHelper_cos($var35); $var33 = nPm_MathHelper_sin($var35); $var34 = $var69 * $var74; $var87 = $var32 * $var74; $var36 = cmmg_SurvivalGameMode_getReachDistance($var66.$minecraft1.$gamemode); $var71 = cmmm_Vec3D_add($var31, $var34 * $var36, $var33 * $var36, $var87 * $var36); $var66.$minecraft1.$selected = cmml_Level_clip($var66.$minecraft1.$level, $var31, $var71); if ($var66.$minecraft1.$selected !== null) break bv; break bB; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; $var36 = cmmm_Vec3D_distance($var66.$minecraft1.$selected.$vec, cmmr_Renderer_getPlayerVector($var66, $var65)); break bB; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } bw: { bx: { try { var$6 = $var15; $var76 = cmmr_Renderer_getPlayerVector($var66, $var65); if ($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode) break bx; var$6 = $var15; break bw; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; $var36 = 32.0; break bw; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue bi; } else { throw $$e; } } } try { var$6 = $var15; $var35 = $var34 * $var36; $var29 = $var33 * $var36; $var117 = $var87 * $var36; $var101 = cmmm_Vec3D_add($var76, $var35, $var29, $var117); $var66.$entity = null; $var37 = cmml_BlockMap_getEntities($var66.$minecraft1.$level.$blockMap, $var37, cmmp_AABB_expand($var37.$bb, $var35, $var29, $var117)); $var35 = 0.0; $var64 = 0; while (true) { var$6 = $var15; if ($var64 >= ju_ArrayList_size($var37)) break; bC: { var$6 = $var15; $var103 = ju_ArrayList_get($var37, $var64); if ($var103.$isPickable()) { var$6 = $var15; $var115 = cmmp_AABB_clip(cmmp_AABB_grow($var103.$bb, 0.10000000149011612, 0.10000000149011612, 0.10000000149011612), $var76, $var101); if ($var115 !== null) { var$6 = $var15; $var29 = cmmm_Vec3D_distance($var76, $var115.$vec); if ($var29 >= $var35) { var$6 = $var15; if ($var35 !== 0.0) break bC; } var$6 = $var15; $var66.$entity = $var103; $var35 = $var29; } } } var$6 = $var15; $var64 = $var64 + 1 | 0; } var$6 = $var15; if ($var66.$entity !== null) { var$6 = $var15; if (!($var66.$minecraft1.$gamemode instanceof cmmg_CreativeGameMode)) { var$6 = $var15; $var66.$minecraft1.$selected = cmm_MovingObjectPosition__init_($var66.$entity); } } var$6 = $var15; $var77 = 0; var$6 = $var15; $var64 = 2; $var64 = $rt_compare($var77, $var64); if ($var64 >= 0) { var$6 = $var15; $var64 = 1; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$hud; $var101 = $var66.$minecraft1; $var101 = $var101.$currentScreen; if ($var101 === null) { var$6 = $var15; $var64 = 0; } else { var$6 = $var15; $var64 = 1; } var$6 = $var15; $ptr = 9; continue main; } var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; if ($var77) { var$6 = $var15; $var64 = 1; $var98 = 0; $var104 = 0; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } else { var$6 = $var15; $var64 = 0; $var98 = 1; $var104 = 1; $var83 = 0; olo_EaglerAdapterGL30_glColorMask($var64, $var98, $var104, $var83); } } var$6 = $var15; $var76 = $var66.$minecraft1; $var126 = $var76.$player; $var76 = $var66.$minecraft1; $var119 = $var76.$level; $var76 = $var66.$minecraft1; $var89 = $var76.$levelRenderer; $var76 = $var66.$minecraft1; $var93 = $var76.$particleManager; $var64 = 0; $var98 = 0; $var76 = $var66.$minecraft1; $var104 = $var76.$width; $var76 = $var66.$minecraft1; $var83 = $var76.$height; olo_EaglerAdapterGL30_glViewport($var64, $var98, $var104, $var83); $var76 = $var66.$minecraft1; $var26 = $var76.$level; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 1.0; $var64 = 4; $var101 = cmm_Minecraft_settings; $var98 = $var101.$viewDistance; $var64 = $var64 - $var98 | 0; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 1.0; $var24 = $var35; $var24_0 = 0.25; $var24 = jl_Math_pow($var24, $var24_0); $var35 = $var24; $var35 = $var29 - $var35; $var64 = $var26.$skyColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var29 = $var64; $var117 = 255.0; $var29 = $var29 / $var117; $var64 = $var26.$skyColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var117 = $var64; $var30 = 255.0; $var117 = $var117 / $var30; $var64 = $var26.$skyColor; $var98 = 255; $var64 = $var64 & $var98; $var30 = $var64; $var32 = 255.0; $var30 = $var30 / $var32; $var64 = $var26.$fogColor; $var98 = 16; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogRed = $var32; $var64 = $var26.$fogColor; $var98 = 8; $var64 = $var64 >> $var98; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogBlue = $var32; $var64 = $var26.$fogColor; $var98 = 255; $var64 = $var64 & $var98; $var32 = $var64; $var69 = 255.0; $var32 = $var32 / $var69; $var66.$fogGreen = $var32; $var32 = $var66.$fogRed; $var69 = $var66.$fogRed; $var29 = $var29 - $var69; $var29 = $var29 * $var35; $var29 = $var32 + $var29; $var66.$fogRed = $var29; $var29 = $var66.$fogBlue; $var32 = $var66.$fogBlue; $var117 = $var117 - $var32; $var117 = $var117 * $var35; $var29 = $var29 + $var117; $var66.$fogBlue = $var29; $var29 = $var66.$fogGreen; $var117 = $var66.$fogGreen; $var117 = $var30 - $var117; $var35 = $var117 * $var35; $var35 = $var29 + $var35; $var66.$fogGreen = $var35; $var35 = $var66.$fogRed; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogRed = $var35; $var35 = $var66.$fogBlue; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogBlue = $var35; $var35 = $var66.$fogGreen; $var29 = $var66.$fogColorMultiplier; $var35 = $var35 * $var29; $var66.$fogGreen = $var35; cmmlt_Block_$callClinit(); var$69 = cmmlt_Block_blocks; var$69 = var$69.data; $var35 = $var76.$x; $var64 = $var35 | 0; $var35 = $var76.$y; $var29 = 0.11999999731779099; $var35 = $var35 + $var29; $var98 = $var35 | 0; $var35 = $var76.$z; $var104 = $var35 | 0; $var64 = cmml_Level_getTile($var26, $var64, $var98, $var104); $var103 = var$69[$var64]; if ($var103 !== null) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_NOT_LIQUID; if ($var76 !== $var101) { var$6 = $var15; $var76 = $var103.$getLiquidType(); $var101 = cmmll_LiquidType_WATER; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.019999999552965164; $var66.$fogRed = $var35; $var35 = 0.019999999552965164; $var66.$fogBlue = $var35; $var35 = 0.20000000298023224; $var66.$fogGreen = $var35; } else { var$6 = $var15; $var101 = cmmll_LiquidType_LAVA; if ($var76 === $var101) { var$6 = $var15; $var35 = 0.6000000238418579; $var66.$fogRed = $var35; $var35 = 0.10000000149011612; $var66.$fogBlue = $var35; $var35 = 0.0; $var66.$fogGreen = $var35; } } } } var$6 = $var15; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var35 = $var66.$fogRed; $var29 = 30.0; $var35 = $var35 * $var29; $var29 = $var66.$fogBlue; $var117 = 59.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = $var66.$fogGreen; $var117 = 11.0; $var29 = $var29 * $var117; $var35 = $var35 + $var29; $var29 = 100.0; $var35 = $var35 / $var29; $var29 = $var66.$fogRed; $var117 = 30.0; $var29 = $var29 * $var117; $var117 = $var66.$fogBlue; $var30 = 70.0; $var117 = $var117 * $var30; $var29 = $var29 + $var117; $var117 = 100.0; $var29 = $var29 / $var117; $var117 = $var66.$fogRed; $var30 = 30.0; $var117 = $var117 * $var30; $var30 = $var66.$fogGreen; $var32 = 70.0; $var30 = $var30 * $var32; $var117 = $var117 + $var30; $var30 = 100.0; $var117 = $var117 / $var30; $var66.$fogRed = $var35; $var66.$fogBlue = $var29; $var66.$fogGreen = $var117; } var$6 = $var15; $var35 = $var66.$fogRed; $var29 = $var66.$fogBlue; $var117 = $var66.$fogGreen; $var30 = 0.0; olo_EaglerAdapterGL30_glClearColor($var35, $var29, $var117, $var30); $var64 = 16640; olo_EaglerAdapterGL30_glClear($var64); $var35 = 1.0; $var66.$fogColorMultiplier = $var35; $var64 = 2884; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 512; $var76 = cmm_Minecraft_settings; $var98 = $var76.$viewDistance; $var104 = 1; $var98 = $var98 << $var104; $var64 = $var64 >> $var98; $var35 = $var64; $var66.$fogEnd = $var35; $var64 = 5889; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var29 = 0.07000000029802322; $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var64 = -$var64; $var35 = $var64; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; $var76 = $var66.$minecraft1; $var116 = $var76.$player; $var32 = 70.0; $var64 = $var116.$health; if ($var64 <= 0) { var$6 = $var15; $var64 = $var116.$deathTime; $var35 = $var64; $var35 = $var35 + $var65; $var29 = 1.0; $var117 = 500.0; $var30 = 500.0; $var35 = $var35 + $var30; $var35 = $var117 / $var35; $var35 = $var29 - $var35; $var29 = 2.0; $var35 = $var35 * $var29; $var29 = 1.0; $var35 = $var35 + $var29; $var32 = $var32 / $var35; } var$6 = $var15; $var76 = $var66.$minecraft1; $var64 = $var76.$width; $var35 = $var64; $var76 = $var66.$minecraft1; $var64 = $var76.$height; $var29 = $var64; $var35 = $var35 / $var29; $var29 = 0.05000000074505806; $var117 = $var66.$fogEnd; olo_EaglerAdapterGL30_gluPerspective($var32, $var35, $var29, $var117); $var64 = 5888; olo_EaglerAdapterGL30_glMatrixMode($var64); olo_EaglerAdapterGL30_glLoadIdentity(); $var76 = cmm_Minecraft_settings; $var64 = $var76.$anaglyph; if ($var64) { var$6 = $var15; $var64 = 1; $var64 = $var77 << $var64; $var98 = 1; $var64 = $var64 - $var98 | 0; $var35 = $var64; $var29 = 0.10000000149011612; $var35 = $var35 * $var29; $var29 = 0.0; $var117 = 0.0; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); } var$6 = $var15; cmmr_Renderer_hurtEffect($var66, $var65); $var76 = cmm_Minecraft_settings; $var64 = $var76.$viewBobbing; if ($var64) { var$6 = $var15; cmmr_Renderer_applyBobbing($var66, $var65); } var$6 = $var15; $var76 = $var66.$minecraft1; $var76 = $var76.$player; $var35 = 0.0; $var29 = 0.0; $var117 = (-0.10000000149011612); olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var35 = $var76.$xRotO; $var29 = $var76.$xRot; $var117 = $var76.$xRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 1.0; $var117 = 0.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$yRotO; $var29 = $var76.$yRot; $var117 = $var76.$yRotO; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = 0.0; $var117 = 1.0; $var30 = 0.0; olo_EaglerAdapterGL30_glRotatef($var35, $var29, $var117, $var30); $var35 = $var76.$xo; $var29 = $var76.$x; $var117 = $var76.$xo; $var29 = $var29 - $var117; $var29 = $var29 * $var65; $var35 = $var35 + $var29; $var29 = $var76.$yo; $var117 = $var76.$y; $var30 = $var76.$yo; $var117 = $var117 - $var30; $var117 = $var117 * $var65; $var29 = $var29 + $var117; $var117 = $var76.$zo; $var30 = $var76.$z; $var32 = $var76.$zo; $var30 = $var30 - $var32; $var30 = $var30 * $var65; $var117 = $var117 + $var30; $var35 = -$var35; $var29 = -$var29; $var117 = -$var117; olo_EaglerAdapterGL30_glTranslatef($var35, $var29, $var117); $var76 = cmmr_FrustrumImpl_update(); $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var98 = 0; while (true) { var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var64 = var$69.length; $var64 = $rt_compare($var98, $var64); if ($var64 >= 0) break; var$6 = $var15; var$69 = $var101.$chunkCache; var$69 = var$69.data; $var103 = var$69[$var98]; cmmr_Chunk_clip($var103, $var76); $var64 = 1; $var98 = $var98 + $var64 | 0; } var$6 = $var15; $var101 = $var66.$minecraft1; $var101 = $var101.$levelRenderer; $var103 = $var66.$minecraft1; $var103 = $var103.$levelRenderer; $var103 = $var103.$chunks; $var115 = cmmr_ChunkDirtyDistanceComparator__init_($var126); ju_Collections_sort($var103, $var115); $var103 = $var101.$chunks; $var64 = ju_ArrayList_size($var103); $var98 = 1; $var64 = $var64 - $var98 | 0; $var103 = $var101.$chunks; $var98 = ju_ArrayList_size($var103); $var104 = 3; $var104 = $rt_compare($var98, $var104); if ($var104 > 0) { var$6 = $var15; $var98 = 3; } var$6 = $var15; $var104 = 0; while (true) { var$6 = $var15; $var83 = $rt_compare($var104, $var98); if ($var83 >= 0) break; var$6 = $var15; $var103 = $var101.$chunks; $var83 = $var64 - $var104 | 0; $var103 = ju_ArrayList_remove($var103, $var83); $var103 = $var103; cmmr_Chunk_update($var103); $var83 = 0; $var103.$loaded = $var83; $var83 = 1; $var104 = $var104 + $var83 | 0; } var$6 = $var15; cmmr_Renderer_updateFog($var66); $var64 = 2912; olo_EaglerAdapterGL30_glEnable($var64); $var64 = 0; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var58 = $$je; continue; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { break b; } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } cmm_Minecraft_shutdown($this); return; } try { var$8 = Long_fromInt(100); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cmm_StopGameException) { } else if ($$je instanceof jl_Exception) { $var60 = $$je; break a; } else{ $var66 = $$je; break i; } } } cmm_Minecraft_shutdown($this); return; } try { jl_Throwable_printStackTrace0($var60); break h; } catch ($$e) { $$je = $rt_wrapException($$e); $var66 = $$je; } } cmm_Minecraft_shutdown($this); $rt_throw($var66); } cmm_Minecraft_shutdown($this); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var76, $var101, $var66, $var13, $var15, var$6, $var63, var$8, $var18, $var20, $var24, $var24_0, $var64, $var65, $var81, $var86, $var91, $var94, $var70, $var37, $var29, $var30, $var31, $var35, $var32, $var69, $var74, $var33, $var34, $var87, $var36, $var71, $var117, $var103, $var115, $var77, $var126, $var119, $var89, $var93, $var26, $var116, $var98, $var104, $var58, $var60, $var22, var$48, $var120, $var83, $var110, $var122, $var68, $var125, $var125_0, $var38, $var114, $var108, $var121, $var10001, $var113, $var112, $var123, $var109, $var84, $var10000, $var124, $var92, var$69, $ptr); } function cmm_Minecraft_grabMouse($this) { if (nlea_EaglerAdapterImpl2_isFocused()) return; if (!nlea_EaglerAdapterImpl2_mouseUngrabTimeout && !(document.pointerLockElement != null ? 1 : 0) ? 0 : 1) return; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); cmm_Minecraft_setCurrentScreen($this, null); $this.$lastClick = $this.$ticks + 10000 | 0; } function cmm_Minecraft_pause($this) { var var$1; if ($this.$currentScreen === null) { var$1 = new cmmg_PauseScreen; cmmg_GuiScreen__init_(var$1); cmm_Minecraft_setCurrentScreen($this, var$1); } } function cmm_Minecraft_onMouseClick($this, $var1) { var $var2, $var3, $var4, $var5, $var6; a: { if (!(!$var1 && $this.$blockHitTime > 0)) { if (!$var1) { $var2 = $this.$renderer.$heldBlock; $this.$renderer.$heldBlock.$offset = (-1); $var2.$moving = 1; } if ($var1 == 1) { $var3 = cmmp_Inventory_getSelected($this.$player.$inventory); if ($var3 > 0 && cmmg_SurvivalGameMode_useItem($this.$gamemode, $this.$player, $var3)) { $this.$renderer.$heldBlock.$pos = 0.0; break a; } } if ($this.$selected !== null) { if ($this.$selected.$entityPos == 1) { if ($var1) break a; $this.$selected.$entity0.$hurt($this.$player, 4); return; } if (!$this.$selected.$entityPos) { $var3 = $this.$selected.$x0; $var4 = $this.$selected.$y0; $var5 = $this.$selected.$z0; if ($var1) { if (!$this.$selected.$face) $var4 = $var4 + (-1) | 0; if ($this.$selected.$face == 1) $var4 = $var4 + 1 | 0; if ($this.$selected.$face == 2) $var5 = $var5 + (-1) | 0; if ($this.$selected.$face == 3) $var5 = $var5 + 1 | 0; if ($this.$selected.$face == 4) $var3 = $var3 + (-1) | 0; if ($this.$selected.$face == 5) $var3 = $var3 + 1 | 0; } cmmlt_Block_$callClinit(); $var6 = cmmlt_Block_blocks.data[cmml_Level_getTile($this.$level, $var3, $var4, $var5)]; if (!$var1) { if ($var6 === cmmlt_Block_BEDROCK && $this.$player.$userType < 100) break a; cmmg_SurvivalGameMode_hitBlock($this.$gamemode, $var3, $var4, $var5); return; } $var1 = cmmp_Inventory_getSelected($this.$player.$inventory); if ($var1 <= 0) return; $var6 = cmmlt_Block_blocks.data[cmml_Level_getTile($this.$level, $var3, $var4, $var5)]; if (!($var6 !== null && $var6 !== cmmlt_Block_WATER && $var6 !== cmmlt_Block_STATIONARY_WATER && $var6 !== cmmlt_Block_LAVA && $var6 !== cmmlt_Block_STATIONARY_LAVA)) { $var6 = cmmlt_Block_blocks.data[$var1].$getCollisionBox($var3, $var4, $var5); if ($var6 !== null) { if (cmmp_AABB_intersects($this.$player.$bb, $var6)) break a; if (!cmml_Level_isFree($this.$level, $var6)) break a; } if (!cmmg_SurvivalGameMode_canPlace($this.$gamemode, $var1)) return; cmml_Level_netSetTile($this.$level, $var3, $var4, $var5, $var1); $this.$renderer.$heldBlock.$pos = 0.0; cmmlt_Block_blocks.data[$var1].$onPlace($this.$level, $var3, $var4, $var5); } } } else if (!$var1 && !($this.$gamemode instanceof cmmg_CreativeGameMode)) $this.$blockHitTime = 10; } } } function cmm_Minecraft_tick($this) { var $var17, $var29, $var16, $var25, $var26, $var4, $var40, $var46, $var41, $var43, $var48, $var56, $var62, $var32, $var45, $var8, $var60, $var52, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var52 = $thread.pop();$var60 = $thread.pop();$var8 = $thread.pop();$var45 = $thread.pop();$var32 = $thread.pop();$var62 = $thread.pop();$var56 = $thread.pop();$var48 = $thread.pop();$var43 = $thread.pop();$var41 = $thread.pop();$var46 = $thread.pop();$var40 = $thread.pop();$var4 = $thread.pop();$var26 = $thread.pop();$var25 = $thread.pop();$var16 = $thread.pop();$var29 = $thread.pop();$var17 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var17 = $this.$gamemode; $ptr = 1; case 1: cmmg_SurvivalGameMode_spawnMob($var17); if ($rt_suspending()) { break main; } $var17 = $this.$hud; $var29 = $this.$hud; $var29.$ticks1 = $var29.$ticks1 + 1 | 0; $var16 = 0; while ($var16 < ju_ArrayList_size($var17.$chat)) { $var29 = ju_ArrayList_get($var17.$chat, $var16); $var29.$time = $var29.$time + 1 | 0; $var16 = $var16 + 1 | 0; } $var17 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 2; case 2: cmmr_TextureLocation_bindTexture($var17); if ($rt_suspending()) { break main; } if ($this.$currentScreen === null && $this.$player !== null && $this.$player.$health <= 0) cmm_Minecraft_setCurrentScreen($this, null); if (!($this.$currentScreen !== null && !$this.$currentScreen.$grabsMouse)) { while (nlea_EaglerAdapterImpl2_mouseNext()) { $var16 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var16) cmmp_Inventory_swapPaint($this.$player.$inventory, $var16); if ($this.$currentScreen === null) { if (!$this.$hasMouse && nlea_EaglerAdapterImpl2_mouseGetEventButtonState()) cmm_Minecraft_grabMouse($this); else { if (!nlea_EaglerAdapterImpl2_mouseGetEventButton() && nlea_EaglerAdapterImpl2_mouseGetEventButtonState()) { cmm_Minecraft_onMouseClick($this, 0); $this.$lastClick = $this.$ticks; } if (nlea_EaglerAdapterImpl2_mouseGetEventButton() == 1 && nlea_EaglerAdapterImpl2_mouseGetEventButtonState()) { cmm_Minecraft_onMouseClick($this, 1); $this.$lastClick = $this.$ticks; } if (nlea_EaglerAdapterImpl2_mouseGetEventButton() == 2 && nlea_EaglerAdapterImpl2_mouseGetEventButtonState() && $this.$selected !== null) { $var16 = cmml_Level_getTile($this.$level, $this.$selected.$x0, $this.$selected.$y0, $this.$selected.$z0); cmmlt_Block_$callClinit(); if ($var16 == cmmlt_Block_GRASS.$id) $var16 = cmmlt_Block_DIRT.$id; if ($var16 == cmmlt_Block_DOUBLE_SLAB.$id) $var16 = cmmlt_Block_SLAB.$id; if ($var16 == cmmlt_Block_BEDROCK.$id) $var16 = cmmlt_Block_STONE.$id; cmmp_Inventory_grabTexture($this.$player.$inventory, $var16, $this.$gamemode instanceof cmmg_CreativeGameMode); } } } if ($this.$currentScreen === null) continue; else { $var17 = $this.$currentScreen; $ptr = 4; continue main; } } if ($this.$blockHitTime > 0) $this.$blockHitTime = $this.$blockHitTime - 1 | 0; while (nlea_EaglerAdapterImpl2_keysNext()) { cmmp_Player_setKey($this.$player, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; if ($this.$currentScreen !== null) cmmg_GuiScreen_keyboardEvent($this.$currentScreen); if ($this.$currentScreen === null) { if (nlea_EaglerAdapterImpl2_getEventKey() == 1) cmm_Minecraft_pause($this); if ($this.$gamemode instanceof cmmg_CreativeGameMode) { if (nlea_EaglerAdapterImpl2_getEventKey() == cmm_Minecraft_settings.$loadLocationKey.$key) cmmp_Player_resetPos($this.$player); if (nlea_EaglerAdapterImpl2_getEventKey() == cmm_Minecraft_settings.$saveLocationKey.$key) { cmml_Level_setSpawnPos($this.$level, $this.$player.$x | 0, $this.$player.$y | 0, $this.$player.$z | 0, $this.$player.$yRot); cmmp_Player_resetPos($this.$player); } } nlea_EaglerAdapterImpl2_getEventKey(); if (nlea_EaglerAdapterImpl2_getEventKey() == 63) $this.$raining = $this.$raining ? 0 : 1; if (nlea_EaglerAdapterImpl2_getEventKey() == 15 && $this.$gamemode instanceof cmmg_SurvivalGameMode && $this.$player.$arrows > 0) { cmml_Level_addEntity($this.$level, cmmi_Arrow__init_($this.$level, $this.$player, $this.$player.$x, $this.$player.$y, $this.$player.$z, $this.$player.$yRot, $this.$player.$xRot, 1.2000000476837158)); $var17 = $this.$player; $var17.$arrows = $var17.$arrows - 1 | 0; } if (nlea_EaglerAdapterImpl2_getEventKey() == cmm_Minecraft_settings.$buildKey.$key) cmmg_GameMode_openInventory($this.$gamemode); } $var25 = 0; while ($var25 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == ($var25 + 2 | 0)) $this.$player.$inventory.$selected0 = $var25; $var25 = $var25 + 1 | 0; } if (nlea_EaglerAdapterImpl2_getEventKey() != cmm_Minecraft_settings.$toggleFogKey.$key) continue; cmm_GameSettings_toggleSetting(cmm_Minecraft_settings, 4, !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1)); } if ($this.$currentScreen === null) { if (nlea_EaglerAdapterImpl2_mouseIsButtonDown(0) && ($this.$ticks - $this.$lastClick | 0) >= $this.$timer.$tps / 4.0 && $this.$hasMouse) { cmm_Minecraft_onMouseClick($this, 0); $this.$lastClick = $this.$ticks; } if (nlea_EaglerAdapterImpl2_mouseIsButtonDown(1) && ($this.$ticks - $this.$lastClick | 0) >= $this.$timer.$tps / 4.0 && $this.$hasMouse) { cmm_Minecraft_onMouseClick($this, 1); $this.$lastClick = $this.$ticks; } } $var26 = $this.$currentScreen === null && nlea_EaglerAdapterImpl2_mouseIsButtonDown(0) && $this.$hasMouse ? 1 : 0; if (!$this.$gamemode.$instantBreak && $this.$blockHitTime <= 0) { if ($var26 && $this.$selected !== null && !$this.$selected.$entityPos) { $var4 = $this.$selected.$x0; $var40 = $this.$selected.$y0; $var46 = $this.$selected.$z0; cmmg_SurvivalGameMode_hitBlock0($this.$gamemode, $var4, $var40, $var46, $this.$selected.$face); } else cmmg_SurvivalGameMode_resetHits($this.$gamemode); } } if ($this.$currentScreen !== null) $this.$lastClick = $this.$ticks + 10000 | 0; if ($this.$currentScreen === null) { if ($this.$level !== null) { $var29 = $this.$renderer; $var17 = $this.$renderer; $var17.$levelTicks = $var17.$levelTicks + 1 | 0; $var41 = $var29.$heldBlock; $var29.$heldBlock.$lastPos = $var41.$pos; if ($var41.$moving) { $var41.$offset = $var41.$offset + 1 | 0; if ($var41.$offset == 7) { $var41.$offset = 0; $var41.$moving = 0; } } $var4 = cmmp_Inventory_getSelected($var41.$minecraft2.$player.$inventory); $var43 = null; if ($var4 > 0) { cmmlt_Block_$callClinit(); $var43 = cmmlt_Block_blocks.data[$var4]; } $var48 = 0.4000000059604645; $var56 = ($var43 !== $var41.$block ? 0.0 : 1.0) - $var41.$pos; $var62 = (-0.4000000059604645); if ($var56 >= $var62) $var62 = $var56; if ($var62 <= $var48) $var48 = $var62; $var41.$pos = $var41.$pos + $var48; if ($var41.$pos < 0.10000000149011612) $var41.$block = $var43; a: { if ($var29.$minecraft1.$raining) { $var17 = $var29.$minecraft1.$player; $var32 = $var29.$minecraft1.$level; $var40 = $var17.$x | 0; $var46 = $var17.$y | 0; $var45 = $var17.$z | 0; $var8 = 0; $var4 = $var46 + 4 | 0; $var46 = $var46 - 4 | 0; while (true) { if ($var8 >= 50) break a; $var60 = ($var40 + ju_Random_nextInt($var29.$random, 9) | 0) - 4 | 0; $var52 = ($var45 + ju_Random_nextInt($var29.$random, 9) | 0) - 4 | 0; $var16 = cmml_Level_getHighestTile($var32, $var60, $var52); if ($var16 <= $var4 && $var16 >= $var46) { $var56 = ju_Random_nextFloat($var29.$random); $var62 = ju_Random_nextFloat($var29.$random); cmmp_ParticleManager_spawnParticle($var29.$minecraft1.$particleManager, cmmp_WaterDropParticle__init_($var32, $var60 + $var56, $var16 + 0.10000000149011612, $var52 + $var62)); } $var8 = $var8 + 1 | 0; } } } $var17 = $this.$levelRenderer; $var17.$ticks0 = $var17.$ticks0 + 1 | 0; cmml_Level_tickEntities($this.$level); cmml_Level_tick($this.$level); cmmp_ParticleManager_tick($this.$particleManager); } return; } $var17 = $this.$currentScreen; $ptr = 3; case 3: cmmg_GuiScreen_doInput($var17); if ($rt_suspending()) { break main; } if ($this.$currentScreen !== null) cmmg_GuiScreen_tick($this.$currentScreen); if ($this.$level !== null) { $var29 = $this.$renderer; $var17 = $this.$renderer; $var17.$levelTicks = $var17.$levelTicks + 1 | 0; $var41 = $var29.$heldBlock; $var29.$heldBlock.$lastPos = $var41.$pos; if ($var41.$moving) { $var41.$offset = $var41.$offset + 1 | 0; if ($var41.$offset == 7) { $var41.$offset = 0; $var41.$moving = 0; } } $var4 = cmmp_Inventory_getSelected($var41.$minecraft2.$player.$inventory); $var43 = null; if ($var4 > 0) { cmmlt_Block_$callClinit(); $var43 = cmmlt_Block_blocks.data[$var4]; } $var48 = 0.4000000059604645; $var56 = ($var43 !== $var41.$block ? 0.0 : 1.0) - $var41.$pos; $var62 = (-0.4000000059604645); if ($var56 >= $var62) $var62 = $var56; if ($var62 <= $var48) $var48 = $var62; $var41.$pos = $var41.$pos + $var48; if ($var41.$pos < 0.10000000149011612) $var41.$block = $var43; b: { if ($var29.$minecraft1.$raining) { $var17 = $var29.$minecraft1.$player; $var32 = $var29.$minecraft1.$level; $var40 = $var17.$x | 0; $var46 = $var17.$y | 0; $var45 = $var17.$z | 0; $var8 = 0; $var4 = $var46 + 4 | 0; $var46 = $var46 - 4 | 0; while (true) { if ($var8 >= 50) break b; $var60 = ($var40 + ju_Random_nextInt($var29.$random, 9) | 0) - 4 | 0; $var52 = ($var45 + ju_Random_nextInt($var29.$random, 9) | 0) - 4 | 0; $var16 = cmml_Level_getHighestTile($var32, $var60, $var52); if ($var16 <= $var4 && $var16 >= $var46) { $var56 = ju_Random_nextFloat($var29.$random); $var62 = ju_Random_nextFloat($var29.$random); cmmp_ParticleManager_spawnParticle($var29.$minecraft1.$particleManager, cmmp_WaterDropParticle__init_($var32, $var60 + $var56, $var16 + 0.10000000149011612, $var52 + $var62)); } $var8 = $var8 + 1 | 0; } } } $var17 = $this.$levelRenderer; $var17.$ticks0 = $var17.$ticks0 + 1 | 0; cmml_Level_tickEntities($this.$level); cmml_Level_tick($this.$level); cmmp_ParticleManager_tick($this.$particleManager); } return; case 4: cmmg_GuiScreen_mouseEvent($var17); if ($rt_suspending()) { break main; } while (true) { if (!nlea_EaglerAdapterImpl2_mouseNext()) { if ($this.$blockHitTime > 0) $this.$blockHitTime = $this.$blockHitTime - 1 | 0; while (nlea_EaglerAdapterImpl2_keysNext()) { cmmp_Player_setKey($this.$player, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; if ($this.$currentScreen !== null) cmmg_GuiScreen_keyboardEvent($this.$currentScreen); if ($this.$currentScreen === null) { if (nlea_EaglerAdapterImpl2_getEventKey() == 1) cmm_Minecraft_pause($this); if ($this.$gamemode instanceof cmmg_CreativeGameMode) { if (nlea_EaglerAdapterImpl2_getEventKey() == cmm_Minecraft_settings.$loadLocationKey.$key) cmmp_Player_resetPos($this.$player); if (nlea_EaglerAdapterImpl2_getEventKey() == cmm_Minecraft_settings.$saveLocationKey.$key) { cmml_Level_setSpawnPos($this.$level, $this.$player.$x | 0, $this.$player.$y | 0, $this.$player.$z | 0, $this.$player.$yRot); cmmp_Player_resetPos($this.$player); } } nlea_EaglerAdapterImpl2_getEventKey(); if (nlea_EaglerAdapterImpl2_getEventKey() == 63) $this.$raining = $this.$raining ? 0 : 1; if (nlea_EaglerAdapterImpl2_getEventKey() == 15 && $this.$gamemode instanceof cmmg_SurvivalGameMode && $this.$player.$arrows > 0) { cmml_Level_addEntity($this.$level, cmmi_Arrow__init_($this.$level, $this.$player, $this.$player.$x, $this.$player.$y, $this.$player.$z, $this.$player.$yRot, $this.$player.$xRot, 1.2000000476837158)); $var17 = $this.$player; $var17.$arrows = $var17.$arrows - 1 | 0; } if (nlea_EaglerAdapterImpl2_getEventKey() == cmm_Minecraft_settings.$buildKey.$key) cmmg_GameMode_openInventory($this.$gamemode); } $var25 = 0; while ($var25 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == ($var25 + 2 | 0)) $this.$player.$inventory.$selected0 = $var25; $var25 = $var25 + 1 | 0; } if (nlea_EaglerAdapterImpl2_getEventKey() != cmm_Minecraft_settings.$toggleFogKey.$key) continue; cmm_GameSettings_toggleSetting(cmm_Minecraft_settings, 4, !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1)); } if ($this.$currentScreen === null) { if (nlea_EaglerAdapterImpl2_mouseIsButtonDown(0) && ($this.$ticks - $this.$lastClick | 0) >= $this.$timer.$tps / 4.0 && $this.$hasMouse) { cmm_Minecraft_onMouseClick($this, 0); $this.$lastClick = $this.$ticks; } if (nlea_EaglerAdapterImpl2_mouseIsButtonDown(1) && ($this.$ticks - $this.$lastClick | 0) >= $this.$timer.$tps / 4.0 && $this.$hasMouse) { cmm_Minecraft_onMouseClick($this, 1); $this.$lastClick = $this.$ticks; } } $var26 = $this.$currentScreen === null && nlea_EaglerAdapterImpl2_mouseIsButtonDown(0) && $this.$hasMouse ? 1 : 0; if (!$this.$gamemode.$instantBreak && $this.$blockHitTime <= 0) { if ($var26 && $this.$selected !== null && !$this.$selected.$entityPos) { $var4 = $this.$selected.$x0; $var40 = $this.$selected.$y0; $var46 = $this.$selected.$z0; cmmg_SurvivalGameMode_hitBlock0($this.$gamemode, $var4, $var40, $var46, $this.$selected.$face); } else cmmg_SurvivalGameMode_resetHits($this.$gamemode); } if ($this.$currentScreen !== null) $this.$lastClick = $this.$ticks + 10000 | 0; if ($this.$currentScreen === null) { if ($this.$level !== null) { $var29 = $this.$renderer; $var17 = $this.$renderer; $var17.$levelTicks = $var17.$levelTicks + 1 | 0; $var41 = $var29.$heldBlock; $var29.$heldBlock.$lastPos = $var41.$pos; if ($var41.$moving) { $var41.$offset = $var41.$offset + 1 | 0; if ($var41.$offset == 7) { $var41.$offset = 0; $var41.$moving = 0; } } $var4 = cmmp_Inventory_getSelected($var41.$minecraft2.$player.$inventory); $var43 = null; if ($var4 > 0) { cmmlt_Block_$callClinit(); $var43 = cmmlt_Block_blocks.data[$var4]; } $var48 = 0.4000000059604645; $var56 = ($var43 !== $var41.$block ? 0.0 : 1.0) - $var41.$pos; $var62 = (-0.4000000059604645); if ($var56 >= $var62) $var62 = $var56; if ($var62 <= $var48) $var48 = $var62; $var41.$pos = $var41.$pos + $var48; if ($var41.$pos < 0.10000000149011612) $var41.$block = $var43; c: { if ($var29.$minecraft1.$raining) { $var17 = $var29.$minecraft1.$player; $var32 = $var29.$minecraft1.$level; $var40 = $var17.$x | 0; $var46 = $var17.$y | 0; $var45 = $var17.$z | 0; $var8 = 0; $var4 = $var46 + 4 | 0; $var46 = $var46 - 4 | 0; while (true) { if ($var8 >= 50) break c; $var60 = ($var40 + ju_Random_nextInt($var29.$random, 9) | 0) - 4 | 0; $var52 = ($var45 + ju_Random_nextInt($var29.$random, 9) | 0) - 4 | 0; $var16 = cmml_Level_getHighestTile($var32, $var60, $var52); if ($var16 <= $var4 && $var16 >= $var46) { $var56 = ju_Random_nextFloat($var29.$random); $var62 = ju_Random_nextFloat($var29.$random); cmmp_ParticleManager_spawnParticle($var29.$minecraft1.$particleManager, cmmp_WaterDropParticle__init_($var32, $var60 + $var56, $var16 + 0.10000000149011612, $var52 + $var62)); } $var8 = $var8 + 1 | 0; } } } $var17 = $this.$levelRenderer; $var17.$ticks0 = $var17.$ticks0 + 1 | 0; cmml_Level_tickEntities($this.$level); cmml_Level_tick($this.$level); cmmp_ParticleManager_tick($this.$particleManager); } return; } $var17 = $this.$currentScreen; $ptr = 3; continue main; } $var16 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var16) cmmp_Inventory_swapPaint($this.$player.$inventory, $var16); if ($this.$currentScreen === null) { if (!$this.$hasMouse && nlea_EaglerAdapterImpl2_mouseGetEventButtonState()) cmm_Minecraft_grabMouse($this); else { if (!nlea_EaglerAdapterImpl2_mouseGetEventButton() && nlea_EaglerAdapterImpl2_mouseGetEventButtonState()) { cmm_Minecraft_onMouseClick($this, 0); $this.$lastClick = $this.$ticks; } if (nlea_EaglerAdapterImpl2_mouseGetEventButton() == 1 && nlea_EaglerAdapterImpl2_mouseGetEventButtonState()) { cmm_Minecraft_onMouseClick($this, 1); $this.$lastClick = $this.$ticks; } if (nlea_EaglerAdapterImpl2_mouseGetEventButton() == 2 && nlea_EaglerAdapterImpl2_mouseGetEventButtonState() && $this.$selected !== null) { $var16 = cmml_Level_getTile($this.$level, $this.$selected.$x0, $this.$selected.$y0, $this.$selected.$z0); cmmlt_Block_$callClinit(); if ($var16 == cmmlt_Block_GRASS.$id) $var16 = cmmlt_Block_DIRT.$id; if ($var16 == cmmlt_Block_DOUBLE_SLAB.$id) $var16 = cmmlt_Block_SLAB.$id; if ($var16 == cmmlt_Block_BEDROCK.$id) $var16 = cmmlt_Block_STONE.$id; cmmp_Inventory_grabTexture($this.$player.$inventory, $var16, $this.$gamemode instanceof cmmg_CreativeGameMode); } } } if ($this.$currentScreen === null) continue; else break; } $var17 = $this.$currentScreen; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var17, $var29, $var16, $var25, $var26, $var4, $var40, $var46, $var41, $var43, $var48, $var56, $var62, $var32, $var45, $var8, $var60, $var52, $ptr); } function cmm_Minecraft_generateLevel($this, $var1) { var $var2, $var4, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$session === null ? $rt_s(190) : $this.$session.$username; $var4 = new cmmlg_LevelGenerator; var$4 = $this.$progressBar; $var4.$random0 = new ju_Random; $var4.$h0 = $rt_createIntArray(1048576); $var4.$progressBar1 = var$4; $var1 = 128 << $var1; var$5 = 64; $ptr = 1; case 1: $tmp = cmmlg_LevelGenerator_generate($var4, $var2, $var1, $var1, var$5); if ($rt_suspending()) { break main; } $var4 = $tmp; $var2 = $this.$gamemode; $ptr = 2; case 2: cmmg_SurvivalGameMode_prepareLevel($var2, $var4); if ($rt_suspending()) { break main; } cmm_Minecraft_setLevel($this, $var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, var$4, var$5, $ptr); } function cmm_Minecraft_setLevel($this, $var1) { var $var3, $var5, var$4, var$5, $var4; $this.$level = $var1; if ($var1 !== null) { cmml_Level_initTransient($var1); cmmg_SurvivalGameMode_apply($this.$gamemode, $var1); $var1.$font = $this.$fontRenderer; $var1.$rendererContext$5cd64a7f = $this; $this.$player = cmml_Level_findSubclassOf($var1, $rt_cls(cmmp_Player)); } if ($this.$player === null) { $var3 = new cmmp_Player; cmmm_Mob__init_($var3, $var1); $var5 = new cmmp_Inventory; $var5.$slots = $rt_createIntArray(9); $var5.$count0 = $rt_createIntArray(9); $var5.$popTime = $rt_createIntArray(9); $var5.$selected0 = 0; var$4 = 0; while (var$4 < 9) { $var5.$slots.data[var$4] = (-1); $var5.$count0.data[var$4] = 0; var$4 = var$4 + 1 | 0; } $var3.$inventory = $var5; $var3.$userType = 0; $var3.$score = 0; $var3.$arrows = 20; if ($var1 !== null) { $var1.$player0 = $var3; cmml_Level_removeEntity($var1, $var3); cmml_Level_addEntity($var1, $var3); } $var3.$heightOffset = 1.6200000047683716; $var3.$health = 20; $var3.$modelName = $rt_s(191); $var3.$rotOffs = 180.0; $var5 = new cmmp_Player$1; cmmma_BasicAI__init_($var5); $var5.$player1 = $var3; $var3.$ai = $var5; $this.$player = $var3; cmmp_Player_resetPos($this.$player); cmmg_SurvivalGameMode_preparePlayer($this.$gamemode, $this.$player); if ($var1 !== null) $var1.$player0 = $this.$player; } if ($this.$player !== null) { $var3 = $this.$player; $var5 = new cmmp_InputHandlerImpl; var$5 = cmm_Minecraft_settings; $var5.$xxa = 0.0; $var5.$jumping = 0.0; $var5.$yya = 0; $var5.$keyStates = $rt_createBooleanArray(10); $var5.$settings = var$5; $var3.$input = $var5; } if ($this.$levelRenderer !== null) { $var3 = $this.$levelRenderer; if ($this.$levelRenderer.$level0 !== null) cmml_Level_removeListener($var3.$level0, $var3); $var3.$level0 = $var1; if ($var1 !== null) { cmml_Level_addListener($var1, $var3); cmmr_LevelRenderer_refresh($var3); } } a: { if ($this.$particleManager !== null) { $var5 = $this.$particleManager; if ($var1 !== null) $var1.$particleEngine = $var5; $var4 = 0; while (true) { if ($var4 >= 2) break a; ju_ArrayList_clear($var5.$particles.data[$var4]); $var4 = $var4 + 1 | 0; } } } } function otjde_EventListener() { } function nlea_EaglerAdapterImpl2$2() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$2__init_() { var var_0 = new nlea_EaglerAdapterImpl2$2(); nlea_EaglerAdapterImpl2$2__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$2__init_0($this) { return; } function nlea_EaglerAdapterImpl2$2_handleEvent($this, $evt) { $evt.preventDefault(); $evt.stopPropagation(); } function nlea_EaglerAdapterImpl2$2_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$2_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$2_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$2_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$3() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$3__init_() { var var_0 = new nlea_EaglerAdapterImpl2$3(); nlea_EaglerAdapterImpl2$3__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$3__init_0($this) { return; } function nlea_EaglerAdapterImpl2$3_handleEvent($this, $evt) { var $b, var$3; $b = $evt.button; var$3 = nlea_EaglerAdapterImpl2_access$100(); if ($b == 1) $b = 2; else if ($b == 2) $b = 1; var$3.data[$b] = 1; ju_AbstractList_add(nlea_EaglerAdapterImpl2_access$200(), $evt); $evt.preventDefault(); $evt.stopPropagation(); nlea_EaglerAdapterImpl2_access$300(); } function nlea_EaglerAdapterImpl2$3_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$3_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$3_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$3_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$4() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$4__init_() { var var_0 = new nlea_EaglerAdapterImpl2$4(); nlea_EaglerAdapterImpl2$4__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$4__init_0($this) { return; } function nlea_EaglerAdapterImpl2$4_handleEvent($this, $evt) { var $b, var$3; $b = $evt.button; var$3 = nlea_EaglerAdapterImpl2_access$100(); if ($b == 1) $b = 2; else if ($b == 2) $b = 1; var$3.data[$b] = 0; ju_AbstractList_add(nlea_EaglerAdapterImpl2_access$200(), $evt); $evt.preventDefault(); $evt.stopPropagation(); } function nlea_EaglerAdapterImpl2$4_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$4_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$4_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$4_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$5() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$5__init_() { var var_0 = new nlea_EaglerAdapterImpl2$5(); nlea_EaglerAdapterImpl2$5__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$5__init_0($this) { return; } function nlea_EaglerAdapterImpl2$5_handleEvent($this, $evt) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_mouseX = $evt.offsetX; nlea_EaglerAdapterImpl2_mouseY = nlea_EaglerAdapterImpl2_canvas.clientHeight - $evt.offsetY | 0; nlea_EaglerAdapterImpl2_mouseDX = nlea_EaglerAdapterImpl2_mouseDX + $evt.movementX; nlea_EaglerAdapterImpl2_mouseDY = nlea_EaglerAdapterImpl2_mouseDY + -$evt.movementY; $evt.preventDefault(); $evt.stopPropagation(); } function nlea_EaglerAdapterImpl2$5_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$5_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$5_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$5_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$6() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$6__init_() { var var_0 = new nlea_EaglerAdapterImpl2$6(); nlea_EaglerAdapterImpl2$6__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$6__init_0($this) { return; } function nlea_EaglerAdapterImpl2$6_handleEvent($this, $evt) { nlea_EaglerAdapterImpl2_access$1000().data[nlea_EaglerAdapterImpl2_access$1200(nlea_EaglerAdapterImpl2_access$1100($evt))] = 1; ju_AbstractList_add(nlea_EaglerAdapterImpl2_access$1300(), $evt); $evt.preventDefault(); $evt.stopPropagation(); nlea_EaglerAdapterImpl2_access$300(); } function nlea_EaglerAdapterImpl2$6_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$6_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$6_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$6_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$7() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$7__init_() { var var_0 = new nlea_EaglerAdapterImpl2$7(); nlea_EaglerAdapterImpl2$7__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$7__init_0($this) { return; } function nlea_EaglerAdapterImpl2$7_handleEvent($this, $evt) { nlea_EaglerAdapterImpl2_access$1000().data[nlea_EaglerAdapterImpl2_access$1200(nlea_EaglerAdapterImpl2_access$1100($evt))] = 0; ju_AbstractList_add(nlea_EaglerAdapterImpl2_access$1300(), $evt); $evt.preventDefault(); $evt.stopPropagation(); } function nlea_EaglerAdapterImpl2$7_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$7_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$7_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$7_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$8() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$8__init_() { var var_0 = new nlea_EaglerAdapterImpl2$8(); nlea_EaglerAdapterImpl2$8__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$8__init_0($this) { return; } function nlea_EaglerAdapterImpl2$8_handleEvent($this, $evt) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_enableRepeatEvents && ($evt.repeat ? 1 : 0)) ju_AbstractList_add(nlea_EaglerAdapterImpl2_access$1300(), $evt); $evt.preventDefault(); $evt.stopPropagation(); } function nlea_EaglerAdapterImpl2$8_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$8_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$8_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$8_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$9() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$9__init_() { var var_0 = new nlea_EaglerAdapterImpl2$9(); nlea_EaglerAdapterImpl2$9__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$9__init_0($this) { return; } function nlea_EaglerAdapterImpl2$9_handleEvent($this, $evt) { ju_AbstractList_add(nlea_EaglerAdapterImpl2_access$200(), $evt); $evt.preventDefault(); $evt.stopPropagation(); } function nlea_EaglerAdapterImpl2$9_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$9_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$9_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$9_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$10() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$10__init_() { var var_0 = new nlea_EaglerAdapterImpl2$10(); nlea_EaglerAdapterImpl2$10__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$10__init_0($this) { return; } function nlea_EaglerAdapterImpl2$10_handleEvent($this, $evt) { nlea_EaglerAdapterImpl2_access$1502(0); } function nlea_EaglerAdapterImpl2$10_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$10_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$10_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$10_handleEvent0(var$0, var$1); } function nlea_EaglerAdapterImpl2$11() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$11__init_() { var var_0 = new nlea_EaglerAdapterImpl2$11(); nlea_EaglerAdapterImpl2$11__init_0(var_0); return var_0; } function nlea_EaglerAdapterImpl2$11__init_0($this) { return; } function nlea_EaglerAdapterImpl2$11_handleEvent($this, $evt) { nlea_EaglerAdapterImpl2_access$1502(1); nlea_EaglerAdapterImpl2_access$300(); } function nlea_EaglerAdapterImpl2$11_handleEvent0($this, var$1) { nlea_EaglerAdapterImpl2$11_handleEvent($this, var$1); } function nlea_EaglerAdapterImpl2$11_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$11_handleEvent0(var$0, var$1); } function nle_EarlyLoadScreen() { jl_Object.call(this); } var nle_EarlyLoadScreen_vbo = null; var nle_EarlyLoadScreen_program = null; function nle_EarlyLoadScreen_paintScreen() { var $tex, var$2, $img, $upload, $vert, $frag, var$7, $e, $width, $height, $x, $y, $vao, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$vao = $thread.pop();$y = $thread.pop();$x = $thread.pop();$height = $thread.pop();$width = $thread.pop();$e = $thread.pop();var$7 = $thread.pop();$frag = $thread.pop();$vert = $thread.pop();$upload = $thread.pop();$img = $thread.pop();var$2 = $thread.pop();$tex = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $tex = nlea_EaglerAdapterImpl2__wglGenTextures(); nlea_EaglerAdapterImpl2__wglActiveTexture(33984); nlea_EaglerAdapterImpl2__wglBindTexture(3553, $tex); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10240, 9728); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10241, 9728); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10242, 33071); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10243, 33071); var$2 = nle_Base64_decodeBase64($rt_s(192)); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$2); if ($rt_suspending()) { break main; } $img = $tmp; $upload = nle_GLAllocation_createDirectIntBuffer(36864); jn_IntBuffer_put($upload, $img.$data); jn_IntBuffer_flip($upload); nlea_EaglerAdapterImpl2__wglTexImage2D(3553, 0, 6408, 192, 192, 0, 6408, 5121, $upload); jn_IntBuffer_clear($upload); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(0.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(0.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(0.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(1.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(1.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(0.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(1.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(0.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(0.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(1.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(1.0)); jn_IntBufferImpl_put($upload, $rt_floatToIntBits(1.0)); jn_IntBuffer_flip($upload); nle_EarlyLoadScreen_vbo = nlea_EaglerAdapterImpl2__wglCreateBuffer(); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, nle_EarlyLoadScreen_vbo); nlea_EaglerAdapterImpl2__wglBufferData0(34962, $upload, 35044); $vert = nlea_EaglerAdapterImpl2__wglCreateShader(35633); nlea_EaglerAdapterImpl2__wglShaderSource($vert, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), nlea_EaglerAdapterImpl2__wgetShaderHeader()), $rt_s(193)))); nlea_EaglerAdapterImpl2__wglCompileShader($vert); $frag = nlea_EaglerAdapterImpl2__wglCreateShader(35632); nlea_EaglerAdapterImpl2__wglShaderSource($frag, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), nlea_EaglerAdapterImpl2__wgetShaderHeader()), $rt_s(194)))); nlea_EaglerAdapterImpl2__wglCompileShader($frag); nle_EarlyLoadScreen_program = nlea_EaglerAdapterImpl2__wglCreateProgram(); nlea_EaglerAdapterImpl2__wglAttachShader(nle_EarlyLoadScreen_program, $vert); nlea_EaglerAdapterImpl2__wglAttachShader(nle_EarlyLoadScreen_program, $frag); nlea_EaglerAdapterImpl2__wglBindAttributeLocation(nle_EarlyLoadScreen_program, 0, $rt_s(195)); nlea_EaglerAdapterImpl2__wglLinkProgram(nle_EarlyLoadScreen_program); nlea_EaglerAdapterImpl2__wglDetachShader(nle_EarlyLoadScreen_program, $vert); nlea_EaglerAdapterImpl2__wglDetachShader(nle_EarlyLoadScreen_program, $frag); nlea_EaglerAdapterImpl2__wglDeleteShader($vert); nlea_EaglerAdapterImpl2__wglDeleteShader($frag); try { var$7 = Long_fromInt(50); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); nlea_EaglerAdapterImpl2__wglUseProgram(nle_EarlyLoadScreen_program); nlea_EaglerAdapterImpl2__wglUniform1i(nlea_EaglerAdapterImpl2__wglGetUniformLocation(nle_EarlyLoadScreen_program, $rt_s(196)), 0); $width = nlea_EaglerAdapterImpl2_getCanvasWidth(); $height = nlea_EaglerAdapterImpl2_getCanvasHeight(); if ($width <= $height) { $x = 1.0; $y = $height / $width; } else { $x = $width / $height; $y = 1.0; } nlea_EaglerAdapterImpl2__wglActiveTexture(33984); nlea_EaglerAdapterImpl2__wglBindTexture(3553, $tex); nlea_EaglerAdapterImpl2__wglViewport(0, 0, $width, $height); nlea_EaglerAdapterImpl2__wglClearColor(1.0, 1.0, 1.0, 1.0); nlea_EaglerAdapterImpl2__wglClear(16640); nlea_EaglerAdapterImpl2__wglUniform2f(nlea_EaglerAdapterImpl2__wglGetUniformLocation(nle_EarlyLoadScreen_program, $rt_s(197)), $x, $y); $vao = nlea_EaglerAdapterImpl2__wglCreateVertexArray(); nlea_EaglerAdapterImpl2__wglBindVertexArray($vao); nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray(0); nlea_EaglerAdapterImpl2__wglVertexAttribPointer(0, 2, 5126, 0, 8, 0); nlea_EaglerAdapterImpl2__wglDrawArrays(4, 0, 6); nlea_EaglerAdapterImpl2__wglDisableVertexAttribArray(0); $ptr = 3; continue main; case 2: a: { try { jl_Thread_sleep(var$7); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } nlea_EaglerAdapterImpl2__wglUseProgram(nle_EarlyLoadScreen_program); nlea_EaglerAdapterImpl2__wglUniform1i(nlea_EaglerAdapterImpl2__wglGetUniformLocation(nle_EarlyLoadScreen_program, $rt_s(196)), 0); $width = nlea_EaglerAdapterImpl2_getCanvasWidth(); $height = nlea_EaglerAdapterImpl2_getCanvasHeight(); if ($width <= $height) { $x = 1.0; $y = $height / $width; } else { $x = $width / $height; $y = 1.0; } nlea_EaglerAdapterImpl2__wglActiveTexture(33984); nlea_EaglerAdapterImpl2__wglBindTexture(3553, $tex); nlea_EaglerAdapterImpl2__wglViewport(0, 0, $width, $height); nlea_EaglerAdapterImpl2__wglClearColor(1.0, 1.0, 1.0, 1.0); nlea_EaglerAdapterImpl2__wglClear(16640); nlea_EaglerAdapterImpl2__wglUniform2f(nlea_EaglerAdapterImpl2__wglGetUniformLocation(nle_EarlyLoadScreen_program, $rt_s(197)), $x, $y); $vao = nlea_EaglerAdapterImpl2__wglCreateVertexArray(); nlea_EaglerAdapterImpl2__wglBindVertexArray($vao); nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray(0); nlea_EaglerAdapterImpl2__wglVertexAttribPointer(0, 2, 5126, 0, 8, 0); nlea_EaglerAdapterImpl2__wglDrawArrays(4, 0, 6); nlea_EaglerAdapterImpl2__wglDisableVertexAttribArray(0); $ptr = 3; case 3: nlea_EaglerAdapterImpl2_updateDisplay(); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2__wglUseProgram(null); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, null); nlea_EaglerAdapterImpl2__wglBindTexture(3553, null); nlea_EaglerAdapterImpl2__wglDeleteTextures($tex); nlea_EaglerAdapterImpl2__wglDeleteVertexArray($vao); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($tex, var$2, $img, $upload, $vert, $frag, var$7, $e, $width, $height, $x, $y, $vao, $ptr); } function nle_EarlyLoadScreen_paintEnable() { var $tex, var$2, $img, $upload, var$5, $e, $width, $height, $x, $y, $vao, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$vao = $thread.pop();$y = $thread.pop();$x = $thread.pop();$height = $thread.pop();$width = $thread.pop();$e = $thread.pop();var$5 = $thread.pop();$upload = $thread.pop();$img = $thread.pop();var$2 = $thread.pop();$tex = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $tex = nlea_EaglerAdapterImpl2__wglGenTextures(); nlea_EaglerAdapterImpl2__wglActiveTexture(33984); nlea_EaglerAdapterImpl2__wglBindTexture(3553, $tex); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10240, 9728); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10241, 9728); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10242, 33071); nlea_EaglerAdapterImpl2__wglTexParameteri(3553, 10243, 33071); var$2 = nle_Base64_decodeBase64($rt_s(198)); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$2); if ($rt_suspending()) { break main; } $img = $tmp; $upload = nle_GLAllocation_createDirectIntBuffer(16384); jn_IntBuffer_put($upload, $img.$data); jn_IntBuffer_flip($upload); nlea_EaglerAdapterImpl2__wglTexImage2D(3553, 0, 6408, 128, 128, 0, 6408, 5121, $upload); try { var$5 = Long_fromInt(50); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); nlea_EaglerAdapterImpl2__wglUseProgram(nle_EarlyLoadScreen_program); $width = nlea_EaglerAdapterImpl2_getCanvasWidth(); $height = nlea_EaglerAdapterImpl2_getCanvasHeight(); if ($width <= $height) { $x = 1.0; $y = $height / $width; } else { $x = $width / $height; $y = 1.0; } nlea_EaglerAdapterImpl2__wglActiveTexture(33984); nlea_EaglerAdapterImpl2__wglBindTexture(3553, $tex); nlea_EaglerAdapterImpl2__wglViewport(0, 0, $width, $height); nlea_EaglerAdapterImpl2__wglClearColor(1.0, 1.0, 1.0, 1.0); nlea_EaglerAdapterImpl2__wglClear(16640); nlea_EaglerAdapterImpl2__wglUniform2f(nlea_EaglerAdapterImpl2__wglGetUniformLocation(nle_EarlyLoadScreen_program, $rt_s(197)), $x, $y); $vao = nlea_EaglerAdapterImpl2__wglCreateVertexArray(); nlea_EaglerAdapterImpl2__wglBindVertexArray($vao); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, nle_EarlyLoadScreen_vbo); nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray(0); nlea_EaglerAdapterImpl2__wglVertexAttribPointer(0, 2, 5126, 0, 8, 0); nlea_EaglerAdapterImpl2__wglDrawArrays(4, 0, 6); nlea_EaglerAdapterImpl2__wglDisableVertexAttribArray(0); $ptr = 3; continue main; case 2: a: { try { jl_Thread_sleep(var$5); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } nlea_EaglerAdapterImpl2__wglUseProgram(nle_EarlyLoadScreen_program); $width = nlea_EaglerAdapterImpl2_getCanvasWidth(); $height = nlea_EaglerAdapterImpl2_getCanvasHeight(); if ($width <= $height) { $x = 1.0; $y = $height / $width; } else { $x = $width / $height; $y = 1.0; } nlea_EaglerAdapterImpl2__wglActiveTexture(33984); nlea_EaglerAdapterImpl2__wglBindTexture(3553, $tex); nlea_EaglerAdapterImpl2__wglViewport(0, 0, $width, $height); nlea_EaglerAdapterImpl2__wglClearColor(1.0, 1.0, 1.0, 1.0); nlea_EaglerAdapterImpl2__wglClear(16640); nlea_EaglerAdapterImpl2__wglUniform2f(nlea_EaglerAdapterImpl2__wglGetUniformLocation(nle_EarlyLoadScreen_program, $rt_s(197)), $x, $y); $vao = nlea_EaglerAdapterImpl2__wglCreateVertexArray(); nlea_EaglerAdapterImpl2__wglBindVertexArray($vao); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, nle_EarlyLoadScreen_vbo); nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray(0); nlea_EaglerAdapterImpl2__wglVertexAttribPointer(0, 2, 5126, 0, 8, 0); nlea_EaglerAdapterImpl2__wglDrawArrays(4, 0, 6); nlea_EaglerAdapterImpl2__wglDisableVertexAttribArray(0); $ptr = 3; case 3: nlea_EaglerAdapterImpl2_updateDisplay(); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2__wglUseProgram(null); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, null); nlea_EaglerAdapterImpl2__wglBindTexture(3553, null); nlea_EaglerAdapterImpl2__wglDeleteTextures($tex); nlea_EaglerAdapterImpl2__wglDeleteVertexArray($vao); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($tex, var$2, $img, $upload, var$5, $e, $width, $height, $x, $y, $vao, $ptr); } function nle_EarlyLoadScreen__clinit_() { nle_EarlyLoadScreen_vbo = null; nle_EarlyLoadScreen_program = null; } function nleat_IndexedDBFilesystem() { jl_Object.call(this); } var nleat_IndexedDBFilesystem_err = null; var nleat_IndexedDBFilesystem_db = null; function nleat_IndexedDBFilesystem_initialize() { var $dbo, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$dbo = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $dbo = $rt_s(199); $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_openDB($dbo); if ($rt_suspending()) { break main; } $dbo = $tmp; if ($dbo === null) { nleat_IndexedDBFilesystem_err = $rt_s(169); return nleat_IndexedDBFilesystem$OpenState_ERROR; } if ($dbo.$failedLocked) return nleat_IndexedDBFilesystem$OpenState_LOCKED; if (!$dbo.$failedInit && $dbo.$database !== null) { nleat_IndexedDBFilesystem_db = $dbo.$database; return nleat_IndexedDBFilesystem$OpenState_OPENED; } nleat_IndexedDBFilesystem_err = $dbo.$failedError !== null ? $dbo.$failedError : $rt_s(200); return nleat_IndexedDBFilesystem$OpenState_ERROR; default: $rt_invalidPointer(); }} $rt_nativeThread().push($dbo, $ptr); } function nleat_IndexedDBFilesystem_errorDetail() { return nleat_IndexedDBFilesystem_err; } function nleat_IndexedDBFilesystem__clinit_() { nleat_IndexedDBFilesystem_err = $rt_s(4); nleat_IndexedDBFilesystem_db = null; } function jl_Enum() { var a = this; jl_Object.call(a); a.$name0 = null; a.$ordinal = 0; } function jl_Enum__init_(var_0, var_1) { var var_2 = new jl_Enum(); jl_Enum__init_0(var_2, var_0, var_1); return var_2; } function jl_Enum__init_0($this, $name, $ordinal) { $this.$name0 = $name; $this.$ordinal = $ordinal; } function nleat_IndexedDBFilesystem$OpenState() { jl_Enum.call(this); } var nleat_IndexedDBFilesystem$OpenState_OPENED = null; var nleat_IndexedDBFilesystem$OpenState_LOCKED = null; var nleat_IndexedDBFilesystem$OpenState_ERROR = null; var nleat_IndexedDBFilesystem$OpenState_$VALUES = null; function nleat_IndexedDBFilesystem$OpenState__clinit_() { var var$1, var$2, var$3; var$1 = new nleat_IndexedDBFilesystem$OpenState; jl_Enum__init_0(var$1, $rt_s(201), 0); nleat_IndexedDBFilesystem$OpenState_OPENED = var$1; var$1 = new nleat_IndexedDBFilesystem$OpenState; jl_Enum__init_0(var$1, $rt_s(202), 1); nleat_IndexedDBFilesystem$OpenState_LOCKED = var$1; var$1 = new nleat_IndexedDBFilesystem$OpenState; jl_Enum__init_0(var$1, $rt_s(203), 2); nleat_IndexedDBFilesystem$OpenState_ERROR = var$1; var$2 = $rt_createArray(nleat_IndexedDBFilesystem$OpenState, 3); var$3 = var$2.data; var$3[0] = nleat_IndexedDBFilesystem$OpenState_OPENED; var$3[1] = nleat_IndexedDBFilesystem$OpenState_LOCKED; var$3[2] = nleat_IndexedDBFilesystem$OpenState_ERROR; nleat_IndexedDBFilesystem$OpenState_$VALUES = var$2; } function otjw_AudioContext() { jl_Object.call(this); } function otjw_AudioContext_create$js_body$_44() { var Context = window.AudioContext || window.webkitAudioContext; return new Context(); } function jl_Thread() { var a = this; jl_Object.call(a); a.$id0 = Long_ZERO; a.$daemon = 0; a.$timeSliceStart = Long_ZERO; a.$yieldCount = 0; a.$finishedLock = null; a.$interruptHandler = null; a.$name1 = null; a.$alive = 0; a.$target = null; } var jl_Thread_mainThread = null; var jl_Thread_currentThread0 = null; var jl_Thread_nextId = Long_ZERO; var jl_Thread_activeCount = 0; function jl_Thread__init_0(var_0, var_1) { var var_2 = new jl_Thread(); jl_Thread__init_(var_2, var_0, var_1); return var_2; } function jl_Thread__init_($this, $target, $name) { var var$3; $this.$finishedLock = new jl_Object; $this.$alive = 1; $this.$name1 = $name; $this.$target = $target; var$3 = jl_Thread_nextId; jl_Thread_nextId = Long_add(var$3, Long_fromInt(1)); $this.$id0 = var$3; } function jl_Thread_start($this) { var var$1; var$1 = new jl_Thread$start$lambda$_4_0; var$1.$_01 = $this; otp_Platform_startThread(var$1); } function jl_Thread_setCurrentThread($thread_0) { if (jl_Thread_currentThread0 !== $thread_0) jl_Thread_currentThread0 = $thread_0; jl_Thread_currentThread0.$timeSliceStart = jl_System_currentTimeMillis(); } function jl_Thread_currentThread() { return jl_Thread_currentThread0; } function jl_Thread_setDaemon($this, $daemon) { $this.$daemon = $daemon; } function jl_Thread_yield() { var $currentThread, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$currentThread = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $currentThread = jl_Thread_currentThread0; var$2 = $currentThread.$yieldCount + 1 | 0; $currentThread.$yieldCount = var$2; if (var$2 < 30) return; jl_Thread_currentThread0.$yieldCount = 0; if (Long_ge(Long_add($currentThread.$timeSliceStart, Long_fromInt(100)), jl_System_currentTimeMillis())) return; $ptr = 1; case 1: jl_Thread_switchContext($currentThread); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($currentThread, var$2, $ptr); } function jl_Thread_switchContext(var$1) { var thread = $rt_nativeThread(); var javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; var result = thread.attribute; if (result instanceof Error) { throw result; } return result; } var callback = function() {}; callback.$complete = function(val) { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = function(e) { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); return thread.suspend(function() { try { jl_Thread_switchContext0(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); } function jl_Thread_switchContext0($thread_0, $callback) { var var$3; var$3 = new jl_Thread$switchContext$lambda$_18_0; var$3.$_02 = $thread_0; var$3.$_10 = $callback; otp_Platform_postpone(var$3); } function jl_Thread_sleep(var$1) { var thread = $rt_nativeThread(); var javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; var result = thread.attribute; if (result instanceof Error) { throw result; } return result; } var callback = function() {}; callback.$complete = function(val) { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = function(e) { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); return thread.suspend(function() { try { jl_Thread_sleep0(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); } function jl_Thread_sleep0($millis, $callback) { var $current, $handler; $current = jl_Thread_currentThread0; $handler = new jl_Thread$SleepHandler; $handler.$thread = $current; $handler.$callback = $callback; $handler.$scheduleId = otp_Platform_schedule($handler, Long_ge($millis, Long_fromInt(2147483647)) ? 2147483647 : $millis.lo); $current.$interruptHandler = $handler; } function jl_Thread__clinit_() { jl_Thread_mainThread = jl_Thread__init_0(null, $rt_s(204)); jl_Thread_currentThread0 = jl_Thread_mainThread; jl_Thread_nextId = Long_fromInt(1); jl_Thread_activeCount = 1; } function jl_InterruptedException() { jl_Exception.call(this); } function nle_AssetRepository() { jl_Object.call(this); } var nle_AssetRepository_filePool = null; function nle_AssetRepository_install($pkg) { var $header, $in2, $len, $in, var$6, $dg, var$8, $path, $digest, $digest2, $file; $header = $pkg.data; $in2 = new ji_ByteArrayInputStream; $len = $header.length; $in2.$buf0 = $pkg; $in2.$pos0 = 0; $in2.$mark = 0; $in2.$count1 = 0 + $len | 0; $in = ji_DataInputStream__init_($in2); $header = $rt_createByteArray(8); ji_DataInputStream_read($in, $header); if (!jl_String_equals($rt_s(205), jl_String__init_3($header, jnc_Charset_forName($rt_s(23))))) { $in2 = new ji_IOException; jl_Throwable__init_($in2, $rt_s(206)); $rt_throw($in2); } ji_DataInputStream_readUTF($in); var$6 = new ji_DataInputStream; $in = new cjj_InflaterInputStream; $dg = new cjj_Inflater; $dg.$adler = cjj_Adler32__init_(); $dg.$finished = 0; var$8 = cjj_Inflater_init($dg, 15, 0); if (var$8) { $in2 = new cjj_GZIPException; jl_Throwable__init_($in2, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder__init_(), var$8), $rt_s(16)), $dg.$msg))); $rt_throw($in2); } ji_FilterInputStream__init_($in, $in2); $in.$closed = 0; $in.$eof = 0; $in.$close_in = 1; $in.$myinflater = 0; $in.$byte1 = $rt_createByteArray(1); $in.$b = $rt_createByteArray(512); $in.$inflater = $dg; $in.$buf1 = $rt_createByteArray(512); $in.$close_in = 1; $in.$myinflater = 1; ji_DataInputStream__init_0(var$6, $in); $dg = new nle_SHA1Digest; $dg.$xBuf = $rt_createByteArray(4); $dg.$xBufOff = 0; $dg.$X = $rt_createIntArray(80); nle_SHA1Digest_reset($dg); while (true) { $in = ji_DataInputStream_readUTF(var$6); if (!jl_String_equals($rt_s(207), $in)) { if (ji_FilterInputStream_available(var$6) <= 0 && jl_String_equals($rt_s(208), $in)) return; $in2 = new ji_IOException; jl_Throwable__init_($in2, $rt_s(206)); $rt_throw($in2); } $path = ji_DataInputStream_readUTF(var$6); $digest = $rt_createByteArray(20); $digest2 = $rt_createByteArray(20); ji_DataInputStream_read(var$6, $digest); $len = ji_DataInputStream_readInt(var$6); $file = $rt_createByteArray($len); ji_DataInputStream_read(var$6, $file); if (ju_HashMap_containsKey(nle_AssetRepository_filePool, $path)) continue; a: { nle_GeneralDigest_update($dg, $file, 0, $len); nle_SHA1Digest_doFinal($dg, $digest2, 0); if ($digest === $digest2) var$8 = 1; else { if ($digest !== null && $digest2 !== null) { $pkg = $digest.data; $header = $digest2.data; var$8 = $pkg.length; if (var$8 == $header.length) { $len = 0; while ($len < var$8) { if ($pkg[$len] != $header[$len]) { var$8 = 0; break a; } $len = $len + 1 | 0; } var$8 = 1; break a; } } var$8 = 0; } } if (!var$8) { $in2 = new ji_IOException; jl_Throwable__init_($in2, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(209)), $path))); $rt_throw($in2); } ju_HashMap_putImpl(nle_AssetRepository_filePool, $path, $file); if (!jl_String_equals($rt_s(210), ji_DataInputStream_readUTF(var$6))) break; } $in2 = new ji_IOException; jl_Throwable__init_($in2, $rt_s(206)); $rt_throw($in2); } function nle_AssetRepository__clinit_() { nle_AssetRepository_filePool = ju_HashMap__init_(); } function ji_IOException() { jl_Exception.call(this); } function jl_StringBuffer() { jl_AbstractStringBuilder.call(this); } function jl_StringBuffer_append($this, $chars, $offset, $len) { jl_StringBuffer_insert($this, $this.$length0, $chars, $offset, $len); return $this; } function jl_StringBuffer_insert($this, $index, $chars, $offset, $len) { var 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.$buffer0.data; $len = $index + 1 | 0; var$8 = $offset + 1 | 0; var$7[$index] = var$6[$offset]; $index = $len; $offset = var$8; } return $this; } function jl_StringBuffer_insert0($this, var$1, var$2, var$3, var$4) { return jl_StringBuffer_insert($this, var$1, var$2, var$3, var$4); } function jl_StringBuffer_ensureCapacity($this, var$1) { jl_AbstractStringBuilder_ensureCapacity($this, var$1); } function ju_Comparator() { } function jl_String$_clinit_$lambda$_81_0() { jl_Object.call(this); } function jl_Character() { jl_Object.call(this); } var jl_Character_TYPE = null; var jl_Character_digitMapping = null; var jl_Character_characterCache = null; var jl_Character_$$metadata$$0 = null; function jl_Character_isHighSurrogate($ch) { return ($ch & 64512) != 55296 ? 0 : 1; } function jl_Character_isLowSurrogate($ch) { return ($ch & 64512) != 56320 ? 0 : 1; } function jl_Character_isSurrogate($ch) { return !jl_Character_isHighSurrogate($ch) && !jl_Character_isLowSurrogate($ch) ? 0 : 1; } function jl_Character_toCodePoint($high, $low) { return (($high & 1023) << 10 | $low & 1023) + 65536 | 0; } function jl_Character_highSurrogate($codePoint) { return (55296 | ($codePoint - 65536 | 0) >> 10 & 1023) & 65535; } function jl_Character_lowSurrogate($codePoint) { return (56320 | $codePoint & 1023) & 65535; } function jl_Character_toLowerCase($ch) { return otp_Platform_stringFromCharCode($ch).toLowerCase().charCodeAt(0); } function jl_Character_toUpperCase($codePoint) { return otp_Platform_stringFromCharCode($codePoint).toUpperCase().charCodeAt(0); } function jl_Character_digit($ch, $radix) { var var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if ($radix >= 2 && $radix <= 36) { if (jl_Character_digitMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_obtainDigitMapping$$create(); var$3 = (jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null); var$4 = otci_CharFlow__init_(jl_String_toCharArray(var$3)); var$5 = otci_Base46_decode(var$4); var$6 = $rt_createIntArray(var$5); var$7 = var$6.data; var$8 = 0; while (var$8 < var$5) { var$7[var$8] = otci_Base46_decode(var$4); var$8 = var$8 + 1 | 0; } jl_Character_digitMapping = var$6; } var$6 = jl_Character_digitMapping.data; var$8 = 0; var$9 = (var$6.length / 2 | 0) - 1 | 0; a: { while (var$9 >= var$8) { var$10 = (var$8 + var$9 | 0) / 2 | 0; var$11 = var$10 * 2 | 0; var$5 = $rt_compare($ch, var$6[var$11]); if (var$5 > 0) var$8 = var$10 + 1 | 0; else { if (var$5 >= 0) { $ch = var$6[var$11 + 1 | 0]; break a; } var$9 = var$10 - 1 | 0; } } $ch = (-1); } if ($ch >= $radix) $ch = (-1); } else $ch = (-1); return $ch; } function jl_Character_forDigit($digit, $radix) { if ($radix >= 2 && $radix <= 36 && $digit < $radix) return $digit < 10 ? (48 + $digit | 0) & 65535 : ((97 + $digit | 0) - 10 | 0) & 65535; return 0; } function jl_Character__clinit_() { jl_Character_TYPE = $rt_cls($rt_charcls()); jl_Character_characterCache = $rt_createArray(jl_Character, 128); } function jl_Character_obtainDigitMapping$$create() { return {"value" : "oD#*% .%%2%)6%-:%1>%5B%9F%=J%AN%Eo%Is%Mw%Q{%U!\'Y&\'^*\'b.\'f2\'j6\'n:\'r>\'vB\'zF\'!#J\'&#N\'*#R\'.#V\'2#Z\'6#_\':#c\'>#g\'B#k\'F#o\'J#s\'N#w\'R#6)I:)M>)QB)UF)YJ)^N)bR)fV)jZ)n_)rc)vg)zk)!#o)&#s)*#w).#{)2#!+6#&+:#*+>#.+B#2+F#6+J#:+N#>+R#{R# !T#%&T#)*T#-.T#12T#56T#9:T#=>T#ABT#E6a# :a#%>a#)Ba#-Fa#1Ja#5Na#9Ra#=Va#AZa#E:s# >s#%Bs#)Fs#-Js#1Ns#5Rs#9Vs#=Zs#A_s#EZ:% _:%%c:%)g:%-k:%1o:%5s:%9w:%={:%A!<%E2F% 6F%%:F%)>F%-BF%1FF%5JF%9NF%=RF%AVF%EgP% kP%%oP%)sP%-wP%1{P%5!R%9&R%=*R%A.R%E>]% B]%%F]%)J]%-N]%1R]%5V]%9Z]%=_]%Ac]%Esg% wg%%{g%)!i%-&" + "i%1*i%5.i%92i%=6i%A:i%EJs% Ns%%Rs%)Vs%-Zs%1_s%5cs%9gs%=ks%Aos%E!!\' &!\'%*!\').!\'-2!\'16!\'5:!\'9>!\'=B!\'AF!\'EV,\' Z,\'%_,\')c,\'-g,\'1k,\'5o,\'9s,\'=w,\'A{,\'E.8\' 28\'%68\'):8\'->8\'1B8\'5F8\'9J8\'=N8\'AR8\'EcB\' gB\'%kB\')oB\'-sB\'1wB\'5{B\'9!D\'=&D\'A*D\'E>L\' BL\'%FL\')JL\'-NL\'1RL\'5VL\'9ZL\'=_L\'AcL\'EsV\' wV\'%{V\')!X\'-&X\'1*X\'5.X\'92X\'=6X\'A:X\'EB_\' F_\'%J_\')N_\'-R_\'1V_\'5Z_\'9__\'=c_\'Ag_\'Esw\' ww\'%{w\')!y\'-&y\'1*y\'5.y\'92y\'=6y\'A:y\'EB!) F!)%J!))N!)-R!)1V!)5Z!)9_!)=c!)Ag!)Egi+ ki+%oi+)si+-wi+1{i+5!k+9&k+=*k+A.k+Eom+ sm+%wm+){m+-!o+1&o+5*o+9.o+=2o+A6o+E>,- B,-%F" + ",-)J,--N,-1R,-5V,-9Z,-=_,-Ac,-E>8- B8-%F8-)J8--N8-1R8-5V8-9Z8-=_8-Ac8-E{F- !H-%&H-)*H--.H-12H-56H-9:H-=>H-ABH-E_H- cH-%gH-)kH--oH-1sH-5wH-9{H-=!J-A&J-E!Z- &Z-%*Z-).Z--2Z-16Z-5:Z-9>Z-=BZ-AFZ-E2c- 6c-%:c-)>c--Bc-1Fc-5Jc-9Nc-=Rc-AVc-EJo- No-%Ro-)Vo--Zo-1_o-5co-9go-=ko-Aoo-E.q- 2q-%6q-):q-->q-1Bq-5Fq-9Jq-=Nq-ARq-E&4r *4r%.4r)24r-64r1:4r5>4r9B4r=F4rAJ4rE{or !qr%&qr)*qr-.qr12qr56qr9:qr=>qrABqrE&ur *ur%.ur)2ur-6ur1:ur5>ur9Bur=FurAJurE**t .*t%2*t)6*t-:*t1>*t5B*t9F*t=J*tAN*tEN,t R,t%V,t)Z,t-_,t1c,t5g,t9k,t=o,tAs,tE_" + "4t c4t%g4t)k4t-o4t1s4t5w4t9{4t=!6tA&6tEgXt kXt%oXt)sXt-wXt1{Xt5!Zt9&Zt=*ZtA.ZtE{c@# !e@#%&e@#)*e@#-.e@#12e@#56e@#9:e@#=>e@#ABe@#Ece@#Ige@#Mke@#Qoe@#Use@#Ywe@#^{e@#b!g@#f&g@#j*g@#n.g@#r2g@#v6g@#z:g@#!#>g@#&#Bg@#*#Fg@#.#Jg@#2#Ng@#6#Rg@#:#Vg@#>#Zg@#B#_g@#F#cg@#J#gg@#N#kg@#R#*i@#I.i@#M2i@#Q6i@#U:i@#Y>i@#^Bi@#bFi@#fJi@#jNi@#nRi@#rVi@#vZi@#z_i@#!#ci@#&#gi@#*#ki@#.#oi@#2#si@#6#wi@#:#{i@#>#!k@#B#&k@#F#*k@#J#.k@#N#2k@#R#s&D# w&D#%{&D#)!(D#-&(D#1*(D#5.(D#92(D#=6(D#A:(D#E2.H# 6.H#%:.H#)>.H#-B.H#1F.H#5J.H#9N.H#=R.H#AV." + "H#EwuH# {uH#%!wH#)&wH#-*wH#1.wH#52wH#96wH#=:wH#A>wH#Ew$J# {$J#%!&J#)&&J#-*&J#1.&J#52&J#96&J#=:&J#A>&J#E{*J# !,J#%&,J#)*,J#-.,J#12,J#56,J#9:,J#=>,J#AB,J#E_8J# c8J#%g8J#)k8J#-o8J#1s8J#5w8J#9{8J#=!:J#A&:J#E2RJ# 6RJ#%:RJ#)>RJ#-BRJ#1FRJ#5JRJ#9NRJ#=RRJ#AVRJ#ENqJ# RqJ#%VqJ#)ZqJ#-_qJ#1cqJ#5gqJ#9kqJ#=oqJ#AsqJ#E&}J# *}J#%.}J#)2}J#-6}J#1:}J#5>}J#9B}J#=F}J#AJ}J#Eg@L# k@L#%o@L#)s@L#-w@L#1{@L#5!BL#9&BL#=*BL#A.BL#EZJL# _JL#%cJL#)gJL#-kJL#1oJL#5sJL#9wJL#={JL#A!LL#ENTL# RTL#%VTL#)ZTL#-_TL#1cTL#5gTL#9kTL#=oTL#AsTL#E:{L# >{L#" + "%B{L#)F{L#-J{L#1N{L#5R{L#9V{L#=Z{L#A_{L#ERkN# VkN#%ZkN#)_kN#-ckN#1gkN#5kkN#9okN#=skN#AwkN#E_$P# c$P#%g$P#)k$P#-o$P#1s$P#5w$P#9{$P#=!&P#A&&P#E.,P# 2,P#%6,P#):,P#->,P#1B,P#5F,P#9J,P#=N,P#AR,P#EFau# Jau#%Nau#)Rau#-Vau#1Zau#5_au#9cau#=gau#Akau#Eouu# suu#%wuu#){uu#-!wu#1&wu#5*wu#9.wu#=2wu#A6wu#EF0N% J0N%%N0N%)R0N%-V0N%1Z0N%5_0N%9c0N%=g0N%Ak0N%Eo0N% s0N%%w0N%){0N%-!2N%1&2N%5*2N%9.2N%=22N%A62N%E:2N% >2N%%B2N%)F2N%-J2N%1N2N%5R2N%9V2N%=Z2N%A_2N%Ec2N% g2N%%k2N%)o2N%-s2N%1w2N%5{2N%9!4N%=&4N%A*4N%E.4N% 24N%%64N%):4N%->" + "4N%1B4N%5F4N%9J4N%=N4N%AR4N%ERJR% VJR%%ZJR%)_JR%-cJR%1gJR%5kJR%9oJR%=sJR%AwJR%E>qR% BqR%%FqR%)JqR%-NqR%1RqR%5VqR%9ZqR%=_qR%AcqR%E:FV% >FV%%BFV%)FFV%-JFV%1NFV%5RFV%9VFV%=ZFV%A_FV%E"}; } function ji_OutputStream() { jl_Object.call(this); } function ji_OutputStream_write($this, $b, $off, $len) { var $i, var$5, var$6; $i = 0; while ($i < $len) { var$5 = $b.data; var$6 = $off + 1 | 0; $this.$write2(var$5[$off]); $i = $i + 1 | 0; $off = var$6; } } function ji_FilterOutputStream() { ji_OutputStream.call(this); this.$out1 = null; } function ji_PrintStream() { var a = this; ji_FilterOutputStream.call(a); a.$autoFlush = 0; a.$errorState = 0; a.$sb = null; a.$buffer2 = null; a.$charset = null; } function ji_PrintStream__init_(var_0, var_1) { var var_2 = new ji_PrintStream(); ji_PrintStream__init_0(var_2, var_0, var_1); return var_2; } function ji_PrintStream__init_0($this, $out, $autoFlush) { $this.$out1 = $out; $this.$sb = jl_StringBuilder__init_(); $this.$buffer2 = $rt_createCharArray(32); $this.$autoFlush = $autoFlush; $this.$charset = jnci_UTF8Charset__init_(); } function ji_PrintStream_write($this, $b, $off, $len) { var $$je; if ($this.$out1 === null) $this.$errorState = 1; if (!($this.$errorState ? 0 : 1)) return; a: { try { ji_OutputStream_write($this.$out1, $b, $off, $len); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } $this.$errorState = 1; } } function ji_PrintStream_print0($this, $s, $begin, $end) { var $destBytes, $src, $dest, $encoder, $overflow; $destBytes = $s.data; $src = jn_CharBuffer_wrap0($s, $begin, $end - $begin | 0); $destBytes = $rt_createByteArray(jl_Math_max(16, jl_Math_min($destBytes.length, 1024))); $dest = jn_ByteBuffer_wrap0($destBytes); $encoder = jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(jnci_UTF8Charset_newEncoder($this.$charset), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE); while (true) { $overflow = jnc_CoderResult_isOverflow(jnc_CharsetEncoder_encode($encoder, $src, $dest, 1)); ji_PrintStream_write($this, $destBytes, 0, $dest.$position); jn_Buffer_clear($dest); if (!$overflow) break; } while (true) { $overflow = jnc_CoderResult_isOverflow(jnc_CharsetEncoder_flush($encoder, $dest)); ji_PrintStream_write($this, $destBytes, 0, $dest.$position); jn_Buffer_clear($dest); if (!$overflow) break; } } function ji_PrintStream_print1($this, $c) { $this.$buffer2.data[0] = $c; ji_PrintStream_print0($this, $this.$buffer2, 0, 1); } function ji_PrintStream_print($this, $s) { jl_StringBuilder_append($this.$sb, $s); ji_PrintStream_printSB($this); } function ji_PrintStream_println($this, $s) { jl_StringBuilder_append0(jl_StringBuilder_append($this.$sb, $s), 10); ji_PrintStream_printSB($this); } function ji_PrintStream_println1($this, $s) { jl_StringBuilder_append0(jl_StringBuilder_append1($this.$sb, $s), 10); ji_PrintStream_printSB($this); } function ji_PrintStream_println0($this) { ji_PrintStream_print1($this, 10); } function ji_PrintStream_printSB($this) { var $buffer; $buffer = jl_StringBuilder_length($this.$sb) <= $this.$buffer2.data.length ? $this.$buffer2 : $rt_createCharArray(jl_StringBuilder_length($this.$sb)); jl_StringBuilder_getChars($this.$sb, 0, jl_StringBuilder_length($this.$sb), $buffer, 0); ji_PrintStream_print0($this, $buffer, 0, jl_StringBuilder_length($this.$sb)); jl_StringBuilder_setLength($this.$sb, 0); } function jl_ConsoleOutputStreamStdout() { ji_OutputStream.call(this); } function jl_ConsoleOutputStreamStdout_write($this, $b) { $rt_putStdout($b); } function cmmg_GameMode() { var a = this; jl_Object.call(a); a.$minecraft = null; a.$instantBreak = 0; } function cmmg_GameMode_openInventory($this) { return; } function cmmg_GameMode_isSurvival($this) { return 1; } function cmmg_GameMode_apply($this, $player) { return; } function cmmg_SurvivalGameMode() { var a = this; cmmg_GameMode.call(a); a.$hitX = 0; a.$hitY = 0; a.$hitZ = 0; a.$hits = 0; a.$hardness = 0; a.$hitDelay = 0; a.$spawner = null; } function cmmg_SurvivalGameMode_apply($this, $level) { $level.$creativeMode = 0; $level.$growTrees = 1; $this.$spawner = cmml_MobSpawner__init_($level); } function cmmg_SurvivalGameMode_hitBlock0($this, $x, $y, $z, $side) { var $type, $block; if ($this.$hitDelay > 0) $this.$hitDelay = $this.$hitDelay - 1 | 0; else if ($x == $this.$hitX && $y == $this.$hitY && $z == $this.$hitZ) { $type = cmml_Level_getTile($this.$minecraft.$level, $x, $y, $z); if ($type) { cmmlt_Block_$callClinit(); $block = cmmlt_Block_blocks.data[$type]; $this.$hardness = $block.$hardness0; cmmlt_Block_spawnBlockParticles($block, $this.$minecraft.$level, $x, $y, $z, $side, $this.$minecraft.$particleManager); $this.$hits = $this.$hits + 1 | 0; if ($this.$hits == ($this.$hardness + 1 | 0)) { cmmg_SurvivalGameMode_breakBlock($this, $x, $y, $z); $this.$hits = 0; $this.$hitDelay = 5; } } } else { $this.$hits = 0; $this.$hitX = $x; $this.$hitY = $y; $this.$hitZ = $z; } } function cmmg_SurvivalGameMode_canPlace($this, $block) { return cmmp_Inventory_removeResource($this.$minecraft.$player.$inventory, $block); } function cmmg_SurvivalGameMode_breakBlock($this, $x, $y, $z) { var $block, var$5, var$6; $block = cmml_Level_getTile($this.$minecraft.$level, $x, $y, $z); cmmlt_Block_$callClinit(); cmmlt_Block_blocks.data[$block].$onBreak($this.$minecraft.$level, $x, $y, $z); var$5 = $this.$minecraft.$level; var$6 = cmmlt_Block_blocks.data[cmml_Level_getTile(var$5, $x, $y, $z)]; $block = cmml_Level_netSetTile(var$5, $x, $y, $z, 0); if (var$6 !== null && $block) var$6.$spawnBreakParticles(var$5, $x, $y, $z, $this.$minecraft.$particleManager); } function cmmg_SurvivalGameMode_hitBlock($this, $x, $y, $z) { var $block; $block = cmml_Level_getTile($this.$minecraft.$level, $x, $y, $z); if ($block > 0) { cmmlt_Block_$callClinit(); if (!cmmlt_Block_blocks.data[$block].$hardness0) cmmg_SurvivalGameMode_breakBlock($this, $x, $y, $z); } } function cmmg_SurvivalGameMode_resetHits($this) { $this.$hits = 0; $this.$hitDelay = 0; } function cmmg_SurvivalGameMode_applyCracks($this, $time) { if ($this.$hits <= 0) $this.$minecraft.$levelRenderer.$cracks = 0.0; else $this.$minecraft.$levelRenderer.$cracks = ($this.$hits + $time - 1.0) / $this.$hardness; } function cmmg_SurvivalGameMode_getReachDistance($this) { return 4.0; } function cmmg_SurvivalGameMode_useItem($this, $player, $type) { var $block; cmmlt_Block_$callClinit(); $block = cmmlt_Block_blocks.data[$type]; if ($block === cmmlt_Block_RED_MUSHROOM && cmmp_Inventory_removeResource($this.$minecraft.$player.$inventory, $type)) { cmmp_Player_hurt($player, null, 3); return 1; } if ($block === cmmlt_Block_BROWN_MUSHROOM && cmmp_Inventory_removeResource($this.$minecraft.$player.$inventory, $type)) { cmmm_Mob_heal($player, 5); return 1; } return 0; } function cmmg_SurvivalGameMode_preparePlayer($this, $player) { var var$2; var$2 = $player.$inventory.$slots.data; cmmlt_Block_$callClinit(); var$2[8] = cmmlt_Block_TNT.$id; $player.$inventory.$count0.data[8] = 10; } function cmmg_SurvivalGameMode_spawnMob($this) { var $area, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$area = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $area = (($rt_imul($rt_imul($this.$spawner.$level1.$width0, $this.$spawner.$level1.$height0), $this.$spawner.$level1.$depth) / 64 | 0) / 64 | 0) / 64 | 0; if (ju_Random_nextInt($this.$spawner.$level1.$random1, 100) < $area && cmml_Level_countInstanceOf($this.$spawner.$level1, $rt_cls(cmmm_Mob)) < ($area * 20 | 0)) { var$2 = $this.$spawner; var$3 = $this.$spawner.$level1.$player0; var$4 = null; $ptr = 1; continue main; } return; case 1: cmml_MobSpawner_spawn(var$2, $area, var$3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $area, var$2, var$3, var$4, $ptr); } function cmmg_SurvivalGameMode_prepareLevel($this, $level) { var var$2, var$3, $area, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$area = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$level = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$spawner = cmml_MobSpawner__init_($level); var$2 = $this.$minecraft.$progressBar; var$3 = $rt_s(211); $ptr = 1; case 1: cmm_ProgressBarDisplay_setText(var$2, var$3); if ($rt_suspending()) { break main; } $area = $rt_imul($rt_imul($level.$width0, $level.$height0), $level.$depth) / 800 | 0; $level = $this.$spawner; var$2 = null; var$3 = $this.$minecraft.$progressBar; $ptr = 2; case 2: cmml_MobSpawner_spawn($level, $area, var$2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $level, var$2, var$3, $area, $ptr); } function cmm_Timer() { var a = this; jl_Object.call(a); a.$tps = 0.0; a.$lastHR = 0.0; a.$elapsedTicks = 0; a.$delta = 0.0; a.$speed = 0.0; a.$elapsedDelta = 0.0; a.$lastSysClock = Long_ZERO; a.$lastHRClock = Long_ZERO; a.$adjustment = 0.0; } function cmm_ProgressBarDisplay() { var a = this; jl_Object.call(a); a.$text = null; a.$minecraft0 = null; a.$title = null; a.$start = Long_ZERO; } function cmm_ProgressBarDisplay_setTitle($this, $var1) { var $var3, $var2; if (!$this.$minecraft0.$running) $rt_throw(cmm_StopGameException__init_()); $this.$title = $var1; $var3 = ($this.$minecraft0.$width * 240 | 0) / $this.$minecraft0.$height | 0; $var2 = ($this.$minecraft0.$height * 240 | 0) / $this.$minecraft0.$height | 0; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glOrtho(0.0, $var3, $var2, 0.0, 100.0, 300.0); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-200.0)); } function cmm_ProgressBarDisplay_setText($this, $var1) { var var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $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.$minecraft0.$running) $rt_throw(cmm_StopGameException__init_()); $this.$text = $var1; var$2 = (-1); $ptr = 1; case 1: cmm_ProgressBarDisplay_setProgress($this, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function cmm_ProgressBarDisplay_setProgress($this, $var1) { var var$2, $var4, $var5, $var6, var$6, var$7, var$8, var$9, $var10, var$11, $var8, var$13, var$14, var$15, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var8 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$minecraft0.$running) $rt_throw(cmm_StopGameException__init_()); var$2 = jl_System_currentTimeMillis(); if (Long_ge(Long_sub(var$2, $this.$start), Long_ZERO) && Long_lt(Long_sub(var$2, $this.$start), Long_fromInt(20))) return; $this.$start = var$2; $var4 = ($this.$minecraft0.$width * 240 | 0) / $this.$minecraft0.$height | 0; $var5 = ($this.$minecraft0.$height * 240 | 0) / $this.$minecraft0.$height | 0; olo_EaglerAdapterGL30_glClear(16640); $var6 = cmmr_ShapeRenderer_instance; var$6 = cmmr_TextureLocation__init_($rt_s(212)); $ptr = 1; case 1: cmmr_TextureLocation_bindTexture(var$6); if ($rt_suspending()) { break main; } cmmr_ShapeRenderer_begin($var6); cmmr_ShapeRenderer_color0($var6, 4210752); var$7 = $var5; var$8 = var$7 / 32.0; cmmr_ShapeRenderer_vertexUV($var6, 0.0, var$7, 0.0, 0.0, var$8); var$9 = $var4; $var10 = var$9 / 32.0; cmmr_ShapeRenderer_vertexUV($var6, var$9, var$7, 0.0, $var10, var$8); cmmr_ShapeRenderer_vertexUV($var6, var$9, 0.0, 0.0, $var10, 0.0); cmmr_ShapeRenderer_vertexUV($var6, 0.0, 0.0, 0.0, 0.0, 0.0); cmmr_ShapeRenderer_end($var6); if ($var1 >= 0) { var$11 = ($var4 / 2 | 0) - 50 | 0; $var8 = ($var5 / 2 | 0) + 16 | 0; olo_EaglerAdapterGL30_glDisable(3553); cmmr_ShapeRenderer_begin($var6); cmmr_ShapeRenderer_color0($var6, 8421504); var$9 = var$11; var$13 = $var8; cmmr_ShapeRenderer_vertex($var6, var$9, var$13, 0.0); $var10 = $var8 + 2 | 0; cmmr_ShapeRenderer_vertex($var6, var$9, $var10, 0.0); var$14 = var$11 + 100 | 0; cmmr_ShapeRenderer_vertex($var6, var$14, $var10, 0.0); cmmr_ShapeRenderer_vertex($var6, var$14, var$13, 0.0); cmmr_ShapeRenderer_color0($var6, 8454016); cmmr_ShapeRenderer_vertex($var6, var$9, var$13, 0.0); cmmr_ShapeRenderer_vertex($var6, var$9, $var10, 0.0); var$9 = var$11 + $var1 | 0; cmmr_ShapeRenderer_vertex($var6, var$9, $var10, 0.0); cmmr_ShapeRenderer_vertex($var6, var$9, var$13, 0.0); cmmr_ShapeRenderer_end($var6); olo_EaglerAdapterGL30_glEnable(3553); } $var6 = $this.$minecraft0.$fontRenderer; var$6 = $this.$title; var$15 = ($var4 - cmmg_FontRenderer_getStringWidth($this.$minecraft0.$fontRenderer, $this.$title) | 0) / 2 | 0; $var1 = ($var5 / 2 | 0) - 4 | 0; cmmg_FontRenderer_drawString($var6, var$6, var$15, $var1 - 16 | 0, 16777215); cmmg_FontRenderer_drawString($this.$minecraft0.$fontRenderer, $this.$text, ($var4 - cmmg_FontRenderer_getStringWidth($this.$minecraft0.$fontRenderer, $this.$text) | 0) / 2 | 0, $var1 + 8 | 0, 16777215); $ptr = 2; case 2: nlea_EaglerAdapterImpl2_updateDisplay(); if ($rt_suspending()) { break main; } try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } return; case 3: a: { try { jl_Thread_yield(); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var4, $var5, $var6, var$6, var$7, var$8, var$9, $var10, var$11, $var8, var$13, var$14, var$15, $ptr); } function cmmr_Renderer() { var a = this; jl_Object.call(a); a.$minecraft1 = null; a.$fogColorMultiplier = 0.0; a.$displayActive = 0; a.$fogEnd = 0.0; a.$heldBlock = null; a.$levelTicks = 0; a.$entity = null; a.$random = null; a.$unused1 = 0; a.$unused2 = 0; a.$buffer = null; a.$fogRed = 0.0; a.$fogBlue = 0.0; a.$fogGreen = 0.0; } function cmmr_Renderer_getPlayerVector($this, $var1) { var var$2; var$2 = $this.$minecraft1.$player; return cmmm_Vec3D__init_(var$2.$xo + (var$2.$x - var$2.$xo) * $var1, var$2.$yo + (var$2.$y - var$2.$yo) * $var1, var$2.$zo + (var$2.$z - var$2.$zo) * $var1); } function cmmr_Renderer_hurtEffect($this, $var1) { var var$2, $var2; var$2 = $this.$minecraft1.$player; $var2 = var$2.$hurtTime - $var1; if (var$2.$health <= 0) olo_EaglerAdapterGL30_glRotatef(40.0 - 8000.0 / ($var1 + var$2.$deathTime + 200.0), 0.0, 0.0, 1.0); if ($var2 >= 0.0) { $var1 = $var2 / var$2.$hurtDuration; $var1 = nPm_MathHelper_sin($var1 * $var1 * $var1 * $var1 * 3.1415927410125732); $var2 = var$2.$hurtDir; olo_EaglerAdapterGL30_glRotatef( -var$2.$hurtDir, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var1 * 14.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef($var2, 0.0, 1.0, 0.0); } } function cmmr_Renderer_applyBobbing($this, $var1) { var var$2, $var2, $var3, $var5; var$2 = $this.$minecraft1.$player; $var2 = var$2.$walkDist - var$2.$walkDistO; $var2 = var$2.$walkDist + $var2 * $var1; $var3 = var$2.$oBob + (var$2.$bob - var$2.$oBob) * $var1; $var5 = var$2.$oTilt + (var$2.$tilt - var$2.$oTilt) * $var1; $var2 = $var2 * 3.1415927410125732; olo_EaglerAdapterGL30_glTranslatef(nPm_MathHelper_sin($var2) * $var3 * 0.5, -jl_Math_abs(nPm_MathHelper_cos($var2) * $var3), 0.0); olo_EaglerAdapterGL30_glRotatef(nPm_MathHelper_sin($var2) * $var3 * 3.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef(jl_Math_abs(nPm_MathHelper_cos($var2 + 0.20000000298023224) * $var3) * 5.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var5, 1.0, 0.0, 0.0); } function cmmr_Renderer_setLighting($this, $var1) { var $var3; if (!$var1) { olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(16384); } else { olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(16384); olo_EaglerAdapterGL30_glEnable(2903); $var3 = cmmm_Vec3D_normalize(cmmm_Vec3D__init_(0.0, (-1.0), 0.5)); cmmr_Renderer_createBuffer($this, $var3.$x3, $var3.$y3, $var3.$z3, 0.0); cmmr_Renderer_createBuffer($this, 0.30000001192092896, 0.30000001192092896, 0.30000001192092896, 1.0); cmmr_Renderer_createBuffer($this, 0.0, 0.0, 0.0, 1.0); cmmr_Renderer_createBuffer($this, 0.699999988079071, 0.699999988079071, 0.699999988079071, 1.0); } } function cmmr_Renderer_enableGuiMode($this) { var $var1, $var2; $var1 = ($this.$minecraft1.$width * 240 | 0) / $this.$minecraft1.$height | 0; $var2 = ($this.$minecraft1.$height * 240 | 0) / $this.$minecraft1.$height | 0; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glOrtho(0.0, $var1, $var2, 0.0, 100.0, 300.0); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-200.0)); } function cmmr_Renderer_updateFog($this) { var $var1, $var2, $var6, $var4, $var8, $var3, $var3_0; $var1 = $this.$minecraft1.$level; $var2 = $this.$minecraft1.$player; $var6 = cmmr_Renderer_createBuffer($this, $this.$fogRed, $this.$fogBlue, $this.$fogGreen, 1.0); olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_fogColorR = jn_FloatBufferImpl_get($var6); olo_EaglerAdapterGL30_fogColorG = jn_FloatBufferImpl_get($var6); olo_EaglerAdapterGL30_fogColorB = jn_FloatBufferImpl_get($var6); olo_EaglerAdapterGL30_fogColorA = jn_FloatBufferImpl_get($var6); olo_EaglerAdapterGL30_glNormal3f(0.0, (-1.0), 0.0); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); cmmlt_Block_$callClinit(); $var1 = cmmlt_Block_blocks.data[cmml_Level_getTile($var1, $var2.$x | 0, $var2.$y + 0.11999999731779099 | 0, $var2.$z | 0)]; if ($var1 !== null && $var1.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) { $var6 = $var1.$getLiquidType(); olo_EaglerAdapterGL30_glFogi(2917, 2048); if ($var6 === cmmll_LiquidType_WATER) { olo_EaglerAdapterGL30_glFogf(2914, 0.10000000149011612); $var4 = 0.4000000059604645; $var8 = 0.4000000059604645; $var3 = 0.8999999761581421; if (cmm_Minecraft_settings.$anaglyph) { $var4 = 0.45500001311302185; $var8 = 0.4000000059604645; $var3 = 0.75; } cmmr_Renderer_createBuffer($this, $var4, $var8, $var3, 1.0); } else if ($var6 === cmmll_LiquidType_LAVA) { olo_EaglerAdapterGL30_glFogf(2914, 2.0); $var4 = 0.4000000059604645; $var8 = 0.30000001192092896; $var3_0 = 0.30000001192092896; if (cmm_Minecraft_settings.$anaglyph) { $var4 = 0.33000001311302185; $var3_0 = 0.33000001311302185; $var8 = $var3_0; } cmmr_Renderer_createBuffer($this, $var4, $var8, $var3_0, 1.0); } } else { olo_EaglerAdapterGL30_glFogi(2917, 9729); olo_EaglerAdapterGL30_glFogf(2915, 0.0); olo_EaglerAdapterGL30_glFogf(2916, $this.$fogEnd); cmmr_Renderer_createBuffer($this, 1.0, 1.0, 1.0, 1.0); } olo_EaglerAdapterGL30_glEnable(2903); } function cmmr_Renderer_createBuffer($this, $var1, $var2, $var3, $var4) { jn_FloatBuffer_clear($this.$buffer); jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put($this.$buffer, $var1), $var2), $var3), $var4); jn_FloatBuffer_flip($this.$buffer); return $this.$buffer; } function cmml_LevelIO() { jl_Object.call(this); this.$progressBar0 = null; } function cmmm_Model() { jl_Object.call(this); this.$attackOffset = 0.0; } function cmmm_HumanoidModel() { var a = this; cmmm_Model.call(a); a.$head = null; a.$headwear = null; a.$body = null; a.$rightArm = null; a.$leftArm = null; a.$rightLeg = null; a.$leftLeg = null; } function cmmm_HumanoidModel__init_0(var_0) { var var_1 = new cmmm_HumanoidModel(); cmmm_HumanoidModel__init_(var_1, var_0); return var_1; } function cmmm_HumanoidModel__init_($this, $var1) { $this.$head = cmmm_ModelPart__init_(0, 0); cmmm_ModelPart_setBounds($this.$head, (-4.0), (-8.0), (-4.0), 8, 8, 8, $var1); $this.$headwear = cmmm_ModelPart__init_(32, 0); cmmm_ModelPart_setBounds($this.$headwear, (-4.0), (-8.0), (-4.0), 8, 8, 8, $var1 + 0.5); $this.$body = cmmm_ModelPart__init_(16, 16); cmmm_ModelPart_setBounds($this.$body, (-4.0), 0.0, (-2.0), 8, 12, 4, $var1); $this.$rightArm = cmmm_ModelPart__init_(40, 16); cmmm_ModelPart_setBounds($this.$rightArm, (-3.0), (-2.0), (-2.0), 4, 12, 4, $var1); cmmm_ModelPart_setPosition($this.$rightArm, (-5.0), 2.0, 0.0); $this.$leftArm = cmmm_ModelPart__init_(40, 16); $this.$leftArm.$mirror = 1; cmmm_ModelPart_setBounds($this.$leftArm, (-1.0), (-2.0), (-2.0), 4, 12, 4, $var1); cmmm_ModelPart_setPosition($this.$leftArm, 5.0, 2.0, 0.0); $this.$rightLeg = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$rightLeg, (-2.0), 0.0, (-2.0), 4, 12, 4, $var1); cmmm_ModelPart_setPosition($this.$rightLeg, (-2.0), 12.0, 0.0); $this.$leftLeg = cmmm_ModelPart__init_(0, 16); $this.$leftLeg.$mirror = 1; cmmm_ModelPart_setBounds($this.$leftLeg, (-2.0), 0.0, (-2.0), 4, 12, 4, $var1); cmmm_ModelPart_setPosition($this.$leftLeg, 2.0, 12.0, 0.0); } function cmmm_HumanoidModel_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { $this.$setRotationAngles($var1, $var2, $var3, $var4, $var5, $var6); cmmm_ModelPart_render($this.$head, $var6); cmmm_ModelPart_render($this.$body, $var6); cmmm_ModelPart_render($this.$rightArm, $var6); cmmm_ModelPart_render($this.$leftArm, $var6); cmmm_ModelPart_render($this.$rightLeg, $var6); cmmm_ModelPart_render($this.$leftLeg, $var6); } function cmmm_HumanoidModel_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7; $this.$head.$yaw = $var4 / 57.2957763671875; $this.$head.$pitch = $var5 / 57.2957763671875; var$7 = $this.$rightArm; $var4 = $var1 * 0.6661999821662903; $var5 = $var4 + 3.1415927410125732; var$7.$pitch = nPm_MathHelper_cos($var5) * 2.0 * $var2; $this.$rightArm.$roll = (nPm_MathHelper_cos($var1 * 0.23119999468326569) + 1.0) * $var2; $this.$leftArm.$pitch = nPm_MathHelper_cos($var4) * 2.0 * $var2; $this.$leftArm.$roll = (nPm_MathHelper_cos($var1 * 0.28119999170303345) - 1.0) * $var2; $this.$rightLeg.$pitch = nPm_MathHelper_cos($var4) * 1.399999976158142 * $var2; $this.$leftLeg.$pitch = nPm_MathHelper_cos($var5) * 1.399999976158142 * $var2; var$7 = $this.$rightArm; $var1 = var$7.$roll; $var2 = $var3 * 0.09000000357627869; var$7.$roll = $var1 + nPm_MathHelper_cos($var2) * 0.05000000074505806 + 0.05000000074505806; var$7 = $this.$leftArm; var$7.$roll = var$7.$roll - (nPm_MathHelper_cos($var2) * 0.05000000074505806 + 0.05000000074505806); var$7 = $this.$rightArm; $var1 = var$7.$pitch; $var2 = $var3 * 0.06700000166893005; var$7.$pitch = $var1 + nPm_MathHelper_sin($var2) * 0.05000000074505806; var$7 = $this.$leftArm; var$7.$pitch = var$7.$pitch - nPm_MathHelper_sin($var2) * 0.05000000074505806; } function cmm_SleepForeverThread() { jl_Thread.call(this); } function cmm_SleepForeverThread_run($this) { var var$1, $e, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$e = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: while (true) { try { var$1 = Long_fromInt(2147483647); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } case 1: try { jl_Thread_sleep(var$1); if ($rt_suspending()) { break main; } var$1 = Long_fromInt(2147483647); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } while (true) { $e.$printStackTrace1(); try { var$1 = Long_fromInt(2147483647); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } } default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $e, $ptr); } function olo_EaglerAdapterGL30() { nlea_EaglerAdapterImpl2.call(this); } var olo_EaglerAdapterGL30_isWebGL = 0; var olo_EaglerAdapterGL30_texObjects = null; var olo_EaglerAdapterGL30_enableTexture2D = 0; var olo_EaglerAdapterGL30_enableLighting = 0; var olo_EaglerAdapterGL30_enableAlphaTest = 0; var olo_EaglerAdapterGL30_alphaThresh = 0.0; var olo_EaglerAdapterGL30_isCompilingDisplayList = 0; var olo_EaglerAdapterGL30_compilingDisplayList = null; var olo_EaglerAdapterGL30_enableColorArray = 0; var olo_EaglerAdapterGL30_enableNormalArray = 0; var olo_EaglerAdapterGL30_enableTex0Array = 0; var olo_EaglerAdapterGL30_colorR = 0.0; var olo_EaglerAdapterGL30_colorG = 0.0; var olo_EaglerAdapterGL30_colorB = 0.0; var olo_EaglerAdapterGL30_colorA = 0.0; var olo_EaglerAdapterGL30_normalX = 0.0; var olo_EaglerAdapterGL30_normalY = 0.0; var olo_EaglerAdapterGL30_normalZ = 0.0; var olo_EaglerAdapterGL30_tex0X = 0.0; var olo_EaglerAdapterGL30_tex0Y = 0.0; var olo_EaglerAdapterGL30_enableColorMaterial = 0; var olo_EaglerAdapterGL30_fogColorR = 0.0; var olo_EaglerAdapterGL30_fogColorG = 0.0; var olo_EaglerAdapterGL30_fogColorB = 0.0; var olo_EaglerAdapterGL30_fogColorA = 0.0; var olo_EaglerAdapterGL30_fogMode = 0; var olo_EaglerAdapterGL30_fogEnabled = 0; var olo_EaglerAdapterGL30_fogPremultiply = 0; var olo_EaglerAdapterGL30_fogStart = 0.0; var olo_EaglerAdapterGL30_fogEnd = 0.0; var olo_EaglerAdapterGL30_fogDensity = 0.0; var olo_EaglerAdapterGL30_bytesUploaded = 0; var olo_EaglerAdapterGL30_vertexDrawn = 0; var olo_EaglerAdapterGL30_triangleDrawn = 0; var olo_EaglerAdapterGL30_matrixMode = 0; var olo_EaglerAdapterGL30_matModelV = null; var olo_EaglerAdapterGL30_matModelPointer = 0; var olo_EaglerAdapterGL30_matProjV = null; var olo_EaglerAdapterGL30_matProjPointer = 0; var olo_EaglerAdapterGL30_matTexV = null; var olo_EaglerAdapterGL30_matTexPointer = 0; var olo_EaglerAdapterGL30_quadsToTrianglesBuffer = null; var olo_EaglerAdapterGL30_currentArray = null; var olo_EaglerAdapterGL30_displayLists = null; var olo_EaglerAdapterGL30_displayListsInitialized = null; var olo_EaglerAdapterGL30_deevis = null; var olo_EaglerAdapterGL30_lightPos0vec0 = null; var olo_EaglerAdapterGL30_lightPos1vec0 = null; var olo_EaglerAdapterGL30_lightPos0vec = null; var olo_EaglerAdapterGL30_lightPos1vec = null; var olo_EaglerAdapterGL30_displayListId = 0; var olo_EaglerAdapterGL30_shader = null; var olo_EaglerAdapterGL30_blankUploadArray = null; var olo_EaglerAdapterGL30_occlusion_vao = null; var olo_EaglerAdapterGL30_occlusion_vbo = null; var olo_EaglerAdapterGL30_occlusion_program = null; var olo_EaglerAdapterGL30_occlusion_matrix_m = null; var olo_EaglerAdapterGL30_occlusion_matrix_p = null; var olo_EaglerAdapterGL30_queryObjs = null; var olo_EaglerAdapterGL30_cachedOcclusionP = null; var olo_EaglerAdapterGL30_occlusionModel = null; var olo_EaglerAdapterGL30_occlusionProj = null; var olo_EaglerAdapterGL30_unprojA = null; var olo_EaglerAdapterGL30_unprojB = null; var olo_EaglerAdapterGL30_unprojC = null; var olo_EaglerAdapterGL30_lastBandwidthReset = Long_ZERO; var olo_EaglerAdapterGL30_lastBandwidth = 0; function olo_EaglerAdapterGL30_$callClinit() { olo_EaglerAdapterGL30_$callClinit = $rt_eraseClinit(olo_EaglerAdapterGL30); olo_EaglerAdapterGL30__clinit_(); } function olo_EaglerAdapterGL30_glEnable($p1) { olo_EaglerAdapterGL30_$callClinit(); a: { switch ($p1) { case 2884: nlea_EaglerAdapterImpl2__wglEnable(2884); break a; case 2896: olo_EaglerAdapterGL30_enableLighting = 1; break a; case 2903: olo_EaglerAdapterGL30_enableColorMaterial = 1; break a; case 2912: olo_EaglerAdapterGL30_fogEnabled = 1; break a; case 2929: nlea_EaglerAdapterImpl2__wglEnable(2929); break a; case 3008: olo_EaglerAdapterGL30_enableAlphaTest = 1; break a; case 3042: nlea_EaglerAdapterImpl2__wglEnable(3042); break a; case 3553: olo_EaglerAdapterGL30_enableTexture2D = 1; break a; case 32823: nlea_EaglerAdapterImpl2__wglEnable(32823); break a; case 32826: break; default: break a; } } } function olo_EaglerAdapterGL30_glShadeModel($p1) { olo_EaglerAdapterGL30_$callClinit(); } function olo_EaglerAdapterGL30_glClearDepth($p1) { olo_EaglerAdapterGL30_$callClinit(); $p1 = -$p1; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clearDepth($p1); } function olo_EaglerAdapterGL30_glDepthFunc($p1) { var $f; olo_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: } } nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc($f); } function olo_EaglerAdapterGL30_glAlphaFunc($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_alphaThresh = $p2; } function olo_EaglerAdapterGL30_glCullFace($p1) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.cullFace($p1); } function olo_EaglerAdapterGL30_glMatrixMode($p1) { olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_matrixMode = $p1; } function olo_EaglerAdapterGL30_getMatrix() { olo_EaglerAdapterGL30_$callClinit(); switch (olo_EaglerAdapterGL30_matrixMode) { case 5888: break; case 5889: return olo_EaglerAdapterGL30_matProjV.data[olo_EaglerAdapterGL30_matProjPointer]; case 5890: return olo_EaglerAdapterGL30_matTexV.data[olo_EaglerAdapterGL30_matTexPointer]; default: } return olo_EaglerAdapterGL30_matModelV.data[olo_EaglerAdapterGL30_matModelPointer]; } function olo_EaglerAdapterGL30_glLoadIdentity() { olo_EaglerAdapterGL30_$callClinit(); nPgv_Matrix4f_setIdentity(olo_EaglerAdapterGL30_getMatrix()); } function olo_EaglerAdapterGL30_glViewport($p1, $p2, $p3, $p4) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglViewport($p1, $p2, $p3, $p4); } function olo_EaglerAdapterGL30_glClear($p1) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglClear($p1); } function olo_EaglerAdapterGL30_glOrtho($left, $right, $bottom, $top, $zNear, $zFar) { var $res, var$8, var$9, var$10; olo_EaglerAdapterGL30_$callClinit(); $res = olo_EaglerAdapterGL30_getMatrix(); 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; } function olo_EaglerAdapterGL30_glTranslatef($p1, $p2, $p3) { var var$4; olo_EaglerAdapterGL30_$callClinit(); nPgv_Vector3f_set(olo_EaglerAdapterGL30_deevis, $p1, $p2, $p3); var$4 = olo_EaglerAdapterGL30_getMatrix(); nPgv_Matrix4f_translate(var$4, olo_EaglerAdapterGL30_deevis, var$4); if (!olo_EaglerAdapterGL30_isCompilingDisplayList) return; var$4 = new jl_IllegalArgumentException; jl_Throwable__init_(var$4, $rt_s(213)); $rt_throw(var$4); } function olo_EaglerAdapterGL30_glClearColor($p1, $p2, $p3, $p4) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglClearColor($p1, $p2, $p3, $p4); } function olo_EaglerAdapterGL30_glDisable($p1) { olo_EaglerAdapterGL30_$callClinit(); a: { switch ($p1) { case 2884: nlea_EaglerAdapterImpl2__wglDisable(2884); break a; case 2896: olo_EaglerAdapterGL30_enableLighting = 0; break a; case 2903: olo_EaglerAdapterGL30_enableColorMaterial = 0; break a; case 2912: olo_EaglerAdapterGL30_fogEnabled = 0; break a; case 2929: nlea_EaglerAdapterImpl2__wglDisable(2929); break a; case 3008: olo_EaglerAdapterGL30_enableAlphaTest = 0; break a; case 3042: nlea_EaglerAdapterImpl2__wglDisable(3042); break a; case 3553: olo_EaglerAdapterGL30_enableTexture2D = 0; break a; case 32823: nlea_EaglerAdapterImpl2__wglDisable(32823); break a; case 32826: break; default: break a; } } } function olo_EaglerAdapterGL30_glColor4f($p1, $p2, $p3, $p4) { olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_colorR = $p1; olo_EaglerAdapterGL30_colorG = $p2; olo_EaglerAdapterGL30_colorB = $p3; olo_EaglerAdapterGL30_colorA = $p4; } function olo_EaglerAdapterGL30_glLineWidth($p1) { olo_EaglerAdapterGL30_$callClinit(); } function olo_EaglerAdapterGL30_glTexImage2D($p1, $p2, $p3, $p4, $p5, $p6, $p7, $p8, $p9) { var var$10, var$11, var$12, var$13; olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); if ($p9 === null) { var$10 = nlea_EaglerAdapterImpl2_webgl; var$11 = null; var$10.texImage2D(3553, $p2, 32856, $p4, $p5, $p6, 6408, 5121, var$11); } else { var$12 = jn_Buffer_remaining($p9); var$10 = nlea_EaglerAdapterImpl2_uploadBuffer; var$13 = 0; while (var$13 < var$12) { $p7 = (jn_ByteBufferImpl_get($p9) & 255) << 16 >> 16; var$10[var$13] = $p7; var$13 = var$13 + 1 | 0; } $p9 = new Uint8Array(nlea_EaglerAdapterImpl2_uploadBuffer.buffer, 0, var$12); nlea_EaglerAdapterImpl2_webgl.texImage2D(3553, $p2, 32856, $p4, $p5, $p6, 6408, 5121, $p9); } } function olo_EaglerAdapterGL30_glPushMatrix() { olo_EaglerAdapterGL30_$callClinit(); a: { switch (olo_EaglerAdapterGL30_matrixMode) { case 5888: break; case 5889: if (olo_EaglerAdapterGL30_matProjPointer >= (olo_EaglerAdapterGL30_matProjV.data.length - 1 | 0)) { ji_PrintStream_println(jl_System_err(), $rt_s(214)); break a; } olo_EaglerAdapterGL30_matProjPointer = olo_EaglerAdapterGL30_matProjPointer + 1 | 0; nPgv_Matrix4f_load(olo_EaglerAdapterGL30_matProjV.data[olo_EaglerAdapterGL30_matProjPointer], olo_EaglerAdapterGL30_matProjV.data[olo_EaglerAdapterGL30_matProjPointer - 1 | 0]); break a; case 5890: if (olo_EaglerAdapterGL30_matTexPointer >= (olo_EaglerAdapterGL30_matTexV.data.length - 1 | 0)) { ji_PrintStream_println(jl_System_err(), $rt_s(215)); break a; } olo_EaglerAdapterGL30_matTexPointer = olo_EaglerAdapterGL30_matTexPointer + 1 | 0; nPgv_Matrix4f_load(olo_EaglerAdapterGL30_matTexV.data[olo_EaglerAdapterGL30_matTexPointer], olo_EaglerAdapterGL30_matTexV.data[olo_EaglerAdapterGL30_matTexPointer - 1 | 0]); break a; default: } if (olo_EaglerAdapterGL30_matModelPointer >= (olo_EaglerAdapterGL30_matModelV.data.length - 1 | 0)) ji_PrintStream_println(jl_System_err(), $rt_s(216)); else { olo_EaglerAdapterGL30_matModelPointer = olo_EaglerAdapterGL30_matModelPointer + 1 | 0; nPgv_Matrix4f_load(olo_EaglerAdapterGL30_matModelV.data[olo_EaglerAdapterGL30_matModelPointer], olo_EaglerAdapterGL30_matModelV.data[olo_EaglerAdapterGL30_matModelPointer - 1 | 0]); } } } function olo_EaglerAdapterGL30_glRotatef($p1, $p2, $p3, $p4) { var var$5; olo_EaglerAdapterGL30_$callClinit(); nPgv_Vector3f_set(olo_EaglerAdapterGL30_deevis, $p2, $p3, $p4); var$5 = olo_EaglerAdapterGL30_getMatrix(); nPgv_Matrix4f_rotate(var$5, $p1 * 0.01745329238474369, olo_EaglerAdapterGL30_deevis, var$5); if (!olo_EaglerAdapterGL30_isCompilingDisplayList) return; var$5 = new jl_IllegalArgumentException; jl_Throwable__init_(var$5, $rt_s(213)); $rt_throw(var$5); } function olo_EaglerAdapterGL30_glPopMatrix() { olo_EaglerAdapterGL30_$callClinit(); a: { switch (olo_EaglerAdapterGL30_matrixMode) { case 5888: break; case 5889: if (olo_EaglerAdapterGL30_matProjPointer <= 0) { ji_PrintStream_println(jl_System_err(), $rt_s(217)); break a; } olo_EaglerAdapterGL30_matProjPointer = olo_EaglerAdapterGL30_matProjPointer - 1 | 0; break a; case 5890: if (olo_EaglerAdapterGL30_matTexPointer <= 0) { ji_PrintStream_println(jl_System_err(), $rt_s(218)); break a; } olo_EaglerAdapterGL30_matTexPointer = olo_EaglerAdapterGL30_matTexPointer - 1 | 0; break a; default: } if (olo_EaglerAdapterGL30_matModelPointer <= 0) ji_PrintStream_println(jl_System_err(), $rt_s(219)); else olo_EaglerAdapterGL30_matModelPointer = olo_EaglerAdapterGL30_matModelPointer - 1 | 0; } } function olo_EaglerAdapterGL30_glGetFloat($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); a: { switch ($p1) { case 2982: break; case 2983: nPgv_Matrix4f_store(olo_EaglerAdapterGL30_matProjV.data[olo_EaglerAdapterGL30_matProjPointer], $p2); break a; default: } nPgv_Matrix4f_store(olo_EaglerAdapterGL30_matModelV.data[olo_EaglerAdapterGL30_matModelPointer], $p2); } } function olo_EaglerAdapterGL30_glScalef($p1, $p2, $p3) { var var$4; olo_EaglerAdapterGL30_$callClinit(); nPgv_Vector3f_set(olo_EaglerAdapterGL30_deevis, $p1, $p2, $p3); nPgv_Matrix4f_scale(olo_EaglerAdapterGL30_getMatrix(), olo_EaglerAdapterGL30_deevis); if (!olo_EaglerAdapterGL30_isCompilingDisplayList) return; var$4 = new jl_IllegalArgumentException; jl_Throwable__init_(var$4, $rt_s(213)); $rt_throw(var$4); } function olo_EaglerAdapterGL30_glBlendFunc($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_fogPremultiply = $p1 == 1 && $p2 == 771 ? 1 : 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.blendFunc($p1, $p2); } function olo_EaglerAdapterGL30_glDepthMask($p1) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!$p1); } function olo_EaglerAdapterGL30_glColorMask($p1, $p2, $p3, $p4) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.colorMask(!!$p1, !!$p2, !!$p3, !!$p4); } function olo_EaglerAdapterGL30_glBindTexture($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglBindTexture(3553, nPg_GLObjectMap_get(olo_EaglerAdapterGL30_texObjects, $p2)); } function olo_EaglerAdapterGL30_glTexParameteri($p1, $p2, $p3) { olo_EaglerAdapterGL30_$callClinit(); if (!($p3 != 33071 && $p3 != 10496)) $p3 = 33071; nlea_EaglerAdapterImpl2__wglTexParameteri($p1, $p2, $p3); } function olo_EaglerAdapterGL30_glNormal3f($p1, $p2, $p3) { var $len; olo_EaglerAdapterGL30_$callClinit(); $len = jl_Math_sqrt($p1 * $p1 + $p2 * $p2 + $p3 * $p3); olo_EaglerAdapterGL30_normalX = $p1 / $len; olo_EaglerAdapterGL30_normalY = $p2 / $len; olo_EaglerAdapterGL30_normalZ = $p3 / $len; } function olo_EaglerAdapterGL30_glGenLists($p1) { var $base, $i, $id, var$5, var$6, var$7; olo_EaglerAdapterGL30_$callClinit(); $base = olo_EaglerAdapterGL30_displayListId + 1 | 0; $i = 0; while ($i < $p1) { $id = olo_EaglerAdapterGL30_displayListId + 1 | 0; olo_EaglerAdapterGL30_displayListId = $id; var$5 = olo_EaglerAdapterGL30_displayLists; var$6 = jl_Integer_valueOf($id); var$7 = new olo_EaglerAdapterGL30$DisplayList; var$7.$id1 = $id; 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); $i = $i + 1 | 0; } return $base; } function olo_EaglerAdapterGL30__wglBindVertexArray0($p1) { olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_currentArray = $p1; nlea_EaglerAdapterImpl2__wglBindVertexArray($p1); } function olo_EaglerAdapterGL30_glCallList($p1) { var $d; olo_EaglerAdapterGL30_$callClinit(); if (!olo_EaglerAdapterGL30_isCompilingDisplayList) { $d = ju_HashMap_get(olo_EaglerAdapterGL30_displayListsInitialized, jl_Integer_valueOf($p1)); if ($d !== null && $d.$listLength > 0) { olo_EaglerAdapterGL30_bindTheShader($d.$shaderMode | 0 | (olo_EaglerAdapterGL30_enableColorMaterial && olo_EaglerAdapterGL30_enableLighting ? 8 : 0) | (!olo_EaglerAdapterGL30_fogEnabled ? 0 : 16) | (!olo_EaglerAdapterGL30_enableAlphaTest ? 0 : 32) | (!olo_EaglerAdapterGL30_enableTexture2D ? 0 : 64)); olo_EaglerAdapterGL30__wglBindVertexArray0($d.$glarray); olo_EaglerAdapterGL30__wglDrawQuadArrays(0, $d.$listLength); olo_EaglerAdapterGL30_vertexDrawn = olo_EaglerAdapterGL30_vertexDrawn + (($d.$listLength * 6 | 0) / 4 | 0) | 0; olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + ($d.$listLength / 2 | 0) | 0; } } } function olo_EaglerAdapterGL30_glNewList($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); if (!olo_EaglerAdapterGL30_isCompilingDisplayList) { olo_EaglerAdapterGL30_compilingDisplayList = ju_HashMap_get(olo_EaglerAdapterGL30_displayLists, jl_Integer_valueOf($p1)); if (olo_EaglerAdapterGL30_compilingDisplayList !== null) { olo_EaglerAdapterGL30_compilingDisplayList.$shaderMode = (-1); olo_EaglerAdapterGL30_compilingDisplayList.$listLength = 0; olo_EaglerAdapterGL30_isCompilingDisplayList = 1; } } } function olo_EaglerAdapterGL30_glEndList() { var $f, var$2, var$3, $l; olo_EaglerAdapterGL30_$callClinit(); if (olo_EaglerAdapterGL30_isCompilingDisplayList) { olo_EaglerAdapterGL30_isCompilingDisplayList = 0; nlea_EaglerAdapterImpl2_$callClinit(); $f = nlea_EaglerAdapterImpl2_appendbuffer.buffer; var$2 = nlea_EaglerAdapterImpl2_appendbufferindex; var$3 = new Int32Array($f, 0, var$2); nlea_EaglerAdapterImpl2_appendbufferindex = 0; $l = nlea_EaglerAdapterImpl2__wArrayByteLength(var$3); if ($l > 0) { if (olo_EaglerAdapterGL30_compilingDisplayList.$glbuffer === null) { ju_HashMap_putImpl(olo_EaglerAdapterGL30_displayListsInitialized, jl_Integer_valueOf(olo_EaglerAdapterGL30_compilingDisplayList.$id1), olo_EaglerAdapterGL30_compilingDisplayList); olo_EaglerAdapterGL30_compilingDisplayList.$glarray = nlea_EaglerAdapterImpl2__wglCreateVertexArray(); olo_EaglerAdapterGL30_compilingDisplayList.$glbuffer = nlea_EaglerAdapterImpl2__wglCreateBuffer(); $f = nPg_FixedFunctionShader_instance(olo_EaglerAdapterGL30_compilingDisplayList.$shaderMode); olo_EaglerAdapterGL30__wglBindVertexArray0(olo_EaglerAdapterGL30_compilingDisplayList.$glarray); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, olo_EaglerAdapterGL30_compilingDisplayList.$glbuffer); nPg_FixedFunctionShader_setupArrayForProgram($f); } nlea_EaglerAdapterImpl2__wglBindBuffer(34962, olo_EaglerAdapterGL30_compilingDisplayList.$glbuffer); nlea_EaglerAdapterImpl2__wglBufferData(34962, var$3, 35044); olo_EaglerAdapterGL30_bytesUploaded = olo_EaglerAdapterGL30_bytesUploaded + $l | 0; } } } function olo_EaglerAdapterGL30_glColor3f($p1, $p2, $p3) { olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_colorR = $p1; olo_EaglerAdapterGL30_colorG = $p2; olo_EaglerAdapterGL30_colorB = $p3; olo_EaglerAdapterGL30_colorA = 1.0; } function olo_EaglerAdapterGL30_glCallLists($p1) { olo_EaglerAdapterGL30_$callClinit(); while (jn_Buffer_hasRemaining($p1)) { olo_EaglerAdapterGL30_glCallList(jn_IntBufferImpl_get($p1)); } } function olo_EaglerAdapterGL30_glEnableVertexAttrib($p1) { olo_EaglerAdapterGL30_$callClinit(); a: { switch ($p1) { case 32885: break; case 32886: olo_EaglerAdapterGL30_enableColorArray = 1; break a; case 32887: break a; case 32888: olo_EaglerAdapterGL30_enableTex0Array = 1; break a; default: break a; } olo_EaglerAdapterGL30_enableNormalArray = 1; } } function olo_EaglerAdapterGL30_glDisableVertexAttrib($p1) { olo_EaglerAdapterGL30_$callClinit(); a: { switch ($p1) { case 32885: break; case 32886: olo_EaglerAdapterGL30_enableColorArray = 0; break a; case 32887: break a; case 32888: olo_EaglerAdapterGL30_enableTex0Array = 0; break a; default: break a; } olo_EaglerAdapterGL30_enableNormalArray = 0; } } function olo_EaglerAdapterGL30_getShaderModeFlag0() { olo_EaglerAdapterGL30_$callClinit(); return 0 | (!olo_EaglerAdapterGL30_enableColorArray ? 0 : 1) | (!olo_EaglerAdapterGL30_enableNormalArray ? 0 : 2) | (!olo_EaglerAdapterGL30_enableTex0Array ? 0 : 4); } function olo_EaglerAdapterGL30_bindTheShader($mode) { var $s; olo_EaglerAdapterGL30_$callClinit(); $s = nPg_FixedFunctionShader_instance($mode); olo_EaglerAdapterGL30_shader = $s; nPg_FixedFunctionShader_useProgram($s); if (olo_EaglerAdapterGL30_enableAlphaTest) nPg_FixedFunctionShader_setAlphaTest($s, olo_EaglerAdapterGL30_alphaThresh); nPg_FixedFunctionShader_setColor($s, olo_EaglerAdapterGL30_colorR, olo_EaglerAdapterGL30_colorG, olo_EaglerAdapterGL30_colorB, olo_EaglerAdapterGL30_colorA); if (olo_EaglerAdapterGL30_fogEnabled) { nPg_FixedFunctionShader_setFogMode($s, (!olo_EaglerAdapterGL30_fogPremultiply ? 0 : 2) + olo_EaglerAdapterGL30_fogMode | 0); nPg_FixedFunctionShader_setFogColor($s, olo_EaglerAdapterGL30_fogColorR, olo_EaglerAdapterGL30_fogColorG, olo_EaglerAdapterGL30_fogColorB, olo_EaglerAdapterGL30_fogColorA); nPg_FixedFunctionShader_setFogDensity($s, olo_EaglerAdapterGL30_fogDensity); nPg_FixedFunctionShader_setFogStartEnd($s, olo_EaglerAdapterGL30_fogStart, olo_EaglerAdapterGL30_fogEnd); } nPg_FixedFunctionShader_setModelMatrix($s, olo_EaglerAdapterGL30_matModelV.data[olo_EaglerAdapterGL30_matModelPointer]); nPg_FixedFunctionShader_setProjectionMatrix($s, olo_EaglerAdapterGL30_matProjV.data[olo_EaglerAdapterGL30_matProjPointer]); nPg_FixedFunctionShader_setTextureMatrix($s, olo_EaglerAdapterGL30_matTexV.data[olo_EaglerAdapterGL30_matTexPointer]); if (olo_EaglerAdapterGL30_enableColorMaterial && olo_EaglerAdapterGL30_enableLighting) { nPg_FixedFunctionShader_setNormal($s, olo_EaglerAdapterGL30_normalX, olo_EaglerAdapterGL30_normalY, olo_EaglerAdapterGL30_normalZ); nPg_FixedFunctionShader_setLightPositions($s, olo_EaglerAdapterGL30_lightPos0vec, olo_EaglerAdapterGL30_lightPos1vec); } nPg_FixedFunctionShader_setTex0Coords($s, olo_EaglerAdapterGL30_tex0X, olo_EaglerAdapterGL30_tex0Y); } function olo_EaglerAdapterGL30_glDrawArrays($p1, $p2, $p3, $buffer) { var var$5; olo_EaglerAdapterGL30_$callClinit(); if (olo_EaglerAdapterGL30_isCompilingDisplayList) { if ($p1 != 7) ji_PrintStream_println(jl_System_err(), $rt_s(220)); else { if (olo_EaglerAdapterGL30_compilingDisplayList.$shaderMode == (-1)) olo_EaglerAdapterGL30_compilingDisplayList.$shaderMode = olo_EaglerAdapterGL30_getShaderModeFlag0(); else if (olo_EaglerAdapterGL30_compilingDisplayList.$shaderMode != olo_EaglerAdapterGL30_getShaderModeFlag0()) ji_PrintStream_println(jl_System_err(), $rt_s(221)); var$5 = olo_EaglerAdapterGL30_compilingDisplayList; var$5.$listLength = var$5.$listLength + $p3 | 0; nlea_EaglerAdapterImpl2_$callClinit(); $buffer = $buffer; if ((nlea_EaglerAdapterImpl2_appendbufferindex + $buffer.length | 0) < nlea_EaglerAdapterImpl2_appendbuffer.length) { var$5 = nlea_EaglerAdapterImpl2_appendbuffer; $p1 = nlea_EaglerAdapterImpl2_appendbufferindex; var$5.set($buffer, $p1); nlea_EaglerAdapterImpl2_appendbufferindex = nlea_EaglerAdapterImpl2_appendbufferindex + $buffer.length | 0; } } } else { olo_EaglerAdapterGL30_bytesUploaded = olo_EaglerAdapterGL30_bytesUploaded + nlea_EaglerAdapterImpl2__wArrayByteLength($buffer) | 0; olo_EaglerAdapterGL30_vertexDrawn = olo_EaglerAdapterGL30_vertexDrawn + $p3 | 0; olo_EaglerAdapterGL30_bindTheShader(0 | (!olo_EaglerAdapterGL30_enableColorArray ? 0 : 1) | (!olo_EaglerAdapterGL30_enableNormalArray ? 0 : 2) | (!olo_EaglerAdapterGL30_enableTex0Array ? 0 : 4) | (olo_EaglerAdapterGL30_enableColorMaterial && olo_EaglerAdapterGL30_enableLighting ? 8 : 0) | (!olo_EaglerAdapterGL30_fogEnabled ? 0 : 16) | (!olo_EaglerAdapterGL30_enableAlphaTest ? 0 : 32) | (!olo_EaglerAdapterGL30_enableTexture2D ? 0 : 64)); olo_EaglerAdapterGL30__wglBindVertexArray0(olo_EaglerAdapterGL30_shader.$genericArray); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, olo_EaglerAdapterGL30_shader.$genericBuffer); if (!olo_EaglerAdapterGL30_shader.$bufferIsInitialized) { olo_EaglerAdapterGL30_shader.$bufferIsInitialized = 1; nlea_EaglerAdapterImpl2__wglBufferData(34962, olo_EaglerAdapterGL30_blankUploadArray, 35048); } var$5 = nlea_EaglerAdapterImpl2_webgl; $buffer = $buffer; var$5.bufferSubData(34962, 0, $buffer); if ($p1 == 7) { olo_EaglerAdapterGL30__wglDrawQuadArrays($p2, $p3); olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + ($p3 / 2 | 0) | 0; } else { a: { b: { switch ($p1) { case 1: break; case 2: case 4: break b; case 3: $p1 = 3; olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + ($p3 - 1 | 0) | 0; break a; case 5: $p1 = 5; olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + ($p3 - 2 | 0) | 0; break a; case 6: $p1 = 6; olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + ($p3 - 2 | 0) | 0; break a; default: break b; } $p1 = 1; olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + ($p3 / 2 | 0) | 0; break a; } $p1 = 4; olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + ($p3 / 3 | 0) | 0; } nlea_EaglerAdapterImpl2__wglDrawArrays($p1, $p2, $p3); } } } function olo_EaglerAdapterGL30__wglDrawQuadArrays($p2, $p3) { var $upload, $i, $v1, $v2, $v3, $v4, var$9; olo_EaglerAdapterGL30_$callClinit(); if (olo_EaglerAdapterGL30_quadsToTrianglesBuffer === null) { if (olo_EaglerAdapterGL30_isWebGL) $upload = jn_IntBuffer_wrap($rt_createIntArray(49200)); else { $upload = jn_ByteBuffer_allocateDirect(196800); $upload.$order = jn_ByteOrder_BIG_ENDIAN; $upload = jn_ByteBufferImpl_asIntBuffer($upload); } $i = 0; while ($i < 16384) { $v1 = $i * 4 | 0; $v2 = $v1 + 1 | 0; $v3 = $v1 + 2 | 0; $v4 = $v1 + 3 | 0; var$9 = $v2 << 16; jn_IntBufferImpl_put($upload, $v1 | var$9); jn_IntBufferImpl_put($upload, $v4 | var$9); jn_IntBufferImpl_put($upload, $v3 | $v4 << 16); $i = $i + 1 | 0; } jn_IntBuffer_flip($upload); olo_EaglerAdapterGL30_quadsToTrianglesBuffer = nlea_EaglerAdapterImpl2__wglCreateBuffer(); nlea_EaglerAdapterImpl2__wglBindBuffer(34963, olo_EaglerAdapterGL30_quadsToTrianglesBuffer); nlea_EaglerAdapterImpl2__wglBufferData0(34963, $upload, 35044); } if (!olo_EaglerAdapterGL30_currentArray.$isQuadBufferBound) { olo_EaglerAdapterGL30_currentArray.$isQuadBufferBound = 1; nlea_EaglerAdapterImpl2__wglBindBuffer(34963, olo_EaglerAdapterGL30_quadsToTrianglesBuffer); } $v4 = ($p3 * 6 | 0) / 4 | 0; $p2 = ($p2 * 6 | 0) / 4 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.drawElements(4, $v4, 5123, $p2); } function olo_EaglerAdapterGL30_glFogi($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); a: { if ($p1 == 2917) { b: { switch ($p2) { case 2048: break; case 9729: break b; default: break b; } olo_EaglerAdapterGL30_fogMode = 2; break a; } olo_EaglerAdapterGL30_fogMode = 1; } } } function olo_EaglerAdapterGL30_glFogf($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); a: { switch ($p1) { case 2914: break; case 2915: olo_EaglerAdapterGL30_fogStart = $p2; break a; case 2916: olo_EaglerAdapterGL30_fogEnd = $p2; break a; default: break a; } olo_EaglerAdapterGL30_fogDensity = $p2; } } function olo_EaglerAdapterGL30_gluPerspective($fovy, $aspect, $zNear, $zFar) { var $res, var$6, $cotangent; olo_EaglerAdapterGL30_$callClinit(); $res = olo_EaglerAdapterGL30_getMatrix(); 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; } function olo_EaglerAdapterGL30__clinit_() { var $i; nlea_EaglerAdapterImpl2_$callClinit(); olo_EaglerAdapterGL30_isWebGL = 1; olo_EaglerAdapterGL30_texObjects = nPg_GLObjectMap__init_(256); olo_EaglerAdapterGL30_enableTexture2D = 0; olo_EaglerAdapterGL30_enableLighting = 0; olo_EaglerAdapterGL30_enableAlphaTest = 0; olo_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; olo_EaglerAdapterGL30_isCompilingDisplayList = 0; olo_EaglerAdapterGL30_compilingDisplayList = null; olo_EaglerAdapterGL30_enableColorArray = 0; olo_EaglerAdapterGL30_enableNormalArray = 0; olo_EaglerAdapterGL30_enableTex0Array = 0; olo_EaglerAdapterGL30_colorR = 1.0; olo_EaglerAdapterGL30_colorG = 1.0; olo_EaglerAdapterGL30_colorB = 1.0; olo_EaglerAdapterGL30_colorA = 1.0; olo_EaglerAdapterGL30_normalX = 1.0; olo_EaglerAdapterGL30_normalY = 0.0; olo_EaglerAdapterGL30_normalZ = 0.0; olo_EaglerAdapterGL30_tex0X = 0.0; olo_EaglerAdapterGL30_tex0Y = 0.0; olo_EaglerAdapterGL30_enableColorMaterial = 0; olo_EaglerAdapterGL30_fogColorR = 1.0; olo_EaglerAdapterGL30_fogColorG = 1.0; olo_EaglerAdapterGL30_fogColorB = 1.0; olo_EaglerAdapterGL30_fogColorA = 1.0; olo_EaglerAdapterGL30_fogMode = 1; olo_EaglerAdapterGL30_fogEnabled = 0; olo_EaglerAdapterGL30_fogPremultiply = 0; olo_EaglerAdapterGL30_fogStart = 1.0; olo_EaglerAdapterGL30_fogEnd = 1.0; olo_EaglerAdapterGL30_fogDensity = 1.0; olo_EaglerAdapterGL30_bytesUploaded = 0; olo_EaglerAdapterGL30_vertexDrawn = 0; olo_EaglerAdapterGL30_triangleDrawn = 0; olo_EaglerAdapterGL30_matrixMode = 5888; olo_EaglerAdapterGL30_matModelV = $rt_createArray(nPgv_Matrix4f, 32); olo_EaglerAdapterGL30_matModelPointer = 0; olo_EaglerAdapterGL30_matProjV = $rt_createArray(nPgv_Matrix4f, 6); olo_EaglerAdapterGL30_matProjPointer = 0; olo_EaglerAdapterGL30_matTexV = $rt_createArray(nPgv_Matrix4f, 16); olo_EaglerAdapterGL30_matTexPointer = 0; $i = 0; while ($i < olo_EaglerAdapterGL30_matModelV.data.length) { olo_EaglerAdapterGL30_matModelV.data[$i] = nPgv_Matrix4f__init_(); $i = $i + 1 | 0; } $i = 0; while ($i < olo_EaglerAdapterGL30_matProjV.data.length) { olo_EaglerAdapterGL30_matProjV.data[$i] = nPgv_Matrix4f__init_(); $i = $i + 1 | 0; } $i = 0; while ($i < olo_EaglerAdapterGL30_matTexV.data.length) { olo_EaglerAdapterGL30_matTexV.data[$i] = nPgv_Matrix4f__init_(); $i = $i + 1 | 0; } olo_EaglerAdapterGL30_quadsToTrianglesBuffer = null; olo_EaglerAdapterGL30_currentArray = null; olo_EaglerAdapterGL30_displayLists = ju_HashMap__init_(); olo_EaglerAdapterGL30_displayListsInitialized = ju_HashMap__init_(); olo_EaglerAdapterGL30_deevis = new nPgv_Vector3f; olo_EaglerAdapterGL30_lightPos0vec0 = new nPgv_Vector4f; olo_EaglerAdapterGL30_lightPos1vec0 = new nPgv_Vector4f; olo_EaglerAdapterGL30_lightPos0vec = new nPgv_Vector4f; olo_EaglerAdapterGL30_lightPos1vec = new nPgv_Vector4f; olo_EaglerAdapterGL30_displayListId = 0; olo_EaglerAdapterGL30_shader = null; olo_EaglerAdapterGL30_blankUploadArray = new Int32Array(525000); olo_EaglerAdapterGL30_occlusion_vao = null; olo_EaglerAdapterGL30_occlusion_vbo = null; olo_EaglerAdapterGL30_occlusion_program = null; olo_EaglerAdapterGL30_occlusion_matrix_m = null; olo_EaglerAdapterGL30_occlusion_matrix_p = null; olo_EaglerAdapterGL30_queryObjs = nPg_GLObjectMap__init_(256); olo_EaglerAdapterGL30_cachedOcclusionP = nPgv_Matrix4f_setZero(nPgv_Matrix4f__init_()); olo_EaglerAdapterGL30_occlusionModel = $rt_createFloatArray(16); olo_EaglerAdapterGL30_occlusionProj = $rt_createFloatArray(16); olo_EaglerAdapterGL30_unprojA = nPgv_Matrix4f__init_(); olo_EaglerAdapterGL30_unprojB = nPgv_Matrix4f__init_(); olo_EaglerAdapterGL30_unprojC = new nPgv_Vector4f; olo_EaglerAdapterGL30_lastBandwidthReset = Long_ZERO; olo_EaglerAdapterGL30_lastBandwidth = 0; } function olo_GL11() { olo_EaglerAdapterGL30.call(this); } function cmm_SessionData() { var a = this; jl_Object.call(a); a.$username = null; a.$sessionId = null; } var cmm_SessionData_allowedBlocks = null; function cmm_SessionData_$callClinit() { cmm_SessionData_$callClinit = $rt_eraseClinit(cmm_SessionData); cmm_SessionData__clinit_(); } function cmm_SessionData__clinit_() { var var$1; var$1 = ju_ArrayList__init_(); cmm_SessionData_allowedBlocks = var$1; cmmlt_Block_$callClinit(); ju_ArrayList_add(var$1, cmmlt_Block_STONE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_COBBLESTONE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_BRICK); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_DIRT); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_WOOD); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_LOG); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_LEAVES); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_GLASS); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_SLAB); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_MOSSY_COBBLESTONE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_SAPLING); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_DANDELION); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_ROSE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_BROWN_MUSHROOM); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_RED_MUSHROOM); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_SAND); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_GRAVEL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_SPONGE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_RED_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_ORANGE_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_YELLOW_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_LIME_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_GREEN_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_AQUA_GREEN_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_CYAN_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_BLUE_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_PURPLE_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_INDIGO_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_VIOLET_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_MAGENTA_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_PINK_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_BLACK_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_GRAY_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_WHITE_WOOL); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_COAL_ORE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_IRON_ORE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_GOLD_ORE); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_IRON_BLOCK); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_GOLD_BLOCK); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_BOOKSHELF); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_TNT); ju_ArrayList_add(cmm_SessionData_allowedBlocks, cmmlt_Block_OBSIDIAN); } function jl_Iterable() { } function ju_Collection() { } function ju_AbstractCollection() { jl_Object.call(this); } function ju_AbstractCollection__init_() { var var_0 = new ju_AbstractCollection(); ju_AbstractCollection__init_0(var_0); return var_0; } function ju_AbstractCollection__init_0($this) { return; } function ju_AbstractCollection_isEmpty($this) { return $this.$size() ? 0 : 1; } function ju_AbstractCollection_contains($this, $o) { var $iter, $e; $iter = ju_AbstractList_iterator($this); a: { while (ju_AbstractList$1_hasNext($iter)) { b: { $e = ju_AbstractList$1_next($iter); if ($e !== null) { if (!$e.$equals($o)) break b; else break a; } if ($o === null) break a; } } return 0; } return 1; } function ju_AbstractCollection_toArray($this, $a) { var var$2, $i, $i_0, $iter, var$6; var$2 = $a.data; $i = $this.$size0; $i_0 = var$2.length; if ($i_0 < $i) $a = jlr_Array_newInstance(jl_Class_getComponentType(jl_Object_getClass($a)), $i); else while ($i < $i_0) { var$2[$i] = null; $i = $i + 1 | 0; } $i_0 = 0; $iter = ju_AbstractList_iterator($this); while (ju_AbstractList$1_hasNext($iter)) { var$2 = $a.data; var$6 = $i_0 + 1 | 0; var$2[$i_0] = ju_AbstractList$1_next($iter); $i_0 = var$6; } return $a; } function ju_AbstractCollection_addAll($this, $c) { var $changed, $iter; $changed = 0; $iter = ju_AbstractList_iterator($c); while (ju_AbstractList$1_hasNext($iter)) { if (!ju_ArrayList_add($this, ju_AbstractList$1_next($iter))) continue; $changed = 1; } return $changed; } function ju_List() { } function ju_AbstractList() { ju_AbstractCollection.call(this); this.$modCount = 0; } function ju_AbstractList_add($this, $e) { ju_AbstractSequentialList_add($this, $this.$size1, $e); return 1; } function ju_AbstractList_iterator($this) { var var$1; var$1 = new ju_AbstractList$1; var$1.$this$0 = $this; var$1.$modCount0 = var$1.$this$0.$modCount; var$1.$size2 = var$1.$this$0.$size0; var$1.$removeIndex = (-1); return var$1; } function ju_AbstractList_indexOf($this, $o) { var $sz, $i, $e; $sz = $this.$size0; $i = 0; a: { while ($i < $sz) { b: { $e = ju_ArrayList_get($this, $i); if ($o !== null) { if (!jl_Object_equals($o, $e)) break b; else break a; } if ($e === null) break a; } $i = $i + 1 | 0; } return (-1); } return $i; } function ju_AbstractSequentialList() { ju_AbstractList.call(this); } function ju_AbstractSequentialList_add($this, $index, $element) { if ($index >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($this, $index), $element); return; } $element = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($element); $rt_throw($element); } function ju_AbstractSequentialList_remove($this, $index) { var $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; jl_Throwable__init_0($iter); $rt_throw($iter); } function ju_Queue() { } function ju_Deque() { } function ju_LinkedList() { var a = this; ju_AbstractSequentialList.call(a); a.$firstEntry = null; a.$lastEntry = null; a.$size1 = 0; } function ju_LinkedList__init_() { var var_0 = new ju_LinkedList(); ju_LinkedList__init_0(var_0); return var_0; } function ju_LinkedList__init_0($this) { return; } function ju_LinkedList_size($this) { return $this.$size1; } function ju_LinkedList_clear($this) { $this.$firstEntry = null; $this.$lastEntry = null; $this.$size1 = 0; $this.$modCount = $this.$modCount + 1 | 0; } function ju_LinkedList_listIterator($this, $index) { var $prev, $next, $i; if ($index < 0) { $prev = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($prev); $rt_throw($prev); } if ($index <= ($this.$size1 / 2 | 0)) { $next = $this.$firstEntry; $i = 0; while ($i < $index) { $next = $next.$next0; $i = $i + 1 | 0; } return ju_LinkedList$SequentialListIterator__init_($this, $next, $next === null ? null : $next.$previous, $index); } if ($index > $this.$size1) { $prev = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($prev); $rt_throw($prev); } $prev = $this.$lastEntry; $i = $index; while ($i < $this.$size1) { $prev = $prev.$previous; $i = $i + 1 | 0; } return ju_LinkedList$SequentialListIterator__init_($this, $prev === null ? null : $prev.$next0, $prev, $index); } function otjt_ArrayBuffer() { jl_Object.call(this); } function otjt_ArrayBufferView() { jl_Object.call(this); } function otjt_Uint8Array() { otjt_ArrayBufferView.call(this); } function otjt_Float32Array() { otjt_ArrayBufferView.call(this); } function jl_Cloneable() { } function jt_Format() { jl_Object.call(this); } function jt_DateFormat() { jt_Format.call(this); this.$calendar = null; } function jt_SimpleDateFormat() { var a = this; jt_DateFormat.call(a); a.$dateFormatSymbols = null; a.$elements = null; a.$pattern = null; a.$locale = null; } function jt_SimpleDateFormat__init_(var_0) { var var_1 = new jt_SimpleDateFormat(); jt_SimpleDateFormat__init_0(var_1, var_0); return var_1; } function jt_SimpleDateFormat__init_0($this, $pattern) { var var$2, var$3, var$4, var$5, var$6; var$2 = ju_Locale_defaultLocale; var$3 = jt_DateFormatSymbols__init_(var$2); var$4 = new ju_GregorianCalendar; var$5 = ju_Locale_defaultLocale; if (ju_TimeZone_defaultTz === null) { var$6 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$6 === null) ju_TimeZone_defaultTz = ju_TimeZone_getTimeZone($rt_s(222)); else ju_TimeZone_defaultTz = ju_IANATimeZone__init_(var$6); } ju_GregorianCalendar__init_(var$4, ju_IANATimeZone_clone(ju_TimeZone_defaultTz), var$5); $this.$calendar = var$4; $this.$dateFormatSymbols = jt_DateFormatSymbols_clone(var$3); $this.$locale = ju_Locale_defaultLocale; jt_SimpleDateFormat_applyPattern($this, $pattern); $this.$locale = var$2; } function jt_SimpleDateFormat_applyPattern($this, $pattern) { var var$2, var$3; $this.$pattern = $pattern; $pattern = new jt_SimpleDatePatternParser; var$2 = $this.$dateFormatSymbols; var$3 = $this.$locale; $pattern.$elements0 = ju_ArrayList__init_(); $pattern.$symbols = var$2; $pattern.$locale0 = var$3; jt_SimpleDatePatternParser_parsePattern($pattern, $this.$pattern); $this.$elements = ju_AbstractCollection_toArray($pattern.$elements0, $rt_createArray(jt_DateFormatElement, 0)); } function ju_Set() { } function ju_AbstractSet() { ju_AbstractCollection.call(this); } function ju_HashSet() { ju_AbstractSet.call(this); this.$backingMap = null; } function ju_HashSet__init_() { var var_0 = new ju_HashSet(); ju_HashSet__init_0(var_0); return var_0; } function ju_HashSet__init_0($this) { $this.$backingMap = ju_HashMap__init_(); } function ju_HashSet_add($this, $object) { return ju_HashMap_putImpl($this.$backingMap, $object, $this) !== null ? 0 : 1; } function ju_HashSet_remove($this, $object) { return ju_HashMap_remove($this.$backingMap, $object) === null ? 0 : 1; } function ju_Map() { } function ju_Map_computeIfAbsent($this, $key, $mappingFunction) { var $v, $newValue; $v = ju_HashMap_get($this, $key); if ($v !== null) return $v; $newValue = otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0_apply($mappingFunction, $key); if ($newValue !== null) ju_HashMap_putImpl($this, $key, $newValue); return $newValue; } function ju_AbstractMap() { jl_Object.call(this); } function ju_HashMap() { var a = this; ju_AbstractMap.call(a); a.$elementCount = 0; a.$elementData = null; a.$modCount1 = 0; a.$loadFactor = 0.0; a.$threshold = 0; } function ju_HashMap__init_() { var var_0 = new ju_HashMap(); ju_HashMap__init_0(var_0); return var_0; } function ju_HashMap_newElementArray($this, $s) { return $rt_createArray(ju_HashMap$HashEntry, $s); } function ju_HashMap__init_0($this) { var var$1; var$1 = ju_HashMap_calculateCapacity(16); $this.$elementCount = 0; $this.$elementData = $rt_createArray(ju_HashMap$HashEntry, var$1); $this.$loadFactor = 0.75; ju_HashMap_computeThreshold($this); } function ju_HashMap_calculateCapacity($x) { var 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; } function ju_HashMap_computeThreshold($this) { $this.$threshold = $this.$elementData.data.length * $this.$loadFactor | 0; } function ju_HashMap_containsKey($this, $key) { return ju_HashMap_getEntry($this, $key) === null ? 0 : 1; } function ju_HashMap_get($this, $key) { var $m; $m = ju_HashMap_getEntry($this, $key); if ($m === null) return null; return $m.$value0; } function ju_HashMap_getEntry($this, $key) { var $m, $hash; if ($key === null) $m = ju_HashMap_findNullKeyEntry($this); else { $hash = $key.$hashCode0(); $m = ju_HashMap_findNonNullKeyEntry($this, $key, $hash & ($this.$elementData.data.length - 1 | 0), $hash); } return $m; } function ju_HashMap_findNonNullKeyEntry($this, $key, $index, $keyHash) { var $m; $m = $this.$elementData.data[$index]; while ($m !== null && !($m.$origKeyHash == $keyHash && ju_HashMap_areEqualKeys($key, $m.$key0))) { $m = $m.$next1; } return $m; } function ju_HashMap_findNullKeyEntry($this) { var $m; $m = $this.$elementData.data[0]; while ($m !== null && $m.$key0 !== null) { $m = $m.$next1; } return $m; } function ju_HashMap_put($this, $key, $value) { return ju_HashMap_putImpl($this, $key, $value); } function ju_HashMap_putImpl($this, $key, $value) { var $entry, $hash, $index, $result; if ($key === null) { $entry = ju_HashMap_findNullKeyEntry($this); if ($entry === null) { $this.$modCount1 = $this.$modCount1 + 1 | 0; $entry = ju_HashMap_createHashedEntry($this, null, 0, 0); $hash = $this.$elementCount + 1 | 0; $this.$elementCount = $hash; if ($hash > $this.$threshold) ju_HashMap_rehash($this); } } else { $hash = $key.$hashCode0(); $index = $hash & ($this.$elementData.data.length - 1 | 0); $entry = ju_HashMap_findNonNullKeyEntry($this, $key, $index, $hash); if ($entry === null) { $this.$modCount1 = $this.$modCount1 + 1 | 0; $entry = ju_HashMap_createHashedEntry($this, $key, $index, $hash); $hash = $this.$elementCount + 1 | 0; $this.$elementCount = $hash; if ($hash > $this.$threshold) ju_HashMap_rehash($this); } } $result = $entry.$value0; $entry.$value0 = $value; return $result; } function ju_HashMap_createHashedEntry($this, $key, $index, $hash) { var $entry, var$5; $entry = new ju_HashMap$HashEntry; var$5 = null; $entry.$key0 = $key; $entry.$value0 = var$5; $entry.$origKeyHash = $hash; $entry.$next1 = $this.$elementData.data[$index]; $this.$elementData.data[$index] = $entry; return $entry; } function ju_HashMap_rehash0($this, $capacity) { var $length, $newData, var$4, $i, $entry, $index, $next; $length = ju_HashMap_calculateCapacity(!$capacity ? 1 : $capacity << 1); $newData = $rt_createArray(ju_HashMap$HashEntry, $length); var$4 = $newData.data; $i = 0; $length = $length - 1 | 0; while ($i < $this.$elementData.data.length) { $entry = $this.$elementData.data[$i]; $this.$elementData.data[$i] = null; while ($entry !== null) { $index = $entry.$origKeyHash & $length; $next = $entry.$next1; $entry.$next1 = var$4[$index]; var$4[$index] = $entry; $entry = $next; } $i = $i + 1 | 0; } $this.$elementData = $newData; ju_HashMap_computeThreshold($this); } function ju_HashMap_rehash($this) { ju_HashMap_rehash0($this, $this.$elementData.data.length); } function ju_HashMap_remove($this, $key) { var $entry; $entry = ju_HashMap_removeEntry($this, $key); if ($entry === null) return null; return $entry.$value0; } function ju_HashMap_removeEntry($this, $key) { var $index, $last, $entry, $entry_0, $hash; a: { $index = 0; $last = null; if ($key === null) { $entry = $this.$elementData.data[0]; while ($entry !== null) { if ($entry.$key0 === null) break a; $entry_0 = $entry.$next1; $last = $entry; $entry = $entry_0; } } else { $hash = $key.$hashCode0(); $index = $hash & ($this.$elementData.data.length - 1 | 0); $entry = $this.$elementData.data[$index]; while ($entry !== null && !($entry.$origKeyHash == $hash && ju_HashMap_areEqualKeys($key, $entry.$key0))) { $entry_0 = $entry.$next1; $last = $entry; $entry = $entry_0; } } } if ($entry === null) return null; if ($last !== null) $last.$next1 = $entry.$next1; else $this.$elementData.data[$index] = $entry.$next1; $this.$modCount1 = $this.$modCount1 + 1 | 0; $this.$elementCount = $this.$elementCount - 1 | 0; return $entry; } function ju_HashMap_areEqualKeys($key1, $key2) { return $key1 !== $key2 && !$key1.$equals($key2) ? 0 : 1; } function otjt_Int32Array() { otjt_ArrayBufferView.call(this); } function nle_BaseNCodec() { var 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; } var nle_BaseNCodec_CHUNK_SEPARATOR = null; function nle_BaseNCodec_compareUnsigned($xx, $yy) { $xx = $rt_compare($xx + (-2147483648) | 0, $yy + (-2147483648) | 0); return $xx < 0 ? (-1) : $xx ? 1 : 0; } function nle_BaseNCodec_available($this, $context) { return $context.$buffer3 === null ? 0 : $context.$pos1 - $context.$readPos | 0; } function nle_BaseNCodec_containsAlphabetOrPad($this, $arrayOctet) { var var$2, var$3, $element; 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; if (nle_Base64_isInAlphabet($this, $element)) break a; var$3 = var$3 + 1 | 0; } return 0; } return 1; } function nle_BaseNCodec_decode($this, $pArray) { var var$2, $context, $result; if ($pArray !== null) { var$2 = $pArray.data.length; if (var$2) { $context = new nle_BaseNCodec$Context; nle_Base64_decode($this, $pArray, 0, var$2, $context); nle_Base64_decode($this, $pArray, 0, (-1), $context); $result = $rt_createByteArray($context.$pos1); nle_BaseNCodec_readResults($this, $result, 0, $result.data.length, $context); return $result; } } return $pArray; } function nle_BaseNCodec_decode0($this, $pArray) { return nle_BaseNCodec_decode($this, jl_String_getBytes($pArray, jnc_Charset_forName($rt_s(23)))); } function nle_BaseNCodec_ensureBufferSize($this, $size, $context) { var var$3, var$4, var$5; if ($context.$buffer3 === null) { $context.$buffer3 = $rt_createByteArray(jl_Math_max($size, 8192)); $context.$pos1 = 0; $context.$readPos = 0; } else if ((($context.$pos1 + $size | 0) - $context.$buffer3.data.length | 0) > 0) { $size = $context.$pos1 + $size | 0; var$3 = $context.$buffer3.data.length * 2 | 0; if (nle_BaseNCodec_compareUnsigned(var$3, $size) < 0) var$3 = $size; if (nle_BaseNCodec_compareUnsigned(var$3, 2147483639) <= 0) $size = var$3; else { if ($size < 0) { var$4 = new jl_OutOfMemoryError; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append3(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(223)), Long_and(Long_fromInt($size), new Long(4294967295, 0))))); $rt_throw(var$4); } if ($size <= 2147483639) $size = 2147483639; } var$5 = $rt_createByteArray($size); jl_System_arraycopy($context.$buffer3, 0, var$5, 0, $context.$buffer3.data.length); $context.$buffer3 = var$5; return var$5; } return $context.$buffer3; } function nle_BaseNCodec_getDefaultBufferSize($this) { return 8192; } function nle_BaseNCodec_isStrictDecoding($this) { return $this.$decodingPolicy !== nle_BaseNCodec$CodecPolicy_STRICT ? 0 : 1; } function nle_BaseNCodec_readResults($this, $b, $bPos, $bAvail, $context) { var $len; if ($context.$buffer3 === null) return !$context.$eof0 ? 0 : (-1); $len = jl_Math_min(nle_BaseNCodec_available($this, $context), $bAvail); jl_System_arraycopy($context.$buffer3, $context.$readPos, $b, $bPos, $len); $context.$readPos = $context.$readPos + $len | 0; if ($context.$readPos >= $context.$pos1) $context.$buffer3 = null; return $len; } function nle_BaseNCodec__clinit_() { var var$1, var$2; var$1 = $rt_createByteArray(2); var$2 = var$1.data; var$2[0] = 13; var$2[1] = 10; nle_BaseNCodec_CHUNK_SEPARATOR = var$1; } function nle_Base64() { var a = this; nle_BaseNCodec.call(a); a.$encodeTable = null; a.$decodeTable = null; a.$lineSeparator = null; a.$decodeSize = 0; a.$encodeSize = 0; } var nle_Base64_STANDARD_ENCODE_TABLE = null; var nle_Base64_URL_SAFE_ENCODE_TABLE = null; var nle_Base64_DECODE_TABLE = null; function nle_Base64_decodeBase64($base64String) { var var$2, var$3, var$4, var$5; var$2 = new nle_Base64; var$3 = nle_BaseNCodec_CHUNK_SEPARATOR; var$4 = nle_BaseNCodec$CodecPolicy_LENIANT; var$5 = var$3 === null ? 0 : var$3.data.length; var$2.$PAD = 61; var$2.$unencodedBlockSize = 3; var$2.$encodedBlockSize = 4; var$2.$lineLength = 0; var$2.$chunkSeparatorLength = var$5; var$2.$pad = 61; var$2.$decodingPolicy = var$4; var$2.$decodeTable = nle_Base64_DECODE_TABLE; if (var$3 === null) { var$2.$encodeSize = 4; var$2.$lineSeparator = null; } else { if (nle_BaseNCodec_containsAlphabetOrPad(var$2, var$3)) { $base64String = jl_String__init_3(var$3, jnc_Charset_forName($rt_s(23))); var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(224)), $base64String), $rt_s(181)))); $rt_throw(var$2); } var$2.$encodeSize = 4; var$2.$lineSeparator = null; } var$2.$decodeSize = var$2.$encodeSize - 1 | 0; var$2.$encodeTable = nle_Base64_STANDARD_ENCODE_TABLE; return nle_BaseNCodec_decode0(var$2, $base64String); } function nle_Base64_decode($this, $in, $inPos, $inAvail, $context) { var $i, var$6, $buffer, var$8, $b, $result, var$11; if ($context.$eof0) return; if ($inAvail < 0) $context.$eof0 = 1; $i = 0; a: { while (true) { if ($i >= $inAvail) break a; var$6 = $in.data; $buffer = nle_BaseNCodec_ensureBufferSize($this, $this.$decodeSize, $context); var$8 = $inPos + 1 | 0; $b = var$6[$inPos]; if ($b == $this.$pad) break; if ($b >= 0 && $b < nle_Base64_DECODE_TABLE.data.length) { $result = nle_Base64_DECODE_TABLE.data[$b]; if ($result >= 0) { $context.$modulus = ($context.$modulus + 1 | 0) % 4 | 0; $context.$ibitWorkArea = ($context.$ibitWorkArea << 6) + $result | 0; if (!$context.$modulus) { $buffer = $buffer.data; $inPos = $context.$pos1; $context.$pos1 = $inPos + 1 | 0; $buffer[$inPos] = ($context.$ibitWorkArea >> 16 & 255) << 24 >> 24; $inPos = $context.$pos1; $context.$pos1 = $inPos + 1 | 0; $buffer[$inPos] = ($context.$ibitWorkArea >> 8 & 255) << 24 >> 24; $b = $context.$pos1; $context.$pos1 = $b + 1 | 0; $buffer[$b] = ($context.$ibitWorkArea & 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); switch ($context.$modulus) { case 1: break; case 2: $in = $buffer.data; nle_Base64_validateCharacter($this, 15, $context); $context.$ibitWorkArea = $context.$ibitWorkArea >> 4; $inAvail = $context.$pos1; $context.$pos1 = $inAvail + 1 | 0; $in[$inAvail] = ($context.$ibitWorkArea & 255) << 24 >> 24; break b; case 3: $in = $buffer.data; nle_Base64_validateCharacter($this, 3, $context); $context.$ibitWorkArea = $context.$ibitWorkArea >> 2; var$8 = $context.$pos1; $context.$pos1 = var$8 + 1 | 0; $in[var$8] = ($context.$ibitWorkArea >> 8 & 255) << 24 >> 24; $inPos = $context.$pos1; $context.$pos1 = $inPos + 1 | 0; $in[$inPos] = ($context.$ibitWorkArea & 255) << 24 >> 24; break b; default: var$11 = new jl_IllegalStateException; jl_Throwable__init_(var$11, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(225)), $context.$modulus))); $rt_throw(var$11); } if (nle_BaseNCodec_isStrictDecoding($this)) { var$11 = new jl_IllegalArgumentException; jl_Throwable__init_(var$11, $rt_s(226)); $rt_throw(var$11); } } } } function nle_Base64_isInAlphabet($this, $octet) { return $octet >= 0 && $octet < $this.$decodeTable.data.length && $this.$decodeTable.data[$octet] != (-1) ? 1 : 0; } function nle_Base64_validateCharacter($this, $emptyBitsMask, $context) { var var$3; if (nle_BaseNCodec_isStrictDecoding($this) && $context.$ibitWorkArea & $emptyBitsMask) { var$3 = new jl_IllegalArgumentException; jl_Throwable__init_(var$3, $rt_s(227)); $rt_throw(var$3); } } function nle_Base64__clinit_() { var var$1, var$2; var$1 = $rt_createByteArray(64); var$2 = var$1.data; var$2[0] = 65; var$2[1] = 66; var$2[2] = 67; var$2[3] = 68; var$2[4] = 69; var$2[5] = 70; var$2[6] = 71; var$2[7] = 72; var$2[8] = 73; var$2[9] = 74; var$2[10] = 75; var$2[11] = 76; var$2[12] = 77; var$2[13] = 78; var$2[14] = 79; var$2[15] = 80; var$2[16] = 81; var$2[17] = 82; var$2[18] = 83; var$2[19] = 84; var$2[20] = 85; var$2[21] = 86; var$2[22] = 87; var$2[23] = 88; var$2[24] = 89; var$2[25] = 90; var$2[26] = 97; var$2[27] = 98; var$2[28] = 99; var$2[29] = 100; var$2[30] = 101; var$2[31] = 102; var$2[32] = 103; var$2[33] = 104; var$2[34] = 105; var$2[35] = 106; var$2[36] = 107; var$2[37] = 108; var$2[38] = 109; var$2[39] = 110; var$2[40] = 111; var$2[41] = 112; var$2[42] = 113; var$2[43] = 114; var$2[44] = 115; var$2[45] = 116; var$2[46] = 117; var$2[47] = 118; var$2[48] = 119; var$2[49] = 120; var$2[50] = 121; var$2[51] = 122; var$2[52] = 48; var$2[53] = 49; var$2[54] = 50; var$2[55] = 51; var$2[56] = 52; var$2[57] = 53; var$2[58] = 54; var$2[59] = 55; var$2[60] = 56; var$2[61] = 57; var$2[62] = 43; var$2[63] = 47; nle_Base64_STANDARD_ENCODE_TABLE = var$1; var$1 = $rt_createByteArray(64); var$2 = var$1.data; var$2[0] = 65; var$2[1] = 66; var$2[2] = 67; var$2[3] = 68; var$2[4] = 69; var$2[5] = 70; var$2[6] = 71; var$2[7] = 72; var$2[8] = 73; var$2[9] = 74; var$2[10] = 75; var$2[11] = 76; var$2[12] = 77; var$2[13] = 78; var$2[14] = 79; var$2[15] = 80; var$2[16] = 81; var$2[17] = 82; var$2[18] = 83; var$2[19] = 84; var$2[20] = 85; var$2[21] = 86; var$2[22] = 87; var$2[23] = 88; var$2[24] = 89; var$2[25] = 90; var$2[26] = 97; var$2[27] = 98; var$2[28] = 99; var$2[29] = 100; var$2[30] = 101; var$2[31] = 102; var$2[32] = 103; var$2[33] = 104; var$2[34] = 105; var$2[35] = 106; var$2[36] = 107; var$2[37] = 108; var$2[38] = 109; var$2[39] = 110; var$2[40] = 111; var$2[41] = 112; var$2[42] = 113; var$2[43] = 114; var$2[44] = 115; var$2[45] = 116; var$2[46] = 117; var$2[47] = 118; var$2[48] = 119; var$2[49] = 120; var$2[50] = 121; var$2[51] = 122; var$2[52] = 48; var$2[53] = 49; var$2[54] = 50; var$2[55] = 51; var$2[56] = 52; var$2[57] = 53; var$2[58] = 54; var$2[59] = 55; var$2[60] = 56; var$2[61] = 57; var$2[62] = 45; var$2[63] = 95; nle_Base64_URL_SAFE_ENCODE_TABLE = var$1; var$1 = $rt_createByteArray(123); var$2 = var$1.data; var$2[0] = (-1); var$2[1] = (-1); var$2[2] = (-1); var$2[3] = (-1); var$2[4] = (-1); var$2[5] = (-1); var$2[6] = (-1); var$2[7] = (-1); var$2[8] = (-1); var$2[9] = (-1); var$2[10] = (-1); var$2[11] = (-1); var$2[12] = (-1); var$2[13] = (-1); var$2[14] = (-1); var$2[15] = (-1); var$2[16] = (-1); var$2[17] = (-1); var$2[18] = (-1); var$2[19] = (-1); var$2[20] = (-1); var$2[21] = (-1); var$2[22] = (-1); var$2[23] = (-1); var$2[24] = (-1); var$2[25] = (-1); var$2[26] = (-1); var$2[27] = (-1); var$2[28] = (-1); var$2[29] = (-1); var$2[30] = (-1); var$2[31] = (-1); var$2[32] = (-1); var$2[33] = (-1); var$2[34] = (-1); var$2[35] = (-1); var$2[36] = (-1); var$2[37] = (-1); var$2[38] = (-1); var$2[39] = (-1); var$2[40] = (-1); var$2[41] = (-1); var$2[42] = (-1); var$2[43] = 62; var$2[44] = (-1); var$2[45] = 62; var$2[46] = (-1); var$2[47] = 63; var$2[48] = 52; var$2[49] = 53; var$2[50] = 54; var$2[51] = 55; var$2[52] = 56; var$2[53] = 57; var$2[54] = 58; var$2[55] = 59; var$2[56] = 60; var$2[57] = 61; var$2[58] = (-1); var$2[59] = (-1); var$2[60] = (-1); var$2[61] = (-1); var$2[62] = (-1); var$2[63] = (-1); var$2[64] = (-1); var$2[65] = 0; var$2[66] = 1; var$2[67] = 2; var$2[68] = 3; var$2[69] = 4; var$2[70] = 5; var$2[71] = 6; var$2[72] = 7; var$2[73] = 8; var$2[74] = 9; var$2[75] = 10; var$2[76] = 11; var$2[77] = 12; var$2[78] = 13; var$2[79] = 14; var$2[80] = 15; var$2[81] = 16; var$2[82] = 17; var$2[83] = 18; var$2[84] = 19; var$2[85] = 20; var$2[86] = 21; var$2[87] = 22; var$2[88] = 23; var$2[89] = 24; var$2[90] = 25; var$2[91] = (-1); var$2[92] = (-1); var$2[93] = (-1); var$2[94] = (-1); var$2[95] = 63; var$2[96] = (-1); var$2[97] = 26; var$2[98] = 27; var$2[99] = 28; var$2[100] = 29; var$2[101] = 30; var$2[102] = 31; var$2[103] = 32; var$2[104] = 33; var$2[105] = 34; var$2[106] = 35; var$2[107] = 36; var$2[108] = 37; var$2[109] = 38; var$2[110] = 39; var$2[111] = 40; var$2[112] = 41; var$2[113] = 42; var$2[114] = 43; var$2[115] = 44; var$2[116] = 45; var$2[117] = 46; var$2[118] = 47; var$2[119] = 48; var$2[120] = 49; var$2[121] = 50; var$2[122] = 51; nle_Base64_DECODE_TABLE = var$1; } function nle_GLAllocation() { jl_Object.call(this); } var nle_GLAllocation_displayLists = null; var nle_GLAllocation_textureNames = null; function nle_GLAllocation_generateDisplayLists($i) { var $j; jl_Object_monitorEnterSync($rt_cls(nle_GLAllocation)); try { $j = olo_EaglerAdapterGL30_glGenLists($i); ju_ArrayList_add(nle_GLAllocation_displayLists, jl_Integer_valueOf($j)); ju_ArrayList_add(nle_GLAllocation_displayLists, jl_Integer_valueOf($i)); return $j; } finally { jl_Object_monitorExitSync($rt_cls(nle_GLAllocation)); } } function nle_GLAllocation_generateTextureNames($intbuffer) { var $i, $tx; jl_Object_monitorEnterSync($rt_cls(nle_GLAllocation)); try { $i = $intbuffer.$position; while ($i < $intbuffer.$limit) { olo_EaglerAdapterGL30_$callClinit(); $tx = nPg_GLObjectMap_register(olo_EaglerAdapterGL30_texObjects, nlea_EaglerAdapterImpl2__wglGenTextures()); jn_IntBufferImpl_put0($intbuffer, $i, $tx); ju_ArrayList_add(nle_GLAllocation_textureNames, jl_Integer_valueOf($tx)); $i = $i + 1 | 0; } } finally { jl_Object_monitorExitSync($rt_cls(nle_GLAllocation)); } } function nle_GLAllocation_createDirectByteBuffer($par0) { var var$2; olo_EaglerAdapterGL30_$callClinit(); if (!olo_EaglerAdapterGL30_isWebGL) { var$2 = jn_ByteBuffer_allocateDirect($par0); var$2.$order = jn_ByteOrder_BIG_ENDIAN; } else { var$2 = jn_ByteBuffer_wrap0($rt_createByteArray($par0)); var$2.$order = jn_ByteOrder_BIG_ENDIAN; } return var$2; } function nle_GLAllocation_createDirectIntBuffer($par0) { olo_EaglerAdapterGL30_$callClinit(); return olo_EaglerAdapterGL30_isWebGL ? jn_IntBuffer_wrap($rt_createIntArray($par0)) : jn_ByteBufferImpl_asIntBuffer(nle_GLAllocation_createDirectByteBuffer($par0 << 2)); } function nle_GLAllocation_createDirectFloatBuffer($par0) { var var$2, var$3, var$4; olo_EaglerAdapterGL30_$callClinit(); if (!olo_EaglerAdapterGL30_isWebGL) var$2 = jn_ByteBufferImpl_asFloatBuffer(nle_GLAllocation_createDirectByteBuffer($par0 << 2)); else { var$3 = $rt_createFloatArray($par0); var$4 = var$3.data.length; var$2 = new jn_FloatBufferOverArray; jn_FloatBufferImpl__init_(var$2, var$4, 0, 0 + var$4 | 0); var$2.$start1 = 0; var$2.$readOnly = 0; var$2.$array1 = var$3; } return var$2; } function nle_GLAllocation__clinit_() { nle_GLAllocation_displayLists = ju_ArrayList__init_(); nle_GLAllocation_textureNames = ju_ArrayList__init_(); } function nle_EaglerImage() { var a = this; jl_Object.call(a); a.$data = null; a.$w0 = 0; a.$h1 = 0; a.$alpha = 0; } function jl_Float() { jl_Number.call(this); } var jl_Float_NaN = 0.0; var jl_Float_TYPE = null; function jl_Float__clinit_() { jl_Float_NaN = NaN; jl_Float_TYPE = $rt_cls($rt_floatcls()); } function nleat_IndexedDBFilesystem$AsyncHandlers() { jl_Object.call(this); } function nleat_IndexedDBFilesystem$AsyncHandlers_openDB(var$1) { var thread = $rt_nativeThread(); var javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; var result = thread.attribute; if (result instanceof Error) { throw result; } return result; } var callback = function() {}; callback.$complete = function(val) { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = function(e) { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); return thread.suspend(function() { try { nleat_IndexedDBFilesystem$AsyncHandlers_openDB0(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); } function nleat_IndexedDBFilesystem$AsyncHandlers_openDB0($name, $cb) { var $i, $f; $i = typeof indexedDB !== 'undefined' ? indexedDB : null; if ($i === null) { otpp_AsyncCallbackWrapper_complete($cb, nleat_IndexedDBFilesystem$DatabaseOpen__init_(0, 0, $rt_s(228), null)); return; } $f = $i.open($rt_ustr($name), 1); $name = new nleat_IndexedDBFilesystem$AsyncHandlers$1; $name.$val$cb0 = $cb; $name = otji_JS_function($name, "handleEvent"); $f.onBlocked = $name; $name = new nleat_IndexedDBFilesystem$AsyncHandlers$2; $name.$val$cb1 = $cb; $name.$val$f = $f; $name = otji_JS_function($name, "handleEvent"); $f.onsuccess = $name; $name = new nleat_IndexedDBFilesystem$AsyncHandlers$3; $name.$val$cb2 = $cb; $name = otji_JS_function($name, "handleEvent"); $f.onerror = $name; $name = new nleat_IndexedDBFilesystem$AsyncHandlers$4; $name.$val$f0 = $f; $name = otji_JS_function($name, "handleEvent"); $f.onupgradeneeded = $name; } function nleat_IndexedDBFilesystem$DatabaseOpen() { var a = this; jl_Object.call(a); a.$failedInit = 0; a.$failedLocked = 0; a.$failedError = null; a.$database = null; } function nleat_IndexedDBFilesystem$DatabaseOpen__init_(var_0, var_1, var_2, var_3) { var var_4 = new nleat_IndexedDBFilesystem$DatabaseOpen(); nleat_IndexedDBFilesystem$DatabaseOpen__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nleat_IndexedDBFilesystem$DatabaseOpen__init_0($this, $init, $locked, $error, $db) { $this.$failedInit = $init; $this.$failedLocked = $locked; $this.$failedError = $error; $this.$database = $db; } function oti_AsyncCallback() { } function otpp_AsyncCallbackWrapper() { jl_Object.call(this); this.$realAsyncCallback = null; } function otpp_AsyncCallbackWrapper_create($realAsyncCallback) { var var$2; var$2 = new otpp_AsyncCallbackWrapper; var$2.$realAsyncCallback = $realAsyncCallback; return var$2; } function otpp_AsyncCallbackWrapper_complete($this, $result) { $this.$realAsyncCallback.$complete($result); } function otpp_AsyncCallbackWrapper_error($this, $e) { $this.$realAsyncCallback.$error($e); } function otja_XMLHttpRequest() { jl_Object.call(this); } function otja_ReadyStateChangeHandler() { } function nlea_EaglerAdapterImpl2$1() { var a = this; jl_Object.call(a); a.$val$request = null; a.$val$cb = null; } function nlea_EaglerAdapterImpl2$1_stateChanged($this) { var $bl, var$2, $i; if ($this.$val$request.readyState == 4) { $bl = new Uint8Array($this.$val$request.response); var$2 = $rt_createByteArray($bl.byteLength); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_loadedPackage = var$2; $i = 0; while ($i < nlea_EaglerAdapterImpl2_access$000().data.length) { nlea_EaglerAdapterImpl2_access$000().data[$i] = $bl[$i] << 24 >> 24; $i = $i + 1 | 0; } otpp_AsyncCallbackWrapper_complete($this.$val$cb, $rt_s(229)); } } function nlea_EaglerAdapterImpl2$1_stateChanged$exported$0(var$0) { nlea_EaglerAdapterImpl2$1_stateChanged(var$0); } function otp_PlatformRunnable() { } function otr_EventQueue$Event() { } function jl_ThreadInterruptHandler() { } function jl_Thread$SleepHandler() { var a = this; jl_Object.call(a); a.$thread = null; a.$callback = null; a.$isInterrupted = 0; a.$scheduleId = 0; } function jl_Thread$SleepHandler_run($this) { if (!$this.$isInterrupted) { $this.$thread.$interruptHandler = null; jl_Thread_setCurrentThread($this.$thread); otpp_AsyncCallbackWrapper_complete($this.$callback, null); } } function ji_InputStream() { jl_Object.call(this); } function ji_ByteArrayInputStream() { var a = this; ji_InputStream.call(a); a.$buf0 = null; a.$pos0 = 0; a.$mark = 0; a.$count1 = 0; } function ji_ByteArrayInputStream_read($this, $b, $off, $len) { var $bytesToRead, $i, var$6, var$7, var$8; $bytesToRead = jl_Math_min($len, $this.$count1 - $this.$pos0 | 0); $i = 0; while ($i < $bytesToRead) { var$6 = $b.data; $len = $off + 1 | 0; var$7 = $this.$buf0.data; var$8 = $this.$pos0; $this.$pos0 = var$8 + 1 | 0; var$6[$off] = var$7[var$8]; $i = $i + 1 | 0; $off = $len; } if ($bytesToRead <= 0) $bytesToRead = (-1); return $bytesToRead; } function ji_ByteArrayInputStream_available($this) { return $this.$count1 - $this.$pos0 | 0; } function ji_FilterInputStream() { ji_InputStream.call(this); this.$in = null; } function ji_FilterInputStream__init_0(var_0) { var var_1 = new ji_FilterInputStream(); ji_FilterInputStream__init_(var_1, var_0); return var_1; } function ji_FilterInputStream__init_($this, $in) { $this.$in = $in; } function ji_FilterInputStream_available($this) { return $this.$in.$available(); } function ji_DataInput() { } function ji_DataInputStream() { ji_FilterInputStream.call(this); this.$buff = null; } function ji_DataInputStream__init_(var_0) { var var_1 = new ji_DataInputStream(); ji_DataInputStream__init_0(var_1, var_0); return var_1; } function ji_DataInputStream__init_0($this, $in) { ji_FilterInputStream__init_($this, $in); $this.$buff = $rt_createByteArray(8); } function ji_DataInputStream_read($this, $buffer) { var var$2; var$2 = $buffer.data; return $this.$in.$read0($buffer, 0, var$2.length); } function ji_DataInputStream_readToBuff($this, $count) { var $offset, $bytesRead; $offset = 0; while ($offset < $count) { $bytesRead = $this.$in.$read0($this.$buff, $offset, $count - $offset | 0); if ($bytesRead == (-1)) return $bytesRead; $offset = $offset + $bytesRead | 0; } return $offset; } function ji_DataInputStream_readFully($this, $buffer, $offset, $length) { var var$4, $result; if ($length < 0) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if (!$length) return; if ($this.$in === null) { var$4 = new jl_NullPointerException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if ($buffer === null) { var$4 = new jl_NullPointerException; jl_Throwable__init_0(var$4); $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; jl_Throwable__init_0(var$4); $rt_throw(var$4); } $offset = $offset + $result | 0; $length = $length - $result | 0; } return; } var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } function ji_DataInputStream_readInt($this) { var var$1; if (ji_DataInputStream_readToBuff($this, 4) < 0) { var$1 = new ji_EOFException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } return ($this.$buff.data[0] & 255) << 24 | ($this.$buff.data[1] & 255) << 16 | ($this.$buff.data[2] & 255) << 8 | $this.$buff.data[3] & 255; } function ji_DataInputStream_readUnsignedShort($this) { var var$1; if (ji_DataInputStream_readToBuff($this, 2) < 0) { var$1 = new ji_EOFException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } return (($this.$buff.data[0] & 255) << 8 | $this.$buff.data[1] & 255) & 65535; } function ji_DataInputStream_readUTF($this) { return ji_DataInputStream_decodeUTF($this, ji_DataInputStream_readUnsignedShort($this)); } function ji_DataInputStream_decodeUTF($this, $utfSize) { var var$2, var$3; var$2 = $rt_createByteArray($utfSize); var$3 = $rt_createCharArray($utfSize); ji_DataInputStream_readFully($this, var$2, 0, $utfSize); return ji_DataInputStream_convertUTF8WithBuf(var$2, var$3, 0, $utfSize); } function ji_DataInputStream_convertUTF8WithBuf($buf, $out, $offset, $utfSize) { var $count, $s, var$7, var$8, $b, $ch, $a, var$12, $b_0, $c; $count = 0; $s = 0; a: { while ($count < $utfSize) { var$7 = $buf.data; var$8 = $out.data; $b = $count + 1 | 0; $ch = var$7[$offset + $count | 0] & 65535; var$8[$s] = $ch; $a = var$8[$s]; if ($ch < 128) $s = $s + 1 | 0; else if (($a & 224) == 192) { if ($b >= $utfSize) { var$12 = new ji_UTFDataFormatException; jl_Throwable__init_(var$12, $rt_s(230)); $rt_throw(var$12); } $ch = $b + 1 | 0; $b = var$7[$offset + $b | 0]; if (($b & 192) != 128) { var$12 = new ji_UTFDataFormatException; jl_Throwable__init_(var$12, $rt_s(231)); $rt_throw(var$12); } $b_0 = $s + 1 | 0; var$8[$s] = (($a & 31) << 6 | $b & 63) & 65535; $s = $b_0; $b = $ch; } else { if (($a & 240) != 224) { var$12 = new ji_UTFDataFormatException; jl_Throwable__init_(var$12, $rt_s(231)); $rt_throw(var$12); } $count = $b + 1 | 0; if ($count >= $utfSize) { var$12 = new ji_UTFDataFormatException; jl_Throwable__init_(var$12, $rt_s(231)); $rt_throw(var$12); } $b_0 = var$7[$offset + $b | 0]; $b = $count + 1 | 0; $c = var$7[$offset + $count | 0]; if (($b_0 & 192) != 128) break a; if (($c & 192) != 128) break a; $count = $s + 1 | 0; var$8[$s] = (($a & 15) << 12 | ($b_0 & 63) << 6 | $c & 63) & 65535; $s = $count; } $count = $b; } return jl_String__init_1($out, 0, $s); } var$12 = new ji_UTFDataFormatException; jl_Throwable__init_(var$12, $rt_s(231)); $rt_throw(var$12); } function jnc_Charset() { var a = this; jl_Object.call(a); a.$canonicalName = null; a.$aliases = null; } function jnc_Charset_checkCanonicalName($name) { var $i, $c; if (jl_String_isEmpty($name)) $rt_throw(jnc_IllegalCharsetNameException__init_($name)); if (!jnc_Charset_isValidCharsetStart(jl_String_charAt($name, 0))) $rt_throw(jnc_IllegalCharsetNameException__init_($name)); $i = 1; while ($i < jl_String_length($name)) { a: { $c = jl_String_charAt($name, $i); switch ($c) { case 43: case 45: case 46: case 58: case 95: break; default: if (jnc_Charset_isValidCharsetStart($c)) break a; else $rt_throw(jnc_IllegalCharsetNameException__init_($name)); } } $i = $i + 1 | 0; } } function jnc_Charset_isValidCharsetStart($c) { return !($c >= 48 && $c <= 57) && !($c >= 97 && $c <= 122) && $c < 65 && $c > 90 ? 0 : 1; } function jnc_Charset_forName($charsetName) { var $charset; if ($charsetName === null) { $charsetName = new jl_IllegalArgumentException; jl_Throwable__init_($charsetName, $rt_s(232)); $rt_throw($charsetName); } jnc_Charset_checkCanonicalName($charsetName); $charset = ju_HashMap_get(jnc_Charset$Charsets_value, jl_String_toUpperCase($charsetName)); if ($charset !== null) return $charset; $charset = new jnc_UnsupportedCharsetException; jl_Throwable__init_0($charset); $charset.$charsetName = $charsetName; $rt_throw($charset); } function jnc_Charset_decode($this, $bb) { var $e, $$je; a: { try { $bb = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder($this), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $bb); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $e = $$je; break a; } else { throw $$e; } } return $bb; } $rt_throw(jl_AssertionError__init_($rt_s(233), $e)); } function jnc_Charset_encode($this, $cb) { var $e, $$je; a: { try { $cb = jnc_CharsetEncoder_encode0(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(jnci_UTF8Charset_newEncoder($this), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $cb); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $e = $$je; break a; } else { throw $$e; } } return $cb; } $rt_throw(jl_AssertionError__init_($rt_s(233), $e)); } function cjj_InflaterInputStream() { var a = this; ji_FilterInputStream.call(a); a.$inflater = null; a.$buf1 = null; a.$closed = 0; a.$eof = 0; a.$close_in = 0; a.$myinflater = 0; a.$byte1 = null; a.$b = null; } function cjj_InflaterInputStream_read($this, $b, $off, $len) { var var$4, $n, $err; if ($this.$closed) { var$4 = new ji_IOException; jl_Throwable__init_(var$4, $rt_s(234)); $rt_throw(var$4); } if ($b === null) { var$4 = new jl_NullPointerException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if ($off >= 0 && $len >= 0 && $len <= ($b.data.length - $off | 0)) { if (!$len) return 0; if ($this.$eof) return (-1); $n = 0; cjj_ZStream_setOutput($this.$inflater, $b, $off, $len); a: { while (!$this.$eof) { if (!$this.$inflater.$avail_in) cjj_InflaterInputStream_fill($this); b: { $err = cjj_Inflater_inflate($this.$inflater, 0); $n = $n + ($this.$inflater.$next_out_index - $off | 0) | 0; $off = $this.$inflater.$next_out_index; switch ($err) { case -3: var$4 = new ji_IOException; jl_Throwable__init_(var$4, $this.$inflater.$msg); $rt_throw(var$4); case 1: case 2: break; default: break b; } $this.$eof = 1; if ($err == 2) return (-1); } if (!$this.$inflater.$avail_out) break a; } } return $n; } var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } function cjj_InflaterInputStream_available($this) { var var$1; if (!$this.$closed) { if (!$this.$eof) return 1; return 0; } var$1 = new ji_IOException; jl_Throwable__init_(var$1, $rt_s(234)); $rt_throw(var$1); } function cjj_InflaterInputStream_fill($this) { var var$1, $len; if ($this.$closed) { var$1 = new ji_IOException; jl_Throwable__init_(var$1, $rt_s(234)); $rt_throw(var$1); } a: { $len = $this.$in.$read0($this.$buf1, 0, $this.$buf1.data.length); if ($len == (-1)) { if ($this.$inflater.$istate.$wrap4) break a; if (cjj_Inflater_finished($this.$inflater)) break a; $this.$buf1.data[0] = 0; $len = 1; } cjj_ZStream_setInput($this.$inflater, $this.$buf1, 0, $len, 1); return; } if (Long_ne($this.$inflater.$istate.$was, Long_fromInt(-1))) { var$1 = new ji_IOException; jl_Throwable__init_(var$1, $rt_s(235)); $rt_throw(var$1); } var$1 = new ji_EOFException; jl_Throwable__init_(var$1, $rt_s(236)); $rt_throw(var$1); } function nle_GeneralDigest() { var a = this; jl_Object.call(a); a.$xBuf = null; a.$xBufOff = 0; a.$byteCount = Long_ZERO; } function nle_GeneralDigest_update0($this, $in) { var var$2, var$3; var$2 = $this.$xBuf.data; var$3 = $this.$xBufOff; $this.$xBufOff = var$3 + 1 | 0; var$2[var$3] = $in; if ($this.$xBufOff == $this.$xBuf.data.length) { nle_SHA1Digest_processWord($this, $this.$xBuf, 0); $this.$xBufOff = 0; } $this.$byteCount = Long_add($this.$byteCount, Long_fromInt(1)); } function nle_GeneralDigest_update($this, $in, $inOff, $len) { a: { while ($this.$xBufOff) { if ($len <= 0) break a; nle_GeneralDigest_update0($this, $in.data[$inOff]); $inOff = $inOff + 1 | 0; $len = $len + (-1) | 0; } } while ($len > $this.$xBuf.data.length) { nle_SHA1Digest_processWord($this, $in, $inOff); $inOff = $inOff + $this.$xBuf.data.length | 0; $len = $len - $this.$xBuf.data.length | 0; $this.$byteCount = Long_add($this.$byteCount, Long_fromInt($this.$xBuf.data.length)); } while ($len > 0) { nle_GeneralDigest_update0($this, $in.data[$inOff]); $inOff = $inOff + 1 | 0; $len = $len + (-1) | 0; } } function nle_GeneralDigest_finish($this) { var $bitLength; $bitLength = Long_shl($this.$byteCount, 3); nle_GeneralDigest_update0($this, (-128)); while ($this.$xBufOff) { nle_GeneralDigest_update0($this, 0); } nle_SHA1Digest_processLength($this, $bitLength); nle_SHA1Digest_processBlock($this); } function nle_SHA1Digest() { var 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; } function nle_SHA1Digest_processWord($this, $in, $inOff) { var var$3, var$4; var$3 = $in.data; $in = $this.$X.data; var$4 = $this.$xOff; $this.$xOff = var$4 + 1 | 0; $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 ($this.$xOff == 16) nle_SHA1Digest_processBlock($this); } function nle_SHA1Digest_unpackWord($this, $word, $out, $outOff) { $out = $out.data; $out[$outOff] = $word >>> 24 << 24 >> 24; $out[$outOff + 1 | 0] = $word >>> 16 << 24 >> 24; $out[$outOff + 2 | 0] = $word >>> 8 << 24 >> 24; $out[$outOff + 3 | 0] = $word << 24 >> 24; } function nle_SHA1Digest_processLength($this, $bitLength) { if ($this.$xOff > 14) nle_SHA1Digest_processBlock($this); $this.$X.data[14] = $bitLength.hi; $this.$X.data[15] = Long_and($bitLength, Long_fromInt(-1)).lo; } function nle_SHA1Digest_doFinal($this, $out, $outOff) { nle_GeneralDigest_finish($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; } function nle_SHA1Digest_reset($this) { var $i; $this.$byteCount = Long_ZERO; $this.$xBufOff = 0; $i = 0; while ($i < $this.$xBuf.data.length) { $this.$xBuf.data[$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 ($i != $this.$X.data.length) { $this.$X.data[$i] = 0; $i = $i + 1 | 0; } } function nle_SHA1Digest_h($this, $u, $v, $w) { return $u ^ $v ^ $w; } function nle_SHA1Digest_rotateLeft($this, $x, $n) { return $x << $n | $x >>> (32 - $n | 0); } function nle_SHA1Digest_processBlock($this) { var $i, $A, $B, $C, $D, $E, $j, $t, $j_0; $i = 16; while ($i <= 79) { $this.$X.data[$i] = nle_SHA1Digest_rotateLeft($this, $this.$X.data[$i - 3 | 0] ^ $this.$X.data[$i - 8 | 0] ^ $this.$X.data[$i - 14 | 0] ^ $this.$X.data[$i - 16 | 0], 1); $i = $i + 1 | 0; } $A = $this.$H1; $B = $this.$H2; $C = $this.$H3; $D = $this.$H4; $E = $this.$H5; $j = 0; while ($j <= 19) { $t = (((nle_SHA1Digest_rotateLeft($this, $A, 5) + ($B & $C | ($B ^ (-1)) & $D) | 0) + $E | 0) + $this.$X.data[$j] | 0) + 1518500249 | 0; $i = nle_SHA1Digest_rotateLeft($this, $B, 30); $j = $j + 1 | 0; $E = $D; $D = $C; $C = $i; $B = $A; $A = $t; } $j_0 = 20; while ($j_0 <= 39) { $t = (((nle_SHA1Digest_rotateLeft($this, $A, 5) + nle_SHA1Digest_h($this, $B, $C, $D) | 0) + $E | 0) + $this.$X.data[$j_0] | 0) + 1859775393 | 0; $i = nle_SHA1Digest_rotateLeft($this, $B, 30); $j_0 = $j_0 + 1 | 0; $E = $D; $D = $C; $C = $i; $B = $A; $A = $t; } $j = 40; while ($j <= 59) { $t = (((nle_SHA1Digest_rotateLeft($this, $A, 5) + ($B & $C | $B & $D | $C & $D) | 0) + $E | 0) + $this.$X.data[$j] | 0) + (-1894007588) | 0; $i = nle_SHA1Digest_rotateLeft($this, $B, 30); $j = $j + 1 | 0; $E = $D; $D = $C; $C = $i; $B = $A; $A = $t; } $j_0 = 60; while ($j_0 <= 79) { $t = (((nle_SHA1Digest_rotateLeft($this, $A, 5) + nle_SHA1Digest_h($this, $B, $C, $D) | 0) + $E | 0) + $this.$X.data[$j_0] | 0) + (-899497514) | 0; $i = nle_SHA1Digest_rotateLeft($this, $B, 30); $j_0 = $j_0 + 1 | 0; $E = $D; $D = $C; $C = $i; $B = $A; $A = $t; } $this.$H1 = $this.$H1 + $A | 0; $this.$H2 = $this.$H2 + $B | 0; $this.$H3 = $this.$H3 + $C | 0; $this.$H4 = $this.$H4 + $D | 0; $this.$H5 = $this.$H5 + $E | 0; $this.$xOff = 0; $i = 0; while ($i != $this.$X.data.length) { $this.$X.data[$i] = 0; $i = $i + 1 | 0; } } function ju_Arrays() { jl_Object.call(this); } function ju_Arrays_copyOf($array, $length) { var $result, var$4, $sz, $i; $array = $array.data; $result = $rt_createCharArray($length); var$4 = $result.data; $sz = jl_Math_min($length, $array.length); $i = 0; while ($i < $sz) { var$4[$i] = $array[$i]; $i = $i + 1 | 0; } return $result; } function ju_Arrays_copyOf0($array, $length) { var $result, var$4, $sz, $i; $array = $array.data; $result = $rt_createByteArray($length); var$4 = $result.data; $sz = jl_Math_min($length, $array.length); $i = 0; while ($i < $sz) { var$4[$i] = $array[$i]; $i = $i + 1 | 0; } return $result; } function ju_Arrays_copyOf1($original, $newLength) { var var$3, $result, $sz, $i; var$3 = $original.data; $result = jlr_Array_newInstance(jl_Class_getComponentType(jl_Object_getClass($original)), $newLength); $sz = jl_Math_min($newLength, var$3.length); $i = 0; while ($i < $sz) { $result.data[$i] = var$3[$i]; $i = $i + 1 | 0; } return $result; } function ju_Arrays_fill($a, $val) { var var$3, var$4, var$5, var$6; $a = $a.data; var$3 = 0; var$4 = $a.length; if (var$3 > var$4) { var$5 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$5); $rt_throw(var$5); } while (var$3 < var$4) { var$6 = var$3 + 1 | 0; $a[var$3] = $val; var$3 = var$6; } } function ju_Arrays_sort($a, $c) { var var$3, $second, $chunkSize, var$6, $i, var$8, var$9, var$10, $i_0, var$12, $i_1, var$14, var$15, var$16, var$17; var$3 = $a.data.length; if (!var$3) return; $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; var$9 = var$8.length; if ($i >= var$9) break; var$10 = jl_Math_min(var$9, $i + $chunkSize | 0); $i_0 = $i + (2 * $chunkSize | 0) | 0; var$12 = jl_Math_min(var$9, $i_0); $i_1 = $i; var$9 = var$10; a: { b: { while ($i != var$10) { if (var$9 == var$12) break b; var$14 = var$8[$i]; var$15 = var$8[var$9]; if ($c.$compare(var$14, var$15) > 0) { var$16 = $second.data; var$17 = $i_1 + 1 | 0; var$16[$i_1] = var$15; var$9 = var$9 + 1 | 0; } else { var$16 = $second.data; var$17 = $i_1 + 1 | 0; var$16[$i_1] = var$14; $i = $i + 1 | 0; } $i_1 = var$17; } while (true) { if (var$9 >= var$12) break a; var$16 = $second.data; $i = $i_1 + 1 | 0; var$17 = var$9 + 1 | 0; var$16[$i_1] = var$8[var$9]; $i_1 = $i; var$9 = var$17; } } while (true) { if ($i >= var$10) break a; var$16 = $second.data; var$9 = $i_1 + 1 | 0; var$17 = $i + 1 | 0; var$16[$i_1] = var$8[$i]; $i_1 = var$9; $i = var$17; } } $i = $i_0; } $chunkSize = $chunkSize * 2 | 0; var$8 = var$6; var$6 = $second; $second = var$8; } c: { if (var$6 !== $a) { $i_1 = 0; while (true) { $a = var$6.data; if ($i_1 >= $a.length) break c; $second.data[$i_1] = $a[$i_1]; $i_1 = $i_1 + 1 | 0; } } } } function ju_Arrays_binarySearch($a, $key) { var var$3, var$4, var$5, var$6, var$7; $a = $a.data; var$3 = 0; var$4 = $a.length; if (var$3 > var$4) { var$5 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$5); $rt_throw(var$5); } var$6 = var$4 - 1 | 0; a: { while (true) { var$4 = (var$3 + var$6 | 0) / 2 | 0; var$7 = Long_compare($a[var$4], $key); if (!var$7) break; if (var$7 <= 0) { var$3 = var$4 + 1 | 0; if (var$3 > var$6) { var$4 = -var$4 - 2 | 0; break a; } } else { var$6 = var$4 - 1 | 0; if (var$6 < var$3) { var$4 = -var$4 - 1 | 0; break a; } } } } return var$4; } function ju_Arrays_equals($a, $a2) { var var$3, $i; if ($a === $a2) return 1; if ($a !== null && $a2 !== null) { $a2 = $a2.data; $a = $a.data; var$3 = $a.length; if (var$3 == $a2.length) { $i = 0; while ($i < var$3) { if (!ju_Objects_equals($a[$i], $a2[$i])) return 0; $i = $i + 1 | 0; } return 1; } } return 0; } function jnci_UTF8Charset() { jnc_Charset.call(this); } function jnci_UTF8Charset__init_() { var var_0 = new jnci_UTF8Charset(); jnci_UTF8Charset__init_0(var_0); return var_0; } function jnci_UTF8Charset__init_0($this) { var 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(23)); 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(23); $this.$aliases = var$1.$clone(); } function jnci_UTF8Charset_newDecoder($this) { var var$1; var$1 = new jnci_UTF8Decoder; var$1.$replacement = $rt_s(237); var$1.$malformedAction = jnc_CodingErrorAction_REPORT; var$1.$unmappableAction = jnc_CodingErrorAction_REPORT; var$1.$charset0 = $this; var$1.$averageCharsPerByte = 0.3333333432674408; var$1.$maxCharsPerByte = 0.5; return var$1; } function jnci_UTF8Charset_newEncoder($this) { var 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$1.$malformedAction0 = jnc_CodingErrorAction_REPORT; var$1.$unmappableAction0 = jnc_CodingErrorAction_REPORT; var$4 = var$3.length; if (var$4 && var$4 >= var$1.$maxBytesPerChar) { var$1.$charset1 = $this; var$1.$replacement0 = var$2.$clone(); var$1.$averageBytesPerChar = 2.0; var$1.$maxBytesPerChar = 4.0; return var$1; } var$5 = new jl_IllegalArgumentException; jl_Throwable__init_(var$5, $rt_s(238)); $rt_throw(var$5); } function ju_Random() { var a = this; jl_Object.call(a); a.$storedGaussian = 0.0; a.$haveStoredGaussian = 0; } function ju_Random__init_() { var var_0 = new ju_Random(); ju_Random__init_0(var_0); return var_0; } function ju_Random__init_0($this) { return; } function ju_Random_setSeed($this, $seed) { return; } function ju_Random_next($this, $bits) { if ($bits == 32) return ju_Random_nextDouble($this) * 4.294967295E9 + (-2.147483648E9) | 0; return ju_Random_nextDouble($this) * Long_toNumber(Long_shl(Long_fromInt(1), jl_Math_min(32, $bits))) | 0; } function ju_Random_nextInt0($this) { return ju_Random_next($this, 32); } function ju_Random_nextInt($this, $n) { return ju_Random_nextDouble($this) * $n | 0; } function ju_Random_nextFloat($this) { return ju_Random_nextDouble($this); } function ju_Random_nextDouble($this) { return Math.random(); } function ju_Random_nextGaussian($this) { var $v1, $v2, $s, $m; if ($this.$haveStoredGaussian) { $this.$haveStoredGaussian = 0; return $this.$storedGaussian; } while (true) { while (true) { $v1 = 2.0 * ju_Random_nextDouble($this) - 1.0; $v2 = 2.0 * ju_Random_nextDouble($this) - 1.0; $s = $v1 * $v1 + $v2 * $v2; if ($s >= 1.0) continue; else break; } if ($s === 0.0) continue; else break; } $m = jl_Math_sqrt((-2.0) * jl_Math_log($s) / $s); $this.$storedGaussian = $v2 * $m; $this.$haveStoredGaussian = 1; return $v1 * $m; } function cmmr_HeldBlock() { var a = this; jl_Object.call(a); a.$minecraft2 = null; a.$block = null; a.$pos = 0.0; a.$lastPos = 0.0; a.$offset = 0; a.$moving = 0; } function cmmm_ModelPart() { var a = this; jl_Object.call(a); a.$vertices = null; a.$quads = null; a.$u = 0; a.$v = 0; a.$x4 = 0.0; a.$y4 = 0.0; a.$z4 = 0.0; a.$pitch = 0.0; a.$yaw = 0.0; a.$roll = 0.0; a.$hasList = 0; a.$list = 0; a.$mirror = 0; a.$render4 = 0; a.$unused = 0; } function cmmm_ModelPart__init_(var_0, var_1) { var var_2 = new cmmm_ModelPart(); cmmm_ModelPart__init_0(var_2, var_0, var_1); return var_2; } function cmmm_ModelPart__init_0($this, $var1, $var2) { $this.$hasList = 0; $this.$list = 0; $this.$mirror = 0; $this.$render4 = 1; $this.$unused = 0; $this.$u = $var1; $this.$v = $var2; } function cmmm_ModelPart_setBounds($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $var9, $var10, var$11, $var20, $var11, $var12, $var18, $var13, $var15, $var21, $var14, var$20, var$21, $var19, var$23, $var16, var$25; $this.$vertices = $rt_createArray(cmmm_Vertex, 8); $this.$quads = $rt_createArray(cmmm_TexturedQuad, 6); $var8 = $var1 + $var4; $var9 = $var2 + $var5; $var10 = $var3 + $var6; var$11 = $var1 - $var7; $var2 = $var2 - $var7; $var3 = $var3 - $var7; $var8 = $var8 + $var7; $var9 = $var9 + $var7; $var7 = $var10 + $var7; if (!$this.$mirror) { $var1 = var$11; var$11 = $var8; $var8 = $var1; } a: { $var20 = cmmm_Vertex__init_($var8, $var2, $var3, 0.0, 0.0); $var11 = cmmm_Vertex__init_(var$11, $var2, $var3, 0.0, 8.0); $var12 = cmmm_Vertex__init_(var$11, $var9, $var3, 8.0, 8.0); $var18 = cmmm_Vertex__init_($var8, $var9, $var3, 8.0, 0.0); $var13 = cmmm_Vertex__init_($var8, $var2, $var7, 0.0, 0.0); $var15 = cmmm_Vertex__init_(var$11, $var2, $var7, 0.0, 8.0); $var21 = cmmm_Vertex__init_(var$11, $var9, $var7, 8.0, 8.0); $var14 = cmmm_Vertex__init_($var8, $var9, $var7, 8.0, 0.0); $this.$vertices.data[0] = $var20; $this.$vertices.data[1] = $var11; $this.$vertices.data[2] = $var12; $this.$vertices.data[3] = $var18; $this.$vertices.data[4] = $var13; $this.$vertices.data[5] = $var15; $this.$vertices.data[6] = $var21; $this.$vertices.data[7] = $var14; var$20 = $this.$quads.data; var$21 = new cmmm_TexturedQuad; $var19 = $rt_createArray(cmmm_Vertex, 4); var$23 = $var19.data; var$23[0] = $var15; var$23[1] = $var11; var$23[2] = $var12; var$23[3] = $var21; cmmm_TexturedQuad__init_(var$21, $var19, ($this.$u + $var6 | 0) + $var4 | 0, $this.$v + $var6 | 0, (($this.$u + $var6 | 0) + $var4 | 0) + $var6 | 0, ($this.$v + $var6 | 0) + $var5 | 0); var$20[0] = var$21; var$20 = $this.$quads.data; var$21 = new cmmm_TexturedQuad; $var19 = $rt_createArray(cmmm_Vertex, 4); var$23 = $var19.data; var$23[0] = $var20; var$23[1] = $var13; var$23[2] = $var14; var$23[3] = $var18; cmmm_TexturedQuad__init_(var$21, $var19, $this.$u, $this.$v + $var6 | 0, $this.$u + $var6 | 0, ($this.$v + $var6 | 0) + $var5 | 0); var$20[1] = var$21; var$23 = $this.$quads.data; var$21 = new cmmm_TexturedQuad; $var19 = $rt_createArray(cmmm_Vertex, 4); var$20 = $var19.data; var$20[0] = $var15; var$20[1] = $var13; var$20[2] = $var20; var$20[3] = $var11; cmmm_TexturedQuad__init_(var$21, $var19, $this.$u + $var6 | 0, $this.$v, ($this.$u + $var6 | 0) + $var4 | 0, $this.$v + $var6 | 0); var$23[2] = var$21; var$20 = $this.$quads.data; var$21 = new cmmm_TexturedQuad; $var19 = $rt_createArray(cmmm_Vertex, 4); var$23 = $var19.data; var$23[0] = $var12; var$23[1] = $var18; var$23[2] = $var14; var$23[3] = $var21; cmmm_TexturedQuad__init_(var$21, $var19, ($this.$u + $var6 | 0) + $var4 | 0, $this.$v, (($this.$u + $var6 | 0) + $var4 | 0) + $var4 | 0, $this.$v + $var6 | 0); var$20[3] = var$21; var$20 = $this.$quads.data; var$21 = new cmmm_TexturedQuad; $var19 = $rt_createArray(cmmm_Vertex, 4); var$23 = $var19.data; var$23[0] = $var11; var$23[1] = $var20; var$23[2] = $var18; var$23[3] = $var12; cmmm_TexturedQuad__init_(var$21, $var19, $this.$u + $var6 | 0, $this.$v + $var6 | 0, ($this.$u + $var6 | 0) + $var4 | 0, ($this.$v + $var6 | 0) + $var5 | 0); var$20[4] = var$21; $var19 = $this.$quads.data; var$21 = new cmmm_TexturedQuad; var$23 = $rt_createArray(cmmm_Vertex, 4); var$20 = var$23.data; var$20[0] = $var13; var$20[1] = $var15; var$20[2] = $var21; var$20[3] = $var14; cmmm_TexturedQuad__init_(var$21, var$23, (($this.$u + $var6 | 0) + $var4 | 0) + $var6 | 0, $this.$v + $var6 | 0, ((($this.$u + $var6 | 0) + $var4 | 0) + $var6 | 0) + $var4 | 0, ($this.$v + $var6 | 0) + $var5 | 0); $var19[5] = var$21; if ($this.$mirror) { $var16 = 0; while (true) { if ($var16 >= $this.$quads.data.length) break a; var$21 = $this.$quads.data[$var16]; $var19 = $rt_createArray(cmmm_Vertex, var$21.$vertices0.data.length); var$25 = $var19.data; $var4 = 0; while ($var4 < var$21.$vertices0.data.length) { var$25[$var4] = var$21.$vertices0.data[(var$21.$vertices0.data.length - $var4 | 0) - 1 | 0]; $var4 = $var4 + 1 | 0; } var$21.$vertices0 = $var19; $var16 = $var16 + 1 | 0; } } } } function cmmm_ModelPart_setPosition($this, $var1, $var2, $var3) { $this.$x4 = $var1; $this.$y4 = $var2; $this.$z4 = $var3; } function cmmm_ModelPart_render($this, $var1) { if ($this.$render4) { if (!$this.$hasList) cmmm_ModelPart_generateList($this, $var1); if ($this.$pitch === 0.0 && $this.$yaw === 0.0 && $this.$roll === 0.0) { if ($this.$x4 === 0.0 && $this.$y4 === 0.0 && $this.$z4 === 0.0) olo_EaglerAdapterGL30_glCallList($this.$list); else { olo_EaglerAdapterGL30_glTranslatef($this.$x4 * $var1, $this.$y4 * $var1, $this.$z4 * $var1); olo_EaglerAdapterGL30_glCallList($this.$list); olo_EaglerAdapterGL30_glTranslatef( -$this.$x4 * $var1, -$this.$y4 * $var1, -$this.$z4 * $var1); } } else { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($this.$x4 * $var1, $this.$y4 * $var1, $this.$z4 * $var1); if ($this.$roll !== 0.0) olo_EaglerAdapterGL30_glRotatef($this.$roll * 57.2957763671875, 0.0, 0.0, 1.0); if ($this.$yaw !== 0.0) olo_EaglerAdapterGL30_glRotatef($this.$yaw * 57.2957763671875, 0.0, 1.0, 0.0); if ($this.$pitch !== 0.0) olo_EaglerAdapterGL30_glRotatef($this.$pitch * 57.2957763671875, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glCallList($this.$list); olo_EaglerAdapterGL30_glPopMatrix(); } } } function cmmm_ModelPart_generateList($this, $var1) { var $var5, $var6, $var2, $var10000, $var7, $mb; $this.$list = olo_EaglerAdapterGL30_glGenLists(1); olo_EaglerAdapterGL30_glNewList($this.$list, 4864); $var5 = nPg_GLObjectMap_get(olo_EaglerAdapterGL30_queryObjs, 7); nlea_EaglerAdapterImpl2_$callClinit(); $var6 = nlea_EaglerAdapterImpl2_webgl; $var5 = $var5.$obj5; $var6.beginQuery(36202, $var5); $var2 = 0; while ($var2 < $this.$quads.data.length) { $var10000 = $this.$quads.data[$var2]; $var5 = cmmm_Vec3D_normalize(cmmm_Vec3D_subtract($var10000.$vertices0.data[1].$vector, $var10000.$vertices0.data[0].$vector)); $var6 = cmmm_Vec3D_normalize(cmmm_Vec3D_subtract($var10000.$vertices0.data[1].$vector, $var10000.$vertices0.data[2].$vector)); $var5 = cmmm_Vec3D_normalize(cmmm_Vec3D__init_($var5.$y3 * $var6.$z3 - $var5.$z3 * $var6.$y3, $var5.$z3 * $var6.$x3 - $var5.$x3 * $var6.$z3, $var5.$x3 * $var6.$y3 - $var5.$y3 * $var6.$x3)); olo_EaglerAdapterGL30_glNormal3f($var5.$x3, $var5.$y3, $var5.$z3); $var7 = 0; while ($var7 < 4) { $mb = new nPg_ModeBuffer; $mb.$buffer4 = nle_GLAllocation_createDirectFloatBuffer(1024); $var5 = $var10000.$vertices0.data[$var7]; nPg_ModeBuffer_glTexCoord2f($mb, $var5.$u0, $var5.$v0); nPg_ModeBuffer_glVertex3f($mb, $var5.$vector.$x3 * $var1, $var5.$vector.$y3 * $var1, $var5.$vector.$z3 * $var1); $var7 = $var7 + 1 | 0; } $var2 = $var2 + 1 | 0; } nlea_EaglerAdapterImpl2_webgl.endQuery(36202); olo_EaglerAdapterGL30_glEndList(); $this.$hasList = 1; } function ju_Locale() { var a = this; jl_Object.call(a); a.$countryCode = null; a.$languageCode = null; a.$variantCode = null; } var ju_Locale_defaultLocale = null; var ju_Locale_CANADA = null; var ju_Locale_CANADA_FRENCH = null; var ju_Locale_CHINA = null; var ju_Locale_CHINESE = null; var ju_Locale_ENGLISH = null; var ju_Locale_FRANCE = null; var ju_Locale_FRENCH = null; var ju_Locale_GERMAN = null; var ju_Locale_GERMANY = null; var ju_Locale_ITALIAN = null; var ju_Locale_ITALY = null; var ju_Locale_JAPAN = null; var ju_Locale_JAPANESE = null; var ju_Locale_KOREA = null; var ju_Locale_KOREAN = null; var ju_Locale_PRC = null; var ju_Locale_SIMPLIFIED_CHINESE = null; var ju_Locale_TAIWAN = null; var ju_Locale_TRADITIONAL_CHINESE = null; var ju_Locale_UK = null; var ju_Locale_US = null; var ju_Locale_ROOT = null; function ju_Locale__init_(var_0, var_1) { var var_2 = new ju_Locale(); ju_Locale__init_0(var_2, var_0, var_1); return var_2; } function ju_Locale__init_1(var_0, var_1, var_2) { var var_3 = new ju_Locale(); ju_Locale__init_2(var_3, var_0, var_1, var_2); return var_3; } function ju_Locale__init_0($this, $language, $country) { ju_Locale__init_2($this, $language, $country, $rt_s(4)); } function ju_Locale__init_2($this, $language, $country, $variant) { if ($language !== null && $country !== null && $variant !== null) { if (!jl_String_length($language) && !jl_String_length($country)) { $this.$languageCode = $rt_s(4); $this.$countryCode = $rt_s(4); $this.$variantCode = $variant; return; } $this.$languageCode = $language; $this.$countryCode = $country; $this.$variantCode = $variant; return; } $language = new jl_NullPointerException; jl_Throwable__init_0($language); $rt_throw($language); } function ju_Locale_equals($this, $object) { var $o; if ($object === $this) return 1; if (!($object instanceof ju_Locale)) return 0; $o = $object; return jl_String_equals($this.$languageCode, $o.$languageCode) && jl_String_equals($this.$countryCode, $o.$countryCode) && jl_String_equals($this.$variantCode, $o.$variantCode) ? 1 : 0; } function ju_Locale_getCountry($this) { return $this.$countryCode; } function ju_Locale_getLanguage($this) { return $this.$languageCode; } function ju_Locale__clinit_() { var $localeName, $countryIndex; ju_Locale_CANADA = ju_Locale__init_($rt_s(239), $rt_s(240)); ju_Locale_CANADA_FRENCH = ju_Locale__init_($rt_s(241), $rt_s(240)); ju_Locale_CHINA = ju_Locale__init_($rt_s(242), $rt_s(243)); ju_Locale_CHINESE = ju_Locale__init_($rt_s(242), $rt_s(4)); ju_Locale_ENGLISH = ju_Locale__init_($rt_s(239), $rt_s(4)); ju_Locale_FRANCE = ju_Locale__init_($rt_s(241), $rt_s(244)); ju_Locale_FRENCH = ju_Locale__init_($rt_s(241), $rt_s(4)); ju_Locale_GERMAN = ju_Locale__init_($rt_s(245), $rt_s(4)); ju_Locale_GERMANY = ju_Locale__init_($rt_s(245), $rt_s(246)); ju_Locale_ITALIAN = ju_Locale__init_($rt_s(247), $rt_s(4)); ju_Locale_ITALY = ju_Locale__init_($rt_s(247), $rt_s(248)); ju_Locale_JAPAN = ju_Locale__init_($rt_s(249), $rt_s(250)); ju_Locale_JAPANESE = ju_Locale__init_($rt_s(249), $rt_s(4)); ju_Locale_KOREA = ju_Locale__init_($rt_s(251), $rt_s(252)); ju_Locale_KOREAN = ju_Locale__init_($rt_s(251), $rt_s(4)); ju_Locale_PRC = ju_Locale__init_($rt_s(242), $rt_s(243)); ju_Locale_SIMPLIFIED_CHINESE = ju_Locale__init_($rt_s(242), $rt_s(243)); ju_Locale_TAIWAN = ju_Locale__init_($rt_s(242), $rt_s(253)); ju_Locale_TRADITIONAL_CHINESE = ju_Locale__init_($rt_s(242), $rt_s(253)); ju_Locale_UK = ju_Locale__init_($rt_s(239), $rt_s(254)); ju_Locale_US = ju_Locale__init_($rt_s(239), $rt_s(255)); ju_Locale_ROOT = ju_Locale__init_($rt_s(4), $rt_s(4)); 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_indexOf0($localeName, 95); ju_Locale_defaultLocale = ju_Locale__init_1(jl_String_substring($localeName, 0, $countryIndex), jl_String_substring0($localeName, $countryIndex + 1 | 0), $rt_s(4)); } function nlea_EaglerAdapterImpl2$TextureGL() { var a = this; jl_Object.call(a); a.$obj = null; a.$w = 0; a.$h = 0; a.$nearest = 0; a.$anisotropic = 0; } function jn_Buffer() { var a = this; jl_Object.call(a); a.$capacity = 0; a.$position = 0; a.$limit = 0; a.$mark0 = 0; } function jn_Buffer__init_(var_0) { var var_1 = new jn_Buffer(); jn_Buffer__init_0(var_1, var_0); return var_1; } function jn_Buffer__init_0($this, $capacity) { $this.$mark0 = (-1); $this.$capacity = $capacity; $this.$limit = $capacity; } function jn_Buffer_capacity($this) { return $this.$capacity; } function jn_Buffer_position($this) { return $this.$position; } function jn_Buffer_position0($this, $newPosition) { var var$2; if ($newPosition >= 0 && $newPosition <= $this.$limit) { $this.$position = $newPosition; if ($newPosition < $this.$mark0) $this.$mark0 = 0; return $this; } var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(256)), $newPosition), $rt_s(257)), $this.$limit), $rt_s(181)))); $rt_throw(var$2); } function jn_Buffer_limit($this) { return $this.$limit; } function jn_Buffer_limit0($this, $newLimit) { var var$2; if ($newLimit >= 0 && $newLimit <= $this.$capacity) { if ($this.$mark0 > $newLimit) $this.$mark0 = (-1); $this.$limit = $newLimit; if ($this.$position > $this.$limit) $this.$position = $this.$limit; return $this; } var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(258)), $newLimit), $rt_s(257)), $this.$capacity), $rt_s(181)))); $rt_throw(var$2); } function jn_Buffer_clear($this) { $this.$position = 0; $this.$limit = $this.$capacity; $this.$mark0 = (-1); return $this; } function jn_Buffer_flip($this) { $this.$limit = $this.$position; $this.$position = 0; $this.$mark0 = (-1); return $this; } function jn_Buffer_remaining($this) { return $this.$limit - $this.$position | 0; } function jn_Buffer_hasRemaining($this) { return $this.$position >= $this.$limit ? 0 : 1; } function jn_IntBuffer() { jn_Buffer.call(this); } function jn_IntBuffer_wrap($array) { var var$2, var$3; var$2 = $array.data.length; var$3 = new jn_IntBufferOverArray; jn_IntBufferImpl__init_(var$3, var$2, 0, 0 + var$2 | 0); var$3.$start2 = 0; var$3.$readOnly0 = 0; var$3.$array2 = $array; return var$3; } function jn_IntBuffer_put0($this, $src, $offset, $length) { var var$4, var$5, var$6, $pos, $i, var$9, var$10; if ($this.$readOnly1()) { var$4 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if (jn_Buffer_remaining($this) < $length) { var$4 = new jn_BufferOverflowException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if ($offset >= 0) { var$5 = $src.data; var$6 = var$5.length; if ($offset < var$6) { $pos = $offset + $length | 0; if ($pos > var$6) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(259)), $pos), $rt_s(260)), var$6))); $rt_throw(var$4); } if ($length < 0) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(261)), $length), $rt_s(262)))); $rt_throw(var$4); } $pos = $this.$position; $i = 0; while ($i < $length) { var$9 = $pos + 1 | 0; var$6 = $offset + 1 | 0; $this.$putElement($pos, var$5[$offset]); $i = $i + 1 | 0; $pos = var$9; $offset = var$6; } $this.$position = $this.$position + $length | 0; return $this; } } $src = $src.data; var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(263)), $offset), $rt_s(257)), $src.length), $rt_s(26)))); $rt_throw(var$10); } function jn_IntBuffer_put($this, $src) { return jn_IntBuffer_put0($this, $src, 0, $src.data.length); } function jn_IntBuffer_clear0($this) { jn_Buffer_clear($this); return $this; } function jn_IntBuffer_flip0($this) { jn_Buffer_flip($this); return $this; } function jn_IntBuffer_limit0($this, $newLimit) { jn_Buffer_limit0($this, $newLimit); return $this; } function jn_IntBuffer_flip($this) { jn_Buffer_flip($this); return $this; } function jn_IntBuffer_clear($this) { jn_Buffer_clear($this); return $this; } function jn_IntBuffer_limit($this, var$1) { jn_Buffer_limit0($this, var$1); return $this; } function nlea_EaglerAdapterImpl2$BufferGL() { jl_Object.call(this); this.$obj2 = null; } function nlea_EaglerAdapterImpl2$ShaderGL() { jl_Object.call(this); this.$obj1 = null; } function nlea_EaglerAdapterImpl2$ProgramGL() { var a = this; jl_Object.call(a); a.$obj0 = null; a.$hashcode = 0; } function nlea_EaglerAdapterImpl2$UniformGL() { jl_Object.call(this); this.$obj3 = null; } function nlea_EaglerAdapterImpl2$BufferArrayGL() { var a = this; jl_Object.call(a); a.$obj4 = null; a.$isQuadBufferBound = 0; } function otji_EventHandler() { } function nleat_IndexedDBFilesystem$AsyncHandlers$1() { jl_Object.call(this); this.$val$cb0 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$1_handleEvent($this) { otpp_AsyncCallbackWrapper_complete($this.$val$cb0, nleat_IndexedDBFilesystem$DatabaseOpen__init_(0, 1, null, null)); } function nleat_IndexedDBFilesystem$AsyncHandlers$1_handleEvent$exported$0(var$0) { nleat_IndexedDBFilesystem$AsyncHandlers$1_handleEvent(var$0); } function nleat_IndexedDBFilesystem$AsyncHandlers$2() { var a = this; jl_Object.call(a); a.$val$cb1 = null; a.$val$f = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$2_handleEvent($this) { otpp_AsyncCallbackWrapper_complete($this.$val$cb1, nleat_IndexedDBFilesystem$DatabaseOpen__init_(0, 0, null, $this.$val$f.result)); } function nleat_IndexedDBFilesystem$AsyncHandlers$2_handleEvent$exported$0(var$0) { nleat_IndexedDBFilesystem$AsyncHandlers$2_handleEvent(var$0); } function nleat_IndexedDBFilesystem$AsyncHandlers$3() { jl_Object.call(this); this.$val$cb2 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$3_handleEvent($this) { otpp_AsyncCallbackWrapper_complete($this.$val$cb2, nleat_IndexedDBFilesystem$DatabaseOpen__init_(1, 0, $rt_s(264), null)); } function nleat_IndexedDBFilesystem$AsyncHandlers$3_handleEvent$exported$0(var$0) { nleat_IndexedDBFilesystem$AsyncHandlers$3_handleEvent(var$0); } function nleat_IndexedDBFilesystem$AsyncHandlers$4() { jl_Object.call(this); this.$val$f0 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent($this, $evt) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$val$f0.result; var$3 = otji_IDBObjectStoreParameters_create$js_body$_1(); var$4 = $rt_createArray(jl_String, 1).data; var$4[0] = $rt_s(265); 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 nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent0($this, var$1) { nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent($this, var$1); } function nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent$exported$0(var$0, var$1) { nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent0(var$0, var$1); } function jnc_Charset$Charsets() { jl_Object.call(this); } var jnc_Charset$Charsets_value = null; function jnc_Charset$Charsets__clinit_() { jnc_Charset$Charsets_value = ju_HashMap__init_(); ju_HashMap_putImpl(jnc_Charset$Charsets_value, $rt_s(23), jnci_UTF8Charset__init_()); } function jl_IllegalArgumentException() { jl_RuntimeException.call(this); } function jl_IllegalArgumentException__init_() { var var_0 = new jl_IllegalArgumentException(); jl_IllegalArgumentException__init_0(var_0); return var_0; } function jl_IllegalArgumentException__init_0($this) { jl_Throwable__init_0($this); } function jnc_UnsupportedCharsetException() { jl_IllegalArgumentException.call(this); this.$charsetName = null; } function jl_NullPointerException() { jl_RuntimeException.call(this); } function jl_NullPointerException__init_() { var var_0 = new jl_NullPointerException(); jl_NullPointerException__init_0(var_0); return var_0; } function jl_NullPointerException__init_0($this) { jl_Throwable__init_0($this); } function otjb_Performance() { jl_Object.call(this); } function jn_FloatBuffer() { jn_Buffer.call(this); } function jn_FloatBuffer_get($this, $dst, $offset, $length) { var var$4, var$5, $pos, var$7, $i, var$9, var$10; 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; jl_Throwable__init_(var$7, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(266)), $pos), $rt_s(260)), var$5))); $rt_throw(var$7); } if (jn_Buffer_remaining($this) < $length) { var$7 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$7); $rt_throw(var$7); } if ($length < 0) { var$7 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$7, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(261)), $length), $rt_s(262)))); $rt_throw(var$7); } $pos = $this.$position; $i = 0; while ($i < $length) { var$9 = $offset + 1 | 0; var$5 = $pos + 1 | 0; var$4[$offset] = $this.$getElement($pos); $i = $i + 1 | 0; $offset = var$9; $pos = var$5; } $this.$position = $this.$position + $length | 0; return $this; } } $dst = $dst.data; var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(263)), $offset), $rt_s(257)), $dst.length), $rt_s(26)))); $rt_throw(var$10); } function jn_FloatBuffer_get0($this, $dst) { return jn_FloatBuffer_get($this, $dst, 0, $dst.data.length); } function jn_FloatBuffer_put($this, $src) { var $length, $pos, $offset, $i, var$6, var$7; if ($this.$readOnly1()) { $src = new jn_ReadOnlyBufferException; jl_Throwable__init_0($src); $rt_throw($src); } if (jn_Buffer_remaining($this) < jn_Buffer_remaining($src)) { $src = new jn_BufferOverflowException; jl_Throwable__init_0($src); $rt_throw($src); } $length = jn_Buffer_remaining($src); $pos = $this.$position; $offset = $src.$position; $i = 0; while ($i < $length) { var$6 = $pos + 1 | 0; var$7 = $offset + 1 | 0; $this.$putElement0($pos, $src.$getElement($offset)); $i = $i + 1 | 0; $pos = var$6; $offset = var$7; } $this.$position = $this.$position + $length | 0; return $this; } function jn_FloatBuffer_put0($this, $src, $offset, $length) { var var$4, var$5, var$6, $pos, $i, var$9, var$10; if ($this.$readOnly1()) { var$4 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if (jn_Buffer_remaining($this) < $length) { var$4 = new jn_BufferOverflowException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if ($offset >= 0) { var$5 = $src.data; var$6 = var$5.length; if ($offset < var$6) { $pos = $offset + $length | 0; if ($pos > var$6) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(267)), $pos), $rt_s(260)), var$6))); $rt_throw(var$4); } if ($length < 0) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(261)), $length), $rt_s(262)))); $rt_throw(var$4); } $pos = $this.$position; $i = 0; while ($i < $length) { var$9 = $pos + 1 | 0; var$6 = $offset + 1 | 0; $this.$putElement0($pos, var$5[$offset]); $i = $i + 1 | 0; $pos = var$9; $offset = var$6; } $this.$position = $this.$position + $length | 0; return $this; } } $src = $src.data; var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(263)), $offset), $rt_s(257)), $src.length), $rt_s(26)))); $rt_throw(var$10); } function jn_FloatBuffer_clear0($this) { jn_Buffer_clear($this); return $this; } function jn_FloatBuffer_flip0($this) { jn_Buffer_flip($this); return $this; } function jn_FloatBuffer_limit($this, $newLimit) { jn_Buffer_limit0($this, $newLimit); return $this; } function jn_FloatBuffer_flip($this) { jn_Buffer_flip($this); return $this; } function jn_FloatBuffer_clear($this) { jn_Buffer_clear($this); return $this; } function jn_FloatBuffer_limit0($this, var$1) { jn_Buffer_limit0($this, var$1); return $this; } function ju_RandomAccess() { } function ju_ArrayList() { var a = this; ju_AbstractList.call(a); a.$array3 = null; a.$size0 = 0; } function ju_ArrayList__init_() { var var_0 = new ju_ArrayList(); ju_ArrayList__init_0(var_0); return var_0; } function ju_ArrayList__init_1(var_0) { var var_1 = new ju_ArrayList(); ju_ArrayList__init_2(var_1, var_0); return var_1; } function ju_ArrayList__init_3(var_0) { var var_1 = new ju_ArrayList(); ju_ArrayList__init_4(var_1, var_0); return var_1; } function ju_ArrayList__init_0($this) { ju_ArrayList__init_2($this, 10); } function ju_ArrayList__init_2($this, $initialCapacity) { $this.$array3 = $rt_createArray(jl_Object, $initialCapacity); } function ju_ArrayList__init_4($this, $c) { var $iter, $i; ju_ArrayList__init_2($this, $c.$size0); $iter = ju_AbstractList_iterator($c); $i = 0; while ($i < $this.$array3.data.length) { $this.$array3.data[$i] = ju_AbstractList$1_next($iter); $i = $i + 1 | 0; } $this.$size0 = $this.$array3.data.length; } function ju_ArrayList_ensureCapacity($this, $minCapacity) { var $newLength; if ($this.$array3.data.length < $minCapacity) { $newLength = $this.$array3.data.length >= 1073741823 ? 2147483647 : jl_Math_max($minCapacity, jl_Math_max($this.$array3.data.length * 2 | 0, 5)); $this.$array3 = ju_Arrays_copyOf1($this.$array3, $newLength); } } function ju_ArrayList_get($this, $index) { ju_ArrayList_checkIndex($this, $index); return $this.$array3.data[$index]; } function ju_ArrayList_size($this) { return $this.$size0; } function ju_ArrayList_set($this, $index, $element) { var $old; ju_ArrayList_checkIndex($this, $index); $old = $this.$array3.data[$index]; $this.$array3.data[$index] = $element; return $old; } function ju_ArrayList_add($this, $element) { var var$2, var$3; ju_ArrayList_ensureCapacity($this, $this.$size0 + 1 | 0); var$2 = $this.$array3.data; var$3 = $this.$size0; $this.$size0 = var$3 + 1 | 0; var$2[var$3] = $element; $this.$modCount = $this.$modCount + 1 | 0; return 1; } function ju_ArrayList_remove($this, $i) { var $old, var$3, var$4, $i_0; ju_ArrayList_checkIndex($this, $i); $old = $this.$array3.data[$i]; $this.$size0 = $this.$size0 - 1 | 0; while ($i < $this.$size0) { var$3 = $this.$array3.data; var$4 = $this.$array3.data; $i_0 = $i + 1 | 0; var$3[$i] = var$4[$i_0]; $i = $i_0; } $this.$array3.data[$this.$size0] = null; $this.$modCount = $this.$modCount + 1 | 0; return $old; } function ju_ArrayList_remove0($this, $o) { var $index; $index = ju_AbstractList_indexOf($this, $o); if ($index < 0) return 0; ju_ArrayList_remove($this, $index); return 1; } function ju_ArrayList_clear($this) { var var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$array3; var$2 = 0; var$3 = $this.$size0; var$4 = null; if (var$2 > var$3) { var$4 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$4); $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; } function ju_ArrayList_checkIndex($this, $index) { var var$2; if ($index >= 0 && $index < $this.$size0) return; var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } function cmmlt_Block() { var a = this; jl_Object.call(a); a.$textureId = 0; a.$id = 0; a.$stepsound = null; a.$hardness0 = 0; a.$explodes = 0; a.$x1 = 0.0; a.$y1 = 0.0; a.$z1 = 0.0; a.$x2 = 0.0; a.$y2 = 0.0; a.$z2 = 0.0; a.$particleGravity = 0.0; } var cmmlt_Block_random = null; var cmmlt_Block_blocks = null; var cmmlt_Block_physics = null; var cmmlt_Block_opaque = null; var cmmlt_Block_cube = null; var cmmlt_Block_liquid = null; var cmmlt_Block_tickDelay = null; var cmmlt_Block_STONE = null; var cmmlt_Block_GRASS = null; var cmmlt_Block_DIRT = null; var cmmlt_Block_COBBLESTONE = null; var cmmlt_Block_WOOD = null; var cmmlt_Block_SAPLING = null; var cmmlt_Block_BEDROCK = null; var cmmlt_Block_WATER = null; var cmmlt_Block_STATIONARY_WATER = null; var cmmlt_Block_LAVA = null; var cmmlt_Block_STATIONARY_LAVA = null; var cmmlt_Block_SAND = null; var cmmlt_Block_GRAVEL = null; var cmmlt_Block_GOLD_ORE = null; var cmmlt_Block_IRON_ORE = null; var cmmlt_Block_COAL_ORE = null; var cmmlt_Block_LOG = null; var cmmlt_Block_LEAVES = null; var cmmlt_Block_SPONGE = null; var cmmlt_Block_GLASS = null; var cmmlt_Block_RED_WOOL = null; var cmmlt_Block_ORANGE_WOOL = null; var cmmlt_Block_YELLOW_WOOL = null; var cmmlt_Block_LIME_WOOL = null; var cmmlt_Block_GREEN_WOOL = null; var cmmlt_Block_AQUA_GREEN_WOOL = null; var cmmlt_Block_CYAN_WOOL = null; var cmmlt_Block_BLUE_WOOL = null; var cmmlt_Block_PURPLE_WOOL = null; var cmmlt_Block_INDIGO_WOOL = null; var cmmlt_Block_VIOLET_WOOL = null; var cmmlt_Block_MAGENTA_WOOL = null; var cmmlt_Block_PINK_WOOL = null; var cmmlt_Block_BLACK_WOOL = null; var cmmlt_Block_GRAY_WOOL = null; var cmmlt_Block_WHITE_WOOL = null; var cmmlt_Block_DANDELION = null; var cmmlt_Block_ROSE = null; var cmmlt_Block_BROWN_MUSHROOM = null; var cmmlt_Block_RED_MUSHROOM = null; var cmmlt_Block_GOLD_BLOCK = null; var cmmlt_Block_IRON_BLOCK = null; var cmmlt_Block_DOUBLE_SLAB = null; var cmmlt_Block_SLAB = null; var cmmlt_Block_BRICK = null; var cmmlt_Block_TNT = null; var cmmlt_Block_BOOKSHELF = null; var cmmlt_Block_MOSSY_COBBLESTONE = null; var cmmlt_Block_OBSIDIAN = null; function cmmlt_Block_$callClinit() { cmmlt_Block_$callClinit = $rt_eraseClinit(cmmlt_Block); cmmlt_Block__clinit_(); } function cmmlt_Block__init_(var_0) { var var_1 = new cmmlt_Block(); cmmlt_Block__init_0(var_1, var_0); return var_1; } function cmmlt_Block__init_1(var_0, var_1) { var var_2 = new cmmlt_Block(); cmmlt_Block__init_2(var_2, var_0, var_1); return var_2; } function cmmlt_Block__init_0($this, $id) { cmmlt_Block_$callClinit(); $this.$explodes = 1; cmmlt_Block_blocks.data[$id] = $this; $this.$id = $id; cmmlt_Block_setBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); cmmlt_Block_opaque.data[$id] = $this.$isSolid0(); cmmlt_Block_cube.data[$id] = $this.$isCube(); cmmlt_Block_liquid.data[$id] = 0; } function cmmlt_Block__init_2($this, $id, $textureID) { cmmlt_Block_$callClinit(); cmmlt_Block__init_0($this, $id); $this.$textureId = $textureID; } function cmmlt_Block_isCube($this) { return 1; } function cmmlt_Block_setData($this, $soundType, $var2, $particleGravity, $hardness) { $this.$particleGravity = $particleGravity; $this.$stepsound = $soundType; $this.$hardness0 = $hardness * 20.0 | 0; return $this; } function cmmlt_Block_setPhysics($this, $physics) { cmmlt_Block_physics.data[$this.$id] = $physics; } function cmmlt_Block_setBounds($this, $x1, $y1, $z1, $x2, $y2, $z2) { $this.$x1 = $x1; $this.$y1 = $y1; $this.$z1 = $z1; $this.$x2 = $x2; $this.$y2 = $y2; $this.$z2 = $z2; } function cmmlt_Block_setTickDelay($this, $tickDelay) { cmmlt_Block_tickDelay.data[$this.$id] = $tickDelay; } function cmmlt_Block_renderFullbright($this, $shapeRenderer) { cmmr_ShapeRenderer_color($shapeRenderer, 0.5, 0.5, 0.5); $this.$renderInside($shapeRenderer, (-2), 0, 0, 0); cmmr_ShapeRenderer_color($shapeRenderer, 1.0, 1.0, 1.0); $this.$renderInside($shapeRenderer, (-2), 0, 0, 1); cmmr_ShapeRenderer_color($shapeRenderer, 0.800000011920929, 0.800000011920929, 0.800000011920929); $this.$renderInside($shapeRenderer, (-2), 0, 0, 2); cmmr_ShapeRenderer_color($shapeRenderer, 0.800000011920929, 0.800000011920929, 0.800000011920929); $this.$renderInside($shapeRenderer, (-2), 0, 0, 3); cmmr_ShapeRenderer_color($shapeRenderer, 0.6000000238418579, 0.6000000238418579, 0.6000000238418579); $this.$renderInside($shapeRenderer, (-2), 0, 0, 4); cmmr_ShapeRenderer_color($shapeRenderer, 0.6000000238418579, 0.6000000238418579, 0.6000000238418579); $this.$renderInside($shapeRenderer, (-2), 0, 0, 5); } function cmmlt_Block_getBrightness($this, $level, $x, $y, $z) { return cmml_Level_getBrightness($level, $x, $y, $z); } function cmmlt_Block_canRenderSide($this, $level, $x, $y, $z, $side) { return cmml_Level_isSolidTile($level, $x, $y, $z) ? 0 : 1; } function cmmlt_Block_getTextureId($this, $texture) { return $this.$textureId; } function cmmlt_Block_renderInside($this, $shapeRenderer, $x, $y, $z, $side) { cmmlt_Block_renderSide($this, $shapeRenderer, $x, $y, $z, $side, $this.$getTextureId($side)); } function cmmlt_Block_renderSide($this, $shapeRenderer, $x, $y, $z, $side, $textureID) { var $var7, $var8, $var14, $var9, $var17, $var10, $var11, $var16, $var15, $var18, $var13, $var12; $var7 = ($textureID % 16 | 0) << 4; $var8 = ($textureID / 16 | 0) << 4; $var14 = $var7; $var9 = $var14 / 256.0; $var17 = ($var14 + 15.989999771118164) / 256.0; $var14 = $var8; $var10 = $var14 / 256.0; $var11 = ($var14 + 15.989999771118164) / 256.0; $var8 = $rt_compare($side, 2); if ($var8 >= 0 && $textureID < 240 && $this.$y1 >= 0.0 && $this.$y2 <= 1.0) { $var10 = ($var14 + $this.$y1 * 15.989999771118164) / 256.0; $var11 = ($var14 + $this.$y2 * 15.989999771118164) / 256.0; } $var14 = $x; $var16 = $var14 + $this.$x1; $var14 = $var14 + $this.$x2; $var15 = $y; $var18 = $var15 + $this.$y1; $var15 = $var15 + $this.$y2; $var13 = $z; $var12 = $var13 + $this.$z1; $var13 = $var13 + $this.$z2; if (!$side) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var18, $var13, $var9, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var18, $var12, $var9, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var18, $var12, $var17, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var18, $var13, $var17, $var11); } else if ($side == 1) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var15, $var13, $var17, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var15, $var12, $var17, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var15, $var12, $var9, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var15, $var13, $var9, $var11); } else if (!$var8) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var15, $var12, $var17, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var15, $var12, $var9, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var18, $var12, $var9, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var18, $var12, $var17, $var11); } else if ($side == 3) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var15, $var13, $var9, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var18, $var13, $var9, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var18, $var13, $var17, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var15, $var13, $var17, $var10); } else if ($side == 4) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var15, $var13, $var17, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var15, $var12, $var9, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var18, $var12, $var9, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var16, $var18, $var13, $var17, $var11); } else if ($side == 5) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var18, $var13, $var9, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var18, $var12, $var17, $var11); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var15, $var12, $var17, $var10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, $var14, $var15, $var13, $var9, $var10); } } function cmmlt_Block_getCollisionBox($this, $x, $y, $z) { var $aabb, var$5, var$6, var$7, var$8, var$9; $aabb = new cmmp_AABB; var$5 = $x; var$6 = var$5 + $this.$x1; var$7 = $y; var$8 = var$7 + $this.$y1; var$9 = $z; cmmp_AABB__init_($aabb, var$6, var$8, var$9 + $this.$z1, var$5 + $this.$x2, var$7 + $this.$y2, var$9 + $this.$z2); return $aabb; } function cmmlt_Block_isOpaque($this) { return 1; } function cmmlt_Block_isSolid($this) { return 1; } function cmmlt_Block_update($this, $level, $x, $y, $z, $rand) { return; } function cmmlt_Block_spawnBreakParticles($this, $level, $x, $y, $z, $particleManager) { var $var6, var$7, var$8, var$9, $var7, $var8, $var9, $var10, $var11; $var6 = 0; var$7 = $x; var$8 = $y; var$9 = $z; while ($var6 < 4) { $var7 = 0; while ($var7 < 4) { $var8 = 0; while ($var8 < 4) { $var9 = var$7 + ($var6 + 0.5) / 4.0; $var10 = var$8 + ($var7 + 0.5) / 4.0; $var11 = var$9 + ($var8 + 0.5) / 4.0; cmmp_ParticleManager_spawnParticle($particleManager, cmmp_TerrainParticle__init_($level, $var9, $var10, $var11, $var9 - var$7 - 0.5, $var10 - var$8 - 0.5, $var11 - var$9 - 0.5, $this)); $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } } function cmmlt_Block_spawnBlockParticles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, $var8, var$9, $var9, var$11, $var10; var$7 = $var2; $var8 = var$7 + ju_Random_nextFloat(cmmlt_Block_random) * ($this.$x2 - $this.$x1 - 0.20000000298023224) + 0.10000000149011612 + $this.$x1; var$9 = $var3; $var9 = var$9 + ju_Random_nextFloat(cmmlt_Block_random) * ($this.$y2 - $this.$y1 - 0.20000000298023224) + 0.10000000149011612 + $this.$y1; var$11 = $var4; $var10 = var$11 + ju_Random_nextFloat(cmmlt_Block_random) * ($this.$z2 - $this.$z1 - 0.20000000298023224) + 0.10000000149011612 + $this.$z1; if (!$var5) $var9 = var$9 + $this.$y1 - 0.10000000149011612; if ($var5 == 1) $var9 = var$9 + $this.$y2 + 0.10000000149011612; if ($var5 == 2) $var10 = var$11 + $this.$z1 - 0.10000000149011612; if ($var5 == 3) $var10 = var$11 + $this.$z2 + 0.10000000149011612; if ($var5 == 4) $var8 = var$7 + $this.$x1 - 0.10000000149011612; if ($var5 == 5) $var8 = var$7 + $this.$x2 + 0.10000000149011612; cmmp_ParticleManager_spawnParticle($var6, cmmp_Particle_scale(cmmp_Particle_setPower(cmmp_TerrainParticle__init_($var1, $var8, $var9, $var10, 0.0, 0.0, 0.0, $this), 0.20000000298023224), 0.6000000238418579)); } function cmmlt_Block_getLiquidType($this) { return cmmll_LiquidType_NOT_LIQUID; } function cmmlt_Block_onNeighborChange($this, $var1, $var2, $var3, $var4, $var5) { return; } function cmmlt_Block_onPlace($this, $level, $x, $y, $z) { return; } function cmmlt_Block_getTickDelay($this) { return 0; } function cmmlt_Block_onAdded($this, $level, $x, $y, $z) { return; } function cmmlt_Block_onRemoved($this, $var1, $var2, $var3, $var4) { return; } function cmmlt_Block_getDropCount($this) { return 1; } function cmmlt_Block_getDrop($this) { return $this.$id; } function cmmlt_Block_getHardness($this) { return $this.$hardness0; } function cmmlt_Block_onBreak($this, $var1, $var2, $var3, $var4) { $this.$dropItems($var1, $var2, $var3, $var4, 1.0); } function cmmlt_Block_dropItems($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, var$9, var$10; a: { if (!$var1.$creativeMode) { $var6 = $this.$getDropCount(); $var7 = 0; var$8 = $var2; var$9 = $var3; var$10 = $var4; while (true) { if ($var7 >= $var6) break a; if (ju_Random_nextFloat(cmmlt_Block_random) <= $var5) cmml_Level_addEntity($var1, cmmi_Item__init_($var1, var$8 + ju_Random_nextFloat(cmmlt_Block_random) * 0.699999988079071 + 0.15000000596046448, var$9 + ju_Random_nextFloat(cmmlt_Block_random) * 0.699999988079071 + 0.15000000596046448, var$10 + ju_Random_nextFloat(cmmlt_Block_random) * 0.699999988079071 + 0.15000000596046448, $this.$getDrop())); $var7 = $var7 + 1 | 0; } } } } function cmmlt_Block_renderPreview($this, $var1) { var $var2; cmmr_ShapeRenderer_begin($var1); $var2 = 0; while ($var2 < 6) { if (!$var2) cmmr_ShapeRenderer_normal($var1, 0.0, 1.0, 0.0); if ($var2 == 1) cmmr_ShapeRenderer_normal($var1, 0.0, (-1.0), 0.0); if ($var2 == 2) cmmr_ShapeRenderer_normal($var1, 0.0, 0.0, 1.0); if ($var2 == 3) cmmr_ShapeRenderer_normal($var1, 0.0, 0.0, (-1.0)); if ($var2 == 4) cmmr_ShapeRenderer_normal($var1, 1.0, 0.0, 0.0); if ($var2 == 5) cmmr_ShapeRenderer_normal($var1, (-1.0), 0.0, 0.0); $this.$renderInside($var1, 0, 0, 0, $var2); $var2 = $var2 + 1 | 0; } cmmr_ShapeRenderer_end($var1); } function cmmlt_Block_canExplode($this) { return $this.$explodes; } function cmmlt_Block_clip($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, var$8, $var6, $var7, $var8, $var9, $var10, $var11, $var12; var$6 = -$var1; var$7 = -$var2; var$8 = -$var3; $var4 = cmmm_Vec3D_add($var4, var$6, var$7, var$8); $var5 = cmmm_Vec3D_add($var5, var$6, var$7, var$8); $var6 = cmmm_Vec3D_getXIntersection($var4, $var5, $this.$x1); $var7 = cmmm_Vec3D_getXIntersection($var4, $var5, $this.$x2); $var8 = cmmm_Vec3D_getYIntersection($var4, $var5, $this.$y1); $var9 = cmmm_Vec3D_getYIntersection($var4, $var5, $this.$y2); $var10 = cmmm_Vec3D_getZIntersection($var4, $var5, $this.$z1); $var5 = cmmm_Vec3D_getZIntersection($var4, $var5, $this.$z2); if (!cmmlt_Block_xIntersects($this, $var6)) $var6 = null; if (!cmmlt_Block_xIntersects($this, $var7)) $var7 = null; if (!cmmlt_Block_yIntersects($this, $var8)) $var8 = null; if (!cmmlt_Block_yIntersects($this, $var9)) $var9 = null; if (!cmmlt_Block_zIntersects($this, $var10)) $var10 = null; if (!cmmlt_Block_zIntersects($this, $var5)) $var5 = null; $var11 = null; if ($var6 !== null) $var11 = $var6; if ($var7 !== null && !($var11 !== null && cmmm_Vec3D_distance($var4, $var7) >= cmmm_Vec3D_distance($var4, $var11))) $var11 = $var7; if ($var8 !== null && !($var11 !== null && cmmm_Vec3D_distance($var4, $var8) >= cmmm_Vec3D_distance($var4, $var11))) $var11 = $var8; if ($var9 !== null && !($var11 !== null && cmmm_Vec3D_distance($var4, $var9) >= cmmm_Vec3D_distance($var4, $var11))) $var11 = $var9; if ($var10 !== null && !($var11 !== null && cmmm_Vec3D_distance($var4, $var10) >= cmmm_Vec3D_distance($var4, $var11))) $var11 = $var10; if ($var5 !== null && !($var11 !== null && cmmm_Vec3D_distance($var4, $var5) >= cmmm_Vec3D_distance($var4, $var11))) $var11 = $var5; if ($var11 === null) return null; $var12 = (-1); if ($var11 === $var6) $var12 = 4; if ($var11 === $var7) $var12 = 5; if ($var11 === $var8) $var12 = 0; if ($var11 === $var9) $var12 = 1; if ($var11 === $var10) $var12 = 2; if ($var11 === $var5) $var12 = 3; return cmm_MovingObjectPosition__init_0($var1, $var2, $var3, $var12, cmmm_Vec3D_add($var11, $var1, $var2, $var3)); } function cmmlt_Block_xIntersects($this, $var1) { return $var1 === null ? 0 : $var1.$y3 >= $this.$y1 && $var1.$y3 <= $this.$y2 && $var1.$z3 >= $this.$z1 && $var1.$z3 <= $this.$z2 ? 1 : 0; } function cmmlt_Block_yIntersects($this, $var1) { return $var1 === null ? 0 : $var1.$x3 >= $this.$x1 && $var1.$x3 <= $this.$x2 && $var1.$z3 >= $this.$z1 && $var1.$z3 <= $this.$z2 ? 1 : 0; } function cmmlt_Block_zIntersects($this, $var1) { return $var1 === null ? 0 : $var1.$x3 >= $this.$x1 && $var1.$x3 <= $this.$x2 && $var1.$y3 >= $this.$y1 && $var1.$y3 <= $this.$y2 ? 1 : 0; } function cmmlt_Block_explode($this, $var1, $var2, $var3, $var4) { return; } function cmmlt_Block_render($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $var10, var$9, $var8, $var9; $var6 = 0; var$7 = $var3 - 1 | 0; if ($this.$canRenderSide($var1, $var2, var$7, $var4, 0)) { $var10 = 0.5 * $this.$getBrightness0($var1, $var2, var$7, $var4); cmmr_ShapeRenderer_color($var5, $var10, $var10, $var10); $this.$renderInside($var5, $var2, $var3, $var4, 0); $var6 = 1; } var$7 = $var3 + 1 | 0; if ($this.$canRenderSide($var1, $var2, var$7, $var4, 1)) { $var10 = $this.$getBrightness0($var1, $var2, var$7, $var4) * 1.0; cmmr_ShapeRenderer_color($var5, $var10, $var10, $var10); $this.$renderInside($var5, $var2, $var3, $var4, 1); $var6 = 1; } var$7 = $var4 - 1 | 0; if ($this.$canRenderSide($var1, $var2, $var3, var$7, 2)) { $var10 = 0.800000011920929 * $this.$getBrightness0($var1, $var2, $var3, var$7); cmmr_ShapeRenderer_color($var5, $var10, $var10, $var10); $this.$renderInside($var5, $var2, $var3, $var4, 2); $var6 = 1; } var$9 = $var4 + 1 | 0; if ($this.$canRenderSide($var1, $var2, $var3, var$9, 3)) { $var8 = 0.800000011920929 * $this.$getBrightness0($var1, $var2, $var3, var$9); cmmr_ShapeRenderer_color($var5, $var8, $var8, $var8); $this.$renderInside($var5, $var2, $var3, $var4, 3); $var6 = 1; } var$7 = $var2 - 1 | 0; if ($this.$canRenderSide($var1, var$7, $var3, $var4, 4)) { $var8 = 0.6000000238418579 * $this.$getBrightness0($var1, var$7, $var3, $var4); cmmr_ShapeRenderer_color($var5, $var8, $var8, $var8); $this.$renderInside($var5, $var2, $var3, $var4, 4); $var6 = 1; } var$7 = $var2 + 1 | 0; if ($this.$canRenderSide($var1, var$7, $var3, $var4, 5)) { $var9 = 0.6000000238418579 * $this.$getBrightness0($var1, var$7, $var3, $var4); cmmr_ShapeRenderer_color($var5, $var9, $var9, $var9); $this.$renderInside($var5, $var2, $var3, $var4, 5); $var6 = 1; } return $var6; } function cmmlt_Block_getRenderPass($this) { return 0; } function cmmlt_Block__clinit_() { var $var10000; cmmlt_Block_random = ju_Random__init_(); cmmlt_Block_blocks = $rt_createArray(cmmlt_Block, 256); cmmlt_Block_physics = $rt_createBooleanArray(256); cmmlt_Block_opaque = $rt_createBooleanArray(256); cmmlt_Block_cube = $rt_createBooleanArray(256); cmmlt_Block_liquid = $rt_createBooleanArray(256); cmmlt_Block_tickDelay = $rt_createIntArray(256); $var10000 = cmmlt_Block_setData(cmmlt_StoneBlock__init_(1, 1), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 1.0); $var10000.$explodes = 0; cmmlt_Block_STONE = $var10000; cmmlt_Block_GRASS = cmmlt_Block_setData(cmmlt_GrassBlock__init_(2), cmmlt_Tile$SoundType_grass, 0.8999999761581421, 1.0, 0.6000000238418579); cmmlt_Block_DIRT = cmmlt_Block_setData(cmmlt_DirtBlock__init_(3, 2), cmmlt_Tile$SoundType_grass, 0.800000011920929, 1.0, 0.5); $var10000 = cmmlt_Block_setData(cmmlt_Block__init_1(4, 16), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 1.5); $var10000.$explodes = 0; cmmlt_Block_COBBLESTONE = $var10000; cmmlt_Block_WOOD = cmmlt_Block_setData(cmmlt_Block__init_1(5, 4), cmmlt_Tile$SoundType_wood, 1.0, 1.0, 1.5); cmmlt_Block_SAPLING = cmmlt_Block_setData(cmmlt_SaplingBlock__init_(6, 15), cmmlt_Tile$SoundType_none, 0.699999988079071, 1.0, 0.0); $var10000 = cmmlt_Block_setData(cmmlt_Block__init_1(7, 17), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 999.0); $var10000.$explodes = 0; cmmlt_Block_BEDROCK = $var10000; cmmlt_Block_WATER = cmmlt_Block_setData(cmmlt_LiquidBlock__init_(8, cmmll_LiquidType_WATER), cmmlt_Tile$SoundType_none, 1.0, 1.0, 100.0); cmmlt_Block_STATIONARY_WATER = cmmlt_Block_setData(cmmlt_StillLiquidBlock__init_(9, cmmll_LiquidType_WATER), cmmlt_Tile$SoundType_none, 1.0, 1.0, 100.0); cmmlt_Block_LAVA = cmmlt_Block_setData(cmmlt_LiquidBlock__init_(10, cmmll_LiquidType_LAVA), cmmlt_Tile$SoundType_none, 1.0, 1.0, 100.0); cmmlt_Block_STATIONARY_LAVA = cmmlt_Block_setData(cmmlt_StillLiquidBlock__init_(11, cmmll_LiquidType_LAVA), cmmlt_Tile$SoundType_none, 1.0, 1.0, 100.0); cmmlt_Block_SAND = cmmlt_Block_setData(cmmlt_SandBlock__init_(12, 18), cmmlt_Tile$SoundType_gravel, 0.800000011920929, 1.0, 0.5); cmmlt_Block_GRAVEL = cmmlt_Block_setData(cmmlt_SandBlock__init_(13, 19), cmmlt_Tile$SoundType_gravel, 0.800000011920929, 1.0, 0.6000000238418579); $var10000 = cmmlt_Block_setData(cmmlt_OreBlock__init_(14, 32), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 3.0); $var10000.$explodes = 0; cmmlt_Block_GOLD_ORE = $var10000; $var10000 = cmmlt_Block_setData(cmmlt_OreBlock__init_(15, 33), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 3.0); $var10000.$explodes = 0; cmmlt_Block_IRON_ORE = $var10000; $var10000 = cmmlt_Block_setData(cmmlt_OreBlock__init_(16, 34), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 3.0); $var10000.$explodes = 0; cmmlt_Block_COAL_ORE = $var10000; cmmlt_Block_LOG = cmmlt_Block_setData(cmmlt_WoodBlock__init_(17), cmmlt_Tile$SoundType_wood, 1.0, 1.0, 2.5); cmmlt_Block_LEAVES = cmmlt_Block_setData(cmmlt_LeavesBlock__init_(18, 22), cmmlt_Tile$SoundType_grass, 1.0, 0.4000000059604645, 0.20000000298023224); cmmlt_Block_SPONGE = cmmlt_Block_setData(cmmlt_SpongeBlock__init_(19), cmmlt_Tile$SoundType_cloth, 1.0, 0.8999999761581421, 0.6000000238418579); cmmlt_Block_GLASS = cmmlt_Block_setData(cmmlt_GlassBlock__init_(20, 49, 0), cmmlt_Tile$SoundType_metal, 1.0, 1.0, 0.30000001192092896); cmmlt_Block_RED_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(21, 64), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_ORANGE_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(22, 65), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_YELLOW_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(23, 66), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_LIME_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(24, 67), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_GREEN_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(25, 68), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_AQUA_GREEN_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(26, 69), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_CYAN_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(27, 70), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_BLUE_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(28, 71), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_PURPLE_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(29, 72), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_INDIGO_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(30, 73), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_VIOLET_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(31, 74), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_MAGENTA_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(32, 75), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_PINK_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(33, 76), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_BLACK_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(34, 77), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_GRAY_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(35, 78), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_WHITE_WOOL = cmmlt_Block_setData(cmmlt_Block__init_1(36, 79), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.800000011920929); cmmlt_Block_DANDELION = cmmlt_Block_setData(cmmlt_FlowerBlock__init_(37, 13), cmmlt_Tile$SoundType_none, 0.699999988079071, 1.0, 0.0); cmmlt_Block_ROSE = cmmlt_Block_setData(cmmlt_FlowerBlock__init_(38, 12), cmmlt_Tile$SoundType_none, 0.699999988079071, 1.0, 0.0); cmmlt_Block_BROWN_MUSHROOM = cmmlt_Block_setData(cmmlt_MushroomBlock__init_(39, 29), cmmlt_Tile$SoundType_none, 0.699999988079071, 1.0, 0.0); cmmlt_Block_RED_MUSHROOM = cmmlt_Block_setData(cmmlt_MushroomBlock__init_(40, 28), cmmlt_Tile$SoundType_none, 0.699999988079071, 1.0, 0.0); $var10000 = cmmlt_Block_setData(cmmlt_MetalBlock__init_(41, 40), cmmlt_Tile$SoundType_metal, 0.699999988079071, 1.0, 3.0); $var10000.$explodes = 0; cmmlt_Block_GOLD_BLOCK = $var10000; $var10000 = cmmlt_Block_setData(cmmlt_MetalBlock__init_(42, 39), cmmlt_Tile$SoundType_metal, 0.699999988079071, 1.0, 5.0); $var10000.$explodes = 0; cmmlt_Block_IRON_BLOCK = $var10000; $var10000 = cmmlt_Block_setData(cmmlt_SlabBlock__init_(43, 1), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 2.0); $var10000.$explodes = 0; cmmlt_Block_DOUBLE_SLAB = $var10000; $var10000 = cmmlt_Block_setData(cmmlt_SlabBlock__init_(44, 0), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 2.0); $var10000.$explodes = 0; cmmlt_Block_SLAB = $var10000; $var10000 = cmmlt_Block_setData(cmmlt_Block__init_1(45, 7), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 2.0); $var10000.$explodes = 0; cmmlt_Block_BRICK = $var10000; cmmlt_Block_TNT = cmmlt_Block_setData(cmmlt_TNTBlock__init_(46, 8), cmmlt_Tile$SoundType_cloth, 1.0, 1.0, 0.0); cmmlt_Block_BOOKSHELF = cmmlt_Block_setData(cmmlt_BookshelfBlock__init_(47, 35), cmmlt_Tile$SoundType_wood, 1.0, 1.0, 1.5); $var10000 = cmmlt_Block_setData(cmmlt_Block__init_1(48, 36), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 1.0); $var10000.$explodes = 0; cmmlt_Block_MOSSY_COBBLESTONE = $var10000; $var10000 = cmmlt_Block_setData(cmmlt_StoneBlock__init_(49, 37), cmmlt_Tile$SoundType_stone, 1.0, 1.0, 10.0); $var10000.$explodes = 0; cmmlt_Block_OBSIDIAN = $var10000; } function jt_DateFormatSymbols() { var a = this; jl_Object.call(a); a.$locale1 = null; a.$ampms = null; a.$eras = null; a.$months = null; a.$shortMonths = null; a.$shortWeekdays = null; a.$weekdays = null; a.$zoneStrings = null; } function jt_DateFormatSymbols__init_(var_0) { var var_1 = new jt_DateFormatSymbols(); jt_DateFormatSymbols__init_0(var_1, var_0); return var_1; } function jt_DateFormatSymbols__init_0($this, $locale) { $this.$locale1 = $locale; } function jt_DateFormatSymbols_clone($this) { var $symbols, $i; $symbols = jt_DateFormatSymbols__init_($this.$locale1); if ($this.$ampms !== null) $symbols.$ampms = ju_Arrays_copyOf1($this.$ampms, $this.$ampms.data.length); if ($this.$eras !== null) $symbols.$eras = ju_Arrays_copyOf1($this.$eras, $this.$eras.data.length); if ($this.$months !== null) $symbols.$months = ju_Arrays_copyOf1($this.$months, $this.$months.data.length); if ($this.$shortMonths !== null) $symbols.$shortMonths = ju_Arrays_copyOf1($this.$shortMonths, $this.$shortMonths.data.length); if ($this.$shortWeekdays !== null) $symbols.$shortWeekdays = ju_Arrays_copyOf1($this.$shortWeekdays.$clone(), $this.$shortWeekdays.data.length); if ($this.$weekdays !== null) $symbols.$weekdays = ju_Arrays_copyOf1($this.$weekdays, $this.$weekdays.data.length); a: { if ($this.$zoneStrings !== null) { $symbols.$zoneStrings = $rt_createArray($rt_arraycls(jl_String), $this.$zoneStrings.data.length); $i = 0; while (true) { if ($i >= $this.$zoneStrings.data.length) break a; $symbols.$zoneStrings.data[$i] = ju_Arrays_copyOf1($this.$zoneStrings.data[$i], $this.$zoneStrings.data[$i].data.length); $i = $i + 1 | 0; } } } return $symbols; } function jt_DateFormatSymbols_getAmPmStrings($this) { var var$1, var$2; if ($this.$ampms === null) { var$1 = $this.$locale1.$languageCode; var$2 = $this.$locale1.$countryCode; if (otciu_CLDRHelper_$$metadata$$2 === null) otciu_CLDRHelper_$$metadata$$2 = otciu_CLDRHelper_getAmPmMap$$create(); $this.$ampms = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$2, var$1, var$2); } return $this.$ampms.$clone(); } function jt_DateFormatSymbols_getEras($this) { var var$1, var$2; if ($this.$eras === null) { var$1 = $this.$locale1.$languageCode; var$2 = $this.$locale1.$countryCode; if (otciu_CLDRHelper_$$metadata$$1 === null) otciu_CLDRHelper_$$metadata$$1 = otciu_CLDRHelper_getErasMap$$create(); $this.$eras = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$1, var$1, var$2); } return $this.$eras.$clone(); } function jt_DateFormatSymbols_getMonths($this) { var var$1, var$2; if ($this.$months === null) { var$1 = $this.$locale1.$languageCode; var$2 = $this.$locale1.$countryCode; if (otciu_CLDRHelper_$$metadata$$3 === null) otciu_CLDRHelper_$$metadata$$3 = otciu_CLDRHelper_getMonthMap$$create(); $this.$months = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$3, var$1, var$2); } return $this.$months.$clone(); } function jt_DateFormatSymbols_getShortMonths($this) { var var$1, var$2; if ($this.$shortMonths === null) { var$1 = $this.$locale1.$languageCode; var$2 = $this.$locale1.$countryCode; if (otciu_CLDRHelper_$$metadata$$4 === null) otciu_CLDRHelper_$$metadata$$4 = otciu_CLDRHelper_getShortMonthMap$$create(); $this.$shortMonths = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$4, var$1, var$2); } return $this.$shortMonths.$clone(); } function jt_DateFormatSymbols_getShortWeekdays($this) { var var$1, var$2; if ($this.$shortWeekdays === null) { var$1 = $this.$locale1.$languageCode; var$2 = $this.$locale1.$countryCode; if (otciu_CLDRHelper_$$metadata$$6 === null) otciu_CLDRHelper_$$metadata$$6 = otciu_CLDRHelper_getShortWeekdayMap$$create(); $this.$shortWeekdays = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$6, var$1, var$2); } return $this.$shortWeekdays.$clone(); } function jt_DateFormatSymbols_getWeekdays($this) { var var$1, var$2; if ($this.$weekdays === null) { var$1 = $this.$locale1.$languageCode; var$2 = $this.$locale1.$countryCode; if (otciu_CLDRHelper_$$metadata$$5 === null) otciu_CLDRHelper_$$metadata$$5 = otciu_CLDRHelper_getWeekdayMap$$create(); $this.$weekdays = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$5, var$1, var$2); } return $this.$weekdays.$clone(); } function nlea_EaglerAdapterImpl2$12() { var a = this; jl_Object.call(a); a.$val$toLoad = null; a.$val$ret = null; } function nlea_EaglerAdapterImpl2$12_handleEvent($this, $evt) { var $pxls, var$3, var$4, $pxlsDat, $totalPixels, $pixels, var$8, $i, var$10, var$11; if (nlea_EaglerAdapterImpl2_access$1700() === null) nlea_EaglerAdapterImpl2_imageLoadCanvas = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); if (nlea_EaglerAdapterImpl2_access$1700().width < $this.$val$toLoad.width) { $evt = nlea_EaglerAdapterImpl2_access$1700(); $pxls = $this.$val$toLoad.width; $evt.width = $pxls; } if (nlea_EaglerAdapterImpl2_access$1700().height < $this.$val$toLoad.height) { $evt = nlea_EaglerAdapterImpl2_access$1700(); $pxls = $this.$val$toLoad.height; $evt.height = $pxls; } if (nlea_EaglerAdapterImpl2_access$1800() === null) nlea_EaglerAdapterImpl2_imageLoadContext = nlea_EaglerAdapterImpl2_access$1700().getContext("2d"); $evt = nlea_EaglerAdapterImpl2_access$1800(); var$3 = $this.$val$toLoad.width; var$4 = $this.$val$toLoad.height; $evt.clearRect(0.0, 0.0, var$3, var$4); $evt = nlea_EaglerAdapterImpl2_access$1800(); $pxls = $this.$val$toLoad; var$3 = $this.$val$toLoad.width; var$4 = $this.$val$toLoad.height; $evt.drawImage($pxls, 0.0, 0.0, var$3, var$4); $evt = nlea_EaglerAdapterImpl2_access$1800(); var$3 = $this.$val$toLoad.width; var$4 = $this.$val$toLoad.height; $pxlsDat = $evt.getImageData(0.0, 0.0, var$3, var$4); $pxls = $pxlsDat.data; $totalPixels = $rt_imul($pxlsDat.width, $pxlsDat.height); nlea_EaglerAdapterImpl2_access$1900($rt_str($this.$val$toLoad.src)); if ($pxls.byteLength < ($totalPixels * 4 | 0)) { otpp_AsyncCallbackWrapper_complete($this.$val$ret, null); return; } $pixels = $rt_createIntArray($totalPixels); var$8 = $pixels.data; $i = 0; $totalPixels = var$8.length; while ($i < $totalPixels) { var$10 = $i * 4 | 0; var$8[$i] = $pxls[var$10] << 16 | $pxls[var$10 + 1 | 0] << 8 | $pxls[var$10 + 2 | 0] | $pxls[var$10 + 3 | 0] << 24; $i = $i + 1 | 0; } $evt = $this.$val$ret; $pxls = new nle_EaglerImage; var$10 = $pxlsDat.width; var$11 = $pxlsDat.height; if ($totalPixels == $rt_imul(var$10, var$11)) { $pxls.$w0 = var$10; $pxls.$h1 = var$11; $pxls.$alpha = 1; $pxls.$data = $pixels; otpp_AsyncCallbackWrapper_complete($evt, $pxls); return; } $evt = new jl_IllegalArgumentException; jl_Throwable__init_($evt, $rt_s(268)); $rt_throw($evt); } function nlea_EaglerAdapterImpl2$12_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$12_handleEvent(var$0, var$1); } function nlea_EaglerAdapterImpl2$13() { var a = this; jl_Object.call(a); a.$val$toLoad0 = null; a.$val$ret0 = null; } function nlea_EaglerAdapterImpl2$13_handleEvent($this, $evt) { nlea_EaglerAdapterImpl2_access$1900($rt_str($this.$val$toLoad0.src)); otpp_AsyncCallbackWrapper_complete($this.$val$ret0, null); } function nlea_EaglerAdapterImpl2$13_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2$13_handleEvent(var$0, var$1); } function jn_ByteBuffer() { var a = this; jn_Buffer.call(a); a.$start3 = 0; a.$array0 = null; a.$order = null; } function jn_ByteBuffer_allocateDirect($capacity) { var var$2; if ($capacity >= 0) return jn_ByteBufferImpl__init_($capacity, 1); var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(269)), $capacity))); $rt_throw(var$2); } function jn_ByteBuffer_allocate($capacity) { var var$2; if ($capacity >= 0) return jn_ByteBufferImpl__init_($capacity, 0); var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(269)), $capacity))); $rt_throw(var$2); } function jn_ByteBuffer_wrap($array, $offset, $length) { return jn_ByteBufferImpl__init_0(0, $array.data.length, $array, $offset, $offset + $length | 0, 0, 0); } function jn_ByteBuffer_wrap0($array) { return jn_ByteBuffer_wrap($array, 0, $array.data.length); } function jn_ByteBuffer_get0($this, $dst, $offset, $length) { var var$4, var$5, $pos, var$7, var$8, $i, var$10; 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; jl_Throwable__init_(var$7, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(270)), $pos), $rt_s(260)), var$5))); $rt_throw(var$7); } if (jn_Buffer_remaining($this) < $length) { var$8 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$8); $rt_throw(var$8); } if ($length < 0) { var$8 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$8, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(261)), $length), $rt_s(262)))); $rt_throw(var$8); } $pos = $this.$position + $this.$start3 | 0; $i = 0; while ($i < $length) { var$10 = $offset + 1 | 0; $dst = $this.$array0.data; var$5 = $pos + 1 | 0; var$4[$offset] = $dst[$pos]; $i = $i + 1 | 0; $offset = var$10; $pos = var$5; } $this.$position = $this.$position + $length | 0; return $this; } } $dst = $dst.data; var$7 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$7, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(263)), $offset), $rt_s(257)), $dst.length), $rt_s(26)))); $rt_throw(var$7); } function jn_ByteBuffer_get($this, $dst) { return jn_ByteBuffer_get0($this, $dst, 0, $dst.data.length); } function jn_ByteBuffer_put($this, $src, $offset, $length) { var var$4, var$5, var$6, $pos, $i, var$9, var$10; if (!$length) return $this; if ($this.$readOnly2) { var$4 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if (jn_Buffer_remaining($this) < $length) { var$4 = new jn_BufferOverflowException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if ($offset >= 0) { var$5 = $src.data; var$6 = var$5.length; if ($offset < var$6) { $pos = $offset + $length | 0; if ($pos > var$6) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(271)), $pos), $rt_s(260)), var$6))); $rt_throw(var$4); } if ($length < 0) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(261)), $length), $rt_s(262)))); $rt_throw(var$4); } $pos = $this.$position + $this.$start3 | 0; $i = 0; while ($i < $length) { $src = $this.$array0.data; var$9 = $pos + 1 | 0; var$6 = $offset + 1 | 0; $src[$pos] = var$5[$offset]; $i = $i + 1 | 0; $pos = var$9; $offset = var$6; } $this.$position = $this.$position + $length | 0; return $this; } } $src = $src.data; var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(263)), $offset), $rt_s(257)), $src.length), $rt_s(26)))); $rt_throw(var$10); } function jn_ByteBuffer_put0($this, $src) { return jn_ByteBuffer_put($this, $src, 0, $src.data.length); } function jn_ByteBuffer_hasArray($this) { return 1; } function jn_ByteBuffer_array($this) { return $this.$array0; } function jn_ByteBuffer_order($this, $bo) { $this.$order = $bo; return $this; } function jn_ByteBuffer_clear($this) { jn_Buffer_clear($this); return $this; } function jn_ByteBuffer_flip($this) { jn_Buffer_flip($this); return $this; } function jn_ByteBuffer_limit($this, $newLimit) { jn_Buffer_limit0($this, $newLimit); return $this; } function jn_ByteBuffer_position($this, $newPosition) { jn_Buffer_position0($this, $newPosition); return $this; } function jn_ByteBuffer_clear0($this) { jn_Buffer_clear($this); return $this; } function jn_ByteBuffer_limit0($this, var$1) { jn_Buffer_limit0($this, var$1); return $this; } function jn_ByteBuffer_position0($this, var$1) { jn_Buffer_position0($this, var$1); return $this; } function jn_ByteOrder() { jl_Object.call(this); this.$name2 = null; } var jn_ByteOrder_BIG_ENDIAN = null; var jn_ByteOrder_LITTLE_ENDIAN = null; function jn_ByteOrder__init_(var_0) { var var_1 = new jn_ByteOrder(); jn_ByteOrder__init_0(var_1, var_0); return var_1; } function jn_ByteOrder__init_0($this, $name) { $this.$name2 = $name; } function jn_ByteOrder__clinit_() { jn_ByteOrder_BIG_ENDIAN = jn_ByteOrder__init_($rt_s(272)); jn_ByteOrder_LITTLE_ENDIAN = jn_ByteOrder__init_($rt_s(273)); } function jnc_IllegalCharsetNameException() { jl_IllegalArgumentException.call(this); this.$charsetName0 = null; } function jnc_IllegalCharsetNameException__init_(var_0) { var var_1 = new jnc_IllegalCharsetNameException(); jnc_IllegalCharsetNameException__init_0(var_1, var_0); return var_1; } function jnc_IllegalCharsetNameException__init_0($this, $charsetName) { jl_Throwable__init_0($this); $this.$charsetName0 = $charsetName; } function cjj_ZStream() { var 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.$istate = null; a.$adler = null; } function cjj_ZStream_setOutput($this, $buf, $off, $len) { $this.$next_out = $buf; $this.$next_out_index = $off; $this.$avail_out = $len; } function cjj_ZStream_setInput($this, $buf, $off, $len, $append) { var $tmp_0; if ($len <= 0 && $append && $this.$next_in !== null) return; if ($this.$avail_in > 0 && $append) { $tmp_0 = $rt_createByteArray($this.$avail_in + $len | 0); jl_System_arraycopy($this.$next_in, $this.$next_in_index, $tmp_0, 0, $this.$avail_in); jl_System_arraycopy($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; } function cjj_Inflater_init($this, $w, $nowrap) { var var$3; $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.$z5 = $this; $this.$istate = var$3; var$3 = $this.$istate; if ($nowrap) $w = -$w; return cjj_Inflate_inflateInit(var$3, $w); } function cjj_Inflater_inflate($this, $f) { var $ret; if ($this.$istate === null) return (-2); $ret = cjj_Inflate_inflate($this.$istate, $f); if ($ret == 1) $this.$finished = 1; return $ret; } function cjj_Inflater_finished($this) { return $this.$istate.$mode != 12 ? 0 : 1; } function otciu_CLDRHelper() { jl_Object.call(this); } var otciu_CLDRHelper_$$metadata$$0 = null; var otciu_CLDRHelper_$$metadata$$1 = null; var otciu_CLDRHelper_$$metadata$$2 = null; var otciu_CLDRHelper_$$metadata$$3 = null; var otciu_CLDRHelper_$$metadata$$4 = null; var otciu_CLDRHelper_$$metadata$$5 = null; var otciu_CLDRHelper_$$metadata$$6 = null; var otciu_CLDRHelper_$$metadata$$10 = null; var otciu_CLDRHelper_$$metadata$$12 = null; var otciu_CLDRHelper_$$metadata$$13 = null; function otciu_CLDRHelper_resolveCountry($subtags, $country) { var $index; if (jl_String_isEmpty($country)) { if (otciu_CLDRHelper_$$metadata$$0 === null) otciu_CLDRHelper_$$metadata$$0 = otciu_CLDRHelper_getLikelySubtagsMap$$create(); $country = otciu_CLDRHelper_$$metadata$$0; if ($country.hasOwnProperty($rt_ustr($subtags))) $subtags = ($country[$rt_ustr($subtags)].value !== null ? $rt_str($country[$rt_ustr($subtags)].value) : null); $index = jl_String_lastIndexOf0($subtags, 95); $country = $index <= 0 ? $rt_s(4) : jl_String_substring0($subtags, $index + 1 | 0); } return $country; } function otciu_CLDRHelper_resolveDateFormatSymbols($map, $language, $country) { var $localeCode, $arrayRes, $result, var$7, $i, var$9; $localeCode = jl_String_isEmpty($country) ? $language : jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $language), $rt_s(274)), $country)); $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$7 = $result.data; $i = 0; var$9 = var$7.length; while ($i < var$9) { var$7[$i] = ($arrayRes[$i].value !== null ? $rt_str($arrayRes[$i].value) : null); $i = $i + 1 | 0; } return $result; } function otciu_CLDRHelper_getLikelySubtagsMap$$create() { return {"ksh": {"value" : "ksh-Latn-DE"}, "ksj": {"value" : "ksj-Latn-ZZ"}, "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"}, "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"}, "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"}, "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"}, "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"}, "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"}, "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"}, "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-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"}, "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": {"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"}, "und-Geor": {"value" : "ka-Geor-GE"}, "und-Shrd": {"value" : "sa-Shrd-IN"}, "dnj": {"value" : "dnj-Latn-CI"}, "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"}, "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"}, "mql": {"value" : "mql-Latn-ZZ"}, "und-Hebr-UA": {"value" : "yi-Hebr-UA"}, "mrd": {"value" : "mrd-Deva-NP"}, "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"}, "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"}, "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"}, "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"}, "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-Latn-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"}, "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-Arab-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"}, "bhk": {"value" : "bhk-Latn-PH"}, "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"}, "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"}, "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"}, "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"}}; } function otciu_CLDRHelper_getErasMap$$create() { return {"root": [{"value" : "BCE"}, {"value" : "CE"}], "en": [{"value" : "BC"}, {"value" : "AD"}]}; } function otciu_CLDRHelper_getAmPmMap$$create() { return {"root": [{"value" : "AM"}, {"value" : "PM"}], "en": [{"value" : "AM"}, {"value" : "PM"}]}; } function 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"} ]}; } function 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"}]}; } function 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"}]}; } function 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"}]}; } function otciu_CLDRHelper_getDefaultLocale$$create() { return {"value" : "en_GB"}; } function 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}}; } function 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" : 1}, "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}}; } function otpp_ResourceAccessor() { jl_Object.call(this); } function otpp_ResourceAccessor_keys(var$1) { var result = []; for (var key in var$1) { result.push(key); } return result; } function otpp_ResourceAccessor_keysToStrings($keys) { var $sz, $result, var$4, $i; $sz = $keys.length; $result = $rt_createArray(jl_String, $sz); var$4 = $result.data; $i = 0; while ($i < $sz) { var$4[$i] = ($keys[$i] !== null ? $rt_str($keys[$i]) : null); $i = $i + 1 | 0; } return $result; } function nPg_GLObjectMap() { var a = this; jl_Object.call(a); a.$values = null; a.$size3 = 0; a.$insertIndex = 0; a.$allocatedObjects = 0; } function nPg_GLObjectMap__init_(var_0) { var var_1 = new nPg_GLObjectMap(); nPg_GLObjectMap__init_0(var_1, var_0); return var_1; } function nPg_GLObjectMap__init_0($this, $initialSize) { $this.$values = $rt_createArray(jl_Object, $initialSize); $this.$size3 = $initialSize; $this.$insertIndex = 0; $this.$allocatedObjects = 0; } function nPg_GLObjectMap_register($this, $obj) { var $start, var$3; $start = $this.$insertIndex; while (true) { $this.$insertIndex = $this.$insertIndex + 1 | 0; if ($this.$insertIndex >= $this.$size3) $this.$insertIndex = 0; if ($this.$insertIndex == $start) { $start = $this.$size3; $this.$size3 = $this.$size3 + ($this.$size3 / 2 | 0) | 0; var$3 = $this.$values; $this.$values = $rt_createArray(jl_Object, $this.$size3); jl_System_arraycopy(var$3, 0, $this.$values, 0, $start); return nPg_GLObjectMap_register($this, $obj); } if ($this.$values.data[$this.$insertIndex] !== null) continue; else break; } $this.$values.data[$this.$insertIndex] = $obj; $this.$allocatedObjects = $this.$allocatedObjects + 1 | 0; return $this.$insertIndex; } function nPg_GLObjectMap_get($this, $obj) { if ($obj < $this.$size3 && $obj >= 0) return $this.$values.data[$obj]; return null; } function nPgv_Matrix() { jl_Object.call(this); } function nPgv_Matrix4f() { var a = this; nPgv_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; } function nPgv_Matrix4f__init_() { var var_0 = new nPgv_Matrix4f(); nPgv_Matrix4f__init_0(var_0); return var_0; } function nPgv_Matrix4f__init_0($this) { nPgv_Matrix4f_setIdentity($this); } function nPgv_Matrix4f_setIdentity($this) { $this.$m00 = 1.0; $this.$m01 = 0.0; $this.$m02 = 0.0; $this.$m03 = 0.0; $this.$m10 = 0.0; $this.$m11 = 1.0; $this.$m12 = 0.0; $this.$m13 = 0.0; $this.$m20 = 0.0; $this.$m21 = 0.0; $this.$m22 = 1.0; $this.$m23 = 0.0; $this.$m30 = 0.0; $this.$m31 = 0.0; $this.$m32 = 0.0; $this.$m33 = 1.0; return $this; } function nPgv_Matrix4f_setZero($this) { $this.$m00 = 0.0; $this.$m01 = 0.0; $this.$m02 = 0.0; $this.$m03 = 0.0; $this.$m10 = 0.0; $this.$m11 = 0.0; $this.$m12 = 0.0; $this.$m13 = 0.0; $this.$m20 = 0.0; $this.$m21 = 0.0; $this.$m22 = 0.0; $this.$m23 = 0.0; $this.$m30 = 0.0; $this.$m31 = 0.0; $this.$m32 = 0.0; $this.$m33 = 0.0; return $this; } function nPgv_Matrix4f_load($this, $src) { $this.$m00 = $src.$m00; $this.$m01 = $src.$m01; $this.$m02 = $src.$m02; $this.$m03 = $src.$m03; $this.$m10 = $src.$m10; $this.$m11 = $src.$m11; $this.$m12 = $src.$m12; $this.$m13 = $src.$m13; $this.$m20 = $src.$m20; $this.$m21 = $src.$m21; $this.$m22 = $src.$m22; $this.$m23 = $src.$m23; $this.$m30 = $src.$m30; $this.$m31 = $src.$m31; $this.$m32 = $src.$m32; $this.$m33 = $src.$m33; return $this; } function nPgv_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; } function nPgv_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; } function nPgv_Matrix4f_translate0($this, $vec) { return nPgv_Matrix4f_translate($this, $vec, $this); } function nPgv_Matrix4f_scale($this, $vec) { $this.$m00 = $this.$m00 * $vec.$x5; $this.$m01 = $this.$m01 * $vec.$x5; $this.$m02 = $this.$m02 * $vec.$x5; $this.$m03 = $this.$m03 * $vec.$x5; $this.$m10 = $this.$m10 * $vec.$y5; $this.$m11 = $this.$m11 * $vec.$y5; $this.$m12 = $this.$m12 * $vec.$y5; $this.$m13 = $this.$m13 * $vec.$y5; $this.$m20 = $this.$m20 * $vec.$z6; $this.$m21 = $this.$m21 * $vec.$z6; $this.$m22 = $this.$m22 * $vec.$z6; $this.$m23 = $this.$m23 * $vec.$z6; return $this; } function nPgv_Matrix4f_rotate0($this, $angle, $axis) { return nPgv_Matrix4f_rotate($this, $angle, $axis, $this); } function nPgv_Matrix4f_rotate($this, $angle, $axis, $dest) { return nPgv_Matrix4f_rotate1($angle, $axis, $this, $dest); } function nPgv_Matrix4f_rotate1($angle, $axis, $src, $dest) { var var$5, $c, $s, $oneminusc, $xy, $yz, $xz, $xs, $ys, $zs, $f00, $f01, $t13, $f02, $f10, $f11, $f12, $f20, $f21, $f22, $t00, $t01, $t02, $t03, $t10, $t11, $t12; if ($dest === null) $dest = nPgv_Matrix4f__init_(); var$5 = $angle; $c = jl_Math_cos(var$5); $s = jl_Math_sin(var$5); $oneminusc = 1.0 - $c; $xy = $axis.$x5 * $axis.$y5; $yz = $axis.$y5 * $axis.$z6; $xz = $axis.$x5 * $axis.$z6; $xs = $axis.$x5 * $s; $ys = $axis.$y5 * $s; $zs = $axis.$z6 * $s; $f00 = $axis.$x5 * $axis.$x5 * $oneminusc + $c; $angle = $xy * $oneminusc; $f01 = $angle + $zs; $t13 = $xz * $oneminusc; $f02 = $t13 - $ys; $f10 = $angle - $zs; $f11 = $axis.$y5 * $axis.$y5 * $oneminusc + $c; $angle = $yz * $oneminusc; $f12 = $angle + $xs; $f20 = $t13 + $ys; $f21 = $angle - $xs; $f22 = $axis.$z6 * $axis.$z6 * $oneminusc + $c; $t00 = $src.$m00 * $f00 + $src.$m10 * $f01 + $src.$m20 * $f02; $t01 = $src.$m01 * $f00 + $src.$m11 * $f01 + $src.$m21 * $f02; $t02 = $src.$m02 * $f00 + $src.$m12 * $f01 + $src.$m22 * $f02; $t03 = $src.$m03 * $f00 + $src.$m13 * $f01 + $src.$m23 * $f02; $t10 = $src.$m00 * $f10 + $src.$m10 * $f11 + $src.$m20 * $f12; $t11 = $src.$m01 * $f10 + $src.$m11 * $f11 + $src.$m21 * $f12; $t12 = $src.$m02 * $f10 + $src.$m12 * $f11 + $src.$m22 * $f12; $t13 = $src.$m03 * $f10 + $src.$m13 * $f11 + $src.$m23 * $f12; $dest.$m20 = $src.$m00 * $f20 + $src.$m10 * $f21 + $src.$m20 * $f22; $dest.$m21 = $src.$m01 * $f20 + $src.$m11 * $f21 + $src.$m21 * $f22; $dest.$m22 = $src.$m02 * $f20 + $src.$m12 * $f21 + $src.$m22 * $f22; $dest.$m23 = $src.$m03 * $f20 + $src.$m13 * $f21 + $src.$m23 * $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; } function nPgv_Matrix4f_translate($this, $vec, $dest) { if ($dest === null) $dest = nPgv_Matrix4f__init_(); $dest.$m30 = $dest.$m30 + $this.$m00 * $vec.$x5 + $this.$m10 * $vec.$y5 + $this.$m20 * $vec.$z6; $dest.$m31 = $dest.$m31 + $this.$m01 * $vec.$x5 + $this.$m11 * $vec.$y5 + $this.$m21 * $vec.$z6; $dest.$m32 = $dest.$m32 + $this.$m02 * $vec.$x5 + $this.$m12 * $vec.$y5 + $this.$m22 * $vec.$z6; $dest.$m33 = $dest.$m33 + $this.$m03 * $vec.$x5 + $this.$m13 * $vec.$y5 + $this.$m23 * $vec.$z6; return $dest; } function nPgv_Matrix4f_equals($this, $m) { var var$2; a: { if ($m instanceof nPgv_Matrix4f) { b: { c: { $m = $m; if ($this.$m00 !== $m.$m00) break c; if ($this.$m01 !== $m.$m01) break c; if ($this.$m02 !== $m.$m02) break c; if ($this.$m03 !== $m.$m03) break c; if ($this.$m10 !== $m.$m10) break c; if ($this.$m11 !== $m.$m11) break c; if ($this.$m12 !== $m.$m12) break c; if ($this.$m13 !== $m.$m13) break c; if ($this.$m20 !== $m.$m20) break c; if ($this.$m21 !== $m.$m21) break c; if ($this.$m22 !== $m.$m22) break c; if ($this.$m23 !== $m.$m23) break c; if ($this.$m30 !== $m.$m30) break c; if ($this.$m31 !== $m.$m31) break c; if ($this.$m32 !== $m.$m32) break c; if ($this.$m33 === $m.$m33) { var$2 = 1; break b; } } var$2 = 0; } if (var$2) { var$2 = 1; break a; } } var$2 = 0; } return var$2; } function nPgv_ReadableVector() { } function nPgv_Vector() { jl_Object.call(this); } function nPgv_ReadableVector2f() { } function nPgv_ReadableVector3f() { } function nPgv_WritableVector2f() { } function nPgv_WritableVector3f() { } function nPgv_Vector3f() { var a = this; nPgv_Vector.call(a); a.$x5 = 0.0; a.$y5 = 0.0; a.$z6 = 0.0; } function nPgv_Vector3f_set($this, $x, $y, $z) { $this.$x5 = $x; $this.$y5 = $y; $this.$z6 = $z; } function nPgv_ReadableVector4f() { } function nPgv_WritableVector4f() { } function nPgv_Vector4f() { var a = this; nPgv_Vector.call(a); a.$x6 = 0.0; a.$y6 = 0.0; a.$z7 = 0.0; a.$w1 = 0.0; } function nPgv_Vector4f__init_() { var var_0 = new nPgv_Vector4f(); nPgv_Vector4f__init_0(var_0); return var_0; } function nPgv_Vector4f__init_0($this) { return; } function nPgv_Vector4f_set($this, $src) { $this.$x6 = $src.$x6; $this.$y6 = $src.$y6; $this.$z7 = $src.$z7; $this.$w1 = $src.$w1; return $this; } function nPgv_Vector4f_getX($this) { return $this.$x6; } function nPgv_Vector4f_getY($this) { return $this.$y6; } function nPgv_Vector4f_getZ($this) { return $this.$z7; } function nPgv_Vector4f_getW($this) { return $this.$w1; } function nPgv_Vector4f_equals($this, $obj) { var $other; if ($this === $obj) return 1; if ($obj === null) return 0; if (jl_Object_getClass($this) !== jl_Object_getClass($obj)) return 0; $other = $obj; if ($this.$x6 === $other.$x6 && $this.$y6 === $other.$y6 && $this.$z7 === $other.$z7 && $this.$w1 === $other.$w1) return 1; return 0; } function jn_ByteBufferImpl() { var a = this; jn_ByteBuffer.call(a); a.$direct = 0; a.$readOnly2 = 0; } function jn_ByteBufferImpl__init_(var_0, var_1) { var var_2 = new jn_ByteBufferImpl(); jn_ByteBufferImpl__init_1(var_2, var_0, var_1); return var_2; } function jn_ByteBufferImpl__init_0(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new jn_ByteBufferImpl(); jn_ByteBufferImpl__init_2(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function jn_ByteBufferImpl__init_1($this, $capacity, $direct) { jn_ByteBufferImpl__init_2($this, 0, $capacity, $rt_createByteArray($capacity), 0, $capacity, $direct, 0); } function jn_ByteBufferImpl__init_2($this, $start, $capacity, $array, $position, $limit, $direct, $readOnly) { jn_Buffer__init_0($this, $capacity); $this.$order = jn_ByteOrder_BIG_ENDIAN; $this.$start3 = $start; $this.$array0 = $array; $this.$position = $position; $this.$limit = $limit; $this.$direct = $direct; $this.$readOnly2 = $readOnly; } function jn_ByteBufferImpl_get($this) { var var$1, var$2, var$3, var$4; if ($this.$position >= $this.$limit) { var$1 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } var$2 = $this.$array0.data; var$3 = $this.$start3; var$4 = $this.$position; $this.$position = var$4 + 1 | 0; return var$2[var$3 + var$4 | 0]; } function jn_ByteBufferImpl_isReadOnly($this) { return $this.$readOnly2; } function jn_ByteBufferImpl_getInt($this, $index) { var $a, $b, $c, $d, var$6; if ($index >= 0 && ($index + 3 | 0) < $this.$limit) { $a = $this.$array0.data[$this.$start3 + $index | 0] & 255; $b = $this.$array0.data[($this.$start3 + $index | 0) + 1 | 0] & 255; $c = $this.$array0.data[($this.$start3 + $index | 0) + 2 | 0] & 255; $d = $this.$array0.data[($this.$start3 + $index | 0) + 3 | 0] & 255; if ($this.$order !== jn_ByteOrder_BIG_ENDIAN) return $d << 24 | $c << 16 | $b << 8 | $a; return $a << 24 | $b << 16 | $c << 8 | $d; } var$6 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$6, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(275)), $index), $rt_s(257)), $this.$limit - 3 | 0), $rt_s(26)))); $rt_throw(var$6); } function jn_ByteBufferImpl_putInt($this, $index, $value) { var var$3, var$4; if ($this.$readOnly2) { var$3 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } if ($index >= 0 && ($index + 3 | 0) < $this.$limit) { if ($this.$order !== jn_ByteOrder_BIG_ENDIAN) { $this.$array0.data[$this.$start3 + $index | 0] = $value << 24 >> 24; $this.$array0.data[($this.$start3 + $index | 0) + 1 | 0] = $value >> 8 << 24 >> 24; $this.$array0.data[($this.$start3 + $index | 0) + 2 | 0] = $value >> 16 << 24 >> 24; $this.$array0.data[($this.$start3 + $index | 0) + 3 | 0] = $value >> 24 << 24 >> 24; } else { $this.$array0.data[$this.$start3 + $index | 0] = $value >> 24 << 24 >> 24; $this.$array0.data[($this.$start3 + $index | 0) + 1 | 0] = $value >> 16 << 24 >> 24; $this.$array0.data[($this.$start3 + $index | 0) + 2 | 0] = $value >> 8 << 24 >> 24; $this.$array0.data[($this.$start3 + $index | 0) + 3 | 0] = $value << 24 >> 24; } return $this; } var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(275)), $index), $rt_s(257)), $this.$limit - 3 | 0), $rt_s(26)))); $rt_throw(var$4); } function jn_ByteBufferImpl_asIntBuffer($this) { var $sz, var$2; $sz = jn_Buffer_remaining($this) / 4 | 0; if ($this.$order !== jn_ByteOrder_BIG_ENDIAN) { var$2 = new jn_IntBufferOverByteBufferLittleEndian; jn_IntBufferOverByteBuffer__init_(var$2, $this.$start3 + $this.$position | 0, $sz, $this, 0, $sz, $this.$readOnly2); return var$2; } var$2 = new jn_IntBufferOverByteBufferBigEndian; jn_IntBufferOverByteBuffer__init_(var$2, $this.$start3 + $this.$position | 0, $sz, $this, 0, $sz, $this.$readOnly2); return var$2; } function jn_ByteBufferImpl_asFloatBuffer($this) { var $sz, var$2; $sz = jn_Buffer_remaining($this) / 4 | 0; if ($this.$order !== jn_ByteOrder_LITTLE_ENDIAN) { var$2 = new jn_FloatBufferOverByteBufferLittleEndian; jn_FloatBufferOverByteBuffer__init_(var$2, $this.$start3 + $this.$position | 0, $sz, $this, 0, $sz, $this.$readOnly2); return var$2; } var$2 = new jn_FloatBufferOverByteBufferBigEndian; jn_FloatBufferOverByteBuffer__init_(var$2, $this.$start3 + $this.$position | 0, $sz, $this, 0, $sz, $this.$readOnly2); return var$2; } function jn_IntBufferImpl() { jn_IntBuffer.call(this); } function jn_IntBufferImpl__init_0(var_0, var_1, var_2) { var var_3 = new jn_IntBufferImpl(); jn_IntBufferImpl__init_(var_3, var_0, var_1, var_2); return var_3; } function jn_IntBufferImpl__init_($this, $capacity, $position, $limit) { jn_Buffer__init_0($this, $capacity); $this.$position = $position; $this.$limit = $limit; } function jn_IntBufferImpl_get($this) { var var$1, var$2; if ($this.$position < $this.$limit) { var$1 = $this.$position; $this.$position = var$1 + 1 | 0; return $this.$getElement0(var$1); } var$2 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } function jn_IntBufferImpl_put($this, $b) { var var$2, var$3; if ($this.$readOnly1()) { var$2 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } if ($this.$position < $this.$limit) { var$3 = $this.$position; $this.$position = var$3 + 1 | 0; $this.$putElement(var$3, $b); return $this; } var$2 = new jn_BufferOverflowException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } function jn_IntBufferImpl_get0($this, $index) { var var$2; if ($index >= 0 && $index < $this.$limit) return $this.$getElement0($index); var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(275)), $index), $rt_s(257)), $this.$limit), $rt_s(26)))); $rt_throw(var$2); } function jn_IntBufferImpl_put0($this, $index, $b) { var var$3, var$4; if ($this.$readOnly1()) { var$3 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } if ($index >= 0 && $index < $this.$limit) { $this.$putElement($index, $b); return $this; } var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(275)), $index), $rt_s(257)), $this.$limit), $rt_s(26)))); $rt_throw(var$4); } function jn_IntBufferImpl_isReadOnly($this) { return $this.$readOnly1(); } function jn_IntBufferOverArray() { var a = this; jn_IntBufferImpl.call(a); a.$readOnly0 = 0; a.$start2 = 0; a.$array2 = null; } function jn_IntBufferOverArray_getElement($this, $index) { return $this.$array2.data[$index + $this.$start2 | 0]; } function jn_IntBufferOverArray_putElement($this, $index, $value) { $this.$array2.data[$index + $this.$start2 | 0] = $value; } function jn_IntBufferOverArray_readOnly($this) { return $this.$readOnly0; } function jl_CloneNotSupportedException() { jl_Exception.call(this); } function jn_FloatBufferImpl() { jn_FloatBuffer.call(this); } function jn_FloatBufferImpl__init_0(var_0, var_1, var_2) { var var_3 = new jn_FloatBufferImpl(); jn_FloatBufferImpl__init_(var_3, var_0, var_1, var_2); return var_3; } function jn_FloatBufferImpl__init_($this, $capacity, $position, $limit) { jn_Buffer__init_0($this, $capacity); $this.$position = $position; $this.$limit = $limit; } function jn_FloatBufferImpl_get($this) { var var$1, var$2; if ($this.$position < $this.$limit) { var$1 = $this.$position; $this.$position = var$1 + 1 | 0; return $this.$getElement(var$1); } var$2 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } function jn_FloatBufferImpl_put($this, $b) { var var$2, var$3; if ($this.$readOnly1()) { var$2 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } if ($this.$position < $this.$limit) { var$3 = $this.$position; $this.$position = var$3 + 1 | 0; $this.$putElement0(var$3, $b); return $this; } var$2 = new jn_BufferOverflowException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } function jn_FloatBufferImpl_isReadOnly($this) { return $this.$readOnly1(); } function jn_FloatBufferOverArray() { var a = this; jn_FloatBufferImpl.call(a); a.$readOnly = 0; a.$start1 = 0; a.$array1 = null; } function jn_FloatBufferOverArray_getElement($this, $index) { return $this.$array1.data[$index + $this.$start1 | 0]; } function jn_FloatBufferOverArray_putElement($this, $index, $value) { $this.$array1.data[$index + $this.$start1 | 0] = $value; } function jn_FloatBufferOverArray_readOnly($this) { return $this.$readOnly; } function cmmlt_StoneBlock() { cmmlt_Block.call(this); } function cmmlt_StoneBlock__init_(var_0, var_1) { var var_2 = new cmmlt_StoneBlock(); cmmlt_StoneBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_StoneBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, $var1, $var2); } function cmmlt_StoneBlock_getDrop($this) { cmmlt_Block_$callClinit(); return cmmlt_Block_COBBLESTONE.$id; } function cmmlt_Tile$SoundType() { var a = this; jl_Enum.call(a); a.$name3 = null; a.$volume = 0.0; a.$pitch0 = 0.0; } var cmmlt_Tile$SoundType_none = null; var cmmlt_Tile$SoundType_grass = null; var cmmlt_Tile$SoundType_cloth = null; var cmmlt_Tile$SoundType_gravel = null; var cmmlt_Tile$SoundType_stone = null; var cmmlt_Tile$SoundType_metal = null; var cmmlt_Tile$SoundType_wood = null; var cmmlt_Tile$SoundType_values = null; var cmmlt_Tile$SoundType_$VALUES = null; function cmmlt_Tile$SoundType__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new cmmlt_Tile$SoundType(); cmmlt_Tile$SoundType__init_0(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function cmmlt_Tile$SoundType__init_0($this, var$1, var$2, $var1, $var2, $var3, $var4, $var5) { jl_Enum__init_0($this, var$1, var$2); $this.$name3 = $var3; $this.$volume = $var4; $this.$pitch0 = $var5; } function cmmlt_Tile$SoundType__clinit_() { var var$1, var$2; cmmlt_Tile$SoundType_none = cmmlt_Tile$SoundType__init_($rt_s(276), 0, $rt_s(276), 0, $rt_s(274), 0.0, 0.0); cmmlt_Tile$SoundType_grass = cmmlt_Tile$SoundType__init_($rt_s(277), 1, $rt_s(277), 1, $rt_s(277), 0.6000000238418579, 1.0); cmmlt_Tile$SoundType_cloth = cmmlt_Tile$SoundType__init_($rt_s(278), 2, $rt_s(278), 2, $rt_s(277), 0.699999988079071, 1.2000000476837158); cmmlt_Tile$SoundType_gravel = cmmlt_Tile$SoundType__init_($rt_s(279), 3, $rt_s(279), 3, $rt_s(279), 1.0, 1.0); cmmlt_Tile$SoundType_stone = cmmlt_Tile$SoundType__init_($rt_s(280), 4, $rt_s(280), 4, $rt_s(280), 1.0, 1.0); cmmlt_Tile$SoundType_metal = cmmlt_Tile$SoundType__init_($rt_s(281), 5, $rt_s(281), 5, $rt_s(280), 1.0, 2.0); cmmlt_Tile$SoundType_wood = cmmlt_Tile$SoundType__init_($rt_s(282), 6, $rt_s(282), 6, $rt_s(282), 1.0, 1.0); var$1 = $rt_createArray(cmmlt_Tile$SoundType, 7); var$2 = var$1.data; var$2[0] = cmmlt_Tile$SoundType_none; var$2[1] = cmmlt_Tile$SoundType_grass; var$2[2] = cmmlt_Tile$SoundType_cloth; var$2[3] = cmmlt_Tile$SoundType_gravel; var$2[4] = cmmlt_Tile$SoundType_stone; var$2[5] = cmmlt_Tile$SoundType_metal; var$2[6] = cmmlt_Tile$SoundType_wood; cmmlt_Tile$SoundType_$VALUES = var$1; var$1 = $rt_createArray(cmmlt_Tile$SoundType, 7); var$2 = var$1.data; var$2[0] = cmmlt_Tile$SoundType_none; var$2[1] = cmmlt_Tile$SoundType_grass; var$2[2] = cmmlt_Tile$SoundType_cloth; var$2[3] = cmmlt_Tile$SoundType_gravel; var$2[4] = cmmlt_Tile$SoundType_stone; var$2[5] = cmmlt_Tile$SoundType_metal; var$2[6] = cmmlt_Tile$SoundType_wood; cmmlt_Tile$SoundType_values = var$1; } function cmmlt_GrassBlock() { cmmlt_Block.call(this); } function cmmlt_GrassBlock__init_(var_0) { var var_1 = new cmmlt_GrassBlock(); cmmlt_GrassBlock__init_0(var_1, var_0); return var_1; } function cmmlt_GrassBlock__init_0($this, $var1) { cmmlt_Block__init_0($this, 2); $this.$textureId = 3; cmmlt_Block_setPhysics($this, 1); } function cmmlt_GrassBlock_getTextureId($this, $texture) { return $texture == 1 ? 0 : $texture ? 3 : 2; } function cmmlt_GrassBlock_update($this, $level, $x, $y, $z, $rand) { var $var9, $var6, $var7, $var8, var$10; a: { if (!ju_Random_nextInt($rand, 4)) { if (!cmml_Level_isLit($level, $x, $y, $z)) { cmmlt_Block_$callClinit(); cmml_Level_setTile($level, $x, $y, $z, cmmlt_Block_DIRT.$id); } else { $var9 = 0; while (true) { if ($var9 >= 4) break a; $var6 = ($x + ju_Random_nextInt($rand, 3) | 0) - 1 | 0; $var7 = ($y + ju_Random_nextInt($rand, 5) | 0) - 3 | 0; $var8 = ($z + ju_Random_nextInt($rand, 3) | 0) - 1 | 0; var$10 = cmml_Level_getTile($level, $var6, $var7, $var8); cmmlt_Block_$callClinit(); if (var$10 == cmmlt_Block_DIRT.$id && cmml_Level_isLit($level, $var6, $var7, $var8)) cmml_Level_setTile($level, $var6, $var7, $var8, cmmlt_Block_GRASS.$id); $var9 = $var9 + 1 | 0; } } } } } function cmmlt_GrassBlock_getDrop($this) { cmmlt_Block_$callClinit(); return cmmlt_Block_DIRT.$getDrop(); } function cmmlt_DirtBlock() { cmmlt_Block.call(this); } function cmmlt_DirtBlock__init_(var_0, var_1) { var var_2 = new cmmlt_DirtBlock(); cmmlt_DirtBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_DirtBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, 3, 2); } function cmmlt_FlowerBlock() { cmmlt_Block.call(this); } function cmmlt_FlowerBlock__init_(var_0, var_1) { var var_2 = new cmmlt_FlowerBlock(); cmmlt_FlowerBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_FlowerBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_0($this, $var1); $this.$textureId = $var2; cmmlt_Block_setPhysics($this, 1); cmmlt_Block_setBounds($this, 0.30000001192092896, 0.0, 0.30000001192092896, 0.699999988079071, 0.6000000238418579, 0.699999988079071); } function cmmlt_FlowerBlock_update($this, $level, $x, $y, $z, $rand) { var $var6; a: { if (!$level.$growTrees) { $var6 = cmml_Level_getTile($level, $x, $y - 1 | 0, $z); if (cmml_Level_isLit($level, $x, $y, $z)) { cmmlt_Block_$callClinit(); if ($var6 == cmmlt_Block_DIRT.$id) break a; if ($var6 == cmmlt_Block_GRASS.$id) break a; } cmml_Level_setTile($level, $x, $y, $z, 0); } } } function cmmlt_FlowerBlock_render($this, $var1, $var2, $var3, $var4) { var $var6, $var5, $var9, $var16, $var17, $var7, $var18, $var8, var$13, $var13, var$15, $var10, $var11, $var14; $var6 = $this.$textureId; $var5 = ($var6 % 16 | 0) << 4; $var6 = ($var6 / 16 | 0) << 4; $var9 = $var5; $var16 = $var9 / 256.0; $var17 = ($var9 + 15.989999771118164) / 256.0; $var9 = $var6; $var7 = $var9 / 256.0; $var18 = ($var9 + 15.989999771118164) / 256.0; $var8 = 0; var$13 = $var2 + 0.5; $var13 = $var3 + 1.0; var$15 = $var4 + 0.5; while ($var8 < 2) { $var2 = $var8 * 3.1415927410125732 / 2.0 + 0.7853981852531433; $var9 = nPm_MathHelper_sin($var2) * 0.5; $var10 = nPm_MathHelper_cos($var2) * 0.5; $var11 = var$13 - $var9; $var2 = $var9 + var$13; $var14 = var$15 - $var10; $var4 = $var10 + var$15; cmmr_ShapeRenderer_vertexUV($var1, $var11, $var13, $var14, $var17, $var7); cmmr_ShapeRenderer_vertexUV($var1, $var2, $var13, $var4, $var16, $var7); cmmr_ShapeRenderer_vertexUV($var1, $var2, $var3, $var4, $var16, $var18); cmmr_ShapeRenderer_vertexUV($var1, $var11, $var3, $var14, $var17, $var18); cmmr_ShapeRenderer_vertexUV($var1, $var2, $var13, $var4, $var17, $var7); cmmr_ShapeRenderer_vertexUV($var1, $var11, $var13, $var14, $var16, $var7); cmmr_ShapeRenderer_vertexUV($var1, $var11, $var3, $var14, $var16, $var18); cmmr_ShapeRenderer_vertexUV($var1, $var2, $var3, $var4, $var17, $var18); $var8 = $var8 + 1 | 0; } } function cmmlt_FlowerBlock_isOpaque($this) { return 0; } function cmmlt_FlowerBlock_isSolid($this) { return 0; } function cmmlt_FlowerBlock_renderPreview($this, $var1) { cmmr_ShapeRenderer_normal($var1, 0.0, 1.0, 0.0); cmmr_ShapeRenderer_begin($var1); cmmlt_FlowerBlock_render($this, $var1, 0.0, 0.4000000059604645, (-0.30000001192092896)); cmmr_ShapeRenderer_end($var1); } function cmmlt_FlowerBlock_isCube($this) { return 0; } function cmmlt_FlowerBlock_render0($this, $var1, $var2, $var3, $var4, $var5) { var $var6; $var6 = cmml_Level_getBrightness($var1, $var2, $var3, $var4); cmmr_ShapeRenderer_color($var5, $var6, $var6, $var6); cmmlt_FlowerBlock_render($this, $var5, $var2, $var3, $var4); return 1; } function cmmlt_FlowerBlock_renderFullbright($this, $shapeRenderer) { cmmr_ShapeRenderer_color($shapeRenderer, 1.0, 1.0, 1.0); cmmlt_FlowerBlock_render($this, $shapeRenderer, (-2.0), 0.0, 0.0); } function cmmlt_FlowerBlock_getCollisionBox($this, $x, $y, $z) { return null; } function cmmlt_SaplingBlock() { cmmlt_FlowerBlock.call(this); } function cmmlt_SaplingBlock__init_(var_0, var_1) { var var_2 = new cmmlt_SaplingBlock(); cmmlt_SaplingBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_SaplingBlock__init_0($this, $var1, $var2) { cmmlt_FlowerBlock__init_0($this, 6, 15); cmmlt_Block_setBounds($this, 0.09999999403953552, 0.0, 0.09999999403953552, 0.8999999761581421, 0.800000011920929, 0.8999999761581421); } function cmmlt_SaplingBlock_update($this, $level, $x, $y, $z, $rand) { var $var6; a: { b: { $var6 = cmml_Level_getTile($level, $x, $y - 1 | 0, $z); if (cmml_Level_isLit($level, $x, $y, $z)) { cmmlt_Block_$callClinit(); if ($var6 == cmmlt_Block_DIRT.$id) break b; if ($var6 == cmmlt_Block_GRASS.$id) break b; } cmml_Level_setTile($level, $x, $y, $z, 0); break a; } if (!ju_Random_nextInt($rand, 5)) { cmml_Level_setTileNoUpdate($level, $x, $y, $z, 0); if (!cmml_Level_maybeGrowTree($level, $x, $y, $z)) cmml_Level_setTileNoUpdate($level, $x, $y, $z, $this.$id); } } } function cmmlt_LiquidBlock() { var a = this; cmmlt_Block.call(a); a.$type = null; a.$stillId = 0; a.$movingId = 0; } function cmmlt_LiquidBlock__init_(var_0, var_1) { var var_2 = new cmmlt_LiquidBlock(); cmmlt_LiquidBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_LiquidBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_0($this, $var1); $this.$type = $var2; $this.$textureId = 14; if ($var2 === cmmll_LiquidType_LAVA) $this.$textureId = 30; cmmlt_Block_liquid.data[$var1] = 1; $this.$movingId = $var1; $this.$stillId = $var1 + 1 | 0; cmmlt_Block_setBounds($this, 0.009999999776482582, (-0.09000000357627869), 0.009999999776482582, 1.0099999904632568, 0.9099999666213989, 1.0099999904632568); cmmlt_Block_setPhysics($this, 1); if ($var2 === cmmll_LiquidType_LAVA) cmmlt_Block_setTickDelay($this, 16); } function cmmlt_LiquidBlock_isCube($this) { return 0; } function cmmlt_LiquidBlock_onPlace($this, $level, $x, $y, $z) { cmml_Level_addToTickNextTick($level, $x, $y, $z, $this.$movingId); } function cmmlt_LiquidBlock_update($this, $level, $x, $y, $z, $rand) { var $var8, var$7; $var8 = 0; a: { while (true) { $y = $y + (-1) | 0; if (cmml_Level_getTile($level, $x, $y, $z)) break; if (!cmmlt_LiquidBlock_canFlow($this, $level, $x, $y, $z)) break a; var$7 = cmml_Level_setTile($level, $x, $y, $z, $this.$movingId); if (var$7) $var8 = 1; if (!var$7) break a; if ($this.$type === cmmll_LiquidType_LAVA) break a; } } $y = $y + 1 | 0; if (!($this.$type !== cmmll_LiquidType_WATER && $var8)) $var8 = $var8 | cmmlt_LiquidBlock_flow($this, $level, $x - 1 | 0, $y, $z) | cmmlt_LiquidBlock_flow($this, $level, $x + 1 | 0, $y, $z) | cmmlt_LiquidBlock_flow($this, $level, $x, $y, $z - 1 | 0) | cmmlt_LiquidBlock_flow($this, $level, $x, $y, $z + 1 | 0); if ($var8) cmml_Level_addToTickNextTick($level, $x, $y, $z, $this.$movingId); else cmml_Level_setTileNoUpdate($level, $x, $y, $z, $this.$stillId); } function cmmlt_LiquidBlock_canFlow($this, $var1, $var2, $var3, $var4) { var $var7, var$6, var$7, var$8, var$9, $var5, $var6; a: { if ($this.$type === cmmll_LiquidType_WATER) { $var7 = $var2 - 2 | 0; var$6 = $var2 + 2 | 0; var$7 = $var3 - 2 | 0; var$8 = $var3 + 2 | 0; var$9 = $var4 - 2 | 0; $var4 = $var4 + 2 | 0; while (true) { if ($var7 > var$6) break a; $var5 = var$7; while ($var5 <= var$8) { $var6 = var$9; while ($var6 <= $var4) { $var3 = cmml_Level_getTile($var1, $var7, $var5, $var6); cmmlt_Block_$callClinit(); if ($var3 == cmmlt_Block_SPONGE.$id) return 0; $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var7 = $var7 + 1 | 0; } } } return 1; } function cmmlt_LiquidBlock_flow($this, $var1, $var2, $var3, $var4) { if (!cmml_Level_getTile($var1, $var2, $var3, $var4)) { if (!cmmlt_LiquidBlock_canFlow($this, $var1, $var2, $var3, $var4)) return 0; if (cmml_Level_setTile($var1, $var2, $var3, $var4, $this.$movingId)) cmml_Level_addToTickNextTick($var1, $var2, $var3, $var4, $this.$movingId); } return 0; } function cmmlt_LiquidBlock_getBrightness($this, $level, $x, $y, $z) { return $this.$type !== cmmll_LiquidType_LAVA ? cmml_Level_getBrightness($level, $x, $y, $z) : 100.0; } function cmmlt_LiquidBlock_canRenderSide($this, $level, $x, $y, $z, $side) { var var$6; a: { if ($x >= 0 && $y >= 0 && $z >= 0 && $x < $level.$width0 && $z < $level.$height0) { var$6 = cmml_Level_getTile($level, $x, $y, $z); if (var$6 != $this.$movingId && var$6 != $this.$stillId) { b: { if ($side == 1) { if (!cmml_Level_getTile($level, $x - 1 | 0, $y, $z)) break b; if (!cmml_Level_getTile($level, $x + 1 | 0, $y, $z)) break b; if (!cmml_Level_getTile($level, $x, $y, $z - 1 | 0)) break b; if (!cmml_Level_getTile($level, $x, $y, $z + 1 | 0)) break b; } $x = cmmlt_Block_canRenderSide($this, $level, $x, $y, $z, $side); break a; } $x = 1; } else $x = 0; } else $x = 0; } return $x; } function cmmlt_LiquidBlock_renderInside($this, $shapeRenderer, $x, $y, $z, $side) { var var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16; cmmlt_Block_renderInside($this, $shapeRenderer, $x, $y, $z, $side); var$6 = $this.$textureId; var$7 = (var$6 % 16 | 0) / 16.0; var$8 = var$7 + 0.062437500804662704; var$9 = (var$6 / 16 | 0) / 16.0; var$10 = var$9 + 0.062437500804662704; var$11 = $x; var$12 = var$11 + $this.$x1; var$13 = var$11 + $this.$x2; var$11 = $y; var$14 = var$11 + $this.$y1; var$11 = var$11 + $this.$y2; var$15 = $z; var$16 = var$15 + $this.$z1; var$15 = var$15 + $this.$z2; if (!$side) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$14, var$15, var$8, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$14, var$16, var$8, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$14, var$16, var$7, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$14, var$15, var$7, var$10); } if ($side == 1) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$11, var$15, var$7, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$11, var$16, var$7, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$11, var$16, var$8, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$11, var$15, var$8, var$10); } if ($side == 2) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$14, var$16, var$8, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$14, var$16, var$7, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$11, var$16, var$7, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$11, var$16, var$8, var$9); } if ($side == 3) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$11, var$15, var$8, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$14, var$15, var$8, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$14, var$15, var$7, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$11, var$15, var$7, var$9); } if ($side == 4) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$14, var$15, var$8, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$14, var$16, var$7, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$11, var$16, var$7, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$12, var$11, var$15, var$8, var$9); } if ($side == 5) { cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$11, var$15, var$7, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$11, var$16, var$8, var$9); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$14, var$16, var$8, var$10); cmmr_ShapeRenderer_vertexUV($shapeRenderer, var$13, var$14, var$15, var$7, var$10); } } function cmmlt_LiquidBlock_isOpaque($this) { return 1; } function cmmlt_LiquidBlock_isSolid($this) { return 0; } function cmmlt_LiquidBlock_getLiquidType($this) { return $this.$type; } function cmmlt_LiquidBlock_onNeighborChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6; a: { if ($var5) { cmmlt_Block_$callClinit(); $var6 = cmmlt_Block_blocks.data[$var5].$getLiquidType(); if ($this.$type === cmmll_LiquidType_WATER && $var6 === cmmll_LiquidType_LAVA) break a; if ($var6 === cmmll_LiquidType_WATER && $this.$type === cmmll_LiquidType_LAVA) break a; } cmml_Level_addToTickNextTick($var1, $var2, $var3, $var4, $var5); return; } cmml_Level_setTile($var1, $var2, $var3, $var4, cmmlt_Block_STONE.$id); } function cmmlt_LiquidBlock_getTickDelay($this) { return $this.$type !== cmmll_LiquidType_LAVA ? 0 : 5; } function cmmlt_LiquidBlock_dropItems($this, $var1, $var2, $var3, $var4, $var5) { return; } function cmmlt_LiquidBlock_onBreak($this, $var1, $var2, $var3, $var4) { return; } function cmmlt_LiquidBlock_getDropCount($this) { return 0; } function cmmlt_LiquidBlock_getRenderPass($this) { return $this.$type !== cmmll_LiquidType_WATER ? 0 : 1; } function cmmlt_LiquidBlock_getCollisionBox($this, $x, $y, $z) { return null; } function cmmll_LiquidType() { jl_Object.call(this); this.$values0 = null; } var cmmll_LiquidType_NOT_LIQUID = null; var cmmll_LiquidType_WATER = null; var cmmll_LiquidType_LAVA = null; function cmmll_LiquidType__init_(var_0) { var var_1 = new cmmll_LiquidType(); cmmll_LiquidType__init_0(var_1, var_0); return var_1; } function cmmll_LiquidType__init_0($this, $type) { $this.$values0 = $rt_createArray(cmmll_LiquidType, 4); $this.$values0.data[$type] = $this; } function cmmll_LiquidType__clinit_() { cmmll_LiquidType_NOT_LIQUID = cmmll_LiquidType__init_(0); cmmll_LiquidType_WATER = cmmll_LiquidType__init_(1); cmmll_LiquidType_LAVA = cmmll_LiquidType__init_(2); } function cmmlt_StillLiquidBlock() { cmmlt_LiquidBlock.call(this); } function cmmlt_StillLiquidBlock__init_(var_0, var_1) { var var_2 = new cmmlt_StillLiquidBlock(); cmmlt_StillLiquidBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_StillLiquidBlock__init_0($this, $var1, $var2) { cmmlt_LiquidBlock__init_0($this, $var1, $var2); $this.$movingId = $var1 - 1 | 0; $this.$stillId = $var1; cmmlt_Block_setPhysics($this, 0); } function cmmlt_StillLiquidBlock_update($this, $level, $x, $y, $z, $rand) { return; } function cmmlt_StillLiquidBlock_onNeighborChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7; $var6 = 0; if (!cmml_Level_getTile($var1, $var2 - 1 | 0, $var3, $var4)) $var6 = 1; if (!cmml_Level_getTile($var1, $var2 + 1 | 0, $var3, $var4)) $var6 = 1; if (!cmml_Level_getTile($var1, $var2, $var3, $var4 - 1 | 0)) $var6 = 1; if (!cmml_Level_getTile($var1, $var2, $var3, $var4 + 1 | 0)) $var6 = 1; if (!cmml_Level_getTile($var1, $var2, $var3 - 1 | 0, $var4)) $var6 = 1; a: { if ($var5) { cmmlt_Block_$callClinit(); $var7 = cmmlt_Block_blocks.data[$var5].$getLiquidType(); if (!($this.$type === cmmll_LiquidType_WATER && $var7 === cmmll_LiquidType_LAVA)) { if ($var7 !== cmmll_LiquidType_WATER) break a; if ($this.$type !== cmmll_LiquidType_LAVA) break a; } cmml_Level_setTile($var1, $var2, $var3, $var4, cmmlt_Block_STONE.$id); return; } } if ($var6) { cmml_Level_setTileNoUpdate($var1, $var2, $var3, $var4, $this.$movingId); cmml_Level_addToTickNextTick($var1, $var2, $var3, $var4, $this.$movingId); } } function cmmlt_SandBlock() { cmmlt_Block.call(this); } function cmmlt_SandBlock__init_(var_0, var_1) { var var_2 = new cmmlt_SandBlock(); cmmlt_SandBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_SandBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, $var1, $var2); } function cmmlt_SandBlock_onPlace($this, $level, $x, $y, $z) { cmmlt_SandBlock_fall($this, $level, $x, $y, $z); } function cmmlt_SandBlock_onNeighborChange($this, $var1, $var2, $var3, $var4, $var5) { cmmlt_SandBlock_fall($this, $var1, $var2, $var3, $var4); } function cmmlt_SandBlock_fall($this, $var1, $var2, $var3, $var4) { var var$5, $var8, var$7; var$5 = $var3; while (true) { $var8 = cmml_Level_getTile($var1, $var2, var$5 - 1 | 0, $var4); if ($var8) { cmmlt_Block_$callClinit(); var$7 = cmmlt_Block_blocks.data[$var8].$getLiquidType(); if (var$7 !== cmmll_LiquidType_WATER && var$7 !== cmmll_LiquidType_LAVA) break; } if (var$5 <= 0) break; var$5 = var$5 + (-1) | 0; } if (var$5 != $var3) { $var8 = cmml_Level_getTile($var1, $var2, var$5, $var4); if ($var8 > 0) { cmmlt_Block_$callClinit(); if (cmmlt_Block_blocks.data[$var8].$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) cmml_Level_setTileNoUpdate($var1, $var2, var$5, $var4, 0); } cmml_Level_swap($var1, $var2, $var3, $var4, $var2, var$5, $var4); } } function cmmlt_OreBlock() { cmmlt_Block.call(this); } function cmmlt_OreBlock__init_(var_0, var_1) { var var_2 = new cmmlt_OreBlock(); cmmlt_OreBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_OreBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, $var1, $var2); } function cmmlt_OreBlock_getDrop($this) { cmmlt_Block_$callClinit(); return $this === cmmlt_Block_COAL_ORE ? cmmlt_Block_SLAB.$id : $this === cmmlt_Block_GOLD_ORE ? cmmlt_Block_GOLD_BLOCK.$id : $this !== cmmlt_Block_IRON_ORE ? $this.$id : cmmlt_Block_IRON_BLOCK.$id; } function cmmlt_OreBlock_getDropCount($this) { cmmlt_Block_$callClinit(); return ju_Random_nextInt(cmmlt_Block_random, 3) + 1 | 0; } function cmmlt_WoodBlock() { cmmlt_Block.call(this); } function cmmlt_WoodBlock__init_(var_0) { var var_1 = new cmmlt_WoodBlock(); cmmlt_WoodBlock__init_0(var_1, var_0); return var_1; } function cmmlt_WoodBlock__init_0($this, $var1) { cmmlt_Block__init_0($this, 17); $this.$textureId = 20; } function cmmlt_WoodBlock_getDropCount($this) { cmmlt_Block_$callClinit(); return ju_Random_nextInt(cmmlt_Block_random, 3) + 3 | 0; } function cmmlt_WoodBlock_getDrop($this) { cmmlt_Block_$callClinit(); return cmmlt_Block_WOOD.$id; } function cmmlt_WoodBlock_getTextureId($this, $texture) { return $texture == 1 ? 21 : $texture ? 20 : 21; } function cmmlt_LeavesBaseBlock() { cmmlt_Block.call(this); this.$showNeighborSides = 0; } function cmmlt_LeavesBaseBlock_isSolid($this) { return 0; } function cmmlt_LeavesBaseBlock_canRenderSide($this, $level, $x, $y, $z, $side) { var $var6; $var6 = cmml_Level_getTile($level, $x, $y, $z); return !$this.$showNeighborSides && $var6 == $this.$id ? 0 : cmmlt_Block_canRenderSide($this, $level, $x, $y, $z, $side); } function cmmlt_LeavesBaseBlock_isOpaque($this) { return 0; } function cmmlt_LeavesBlock() { cmmlt_LeavesBaseBlock.call(this); } function cmmlt_LeavesBlock__init_(var_0, var_1) { var var_2 = new cmmlt_LeavesBlock(); cmmlt_LeavesBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_LeavesBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, 18, 22); $this.$showNeighborSides = 1; } function cmmlt_LeavesBlock_getDropCount($this) { cmmlt_Block_$callClinit(); return ju_Random_nextInt(cmmlt_Block_random, 10) ? 0 : 1; } function cmmlt_LeavesBlock_getDrop($this) { cmmlt_Block_$callClinit(); return cmmlt_Block_SAPLING.$id; } function cmmlt_SpongeBlock() { cmmlt_Block.call(this); } function cmmlt_SpongeBlock__init_(var_0) { var var_1 = new cmmlt_SpongeBlock(); cmmlt_SpongeBlock__init_0(var_1, var_0); return var_1; } function cmmlt_SpongeBlock__init_0($this, $var1) { cmmlt_Block__init_0($this, 19); $this.$textureId = 48; } function cmmlt_SpongeBlock_onAdded($this, $level, $x, $y, $z) { var $var7, var$6, var$7, var$8, $var5, $var6; $var7 = $x - 2 | 0; var$6 = $x + 2 | 0; var$7 = $y - 2 | 0; $y = $y + 2 | 0; var$8 = $z - 2 | 0; $z = $z + 2 | 0; while ($var7 <= var$6) { $var5 = var$7; while ($var5 <= $y) { $var6 = var$8; while ($var6 <= $z) { if (cmml_Level_isWater($level, $var7, $var5, $var6)) cmml_Level_setTileNoNeighborChange($level, $var7, $var5, $var6, 0); $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var7 = $var7 + 1 | 0; } } function cmmlt_SpongeBlock_onRemoved($this, $var1, $var2, $var3, $var4) { var $var7, var$6, var$7, var$8, var$9, $var5, $var6; $var7 = $var2 - 2 | 0; var$6 = $var2 + 2 | 0; var$7 = $var3 - 2 | 0; var$8 = $var3 + 2 | 0; var$9 = $var4 - 2 | 0; $var2 = $var4 + 2 | 0; while ($var7 <= var$6) { $var5 = var$7; while ($var5 <= var$8) { $var6 = var$9; while ($var6 <= $var2) { cmml_Level_updateNeighborsAt($var1, $var7, $var5, $var6, cmml_Level_getTile($var1, $var7, $var5, $var6)); $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var7 = $var7 + 1 | 0; } } function cmmlt_GlassBlock() { cmmlt_Block.call(this); this.$showNeighborSides0 = 0; } function cmmlt_GlassBlock__init_(var_0, var_1, var_2) { var var_3 = new cmmlt_GlassBlock(); cmmlt_GlassBlock__init_0(var_3, var_0, var_1, var_2); return var_3; } function cmmlt_GlassBlock__init_0($this, $var1, $var2, $var3) { cmmlt_Block__init_2($this, 20, 49); $this.$showNeighborSides0 = 0; } function cmmlt_GlassBlock_isSolid($this) { return 0; } function cmmlt_GlassBlock_canRenderSide($this, $level, $x, $y, $z, $side) { var $var6; $var6 = cmml_Level_getTile($level, $x, $y, $z); return !$this.$showNeighborSides0 && $var6 == $this.$id ? 0 : cmmlt_Block_canRenderSide($this, $level, $x, $y, $z, $side); } function cmmlt_GlassBlock_isOpaque($this) { return 0; } function cmmlt_MushroomBlock() { cmmlt_FlowerBlock.call(this); } function cmmlt_MushroomBlock__init_(var_0, var_1) { var var_2 = new cmmlt_MushroomBlock(); cmmlt_MushroomBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_MushroomBlock__init_0($this, $var1, $var2) { cmmlt_FlowerBlock__init_0($this, $var1, $var2); cmmlt_Block_setBounds($this, 0.30000001192092896, 0.0, 0.30000001192092896, 0.699999988079071, 0.4000000059604645, 0.699999988079071); } function cmmlt_MushroomBlock_update($this, $level, $x, $y, $z, $rand) { var $var6; a: { $var6 = cmml_Level_getTile($level, $x, $y - 1 | 0, $z); if (!cmml_Level_isLit($level, $x, $y, $z)) { cmmlt_Block_$callClinit(); if ($var6 == cmmlt_Block_STONE.$id) break a; if ($var6 == cmmlt_Block_GRAVEL.$id) break a; if ($var6 == cmmlt_Block_COBBLESTONE.$id) break a; } cmml_Level_setTile($level, $x, $y, $z, 0); } } function cmmlt_MetalBlock() { cmmlt_Block.call(this); } function cmmlt_MetalBlock__init_(var_0, var_1) { var var_2 = new cmmlt_MetalBlock(); cmmlt_MetalBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_MetalBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_0($this, $var1); $this.$textureId = $var2; } function cmmlt_MetalBlock_getTextureId($this, $texture) { return $texture == 1 ? $this.$textureId - 16 | 0 : $texture ? $this.$textureId : $this.$textureId + 16 | 0; } function cmmlt_SlabBlock() { cmmlt_Block.call(this); this.$doubleSlab = 0; } function cmmlt_SlabBlock__init_(var_0, var_1) { var var_2 = new cmmlt_SlabBlock(); cmmlt_SlabBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_SlabBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, $var1, 6); $this.$doubleSlab = $var2; if (!$var2) cmmlt_Block_setBounds($this, 0.0, 0.0, 0.0, 1.0, 0.5, 1.0); } function cmmlt_SlabBlock_getTextureId($this, $texture) { return $texture > 1 ? 5 : 6; } function cmmlt_SlabBlock_isSolid($this) { return $this.$doubleSlab; } function cmmlt_SlabBlock_onNeighborChange($this, $var1, $var2, $var3, $var4, $var5) { cmmlt_Block_$callClinit(); } function cmmlt_SlabBlock_onAdded($this, $level, $x, $y, $z) { var var$5; cmmlt_Block_$callClinit(); var$5 = $y - 1 | 0; if (cmml_Level_getTile($level, $x, var$5, $z) == cmmlt_Block_SLAB.$id) { cmml_Level_setTile($level, $x, $y, $z, 0); cmml_Level_setTile($level, $x, var$5, $z, cmmlt_Block_DOUBLE_SLAB.$id); } } function cmmlt_SlabBlock_getDrop($this) { cmmlt_Block_$callClinit(); return cmmlt_Block_SLAB.$id; } function cmmlt_SlabBlock_isCube($this) { return $this.$doubleSlab; } function cmmlt_SlabBlock_canRenderSide($this, $level, $x, $y, $z, $side) { cmmlt_Block_$callClinit(); if ($this !== cmmlt_Block_SLAB) cmmlt_Block_canRenderSide($this, $level, $x, $y, $z, $side); return $side == 1 ? 1 : !cmmlt_Block_canRenderSide($this, $level, $x, $y, $z, $side) ? 0 : !$side ? 1 : cmml_Level_getTile($level, $x, $y, $z) == $this.$id ? 0 : 1; } function cmmlt_TNTBlock() { cmmlt_Block.call(this); } function cmmlt_TNTBlock__init_(var_0, var_1) { var var_2 = new cmmlt_TNTBlock(); cmmlt_TNTBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_TNTBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, 46, 8); } function cmmlt_TNTBlock_getTextureId($this, $texture) { return !$texture ? $this.$textureId + 2 | 0 : $texture != 1 ? $this.$textureId : $this.$textureId + 1 | 0; } function cmmlt_TNTBlock_getDropCount($this) { return 0; } function cmmlt_TNTBlock_explode($this, $var1, $var2, $var3, $var4) { var var$5; if (!$var1.$creativeMode) { var$5 = cmmi_PrimedTnt__init_($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5); cmmlt_Block_$callClinit(); var$5.$life = ju_Random_nextInt(cmmlt_Block_random, var$5.$life / 4 | 0) + (var$5.$life / 8 | 0) | 0; cmml_Level_addEntity($var1, var$5); } } function cmmlt_TNTBlock_spawnBreakParticles($this, $level, $x, $y, $z, $particleManager) { if ($level.$creativeMode) cmmlt_Block_spawnBreakParticles($this, $level, $x, $y, $z, $particleManager); else cmml_Level_addEntity($level, cmmi_PrimedTnt__init_($level, $x + 0.5, $y + 0.5, $z + 0.5)); } function cmmlt_BookshelfBlock() { cmmlt_Block.call(this); } function cmmlt_BookshelfBlock__init_(var_0, var_1) { var var_2 = new cmmlt_BookshelfBlock(); cmmlt_BookshelfBlock__init_0(var_2, var_0, var_1); return var_2; } function cmmlt_BookshelfBlock__init_0($this, $var1, $var2) { cmmlt_Block__init_2($this, 47, 35); } function cmmlt_BookshelfBlock_getTextureId($this, $texture) { return $texture > 1 ? $this.$textureId : 4; } function cmmlt_BookshelfBlock_getDropCount($this) { return 0; } function ju_Calendar() { var a = this; jl_Object.call(a); a.$areFieldsSet = 0; a.$fields = null; a.$isSet = null; a.$isTimeSet = 0; a.$time0 = Long_ZERO; a.$lastTimeFieldSet = 0; a.$lastDateFieldSet = 0; a.$lenient = 0; a.$firstDayOfWeek = 0; a.$minimalDaysInFirstWeek = 0; a.$zone = null; } var ju_Calendar_fieldNames = null; var ju_Calendar_firstDayOfWeekCache = 0; var ju_Calendar_minimalDaysInFirstWeekCache = 0; var ju_Calendar_cacheFor = null; function ju_Calendar_complete($this) { if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } if (!$this.$areFieldsSet) { ju_GregorianCalendar_computeFields($this); $this.$areFieldsSet = 1; } } function ju_Calendar_get($this, $field) { ju_Calendar_complete($this); return $this.$fields.data[$field]; } function ju_Calendar_getFirstDayOfWeek($this) { return $this.$firstDayOfWeek; } function ju_Calendar_getMinimalDaysInFirstWeek($this) { return $this.$minimalDaysInFirstWeek; } function ju_Calendar_getTimeInMillis($this) { if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } return $this.$time0; } function ju_Calendar_getTimeZone($this) { return $this.$zone; } function ju_Calendar_setTimeZone($this, $timezone) { $this.$zone = $timezone; $this.$areFieldsSet = 0; } function ju_Calendar_isLenient($this) { return $this.$lenient; } function 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; } function ju_Calendar_setLenient($this, $value) { $this.$lenient = $value; } function ju_Calendar_setTimeInMillis($this, $milliseconds) { if (!($this.$isTimeSet && $this.$areFieldsSet && Long_eq($this.$time0, $milliseconds))) { $this.$time0 = $milliseconds; $this.$isTimeSet = 1; $this.$areFieldsSet = 0; ju_Calendar_complete($this); } } function ju_Calendar__clinit_() { var var$1, var$2; var$1 = $rt_createArray(jl_String, 17); var$2 = var$1.data; var$2[0] = $rt_s(283); var$2[1] = $rt_s(284); var$2[2] = $rt_s(285); var$2[3] = $rt_s(286); var$2[4] = $rt_s(287); var$2[5] = $rt_s(288); var$2[6] = $rt_s(289); var$2[7] = $rt_s(290); var$2[8] = $rt_s(291); var$2[9] = $rt_s(292); var$2[10] = $rt_s(293); var$2[11] = $rt_s(294); var$2[12] = $rt_s(295); var$2[13] = $rt_s(296); var$2[14] = $rt_s(297); var$2[15] = $rt_s(298); var$2[16] = $rt_s(299); ju_Calendar_fieldNames = var$1; ju_Calendar_firstDayOfWeekCache = (-1); ju_Calendar_minimalDaysInFirstWeekCache = (-1); } function jl_Readable() { } function jn_CharBuffer() { jn_Buffer.call(this); } function jn_CharBuffer_allocate($capacity) { var var$2; if ($capacity >= 0) return jn_CharBufferOverArray__init_(0, $capacity, $rt_createCharArray($capacity), 0, $capacity, 0); var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(269)), $capacity))); $rt_throw(var$2); } function jn_CharBuffer_wrap0($array, $offset, $length) { return jn_CharBufferOverArray__init_(0, $array.data.length, $array, $offset, $offset + $length | 0, 0); } function jn_CharBuffer_wrap($array) { return jn_CharBuffer_wrap0($array, 0, $array.data.length); } function jn_CharBuffer_get0($this, $dst, $offset, $length) { var var$4, var$5, $pos, var$7, $i, var$9, var$10; 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; jl_Throwable__init_(var$7, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(300)), $pos), $rt_s(260)), var$5))); $rt_throw(var$7); } if (jn_Buffer_remaining($this) < $length) { var$7 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$7); $rt_throw(var$7); } if ($length < 0) { var$7 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$7, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(261)), $length), $rt_s(262)))); $rt_throw(var$7); } $pos = $this.$position; $i = 0; while ($i < $length) { var$9 = $offset + 1 | 0; var$5 = $pos + 1 | 0; var$4[$offset] = jn_CharBufferOverArray_getChar($this, $pos); $i = $i + 1 | 0; $offset = var$9; $pos = var$5; } $this.$position = $this.$position + $length | 0; return $this; } } $dst = $dst.data; var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(263)), $offset), $rt_s(257)), $dst.length), $rt_s(26)))); $rt_throw(var$10); } function jn_CharBuffer_get($this, $dst) { return jn_CharBuffer_get0($this, $dst, 0, $dst.data.length); } function jn_CharBuffer_put($this, $src, $offset, $length) { var var$4, var$5, var$6, $pos, $i, var$9, var$10; if (jn_CharBufferImpl_isReadOnly($this)) { var$4 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if (jn_Buffer_remaining($this) < $length) { var$4 = new jn_BufferOverflowException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if ($offset >= 0) { var$5 = $src.data; var$6 = var$5.length; if ($offset < var$6) { $pos = $offset + $length | 0; if ($pos > var$6) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(301)), $pos), $rt_s(260)), var$6))); $rt_throw(var$4); } if ($length < 0) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(261)), $length), $rt_s(262)))); $rt_throw(var$4); } $pos = $this.$position; $i = 0; while ($i < $length) { var$9 = $pos + 1 | 0; var$6 = $offset + 1 | 0; jn_CharBufferOverArray_putChar($this, $pos, var$5[$offset]); $i = $i + 1 | 0; $pos = var$9; $offset = var$6; } $this.$position = $this.$position + $length | 0; return $this; } } $src = $src.data; var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(263)), $offset), $rt_s(257)), $src.length), $rt_s(26)))); $rt_throw(var$10); } function jn_CharBuffer_put0($this, $src, $start, $end) { var $sz, var$5, $pos, $pos_0, var$8, var$9; if (jn_CharBufferImpl_isReadOnly($this)) { $src = new jn_ReadOnlyBufferException; jl_Throwable__init_0($src); $rt_throw($src); } $sz = $end - $start | 0; if (jn_Buffer_remaining($this) < $sz) { $src = new jn_BufferOverflowException; jl_Throwable__init_0($src); $rt_throw($src); } if ($start >= 0 && $start < jl_String_length($src)) { if ($end > jl_String_length($src)) { var$5 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$5, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(301)), $end), $rt_s(302)), jl_String_length($src)))); $rt_throw(var$5); } if ($start > $end) { $src = new jl_IndexOutOfBoundsException; jl_Throwable__init_($src, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(303)), $start), $rt_s(304)), $end))); $rt_throw($src); } $pos = $this.$position; while ($start < $end) { $pos_0 = $pos + 1 | 0; var$8 = $start + 1 | 0; jn_CharBufferOverArray_putChar($this, $pos, jl_String_charAt($src, $start)); $pos = $pos_0; $start = var$8; } $this.$position = $this.$position + $sz | 0; return $this; } var$9 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$9, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(303)), $start), $rt_s(257)), jl_String_length($src)), $rt_s(26)))); $rt_throw(var$9); } function jn_CharBuffer_put1($this, $src) { return jn_CharBuffer_put0($this, $src, 0, jl_String_length($src)); } function jn_CharBuffer_hasArray($this) { return 1; } function jn_CharBuffer_array($this) { return $this.$array4; } function jn_CharBuffer_flip($this) { jn_Buffer_flip($this); return $this; } function jn_CharBuffer_position($this, $newPosition) { jn_Buffer_position0($this, $newPosition); return $this; } function cjj_GZIPException() { ji_IOException.call(this); } function ju_GregorianCalendar() { var 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; } var ju_GregorianCalendar_daysInMonth = null; var ju_GregorianCalendar_daysInYear = null; var ju_GregorianCalendar_maximums = null; var ju_GregorianCalendar_minimums = null; var ju_GregorianCalendar_leastMaximums = null; function ju_GregorianCalendar__init_0(var_0) { var var_1 = new ju_GregorianCalendar(); ju_GregorianCalendar__init_1(var_1, var_0); return var_1; } function ju_GregorianCalendar__init_2(var_0, var_1) { var var_2 = new ju_GregorianCalendar(); ju_GregorianCalendar__init_(var_2, var_0, var_1); return var_2; } function ju_GregorianCalendar__init_1($this, $zone) { ju_GregorianCalendar__init_($this, $zone, ju_Locale_defaultLocale); } function ju_GregorianCalendar__init_($this, $timezone, $locale) { var var$3, var$4, var$5, var$6; $this.$fields = $rt_createIntArray(17); $this.$isSet = $rt_createBooleanArray(17); $this.$areFieldsSet = 0; $this.$isTimeSet = 0; $this.$lenient = 1; ju_Calendar_setTimeZone($this, $timezone); $this.$fields = $rt_createIntArray(17); $this.$isSet = $rt_createBooleanArray(17); $this.$areFieldsSet = 0; $this.$isTimeSet = 0; $this.$lenient = 1; if ($locale === ju_Calendar_cacheFor && ju_Calendar_firstDayOfWeekCache >= 0) var$3 = ju_Calendar_firstDayOfWeekCache; else { $timezone = otciu_CLDRHelper_resolveCountry($locale.$languageCode, $locale.$countryCode); if (otciu_CLDRHelper_$$metadata$$13 === null) otciu_CLDRHelper_$$metadata$$13 = otciu_CLDRHelper_getFirstDayOfWeek$$create(); var$4 = otciu_CLDRHelper_$$metadata$$13; ju_Calendar_firstDayOfWeekCache = var$4.hasOwnProperty($rt_ustr($timezone)) ? var$4[$rt_ustr($timezone)].value : var$4[$rt_ustr($rt_s(305))].value; var$3 = ju_Calendar_firstDayOfWeekCache; } ju_GregorianCalendar_setFirstDayOfWeek($this, var$3); if ($locale === ju_Calendar_cacheFor && ju_Calendar_minimalDaysInFirstWeekCache >= 0) var$3 = ju_Calendar_minimalDaysInFirstWeekCache; else { $timezone = otciu_CLDRHelper_resolveCountry($locale.$languageCode, $locale.$countryCode); if (otciu_CLDRHelper_$$metadata$$12 === null) otciu_CLDRHelper_$$metadata$$12 = otciu_CLDRHelper_getMinimalDaysInFirstWeek$$create(); var$4 = otciu_CLDRHelper_$$metadata$$12; ju_Calendar_minimalDaysInFirstWeekCache = var$4.hasOwnProperty($rt_ustr($timezone)) ? var$4[$rt_ustr($timezone)].value : var$4[$rt_ustr($rt_s(305))].value; var$3 = ju_Calendar_minimalDaysInFirstWeekCache; } ju_GregorianCalendar_setMinimalDaysInFirstWeek($this, var$3); ju_Calendar_cacheFor = $locale; $this.$gregorianCutover = new Long(4184124416, 4294964450); $this.$changeYear = 1582; $this.$julianSkew = ((($this.$changeYear - 2000 | 0) / 400 | 0) + ju_GregorianCalendar_julianError($this) | 0) - (($this.$changeYear - 2000 | 0) / 100 | 0) | 0; var$5 = $rt_createIntArray(10); var$6 = var$5.data; var$6[0] = 0; var$6[1] = 0; var$6[2] = 0; var$6[3] = 0; var$6[4] = 0; var$6[5] = 0; var$6[6] = 0; var$6[7] = 0; var$6[8] = 0; var$6[9] = 0; $this.$cachedFields = var$5; $this.$currentYearSkew = 10; ju_Calendar_setTimeInMillis($this, jl_System_currentTimeMillis()); } function ju_GregorianCalendar_add($this, $field, $value) { var $multiplier, $offset, $newOffset, $month, $days, var$8; if (!$value) return; if ($field >= 0 && $field < 15) { $this.$isCached = 0; if (!$field) { ju_Calendar_complete($this); 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); } ju_Calendar_complete($this); return; } if ($field != 1 && $field != 2) { a: { $multiplier = Long_ZERO; ju_Calendar_getTimeInMillis($this); 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.$time0 = Long_add($this.$time0, Long_mul(Long_fromInt($value), Long_fromInt(3600000))); break a; case 12: $this.$time0 = Long_add($this.$time0, Long_mul(Long_fromInt($value), Long_fromInt(60000))); break a; case 13: $this.$time0 = Long_add($this.$time0, Long_mul(Long_fromInt($value), Long_fromInt(1000))); break a; case 14: $this.$time0 = Long_add($this.$time0, Long_fromInt($value)); break a; default: } } if (Long_gt($multiplier, Long_ZERO)) { $offset = ju_GregorianCalendar_getTimeZoneOffset($this, $this.$time0); $this.$time0 = Long_add($this.$time0, Long_mul(Long_fromInt($value), $multiplier)); $newOffset = ju_GregorianCalendar_getTimeZoneOffset($this, $this.$time0); if ($newOffset != $offset) $this.$time0 = Long_add($this.$time0, Long_fromInt($offset - $newOffset | 0)); } $this.$areFieldsSet = 0; ju_Calendar_complete($this); return; } ju_Calendar_complete($this); 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); $days = ju_GregorianCalendar_daysInMonth0($this, ju_GregorianCalendar_isLeapYear($this, $this.$fields.data[1]), $this.$fields.data[2]); if ($this.$fields.data[5] > $days) ju_Calendar_set($this, 5, $days); ju_Calendar_complete($this); return; } var$8 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$8); $rt_throw(var$8); } function ju_GregorianCalendar_fullFieldsCalc($this, $timeVal, $millis, $zoneOffset) { var $days, var$5, var$6, $dayOfYear, $month, $leapYear, $date, $dstOffset, var$12, $daysFromStart, $week; $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); $this.$fields.data[6] = $dayOfYear; if ($this.$fields.data[1] == $this.$changeYear && Long_le($this.$gregorianCutover, var$6)) $dayOfYear = $dayOfYear + $this.$currentYearSkew | 0; $month = $dayOfYear / 32 | 0; $leapYear = ju_GregorianCalendar_isLeapYear($this, $this.$fields.data[1]); $date = $dayOfYear - ju_GregorianCalendar_daysInYear0($this, $leapYear, $month) | 0; if ($date > ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month)) { $date = $date - ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month) | 0; $month = $month + 1 | 0; } $this.$fields.data[7] = ju_GregorianCalendar_mod7($this, Long_sub($days, Long_fromInt(3))) + 1 | 0; $dstOffset = ju_GregorianCalendar_getTimeZoneOffset($this, $timeVal); if ($this.$fields.data[1] > 0) $dstOffset = $dstOffset - $zoneOffset | 0; $this.$fields.data[16] = $dstOffset; if (!$dstOffset) var$6 = $days; else { $millis = $millis + $dstOffset | 0; if ($millis < 0) { $millis = $millis + 86400000 | 0; var$6 = Long_sub($days, Long_fromInt(1)); } else if ($millis < 86400000) var$6 = $days; else { $millis = $millis - 86400000 | 0; var$6 = Long_add($days, Long_fromInt(1)); } if (Long_ne($days, var$6)) { $timeVal = Long_add(Long_sub($timeVal, var$5), Long_fromInt($dstOffset)); $zoneOffset = ju_GregorianCalendar_computeYearAndDay($this, var$6, $timeVal); $this.$fields.data[6] = $zoneOffset; if ($this.$fields.data[1] == $this.$changeYear && Long_le($this.$gregorianCutover, $timeVal)) $zoneOffset = $zoneOffset + $this.$currentYearSkew | 0; $month = $zoneOffset / 32 | 0; $leapYear = ju_GregorianCalendar_isLeapYear($this, $this.$fields.data[1]); $date = $zoneOffset - ju_GregorianCalendar_daysInYear0($this, $leapYear, $month) | 0; if ($date > ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month)) { $date = $date - ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month) | 0; $month = $month + 1 | 0; } $this.$fields.data[7] = ju_GregorianCalendar_mod7($this, Long_sub(var$6, Long_fromInt(3))) + 1 | 0; } } $this.$fields.data[14] = $millis % 1000 | 0; $millis = $millis / 1000 | 0; $this.$fields.data[13] = $millis % 60 | 0; $millis = $millis / 60 | 0; $this.$fields.data[12] = $millis % 60 | 0; $this.$fields.data[11] = ($millis / 60 | 0) % 24 | 0; var$12 = $this.$fields; var$12.data[9] = $this.$fields.data[11] <= 11 ? 0 : 1; $this.$fields.data[10] = $this.$fields.data[11] % 12 | 0; if ($this.$fields.data[1] > 0) $this.$fields.data[0] = 1; else { $this.$fields.data[0] = 0; $this.$fields.data[1] = -$this.$fields.data[1] + 1 | 0; } $this.$fields.data[2] = $month; $this.$fields.data[5] = $date; var$12 = $this.$fields.data; $zoneOffset = $date - 1 | 0; var$12[8] = ($zoneOffset / 7 | 0) + 1 | 0; $this.$fields.data[4] = (($zoneOffset + ju_GregorianCalendar_mod7($this, Long_sub(Long_sub(Long_sub(var$6, Long_fromInt($date)), Long_fromInt(2)), Long_fromInt(ju_Calendar_getFirstDayOfWeek($this) - 1 | 0))) | 0) / 7 | 0) + 1 | 0; $daysFromStart = ju_GregorianCalendar_mod7($this, Long_sub(Long_sub(Long_sub(var$6, Long_fromInt(3)), Long_fromInt($this.$fields.data[6] - 1 | 0)), Long_fromInt(ju_Calendar_getFirstDayOfWeek($this) - 1 | 0))); $week = ((($this.$fields.data[6] - 1 | 0) + $daysFromStart | 0) / 7 | 0) + ((7 - $daysFromStart | 0) < ju_Calendar_getMinimalDaysInFirstWeek($this) ? 0 : 1) | 0; if (!$week) { var$12 = $this.$fields; $month = !ju_GregorianCalendar_isLeapYear($this, $this.$fields.data[1] - 1 | 0) ? 1 : 2; var$12.data[3] = (7 - ju_GregorianCalendar_mod7($this, Long_fromInt($daysFromStart - $month | 0)) | 0) < ju_Calendar_getMinimalDaysInFirstWeek($this) ? 52 : 53; } else { $millis = $this.$fields.data[6]; $zoneOffset = !$leapYear ? 366 : 367; $month = !$leapYear ? 1 : 2; if ($millis < ($zoneOffset - ju_GregorianCalendar_mod7($this, Long_fromInt($daysFromStart + $month | 0)) | 0)) $this.$fields.data[3] = $week; else { var$12 = $this.$fields; $month = !$leapYear ? 1 : 2; if ((7 - ju_GregorianCalendar_mod7($this, Long_fromInt($daysFromStart + $month | 0)) | 0) >= ju_Calendar_getMinimalDaysInFirstWeek($this)) $week = 1; var$12.data[3] = $week; } } } function ju_GregorianCalendar_cachedFieldsCheckAndGet($this, $timeVal, $newTimeMillis, $newTimeMillisAdjusted, $millis, $zoneOffset) { var $dstOffset; a: { b: { $dstOffset = $this.$fields.data[16]; if ($this.$isCached && Long_lt($newTimeMillis, $this.$nextMidnightMillis) && Long_gt($newTimeMillis, $this.$lastMidnightMillis) && $this.$cachedFields.data[4] == $zoneOffset && !(!$dstOffset && Long_ge($newTimeMillisAdjusted, $this.$nextMidnightMillis))) { if (!$dstOffset) break b; if (Long_gt($newTimeMillisAdjusted, $this.$lastMidnightMillis)) break b; } ju_GregorianCalendar_fullFieldsCalc($this, $timeVal, $millis, $zoneOffset); $this.$isCached = 0; break a; } $this.$fields.data[1] = $this.$cachedFields.data[0]; $this.$fields.data[2] = $this.$cachedFields.data[1]; $this.$fields.data[5] = $this.$cachedFields.data[2]; $this.$fields.data[7] = $this.$cachedFields.data[3]; $this.$fields.data[0] = $this.$cachedFields.data[5]; $this.$fields.data[3] = $this.$cachedFields.data[6]; $this.$fields.data[4] = $this.$cachedFields.data[7]; $this.$fields.data[6] = $this.$cachedFields.data[8]; $this.$fields.data[8] = $this.$cachedFields.data[9]; } } function ju_GregorianCalendar_getTimeZoneOffset($this, $localTime) { return ju_IANATimeZone_getOffset($this.$zone, $localTime); } function ju_GregorianCalendar_computeFields($this) { var $zoneOffset, $millis, $dstOffset, $offset, $newTime, $i, var$7, var$8; $zoneOffset = ju_GregorianCalendar_getTimeZoneOffset($this, $this.$time0); if (!$this.$isSet.data[15]) $this.$fields.data[15] = $zoneOffset; $millis = Long_rem($this.$time0, Long_fromInt(86400000)).lo; $dstOffset = $this.$fields.data[16]; $offset = $zoneOffset + $dstOffset | 0; $newTime = Long_add($this.$time0, Long_fromInt($offset)); if (Long_gt($this.$time0, Long_ZERO) && Long_lt($newTime, Long_ZERO) && $offset > 0) $newTime = new Long(4294967295, 2147483647); else if (Long_lt($this.$time0, Long_ZERO) && Long_gt($newTime, Long_ZERO) && $offset < 0) $newTime = new Long(0, 2147483648); if (!$this.$isCached) ju_GregorianCalendar_fullFieldsCalc($this, $this.$time0, $millis, $zoneOffset); else { $offset = (($millis >= 0 ? $millis : $millis + 86400000 | 0) + $zoneOffset | 0) + $dstOffset | 0; if ($offset < 0) $offset = $offset + 86400000 | 0; else if ($offset >= 86400000) $offset = $offset - 86400000 | 0; $this.$fields.data[14] = $offset % 1000 | 0; $offset = $offset / 1000 | 0; $this.$fields.data[13] = $offset % 60 | 0; $i = $offset / 60 | 0; $this.$fields.data[12] = $i % 60 | 0; $this.$fields.data[11] = ($i / 60 | 0) % 24 | 0; var$7 = $this.$fields; var$7.data[9] = $this.$fields.data[11] <= 11 ? 0 : 1; $this.$fields.data[10] = $this.$fields.data[11] % 12 | 0; $offset = Long_compare($newTime, Long_ZERO); var$8 = $offset > 0 && $offset < 0 && !$dstOffset ? new Long(4294967295, 2147483647) : $offset >= 0 ? $newTime : $offset <= 0 ? $newTime : $dstOffset ? new Long(0, 2147483648) : $newTime; ju_GregorianCalendar_cachedFieldsCheckAndGet($this, $this.$time0, $newTime, var$8, $millis, $zoneOffset); } $i = 0; while ($i < 17) { $this.$isSet.data[$i] = 1; $i = $i + 1 | 0; } if (!$this.$isCached && Long_ne($newTime, new Long(4294967295, 2147483647)) && Long_ne($newTime, new Long(0, 2147483648))) { $this.$cachedFields.data[0] = $this.$fields.data[1]; $this.$cachedFields.data[1] = $this.$fields.data[2]; $this.$cachedFields.data[2] = $this.$fields.data[5]; $this.$cachedFields.data[3] = $this.$fields.data[7]; $this.$cachedFields.data[4] = $zoneOffset; $this.$cachedFields.data[5] = $this.$fields.data[0]; $this.$cachedFields.data[6] = $this.$fields.data[3]; $this.$cachedFields.data[7] = $this.$fields.data[4]; $this.$cachedFields.data[8] = $this.$fields.data[6]; $this.$cachedFields.data[9] = $this.$fields.data[8]; $this.$nextMidnightMillis = Long_add($newTime, Long_fromInt(((0 + ((((23 - $this.$fields.data[11] | 0) * 60 | 0) * 60 | 0) * 1000 | 0) | 0) + (((59 - $this.$fields.data[12] | 0) * 60 | 0) * 1000 | 0) | 0) + ((59 - $this.$fields.data[13] | 0) * 1000 | 0) | 0)); $this.$lastMidnightMillis = Long_sub($newTime, Long_fromInt((((($this.$fields.data[11] * 60 | 0) * 60 | 0) * 1000 | 0) + (($this.$fields.data[12] * 60 | 0) * 1000 | 0) | 0) + ($this.$fields.data[13] * 1000 | 0) | 0)); $this.$isCached = 1; } } function ju_GregorianCalendar_computeTime($this) { var $hour, $timeVal, $year, $weekMonthSet, $useMonth, $useWeekYear, $days, $dayOfWeek, $skew, $month, $leapYear, $useDate; a: { b: { c: { d: { e: { if (!ju_Calendar_isLenient($this)) { f: { if ($this.$isSet.data[11]) { if ($this.$fields.data[11] >= 0 && $this.$fields.data[11] <= 23) break f; $rt_throw(jl_IllegalArgumentException__init_()); } if ($this.$isSet.data[10]) { if ($this.$fields.data[10] < 0) break a; if ($this.$fields.data[10] > 11) break a; } } if ($this.$isSet.data[12] && !($this.$fields.data[12] >= 0 && $this.$fields.data[12] <= 59)) $rt_throw(jl_IllegalArgumentException__init_()); if ($this.$isSet.data[13]) { if ($this.$fields.data[13] < 0) break b; if ($this.$fields.data[13] > 59) break b; } if ($this.$isSet.data[14]) { if ($this.$fields.data[14] < 0) break c; if ($this.$fields.data[14] > 999) break c; } if ($this.$isSet.data[3] && !($this.$fields.data[3] >= 1 && $this.$fields.data[3] <= 53)) $rt_throw(jl_IllegalArgumentException__init_()); if ($this.$isSet.data[7] && !($this.$fields.data[7] >= 1 && $this.$fields.data[7] <= 7)) $rt_throw(jl_IllegalArgumentException__init_()); if ($this.$isSet.data[8] && !($this.$fields.data[8] >= 1 && $this.$fields.data[8] <= 6)) $rt_throw(jl_IllegalArgumentException__init_()); if ($this.$isSet.data[4]) { if ($this.$fields.data[4] < 1) break d; if ($this.$fields.data[4] > 6) break d; } if ($this.$isSet.data[9] && $this.$fields.data[9] && $this.$fields.data[9] != 1) $rt_throw(jl_IllegalArgumentException__init_()); if ($this.$isSet.data[10] && !($this.$fields.data[10] >= 0 && $this.$fields.data[10] <= 11)) $rt_throw(jl_IllegalArgumentException__init_()); if ($this.$isSet.data[1]) { if ($this.$isSet.data[0] && !$this.$fields.data[0] && !($this.$fields.data[1] >= 1 && $this.$fields.data[1] <= 292269054)) $rt_throw(jl_IllegalArgumentException__init_()); if (!($this.$fields.data[1] >= 1 && $this.$fields.data[1] <= 292278994)) $rt_throw(jl_IllegalArgumentException__init_()); } if ($this.$isSet.data[2]) { if ($this.$fields.data[2] < 0) break e; if ($this.$fields.data[2] > 11) break e; } } $hour = Long_ZERO; if ($this.$isSet.data[11] && $this.$lastTimeFieldSet != 10) $hour = Long_fromInt($this.$fields.data[11]); else if ($this.$isSet.data[10]) $hour = Long_fromInt(($this.$fields.data[9] * 12 | 0) + $this.$fields.data[10] | 0); $timeVal = Long_mul($hour, Long_fromInt(3600000)); if ($this.$isSet.data[12]) $timeVal = Long_add($timeVal, Long_mul(Long_fromInt($this.$fields.data[12]), Long_fromInt(60000))); if ($this.$isSet.data[13]) $timeVal = Long_add($timeVal, Long_mul(Long_fromInt($this.$fields.data[13]), Long_fromInt(1000))); if ($this.$isSet.data[14]) $timeVal = Long_add($timeVal, Long_fromInt($this.$fields.data[14])); $year = !$this.$isSet.data[1] ? 1970 : $this.$fields.data[1]; if ($this.$isSet.data[0]) { if ($this.$fields.data[0] && $this.$fields.data[0] != 1) $rt_throw(jl_IllegalArgumentException__init_()); if (!$this.$fields.data[0]) $year = 1 - $year | 0; } $weekMonthSet = !$this.$isSet.data[4] && !$this.$isSet.data[8] ? 0 : 1; $useMonth = !(!$this.$isSet.data[5] && !$this.$isSet.data[2] && !$weekMonthSet) && $this.$lastDateFieldSet != 6 ? 1 : 0; if ($useMonth && !($this.$lastDateFieldSet != 7 && $this.$lastDateFieldSet != 3)) { if ($this.$isSet.data[3] && $this.$isSet.data[7]) $useMonth = $this.$lastDateFieldSet != 3 && $weekMonthSet && $this.$isSet.data[7] ? 1 : 0; else if ($this.$isSet.data[6]) $useMonth = $this.$isSet.data[5] && $this.$isSet.data[2] ? 1 : 0; } if (!$useMonth) { $useWeekYear = $this.$isSet.data[3] && $this.$lastDateFieldSet != 6 ? 1 : 0; if ($useWeekYear && $this.$isSet.data[6]) $useWeekYear = $this.$isSet.data[7]; $days = ju_GregorianCalendar_daysFromBaseYear($this, $year); if ($useWeekYear) { $dayOfWeek = !$this.$isSet.data[7] ? ju_Calendar_getFirstDayOfWeek($this) - 1 | 0 : $this.$fields.data[7] - 1 | 0; $hour = Long_sub($days, Long_fromInt(3)); $skew = ju_GregorianCalendar_mod7($this, Long_sub($hour, Long_fromInt(ju_Calendar_getFirstDayOfWeek($this) - 1 | 0))); $days = Long_add($days, Long_fromInt(((($this.$fields.data[3] - 1 | 0) * 7 | 0) + ju_GregorianCalendar_mod7($this, Long_sub(Long_fromInt($skew + $dayOfWeek | 0), $hour)) | 0) - $skew | 0)); if ((7 - $skew | 0) < ju_Calendar_getMinimalDaysInFirstWeek($this)) $days = Long_add($days, Long_fromInt(7)); } else if ($this.$isSet.data[6]) { if (!ju_Calendar_isLenient($this) && !($this.$fields.data[6] >= 1 && $this.$fields.data[6] <= (365 + (!ju_GregorianCalendar_isLeapYear($this, $year) ? 0 : 1) | 0))) $rt_throw(jl_IllegalArgumentException__init_()); $days = Long_add($days, Long_fromInt($this.$fields.data[6] - 1 | 0)); } else if ($this.$isSet.data[7]) $days = Long_add($days, Long_fromInt(ju_GregorianCalendar_mod7($this, Long_sub(Long_fromInt($this.$fields.data[7] - 1 | 0), Long_sub($days, Long_fromInt(3)))))); } else { $month = $this.$fields.data[2]; $year = $year + ($month / 12 | 0) | 0; $month = $month % 12 | 0; if ($month < 0) { $year = $year + (-1) | 0; $month = $month + 12 | 0; } $leapYear = ju_GregorianCalendar_isLeapYear($this, $year); $days = Long_add(ju_GregorianCalendar_daysFromBaseYear($this, $year), Long_fromInt(ju_GregorianCalendar_daysInYear0($this, $leapYear, $month))); $useDate = $this.$isSet.data[5]; if ($useDate && !($this.$lastDateFieldSet != 7 && $this.$lastDateFieldSet != 4 && $this.$lastDateFieldSet != 8)) $useDate = $this.$isSet.data[7] && $weekMonthSet ? 0 : 1; if ($useDate) { if (!ju_Calendar_isLenient($this) && !($this.$fields.data[5] >= 1 && $this.$fields.data[5] <= ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month))) $rt_throw(jl_IllegalArgumentException__init_()); $days = Long_add($days, Long_fromInt($this.$fields.data[5] - 1 | 0)); } else { $dayOfWeek = !$this.$isSet.data[7] ? ju_Calendar_getFirstDayOfWeek($this) - 1 | 0 : $this.$fields.data[7] - 1 | 0; if ($this.$isSet.data[4] && $this.$lastDateFieldSet != 8) { $skew = ju_GregorianCalendar_mod7($this, Long_sub(Long_sub($days, Long_fromInt(3)), Long_fromInt(ju_Calendar_getFirstDayOfWeek($this) - 1 | 0))); $days = Long_add($days, Long_fromInt(((($this.$fields.data[4] - 1 | 0) * 7 | 0) + ju_GregorianCalendar_mod7($this, Long_sub(Long_fromInt($skew + $dayOfWeek | 0), Long_sub($days, Long_fromInt(2)))) | 0) - $skew | 0)); } else if ($this.$isSet.data[8]) $days = $this.$fields.data[8] >= 0 ? Long_add($days, Long_fromInt(ju_GregorianCalendar_mod7($this, Long_sub(Long_fromInt($dayOfWeek), Long_sub($days, Long_fromInt(3)))) + (($this.$fields.data[8] - 1 | 0) * 7 | 0) | 0)) : Long_add($days, Long_fromInt((ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month) + ju_GregorianCalendar_mod7($this, Long_sub(Long_fromInt($dayOfWeek), Long_sub(Long_add($days, Long_fromInt(ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month))), Long_fromInt(3)))) | 0) + ($this.$fields.data[8] * 7 | 0) | 0)); else if ($this.$isSet.data[7]) { $hour = Long_sub($days, Long_fromInt(3)); $skew = ju_GregorianCalendar_mod7($this, Long_sub($hour, Long_fromInt(ju_Calendar_getFirstDayOfWeek($this) - 1 | 0))); $days = Long_add($days, Long_fromInt(ju_GregorianCalendar_mod7($this, Long_fromInt(ju_GregorianCalendar_mod7($this, Long_sub(Long_fromInt($skew + $dayOfWeek | 0), $hour)) - $skew | 0)))); } } } $this.$lastDateFieldSet = 0; $hour = Long_add($timeVal, Long_mul($days, Long_fromInt(86400000))); if ($year == $this.$changeYear && Long_ge($hour, Long_add($this.$gregorianCutover, Long_mul(Long_fromInt(ju_GregorianCalendar_julianError($this)), Long_fromInt(86400000))))) $hour = Long_sub($hour, Long_mul(Long_fromInt(ju_GregorianCalendar_julianError($this)), Long_fromInt(86400000))); $this.$time0 = Long_sub($hour, Long_fromInt(ju_GregorianCalendar_getTimeZoneOffset($this, $hour))); return; } $rt_throw(jl_IllegalArgumentException__init_()); } $rt_throw(jl_IllegalArgumentException__init_()); } $rt_throw(jl_IllegalArgumentException__init_()); } $rt_throw(jl_IllegalArgumentException__init_()); } $rt_throw(jl_IllegalArgumentException__init_()); } function ju_GregorianCalendar_computeYearAndDay($this, $dayCount, $localTime) { var $year, var$4, var$5; $year = 1970; $localTime = Long_ge($localTime, $this.$gregorianCutover) ? $dayCount : Long_sub($dayCount, Long_fromInt($this.$julianSkew)); while (true) { var$4 = Long_div($localTime, Long_fromInt(365)).lo; 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; if ($year == $this.$changeYear) var$5 = var$5 - $this.$currentYearSkew | 0; if ($year == ($this.$changeYear - 1 | 0)) var$5 = var$5 - $this.$lastYearSkew | 0; $localTime = Long_add($localTime, Long_fromInt(var$5)); } $this.$fields.data[1] = $year; return $localTime.lo + 1 | 0; } function ju_GregorianCalendar_daysFromBaseYear($this, $iyear) { var $year, $days; $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))); return Long_gt($year, Long_fromInt($this.$changeYear)) ? 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)))) : Long_eq($year, Long_fromInt($this.$changeYear)) ? Long_add($days, Long_fromInt($this.$currentYearSkew)) : Long_ne($year, Long_fromInt($this.$changeYear - 1 | 0)) ? Long_add($days, Long_fromInt($this.$julianSkew)) : Long_add($days, Long_fromInt($this.$lastYearSkew)); } function ju_GregorianCalendar_daysInMonth0($this, $leapYear, $month) { if ($leapYear && $month == 1) return ju_GregorianCalendar_daysInMonth.data[$month] + 1 | 0; return ju_GregorianCalendar_daysInMonth.data[$month]; } function ju_GregorianCalendar_daysInYear0($this, $leapYear, $month) { if ($leapYear && $month > 1) return ju_GregorianCalendar_daysInYear.data[$month] + 1 | 0; return ju_GregorianCalendar_daysInYear.data[$month]; } function 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; } function ju_GregorianCalendar_julianError($this) { return (($this.$changeYear / 100 | 0) - ($this.$changeYear / 400 | 0) | 0) - 2 | 0; } function ju_GregorianCalendar_mod7($this, $num1) { var $rem; $rem = Long_rem($num1, Long_fromInt(7)).lo; if (Long_lt($num1, Long_ZERO) && $rem < 0) return $rem + 7 | 0; return $rem; } function ju_GregorianCalendar_setFirstDayOfWeek($this, $value) { $this.$firstDayOfWeek = $value; $this.$isCached = 0; } function ju_GregorianCalendar_setMinimalDaysInFirstWeek($this, $value) { $this.$minimalDaysInFirstWeek = $value; $this.$isCached = 0; } function ju_GregorianCalendar__clinit_() { var var$1, var$2; var$1 = $rt_createByteArray(12); var$2 = var$1.data; var$2[0] = 31; var$2[1] = 28; var$2[2] = 31; var$2[3] = 30; var$2[4] = 31; var$2[5] = 30; var$2[6] = 31; var$2[7] = 31; var$2[8] = 30; var$2[9] = 31; var$2[10] = 30; var$2[11] = 31; ju_GregorianCalendar_daysInMonth = var$1; var$1 = $rt_createIntArray(12); var$2 = var$1.data; var$2[0] = 0; var$2[1] = 31; var$2[2] = 59; var$2[3] = 90; var$2[4] = 120; var$2[5] = 151; var$2[6] = 181; var$2[7] = 212; var$2[8] = 243; var$2[9] = 273; var$2[10] = 304; var$2[11] = 334; ju_GregorianCalendar_daysInYear = var$1; var$1 = $rt_createIntArray(17); var$2 = var$1.data; var$2[0] = 1; var$2[1] = 292278994; var$2[2] = 11; var$2[3] = 53; var$2[4] = 6; var$2[5] = 31; var$2[6] = 366; var$2[7] = 7; var$2[8] = 6; var$2[9] = 1; var$2[10] = 11; var$2[11] = 23; var$2[12] = 59; var$2[13] = 59; var$2[14] = 999; var$2[15] = 50400000; var$2[16] = 7200000; ju_GregorianCalendar_maximums = var$1; var$1 = $rt_createIntArray(17); var$2 = var$1.data; var$2[0] = 0; var$2[1] = 1; var$2[2] = 0; var$2[3] = 1; var$2[4] = 0; var$2[5] = 1; var$2[6] = 1; var$2[7] = 1; var$2[8] = 1; var$2[9] = 0; var$2[10] = 0; var$2[11] = 0; var$2[12] = 0; var$2[13] = 0; var$2[14] = 0; var$2[15] = (-46800000); var$2[16] = 0; ju_GregorianCalendar_minimums = var$1; var$1 = $rt_createIntArray(17); var$2 = var$1.data; var$2[0] = 1; var$2[1] = 292269054; var$2[2] = 11; var$2[3] = 50; var$2[4] = 3; var$2[5] = 28; var$2[6] = 355; var$2[7] = 7; var$2[8] = 3; var$2[9] = 1; var$2[10] = 11; var$2[11] = 23; var$2[12] = 59; var$2[13] = 59; var$2[14] = 999; var$2[15] = 50400000; var$2[16] = 1200000; ju_GregorianCalendar_leastMaximums = var$1; } function nle_BaseNCodec$CodecPolicy() { jl_Enum.call(this); } var nle_BaseNCodec$CodecPolicy_STRICT = null; var nle_BaseNCodec$CodecPolicy_LENIANT = null; var nle_BaseNCodec$CodecPolicy_$VALUES = null; function nle_BaseNCodec$CodecPolicy__clinit_() { var var$1, var$2, var$3; var$1 = new nle_BaseNCodec$CodecPolicy; jl_Enum__init_0(var$1, $rt_s(306), 0); nle_BaseNCodec$CodecPolicy_STRICT = var$1; var$1 = new nle_BaseNCodec$CodecPolicy; jl_Enum__init_0(var$1, $rt_s(307), 1); nle_BaseNCodec$CodecPolicy_LENIANT = var$1; var$2 = $rt_createArray(nle_BaseNCodec$CodecPolicy, 2); var$3 = var$2.data; var$3[0] = nle_BaseNCodec$CodecPolicy_STRICT; var$3[1] = nle_BaseNCodec$CodecPolicy_LENIANT; nle_BaseNCodec$CodecPolicy_$VALUES = var$2; } function cjj_Checksum() { } function cjj_Adler32() { var a = this; jl_Object.call(a); a.$s1 = Long_ZERO; a.$s2 = Long_ZERO; } function cjj_Adler32__init_() { var var_0 = new cjj_Adler32(); cjj_Adler32__init_0(var_0); return var_0; } function cjj_Adler32__init_0($this) { $this.$s1 = Long_fromInt(1); $this.$s2 = Long_ZERO; } function cjj_Adler32_reset($this, $init) { $this.$s1 = Long_and($init, Long_fromInt(65535)); $this.$s2 = Long_and(Long_shr($init, 16), Long_fromInt(65535)); } function cjj_Adler32_reset0($this) { $this.$s1 = Long_fromInt(1); $this.$s2 = Long_ZERO; } function cjj_Adler32_getValue($this) { return Long_or(Long_shl($this.$s2, 16), $this.$s1); } function cjj_Adler32_update($this, $buf, $index, $len) { var $len1, $len2, var$6, $k, var$8, var$9; if ($len == 1) { $buf = $buf.data; $this.$s1 = Long_add($this.$s1, Long_fromInt($buf[$index] & 255)); $this.$s2 = Long_add($this.$s2, $this.$s1); $this.$s1 = Long_rem($this.$s1, Long_fromInt(65521)); $this.$s2 = Long_rem($this.$s2, Long_fromInt(65521)); return; } $len1 = $len / 5552 | 0; $len2 = $len % 5552 | 0; while (true) { var$6 = $len1 + (-1) | 0; if ($len1 <= 0) break; $k = 5552; while (true) { $len1 = $k + (-1) | 0; if ($k <= 0) break; var$8 = $buf.data; var$9 = $this.$s1; $len = $index + 1 | 0; $this.$s1 = Long_add(var$9, Long_fromInt(var$8[$index] & 255)); $this.$s2 = Long_add($this.$s2, $this.$s1); $k = $len1; $index = $len; } $this.$s1 = Long_rem($this.$s1, Long_fromInt(65521)); $this.$s2 = Long_rem($this.$s2, Long_fromInt(65521)); $len1 = var$6; } while (true) { $len = $len2 + (-1) | 0; if ($len2 <= 0) break; var$8 = $buf.data; var$9 = $this.$s1; $len1 = $index + 1 | 0; $this.$s1 = Long_add(var$9, Long_fromInt(var$8[$index] & 255)); $this.$s2 = Long_add($this.$s2, $this.$s1); $len2 = $len; $index = $len1; } $this.$s1 = Long_rem($this.$s1, Long_fromInt(65521)); $this.$s2 = Long_rem($this.$s2, Long_fromInt(65521)); } function ju_TimeZone() { jl_Object.call(this); this.$id2 = null; } var ju_TimeZone_defaultTz = null; var ju_TimeZone_GMT = null; function ju_TimeZone_getTimeZone($name) { var $jodaZone, $sign, $position, $hour, $minute, $formattedName, var$8, $index, $raw; $jodaZone = otcit_DateTimeZoneProvider_getTimeZone($name); if ($jodaZone !== null) return ju_IANATimeZone__init_($jodaZone); a: { if (jl_String_startsWith0($name, $rt_s(308)) && jl_String_length($name) > 3) { $sign = jl_String_charAt($name, 3); if (!($sign != 43 && $sign != 45)) { $position = $rt_createIntArray(1); $hour = 4; $jodaZone = jl_StringBuilder__init_(); $minute = jl_String_length($name); jl_StringBuilder_append($jodaZone, jl_String_substring($name, 0, $hour)); while ($hour < $minute) { if (jl_Character_digit(jl_String_charAt($name, $hour), 10) != (-1)) { jl_StringBuilder_append0($jodaZone, jl_String_charAt($name, $hour)); if (($minute - ($hour + 1 | 0) | 0) == 2) jl_StringBuilder_append0($jodaZone, 58); } else if (jl_String_charAt($name, $hour) == 58) jl_StringBuilder_append0($jodaZone, 58); $hour = $hour + 1 | 0; } if (jl_String_indexOf2(jl_StringBuilder_toString($jodaZone), $rt_s(309)) == (-1)) { jl_StringBuilder_append0($jodaZone, 58); jl_StringBuilder_append($jodaZone, $rt_s(310)); } if (jl_String_indexOf2(jl_StringBuilder_toString($jodaZone), $rt_s(309)) == 5) jl_StringBuilder_insert2($jodaZone, 4, 48); $formattedName = jl_StringBuilder_toString($jodaZone); $hour = ju_TimeZone_parseNumber($formattedName, 4, $position); if ($hour >= 0 && $hour <= 23) { var$8 = $position.data; $index = var$8[0]; if ($index == (-1)) break a; else { b: { $raw = $rt_imul($hour, 3600000); if ($index < jl_String_length($formattedName) && jl_String_charAt($formattedName, $index) == 58) { $minute = ju_TimeZone_parseNumber($formattedName, $index + 1 | 0, $position); if (var$8[0] != (-1) && $minute >= 0 && $minute <= 59) { $raw = $raw + ($minute * 60000 | 0) | 0; break b; } return ju_IANATimeZone_clone(ju_TimeZone_GMT); } if (!($hour < 30 && $index <= 6)) $raw = $rt_imul($hour / 100 | 0, 3600000) + (($hour % 100 | 0) * 60000 | 0) | 0; } if ($sign == 45) $raw = -$raw; return ju_IANATimeZone__init_(otcit_FixedDateTimeZone__init_($formattedName, $raw, $raw)); } } return ju_IANATimeZone_clone(ju_TimeZone_GMT); } } } return ju_IANATimeZone_clone(ju_TimeZone_GMT); } function ju_TimeZone_parseNumber($string, $offset, $position) { var $length, $result, var$6, $digit; $length = jl_String_length($string); $result = 0; var$6 = $offset; a: { while (true) { if (var$6 >= $length) break a; $digit = jl_Character_digit(jl_String_charAt($string, var$6), 10); if ($digit == (-1)) break; var$6 = var$6 + 1 | 0; $result = ($result * 10 | 0) + $digit | 0; } } if (var$6 == $offset) var$6 = (-1); $position.data[0] = var$6; return $result; } function ju_TimeZone__clinit_() { ju_TimeZone_GMT = ju_IANATimeZone__init_(otcit_FixedDateTimeZone__init_($rt_s(308), 0, 0)); } function jl_IndexOutOfBoundsException() { jl_RuntimeException.call(this); } function jlr_Array() { jl_Object.call(this); } function jlr_Array_getLength(var$1) { if (var$1 === null || var$1.constructor.$meta.item === undefined) { $rt_throw(jl_IllegalArgumentException__init_()); } return var$1.data.length; } function jlr_Array_newInstance($componentType, $length) { if ($componentType === null) { $componentType = new jl_NullPointerException; jl_Throwable__init_0($componentType); $rt_throw($componentType); } if ($componentType === $rt_cls($rt_voidcls())) { $componentType = new jl_IllegalArgumentException; jl_Throwable__init_0($componentType); $rt_throw($componentType); } if ($length >= 0) return jlr_Array_newInstanceImpl($componentType.$platformClass, $length); $componentType = new jl_NegativeArraySizeException; jl_Throwable__init_0($componentType); $rt_throw($componentType); } function jlr_Array_newInstanceImpl(var$1, var$2) { if (var$1.$meta.primitive) { if (var$1 == $rt_bytecls()) { return $rt_createByteArray(var$2); } if (var$1 == $rt_shortcls()) { return $rt_createShortArray(var$2); } if (var$1 == $rt_charcls()) { return $rt_createCharArray(var$2); } if (var$1 == $rt_intcls()) { return $rt_createIntArray(var$2); } if (var$1 == $rt_longcls()) { return $rt_createLongArray(var$2); } if (var$1 == $rt_floatcls()) { return $rt_createFloatArray(var$2); } if (var$1 == $rt_doublecls()) { return $rt_createDoubleArray(var$2); } if (var$1 == $rt_booleancls()) { return $rt_createBooleanArray(var$2); } } else { return $rt_createArray(var$1, var$2) } } function jl_ArrayStoreException() { jl_RuntimeException.call(this); } function otcit_DateTimeZoneProvider() { jl_Object.call(this); } var otcit_DateTimeZoneProvider_cache = null; var otcit_DateTimeZoneProvider_$$metadata$$0 = null; function otcit_DateTimeZoneProvider_getTimeZone($id) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if (!ju_HashMap_containsKey(otcit_DateTimeZoneProvider_cache, $id)) { var$2 = otcit_DateTimeZoneProvider_cache; var$3 = jl_String_indexOf0($id, 47); if (var$3 < 0) { var$4 = $rt_s(4); var$5 = $id; } else { var$4 = jl_String_substring($id, 0, var$3); var$5 = jl_String_substring0($id, var$3 + 1 | 0); } if (!otcit_DateTimeZoneProvider_getResource().hasOwnProperty($rt_ustr(var$4))) var$4 = null; else { var$4 = otcit_DateTimeZoneProvider_getResource()[$rt_ustr(var$4)]; var$4 = !var$4.hasOwnProperty($rt_ustr(var$5)) ? null : var$4[$rt_ustr(var$5)]; } if (var$4 === null) var$4 = null; else { var$4 = (var$4.data !== null ? $rt_str(var$4.data) : null); var$5 = otci_CharFlow__init_(jl_String_toCharArray(var$4)); if (otci_Base46_decodeUnsigned(var$5) == 4) { var$5 = jl_String_substring0(var$4, var$5.$pointer); var$4 = new otcit_AliasDateTimeZone; var$5 = otcit_DateTimeZoneProvider_getTimeZone(var$5); otcit_StorableDateTimeZone__init_(var$4, $id); var$4.$innerZone = var$5; } else a: { b: { var$5 = otci_CharFlow__init_(jl_String_toCharArray(var$4)); var$3 = otci_Base46_decodeUnsigned(var$5); switch (var$3) { case 0: var$6 = otci_Base46_decodeUnsigned(var$5); var$7 = $rt_createLongArray(var$6); var$8 = var$7.data; var$9 = $rt_createIntArray(var$6); var$10 = $rt_createIntArray(var$6); var$8[0] = otcit_StorableDateTimeZone_readTime(var$5); var$11 = 1; while (var$11 < var$6) { var$8[var$11] = Long_add(Long_add(var$8[var$11 - 1 | 0], otcit_StorableDateTimeZone_readTime(var$5)), Long_fromInt(657000000)); var$11 = var$11 + 1 | 0; } otcit_StorableDateTimeZone_readTimeArray(var$5, var$9); otcit_StorableDateTimeZone_readTimeArray(var$5, var$10); var$8 = var$5.$characters0.data; var$3 = var$5.$pointer; var$5.$pointer = var$3 + 1 | 0; if (var$8[var$3] != 121) var$5 = null; else { var$5.$pointer = var$5.$pointer + 1 | 0; var$5 = otcit_DateTimeZoneBuilder$DSTZone_readZone($id, var$5); } var$4 = new otcit_DateTimeZoneBuilder$PrecalculatedZone; otcit_StorableDateTimeZone__init_(var$4, $id); var$4.$iTransitions = var$7; var$4.$iWallOffsets = var$9; var$4.$iStandardOffsets = var$10; var$4.$iTailZone = var$5; if (otcit_DateTimeZoneBuilder$PrecalculatedZone_isCachable(var$4)) { if (var$4 instanceof otcit_CachedDateTimeZone) var$4 = var$4; else { var$5 = new otcit_CachedDateTimeZone; otcit_StorableDateTimeZone__init_(var$5, var$4.$iID); var$5.$iInfoCache = $rt_createArray(otcit_CachedDateTimeZone$Info, otcit_CachedDateTimeZone_cInfoCacheMask + 1 | 0); var$5.$iZone = var$4; var$4 = var$5; } } break a; case 1: var$4 = otcit_FixedDateTimeZone__init_($id, otcit_StorableDateTimeZone_readTime(var$5).lo, otcit_StorableDateTimeZone_readTime(var$5).lo); break a; case 2: break b; case 3: break; default: break b; } var$4 = otcit_DateTimeZoneBuilder$DSTZone_readZone($id, var$5); break a; } $id = new jl_IllegalArgumentException; jl_Throwable__init_($id, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(311)), var$3))); $rt_throw($id); } } ju_HashMap_putImpl(var$2, $id, var$4); } return ju_HashMap_get(otcit_DateTimeZoneProvider_cache, $id); } function otcit_DateTimeZoneProvider_timeZoneDetectionEnabled() { return false;} function otcit_DateTimeZoneProvider_detectTimezone() { var $zones, $time, $offset, $score, var$5, $i, $tzOffset, $scoreTable, var$9, $j, $tzOffset_0, $zoneMap, $tz, $queue, $timeInQueue, var$16, $score_0, $prev; if (!otcit_DateTimeZoneProvider_timeZoneDetectionEnabled()) return null; $zones = ju_ArrayList__init_(); $time = jl_System_currentTimeMillis(); $offset = -(new Date(Long_toNumber(jl_System_currentTimeMillis()))).getTimezoneOffset(); $score = ju_ArrayList__init_(); var$5 = otpp_ResourceAccessor_keysToStrings(otpp_ResourceAccessor_keys(otcit_DateTimeZoneProvider_getResource())).data; $i = var$5.length; $tzOffset = 0; while ($tzOffset < $i) { $scoreTable = var$5[$tzOffset]; var$9 = otpp_ResourceAccessor_keysToStrings(otpp_ResourceAccessor_keys(otcit_DateTimeZoneProvider_getResource()[$rt_ustr($scoreTable)])).data; $j = var$9.length; $tzOffset_0 = 0; while ($tzOffset_0 < $j) { $zoneMap = var$9[$tzOffset_0]; if (!jl_String_isEmpty($scoreTable)) $zoneMap = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $scoreTable), $rt_s(22)), $zoneMap)); ju_ArrayList_add($score, $zoneMap); $tzOffset_0 = $tzOffset_0 + 1 | 0; } $tzOffset = $tzOffset + 1 | 0; } var$5 = ju_AbstractCollection_toArray($score, $rt_createArray(jl_String, $score.$size0)).data; $i = var$5.length; $tzOffset = 0; while ($tzOffset < $i) { $tz = otcit_DateTimeZoneProvider_getTimeZone(var$5[$tzOffset]); if (!($tz instanceof otcit_AliasDateTimeZone) && jl_Math_abs0(($tz.$getOffset($time) / 60000 | 0) - $offset | 0) <= 120 && Long_ne($tz.$previousTransition($time), $time)) ju_ArrayList_add($zones, otcit_DateTimeZoneProvider$Score__init_($tz)); $tzOffset = $tzOffset + 1 | 0; } $scoreTable = ju_ArrayList__init_(); ju_AbstractCollection_addAll($scoreTable, $zones); $zoneMap = ju_HashMap__init_(); $queue = new ju_PriorityQueue; $tzOffset = $zones.$size0; $score = new otcit_DateTimeZoneProvider$1; ju_AbstractCollection__init_0($queue); if ($tzOffset < 1) $rt_throw(jl_IllegalArgumentException__init_()); $queue.$data0 = $rt_createArray(jl_Object, $tzOffset); ju_PriorityQueue_setComparator($queue, $score); $timeInQueue = ju_HashSet__init_(); ju_AbstractQueue_add($queue, jl_Long_valueOf($time)); ju_HashMap_put($zoneMap, jl_Long_valueOf($time), ju_ArrayList__init_3($zones)); a: { b: { c: while (true) { if (ju_AbstractCollection_isEmpty($queue)) break b; if (ju_ArrayList_size($scoreTable) <= 1) break b; var$16 = jl_Long_longValue(ju_AbstractQueue_remove($queue)); ju_HashSet_remove($timeInQueue, jl_Long_valueOf(var$16)); $score = ju_HashMap_remove($zoneMap, jl_Long_valueOf(var$16)); $tzOffset_0 = -(new Date(Long_toNumber(var$16))).getTimezoneOffset(); $score = ju_AbstractList_iterator($score); while (ju_AbstractList$1_hasNext($score)) { $score_0 = ju_AbstractList$1_next($score); $prev = $score_0.$tz.$previousTransition(var$16); if (Long_eq($prev, var$16)) { if (ju_ArrayList_get($scoreTable, 0) === $score_0) break c; ju_ArrayList_remove0($scoreTable, $score_0); } else { if (jl_Math_abs0(($score_0.$tz.$getOffset(var$16) / 60000 | 0) - $tzOffset_0 | 0) > 120) { ju_ArrayList_remove0($scoreTable, $score_0); continue; } ju_ArrayList_add(ju_Map_computeIfAbsent($zoneMap, jl_Long_valueOf($prev), otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0__init_()), $score_0); if (ju_HashSet_add($timeInQueue, jl_Long_valueOf($prev))) ju_AbstractQueue_add($queue, jl_Long_valueOf($prev)); } } if (ju_ArrayList_size($scoreTable) == 1) break a; if (Long_eq(ju_ArrayList_get($scoreTable, 0).$tz.$previousTransition(var$16), var$16)) break a; if (ju_ArrayList_size($scoreTable) > 1 && (ju_ArrayList_get($scoreTable, 0).$value1 + 2880 | 0) < ju_ArrayList_get($scoreTable, 1).$value1) return ju_ArrayList_get($scoreTable, 0).$tz; $i = ju_ArrayList_size($scoreTable) - 1 | 0; while ($i >= 0) { $score = ju_ArrayList_get($scoreTable, $i); $tzOffset = $score.$tz.$getOffset(var$16) / 60000 | 0; if ($tzOffset != $tzOffset_0) $score.$value1 = $score.$value1 + ($rt_imul(Long_div(Long_sub($time, var$16), Long_fromInt(60000)).lo, jl_Math_abs0($tzOffset - $tzOffset_0 | 0)) / 30 | 0) | 0; $j = $i + 1 | 0; while ($j < ju_ArrayList_size($scoreTable) && $score.$value1 > ju_ArrayList_get($scoreTable, $j).$value1) { ju_ArrayList_set($scoreTable, $j - 1 | 0, ju_ArrayList_get($scoreTable, $j)); $j = $j + 1 | 0; } ju_ArrayList_set($scoreTable, $j - 1 | 0, $score); $i = $i + (-1) | 0; } $time = var$16; } return $score_0.$tz; } return ju_ArrayList_get($scoreTable, 0).$tz; } return ju_ArrayList_get($scoreTable, 0).$tz; } function otcit_DateTimeZoneProvider_getResource() { if (otcit_DateTimeZoneProvider_$$metadata$$0 === null) otcit_DateTimeZoneProvider_$$metadata$$0 = otcit_DateTimeZoneProvider_getResource$$create(); return otcit_DateTimeZoneProvider_$$metadata$$0; } function otcit_DateTimeZoneProvider__clinit_() { otcit_DateTimeZoneProvider_cache = ju_HashMap__init_(); } function otcit_DateTimeZoneProvider_getResource$$create() { return {"": {"CET": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1s\'\u001e=n11s5\u001e=n1 "}, "EET": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEdAQAQAQAQAQAQAQA+AYAy\'Au\'\u001e=n)1u5\u001e=n) "}, "PST8PDT": {"data" : " ls&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#+H#V#H#y\'H#w\'1=y11w7#=y1 "}, "EST": {"data" : "#tt"}, "WET": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "HST": {"data" : "#i#i#"}, "CST6CDT": {"data" : " lR&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+(#V#(#y\'(#w\'1=y11w7#=y1 "}, "MET": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1s\'\u001e=n11s5\u001e=n1 "}, "EST5EDT": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "}, "MST7MDT": {"data" : " lc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#V#8#y\'8#w\'1=y11w7#=y1 "}, "MST": {"data" : "#8#8#"}}, "Asia": {"Gaza": {"data" : " >#&y0=geCs:;{BE*w;{BE*w;Z2E6L;Z2E!o9omE6L;>TE>L=c:C>L=c:C>L=.TEwu?:w?wu?*o?wu?*o?wu?*o?wu?:w?NT=R2C2o=6T?B*?_]AJw;R:CFT;Z2E:w;g&g7B,_/o_@;*eEc!;>eEc!;>eER!;a%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQ+AV%Ay\'Aw5\u001e9n) w\'\u001e5n 1"} , "Makassar": {"data" : " #PPNC+F#+F#n"}, "Ulaanbaatar": {"data" : " h_m4=*o?{JA*o?gm?*o?gm?*o?gm?*o?gm?*o?gm?>LAgm?*o?gm?*o?gm?:Zo#c2;*o?wu?*o?wu?:w?wu?*o?wu?*o?wu?:{*-Vu?Zw?Vu?X#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#V#F#+F#N#F#n"}, "Vladivostok": {"data" : " |om4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%$%g#w#g#V#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#7g#g#g#V#c#g#/w#g#n"} , "Tashkent": {"data" : " )Ro4=wm?.LAg@b7#&#r7&#&#&#rn"}, "Beirut": {"data" : " KRo8=c2C>T=c2C>T=s:C6L;s2?gm?*o?gm?*o?gm?>LAgm?*o?gm?*o?gm?*o?o}E|AQAQAQAQAQAQAQAQAQAQA+ArAy\'Aw\'\u001e=n 1w5\u001e=n "}, "Qyzylorda": {"data" : " [co4=wm?.LA&Pv*2Mwm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;VTX5@#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r7rrr&#*#rn"}, "Phnom_Penh": {"data" : " #D(DDO+6#+6#n"}, "Hong_Kong": {"data" : " #_m&/+F#+F#n"}, "Kabul": {"data" : " #eR!E+j+jn"}, "Riyadh": {"data" : " #mqsc5+Q+Qn"}, "Ashgabat": {"data" : " +co4=wm?.LAg@bgL3;r&#rbr;rrrbrn"}, "Chita": {"data" : " !#!o4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%c>!#(%V#g#V#F#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#F#V#7V#V#V#F#c#V#3g#F#V#n"}, "Aqtau": {"data" : " ^co4=wm?.LAg@bgL3:_+wm?wm?wm?wm?*o?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;D#r&#rbr&#r&#r&#brbrbrbrbrbrbrbrbrbr7rrrb9r+bnbn"} , "Tokyo": {"data" : " #u{2;+V#+V#n"}, "Baku": {"data" : " |so4=wm?.LAg@bwm?&(s%kBEs:;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;kBE$%brbQbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrb;bbbQQg#bn"}, "Kathmandu": {"data" : " #F8R7+&^+&^n"}, "Novosibirsk": {"data" : " $#Bo4=wm?.LAg@bgL3:_+wm?wm?ND)sg5wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%6,8#,%6#F#6##F#6#F#6####################76#6#6##+&#R#$##n"} , "Aqtobe": {"data" : " `co4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!GH#r&#rbr&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r7rrrb2#rn"}, "Kamchatka": {"data" : " xNm4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE{{bo]9y#*%:%*%w#*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%w#*%7*%*%*%w#Z#*%/w#*%n"}, "Istanbul": {"data" : " 2#&q4=wm?.LAwm?wm?wm?wm?wm?wm?c2?.LAwm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G2_9!!G&<;kBE&<;kBE&<;!!G!g9ouEo]9!!G&<;kBE6D;Z:E&<;6]GZ!9H%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQ+A>%An"} , "Nicosia": {"data" : " Ico4=*o?{JA*o?gm?*o?gm?*o?gm?*o?gm?*o?gm?>LAgm?*o?gm?*o?>DE&<;xAQAQAQAQAQAQAQAQAQAQ+AnAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Pontianak": {"data" : " #wL{9+6#+6#n"}, "Qostanay": {"data" : " ^co4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;D#r&#rbr&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#rrrrb.#rn"}, "Jerusalem": {"data" : " (#&y0=geCs:;{BE*w;{BE*w;Z2E6L;Z2E!o9omE6L;2wA:*Ak2AsB?{:A_e={2Es:;F]GB2?Z*A>T=k2ANeABw={JA{:A>T=k*AB2C_T={JA&!#,%6#F#6##F#6#F#6#F#6#F#6##################76#6#6#&#A6#+&#B#$##n"}, "Kuala_Lumpur": {"data" : " #{_]1+F#+F#n"}, "Kolkata": {"data" : " #8PJC+z+zn"}, "Hanoi": {"data" : " #LAgm?*o?gm?*o?gm?:Zo#c2;*o?wu?*o?wu?:w?wu?*o?wu?*o?wu?:{*-Vu?Zw?Vu?X#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#+6#N#6#n"}, "Baghdad": {"data" : " lso4=wm?.LAJw?*w?*w?*w?wm?*w?wm?*w?wm?*w?*w?*w?wm?*w?wm?*w?wm?*w?*w?*w?wm?*w?wm?*w?wm?*w?*w?*w?wm?*w?wm?*w?wm?*w?a#QbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQ+QV#Qn"} , "Samarkand": {"data" : " +co4=wm?.LAwm?wm?;r&#r&#r+r1rn"}, "Thimphu": {"data" : " #B.k9+&#+&#n"}, "Dhaka": {"data" : " \'m&0;k>Vt2,*73#&#&#&#n"}, "Yerevan": {"data" : " tso4=wm?.LAg@bwm?wm?wm?wm?wm?wm?wm?w}H#kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Gq#brbQbQbQbQbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrb3bbbAQ+b:#bn"}, "Muscat": {"data" : " #HJgNO+b+bn"}, "Dili": {"data" : " %swT)k.TC/F#V#/F#V#n"}, "Singapore": {"data" : " #{_]1+F#+F#n"}, "Damascus": {"data" : " !#:N6=*o?gm?wu?wu?NTAc:?&eE*g;w}C*g;w}Cs*;(%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQ+A{#Ay\'Aw\'\u001e5n 1w5\u001e5n "} , "Taipei": {"data" : " #V}!/+F#+F#n"}, "Macau": {"data" : " #_m&/+F#+F#n"}, "Choibalsan": {"data" : " jNm4=*o?{JA*o?gm?*o?gm?*o?gm?*o?gm?*o?gm?>LAgm?*o?gm?*o?gm?:Zo#c2;*o?wu?*o?wu?:w?wu?*o?wu?*o?wu?JV(#:c!+Vu?Zw?Vu?]#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#F#V#F#V#F#+V#>#V#+F#1F#n"}, "Amman": {"data" : " (#*V6=J*EV];c2CJ*=R*CR2?*o?wu?*o?.L=s:C>L=sBC>L=c:C>L=c:C>L=BJS&$/*w?*w?wm?*w?*w?wm?*w?.TE&<;VeCJ!=wm?*w?>]Ec*;>]Es2;>]Ec*;>]Ec*;>]Ec*;>]Es2;Bo6#.$1>]E4%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQA+A*%Ay\'Aw)#5n 1s5\u001e5n "} , "Jayapura": {"data" : " #uw>)+V#+V#n"}, "Oral": {"data" : " ^so4=wm?.LAwm?wm?gL3*2Mwm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;D#brbrbrbrbrbrbrbrbrbrbrbrbrbrbr+b1b+r&#bn"}, "Manila": {"data" : " #B{:-+F#+F#n"}, "Dubai": {"data" : " #HJgNO+b+bn"}, "Yakutsk": {"data" : " |!o4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%$%V#g#V#F#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#7V#V#V#F#c#V#/g#V#n"} , "Seoul": {"data" : " #.(R;+V#+V#n"}, "Qatar": {"data" : " #c!g#+Q+Qn"}, "Hebron": {"data" : " B#&y0=geCs:;{BE*w;{BE*w;Z2E6L;Z2E!o9omE6L;>TE>L=c:C>L=c:C>L=.TEwu?:w?wu?*o?wu?*o?wu?*o?wu?:w?NT=R2C2o=6T?B*?_]AJw;R:Cwm;*wC:w;wuC*o7o_@;*eEc!;>eEc!;>eER!;i%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQ+A_%Ay\'Aw5\u001e9n) w\'\u001e5n 1"}, "Bishkek": {"data" : " `Ro4=wm?.LARc[6eG>T=R*C>T=R*C>T=R*C>T=R*CR2?Ro?ZBE6<;ZBE6<;o}E!_9o}E!_9o}E6<;ZBE6<;ZBE6<;o}E!_9H##&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#&##rn"} , "Tomsk": {"data" : " $#Bo4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;_,%VT?&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%N$.#,%6#F#6##F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6###########76#6#6#&#z6#+&#f$##n"}, "Yekaterinburg": {"data" : " |co4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%$%r&#rbr&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r&#r7rrrbc#r/&#rn"} , "Colombo": {"data" : " )eFJCcNJj{:;g(m-7z.#&#z7z.#&#zn"}, "Khandyga": {"data" : " $#!o4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBEVD+V4/!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9>e=s_6%,%V#g#V#F#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#V#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#V#7V#V#V#F#*#V#+g#Yg#3w#g#V#n"}, "Dushanbe": {"data" : " )Ro4=wm?.LA:R^7#&#r7&#&#&#rn"}, "Famagusta": {"data" : " 8#co4=*o?{JA*o?gm?*o?gm?*o?gm?*o?gm?*o?gm?>LAgm?*o?gm?*o?>DE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;kBE&<;>$.#o]9!!GT%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQA+AJ%Ay\'Au\'\u001e=n)1u5\u001e=n) "} , "Kuwait": {"data" : " #mqsc5+Q+Qn"}, "Pyongyang": {"data" : " \'q!#$%w#*%w#g#w#*%w#*%w#*%w#*%w#*%w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#7w#w#w#g#Mw#+g#.#g#3w#g#w#n"} , "Urumqi": {"data" : " #H_oeG+&#+&#n"}, "Shanghai": {"data" : " +k24={BEs:;{BEs:;;F#V#F#V#F#+F#1F#n"}, "Atyrau": {"data" : " [co4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE{{bo]9!!Go]9!!G&<;kBE&<;kBE&<;@#r&#rbr&#r&#r&#r&#r&#r&#r&#rbrbrbrbrbr7rrrb^r+bEbn"}, "Yangon": {"data" : " #DNiC+.#+.#n"}, "Almaty": {"data" : " `Ro4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!GH##&#r#############&#&#&#r2#&#n"}, "Tbilisi": {"data" : " [so4=wm?.LAg@bVm?gm?*o?gm?*o?F@bgm?>LAwD,#6<;ZBE6<;o}E!_9o}E!_9o}E6<;ZBE6<;ZBE6<;wT/sg5o]9@#brbQbQbQbrbrbrbrbrbrbrbrbrbQb3bbb9Q+bbb3QQbn"}, "Anadyr": {"data" : " xNm4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE{{bo]9y#*%:%*%w#*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%w#*%7*%*%*%w#Z#*%/w#*%n"}, "Vientiane": {"data" : " #D(DDO+6#+6#n"}, "Krasnoyarsk": {"data" : " |Bo4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%$%6#F#6##F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#F#6#76#6#6#&#c#6#/F#6#n"} , "Brunei": {"data" : " #X8_U+F#+F#n"}, "Omsk": {"data" : " |Ro4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%$%#&#r####################&#&#&#rc#&#/6#&#n"}, "Jakarta": {"data" : " #Tw>)+6#+6#n"}, "Ho_Chi_Minh": {"data" : " #RJw\'+6#+6#n"}, "Ust-Nera": {"data" : " !#_m4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9>e=s_6%(%w#*%w#g#w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#*%w#g#7w#w#w#g#c#w#3*%w#g#n"} }, "Etc": {"UTC": {"data" : "# "}, "GMT+9": {"data" : "#X#X#"}, "GMT-10": {"data" : "#g#g#"}, "GMT-11": {"data" : "#w#w#"}, "GMT-7": {"data" : "#6#6#"}, "GMT+5": {"data" : "#tt"}, "GMT-8": {"data" : "#F#F#"}, "GMT+6": {"data" : "#(#(#"}, "GMT+12": {"data" : "#,%,%"}, "GMT-9": {"data" : "#V#V#"}, "GMT+7": {"data" : "#8#8#"}, "GMT+11": {"data" : "#y#y#"}, "GMT+8": {"data" : "#H#H#"}, "GMT+10": {"data" : "#i#i#"}, "GMT-3": {"data" : "#QQ"}, "GMT+1": {"data" : "#33"}, "GMT-4": {"data" : "#bb"}, "GMT+2": {"data" : "#CC"}, "GMT-5": {"data" : "#rr"}, "GMT+3": {"data" : "#SS"}, "GMT-6": {"data" : "#&#&#"}, "GMT+4": {"data" : "#dd"}, "GMT-1": {"data" : "#11"}, "GMT-2": {"data" : "#AA"}, "GMT-12": {"data" : "#*%*%"}, "GMT-13": {"data" : "#:%:%"}, "GMT-14": {"data" : "#J%J%"}, "GMT": {"data" : "# "}}, "Pacific": {"Easter": {"data" : " <#Vi8=_]9>LAR2?2!Gs:;{BEs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;R*C{JA>LAs:;2!G_]92!G_]92!G_]92!Gs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;{BER2?>LAZBEco1w0MBg5NuIVD7::IVD7644#:V/V(Q:V/V(Q:V/NuI6<;]%t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t+(#R%(#y\'(#u)%=y9 u3%=yA1"} , "Fiji": {"data" : " CTi2LSZTu}n{*5*2MgL3wX!/{*5kBEFD7J:I*V/g(Q*V/{cQcw-BBS_<-l*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%+*%b*%y\'*%w7#=y11w#;=y9 "}, "Port_Moresby": {"data" : " #,(&8h+g#+g#n"}, "Kiritimati": {"data" : " %ZyaV):H00//i#J%/i#J%n"}, "Pohnpei": {"data" : " #e>XC+w#+w#n"}, "Chuuk": {"data" : " #e>XC+g#+g#n"}, "Kwajalein": {"data" : " %yD1_(4C/,%*%/,%*%n"}, "Kosrae": {"data" : " %yD12g&K/*%w#/*%w#n"}, "Auckland": {"data" : " nw(8=:w;VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=B*CNT=VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=B*CNT=B*C.LAe#:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%+*%Z#*%y\'*%s3\u001e=n11s)#=y1 "} , "Efate": {"data" : " 1>m4=gm?*o?gm?>LAk*5w(QwT/G*%w#*%w#*%w#*%w#+w#=w#n"}, "Niue": {"data" : " #_y<-+y#+y#n"}, "Majuro": {"data" : " #yD1+*%+*%n"}, "Guadalcanal": {"data" : " #HFLuU+w#+w#n"}, "Honolulu": {"data" : " #Hu8A+i#+i#n"}, "Guam": {"data" : " #c_P++g#+g#n"}, "Chatham": {"data" : " nw(8=:w;VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=B*CNT=VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=B*CNT=B*C.LAe#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#kT#VJ#+VJ#Z#VJ#y\'VJ#s3\u001e=n4/1s)#=y4/ "} , "Midway": {"data" : " #D@6eW+y#+y#n"}, "Tahiti": {"data" : " #i&HuU+i#+i#n"}, "Pago_Pago": {"data" : " #D@6eW+y#+y#n"}, "Galapagos": {"data" : " \'6LAZBEg<;kBElAQAQAQAQAQAQAQAQA+AbAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Dublin": {"data" : " ?N$<=o]9!!G&<;kBE&<;kBE&<;kBE&<;kBE&<;kBE:w;kBEd 1 1 1 1 1 1 1 +1Y1y\'1u\'\u001e=n) u5\u001e=n)3"}, "Zaporozhye": {"data" : " =&q4=wm?.LA6@b*o?gm?*o?gm?*o?gm?Zo?wm?.LAkBE`QbQAQAQAQAQAQA3QQQMAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Kiev": {"data" : " =&q4=wm?.41gXrVm?gm?*o?gm?*o?gm?Zo?wm?.LAkBE`QbQAQAQAQAQAQA/QQQAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Zurich": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "} , "Copenhagen": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Rome": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Zagreb": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Monaco": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Luxembourg": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Jersey": {"data" : " ?N$<=o]9!!G&<;kBE&<;kBE&<;kBE&<;kBE&<;kBE:w;kBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "Istanbul": {"data" : " 2#&q4=wm?.LAwm?wm?wm?wm?wm?wm?c2?.LAwm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G2_9!!G&<;kBE&<;kBE&<;!!G!g9ouEo]9!!G&<;kBE6D;Z:E&<;6]GZ!9H%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQ+A>%An"}, "Ulyanovsk": {"data" : " !#&q4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%R>!#(%QbQAQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQb7QQQAc#Q3bQbn"} , "Samara": {"data" : " v&q4=wm?.LAF8fwu;wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE{{bo]9u#QbQbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbrbQb3QQQZ#b/Qbn"}, "Sarajevo": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Nicosia": {"data" : " Ico4=*o?{JA*o?gm?*o?gm?*o?gm?*o?gm?*o?gm?>LAgm?*o?gm?*o?>DE&<;xAQAQAQAQAQAQAQAQAQAQ+AnAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Chisinau": {"data" : " E&q4=wm?F,\'2_9wm?wm?Vm?gm?*o?gm?*o?gm?*o?gm?>LAZBEV<;kBEpQbQAQAQAQAQAQAQAQA/QQbAy\'Aw\'\u001e=n11w5\u001e=n9 "} , "Vatican": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Brussels": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Oslo": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Warsaw": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Lisbon": {"data" : " =Fq4=wm?.LAwm?wm?wm?V@bwm?wm?wm?wm?wm?_Ph&<;` 1 1 1A1A1A1 1+ 5 +151/ y\' u\'\u001e=n)1u5\u001e=n) "}, "Berlin": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Simferopol": {"data" : " &#&q4={cQs*8#gm?*o?gm?*o?2N%_]9*o?gm?>LA>DEg@b&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBEs:;JBE0%QAQAQAQbQbQbQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAbQ+Q9A+Q5Q+AF#A/bQn"}, "San_Marino": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "} , "Podgorica": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Athens": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEdAQAQAQAQAQAQAQA+AYAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Bratislava": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Stockholm": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Prague": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Uzhgorod": {"data" : " ;&q4={cQ:*Qs>bgm?*o?gm?*o?gm?Zo?wm?.LAkBE[Q1AQAQAQAQAQA/Q1MAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Budapest": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Astrakhan": {"data" : " z&q4=wm?.LAwm?6q&#wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%R>!#}#QbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQb7QQQbZ#Q3bQbn"} , "Madrid": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Vaduz": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "London": {"data" : " ?N$<=o]9!!G&<;kBE&<;kBE&<;kBE&<;kBE&<;kBE:w;kBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "Vilnius": {"data" : " K6q4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBEg@b&<;c&s%kBE|AQAQAQAQAQAQAQAQA1AQA+AbA711AAy\'Au\'\u001e=n)1u5\u001e=n) "} , "Isle_of_Man": {"data" : " ?N$<=o]9!!G&<;kBE&<;kBE&<;kBE&<;kBE&<;kBE:w;kBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "Sofia": {"data" : " C6q4=wm?.LAVm?gm?*o?gm?*o?gm?*o?gm?*o?gm?>LAZBEg<;kBElAQAQAQAQAQAQAQAQA+AbAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Kirov": {"data" : " x&q4=wm?.LAwm?6q&#wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%y#QbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQ7QQQbZ#Q/bQn"}, "Tallinn": {"data" : " O6q4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;{BE&<;!!G_@e#kBE(#AQAQAQAQAQAQAQAQAQAQAQA+AzAy\'Au\'\u001e=n)1u5\u001e=n) "} , "Moscow": {"data" : " |&q4=wm?.LAg@bgL3:_+wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%$%QbQAQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQ7QQQAc#Q/bQn"}, "Malta": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Busingen": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Amsterdam": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "} , "Andorra": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Riga": {"data" : " O6q4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAwm?*o?kBE&<;kBE&<;!!G.a|!!G(#AQAQAQAQAQAQAQAQAQAQAQA+AzAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Vienna": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Helsinki": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEdAQAQAQAQAQAQAQA+AYAy\'Au\'\u001e=n)1u5\u001e=n) "} , "Minsk": {"data" : " t&q4=:!J#wm?wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9q#QAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQ+Qc#A+Qn"}, "Kaliningrad": {"data" : " |6q4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%$%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQA+Ao#A/QAn"}, "Skopje": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "} , "Mariehamn": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEdAQAQAQAQAQAQAQA+AYAy\'Au\'\u001e=n)1u5\u001e=n) "}, "Ljubljana": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Tirane": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Guernsey": {"data" : " ?N$<=o]9!!G&<;kBE&<;kBE&<;kBE&<;kBE&<;kBE:w;kBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "Volgograd": {"data" : " z&q4=wm?.LAwm?6q&#wm?wm?wm?wm?wm?wm?.LAkBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9g(V%s&s%}#QbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQbQb7QQQbZ#Q3bQbn"}, "Paris": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}}, "America": {"Belem": {"data" : " #*s$;+S+Sn"}, "Guayaquil": {"data" : " \'H{y>E>k]([*V+3tdt3tttn"}, "Argentina/Buenos_Aires": {"data" : " 9Fi8=J!9Z:I6D7Z:I6D7Z:IJ!9N<_5N<-2!G_]9WCSCSCSCSCSCS+SMSn"} , "Costa_Rica": {"data" : " +J2P/FL]/{B=&DCB_);(#t(#t(#+(#1(#n"}, "Hermosillo": {"data" : " /F#kguEFeCJw;FeCJw;FeCC8#(#8#(#8#(#8#+8#98#n"}, "Punta_Arenas": {"data" : " 0#Vi8=_]9>LAR2?2!Gs:;{BEs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;R*C{JA>LAs:;2!G_]92!G_]92!G_]92!Gs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;{BER2?>LAZBEco1w0MBg5NuIVD7::IVD7644#:V/D%SdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdS+d:%dn"}, "Iqaluit": {"data" : " jB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;kBE6<;F@bZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuI]#tdtdtdtdtdtdtdtdtdtd(#tdtdtdtdtdtdtdt+tnt/(#(#Yty\'tw\'1=y11w7#=y1 "} , "Godthab": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEdSCSCSCSCSCSCSCS+SYSy\'Su\'\u001e=n)1u5\u001e=n) "}, "El_Salvador": {"data" : " #koN;+(#+(#n"}, "Monterrey": {"data" : " ?6$V;kg@+FeCJw;FeCJw;FeCJw;ZBE6<;ZBE>LA_]9>LAFeCd(#t(#t(#t(#t(#t(#t(#t(#+(#Y(#y\'(#w)#=y11w5\u001e=n1 "}, "Sao_Paulo": {"data" : " >#Fi8=k*5:2Mk*5&TKVL3NmM.41NmM!g5ouI!g5ouIk*5ouI6D7kBINT9F]G6D7F]G_]9F]G6D7ouI!g5NmMBo1&TKk*5o}M6<3ouI!g5NmMVL3Z:I!g5&TKk*5&TK!g5ouI!g5ouI6D7ouIk*5&TKk*5&TK!g5ouI!g5ouI!g5ouI!g5NmMBo1a%CSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCS+SV%Sn"} , "Bahia": {"data" : " ^Fi8=k*5:2Mk*5&TKVL3NmM.41NmM!g5ouI!g5ouIk*5ouI6D7kBINT9F]G6D7F]G_]9F]G6D7ouI!g5NmMBo1cF6-6D7D#CSCSCSCSCSCSCSCSCSCSCSCSCSCSCS+S:#Sn"}, "Indiana/Winamac": {"data" : " +c{UwiwSVD7>uIBg5;t(#dtd/t(#-ty\'tw\'1=y11w7#=y1 "}, "Grenada": {"data" : " #aR$2W+d+dn"}, "Grand_Turk": {"data" : " 2#B&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIBg5NuIBg5NuIVD7NuIBg5NuIBg5NuIBg5NuIBg5NuIBg5ZZZ%Bg5H%tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtd+t>%ty\'tw\'1=y11w7#=y1 "} , "Montserrat": {"data" : " #aR$2W+d+dn"}, "Panama": {"data" : " #qVL}Y+t+tn"}, "Guadeloupe": {"data" : " #aR$2W+d+dn"}, "Guatemala": {"data" : " +Rks3koD+>T=c_R5s:;;(#t(#t(#+(#1(#n"}, "Guyana": {"data" : " %JDTZ%Rus6//Sd/Sdn"}, "Swift_Current": {"data" : " #F0a#+(#+(#n"}, "Puerto_Rico": {"data" : " #qmLC+d+dn"}, "Moncton": {"data" : " l2&<=6<;ZBEJw;FeCJw;FeCgJ(3ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEBaH/NuIa#dSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+dV#dy\'dw\'1=y11w7#=y1 "} , "Danmarkshavn": {"data" : " =Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?o<1`SCSCSCSCSCSCS +SQS+ n"}, "Nome": {"data" : " l&(<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#+X#V#X#y\'X#w\'1=y11w7#=y1 "}, "Porto_Velho": {"data" : " #:s$;+d+dn"}, "Cuiaba": {"data" : " :#Vi8=k*5:2Mk*5&TKVL3NmM.41NmM!g5ouI!g5ouIk*5ouI6D7kBINT9F]G6D7F]G_]9F]G6D7ouI!g5NmMBo1.$6#6<3ouI!g5NmMVL3Z:I!g5&TKk*5&TK!g5ouI!g5ouI6D7ouIk*5&TKk*5&TK!g5ouI!g5ouI!g5ouI!g5NmMBo1X%SdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+dN%dn"} , "Pangnirtung": {"data" : " h2&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBEg@bJw;FeCJw;FeCJw;FeCJw;kBE6<;F@bZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIX#dSdSdSdSdSdtdtdtdtd(#tdtdtdtdtdtdtdt+dId+t=t/(#(#Yty\'tw\'1=y11w7#=y1 "}, "Kralendijk": {"data" : " #m_X\'+d+dn"}, "Indiana/Vincennes": {"data" : " +c{UwiwSVD7F@bNuI;t(#tdt;t(#(#tty\'tw\'1=y11w7#=y1 "}, "Indiana/Indianapolis": {"data" : " +c{UFePSZBEVD7NuI;tdtdt+t1ty\'tw\'1=y11w7#=y1 "}, "Belize": {"data" : " #w]J3+(#+(#n"}, "Indiana/Marengo": {"data" : " +Jg2)_yuKZBEVD7NuI;tdtdt+t1ty\'tw\'1=y11w7#=y1 "} , "Anguilla": {"data" : " #aR$2W+d+dn"}, "Argentina/Ushuaia": {"data" : " 9Fi8=J!9Z:I6D7Z:I6D7Z:IJ!9oP(1*6#*2R%N<-WCSCSCSCSdSCS+S=S+d-Sn"}, "Santiago": {"data" : " <#Vi8=_]9>LAR2?2!Gs:;{BEs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;R*C{JA>LAs:;2!G_]92!G_]92!G_]92!Gs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;{BER2?>LAZBEco1w0MBg5NuIVD7::IVD7644#:V/V(Q:V/V(Q:V/NuI6<;]%SdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdS+dR%dy\'du)%=y9 u3%=yA1"}, "Argentina/Catamarca": {"data" : " 9Fi8=J!9Z:I6D7k:I&D7Z:IJ!92c(1g$#*2R%N<-WCSCdCSCSdSCS7SSSd1S+d-Sn"} , "Boise": {"data" : " lc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#V#8#y\'8#w\'1=y11w7#=y1 "}, "Creston": {"data" : " #@T0l+8#+8#n"}, "Miquelon": {"data" : " l!&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#SCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCSCS+SV#Sy\'Sw\'1=y11w7#=y1 "}, "Jamaica": {"data" : " #>8{3+t+tn"} , "Rankin_Inlet": {"data" : " hR&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;wD,#Jw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIX#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+(#N#(#y\'(#w\'1=y11w7#=y1 "}, "Toronto": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "}, "Eirunepe": {"data" : " +Js$;!{()!g5FX>5oXq\';tdtdt;tttdtn"}, "Dawson": {"data" : " ls&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#+H#V#H#y\'H#w\'1=y11w7#=y1 "}, "Argentina/Mendoza": {"data" : " 9Fi8=J!9geGwe7*!I*o7Z:I:!9Zs&1Bg5&<@%N<-WCdSdSdCSdSCS+S5d3SSd-Sn"}, "Nassau": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "} , "Vancouver": {"data" : " ls&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#+H#V#H#y\'H#w\'1=y11w7#=y1 "}, "Noronha": {"data" : " 16i8=k*5kkw-_]9F]Ge%g@b!g5G3C3C3C3C+C=Cn"}, "Argentina/Cordoba": {"data" : " 9Fi8=J!9Z:I6D7k:I&D7Z:IJ!9N<_5N<-2!G_]9WCSCdCSCSCSCS7SSSdASn"}, "Argentina/La_Rioja": {"data" : " ;Fi8=J!9Z:Is27:F+{B=6D7Z:IJ!92c(1g$#*2R%N<-[CSCdSCSCSdSCS7SSSd5S+d-Sn"} , "Regina": {"data" : " #y(}-+(#+(#n"}, "St_Vincent": {"data" : " #aR$2W+d+dn"}, "Scoresbysund": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd3 3 3 3 3 3 3 3+3Y3y\'3u\'\u001e=n)1u5\u001e=n) "}, "Aruba": {"data" : " #m_X\'+d+dn"}, "North_Dakota/Center": {"data" : " jc&<=6<;ZBEJw;FeCJw;F@bZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuI]#8#(#8#(#8#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+8#58#+(#:#(#y\'(#w\'1=y11w7#=y1 "}, "Thule": {"data" : " hDXm*S>NR(hgm?*o?gm?>LAZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIX#dSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+dN#dy\'dw\'1=y11w7#=y1 "} , "Argentina/San_Juan": {"data" : " ;Fi8=J!9Z:Is27:F+{B=6D7Z:IJ!9!Z(1!>)!!L%N<-[CSCdSCSCSdSCS7SSSd5S+d-Sn"}, "Rio_Branco": {"data" : " \'Js$;s__=oXq\'3tdt3tdtn"}, "Los_Angeles": {"data" : " ls&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#+H#V#H#y\'H#w\'1=y11w7#=y1 "}, "St_Thomas": {"data" : " #aR$2W+d+dn"}, "Cancun": {"data" : " tguZ1*s:5FeCJw;FeCJw;k*5&y-Jw;ZBE6<;ZBE>LA_]9>LAFeCJw;FeCJw;ZBE6<;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCN41q#tdtdtdt(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t+t5t+(#J#(#+tn"} , "Maceio": {"data" : " 5Fi8=k*5k>()k*5g}X%_]9F]GRURc`!g5OCSCSCSCSCS+SESn"}, "Sitka": {"data" : " l&(<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#+X#V#X#y\'X#w\'1=y11w7#=y1 "}, "Denver": {"data" : " lc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#V#8#y\'8#w\'1=y11w7#=y1 "} , "Cayman": {"data" : " #qVL}Y+t+tn"}, "Thunder_Bay": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "}, "Nipigon": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "}, "Havana": {"data" : " zB.8=s2?2*Cs2?.LAc2?.LAc2?.LAc2?.LAc2?.LAwm?wm?wm?.LANT=kBE&<;!!G&<;kBE&<;kBE:w;VeC:w;VeC&<;Z&q#FD7J:IZ!96]GFD7J:IZ!9J:IZ!9_uIZ!9!!G2g5}#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtd+ts#ty\'ts7#=y s\'1=y 1"} , "Campo_Grande": {"data" : " >#Vi8=k*5:2Mk*5&TKVL3NmM.41NmM!g5ouI!g5ouIk*5ouI6D7kBINT9F]G6D7F]G_]9F]G6D7ouI!g5NmMBo1&TKk*5o}M6<3ouI!g5NmMVL3Z:I!g5&TKk*5&TK!g5ouI!g5ouI6D7ouIk*5&TKk*5&TK!g5ouI!g5ouI!g5ouI!g5NmMBo1a%SdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+dV%dn"}, "Cambridge_Bay": {"data" : " hc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;F@bN}Esc`Jw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIX#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#t(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#n8#/(#(#U8#y\'8#w\'1=y11w7#=y1 "} , "Fortaleza": {"data" : " 1Fi8=k*5kkw-_]9F]GRURc`!g5GCSCSCSCS+S=Sn"}, "Managua": {"data" : " 3J:T/{.<1oPO_<12sq%oHy+R2?>DEc:;K(#t(#t(#t(#t(#7(#t(#t5(#n"}, "Menominee": {"data" : " lR&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+(#V#(#y\'(#w\'1=y11w7#=y1 "}, "Halifax": {"data" : " l2&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#dSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+dV#dy\'dw\'1=y11w7#=y1 "} , "Ojinaga": {"data" : " ^u.4Wsw*!#FeCJw;FeCg@bJw;ZBE6<;ZBE>LA_]9>LAFeCJw;FeCJw;ZBE6<;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCk!9NuID#(#t(#t(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+(#1(#+8##y\'8#w\'1=y11w7#=y1 "}, "Glace_Bay": {"data" : " l2&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#dSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+dV#dy\'dw\'1=y11w7#=y1 "}, "Lower_Princes": {"data" : " #m_X\'+d+dn"}, "Argentina/Tucuman": {"data" : " =Fi8=J!9Z:I6D7k:I&D7Z:IJ!92c(1RE>mR%N<-2!G_]9`CSCdCSCSdSCSCS7SSSd1S+d5Sn"} , "Indiana/Petersburg": {"data" : " +g<:+sJ8KVD7F@bNuI;t(#tdt;(#(#(#tty\'tw\'1=y11w7#=y1 "}, "Yakutat": {"data" : " l&(<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#+X#V#X#y\'X#w\'1=y11w7#=y1 "}, "Detroit": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "} , "Merida": {"data" : " ?F,>3Z_X3FeCJw;FeCJw;FeCJw;ZBE6<;ZBE>LA_]9>LAFeCd(#t(#t(#t(#t(#t(#t(#t(#+(#Y(#y\'(#w)#=y11w5\u001e=n1 "}, "Bahia_Banderas": {"data" : " bF#kguEFeCJw;FeCJw;FeCJw;ZBE6<;ZBE>LA_]9>LAFeCJw;FeCJw;ZBE6<;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;JBE6<;L#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#t(#t+8#6#8#3(#(#(#y\'(#w)#=y11w5\u001e=n1 "}, "Matamoros": {"data" : " `6$V;kg@+FeCJw;FeCJw;FeCJw;ZBE6<;ZBE>LA_]9>LAFeCJw;FeCJw;ZBE6<;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCk!9NuIH#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+(#>#(#y\'(#w\'1=y11w7#=y1 "} , "Indiana/Vevay": {"data" : " +R_$%V$(QZBEVD7NuI;tdtdt+t1ty\'tw\'1=y11w7#=y1 "}, "St_Barthelemy": {"data" : " #aR$2W+d+dn"}, "Argentina/San_Luis": {"data" : " ;Fi8=2w9!oEwe7J_/o,B3!>)!!L%w<#k_\'2!G_]92!G[CdSdSdSCSdSdS+S-d7SdSS1d+Sn"}, "Indiana/Tell_City": {"data" : " )c{UwiwSVD7NuI7t(#t(#+t-(#y\'(#w\'1=y11w7#=y1 "}, "Boa_Vista": {"data" : " +:s$;ZND1_]9F]Ge%;dSdSd+d1dn"}, "Metlakatla": {"data" : " 5o8{3N$&OVD7NuIBg5NuIBg5ssW{g\'NuIOH#X#H#X#H#X#H#X#H#X#+H#EX#y\'X#w\'1=y11w7#=y1 "}, "Tortola": {"data" : " #aR$2W+d+dn"} , "Argentina/Jujuy": {"data" : " 5Fi8=J!9!wIJ!9geCN]9Z:IJ!9N<_5N<-OCdSdCSCSCS+S-d+S5Sn"}, "North_Dakota/New_Salem": {"data" : " jc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;F@bZBE6<;ZBE6<;ZBEVD7NuI]#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#t(#t(#t(#t(#+8#2#8#+(#=(#y\'(#w\'1=y11w7#=y1 "}, "Inuvik": {"data" : " lc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#V#8#y\'8#w\'1=y11w7#=y1 "} , "Port_of_Spain": {"data" : " #aR$2W+d+dn"}, "Paramaribo": {"data" : " #NmZ5+S+Sn"}, "New_York": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "}, "Manaus": {"data" : " \':s$;!{()!g53dSd3dddn"}, "Resolute": {"data" : " fR&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;wD,#Jw;FeCJw;FeCJw;ZBE6<;ZBE6<;.$.#Bg5T#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t+(#J#(#y\'(#w\'1=y11w7#=y1 "} , "Curacao": {"data" : " #m_X\'+d+dn"}, "North_Dakota/Beulah": {"data" : " zc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIBg5NuIBg5NuIVD7F@bNuI}#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#t(#+8#k#8#/(#(#y\'(#w\'1=y11w7#=y1 "}, "Bogota": {"data" : " \'m4*uS:,HDjRk[3tdt3tttn"}, "Adak": {"data" : " l6(<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#X#i#+i#V#i#y\'i#w\'1=y11w7#=y1 "} , "Mazatlan": {"data" : " ?F#kguEFeCJw;FeCJw;FeCJw;ZBE6<;ZBE>LA_]9>LAFeCd8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#Y8#y\'8#w)#=y11w5\u001e=n1 "}, "Caracas": {"data" : " \'m_X\'!:w^NP$-3dld3dldn"}, "St_Kitts": {"data" : " #aR$2W+d+dn"}, "Argentina/Salta": {"data" : " 5Fi8=J!9Z:I6D7k:I&D7Z:IJ!9N<_5N<-OCSCdCSCSCS7SSSd9Sn"}, "Mexico_City": {"data" : " ?(i};&TubFeCJw;FeCJw;FeCJw;ZBE6<;ZBE>LA_]9>LAFeCd(#t(#t(#t(#t(#t(#t(#t(#+(#Y(#y\'(#w)#=y11w5\u001e=n1 "}, "Edmonton": {"data" : " lc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#V#8#y\'8#w\'1=y11w7#=y1 "} , "Kentucky/Louisville": {"data" : " lB&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+tV#ty\'tw\'1=y11w7#=y1 "}, "Araguaina": {"data" : " IFi8=k*5k>()k*5ouI6D7kBINT9F]G6D7F]G_]9F]G6D7ouI!g5NmMBo16({-k*5xCSCSCSCSCSCSCSCSCSCS+SnSn"}, "Santo_Domingo": {"data" : " \'{cL\'J6eEBN%3dtd3dtdn"}, "Indiana/Knox": {"data" : " /R&<=6<;ZBEJw;Z&47VD7NuIC(#t(#t(#t(#+(#9(#y\'(#w\'1=y11w7#=y1 "}, "Whitehorse": {"data" : " ls&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#+H#V#H#y\'H#w\'1=y11w7#=y1 "}, "Yellowknife": {"data" : " lc&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#(#8#+8#V#8#y\'8#w\'1=y11w7#=y1 "}, "Kentucky/Monticello": {"data" : " jR&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;F@bZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuI]#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#tdtdtdtdtdtdtdt+(#v(#+tUty\'tw\'1=y11w7#=y1 "} , "Asuncion": {"data" : " &#kF:=*w;:w?gm?.DA_]9B*GsB?J!A!o9!wEoe92!GR*;R2GJ!9F]G_]92!Gs:;{BEs:;{BEs:;2!Ggm?!_9o}E6<;ZBER*C_]92!G_]92!G_]9F]GJ!9F]GJ!9F]GR2?s2?{JAs2?{JA*o?>T=0%SdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+d&%dy\'dw5#=y 1w\'M=y "}, "Santarem": {"data" : " %:s$;s__=/dS/dSn"}, "Antigua": {"data" : " #aR$2W+d+dn"}, "Winnipeg": {"data" : " lc&<=&<;kBE:w;VeC:w;VeC:w;kBE&<;kBE&<;kBE:w;VeC:w;VeC:w;VeC:w;kBE&<;kBE&<;kBE:w;VeC:w;VeC:w;kBE&<;kBE&<;ZBEVD7NuIa#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+(#V#(#y\'(#w\'1=y11w7#=y1 "} , "Recife": {"data" : " 1Fi8=k*5kkw-_]9F]Ge%g@b!g5GCSCSCSCS+S=Sn"}, "Lima": {"data" : " +2VH9FX{#gL/sca%gL/;tdtdt+t1tn"}, "Phoenix": {"data" : " #u*V#+8#+8#n"}, "Martinique": {"data" : " #k{e/+d+dn"}, "St_Johns": {"data" : " !#>.P>36<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIBg5NuIBg5NuIVD7NuIBg5g:];Bg5(%[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K[K+[{#[y\'[w\'1=y11w7#=y1 "}, "Goose_Bay": {"data" : " !#w2P>36<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIBg5NuIBg5NuIVD7NuIBg5g:];Bg5(%dSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdS+d{#dy\'dw\'1=y11w7#=y1 "} , "Montevideo": {"data" : " ^o$<=k*5ouI6D7ouI!g5Z:I6D7R>>1>LAR*Cs:;geC*w;{BEs:;{BEs:;{BE*w;geC*w;geC*w;{BEs:;{BEs:;{BEs:;D#CSCSCSCSCSCSCSCSCSCSCSCSCSCSCS+S:#Sn"}, "St_Lucia": {"data" : " #aR$2W+d+dn"}, "Chicago": {"data" : " lR&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+(#V#(#y\'(#w\'1=y11w7#=y1 "}, "Chihuahua": {"data" : " =u.4Wsw*!#FeCJw;FeCg@bJw;ZBE6<;ZBE>LA_]9>LAFeC`(#t(#t(#8#(#8#(#8#(#8#(#8#+(#1(#+8#A8#y\'8#w)#=y11w5\u001e=n1 "} , "La_Paz": {"data" : " #LmZgC+d+dn"}, "Blanc-Sablon": {"data" : " #qmLC+d+dn"}, "Tijuana": {"data" : " xs&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCk!9NuIy#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#+H#o#H#y\'H#w\'1=y11w7#=y1 "}, "Barbados": {"data" : " #Zce/+d+dn"}, "Anchorage": {"data" : " l&(<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#+X#V#X#y\'X#w\'1=y11w7#=y1 "} , "Rainy_River": {"data" : " lR&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#t(#+(#V#(#y\'(#w\'1=y11w7#=y1 "}, "Port-au-Prince": {"data" : " `B&<=&<;kBE:w;VeC:w;VeC:w;kBE&<;kBE&<;kBE:w;VeC:w;VeCJg@+ZBE6<;ZBE_0q\'NuIBg5NuIBg5NuIBg5NuIsFzNuIH#tdtdtdtdtdtdtdtdtdtdtdtdtdtdtdt+t>#ty\'tw\'1=y11w7#=y1 "}, "Tegucigalpa": {"data" : " \'koN;6$a964/3(#t(#3(#(#(#n"}, "Cayenne": {"data" : " #L_Z#+S+Sn"} , "Marigot": {"data" : " #aR$2W+d+dn"}, "Juneau": {"data" : " l&(<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#H#X#+X#V#X#y\'X#w\'1=y11w7#=y1 "}, "Atikokan": {"data" : " #HX(K+t+(#n"}, "Argentina/Rio_Gallegos": {"data" : " 9Fi8=J!9Z:I6D7Z:I6D7Z:IJ!92c(1g$#*2R%N<-WCSCSCSCSdSCS+S=S+d-Sn"}, "Dawson_Creek": {"data" : " #V0a#+8#+H#n"}, "Dominica": {"data" : " #aR$2W+d+dn"}, "Fort_Nelson": {"data" : " .#s&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIBg5NuIBg5NuIVD7NuIBg5NuIBg5NuIBg5NuIBg5NuIBg5@%H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#H#8#+H#2%H#+8#n"}}, "Africa": {"Tunis": {"data" : " 7&q4=B2Gc*;c_N5s*;6D?!!Go]9!!G&<;kBES1A1A1A1A1A1+1I1n"}, "Maputo": {"data" : " #L41&<;J_+BN%gL3o]9!F)V,\'{*5o]9kg\'BN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RY" + "BN%&uWV,\'&uWBN%:RYBN%&uWBN%m/ 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1+ R# +1.-1n"}, "Johannesburg": {"data" : " #<_VE+A+An"}, "Addis_Ababa": {"data" : " #L42c)+Q+Qn"}, "Lagos": {"data" : " #q.{]O+1+1n"}, "Accra": {"data" : " #q:_a9+ + n"}, "Nairobi": {"data" : " #L42c)+Q+Qn"}, "Brazzaville": {"data" : " #q.{]O+1+1n"}, "Lubumbashi": {"data" : " #L41&<;J_+BN%gL3o]9!F)V,\'{*5o]9kg\'BN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWV,\'&uWBN%:RYBN%&uWBN%:RYBN%&uWV,\'&uWBN%:RY" + "BN%&uWV,\'&uWBN%:RYBN%&uWBN%m/ 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 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1+ R# +1.-1n"}, "Sao_Tome": {"data" : " \'D:ktoDB_#gHb3 1 3 1 n"}, "Ceuta": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}, "Khartoum": {"data" : " \':2D7g]85J&m93AQA3AQAn"}, "Algiers": {"data" : " #_L01+1+1n"}, "Bujumbura": {"data" : " #LTEs:;.LEs:;.LEs:;.LEs:;>TEs:;.LEs:;.LEs:;.LEs:;>TEs:;.LEs:;.LEB!;_eE&<7.TI_T5B2Kk*56]K&43_$%c^VuX%F,\'RN%_<)4%AQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQAQA+A*%An"}, "Blantyre": {"data" : " #LLAR2?2!Gs:;{BEs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;R*C{JA>LAs:;2!G_]92!G_]92!G_]92!Gs:;{BEs:;{BEs:;2!G_]92!G>T=R*Cs:;{BER2?>LAZBEco1w0MBg5NuIVD7::IVD7644#:V/D%SdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdS+d:%dn"}, "Troll": {"data" : " \'ZeR4o12(]g23!!G3 A 3 y\' u\'\u001e=n)Au5\u001e=n) "}, "Casey": {"data" : " /P,dR:D[gm7Ny0#Jw3Jw@\':.|CF#w#F#w#F#w#F#CF#w#F#w#F#w#F#n"}, "Vostok": {"data" : " #(0a1+&#+&#n"}, "Syowa": {"data" : " #u:>3+Q+Qn"}, "DumontDUrville": {"data" : " #DBN3+g#+g#n"}, "McMurdo": {"data" : " nw(8=:w;VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=B*CNT=VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=VeC:w;VeC:w;VeCNT=B*CNT=B*CNT=B*CNT=B*C.LAe#:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%:%*%+*%Z#*%y\'*%s3\u001e=n11s)#=y1 "}, "Mawson": {"data" : " %uBJ7:R*r/&#r/&#rn"}, "Davis": {"data" : " +,>^>L>[ND9gD0#kw3;6#r6#r6#;6#r6#r6#n"}, "Rothera": {"data" : " #>4})+S+Sn"}}, "Australia": {"Broken_Hill": {"data" : " p!!<=2g5_uI2g5_uI2g5_uIFD7_uI2g5_uI2g5_uI&<;kBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!G&<;kBEo]9!!G:w;wm?i#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#+_#_#_#y\'_#s)#=y1 s5#=y11"} , "Darwin": {"data" : " #D&VE+_#+_#n"}, "Brisbane": {"data" : " -w}:=2g5_uI2g5_uI2g5?w#g#w#g#w#g#+g#5g#n"}, "Currie": {"data" : " nw}:=Z!96]G&<;.LAc2?.LAc2?.LAc2?.LAc2?.LAwm?.LAc2?.LAc2?.LAc2?.LAc2?&<;kBEB*Cc2?.LAc2?.LAc2?.LAc2?.LAwm?wm?c2?B*Cwm?e#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#+g#Z#g#y\'g#s5#=y11s)#=y1 "}, "Lord_Howe": {"data" : " po}:=*g5guI*g5guI*g5guI>D7guI*g5guI*g5guI{:;sBE{:;sBE{:;sBE{:;*!Gg]9.<;cBE*!G{:;sBE{:;sBE{:;*!Gg]9*!G{:;sBEg]9*!G2w;!o?i#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#o#w#+o#_#o#y\'o#w)#=y1 w5#=y1)"} , "Lindeman": {"data" : " 5w}:=2g5_uI2g5_uI2g5_uIFD7_uI2g5Ow#g#w#g#w#g#w#g#w#g#+g#Eg#n"}, "Perth": {"data" : " 3.]45_]R+Ro1_DZ5gL3!!G&<;kBE&<;KF#V#F#V#F#V#F#V#F#+F#AF#n"}, "Adelaide": {"data" : " p!!<=Z!96]G2g5_uIo]9!!GFD7_uIZ!96]Go]9!!G&<;kBE&<;kBE&<;kBE&<;!!Go]9!!Go]9!!G&<;kBE&<;kBE&<;!!Go]9!!G&<;kBEo]9!!G:w;wm?i#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#_#o#+_#_#_#y\'_#s)#=y1 s5#=y11"}, "Eucla": {"data" : " 3&w:_-_]R+Ro1_DZ5gL3!!G&<;kBE&<;Kc|w*#c|w*#c|w*#c|w*#c|+c|Ac|n"} , "Sydney": {"data" : " pw}:=2g5_uI2g5_uI2g5_uIFD7_uI2g5_uI2g5_uI&<;kBE&<;kBE&<;kBE&<;!!Go]9&<;kBE!!G&<;kBE&<;kBE&<;!!Go]9!!G&<;kBEo]9!!G:w;wm?i#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#+g#_#g#y\'g#s)#=y1 s5#=y11"}, "Melbourne": {"data" : " pw}:=Z!96]G2g5_uI2g5_uIFD7_uI2g5_uIo]9!!G&<;kBE&<;kBE&<;kBE&<;!!Go]9&<;kBE!!G&<;kBE&<;kBE&<;!!Go]9!!G&<;kBEo]9!!G:w;wm?i#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#+g#_#g#y\'g#s)#=y1 s5#=y11"}, "Hobart": {"data" : " nw}:=Z!96]G&<;.LAc2?.LAc2?.LAc2?.LAc2?.LAwm?.LAc2?.LAc2?.LAc2?.LAc2?&<;kBEB*Cc2?.LAc2?.LAc2?.LAc2?.LAwm?wm?c2?B*Cwm?e#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#w#g#+g#Z#g#y\'g#s5#=y11s)#=y1 "}}, "Arctic": {"Longyearbyen": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd1A1A1A1A1A1A1A1+1Y1y\'1u\'\u001e=n)1u5\u001e=n) "}}, "Atlantic": {"St_Helena": {"data" : " #y!_8W+ + n"}, "Reykjavik": {"data" : " #yP8#+ + n"}, "Stanley": {"data" : " xNX2=&]Gk!9&]G!_9o}E!_9o}E!_9o}E!_9o}E!_9&]G!_9o}E!_9o}E!_9o}E!_9o}E!_92!Gk!9::IVD7::Ik!9&]Gk!9&]Gk!9&]Gk!9&]Gk!9::Ik!9&]Gk!9&]Gk!9y#SdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdS+dk#d+Sn"} , "Faroe": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "Madeira": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "Canary": {"data" : " ?Fq4=wm?.LAwm?wm?wm?wm?wm?wm?wm?wm?wm?wm?.LAkBEd 1 1 1 1 1 1 1 + Y y\' u\'\u001e=n)1u5\u001e=n) "}, "Bermuda": {"data" : " l2&<=6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEJw;FeCJw;FeCJw;ZBE6<;ZBE6<;ZBEVD7NuIa#dSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSdSd+dV#dy\'dw\'1=y11w7#=y1 "} , "Azores": {"data" : " ;Vq4=wm?.LAwm?wm?wm?&q&#wm?wm?wm?wm?.LAkBE[3 3 3 3 3 3 3+3Q3y\'3u\'\u001e=n)1u5\u001e=n) "}, "South_Georgia": {"data" : " #0:(Xl+C+Cn"}, "Cape_Verde": {"data" : " #>L8)+3+3n"}}}; } function ju_IANATimeZone() { var a = this; ju_TimeZone.call(a); a.$underlyingZone = null; a.$rawOffset = 0; a.$diff = 0; } function ju_IANATimeZone__init_(var_0) { var var_1 = new ju_IANATimeZone(); ju_IANATimeZone__init_0(var_1, var_0); return var_1; } function ju_IANATimeZone__init_0($this, $underlyingZone) { $this.$id2 = $underlyingZone.$iID; $this.$underlyingZone = $underlyingZone; $this.$rawOffset = $underlyingZone.$getStandardOffset(jl_System_currentTimeMillis()); $this.$diff = -$this.$rawOffset; } function ju_IANATimeZone_getOffset($this, $time) { return ($this.$rawOffset + $this.$diff | 0) + $this.$underlyingZone.$getOffset($time) | 0; } function ju_IANATimeZone_clone($this) { var $copy, $$je; a: { try { $copy = jl_Object_clone($this); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } $copy = null; } $copy = $copy; $copy.$rawOffset = $this.$rawOffset; $copy.$underlyingZone = $this.$underlyingZone; return $copy; } function ju_IANATimeZone_clone0($this) { return ju_IANATimeZone_clone($this); } function otcit_DateTimeZone() { jl_Object.call(this); this.$iID = null; } function otcit_DateTimeZone_getID($this) { return $this.$iID; } function otcit_StorableDateTimeZone() { otcit_DateTimeZone.call(this); } function otcit_StorableDateTimeZone__init_0(var_0) { var var_1 = new otcit_StorableDateTimeZone(); otcit_StorableDateTimeZone__init_(var_1, var_0); return var_1; } function otcit_StorableDateTimeZone__init_($this, $id) { var var$2; if ($id !== null) { $this.$iID = $id; return; } var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, $rt_s(312)); $rt_throw(var$2); } function otcit_StorableDateTimeZone_readTime($flow) { var var$2, $value; var$2 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); $value = Long_div(var$2, Long_fromInt(2)); if (Long_ne(Long_rem(var$2, Long_fromInt(2)), Long_ZERO)) $value = Long_neg($value); if (Long_ne(Long_and($value, Long_fromInt(1)), Long_ZERO)) return Long_mul(Long_shr($value, 1), Long_fromInt(60000)); return Long_mul(Long_shr($value, 1), Long_fromInt(1800000)); } function otcit_StorableDateTimeZone_readTimeArray($flow, $array) { var $index, var$4, $count, var$6, $t, var$8; $index = 0; while (true) { var$4 = $array.data; if ($index >= var$4.length) break; $count = otci_Base46_decode($flow); if ($count < 0) { var$6 = $count ^ (-1); while (true) { $t = var$6 + (-1) | 0; if (var$6 <= 0) break; var$8 = $index + 1 | 0; var$4[$index] = otcit_StorableDateTimeZone_readTime($flow).lo; var$6 = $t; $index = var$8; } } else { $t = otcit_StorableDateTimeZone_readTime($flow).lo; while (true) { var$8 = $count + (-1) | 0; if ($count <= 0) break; var$6 = $index + 1 | 0; var$4[$index] = $t; $count = var$8; $index = var$6; } } } } function otcit_FixedDateTimeZone() { var a = this; otcit_StorableDateTimeZone.call(a); a.$iWallOffset = 0; a.$iStandardOffset = 0; } function otcit_FixedDateTimeZone__init_(var_0, var_1, var_2) { var var_3 = new otcit_FixedDateTimeZone(); otcit_FixedDateTimeZone__init_0(var_3, var_0, var_1, var_2); return var_3; } function otcit_FixedDateTimeZone__init_0($this, $id, $wallOffset, $standardOffset) { otcit_StorableDateTimeZone__init_($this, $id); $this.$iWallOffset = $wallOffset; $this.$iStandardOffset = $standardOffset; } function otcit_FixedDateTimeZone_getOffset($this, $instant) { return $this.$iWallOffset; } function otcit_FixedDateTimeZone_getStandardOffset($this, $instant) { return $this.$iStandardOffset; } function otcit_FixedDateTimeZone_previousTransition($this, $instant) { return $instant; } function ju_AbstractQueue() { ju_AbstractCollection.call(this); } function ju_AbstractQueue_add($this, $e) { if (ju_PriorityQueue_offer($this, $e)) return 1; $e = new jl_IllegalStateException; jl_Throwable__init_0($e); $rt_throw($e); } function ju_AbstractQueue_remove($this) { var var$1; if (!ju_AbstractCollection_isEmpty($this)) return ju_PriorityQueue_poll($this); var$1 = new ju_NoSuchElementException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } function ju_PriorityQueue() { var a = this; ju_AbstractQueue.call(a); a.$data0 = null; a.$comparator = null; a.$originalComparator = null; a.$size4 = 0; a.$version = 0; } function ju_PriorityQueue_setComparator($this, $comparator) { $this.$originalComparator = $comparator; if ($comparator === null) { $comparator = new ju_PriorityQueue$1; $comparator.$this$00 = $this; } $this.$comparator = $comparator; } function ju_PriorityQueue_offer($this, $e) { var $current, $current_0; if ($e === null) { $e = new jl_NullPointerException; jl_Throwable__init_0($e); $rt_throw($e); } $current = $this.$size4 + 1 | 0; if ($this.$data0.data.length < $current) { $current = jl_Math_max($current, ($this.$data0.data.length * 3 | 0) / 2 | 0); $this.$data0 = ju_Arrays_copyOf1($this.$data0, $current); } $current = $this.$size4; while ($current > 0) { $current_0 = ($current - 1 | 0) / 2 | 0; if ($this.$comparator.$compare($e, $this.$data0.data[$current_0]) >= 0) break; $this.$data0.data[$current] = $this.$data0.data[$current_0]; $current = $current_0; } $this.$data0.data[$current] = $e; $this.$size4 = $this.$size4 + 1 | 0; $this.$version = $this.$version + 1 | 0; return 1; } function ju_PriorityQueue_poll($this) { var $elem, var$2, var$3, var$4, var$5, var$6; if (!$this.$size4) return null; $elem = $this.$data0.data[0]; var$2 = 0; $this.$version = $this.$version + 1 | 0; var$3 = $this.$data0.data[$this.$size4 - 1 | 0]; a: { while (true) { var$4 = (var$2 * 2 | 0) + 1 | 0; var$5 = var$4 + 1 | 0; if (var$4 >= $this.$size4) break; if (var$5 < $this.$size4 && $this.$comparator.$compare($this.$data0.data[var$4], $this.$data0.data[var$5]) >= 0) var$4 = var$5; if ($this.$comparator.$compare(var$3, $this.$data0.data[var$4]) <= 0) break a; $this.$data0.data[var$2] = $this.$data0.data[var$4]; var$2 = var$4; } } $this.$data0.data[var$2] = var$3; var$6 = $this.$data0.data; var$2 = $this.$size4 - 1 | 0; $this.$size4 = var$2; var$6[var$2] = null; return $elem; } function ju_PriorityQueue_size($this) { return $this.$size4; } function otcit_DateTimeZoneProvider$1() { jl_Object.call(this); } function otcit_DateTimeZoneProvider$1_compare($this, $o1, $o2) { return jl_Long_compareTo($o2, $o1); } function otcit_DateTimeZoneProvider$1_compare0($this, var$1, var$2) { return jl_Long_compareTo(var$2, var$1); } function jl_Long() { jl_Number.call(this); this.$value2 = Long_ZERO; } var jl_Long_TYPE = null; function jl_Long_valueOf($value) { var var$2; var$2 = new jl_Long; var$2.$value2 = $value; return var$2; } function jl_Long_longValue($this) { return $this.$value2; } function jl_Long_hashCode($this) { var var$1; var$1 = $this.$value2; return var$1.lo ^ var$1.hi; } function jl_Long_equals($this, $other) { if ($this === $other) return 1; return $other instanceof jl_Long && Long_eq($other.$value2, $this.$value2) ? 1 : 0; } function jl_Long_compareTo($this, $other) { return Long_compare($this.$value2, $other.$value2); } function jl_Long_compareTo0($this, var$1) { return jl_Long_compareTo($this, var$1); } function jl_Long__clinit_() { jl_Long_TYPE = $rt_cls($rt_longcls()); } function otcit_AliasDateTimeZone() { otcit_StorableDateTimeZone.call(this); this.$innerZone = null; } function otcit_AliasDateTimeZone_getOffset($this, $instant) { return $this.$innerZone.$getOffset($instant); } function otcit_AliasDateTimeZone_getStandardOffset($this, $instant) { return $this.$innerZone.$getStandardOffset($instant); } function otcit_AliasDateTimeZone_previousTransition($this, $instant) { return $this.$innerZone.$previousTransition($instant); } function jl_Math() { jl_Object.call(this); } function jl_Math_sin(var$1) { return Math.sin(var$1); } function jl_Math_cos(var$1) { return Math.cos(var$1); } function jl_Math_atan(var$1) { return Math.atan(var$1); } function jl_Math_log(var$1) { return Math.log(var$1); } function jl_Math_sqrt(var$1) { return Math.sqrt(var$1); } function jl_Math_ceil(var$1) { return Math.ceil(var$1); } function jl_Math_floor(var$1) { return Math.floor(var$1); } function jl_Math_pow(var$1, var$2) { return Math.pow(var$1, var$2); } function jl_Math_atan2(var$1, var$2) { return Math.atan2(var$1, var$2); } function jl_Math_random() { return jl_Math_randomImpl(); } function jl_Math_randomImpl() { return Math.random(); } function jl_Math_min($a, $b) { if ($a < $b) $b = $a; return $b; } function jl_Math_max($a, $b) { if ($a > $b) $b = $a; return $b; } function jl_Math_max0($a, $b) { if ($a > $b) $b = $a; return $b; } function jl_Math_abs0($n) { if ($n <= 0) $n = -$n; return $n; } function jl_Math_abs($n) { if ($n <= 0.0) $n = -$n; return $n; } function otcit_DateTimeZoneProvider$Score() { var a = this; jl_Object.call(a); a.$tz = null; a.$value1 = 0; } function otcit_DateTimeZoneProvider$Score__init_(var_0) { var var_1 = new otcit_DateTimeZoneProvider$Score(); otcit_DateTimeZoneProvider$Score__init_0(var_1, var_0); return var_1; } function otcit_DateTimeZoneProvider$Score__init_0($this, $tz) { $this.$tz = $tz; } function juf_Function() { } function otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0() { jl_Object.call(this); } function otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0__init_() { var var_0 = new otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0(); otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0__init_0(var_0); return var_0; } function otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0__init_0(var$0) { return; } function otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0_apply(var$0, var$1) { return ju_ArrayList__init_(); } function ju_PriorityQueue$1() { jl_Object.call(this); this.$this$00 = null; } function ju_PriorityQueue$1_compare($this, $o1, $o2) { if ($rt_isInstance($o1, jl_Comparable)) return $o1.$compareTo2($o2); return -$o2.$compareTo2($o1); } function otci_CharFlow() { var a = this; jl_Object.call(a); a.$characters0 = null; a.$pointer = 0; } function otci_CharFlow__init_(var_0) { var var_1 = new otci_CharFlow(); otci_CharFlow__init_0(var_1, var_0); return var_1; } function otci_CharFlow__init_0($this, $characters) { $this.$characters0 = $characters; } function otci_Base46() { jl_Object.call(this); } function otci_Base46_decodeUnsigned($seq) { var $number, $pos, var$4, $hasMore, $digit; $number = 0; $pos = 1; while (true) { var$4 = $seq.$characters0.data; $hasMore = $seq.$pointer; $seq.$pointer = $hasMore + 1 | 0; $digit = otci_Base46_decodeDigit(var$4[$hasMore]); $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; } function otci_Base46_decode($seq) { var $number, $result; $number = otci_Base46_decodeUnsigned($seq); $result = $number / 2 | 0; if ($number % 2 | 0) $result = -$result; return $result; } function otci_Base46_decodeDigit($c) { if ($c < 34) return $c - 32 | 0; if ($c >= 92) return ($c - 32 | 0) - 2 | 0; return ($c - 32 | 0) - 1 | 0; } function otcit_DateTimeZoneBuilder$PrecalculatedZone() { var a = this; otcit_StorableDateTimeZone.call(a); a.$iTransitions = null; a.$iWallOffsets = null; a.$iStandardOffsets = null; a.$iTailZone = null; } function otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset($this, $instant) { var $transitions, $i; $transitions = $this.$iTransitions; $i = ju_Arrays_binarySearch($transitions, $instant); if ($i >= 0) return $this.$iWallOffsets.data[$i]; $transitions = $transitions.data; $i = $i ^ (-1); if ($i < $transitions.length) { if ($i <= 0) return 0; return $this.$iWallOffsets.data[$i - 1 | 0]; } if ($this.$iTailZone !== null) return otcit_DateTimeZoneBuilder$DSTZone_getOffset($this.$iTailZone, $instant); return $this.$iWallOffsets.data[$i - 1 | 0]; } function otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset($this, $instant) { var $transitions, $i; $transitions = $this.$iTransitions; $i = ju_Arrays_binarySearch($transitions, $instant); if ($i >= 0) return $this.$iStandardOffsets.data[$i]; $transitions = $transitions.data; $i = $i ^ (-1); if ($i < $transitions.length) { if ($i <= 0) return 0; return $this.$iStandardOffsets.data[$i - 1 | 0]; } if ($this.$iTailZone !== null) return $this.$iTailZone.$iStandardOffset0; return $this.$iStandardOffsets.data[$i - 1 | 0]; } function otcit_DateTimeZoneBuilder$PrecalculatedZone_nextTransition($this, $instant) { var $transitions, $i, var$4, $end; $transitions = $this.$iTransitions; $i = ju_Arrays_binarySearch($transitions, $instant); $i = $i < 0 ? $i ^ (-1) : $i + 1 | 0; $transitions = $transitions.data; var$4 = $transitions.length; if ($i < var$4) return $transitions[$i]; if ($this.$iTailZone === null) return $instant; $end = $transitions[var$4 - 1 | 0]; if (Long_ge($instant, $end)) $end = $instant; return otcit_DateTimeZoneBuilder$DSTZone_nextTransition($this.$iTailZone, $end); } function otcit_DateTimeZoneBuilder$PrecalculatedZone_previousTransition($this, $instant) { var $transitions, $i, $prev; $transitions = $this.$iTransitions; $i = ju_Arrays_binarySearch($transitions, $instant); if ($i >= 0) { if (Long_le($instant, new Long(0, 2147483648))) return $instant; return Long_sub($instant, Long_fromInt(1)); } $transitions = $transitions.data; $i = $i ^ (-1); if ($i < $transitions.length) { if ($i > 0) { $prev = $transitions[$i - 1 | 0]; if (Long_gt($prev, new Long(0, 2147483648))) return Long_sub($prev, Long_fromInt(1)); } return $instant; } if ($this.$iTailZone !== null) { $prev = otcit_DateTimeZoneBuilder$DSTZone_previousTransition($this.$iTailZone, $instant); if (Long_lt($prev, $instant)) return $prev; } $prev = $transitions[$i - 1 | 0]; if (Long_le($prev, new Long(0, 2147483648))) return $instant; return Long_sub($prev, Long_fromInt(1)); } function otcit_DateTimeZoneBuilder$PrecalculatedZone_isCachable($this) { var $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, new Long(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() { var a = this; otcit_StorableDateTimeZone.call(a); a.$iStandardOffset0 = 0; a.$iStartRecurrence = null; a.$iEndRecurrence = null; } function otcit_DateTimeZoneBuilder$DSTZone_getOffset($this, $instant) { var var$2, var$3, var$4, var$5, var$6, var$7, $$je; var$2 = $this.$iStandardOffset0; var$3 = $this.$iStandardOffset0; var$4 = $this.$iStartRecurrence; var$5 = $this.$iEndRecurrence; a: { b: { try { var$6 = otcit_DateTimeZoneBuilder$Recurrence_next(var$4, $instant, var$3, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis(var$5)); } 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$6 = $instant; } c: { d: { try { var$7 = otcit_DateTimeZoneBuilder$Recurrence_next(var$5, $instant, var$3, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis(var$4)); } 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$7 = $instant; } if (Long_gt(var$6, var$7)) var$5 = var$4; return var$2 + var$5.$iSaveMillis | 0; } function otcit_DateTimeZoneBuilder$DSTZone_getStandardOffset($this, $instant) { return $this.$iStandardOffset0; } function otcit_DateTimeZoneBuilder$DSTZone_nextTransition($this, $end) { var $standardOffset, $startRecurrence, $endRecurrence, $start, var$6, $end_0, $$je; $standardOffset = $this.$iStandardOffset0; $startRecurrence = $this.$iStartRecurrence; $endRecurrence = $this.$iEndRecurrence; a: { b: { try { c: { try { $start = otcit_DateTimeZoneBuilder$Recurrence_next($startRecurrence, $end, $standardOffset, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis($endRecurrence)); 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)); 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; } function otcit_DateTimeZoneBuilder$DSTZone_previousTransition($this, $instant) { var $end, $standardOffset, $startRecurrence, $endRecurrence, $start, var$7, $end_0, $$je; $end = Long_add($instant, Long_fromInt(1)); $standardOffset = $this.$iStandardOffset0; $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$DSTZone_readZone($id, $flow) { var $standardOffset, $startRecurrence, $endRecurrence; $standardOffset = otcit_StorableDateTimeZone_readTime($flow).lo; $startRecurrence = otcit_DateTimeZoneBuilder$Recurrence_read($flow); $endRecurrence = otcit_DateTimeZoneBuilder$Recurrence_read($flow); $flow = new otcit_DateTimeZoneBuilder$DSTZone; otcit_StorableDateTimeZone__init_($flow, $id); $flow.$iStandardOffset0 = $standardOffset; $flow.$iStartRecurrence = $startRecurrence; $flow.$iEndRecurrence = $endRecurrence; return $flow; } function otcit_CachedDateTimeZone() { var a = this; otcit_StorableDateTimeZone.call(a); a.$iZone = null; a.$iInfoCache = null; } var otcit_CachedDateTimeZone_cInfoCacheMask = 0; function otcit_CachedDateTimeZone_getOffset($this, $instant) { return otcit_CachedDateTimeZone$Info_getOffset(otcit_CachedDateTimeZone_getInfo($this, $instant), $instant); } function otcit_CachedDateTimeZone_getStandardOffset($this, $instant) { return otcit_CachedDateTimeZone$Info_getStandardOffset(otcit_CachedDateTimeZone_getInfo($this, $instant), $instant); } function otcit_CachedDateTimeZone_previousTransition($this, $instant) { return otcit_DateTimeZoneBuilder$PrecalculatedZone_previousTransition($this.$iZone, $instant); } function otcit_CachedDateTimeZone_getInfo($this, $millis) { var $period, $cache, $index, $info, var$6, var$7, var$8; $period = $millis.hi; $cache = $this.$iInfoCache.data; $index = $period & otcit_CachedDateTimeZone_cInfoCacheMask; $info = $cache[$index]; if (!($info !== null && $info.$iPeriodStart.hi == $period)) { var$6 = Long_and($millis, new Long(0, 4294967295)); $info = otcit_CachedDateTimeZone$Info__init_($this.$iZone, var$6); $millis = Long_or(var$6, new Long(4294967295, 0)); var$7 = $info; a: { while (true) { var$8 = otcit_DateTimeZoneBuilder$PrecalculatedZone_nextTransition($this.$iZone, var$6); if (Long_eq(var$8, var$6)) break a; if (Long_gt(var$8, $millis)) break; var$7.$iNextInfo = otcit_CachedDateTimeZone$Info__init_($this.$iZone, var$8); var$7 = var$7.$iNextInfo; var$6 = var$8; } } $cache[$index] = $info; } return $info; } function otcit_CachedDateTimeZone__clinit_() { otcit_CachedDateTimeZone_cInfoCacheMask = 511; } function otcit_DateTimeZoneBuilder$Recurrence() { var a = this; jl_Object.call(a); a.$iOfYear = null; a.$iSaveMillis = 0; } function otcit_DateTimeZoneBuilder$Recurrence_next($this, $instant, $standardOffset, $saveMillis) { return otcit_DateTimeZoneBuilder$OfYear_next($this.$iOfYear, $instant, $standardOffset, $saveMillis); } function otcit_DateTimeZoneBuilder$Recurrence_previous($this, $instant, $standardOffset, $saveMillis) { return otcit_DateTimeZoneBuilder$OfYear_previous($this.$iOfYear, $instant, $standardOffset, $saveMillis); } function otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis($this) { return $this.$iSaveMillis; } function otcit_DateTimeZoneBuilder$Recurrence_read($flow) { var var$2, var$3, $saveMillis, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ofYear; var$2 = $flow.$characters0.data; var$3 = $flow.$pointer; $flow.$pointer = var$3 + 1 | 0; $saveMillis = var$2[var$3]; var$3 = otci_Base46_decodeUnsigned($flow); var$5 = otci_Base46_decodeUnsigned($flow); var$6 = otci_Base46_decode($flow); var$2 = $flow.$characters0.data; var$7 = $flow.$pointer; $flow.$pointer = var$7 + 1 | 0; var$8 = var$2[var$7] != 121 ? 0 : 1; var$9 = Long_ZERO; var$10 = Long_fromInt(1); while (true) { var$2 = $flow.$characters0.data; var$11 = $flow.$pointer; $flow.$pointer = var$11 + 1 | 0; var$11 = otci_Base46_decodeDigit(var$2[var$11]); var$12 = (var$11 % 2 | 0) != 1 ? 0 : 1; var$9 = Long_add(var$9, Long_mul(var$10, Long_fromInt(var$11 / 2 | 0))); var$10 = Long_mul(var$10, Long_fromInt(46)); if (!var$12) break; } var$7 = (Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_mul(Long_shru(var$9, 1), Long_fromInt(60000)) : Long_mul(Long_shru(var$9, 1), Long_fromInt(1800000))).lo; $ofYear = new otcit_DateTimeZoneBuilder$OfYear; if ($saveMillis != 117 && $saveMillis != 119 && $saveMillis != 115) { $ofYear = new jl_IllegalArgumentException; jl_Throwable__init_($ofYear, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(313)), $saveMillis))); $rt_throw($ofYear); } $ofYear.$iMode = $saveMillis; $ofYear.$iMonthOfYear = var$3; $ofYear.$iDayOfMonth = var$5; $ofYear.$iDayOfWeek = var$6; $ofYear.$iAdvance = var$8; $ofYear.$iMillisOfDay = var$7; $saveMillis = otcit_StorableDateTimeZone_readTime($flow).lo; $flow = new otcit_DateTimeZoneBuilder$Recurrence; $flow.$iOfYear = $ofYear; $flow.$iSaveMillis = $saveMillis; return $flow; } function otcit_DateTimeZoneBuilder$OfYear() { var a = this; jl_Object.call(a); a.$iMode = 0; a.$iMonthOfYear = 0; a.$iDayOfMonth = 0; a.$iDayOfWeek = 0; a.$iAdvance = 0; a.$iMillisOfDay = 0; } function otcit_DateTimeZoneBuilder$OfYear_next($this, $instant, $offset, $saveMillis) { var var$4, $calendar; if ($this.$iMode == 119) $offset = $offset + $saveMillis | 0; else if ($this.$iMode != 115) $offset = 0; var$4 = Long_fromInt($offset); $instant = Long_add($instant, var$4); $calendar = ju_GregorianCalendar__init_0(otcit_DateTimeZoneBuilder_access$000()); ju_Calendar_setTimeInMillis($calendar, $instant); 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) { otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar); if (Long_le(ju_Calendar_getTimeInMillis($calendar), $instant)) { 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); } } else if (Long_le(ju_Calendar_getTimeInMillis($calendar), $instant)) { ju_GregorianCalendar_add($calendar, 1, 1); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthNext($this, $calendar); } return Long_sub(ju_Calendar_getTimeInMillis($calendar), var$4); } function otcit_DateTimeZoneBuilder$OfYear_previous($this, $instant, $offset, $saveMillis) { var var$4, $calendar; if ($this.$iMode == 119) $offset = $offset + $saveMillis | 0; else if ($this.$iMode != 115) $offset = 0; var$4 = Long_fromInt($offset); $instant = Long_add($instant, var$4); $calendar = ju_GregorianCalendar__init_0(otcit_DateTimeZoneBuilder_access$000()); ju_Calendar_setTimeInMillis($calendar, $instant); 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) { otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar); if (Long_ge(ju_Calendar_getTimeInMillis($calendar), $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); } } else if (Long_ge(ju_Calendar_getTimeInMillis($calendar), $instant)) { ju_GregorianCalendar_add($calendar, 1, (-1)); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthPrevious($this, $calendar); } return Long_sub(ju_Calendar_getTimeInMillis($calendar), var$4); } function otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthNext($this, $calendar) { a: { if (ju_Calendar_get($calendar, 2) == 1 && ju_Calendar_get($calendar, 5) == 29) while (true) { if (ju_GregorianCalendar_isLeapYear($calendar, ju_Calendar_get($calendar, 1))) break a; ju_GregorianCalendar_add($calendar, 1, 1); } } otcit_DateTimeZoneBuilder$OfYear_setDayOfMonth($this, $calendar); } function otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthPrevious($this, $calendar) { a: { if (ju_Calendar_get($calendar, 2) == 1 && ju_Calendar_get($calendar, 5) == 29) while (true) { if (ju_GregorianCalendar_isLeapYear($calendar, ju_Calendar_get($calendar, 1))) break a; ju_GregorianCalendar_add($calendar, 1, (-1)); } } otcit_DateTimeZoneBuilder$OfYear_setDayOfMonth($this, $calendar); } function otcit_DateTimeZoneBuilder$OfYear_setDayOfMonth($this, $calendar) { if ($this.$iDayOfMonth >= 0) ju_Calendar_set($calendar, 5, $this.$iDayOfMonth); else { ju_Calendar_set($calendar, 5, 1); ju_GregorianCalendar_add($calendar, 2, 1); ju_GregorianCalendar_add($calendar, 5, $this.$iDayOfMonth); } } function otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar) { var $dayOfWeek, $daysToAdd; $dayOfWeek = ju_Calendar_get($calendar, 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 otciu_UnicodeHelper() { jl_Object.call(this); } function otcit_CachedDateTimeZone$Info() { var a = this; jl_Object.call(a); a.$iPeriodStart = Long_ZERO; a.$iZoneRef = null; a.$iNextInfo = null; a.$iOffset = 0; a.$iStandardOffset1 = 0; } function otcit_CachedDateTimeZone$Info__init_(var_0, var_1) { var var_2 = new otcit_CachedDateTimeZone$Info(); otcit_CachedDateTimeZone$Info__init_0(var_2, var_0, var_1); return var_2; } function otcit_CachedDateTimeZone$Info__init_0($this, $zone, $periodStart) { $this.$iOffset = (-2147483648); $this.$iStandardOffset1 = (-2147483648); $this.$iPeriodStart = $periodStart; $this.$iZoneRef = $zone; } function otcit_CachedDateTimeZone$Info_getOffset($this, $millis) { if ($this.$iNextInfo !== null && Long_ge($millis, $this.$iNextInfo.$iPeriodStart)) return otcit_CachedDateTimeZone$Info_getOffset($this.$iNextInfo, $millis); if ($this.$iOffset == (-2147483648)) $this.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset($this.$iZoneRef, $this.$iPeriodStart); return $this.$iOffset; } function otcit_CachedDateTimeZone$Info_getStandardOffset($this, $millis) { if ($this.$iNextInfo !== null && Long_ge($millis, $this.$iNextInfo.$iPeriodStart)) return otcit_CachedDateTimeZone$Info_getStandardOffset($this.$iNextInfo, $millis); if ($this.$iStandardOffset1 == (-2147483648)) $this.$iStandardOffset1 = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset($this.$iZoneRef, $this.$iPeriodStart); return $this.$iStandardOffset1; } function jl_UnsupportedOperationException() { jl_RuntimeException.call(this); } function jn_ReadOnlyBufferException() { jl_UnsupportedOperationException.call(this); } function jn_BufferOverflowException() { jl_RuntimeException.call(this); } function jn_BufferUnderflowException() { jl_RuntimeException.call(this); } function ju_Map$Entry() { } function ju_MapEntry() { var a = this; jl_Object.call(a); a.$key0 = null; a.$value0 = null; } function ju_HashMap$HashEntry() { var a = this; ju_MapEntry.call(a); a.$origKeyHash = 0; a.$next1 = null; } function jl_StringIndexOutOfBoundsException() { jl_IndexOutOfBoundsException.call(this); } function cmm_GameSettings() { var a = this; jl_Object.call(a); a.$music = 0; a.$sound = 0; a.$invertMouse = 0; a.$showFrameRate = 0; a.$viewDistance = 0; a.$viewBobbing = 0; a.$anaglyph = 0; a.$limitFramerate = 0; a.$forwardKey = null; a.$leftKey = null; a.$backKey = null; a.$rightKey = null; a.$jumpKey = null; a.$buildKey = null; a.$chatKey = null; a.$toggleFogKey = null; a.$saveLocationKey = null; a.$loadLocationKey = null; a.$bindings = null; a.$minecraft3 = null; a.$settingCount = 0; } var cmm_GameSettings_renderDistances = null; function cmm_GameSettings__init_(var_0) { var var_1 = new cmm_GameSettings(); cmm_GameSettings__init_0(var_1, var_0); return var_1; } function cmm_GameSettings__init_0($this, $minecraft) { var var$2, var$3; $this.$music = 1; $this.$sound = 1; $this.$invertMouse = 0; $this.$showFrameRate = 0; $this.$viewDistance = 0; $this.$viewBobbing = 1; $this.$anaglyph = 0; $this.$limitFramerate = 0; $this.$forwardKey = cmm_KeyBinding__init_($rt_s(314), 17); $this.$leftKey = cmm_KeyBinding__init_($rt_s(315), 30); $this.$backKey = cmm_KeyBinding__init_($rt_s(316), 31); $this.$rightKey = cmm_KeyBinding__init_($rt_s(317), 32); $this.$jumpKey = cmm_KeyBinding__init_($rt_s(318), 57); $this.$buildKey = cmm_KeyBinding__init_($rt_s(319), 48); $this.$chatKey = cmm_KeyBinding__init_($rt_s(320), 20); $this.$toggleFogKey = cmm_KeyBinding__init_($rt_s(321), 33); $this.$saveLocationKey = cmm_KeyBinding__init_($rt_s(322), 28); $this.$loadLocationKey = cmm_KeyBinding__init_($rt_s(323), 19); var$2 = $rt_createArray(cmm_KeyBinding, 10); var$3 = var$2.data; var$3[0] = $this.$forwardKey; var$3[1] = $this.$leftKey; var$3[2] = $this.$backKey; var$3[3] = $this.$rightKey; var$3[4] = $this.$jumpKey; var$3[5] = $this.$buildKey; var$3[6] = $this.$chatKey; var$3[7] = $this.$toggleFogKey; var$3[8] = $this.$saveLocationKey; var$3[9] = $this.$loadLocationKey; $this.$bindings = var$2; $this.$settingCount = 9; $this.$minecraft3 = $minecraft; } function cmm_GameSettings_getBinding($this, $key) { var var$2; var$2 = jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $this.$bindings.data[$key].$name4), $rt_s(16)); $key = $this.$bindings.data[$key].$key; nlea_EaglerAdapterImpl2_$callClinit(); return jl_StringBuilder_toString(jl_StringBuilder_append(var$2, $key >= 0 && $key < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[$key] : $rt_s(15))); } function cmm_GameSettings_setBinding($this, $key, $keyID) { $this.$bindings.data[$key].$key = $keyID; } function cmm_GameSettings_toggleSetting($this, $setting, $fogValue) { if (!$setting) $this.$music = $this.$music ? 0 : 1; if ($setting == 1) $this.$sound = $this.$sound ? 0 : 1; if ($setting == 2) $this.$invertMouse = $this.$invertMouse ? 0 : 1; if ($setting == 3) $this.$showFrameRate = $this.$showFrameRate ? 0 : 1; if ($setting == 4) $this.$viewDistance = ($this.$viewDistance + $fogValue | 0) & 3; if ($setting == 5) $this.$viewBobbing = $this.$viewBobbing ? 0 : 1; if ($setting == 6) { cmmr_LevelRenderer_refresh($this.$minecraft3.$levelRenderer); $this.$anaglyph = $this.$anaglyph ? 0 : 1; cmmr_LevelRenderer_refresh($this.$minecraft3.$levelRenderer); } if ($setting == 7) $this.$limitFramerate = $this.$limitFramerate ? 0 : 1; } function cmm_GameSettings_getSetting($this, $id) { var var$2; a: { if (!$id) { var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(324)), !$this.$music ? $rt_s(325) : $rt_s(326))); break a; } if ($id == 1) { var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(327)), !$this.$sound ? $rt_s(325) : $rt_s(326))); break a; } if ($id == 2) { var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(328)), !$this.$invertMouse ? $rt_s(325) : $rt_s(326))); break a; } if ($id == 3) { var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(329)), !$this.$showFrameRate ? $rt_s(325) : $rt_s(326))); break a; } if ($id == 4) { var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(330)), cmm_GameSettings_renderDistances.data[$this.$viewDistance])); break a; } if ($id == 5) { var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(331)), !$this.$viewBobbing ? $rt_s(325) : $rt_s(326))); break a; } if ($id == 6) { var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(332)), !$this.$anaglyph ? $rt_s(325) : $rt_s(326))); break a; } if ($id != 7) { var$2 = $rt_s(4); break a; } var$2 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(333)), !$this.$limitFramerate ? $rt_s(325) : $rt_s(326))); } return var$2; } function cmm_GameSettings__clinit_() { var var$1, var$2; var$1 = $rt_createArray(jl_String, 4); var$2 = var$1.data; var$2[0] = $rt_s(334); var$2[1] = $rt_s(335); var$2[2] = $rt_s(336); var$2[3] = $rt_s(337); cmm_GameSettings_renderDistances = var$1; } function cmmg_FontRenderer() { var a = this; jl_Object.call(a); a.$charWidth = null; a.$fontTextureName = 0; a.$fontDisplayLists = 0; } function cmmg_FontRenderer__init_0(var_0, var_1) { var var_2 = new cmmg_FontRenderer(); cmmg_FontRenderer__init_(var_2, var_0, var_1); return var_2; } function cmmg_FontRenderer__init_($this, $gamesettings, $s) { var $r, $ai, $bufferedimage, $i, $k, $l, $k1, $j2, $j1, $i2, $i3, $flag, $l3, $tessellator, $i1, $l1, $k2, var$20, var$21, var$22, var$23, var$24, var$25, $j4, $l4, $i5, $flag1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$flag1 = $thread.pop();$i5 = $thread.pop();$l4 = $thread.pop();$j4 = $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();$k2 = $thread.pop();$l1 = $thread.pop();$i1 = $thread.pop();$tessellator = $thread.pop();$l3 = $thread.pop();$flag = $thread.pop();$i3 = $thread.pop();$i2 = $thread.pop();$j1 = $thread.pop();$j2 = $thread.pop();$k1 = $thread.pop();$l = $thread.pop();$k = $thread.pop();$i = $thread.pop();$bufferedimage = $thread.pop();$ai = $thread.pop();$r = $thread.pop();$s = $thread.pop();$gamesettings = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $r = cmmr_RenderEngine__init_(); $this.$charWidth = $rt_createIntArray(256); $this.$fontTextureName = 0; $ai = nlea_EaglerAdapterImpl2_loadResourceBytes($s); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG($ai); if ($rt_suspending()) { break main; } $bufferedimage = $tmp; $i = $bufferedimage.$w0; $ai = $bufferedimage.$data; $k = 0; while ($k < 256) { $l = $k % 16 | 0; $k1 = $k / 16 | 0; $j2 = 7; $j1 = $l * 8 | 0; $i2 = $k1 * 8 | 0; a: { while ($j2 >= 0) { $i3 = $j1 + $j2 | 0; $flag = 1; $l3 = 0; while ($l3 < 8 && $flag) { if (($ai.data[$i3 + $rt_imul($i2 + $l3 | 0, $i) | 0] & 255) > 0) $flag = 0; $l3 = $l3 + 1 | 0; } if (!$flag) break a; $j2 = $j2 + (-1) | 0; } } if ($k == 32) $j2 = 2; $this.$charWidth.data[$k] = $j2 + 2 | 0; $k = $k + 1 | 0; } $this.$fontTextureName = cmmr_RenderEngine_allocateAndSetupTexture($r, $bufferedimage); $this.$fontDisplayLists = nle_GLAllocation_generateDisplayLists(288); nlea_Tessellator_$callClinit(); $tessellator = nlea_Tessellator_instance; $i1 = 0; while ($i1 < 256) { olo_EaglerAdapterGL30_glNewList($this.$fontDisplayLists + $i1 | 0, 4864); nlea_Tessellator_startDrawingQuads($tessellator); $l1 = ($i1 % 16 | 0) * 8 | 0; $k2 = ($i1 / 16 | 0) * 8 | 0; var$20 = $l1; var$21 = var$20 / 128.0 + 0.0; var$22 = $k2; var$23 = (var$22 + 7.989999771118164) / 128.0 + 0.0; nlea_Tessellator_addVertexWithUV($tessellator, 0.0, 7.989999771118164, 0.0, var$21, var$23); var$24 = (var$20 + 7.989999771118164) / 128.0 + 0.0; nlea_Tessellator_addVertexWithUV($tessellator, 7.989999771118164, 7.989999771118164, 0.0, var$24, var$23); var$25 = var$22 / 128.0 + 0.0; nlea_Tessellator_addVertexWithUV($tessellator, 7.989999771118164, 0.0, 0.0, var$24, var$25); nlea_Tessellator_addVertexWithUV($tessellator, 0.0, 0.0, 0.0, var$21, var$25); nlea_Tessellator_draw($tessellator); olo_EaglerAdapterGL30_glEndList(); $i1 = $i1 + 1 | 0; } $j1 = 0; while ($j1 < 32) { $i2 = ($j1 >> 3 & 1) * 85 | 0; $j4 = (($j1 >> 2 & 1) * 170 | 0) + $i2 | 0; $l4 = (($j1 >> 1 & 1) * 170 | 0) + $i2 | 0; $i5 = (($j1 >> 0 & 1) * 170 | 0) + $i2 | 0; if ($j1 == 6) $j4 = $j4 + 85 | 0; $flag1 = $j1 < 16 ? 0 : 1; if ($gamesettings.$anaglyph) { $i2 = $j4 * 30 | 0; $j4 = (($i2 + ($l4 * 59 | 0) | 0) + ($i5 * 11 | 0) | 0) / 100 | 0; $l4 = ($i2 + ($l4 * 70 | 0) | 0) / 100 | 0; $i5 = ($i2 + ($i5 * 70 | 0) | 0) / 100 | 0; } if ($flag1) { $j4 = $j4 / 4 | 0; $l4 = $l4 / 4 | 0; $i5 = $i5 / 4 | 0; } olo_EaglerAdapterGL30_glNewList(($this.$fontDisplayLists + 256 | 0) + $j1 | 0, 4864); olo_EaglerAdapterGL30_glColor3f($j4 / 255.0, $l4 / 255.0, $i5 / 255.0); olo_EaglerAdapterGL30_glEndList(); $j1 = $j1 + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $gamesettings, $s, $r, $ai, $bufferedimage, $i, $k, $l, $k1, $j2, $j1, $i2, $i3, $flag, $l3, $tessellator, $i1, $l1, $k2, var$20, var$21, var$22, var$23, var$24, var$25, $j4, $l4, $i5, $flag1, $ptr); } function cmmg_FontRenderer_drawString($this, $s, $i, $j, $k) { cmmg_FontRenderer_renderString($this, $s, $i, $j, $k, 0); } function cmmg_FontRenderer_renderString($this, $s, $i, $j, $k, $flag) { var $f, $f1, $f2, $f3, $i1, $j1, $k1; if ($s === null) return; if ($flag) $k = (($k & 16579836) >> 2) + ($k & (-16777216)) | 0; olo_EaglerAdapterGL30_glBindTexture(3553, $this.$fontTextureName); $f = ($k >> 16 & 255) / 255.0; $f1 = ($k >> 8 & 255) / 255.0; $f2 = ($k & 255) / 255.0; $f3 = ($k >> 24 & 255) / 255.0; if ($f3 === 0.0) $f3 = 1.0; olo_EaglerAdapterGL30_glColor4f($f, $f1, $f2, $f3); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($i, $j, 0.0); $i1 = 0; while ($i1 < jl_String_length($s)) { $i = $i1; while (true) { $j = jl_String_length($s); $i1 = $i + 1 | 0; if ($j <= $i1) break; if (jl_String_charAt($s, $i) != 167) break; $j1 = jl_String_indexOf0($rt_s(338), jl_String_charAt(jl_String_toLowerCase($s), $i1)); $i = $i + 2 | 0; } if ($i < jl_String_length($s)) { $k1 = cmmg_FontAllowedCharacters_isAllowed(jl_String_charAt($s, $i)); if ($k1 >= 0) { olo_EaglerAdapterGL30_glCallList(($this.$fontDisplayLists + $k1 | 0) + 32 | 0); olo_EaglerAdapterGL30_glTranslatef($this.$charWidth.data[$k1 + 32 | 0], 0.0, 0.0); } } } olo_EaglerAdapterGL30_glPopMatrix(); } function cmmg_FontRenderer_getStringWidth($this, $s) { var $i, $j, $k; if ($s === null) return 0; $i = 0; $j = 0; while ($j < jl_String_length($s)) { if (jl_String_charAt($s, $j) == 167) $j = $j + 1 | 0; else { $k = cmmg_FontAllowedCharacters_isAllowed(jl_String_charAt($s, $j)); if ($k >= 0) $i = $i + $this.$charWidth.data[$k + 32 | 0] | 0; } $j = $j + 1 | 0; } return $i; } function cmmr_LevelRenderer() { var a = this; jl_Object.call(a); a.$level0 = null; a.$listId = 0; a.$buffer1 = null; a.$chunks = null; a.$loadQueue = null; a.$chunkCache = null; a.$xChunks = 0; a.$yChunks = 0; a.$zChunks = 0; a.$baseListId = 0; a.$minecraft4 = null; a.$chunkDataCache = null; a.$ticks0 = 0; a.$lastLoadX = 0.0; a.$lastLoadY = 0.0; a.$lastLoadZ = 0.0; a.$cracks = 0.0; } function cmmr_LevelRenderer__init_(var_0) { var var_1 = new cmmr_LevelRenderer(); cmmr_LevelRenderer__init_0(var_1, var_0); return var_1; } function cmmr_LevelRenderer__init_0($this, $var1) { $this.$buffer1 = nle_GLAllocation_createDirectIntBuffer(4096); $this.$chunks = ju_ArrayList__init_(); $this.$chunkDataCache = $rt_createIntArray(50000); $this.$ticks0 = 0; $this.$lastLoadX = (-9999.0); $this.$lastLoadY = (-9999.0); $this.$lastLoadZ = (-9999.0); $this.$minecraft4 = $var1; $this.$listId = olo_EaglerAdapterGL30_glGenLists(2); $this.$baseListId = olo_EaglerAdapterGL30_glGenLists(524288); } function cmmr_LevelRenderer_refresh($this) { var $var1, $var2, $var3, $var4, $var8, $var11, $var12, $var5, $var6, $var7, $var10, $var13, $var8_0, var$14, var$15, var$16; a: { if ($this.$chunkCache !== null) { $var1 = 0; while (true) { if ($var1 >= $this.$chunkCache.data.length) break a; cmmr_Chunk_dispose($this.$chunkCache.data[$var1]); $var1 = $var1 + 1 | 0; } } } $this.$xChunks = $this.$level0.$width0 / 16 | 0; $this.$yChunks = $this.$level0.$depth / 16 | 0; $this.$zChunks = $this.$level0.$height0 / 16 | 0; $this.$chunkCache = $rt_createArray(cmmr_Chunk, $rt_imul($rt_imul($this.$xChunks, $this.$yChunks), $this.$zChunks)); $this.$loadQueue = $rt_createArray(cmmr_Chunk, $rt_imul($rt_imul($this.$xChunks, $this.$yChunks), $this.$zChunks)); $var1 = 0; $var2 = 0; while ($var2 < $this.$xChunks) { $var3 = 0; while ($var3 < $this.$yChunks) { $var4 = 0; while ($var4 < $this.$zChunks) { $this.$chunkCache.data[$rt_imul($rt_imul($var4, $this.$yChunks) + $var3 | 0, $this.$xChunks) + $var2 | 0] = cmmr_Chunk__init_($this.$level0, $var2 << 4, $var3 << 4, $var4 << 4, 16, $this.$baseListId + $var1 | 0); $this.$loadQueue.data[$rt_imul($rt_imul($var4, $this.$yChunks) + $var3 | 0, $this.$xChunks) + $var2 | 0] = $this.$chunkCache.data[$rt_imul($rt_imul($var4, $this.$yChunks) + $var3 | 0, $this.$xChunks) + $var2 | 0]; $var1 = $var1 + 2 | 0; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } $var8 = 0; while ($var8 < ju_ArrayList_size($this.$chunks)) { ju_ArrayList_get($this.$chunks, $var8).$loaded = 0; $var8 = $var8 + 1 | 0; } ju_ArrayList_clear($this.$chunks); olo_EaglerAdapterGL30_glNewList($this.$listId, 4864); olo_EaglerAdapterGL30_glColor4f(0.5, 0.5, 0.5, 1.0); $var11 = cmmr_ShapeRenderer_instance; $var12 = cmml_Level_getGroundLevel($this.$level0); $var5 = 128; if (128 > $this.$level0.$width0) $var5 = $this.$level0.$width0; if ($var5 > $this.$level0.$height0) $var5 = $this.$level0.$height0; $var6 = 2048 / $var5 | 0; cmmr_ShapeRenderer_begin($var11); $var2 = $rt_imul( -$var5, $var6); $var7 = $var2; while (true) { $var8 = $this.$level0.$width0; $var4 = $rt_imul($var5, $var6); if ($var7 >= ($var8 + $var4 | 0)) break; $var8 = $var2; while ($var8 < ($this.$level0.$height0 + $var4 | 0)) { $var10 = $var7 < 0 ? $var12 : $var8 < 0 ? $var12 : $var7 >= $this.$level0.$width0 ? $var12 : $var8 < $this.$level0.$height0 ? 0.0 : $var12; $var13 = $var7; $var8_0 = $var8 + $var5 | 0; var$14 = $var8_0; var$15 = $var5; cmmr_ShapeRenderer_vertexUV($var11, $var13, $var10, var$14, 0.0, var$15); var$16 = $var7 + $var5 | 0; cmmr_ShapeRenderer_vertexUV($var11, var$16, $var10, var$14, var$15, var$15); var$14 = $var8; cmmr_ShapeRenderer_vertexUV($var11, var$16, $var10, var$14, var$15, 0.0); cmmr_ShapeRenderer_vertexUV($var11, $var13, $var10, var$14, 0.0, 0.0); $var8 = $var8_0; } $var7 = $var7 + $var5 | 0; } cmmr_ShapeRenderer_end($var11); olo_EaglerAdapterGL30_glColor3f(0.800000011920929, 0.800000011920929, 0.800000011920929); cmmr_ShapeRenderer_begin($var11); $var1 = 0; while ($var1 < $this.$level0.$width0) { var$15 = $var1; cmmr_ShapeRenderer_vertexUV($var11, var$15, 0.0, 0.0, 0.0, 0.0); $var1 = $var1 + $var5 | 0; var$14 = $var1; var$16 = $var5; cmmr_ShapeRenderer_vertexUV($var11, var$14, 0.0, 0.0, var$16, 0.0); cmmr_ShapeRenderer_vertexUV($var11, var$14, $var12, 0.0, var$16, $var12); cmmr_ShapeRenderer_vertexUV($var11, var$15, $var12, 0.0, 0.0, $var12); cmmr_ShapeRenderer_vertexUV($var11, var$15, $var12, $this.$level0.$height0, 0.0, $var12); cmmr_ShapeRenderer_vertexUV($var11, var$14, $var12, $this.$level0.$height0, var$16, $var12); cmmr_ShapeRenderer_vertexUV($var11, var$14, 0.0, $this.$level0.$height0, var$16, 0.0); cmmr_ShapeRenderer_vertexUV($var11, var$15, 0.0, $this.$level0.$height0, 0.0, 0.0); } olo_EaglerAdapterGL30_glColor3f(0.6000000238418579, 0.6000000238418579, 0.6000000238418579); $var8 = 0; while ($var8 < $this.$level0.$height0) { $var13 = $var8; cmmr_ShapeRenderer_vertexUV($var11, 0.0, $var12, $var13, 0.0, 0.0); $var8 = $var8 + $var5 | 0; var$14 = $var8; var$16 = $var5; cmmr_ShapeRenderer_vertexUV($var11, 0.0, $var12, var$14, var$16, 0.0); cmmr_ShapeRenderer_vertexUV($var11, 0.0, 0.0, var$14, var$16, $var12); cmmr_ShapeRenderer_vertexUV($var11, 0.0, 0.0, $var13, 0.0, $var12); cmmr_ShapeRenderer_vertexUV($var11, $this.$level0.$width0, 0.0, $var13, 0.0, $var12); cmmr_ShapeRenderer_vertexUV($var11, $this.$level0.$width0, 0.0, var$14, var$16, $var12); cmmr_ShapeRenderer_vertexUV($var11, $this.$level0.$width0, $var12, var$14, var$16, 0.0); cmmr_ShapeRenderer_vertexUV($var11, $this.$level0.$width0, $var12, $var13, 0.0, 0.0); } cmmr_ShapeRenderer_end($var11); olo_EaglerAdapterGL30_glEndList(); olo_EaglerAdapterGL30_glNewList($this.$listId + 1 | 0, 4864); olo_EaglerAdapterGL30_glColor3f(1.0, 1.0, 1.0); $var12 = cmml_Level_getWaterLevel($this.$level0); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var11 = cmmr_ShapeRenderer_instance; $var4 = 128; if (128 > $this.$level0.$width0) $var4 = $this.$level0.$width0; if ($var4 > $this.$level0.$height0) $var4 = $this.$level0.$height0; $var8 = 2048 / $var4 | 0; cmmr_ShapeRenderer_begin($var11); $var1 = $rt_imul( -$var4, $var8); $var13 = $var12 - 0.10000000149011612; $var2 = $var1; while (true) { $var8_0 = $this.$level0.$width0; $var5 = $rt_imul($var4, $var8); if ($var2 >= ($var8_0 + $var5 | 0)) break; $var8_0 = $var1; while ($var8_0 < ($this.$level0.$height0 + $var5 | 0)) { if (!($var2 >= 0 && $var8_0 >= 0 && $var2 < $this.$level0.$width0 && $var8_0 < $this.$level0.$height0)) { $var12 = $var2; $var10 = $var8_0 + $var4 | 0; var$16 = $var4; cmmr_ShapeRenderer_vertexUV($var11, $var12, $var13, $var10, 0.0, var$16); var$14 = $var2 + $var4 | 0; cmmr_ShapeRenderer_vertexUV($var11, var$14, $var13, $var10, var$16, var$16); var$15 = $var8_0; cmmr_ShapeRenderer_vertexUV($var11, var$14, $var13, var$15, var$16, 0.0); cmmr_ShapeRenderer_vertexUV($var11, $var12, $var13, var$15, 0.0, 0.0); cmmr_ShapeRenderer_vertexUV($var11, $var12, $var13, var$15, 0.0, 0.0); cmmr_ShapeRenderer_vertexUV($var11, var$14, $var13, var$15, var$16, 0.0); cmmr_ShapeRenderer_vertexUV($var11, var$14, $var13, $var10, var$16, var$16); cmmr_ShapeRenderer_vertexUV($var11, $var12, $var13, $var10, 0.0, var$16); } $var8_0 = $var8_0 + $var4 | 0; } $var2 = $var2 + $var4 | 0; } cmmr_ShapeRenderer_end($var11); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEndList(); cmmr_LevelRenderer_queueChunks($this, 0, 0, 0, $this.$level0.$width0, $this.$level0.$depth, $this.$level0.$height0); } function cmmr_LevelRenderer_sortChunks($this, $var1, $var2) { var $var3, $var4, $var5, var$6, var$7, $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $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: $var3 = $var1.$x - $this.$lastLoadX; $var4 = $var1.$y - $this.$lastLoadY; $var5 = $var1.$z - $this.$lastLoadZ; if ($var3 * $var3 + $var4 * $var4 + $var5 * $var5 > 64.0) { $this.$lastLoadX = $var1.$x; $this.$lastLoadY = $var1.$y; $this.$lastLoadZ = $var1.$z; var$6 = $this.$loadQueue; var$7 = new cmmr_ChunkDistanceComparator; var$7.$player2 = $var1; ju_Arrays_sort(var$6, var$7); } $var6 = 0; $var7 = 0; while ($var7 < $this.$loadQueue.data.length) { $var6 = cmmr_Chunk_appendLists($this.$loadQueue.data[$var7], $this.$chunkDataCache, $var6, $var2); $var7 = $var7 + 1 | 0; } jn_Buffer_clear($this.$buffer1); jn_IntBuffer_put0($this.$buffer1, $this.$chunkDataCache, 0, $var6); jn_Buffer_flip($this.$buffer1); if (jn_Buffer_remaining($this.$buffer1) <= 0) return jn_Buffer_remaining($this.$buffer1); $var1 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 1; case 1: cmmr_TextureLocation_bindTexture($var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glCallLists($this.$buffer1); return jn_Buffer_remaining($this.$buffer1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, $var6, $var7, $ptr); } function cmmr_LevelRenderer_queueChunks($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8, $var7, $var8, var$11; var$7 = $var1 / 16 | 0; var$8 = $var2 / 16 | 0; $var2 = $var3 / 16 | 0; $var3 = $var4 / 16 | 0; $var4 = $var5 / 16 | 0; $var5 = $var6 / 16 | 0; if (var$7 < 0) var$7 = 0; if (var$8 < 0) var$8 = 0; if ($var2 < 0) $var2 = 0; if ($var3 > ($this.$xChunks - 1 | 0)) $var3 = $this.$xChunks - 1 | 0; if ($var4 > ($this.$yChunks - 1 | 0)) $var4 = $this.$yChunks - 1 | 0; if ($var5 > ($this.$zChunks - 1 | 0)) $var5 = $this.$zChunks - 1 | 0; while (var$7 <= $var3) { $var7 = var$8; while ($var7 <= $var4) { $var8 = $var2; while ($var8 <= $var5) { var$11 = $this.$chunkCache.data[$rt_imul($rt_imul($var8, $this.$yChunks) + $var7 | 0, $this.$xChunks) + var$7 | 0]; if (!var$11.$loaded) { var$11.$loaded = 1; ju_ArrayList_add($this.$chunks, $this.$chunkCache.data[$rt_imul($rt_imul($var8, $this.$yChunks) + $var7 | 0, $this.$xChunks) + var$7 | 0]); } $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } var$7 = var$7 + 1 | 0; } } function cmm_Entity() { var a = this; jl_Object.call(a); a.$level2 = null; a.$xo = 0.0; a.$yo = 0.0; a.$zo = 0.0; a.$x = 0.0; a.$y = 0.0; a.$z = 0.0; a.$xd = 0.0; a.$yd = 0.0; a.$zd = 0.0; a.$yRot = 0.0; a.$xRot = 0.0; a.$yRotO = 0.0; a.$xRotO = 0.0; a.$bb = null; a.$onGround = 0; a.$horizontalCollision = 0; a.$collision = 0; a.$slide = 0; a.$removed = 0; a.$heightOffset = 0.0; a.$bbWidth = 0.0; a.$bbHeight = 0.0; a.$walkDistO = 0.0; a.$walkDist = 0.0; a.$makeStepSound = 0; a.$fallDistance = 0.0; a.$nextStep = 0; a.$blockMap0 = null; a.$xOld = 0.0; a.$yOld = 0.0; a.$zOld = 0.0; a.$textureId0 = 0; a.$ySlideOffset = 0.0; a.$footSize = 0.0; a.$noPhysics = 0; a.$pushthrough = 0.0; a.$hovered = 0; } function cmm_Entity__init_(var_0) { var var_1 = new cmm_Entity(); cmm_Entity__init_0(var_1, var_0); return var_1; } function cmm_Entity__init_0($this, $var1) { $this.$onGround = 0; $this.$horizontalCollision = 0; $this.$collision = 0; $this.$slide = 1; $this.$removed = 0; $this.$heightOffset = 0.0; $this.$bbWidth = 0.6000000238418579; $this.$bbHeight = 1.7999999523162842; $this.$walkDistO = 0.0; $this.$walkDist = 0.0; $this.$makeStepSound = 1; $this.$fallDistance = 0.0; $this.$nextStep = 1; $this.$textureId0 = 0; $this.$ySlideOffset = 0.0; $this.$footSize = 0.0; $this.$noPhysics = 0; $this.$pushthrough = 0.0; $this.$hovered = 0; $this.$level2 = $var1; cmm_Entity_setPos($this, 0.0, 0.0, 0.0); } function cmm_Entity_remove($this) { $this.$removed = 1; } function cmm_Entity_setSize($this, $var1, $var2) { $this.$bbWidth = $var1; $this.$bbHeight = $var2; } function cmm_Entity_setPos($this, $var1, $var2, $var3) { var $var4, $var5; $this.$x = $var1; $this.$y = $var2; $this.$z = $var3; $var4 = $this.$bbWidth / 2.0; $var5 = $this.$bbHeight / 2.0; $this.$bb = cmmp_AABB__init_0($var1 - $var4, $var2 - $var5, $var3 - $var4, $var1 + $var4, $var2 + $var5, $var3 + $var4); } function cmm_Entity_turn($this, $var1, $var2) { var $var3, $var4; $var3 = $this.$xRot; $var4 = $this.$yRot; $this.$yRot = $this.$yRot + $var1 * 0.15; $this.$xRot = $this.$xRot - $var2 * 0.15; if ($this.$xRot < (-90.0)) $this.$xRot = (-90.0); if ($this.$xRot > 90.0) $this.$xRot = 90.0; $this.$xRotO = $this.$xRotO + $this.$xRot - $var3; $this.$yRotO = $this.$yRotO + $this.$yRot - $var4; } function cmm_Entity_isFree($this, $var1, $var2, $var3) { var $var4; $var4 = cmmp_AABB_cloneMove($this.$bb, $var1, $var2, $var3); return cmml_Level_getCubes($this.$level2, $var4).$size0 > 0 ? 0 : cmml_Level_containsAnyLiquid($this.$level2, $var4) ? 0 : 1; } function cmm_Entity_move($this, $var1, $var2, $var3) { var $var4, $var5, $var9, $var10, $var11, var$9, $var18, $var17, $var16, $var12, var$14, var$15, var$16, $var14, $var15, $var19; if ($this.$noPhysics) { cmmp_AABB_move($this.$bb, $var1, $var2, $var3); $this.$x = ($this.$bb.$x00 + $this.$bb.$x10) / 2.0; $this.$y = $this.$bb.$y00 + $this.$heightOffset - $this.$ySlideOffset; $this.$z = ($this.$bb.$z00 + $this.$bb.$z10) / 2.0; } else { $var4 = $this.$x; $var5 = $this.$z; $var9 = cmmp_AABB_copy($this.$bb); $var10 = cmml_Level_getCubes($this.$level2, cmmp_AABB_expand($this.$bb, $var1, $var2, $var3)); $var11 = 0; var$9 = $var2; while ($var11 < ju_ArrayList_size($var10)) { var$9 = cmmp_AABB_clipYCollide(ju_ArrayList_get($var10, $var11), $this.$bb, var$9); $var11 = $var11 + 1 | 0; } cmmp_AABB_move($this.$bb, 0.0, var$9, 0.0); if ($this.$slide) { $var18 = $var3; $var17 = $var1; } else if ($var2 === var$9) { $var18 = $var3; $var17 = $var1; } else { $var18 = 0.0; var$9 = 0.0; $var17 = 0.0; } a: { b: { if (!$this.$onGround) { if ($var2 === var$9) break b; if ($var2 >= 0.0) break b; } $var16 = 1; break a; } $var16 = 0; } $var12 = 0; while ($var12 < ju_ArrayList_size($var10)) { $var17 = cmmp_AABB_clipXCollide(ju_ArrayList_get($var10, $var12), $this.$bb, $var17); $var12 = $var12 + 1 | 0; } cmmp_AABB_move($this.$bb, $var17, 0.0, 0.0); if (!$this.$slide && $var1 !== $var17) { $var18 = 0.0; var$9 = 0.0; $var17 = 0.0; } $var12 = 0; while ($var12 < ju_ArrayList_size($var10)) { $var18 = cmmp_AABB_clipZCollide(ju_ArrayList_get($var10, $var12), $this.$bb, $var18); $var12 = $var12 + 1 | 0; } cmmp_AABB_move($this.$bb, 0.0, 0.0, $var18); if (!$this.$slide && $var3 !== $var18) { $var18 = 0.0; var$9 = 0.0; $var17 = 0.0; } if ($this.$footSize <= 0.0) { var$14 = $var17; var$15 = var$9; var$16 = $var18; } else if (!$var16) { var$14 = $var17; var$15 = var$9; var$16 = $var18; } else if ($this.$ySlideOffset >= 0.05000000074505806) { var$14 = $var17; var$15 = var$9; var$16 = $var18; } else if ($var1 === $var17 && $var3 === $var18) { var$14 = $var17; var$15 = var$9; var$16 = $var18; } else { var$15 = $this.$footSize; $var14 = cmmp_AABB_copy($this.$bb); $this.$bb = cmmp_AABB_copy($var9); $var9 = cmml_Level_getCubes($this.$level2, cmmp_AABB_expand($this.$bb, $var1, var$15, $var3)); $var15 = 0; while ($var15 < ju_ArrayList_size($var9)) { var$15 = cmmp_AABB_clipYCollide(ju_ArrayList_get($var9, $var15), $this.$bb, var$15); $var15 = $var15 + 1 | 0; } cmmp_AABB_move($this.$bb, 0.0, var$15, 0.0); if ($this.$slide) { var$16 = $var3; var$14 = $var1; } else if ($var2 === var$15) { var$16 = $var3; var$14 = $var1; } else { var$16 = 0.0; var$15 = 0.0; var$14 = 0.0; } $var16 = 0; while ($var16 < ju_ArrayList_size($var9)) { var$14 = cmmp_AABB_clipXCollide(ju_ArrayList_get($var9, $var16), $this.$bb, var$14); $var16 = $var16 + 1 | 0; } cmmp_AABB_move($this.$bb, var$14, 0.0, 0.0); if (!$this.$slide && $var1 !== var$14) { var$16 = 0.0; var$15 = 0.0; var$14 = 0.0; } $var16 = 0; while ($var16 < ju_ArrayList_size($var9)) { var$16 = cmmp_AABB_clipZCollide(ju_ArrayList_get($var9, $var16), $this.$bb, var$16); $var16 = $var16 + 1 | 0; } cmmp_AABB_move($this.$bb, 0.0, 0.0, var$16); if (!$this.$slide && $var3 !== var$16) { var$16 = 0.0; var$15 = 0.0; var$14 = 0.0; } if ($var17 * $var17 + $var18 * $var18 >= var$14 * var$14 + var$16 * var$16) { $this.$bb = cmmp_AABB_copy($var14); var$14 = $var17; var$15 = var$9; var$16 = $var18; } else $this.$ySlideOffset = $this.$ySlideOffset + 0.5; } $var19 = $rt_compare($var1, var$14); $this.$horizontalCollision = !$var19 && $var3 === var$16 ? 0 : 1; $var16 = $rt_compare($var2, var$15); $this.$onGround = $var16 && $var2 < 0.0 ? 1 : 0; $this.$collision = !$this.$horizontalCollision && !$var16 ? 0 : 1; if (!$this.$onGround) { if (var$15 < 0.0) $this.$fallDistance = $this.$fallDistance - var$15; } else if ($this.$fallDistance > 0.0) { $this.$causeFallDamage($this.$fallDistance); $this.$fallDistance = 0.0; } if ($var19) $this.$xd = 0.0; if ($var16) $this.$yd = 0.0; if ($var3 !== var$16) $this.$zd = 0.0; $this.$x = ($this.$bb.$x00 + $this.$bb.$x10) / 2.0; $this.$y = $this.$bb.$y00 + $this.$heightOffset - $this.$ySlideOffset; $this.$z = ($this.$bb.$z00 + $this.$bb.$z10) / 2.0; $var18 = $this.$x - $var4; $var17 = $this.$z - $var5; $this.$walkDist = $this.$walkDist + nPm_MathHelper_sqrt($var18 * $var18 + $var17 * $var17) * 0.6; if ($this.$makeStepSound) { $var19 = cmml_Level_getTile($this.$level2, $this.$x | 0, $this.$y - 0.20000000298023224 - $this.$heightOffset | 0, $this.$z | 0); if ($this.$walkDist > $this.$nextStep && $var19 > 0) $this.$nextStep = $this.$nextStep + 1 | 0; } $this.$ySlideOffset = $this.$ySlideOffset * 0.4000000059604645; } } function cmm_Entity_causeFallDamage($this, $var1) { return; } function cmm_Entity_isInWater($this) { return cmml_Level_containsLiquid($this.$level2, cmmp_AABB_grow($this.$bb, 0.0, (-0.4000000059604645), 0.0), cmmll_LiquidType_WATER); } function cmm_Entity_isUnderWater($this) { var var$1; var$1 = cmml_Level_getTile($this.$level2, $this.$x | 0, $this.$y + 0.11999999731779099 | 0, $this.$z | 0); if (!var$1) var$1 = 0; else { cmmlt_Block_$callClinit(); var$1 = jl_Object_equals(cmmlt_Block_blocks.data[var$1].$getLiquidType(), cmmll_LiquidType_WATER); } return var$1; } function cmm_Entity_isInLava($this) { return cmml_Level_containsLiquid($this.$level2, cmmp_AABB_grow($this.$bb, 0.0, (-0.4000000059604645), 0.0), cmmll_LiquidType_LAVA); } function cmm_Entity_moveRelative($this, $var1, $var2, $var3) { var var$4, var$5; var$4 = nPm_MathHelper_sqrt($var1 * $var1 + $var2 * $var2); if (var$4 >= 0.009999999776482582) { if (var$4 < 1.0) var$4 = 1.0; $var3 = $var3 / var$4; $var1 = $var1 * $var3; $var3 = $var2 * $var3; var$4 = nPm_MathHelper_sin($this.$yRot * 3.1415927410125732 / 180.0); var$5 = nPm_MathHelper_cos($this.$yRot * 3.1415927410125732 / 180.0); $this.$xd = $this.$xd + $var1 * var$5 - $var3 * var$4; $this.$zd = $this.$zd + $var3 * var$5 + $var1 * var$4; } } function cmm_Entity_getBrightness($this, $var1) { var $var4, $var2, $var3; $var4 = $this.$x | 0; $var2 = $this.$y + $this.$heightOffset / 2.0 - 0.5 | 0; $var3 = $this.$z | 0; return cmml_Level_getBrightness($this.$level2, $var4, $var2, $var3); } function cmm_Entity_render($this, $var2) { return; } function cmm_Entity_setLevel($this, $var1) { $this.$level2 = $var1; } function cmm_Entity_distanceTo($this, $var1, $var2, $var3) { var $var4; $var1 = $this.$x - $var1; $var2 = $this.$y - $var2; $var4 = $this.$z - $var3; return nPm_MathHelper_sqrt($var1 * $var1 + $var2 * $var2 + $var4 * $var4); } function cmm_Entity_playerTouch($this, $var1) { return; } function cmm_Entity_push($this, $var1) { var $var2, $var3, var$4; $var2 = $var1.$x - $this.$x; $var3 = $var1.$z - $this.$z; var$4 = $var2 * $var2 + $var3 * $var3; if (var$4 >= 0.009999999776482582) { var$4 = nPm_MathHelper_sqrt(var$4); $var2 = $var2 / var$4; $var3 = $var3 / var$4; $var2 = $var2 / var$4; var$4 = $var3 / var$4; $var2 = $var2 * 0.05000000074505806; var$4 = var$4 * 0.05000000074505806; $var2 = $var2 * (1.0 - $this.$pushthrough); var$4 = var$4 * (1.0 - $this.$pushthrough); cmm_Entity_push0($this, -$var2, 0.0, -var$4); cmm_Entity_push0($var1, $var2, 0.0, var$4); } } function cmm_Entity_push0($this, $var1, $var2, $var3) { $this.$xd = $this.$xd + $var1; $this.$yd = $this.$yd + $var2; $this.$zd = $this.$zd + $var3; } function cmm_Entity_hurt($this, $var1, $var2) { return; } function cmm_Entity_intersects($this, $var1, $var2, $var3, $var4, $var5, $var6) { return cmmp_AABB_intersects0($this.$bb, $var1, $var2, $var3, $var4, $var5, $var6); } function cmm_Entity_isPickable($this) { return 0; } function cmm_Entity_isPushable($this) { return 0; } function cmm_Entity_isShootable($this) { return 0; } function cmm_Entity_awardKillScore($this, $var1, $var2) { return; } function cmm_Entity_shouldRender($this, $var1) { var $var2, $var3, $var4; $var2 = $this.$x - $var1.$x3; $var3 = $this.$y - $var1.$y3; $var4 = $this.$z - $var1.$z3; return cmm_Entity_shouldRenderAtSqrDistance($this, $var2 * $var2 + $var3 * $var3 + $var4 * $var4); } function cmm_Entity_shouldRenderAtSqrDistance($this, $var1) { var $var2; $var2 = cmmp_AABB_getSize($this.$bb) * 64.0; return $var1 >= $var2 * $var2 ? 0 : 1; } function cmm_Entity_renderHover($this, $var2) { return; } function cmmi_Item() { var a = this; cmm_Entity.call(a); a.$xd0 = 0.0; a.$yd0 = 0.0; a.$zd0 = 0.0; a.$rot = 0.0; a.$resource = 0; a.$tickCount = 0; a.$age = 0; } var cmmi_Item_models = null; function cmmi_Item__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new cmmi_Item(); cmmi_Item__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function cmmi_Item__init_0($this, $level1, $x, $y, $z, $block) { cmm_Entity__init_0($this, $level1); $this.$age = 0; cmm_Entity_setSize($this, 0.25, 0.25); $this.$heightOffset = $this.$bbHeight / 2.0; cmm_Entity_setPos($this, $x, $y, $z); $this.$resource = $block; $this.$rot = jl_Math_random() * 360.0; $this.$xd0 = jl_Math_random() * 0.20000000298023224 - 0.10000000149011612; $this.$yd0 = 0.20000000298023224; $this.$zd0 = jl_Math_random() * 0.20000000298023224 - 0.10000000149011612; $this.$makeStepSound = 0; } function cmmi_Item_tick($this) { $this.$xo = $this.$x; $this.$yo = $this.$y; $this.$zo = $this.$z; $this.$yd0 = $this.$yd0 - 0.03999999910593033; cmm_Entity_move($this, $this.$xd0, $this.$yd0, $this.$zd0); $this.$xd0 = $this.$xd0 * 0.9800000190734863; $this.$yd0 = $this.$yd0 * 0.9800000190734863; $this.$zd0 = $this.$zd0 * 0.9800000190734863; if ($this.$onGround) { $this.$xd0 = $this.$xd0 * 0.699999988079071; $this.$zd0 = $this.$zd0 * 0.699999988079071; $this.$yd0 = $this.$yd0 * (-0.5); } $this.$tickCount = $this.$tickCount + 1 | 0; $this.$age = $this.$age + 1 | 0; if ($this.$age >= 6000) cmm_Entity_remove($this); } function cmmi_Item_render($this, $unknown0) { var var$2, var$3, $brightness, $unknown1, $unknown2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$unknown2 = $thread.pop();$unknown1 = $thread.pop();$brightness = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$unknown0 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 1; case 1: $tmp = cmmr_TextureLocation_bindTexture(var$2); if ($rt_suspending()) { break main; } var$3 = $tmp; $this.$textureId0 = var$3; $brightness = cmml_Level_getBrightness($this.$level2, $this.$x | 0, $this.$y | 0, $this.$z | 0); $unknown1 = $this.$rot + ($this.$tickCount + $unknown0) * 3.0; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glColor4f($brightness, $brightness, $brightness, 1.0); $brightness = nPm_MathHelper_sin($unknown1 / 10.0); $unknown2 = $brightness * 0.10000000149011612 + 0.10000000149011612; olo_EaglerAdapterGL30_glTranslatef($this.$xo + ($this.$x - $this.$xo) * $unknown0, $this.$yo + ($this.$y - $this.$yo) * $unknown0 + $unknown2, $this.$zo + ($this.$z - $this.$zo) * $unknown0); olo_EaglerAdapterGL30_glRotatef($unknown1, 0.0, 1.0, 0.0); cmmi_ItemModel_generateList(cmmi_Item_models.data[$this.$resource]); $unknown0 = $brightness * 0.5 + 0.5; $unknown0 = $unknown0 * $unknown0; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, $unknown0 * $unknown0 * 0.4000000059604645); olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 1); olo_EaglerAdapterGL30_glDisable(3008); cmmi_ItemModel_generateList(cmmi_Item_models.data[$this.$resource]); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glEnable(3553); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $unknown0, var$2, var$3, $brightness, $unknown1, $unknown2, $ptr); } function cmmi_Item_playerTouch($this, $entity) { var $player, $takeEntityAnim; $player = $entity; if (cmmp_Player_addResource($player, $this.$resource)) { $takeEntityAnim = cmmi_TakeEntityAnim__init_($this.$level2, $this, $player); cmml_Level_addEntity($this.$level2, $takeEntityAnim); cmm_Entity_remove($this); } } function cmmi_Item_initModels() { var $unknown0, $var1; $unknown0 = 0; while ($unknown0 < 256) { cmmlt_Block_$callClinit(); $var1 = cmmlt_Block_blocks.data[$unknown0]; if ($var1 !== null) cmmi_Item_models.data[$unknown0] = cmmi_ItemModel__init_($var1.$textureId); $unknown0 = $unknown0 + 1 | 0; } } function cmmi_Item__clinit_() { cmmi_Item_models = $rt_createArray(cmmi_ItemModel, 256); } function cmmm_ModelManager() { var a = this; jl_Object.call(a); a.$human = null; a.$armoredHuman = null; a.$creeper = null; a.$skeleton = null; a.$zombie = null; a.$pig = null; a.$sheep = null; a.$spider = null; a.$sheepFur = null; } function cmmm_ModelManager__init_() { var var_0 = new cmmm_ModelManager(); cmmm_ModelManager__init_0(var_0); return var_0; } function cmmm_ModelManager__init_0($this) { var var$1; $this.$human = cmmm_HumanoidModel__init_0(0.0); $this.$armoredHuman = cmmm_HumanoidModel__init_0(1.0); $this.$creeper = cmmm_CreeperModel__init_(); var$1 = new cmmm_SkeletonModel; cmmm_ZombieModel__init_(var$1); var$1.$rightArm = cmmm_ModelPart__init_(40, 16); cmmm_ModelPart_setBounds(var$1.$rightArm, (-1.0), (-2.0), (-1.0), 2, 12, 2, 0.0); cmmm_ModelPart_setPosition(var$1.$rightArm, (-5.0), 2.0, 0.0); var$1.$leftArm = cmmm_ModelPart__init_(40, 16); var$1.$leftArm.$mirror = 1; cmmm_ModelPart_setBounds(var$1.$leftArm, (-1.0), (-2.0), (-1.0), 2, 12, 2, 0.0); cmmm_ModelPart_setPosition(var$1.$leftArm, 5.0, 2.0, 0.0); var$1.$rightLeg = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds(var$1.$rightLeg, (-1.0), 0.0, (-1.0), 2, 12, 2, 0.0); cmmm_ModelPart_setPosition(var$1.$rightLeg, (-2.0), 12.0, 0.0); var$1.$leftLeg = cmmm_ModelPart__init_(0, 16); var$1.$leftLeg.$mirror = 1; cmmm_ModelPart_setBounds(var$1.$leftLeg, (-1.0), 0.0, (-1.0), 2, 12, 2, 0.0); cmmm_ModelPart_setPosition(var$1.$leftLeg, 2.0, 12.0, 0.0); $this.$skeleton = var$1; $this.$zombie = cmmm_ZombieModel__init_0(); var$1 = new cmmm_PigModel; cmmm_AnimalModel__init_(var$1, 6, 0.0); $this.$pig = var$1; var$1 = new cmmm_SheepModel; cmmm_AnimalModel__init_(var$1, 12, 0.0); var$1.$head0 = cmmm_ModelPart__init_(0, 0); cmmm_ModelPart_setBounds(var$1.$head0, (-3.0), (-4.0), (-6.0), 6, 6, 8, 0.0); cmmm_ModelPart_setPosition(var$1.$head0, 0.0, 6.0, (-8.0)); var$1.$body0 = cmmm_ModelPart__init_(28, 8); cmmm_ModelPart_setBounds(var$1.$body0, (-4.0), (-10.0), (-7.0), 8, 16, 6, 0.0); cmmm_ModelPart_setPosition(var$1.$body0, 0.0, 5.0, 2.0); $this.$sheep = var$1; $this.$spider = cmmm_SpiderModel__init_(); $this.$sheepFur = cmmm_SheepFurModel__init_(); } function cmmm_ModelManager_getModel($this, $var1) { a: { if (jl_String_equals($var1, $rt_s(191))) { $var1 = $this.$human; break a; } if (jl_String_equals($var1, $rt_s(339))) { $var1 = $this.$armoredHuman; break a; } if (jl_String_equals($var1, $rt_s(340))) { $var1 = $this.$creeper; break a; } if (jl_String_equals($var1, $rt_s(341))) { $var1 = $this.$skeleton; break a; } if (jl_String_equals($var1, $rt_s(342))) { $var1 = $this.$zombie; break a; } if (jl_String_equals($var1, $rt_s(343))) { $var1 = $this.$pig; break a; } if (jl_String_equals($var1, $rt_s(344))) { $var1 = $this.$sheep; break a; } if (jl_String_equals($var1, $rt_s(345))) { $var1 = $this.$spider; break a; } if (!jl_String_equals($var1, $rt_s(346))) { $var1 = null; break a; } $var1 = $this.$sheepFur; } return $var1; } function cmmm_Mob() { var a = this; cmm_Entity.call(a); a.$invulnerableDuration = 0; a.$rot0 = 0.0; a.$timeOffs = 0.0; a.$speed0 = 0.0; a.$rotA = 0.0; a.$yBodyRot = 0.0; a.$yBodyRotO = 0.0; a.$oRun = 0.0; a.$run0 = 0.0; a.$animStep = 0.0; a.$animStepO = 0.0; a.$tickCount0 = 0; a.$hasHair = 0; a.$textureName = null; a.$allowAlpha = 0; a.$rotOffs = 0.0; a.$modelName = null; a.$bobStrength = 0.0; a.$deathScore = 0; a.$renderOffset = 0.0; a.$health = 0; a.$lastHealth = 0; a.$invulnerableTime = 0; a.$airSupply = 0; a.$hurtTime = 0; a.$hurtDuration = 0; a.$hurtDir = 0.0; a.$deathTime = 0; a.$attackTime = 0; a.$oTilt = 0.0; a.$tilt = 0.0; a.$dead = 0; a.$ai = null; } var cmmm_Mob_modelCache = null; function cmmm_Mob__init_0(var_0) { var var_1 = new cmmm_Mob(); cmmm_Mob__init_(var_1, var_0); return var_1; } function cmmm_Mob__init_($this, $var1) { cmm_Entity__init_0($this, $var1); $this.$invulnerableDuration = 20; $this.$rotA = (jl_Math_random() + 1.0) * 0.009999999776482582; $this.$yBodyRot = 0.0; $this.$yBodyRotO = 0.0; $this.$tickCount0 = 0; $this.$hasHair = 1; $this.$textureName = $rt_s(347); $this.$allowAlpha = 1; $this.$rotOffs = 0.0; $this.$modelName = null; $this.$bobStrength = 1.0; $this.$deathScore = 0; $this.$renderOffset = 0.0; $this.$health = 20; $this.$invulnerableTime = 0; $this.$airSupply = 300; $this.$hurtDir = 0.0; $this.$deathTime = 0; $this.$attackTime = 0; $this.$dead = 0; cmm_Entity_setPos($this, $this.$x, $this.$y, $this.$z); $this.$timeOffs = jl_Math_random() * 12398.0; $this.$rot0 = jl_Math_random() * 3.1415927410125732 * 2.0; $this.$speed0 = 1.0; $this.$ai = cmmma_BasicAI__init_0(); $this.$footSize = 0.5; } function cmmm_Mob_isPickable($this) { return $this.$removed ? 0 : 1; } function cmmm_Mob_isPushable($this) { return $this.$removed ? 0 : 1; } function cmmm_Mob_tick($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $var7; $this.$walkDistO = $this.$walkDist; $this.$xo = $this.$x; $this.$yo = $this.$y; $this.$zo = $this.$z; $this.$xRotO = $this.$xRot; $this.$yRotO = $this.$yRot; $this.$oTilt = $this.$tilt; if ($this.$attackTime > 0) $this.$attackTime = $this.$attackTime - 1 | 0; if ($this.$hurtTime > 0) $this.$hurtTime = $this.$hurtTime - 1 | 0; if ($this.$invulnerableTime > 0) $this.$invulnerableTime = $this.$invulnerableTime - 1 | 0; if ($this.$health <= 0) { $this.$deathTime = $this.$deathTime + 1 | 0; if ($this.$deathTime > 20) { if ($this.$ai !== null) $this.$ai.$beforeRemove(); $this.$remove0(); } } if (!cmm_Entity_isUnderWater($this)) $this.$airSupply = 300; else if ($this.$airSupply <= 0) $this.$hurt(null, 2); else $this.$airSupply = $this.$airSupply - 1 | 0; if (cmm_Entity_isInWater($this)) $this.$fallDistance = 0.0; if (cmm_Entity_isInLava($this)) $this.$hurt(null, 10); $this.$animStepO = $this.$animStep; $this.$yBodyRotO = $this.$yBodyRot; $this.$yRotO = $this.$yRot; $this.$xRotO = $this.$xRot; $this.$tickCount0 = $this.$tickCount0 + 1 | 0; $this.$aiStep(); $var1 = $this.$x - $this.$xo; $var2 = $this.$z - $this.$zo; $var3 = nPm_MathHelper_sqrt($var1 * $var1 + $var2 * $var2); $var4 = $this.$yBodyRot; $var5 = 0.0; $this.$oRun = $this.$run0; $var6 = 0.0; if ($var3 > 0.05000000074505806) { $var6 = 1.0; $var5 = $var3 * 3.0; $var4 = jl_Math_atan2($var2, $var1) * 180.0 / 3.1415927410125732 - 90.0; } if (!$this.$onGround) $var6 = 0.0; $this.$run0 = $this.$run0 + ($var6 - $this.$run0) * 0.30000001192092896; $var1 = $var4 - $this.$yBodyRot; while ($var1 < (-180.0)) { $var1 = $var1 + 360.0; } while ($var1 >= 180.0) { $var1 = $var1 - 360.0; } $this.$yBodyRot = $this.$yBodyRot + $var1 * 0.10000000149011612; $var1 = $this.$yRot - $this.$yBodyRot; while ($var1 < (-180.0)) { $var1 = $var1 + 360.0; } while ($var1 >= 180.0) { $var1 = $var1 - 360.0; } $var7 = $var1 >= (-90.0) && $var1 < 90.0 ? 0 : 1; if ($var1 < (-75.0)) $var1 = (-75.0); if ($var1 >= 75.0) $var1 = 75.0; $this.$yBodyRot = $this.$yRot - $var1; $this.$yBodyRot = $this.$yBodyRot + $var1 * 0.10000000149011612; if ($var7) $var5 = -$var5; while ($this.$yRot - $this.$yRotO < (-180.0)) { $this.$yRotO = $this.$yRotO - 360.0; } while ($this.$yRot - $this.$yRotO >= 180.0) { $this.$yRotO = $this.$yRotO + 360.0; } while ($this.$yBodyRot - $this.$yBodyRotO < (-180.0)) { $this.$yBodyRotO = $this.$yBodyRotO - 360.0; } while ($this.$yBodyRot - $this.$yBodyRotO >= 180.0) { $this.$yBodyRotO = $this.$yBodyRotO + 360.0; } while ($this.$xRot - $this.$xRotO < (-180.0)) { $this.$xRotO = $this.$xRotO - 360.0; } while ($this.$xRot - $this.$xRotO >= 180.0) { $this.$xRotO = $this.$xRotO + 360.0; } $this.$animStep = $this.$animStep + $var5; } function cmmm_Mob_aiStep($this) { if ($this.$ai !== null) $this.$ai.$tick0($this.$level2, $this); } function cmmm_Mob_bindTexture($this) { var var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $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 = cmmr_TextureLocation__init_($this.$textureName); $ptr = 1; case 1: $tmp = cmmr_TextureLocation_bindTexture(var$1); if ($rt_suspending()) { break main; } var$2 = $tmp; $this.$textureId0 = var$2; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); } function cmmm_Mob_render($this, $var2) { var var$2, $var4, $var5, $var6, $var7, var$7, $var8, var$9, $var10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$modelName === null) return; var$2 = $this.$attackTime - $var2; if (var$2 < 0.0) var$2 = 0.0; while ($this.$yBodyRotO - $this.$yBodyRot < (-180.0)) { $this.$yBodyRotO = $this.$yBodyRotO + 360.0; } while ($this.$yBodyRotO - $this.$yBodyRot >= 180.0) { $this.$yBodyRotO = $this.$yBodyRotO - 360.0; } while ($this.$xRotO - $this.$xRot < (-180.0)) { $this.$xRotO = $this.$xRotO + 360.0; } while ($this.$xRotO - $this.$xRot >= 180.0) { $this.$xRotO = $this.$xRotO - 360.0; } while ($this.$yRotO - $this.$yRot < (-180.0)) { $this.$yRotO = $this.$yRotO + 360.0; } while ($this.$yRotO - $this.$yRot >= 180.0) { $this.$yRotO = $this.$yRotO - 360.0; } $var4 = $this.$yBodyRotO + ($this.$yBodyRot - $this.$yBodyRotO) * $var2; $var5 = $this.$oRun + ($this.$run0 - $this.$oRun) * $var2; $var6 = $this.$yRotO + ($this.$yRot - $this.$yRotO) * $var2; $var7 = $this.$xRotO + ($this.$xRot - $this.$xRotO) * $var2; var$7 = $var6 - $var4; olo_EaglerAdapterGL30_glPushMatrix(); $var8 = $this.$animStepO + ($this.$animStep - $this.$animStepO) * $var2; $var6 = $this.$getBrightness1($var2); olo_EaglerAdapterGL30_glColor3f($var6, $var6, $var6); var$9 = 0.0625; $var10 = -jl_Math_abs(nPm_MathHelper_cos($var8 * 0.6661999821662903)) * 5.0 * $var5 * $this.$bobStrength - 23.0; olo_EaglerAdapterGL30_glTranslatef($this.$xo + ($this.$x - $this.$xo) * $var2, $this.$yo + ($this.$y - $this.$yo) * $var2 - 1.6200000047683716 + $this.$renderOffset, $this.$zo + ($this.$z - $this.$zo) * $var2); $var6 = $this.$hurtTime - $var2; var$11 = $rt_compare($var6, 0.0); if (!(var$11 <= 0 && $this.$health > 0)) { if (var$11 < 0) $var6 = 0.0; else { $var6 = $var6 / $this.$hurtDuration; $var6 = nPm_MathHelper_sin($var6 * $var6 * $var6 * $var6 * 3.1415927410125732) * 14.0; } if ($this.$health <= 0) { var$12 = ($this.$deathTime + $var2) / 20.0; $var6 = $var6 + var$12 * var$12 * 800.0; if ($var6 > 90.0) $var6 = 90.0; } var$12 = $this.$hurtDir; var$13 = 180.0 - $var4; olo_EaglerAdapterGL30_glRotatef(var$13 + $this.$rotOffs, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glRotatef( -var$12, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var6, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef(var$12, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -(var$13 + $this.$rotOffs), 0.0, 1.0, 0.0); } olo_EaglerAdapterGL30_glTranslatef(0.0, -$var10 * var$9, 0.0); olo_EaglerAdapterGL30_glScalef(1.0, (-1.0), 1.0); olo_EaglerAdapterGL30_glRotatef(180.0 - $var4 + $this.$rotOffs, 0.0, 1.0, 0.0); if ($this.$allowAlpha) olo_EaglerAdapterGL30_glDisable(2884); else olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glScalef((-1.0), 1.0, 1.0); cmmm_ModelManager_getModel(cmmm_Mob_modelCache, $this.$modelName).$attackOffset = var$2 / 5.0; $ptr = 1; case 1: $this.$bindTexture0(); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $this.$renderModel($var8, $var2, $var5, var$7, $var7, var$9); if ($rt_suspending()) { break main; } if ($this.$invulnerableTime <= ($this.$invulnerableDuration - 10 | 0)) { olo_EaglerAdapterGL30_glEnable(3008); if ($this.$allowAlpha) olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glPopMatrix(); return; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 0.75); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 1); $ptr = 3; case 3: $this.$bindTexture0(); if ($rt_suspending()) { break main; } $ptr = 4; case 4: $this.$renderModel($var8, $var2, $var5, var$7, $var7, var$9); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glEnable(3008); if ($this.$allowAlpha) olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, $var4, $var5, $var6, $var7, var$7, $var8, var$9, $var10, var$11, var$12, var$13, $ptr); } function cmmm_Mob_renderModel($this, $var2, $var3, $var4, $var5, $var6, $var7) { cmmm_ModelManager_getModel(cmmm_Mob_modelCache, $this.$modelName).$render6($var2, $var4, $this.$tickCount0 + $var3, $var5, $var6, $var7); } function cmmm_Mob_heal($this, $var1) { if ($this.$health > 0) { $this.$health = $this.$health + $var1 | 0; if ($this.$health > 20) $this.$health = 20; $this.$invulnerableTime = $this.$invulnerableDuration / 2 | 0; } } function cmmm_Mob_hurt($this, $var1, $var2) { var $var3, $var4; if (!$this.$level2.$creativeMode && $this.$health > 0) { $this.$ai.$hurt($var1, $var2); if ($this.$invulnerableTime > $this.$invulnerableDuration / 2.0) { if (($this.$lastHealth - $var2 | 0) >= $this.$health) return; $this.$health = $this.$lastHealth - $var2 | 0; } else { $this.$lastHealth = $this.$health; $this.$invulnerableTime = $this.$invulnerableDuration; $this.$health = $this.$health - $var2 | 0; $this.$hurtDuration = 10; $this.$hurtTime = 10; } $this.$hurtDir = 0.0; if ($var1 === null) $this.$hurtDir = (jl_Math_random() * 2.0 | 0) * 180 | 0; else { $var3 = $var1.$x - $this.$x; $var4 = $var1.$z - $this.$z; $this.$hurtDir = jl_Math_atan2($var4, $var3) * 180.0 / 3.1415927410125732 - $this.$yRot; cmmm_Mob_knockback($this, $var1, $var2, $var3, $var4); } if ($this.$health <= 0) $this.$die($var1); } } function cmmm_Mob_knockback($this, $var1, $var2, $var3, $var4) { var $var5; $var5 = nPm_MathHelper_sqrt($var3 * $var3 + $var4 * $var4); $this.$xd = $this.$xd / 2.0; $this.$yd = $this.$yd / 2.0; $this.$zd = $this.$zd / 2.0; $this.$xd = $this.$xd - $var3 / $var5 * 0.4000000059604645; $this.$yd = $this.$yd + 0.4000000059604645; $this.$zd = $this.$zd - $var4 / $var5 * 0.4000000059604645; if ($this.$yd > 0.4000000059604645) $this.$yd = 0.4000000059604645; } function cmmm_Mob_die($this, $var1) { if (!$this.$level2.$creativeMode) { if ($this.$deathScore > 0 && $var1 !== null) $var1.$awardKillScore($this, $this.$deathScore); $this.$dead = 1; } } function cmmm_Mob_causeFallDamage($this, $var1) { var var$2; if (!$this.$level2.$creativeMode) { var$2 = jl_Math_ceil($var1 - 3.0) | 0; if (var$2 > 0) $this.$hurt(null, var$2); } } function cmmm_Mob_travel($this, $var1, $var2) { var $var3; if (cmm_Entity_isInWater($this)) { $var3 = $this.$y; cmm_Entity_moveRelative($this, $var1, $var2, 0.019999999552965164); cmm_Entity_move($this, $this.$xd, $this.$yd, $this.$zd); $this.$xd = $this.$xd * 0.800000011920929; $this.$yd = $this.$yd * 0.800000011920929; $this.$zd = $this.$zd * 0.800000011920929; $this.$yd = $this.$yd - 0.02; if ($this.$horizontalCollision && cmm_Entity_isFree($this, $this.$xd, $this.$yd + 0.6000000238418579 - $this.$y + $var3, $this.$zd)) $this.$yd = 0.30000001192092896; } else if (cmm_Entity_isInLava($this)) { $var3 = $this.$y; cmm_Entity_moveRelative($this, $var1, $var2, 0.019999999552965164); cmm_Entity_move($this, $this.$xd, $this.$yd, $this.$zd); $this.$xd = $this.$xd * 0.5; $this.$yd = $this.$yd * 0.5; $this.$zd = $this.$zd * 0.5; $this.$yd = $this.$yd - 0.02; if ($this.$horizontalCollision && cmm_Entity_isFree($this, $this.$xd, $this.$yd + 0.6000000238418579 - $this.$y + $var3, $this.$zd)) $this.$yd = 0.30000001192092896; } else { cmm_Entity_moveRelative($this, $var1, $var2, !$this.$onGround ? 0.019999999552965164 : 0.10000000149011612); cmm_Entity_move($this, $this.$xd, $this.$yd, $this.$zd); $this.$xd = $this.$xd * 0.9100000262260437; $this.$yd = $this.$yd * 0.9800000190734863; $this.$zd = $this.$zd * 0.9100000262260437; $this.$yd = $this.$yd - 0.08; if ($this.$onGround) { $this.$xd = $this.$xd * 0.6000000238418579; $this.$zd = $this.$zd * 0.6000000238418579; } } } function cmmm_Mob_isShootable($this) { return 1; } function cmml_Level() { var a = this; jl_Object.call(a); a.$width0 = 0; a.$height0 = 0; a.$depth = 0; a.$blocks = null; a.$name5 = null; a.$creator = null; a.$createTime = Long_ZERO; a.$xSpawn = 0; a.$ySpawn = 0; a.$zSpawn = 0; a.$rotSpawn = 0.0; a.$listeners = null; a.$blockers = null; a.$random1 = null; a.$randId = 0; a.$tickList = null; a.$blockMap = null; a.$networkMode = 0; a.$rendererContext$5cd64a7f = null; a.$creativeMode = 0; a.$waterLevel = 0; a.$skyColor = 0; a.$fogColor = 0; a.$cloudColor = 0; a.$unprocessed = 0; a.$tickCount1 = 0; a.$player0 = null; a.$particleEngine = null; a.$font = null; a.$growTrees = 0; } function cmml_Level__init_() { var var_0 = new cmml_Level(); cmml_Level__init_0(var_0); return var_0; } function cmml_Level__init_0($this) { $this.$listeners = ju_ArrayList__init_(); $this.$random1 = new ju_Random; $this.$randId = ju_Random_nextInt0($this.$random1); $this.$tickList = ju_ArrayList__init_(); $this.$networkMode = 0; $this.$unprocessed = 0; $this.$tickCount1 = 0; $this.$growTrees = 0; } function cmml_Level_initTransient($this) { var var$1, var$2, var$3, var$4; if ($this.$blocks === null) { var$1 = new jl_RuntimeException; jl_Throwable__init_(var$1, $rt_s(348)); $rt_throw(var$1); } $this.$listeners = ju_ArrayList__init_(); $this.$blockers = $rt_createIntArray($rt_imul($this.$width0, $this.$height0)); ju_Arrays_fill($this.$blockers, $this.$depth); cmml_Level_calcLightDepths($this, 0, 0, $this.$width0, $this.$height0); $this.$random1 = new ju_Random; $this.$randId = ju_Random_nextInt0($this.$random1); $this.$tickList = ju_ArrayList__init_(); if (!$this.$waterLevel) $this.$waterLevel = $this.$depth / 2 | 0; if (!$this.$skyColor) $this.$skyColor = 10079487; if (!$this.$fogColor) $this.$fogColor = 16777215; if (!$this.$cloudColor) $this.$cloudColor = 16777215; if (!$this.$xSpawn && !$this.$ySpawn && !$this.$zSpawn) cmml_Level_findSpawn($this); if ($this.$blockMap === null) { var$1 = new cmml_BlockMap; var$2 = $this.$width0; var$3 = $this.$depth; var$4 = $this.$height0; var$1.$slot = cmml_BlockMap$Slot__init_(var$1, null); var$1.$slot2 = cmml_BlockMap$Slot__init_(var$1, null); var$1.$all = ju_ArrayList__init_(); var$1.$tmp = ju_ArrayList__init_(); var$1.$width1 = var$2 / 16 | 0; var$1.$depth0 = var$3 / 16 | 0; var$1.$height1 = var$4 / 16 | 0; if (!var$1.$width1) var$1.$width1 = 1; if (!var$1.$depth0) var$1.$depth0 = 1; if (!var$1.$height1) var$1.$height1 = 1; var$1.$entityGrid = $rt_createArray(ju_ArrayList, $rt_imul($rt_imul(var$1.$width1, var$1.$depth0), var$1.$height1)); var$2 = 0; while (var$2 < var$1.$width1) { var$3 = 0; while (var$3 < var$1.$depth0) { var$4 = 0; while (var$4 < var$1.$height1) { var$1.$entityGrid.data[$rt_imul($rt_imul(var$4, var$1.$depth0) + var$3 | 0, var$1.$width1) + var$2 | 0] = ju_ArrayList__init_(); var$4 = var$4 + 1 | 0; } var$3 = var$3 + 1 | 0; } var$2 = var$2 + 1 | 0; } $this.$blockMap = var$1; } } function cmml_Level_setData($this, $var1, $var2, $var3, $var4) { $this.$width0 = $var1; $this.$height0 = $var3; $this.$depth = $var2; $this.$blocks = $var4; $this.$blockers = $rt_createIntArray($rt_imul($var1, $var3)); ju_Arrays_fill($this.$blockers, $this.$depth); cmml_Level_calcLightDepths($this, 0, 0, $var1, $var3); $var1 = 0; while ($var1 < $this.$listeners.$size0) { cmmr_LevelRenderer_refresh(ju_ArrayList_get($this.$listeners, $var1)); $var1 = $var1 + 1 | 0; } ju_ArrayList_clear($this.$tickList); cmml_Level_findSpawn($this); cmml_Level_initTransient($this); } function cmml_Level_findSpawn($this) { var $var1, $var2, $var3, $var4, $var5; $var1 = new ju_Random; $var2 = 0; while (true) { $var2 = $var2 + 1 | 0; $var3 = ju_Random_nextInt($var1, $this.$width0 / 2 | 0) + ($this.$width0 / 4 | 0) | 0; $var4 = ju_Random_nextInt($var1, $this.$height0 / 2 | 0) + ($this.$height0 / 4 | 0) | 0; $var5 = cmml_Level_getHighestTile($this, $var3, $var4) + 1 | 0; if ($var2 == 10000) { $this.$xSpawn = $var3; $this.$ySpawn = (-100); $this.$zSpawn = $var4; return; } if ($var5 > cmml_Level_getWaterLevel($this)) break; } $this.$xSpawn = $var3; $this.$ySpawn = $var5; $this.$zSpawn = $var4; } function cmml_Level_calcLightDepths($this, $var5, $var2, $var3, $var4) { var var$5, var$6, $var6, $var7, $var8, $var9; var$5 = $var5 + $var3 | 0; var$6 = $var2 + $var4 | 0; while ($var5 < var$5) { $var6 = $var2; while ($var6 < var$6) { $var7 = $this.$blockers.data[$var5 + $rt_imul($var6, $this.$width0) | 0]; $var8 = $this.$depth - 1 | 0; while ($var8 > 0 && !cmml_Level_isLightBlocker($this, $var5, $var8, $var6)) { $var8 = $var8 + (-1) | 0; } a: { $this.$blockers.data[$var5 + $rt_imul($var6, $this.$width0) | 0] = $var8; $var3 = $rt_compare($var7, $var8); if ($var3) { $var9 = $var3 >= 0 ? $var8 : $var7; if ($var3 > 0) $var8 = $var7; $var4 = 0; while (true) { if ($var4 >= $this.$listeners.$size0) break a; cmmr_LevelRenderer_queueChunks(ju_ArrayList_get($this.$listeners, $var4), $var5 - 1 | 0, $var9 - 1 | 0, $var6 - 1 | 0, $var5 + 1 | 0, $var8 + 1 | 0, $var6 + 1 | 0); $var4 = $var4 + 1 | 0; } } } $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } } function cmml_Level_addListener($this, $var1) { ju_ArrayList_add($this.$listeners, $var1); } function cmml_Level_removeListener($this, $var1) { ju_ArrayList_remove0($this.$listeners, $var1); } function cmml_Level_isLightBlocker($this, $var1, $var2, $var3) { var var$4; cmmlt_Block_$callClinit(); var$4 = cmmlt_Block_blocks.data[cmml_Level_getTile($this, $var1, $var2, $var3)]; return var$4 !== null ? var$4.$isOpaque() : 0; } function cmml_Level_getCubes($this, $var1) { var $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$11; $var2 = ju_ArrayList__init_(); $var3 = $var1.$x00 | 0; $var4 = ($var1.$x10 | 0) + 1 | 0; $var5 = $var1.$y00 | 0; $var6 = ($var1.$y10 | 0) + 1 | 0; $var7 = $var1.$z00 | 0; $var8 = ($var1.$z10 | 0) + 1 | 0; if ($var1.$x00 < 0.0) $var3 = $var3 + (-1) | 0; if ($var1.$y00 < 0.0) $var5 = $var5 + (-1) | 0; if ($var1.$z00 < 0.0) $var7 = $var7 + (-1) | 0; while ($var3 < $var4) { $var9 = $var5; while ($var9 < $var6) { $var10 = $var7; while ($var10 < $var8) { if ($var3 >= 0 && $var9 >= 0 && $var10 >= 0 && $var3 < $this.$width0 && $var9 < $this.$depth && $var10 < $this.$height0) { cmmlt_Block_$callClinit(); var$11 = cmmlt_Block_blocks.data[cmml_Level_getTile($this, $var3, $var9, $var10)]; if (var$11 !== null) { var$11 = var$11.$getCollisionBox($var3, $var9, $var10); if (var$11 !== null && cmmp_AABB_intersectsInner($var1, var$11)) ju_ArrayList_add($var2, var$11); } } else if (!($var3 >= 0 && $var9 >= 0 && $var10 >= 0 && $var3 < $this.$width0 && $var10 < $this.$height0)) { cmmlt_Block_$callClinit(); var$11 = cmmlt_Block_BEDROCK.$getCollisionBox($var3, $var9, $var10); if (var$11 !== null && cmmp_AABB_intersectsInner($var1, var$11)) ju_ArrayList_add($var2, var$11); } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var3 = $var3 + 1 | 0; } return $var2; } function cmml_Level_swap($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8; if (!$this.$networkMode) { $var7 = cmml_Level_getTile($this, $var1, $var2, $var3); $var8 = cmml_Level_getTile($this, $var4, $var5, $var6); cmml_Level_setTileNoNeighborChange($this, $var1, $var2, $var3, $var8); cmml_Level_setTileNoNeighborChange($this, $var4, $var5, $var6, $var7); cmml_Level_updateNeighborsAt($this, $var1, $var2, $var3, $var8); cmml_Level_updateNeighborsAt($this, $var4, $var5, $var6, $var7); } } function cmml_Level_setTileNoNeighborChange($this, $var1, $var2, $var3, $var4) { return !$this.$networkMode ? cmml_Level_netSetTileNoNeighborChange($this, $var1, $var2, $var3, $var4) : 0; } function cmml_Level_netSetTileNoNeighborChange($this, $var1, $var2, $var3, $var4) { var var$5, $var5, var$7, var$8, var$9; if ($var1 >= 0 && $var2 >= 0 && $var3 >= 0 && $var1 < $this.$width0 && $var2 < $this.$depth && $var3 < $this.$height0) { if ($var4 == $this.$blocks.data[$rt_imul($rt_imul($var2, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0]) return 0; if (!$var4 && !($var1 && $var3 && $var1 != ($this.$width0 - 1 | 0) && $var3 != ($this.$height0 - 1 | 0))) { var$5 = $var2; if (var$5 >= cmml_Level_getGroundLevel($this) && var$5 < cmml_Level_getWaterLevel($this)) { cmmlt_Block_$callClinit(); $var4 = cmmlt_Block_WATER.$id; } } $var5 = $this.$blocks.data[$rt_imul($rt_imul($var2, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0]; $this.$blocks.data[$rt_imul($rt_imul($var2, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0] = $var4 << 24 >> 24; if ($var5) { cmmlt_Block_$callClinit(); cmmlt_Block_blocks.data[$var5].$onRemoved($this, $var1, $var2, $var3); } if ($var4) { cmmlt_Block_$callClinit(); cmmlt_Block_blocks.data[$var4].$onAdded($this, $var1, $var2, $var3); } cmml_Level_calcLightDepths($this, $var1, $var3, 1, 1); $var4 = 0; $var5 = $var1 - 1 | 0; var$7 = $var2 - 1 | 0; var$8 = $var3 - 1 | 0; $var1 = $var1 + 1 | 0; $var2 = $var2 + 1 | 0; var$9 = $var3 + 1 | 0; while ($var4 < $this.$listeners.$size0) { cmmr_LevelRenderer_queueChunks(ju_ArrayList_get($this.$listeners, $var4), $var5, var$7, var$8, $var1, $var2, var$9); $var4 = $var4 + 1 | 0; } return 1; } return 0; } function cmml_Level_setTile($this, $var1, $var2, $var3, $var4) { if ($this.$networkMode) return 0; if (!cmml_Level_setTileNoNeighborChange($this, $var1, $var2, $var3, $var4)) return 0; cmml_Level_updateNeighborsAt($this, $var1, $var2, $var3, $var4); return 1; } function cmml_Level_netSetTile($this, $var1, $var2, $var3, $var4) { if (!cmml_Level_netSetTileNoNeighborChange($this, $var1, $var2, $var3, $var4)) return 0; cmml_Level_updateNeighborsAt($this, $var1, $var2, $var3, $var4); return 1; } function cmml_Level_updateNeighborsAt($this, $var1, $var2, $var3, $var4) { cmml_Level_updateTile($this, $var1 - 1 | 0, $var2, $var3, $var4); cmml_Level_updateTile($this, $var1 + 1 | 0, $var2, $var3, $var4); cmml_Level_updateTile($this, $var1, $var2 - 1 | 0, $var3, $var4); cmml_Level_updateTile($this, $var1, $var2 + 1 | 0, $var3, $var4); cmml_Level_updateTile($this, $var1, $var2, $var3 - 1 | 0, $var4); cmml_Level_updateTile($this, $var1, $var2, $var3 + 1 | 0, $var4); } function cmml_Level_setTileNoUpdate($this, $var1, $var2, $var3, $var4) { if ($var1 >= 0 && $var2 >= 0 && $var3 >= 0 && $var1 < $this.$width0 && $var2 < $this.$depth && $var3 < $this.$height0) { if ($var4 == $this.$blocks.data[$rt_imul($rt_imul($var2, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0]) return 0; $this.$blocks.data[$rt_imul($rt_imul($var2, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0] = $var4 << 24 >> 24; return 1; } return 0; } function cmml_Level_updateTile($this, $var1, $var2, $var3, $var4) { var var$5; if ($var1 >= 0 && $var2 >= 0 && $var3 >= 0 && $var1 < $this.$width0 && $var2 < $this.$depth && $var3 < $this.$height0) { cmmlt_Block_$callClinit(); var$5 = cmmlt_Block_blocks.data[$this.$blocks.data[$rt_imul($rt_imul($var2, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0]]; if (var$5 !== null) var$5.$onNeighborChange($this, $var1, $var2, $var3, $var4); } } function cmml_Level_isLit($this, $var1, $var2, $var3) { return $var1 >= 0 && $var2 >= 0 && $var3 >= 0 && $var1 < $this.$width0 && $var2 < $this.$depth && $var3 < $this.$height0 ? ($var2 < $this.$blockers.data[$var1 + $rt_imul($var3, $this.$width0) | 0] ? 0 : 1) : 1; } function cmml_Level_getTile($this, $var1, $var2, $var3) { return $var1 >= 0 && $var2 >= 0 && $var3 >= 0 && $var1 < $this.$width0 && $var2 < $this.$depth && $var3 < $this.$height0 ? $this.$blocks.data[$rt_imul($rt_imul($var2, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0] & 255 : 0; } function cmml_Level_isSolidTile($this, $var1, $var2, $var3) { var var$4; cmmlt_Block_$callClinit(); var$4 = cmmlt_Block_blocks.data[cmml_Level_getTile($this, $var1, $var2, $var3)]; return var$4 !== null ? var$4.$isSolid0() : 0; } function cmml_Level_tickEntities($this) { cmml_BlockMap_tickAll($this.$blockMap); } function cmml_Level_tick($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var11, $var13, $var6_0, $var7_0, $var10; $this.$tickCount1 = $this.$tickCount1 + 1 | 0; $var1 = 1; $var2 = 1; while (1 << $var1 < $this.$width0) { $var1 = $var1 + 1 | 0; } while (1 << $var2 < $this.$height0) { $var2 = $var2 + 1 | 0; } a: { $var3 = $this.$height0 - 1 | 0; $var4 = $this.$width0 - 1 | 0; $var5 = $this.$depth - 1 | 0; if (!($this.$tickCount1 % 5 | 0)) { $var6 = $this.$tickList.$size0; $var7 = 0; while (true) { if ($var7 >= $var6) break a; var$8 = ju_ArrayList_remove($this.$tickList, 0); if (var$8.$ticks2 > 0) { var$8.$ticks2 = var$8.$ticks2 - 1 | 0; ju_ArrayList_add($this.$tickList, var$8); } else { $var11 = var$8.$x7; $var13 = var$8.$y7; $var6_0 = var$8.$z8; if ($var11 >= 0 && $var13 >= 0 && $var6_0 >= 0 && $var11 < $this.$width0 && $var13 < $this.$depth && $var6_0 < $this.$height0 ? 1 : 0) { $var11 = $this.$blocks.data[$rt_imul($rt_imul(var$8.$y7, $this.$height0) + var$8.$z8 | 0, $this.$width0) + var$8.$x7 | 0]; if ($var11 == var$8.$block0 && $var11 > 0) { cmmlt_Block_$callClinit(); cmmlt_Block_blocks.data[$var11].$update3($this, var$8.$x7, var$8.$y7, var$8.$z8, $this.$random1); } } } $var7 = $var7 + 1 | 0; } } } $this.$unprocessed = $this.$unprocessed + $rt_imul($rt_imul($this.$width0, $this.$height0), $this.$depth) | 0; $var6_0 = $this.$unprocessed / 200 | 0; $this.$unprocessed = $this.$unprocessed - ($var6_0 * 200 | 0) | 0; $var7_0 = 0; while ($var7_0 < $var6_0) { $this.$randId = ($this.$randId * 3 | 0) + 1013904223 | 0; $var11 = $this.$randId >> 2; $var13 = $var11 & $var4; $var10 = $var11 >> $var1 & $var3; $var6 = $var11 >> ($var1 + $var2 | 0) & $var5; $var11 = $this.$blocks.data[$rt_imul($rt_imul($var6, $this.$height0) + $var10 | 0, $this.$width0) + $var13 | 0]; cmmlt_Block_$callClinit(); if (cmmlt_Block_physics.data[$var11]) cmmlt_Block_blocks.data[$var11].$update3($this, $var13, $var6, $var10, $this.$random1); $var7_0 = $var7_0 + 1 | 0; } } function cmml_Level_countInstanceOf($this, $var1) { var $var2, $var3; $var2 = 0; $var3 = 0; while ($var3 < $this.$blockMap.$all.$size0) { if (jl_Class_isAssignableFrom($var1, jl_Object_getClass(ju_ArrayList_get($this.$blockMap.$all, $var3)))) $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; } return $var2; } function cmml_Level_getGroundLevel($this) { return cmml_Level_getWaterLevel($this) - 2.0; } function cmml_Level_getWaterLevel($this) { return $this.$waterLevel; } function cmml_Level_containsAnyLiquid($this, $var1) { var $var10, $var3, $var4, $var5, $var6, $var7, var$8, $var8; $var10 = $var1.$x00 | 0; $var3 = ($var1.$x10 | 0) + 1 | 0; $var4 = $var1.$y00 | 0; $var5 = ($var1.$y10 | 0) + 1 | 0; $var6 = $var1.$z00 | 0; $var7 = ($var1.$z10 | 0) + 1 | 0; if ($var1.$x00 < 0.0) $var10 = $var10 + (-1) | 0; if ($var1.$y00 < 0.0) $var4 = $var4 + (-1) | 0; if ($var1.$z00 < 0.0) $var6 = $var6 + (-1) | 0; if ($var10 < 0) $var10 = 0; if ($var4 < 0) $var4 = 0; if ($var6 < 0) $var6 = 0; if ($var3 > $this.$width0) $var3 = $this.$width0; if ($var5 > $this.$depth) $var5 = $this.$depth; if ($var7 > $this.$height0) $var7 = $this.$height0; while ($var10 < $var3) { var$8 = $var4; while (var$8 < $var5) { $var8 = $var6; while ($var8 < $var7) { cmmlt_Block_$callClinit(); $var1 = cmmlt_Block_blocks.data[cmml_Level_getTile($this, $var10, var$8, $var8)]; if ($var1 !== null && $var1.$getLiquidType() !== cmmll_LiquidType_NOT_LIQUID) return 1; $var8 = $var8 + 1 | 0; } var$8 = var$8 + 1 | 0; } $var10 = $var10 + 1 | 0; } return 0; } function cmml_Level_containsLiquid($this, $var1, $var2) { var $var11, $var4, $var5, $var6, $var7, $var8, var$9, $var9; $var11 = $var1.$x00 | 0; $var4 = ($var1.$x10 | 0) + 1 | 0; $var5 = $var1.$y00 | 0; $var6 = ($var1.$y10 | 0) + 1 | 0; $var7 = $var1.$z00 | 0; $var8 = ($var1.$z10 | 0) + 1 | 0; if ($var1.$x00 < 0.0) $var11 = $var11 + (-1) | 0; if ($var1.$y00 < 0.0) $var5 = $var5 + (-1) | 0; if ($var1.$z00 < 0.0) $var7 = $var7 + (-1) | 0; if ($var11 < 0) $var11 = 0; if ($var5 < 0) $var5 = 0; if ($var7 < 0) $var7 = 0; if ($var4 > $this.$width0) $var4 = $this.$width0; if ($var6 > $this.$depth) $var6 = $this.$depth; if ($var8 > $this.$height0) $var8 = $this.$height0; while ($var11 < $var4) { var$9 = $var5; while (var$9 < $var6) { $var9 = $var7; while ($var9 < $var8) { cmmlt_Block_$callClinit(); $var1 = cmmlt_Block_blocks.data[cmml_Level_getTile($this, $var11, var$9, $var9)]; if ($var1 !== null && $var1.$getLiquidType() === $var2) return 1; $var9 = $var9 + 1 | 0; } var$9 = var$9 + 1 | 0; } $var11 = $var11 + 1 | 0; } return 0; } function cmml_Level_addToTickNextTick($this, $var1, $var2, $var3, $var4) { var $var5; if (!$this.$networkMode) { $var5 = new cmml_NextTickListEntry; $var5.$x7 = $var1; $var5.$y7 = $var2; $var5.$z8 = $var3; $var5.$block0 = $var4; if ($var4 > 0) { cmmlt_Block_$callClinit(); $var5.$ticks2 = cmmlt_Block_blocks.data[$var4].$getTickDelay(); } ju_ArrayList_add($this.$tickList, $var5); } } function cmml_Level_isFree($this, $var1) { return cmml_BlockMap_getEntities($this.$blockMap, null, $var1).$size0 ? 0 : 1; } function cmml_Level_findEntities($this, $var1, $var2) { return cmml_BlockMap_getEntities($this.$blockMap, $var1, $var2); } function cmml_Level_isSolid($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, var$8; var$5 = $var1 - $var4; var$6 = $var2 - $var4; var$7 = $var3 - $var4; if (cmml_Level_isSolid0($this, var$5, var$6, var$7)) var$8 = 1; else { $var3 = $var3 + $var4; if (cmml_Level_isSolid0($this, var$5, var$6, $var3)) var$8 = 1; else { $var2 = $var2 + $var4; if (cmml_Level_isSolid0($this, var$5, $var2, var$7)) var$8 = 1; else if (cmml_Level_isSolid0($this, var$5, $var2, $var3)) var$8 = 1; else { $var1 = $var1 + $var4; var$8 = cmml_Level_isSolid0($this, $var1, var$6, var$7) ? 1 : cmml_Level_isSolid0($this, $var1, var$6, $var3) ? 1 : !cmml_Level_isSolid0($this, $var1, $var2, var$7) ? cmml_Level_isSolid0($this, $var1, $var2, $var3) : 1; } } } return var$8; } function cmml_Level_isSolid0($this, $var1, $var2, $var3) { var var$4; a: { var$4 = cmml_Level_getTile($this, $var1 | 0, $var2 | 0, $var3 | 0); if (var$4 > 0) { cmmlt_Block_$callClinit(); if (cmmlt_Block_blocks.data[var$4].$isSolid0()) { var$4 = 1; break a; } } var$4 = 0; } return var$4; } function cmml_Level_getHighestTile($this, $var1, $var2) { var $var3, var$4; $var3 = $this.$depth; while (true) { var$4 = $var3 - 1 | 0; if (cmml_Level_getTile($this, $var1, var$4, $var2)) { cmmlt_Block_$callClinit(); if (cmmlt_Block_blocks.data[cmml_Level_getTile($this, $var1, var$4, $var2)].$getLiquidType() === cmmll_LiquidType_NOT_LIQUID) break; } if ($var3 <= 0) break; $var3 = $var3 + (-1) | 0; } return $var3; } function cmml_Level_setSpawnPos($this, $var1, $var2, $var3, $var4) { $this.$xSpawn = $var1; $this.$ySpawn = $var2; $this.$zSpawn = $var3; $this.$rotSpawn = $var4; } function cmml_Level_getBrightness($this, $var1, $var2, $var3) { return !cmml_Level_isLit($this, $var1, $var2, $var3) ? 0.6000000238418579 : 1.0; } function cmml_Level_getLiquid($this, $var1, $var2, $var3) { var var$4; $var1 = cmml_Level_getTile($this, $var1, $var2, $var3); if (!$var1) var$4 = cmmll_LiquidType_NOT_LIQUID; else { cmmlt_Block_$callClinit(); var$4 = cmmlt_Block_blocks.data[$var1].$getLiquidType(); } return var$4; } function cmml_Level_isWater($this, $var1, $var2, $var3) { a: { $var1 = cmml_Level_getTile($this, $var1, $var2, $var3); if ($var1 > 0) { cmmlt_Block_$callClinit(); if (cmmlt_Block_blocks.data[$var1].$getLiquidType() === cmmll_LiquidType_WATER) { $var1 = 1; break a; } } $var1 = 0; } return $var1; } function cmml_Level_clip($this, $var1, $var2) { var $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var9_0, $var10, $var11, $var12, $var22, $var13, $var14, $var15, $var16, $var17, $var18, $var24, $var21; if (!(isNaN($var1.$x3) ? 1 : 0) && !(isNaN($var1.$y3) ? 1 : 0) && !(isNaN($var1.$z3) ? 1 : 0)) { if (!(isNaN($var2.$x3) ? 1 : 0) && !(isNaN($var2.$y3) ? 1 : 0) && !(isNaN($var2.$z3) ? 1 : 0)) { $var3 = jl_Math_floor($var2.$x3) | 0; $var4 = jl_Math_floor($var2.$y3) | 0; $var5 = jl_Math_floor($var2.$z3) | 0; $var6 = jl_Math_floor($var1.$x3) | 0; $var7 = jl_Math_floor($var1.$y3) | 0; $var8 = jl_Math_floor($var1.$z3) | 0; $var9 = 20; a: { b: while (true) { $var9_0 = $var9 + (-1) | 0; if ($var9 < 0) return null; if (isNaN($var1.$x3) ? 1 : 0) break a; if (isNaN($var1.$y3) ? 1 : 0) break a; if (isNaN($var1.$z3) ? 1 : 0) break a; if ($var6 == $var3 && $var7 == $var4 && $var8 == $var5) return null; $var10 = 999.0; $var11 = 999.0; $var12 = 999.0; $var22 = $rt_compare($var3, $var6); if ($var22 > 0) $var10 = $var6 + 1.0; if ($var22 < 0) $var10 = $var6; $var6 = $rt_compare($var4, $var7); if ($var6 > 0) $var11 = $var7 + 1.0; if ($var6 < 0) $var11 = $var7; $var7 = $rt_compare($var5, $var8); if ($var7 > 0) $var12 = $var8 + 1.0; if ($var7 < 0) $var12 = $var8; $var13 = 999.0; $var14 = 999.0; $var15 = 999.0; $var16 = $var2.$x3 - $var1.$x3; $var17 = $var2.$y3 - $var1.$y3; $var18 = $var2.$z3 - $var1.$z3; if ($var10 !== 999.0) $var13 = ($var10 - $var1.$x3) / $var16; if ($var11 !== 999.0) $var14 = ($var11 - $var1.$y3) / $var17; if ($var12 !== 999.0) $var15 = ($var12 - $var1.$z3) / $var18; if ($var13 < $var14 && $var13 < $var15) { $var24 = $var22 <= 0 ? 5 : 4; $var1.$x3 = $var10; $var1.$y3 = $var1.$y3 + $var17 * $var13; $var1.$z3 = $var1.$z3 + $var18 * $var13; } else if ($var14 >= $var15) { $var24 = $var7 <= 0 ? 3 : 2; $var1.$x3 = $var1.$x3 + $var16 * $var15; $var1.$y3 = $var1.$y3 + $var17 * $var15; $var1.$z3 = $var12; } else { $var24 = $var6 <= 0 ? 1 : 0; $var1.$x3 = $var1.$x3 + $var16 * $var14; $var1.$y3 = $var11; $var1.$z3 = $var1.$z3 + $var18 * $var14; } $var21 = cmmm_Vec3D__init_($var1.$x3, $var1.$y3, $var1.$z3); $var13 = jl_Math_floor($var1.$x3); $var21.$x3 = $var13; $var6 = $var13 | 0; if ($var24 == 5) { $var6 = $var6 + (-1) | 0; $var21.$x3 = $var21.$x3 + 1.0; } $var13 = jl_Math_floor($var1.$y3); $var21.$y3 = $var13; $var7 = $var13 | 0; if ($var24 == 1) { $var7 = $var7 + (-1) | 0; $var21.$y3 = $var21.$y3 + 1.0; } $var13 = jl_Math_floor($var1.$z3); $var21.$z3 = $var13; $var8 = $var13 | 0; if ($var24 == 3) { $var8 = $var8 + (-1) | 0; $var21.$z3 = $var21.$z3 + 1.0; } c: { $var22 = cmml_Level_getTile($this, $var6, $var7, $var8); cmmlt_Block_$callClinit(); $var21 = cmmlt_Block_blocks.data[$var22]; if ($var22 > 0 && $var21.$getLiquidType() === cmmll_LiquidType_NOT_LIQUID) { if (!$var21.$isCube()) { $var21 = cmmlt_Block_clip($var21, $var6, $var7, $var8, $var1, $var2); if ($var21 === null) break c; else return $var21; } $var21 = cmmlt_Block_clip($var21, $var6, $var7, $var8, $var1, $var2); if ($var21 !== null) break b; } } $var9 = $var9_0; } return $var21; } return null; } return null; } return null; } function cmml_Level_maybeGrowTree($this, $var1, $var2, $var3) { var $var4, $var5, $var8, $var10, $var6, $var7, $var8_0, $var9, var$12, $var13, $var9_0, $var12, $var11; $var4 = ju_Random_nextInt($this.$random1, 3) + 4 | 0; $var5 = 1; $var8 = ($var2 + 1 | 0) + $var4 | 0; $var10 = $var8 - 2 | 0; $var6 = $var2; while ($var6 <= $var8) { $var7 = 1; if ($var6 == $var2) $var7 = 0; if ($var6 >= $var10) $var7 = 2; $var8_0 = $var1 - $var7 | 0; while ($var8_0 <= ($var1 + $var7 | 0) && $var5) { $var9 = $var3 - $var7 | 0; while ($var9 <= ($var3 + $var7 | 0) && $var5) { if (!($var8_0 >= 0 && $var6 >= 0 && $var9 >= 0 && $var8_0 < $this.$width0 && $var6 < $this.$depth && $var9 < $this.$height0)) $var5 = 0; else if ($this.$blocks.data[$rt_imul($rt_imul($var6, $this.$height0) + $var9 | 0, $this.$width0) + $var8_0 | 0] & 255) $var5 = 0; $var9 = $var9 + 1 | 0; } $var8_0 = $var8_0 + 1 | 0; } $var6 = $var6 + 1 | 0; } if (!$var5) return 0; var$12 = $this.$blocks.data; $var13 = $var2 - 1 | 0; $var5 = var$12[$rt_imul($rt_imul($var13, $this.$height0) + $var3 | 0, $this.$width0) + $var1 | 0] & 255; cmmlt_Block_$callClinit(); if ($var5 == cmmlt_Block_GRASS.$id && $var2 < (($this.$depth - $var4 | 0) - 1 | 0)) { cmml_Level_setTile($this, $var1, $var13, $var3, cmmlt_Block_DIRT.$id); $var13 = ($var2 - 3 | 0) + $var4 | 0; $var5 = $var2 + $var4 | 0; while ($var13 <= $var5) { $var8 = $var13 - $var5 | 0; $var9_0 = 1 - ($var8 / 2 | 0) | 0; $var10 = $var1 - $var9_0 | 0; $var6 = $var1 + $var9_0 | 0; $var8_0 = $var3 - $var9_0 | 0; $var9 = $var3 + $var9_0 | 0; while ($var10 <= $var6) { $var12 = $var10 - $var1 | 0; $var7 = $var8_0; while ($var7 <= $var9) { a: { $var11 = $var7 - $var3 | 0; if (jl_Math_abs0($var12) == $var9_0 && jl_Math_abs0($var11) == $var9_0) { if (!ju_Random_nextInt($this.$random1, 2)) break a; if (!$var8) break a; } cmml_Level_setTile($this, $var10, $var13, $var7, cmmlt_Block_LEAVES.$id); } $var7 = $var7 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var13 = $var13 + 1 | 0; } $var13 = 0; while ($var13 < $var4) { cmml_Level_setTile($this, $var1, $var2 + $var13 | 0, $var3, cmmlt_Block_LOG.$id); $var13 = $var13 + 1 | 0; } return 1; } return 0; } function cmml_Level_getPlayer($this) { return $this.$player0; } function cmml_Level_addEntity($this, $var1) { cmml_BlockMap_insert($this.$blockMap, $var1); $var1.$level2 = $this; } function cmml_Level_removeEntity($this, $var1) { cmml_BlockMap_remove($this.$blockMap, $var1); } function cmml_Level_explode($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, $var10, $var11, $var13, var$13, $var12, $var13_0, $var14, $var15, $var16, $var17, var$20, $var18, var$22; $var6 = $var2 - $var5 - 1.0 | 0; $var7 = $var2 + $var5 + 1.0 | 0; $var8 = $var3 - $var5 - 1.0 | 0; $var9 = $var3 + $var5 + 1.0 | 0; $var10 = $var4 - $var5 - 1.0 | 0; $var11 = $var4 + $var5 + 1.0 | 0; $var13 = $var9 - 1 | 0; var$13 = $var5 * $var5; $var12 = $var6; while ($var12 < $var7) { $var13_0 = $var13; while ($var13_0 >= $var8) { $var14 = $var10; while ($var14 < $var11) { a: { $var15 = $var12 + 0.5 - $var2; $var16 = $var13_0 + 0.5 - $var3; $var17 = $var14 + 0.5 - $var4; if ($var12 < 0) break a; if ($var13_0 < 0) break a; if ($var14 < 0) break a; if ($var12 >= $this.$width0) break a; if ($var13_0 >= $this.$depth) break a; if ($var14 >= $this.$height0) break a; if ($var15 * $var15 + $var16 * $var16 + $var17 * $var17 >= var$13) break a; var$20 = cmml_Level_getTile($this, $var12, $var13_0, $var14); if (var$20 <= 0) break a; cmmlt_Block_$callClinit(); if (!cmmlt_Block_blocks.data[var$20].$explodes) break a; cmmlt_Block_blocks.data[var$20].$dropItems($this, $var12, $var13_0, $var14, 0.30000001192092896); cmml_Level_setTile($this, $var12, $var13_0, $var14, 0); cmmlt_Block_blocks.data[var$20].$explode($this, $var12, $var13_0, $var14); } $var14 = $var14 + 1 | 0; } $var13_0 = $var13_0 + (-1) | 0; } $var12 = $var12 + 1 | 0; } $var18 = cmml_BlockMap_getEntities0($this.$blockMap, $var1, $var6, $var8, $var10, $var7, $var9, $var11); $var13 = 0; while ($var13 < $var18.$size0) { var$22 = ju_ArrayList_get($var18, $var13); $var16 = cmm_Entity_distanceTo(var$22, $var2, $var3, $var4) / $var5; if ($var16 <= 1.0) var$22.$hurt($var1, (1.0 - $var16) * 15.0 + 1.0 | 0); $var13 = $var13 + 1 | 0; } } function cmml_Level_findSubclassOf($this, $var1) { var $var2, $var3; $var2 = 0; while (true) { if ($var2 >= $this.$blockMap.$all.$size0) return null; $var3 = ju_ArrayList_get($this.$blockMap.$all, $var2); if (jl_Class_isAssignableFrom($var1, jl_Object_getClass($var3))) break; $var2 = $var2 + 1 | 0; } return $var3; } function cmmp_ParticleManager() { jl_Object.call(this); this.$particles = null; } function cmmp_ParticleManager__init_(var_0) { var var_1 = new cmmp_ParticleManager(); cmmp_ParticleManager__init_0(var_1, var_0); return var_1; } function cmmp_ParticleManager__init_0($this, $var1) { var $var3; $this.$particles = $rt_createArray(ju_List, 2); if ($var1 !== null) $var1.$particleEngine = $this; $var3 = 0; while ($var3 < 2) { $this.$particles.data[$var3] = ju_ArrayList__init_(); $var3 = $var3 + 1 | 0; } } function cmmp_ParticleManager_spawnParticle($this, $var1) { var $var2; $var1 = $var1; $var2 = $var1.$getParticleTexture(); ju_ArrayList_add($this.$particles.data[$var2], $var1); } function cmmp_ParticleManager_tick($this) { var $var1, $var2, var$3, var$4; $var1 = 0; while ($var1 < 2) { $var2 = 0; while ($var2 < $this.$particles.data[$var1].$size0) { var$3 = ju_ArrayList_get($this.$particles.data[$var1], $var2); var$3.$tick(); if (!var$3.$removed) var$4 = $var2; else { var$3 = $this.$particles.data[$var1]; var$4 = $var2 + (-1) | 0; ju_ArrayList_remove(var$3, $var2); } $var2 = var$4 + 1 | 0; } $var1 = $var1 + 1 | 0; } } function cmmg_Screen() { jl_Object.call(this); this.$imgZ = 0.0; } function cmmg_Screen__init_() { var var_0 = new cmmg_Screen(); cmmg_Screen__init_0(var_0); return var_0; } function cmmg_Screen__init_0($this) { $this.$imgZ = 0.0; } function cmmg_Screen_drawFadingBox($var0, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var12, $var9, $var10, $var11, $var13; $var6 = ($var4 >>> 24) / 255.0; $var7 = ($var4 >> 16 & 255) / 255.0; $var8 = ($var4 >> 8 & 255) / 255.0; $var12 = ($var4 & 255) / 255.0; $var9 = ($var5 >>> 24) / 255.0; $var10 = ($var5 >> 16 & 255) / 255.0; $var11 = ($var5 >> 8 & 255) / 255.0; $var13 = ($var5 & 255) / 255.0; olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f($var7, $var8, $var12, $var6); olo_EaglerAdapterGL30_glColor4f($var10, $var11, $var13, $var9); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3553); } function cmmg_Screen_drawCenteredString($var0, $var1, $var2, $var3, $var4) { cmmg_FontRenderer_drawString($var0, $var1, $var2 - (cmmg_FontRenderer_getStringWidth($var0, $var1) / 2 | 0) | 0, $var3, $var4); } function cmmg_Screen_drawImage($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var9, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $var9 = cmmr_ShapeRenderer_instance; cmmr_ShapeRenderer_begin(cmmr_ShapeRenderer_instance); var$8 = $var1; var$9 = $var2 + $var6 | 0; var$10 = $this.$imgZ; var$11 = $var3 * 0.00390625; var$12 = ($var4 + $var6 | 0) * 0.00390625; cmmr_ShapeRenderer_vertexUV($var9, var$8, var$9, var$10, var$11, var$12); var$10 = $var1 + $var5 | 0; var$13 = $this.$imgZ; var$14 = ($var3 + $var5 | 0) * 0.00390625; cmmr_ShapeRenderer_vertexUV($var9, var$10, var$9, var$13, var$14, var$12); var$13 = $var2; var$12 = $this.$imgZ; var$9 = $var4 * 0.00390625; cmmr_ShapeRenderer_vertexUV($var9, var$10, var$13, var$12, var$14, var$9); cmmr_ShapeRenderer_vertexUV($var9, var$8, var$13, $this.$imgZ, var$11, var$9); cmmr_ShapeRenderer_end($var9); } function cmmg_HUDScreen() { var a = this; cmmg_Screen.call(a); a.$chat = null; a.$random3 = null; a.$mc = null; a.$width2 = 0; a.$height2 = 0; a.$hoveredPlayer = null; a.$ticks1 = 0; } function cmmg_HUDScreen__init_(var_0, var_1, var_2) { var var_3 = new cmmg_HUDScreen(); cmmg_HUDScreen__init_0(var_3, var_0, var_1, var_2); return var_3; } function cmmg_HUDScreen__init_0($this, $var1, $var2, $var3) { cmmg_Screen__init_0($this); $this.$chat = ju_ArrayList__init_(); $this.$random3 = new ju_Random; $this.$hoveredPlayer = null; $this.$ticks1 = 0; $this.$mc = $var1; $this.$width2 = ($var2 * 240 | 0) / $var3 | 0; $this.$height2 = ($var3 * 240 | 0) / $var3 | 0; } function cmmg_HUDScreen_render($this, $var1, $var2, $var3, $var4) { var $var5, $var23, $var7, $var8, $var24, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var26, $var16, $var19, $var21, $var25, $var27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var27 = $thread.pop();$var25 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var16 = $thread.pop();$var26 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var24 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var23 = $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: $var5 = $this.$mc.$fontRenderer; cmmr_Renderer_enableGuiMode($this.$mc.$renderer); $var23 = cmmr_TextureLocation__init_($rt_s(349)); $ptr = 1; case 1: cmmr_TextureLocation_bindTexture($var23); if ($rt_suspending()) { break main; } $var7 = cmmr_ShapeRenderer_instance; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glEnable(3042); $var8 = $this.$mc.$player.$inventory; $this.$imgZ = (-90.0); cmmg_Screen_drawImage($this, ($this.$width2 / 2 | 0) - 91 | 0, $this.$height2 - 22 | 0, 0, 0, 182, 22); cmmg_Screen_drawImage($this, ((($this.$width2 / 2 | 0) - 91 | 0) - 1 | 0) + ($var8.$selected0 * 20 | 0) | 0, ($this.$height2 - 22 | 0) - 1 | 0, 0, 22, 24, 22); $var24 = cmmr_TextureLocation__init_($rt_s(350)); $ptr = 2; case 2: cmmr_TextureLocation_bindTexture($var24); if ($rt_suspending()) { break main; } cmmg_Screen_drawImage($this, ($this.$width2 / 2 | 0) - 7 | 0, ($this.$height2 / 2 | 0) - 7 | 0, 0, 0, 16, 16); $var9 = (($this.$mc.$player.$invulnerableTime / 3 | 0) % 2 | 0) != 1 ? 0 : 1; if ($this.$mc.$player.$invulnerableTime < 10) $var9 = 0; a: { $var10 = $this.$mc.$player.$health; $var11 = $this.$mc.$player.$lastHealth; ju_Random_setSeed($this.$random3, Long_fromInt($rt_imul($this.$ticks1, 312871))); if (cmmg_GameMode_isSurvival($this.$mc.$gamemode)) { $var12 = 0; $var4 = $rt_compare($var10, 4); while ($var12 < 10) { $var13 = 0; if ($var9) $var13 = 1; $var14 = (($this.$width2 / 2 | 0) - 91 | 0) + ($var12 << 3) | 0; $var15 = $this.$height2 - 32 | 0; if ($var4 <= 0) $var15 = $var15 + ju_Random_nextInt($this.$random3, 2) | 0; cmmg_Screen_drawImage($this, $var14, $var15, 16 + ($var13 * 9 | 0) | 0, 0, 9, 9); if ($var9) { $var2 = $rt_compare(($var12 << 1) + 1 | 0, $var11); if ($var2 < 0) cmmg_Screen_drawImage($this, $var14, $var15, 70, 0, 9, 9); if (!$var2) cmmg_Screen_drawImage($this, $var14, $var15, 79, 0, 9, 9); } $var2 = $rt_compare(($var12 << 1) + 1 | 0, $var10); if ($var2 < 0) cmmg_Screen_drawImage($this, $var14, $var15, 52, 0, 9, 9); if (!$var2) cmmg_Screen_drawImage($this, $var14, $var15, 61, 0, 9, 9); $var12 = $var12 + 1 | 0; } if (cmm_Entity_isUnderWater($this.$mc.$player)) { $var2 = jl_Math_ceil(($this.$mc.$player.$airSupply - 2 | 0) * 10.0 / 300.0) | 0; $var26 = (jl_Math_ceil($this.$mc.$player.$airSupply * 10.0 / 300.0) | 0) - $var2 | 0; $var14 = 0; $var3 = $var2 + $var26 | 0; while (true) { if ($var14 >= $var3) break a; if ($var14 >= $var2) cmmg_Screen_drawImage($this, (($this.$width2 / 2 | 0) - 91 | 0) + ($var14 << 3) | 0, ($this.$height2 - 32 | 0) - 9 | 0, 25, 18, 9, 9); else cmmg_Screen_drawImage($this, (($this.$width2 / 2 | 0) - 91 | 0) + ($var14 << 3) | 0, ($this.$height2 - 32 | 0) - 9 | 0, 16, 18, 9, 9); $var14 = $var14 + 1 | 0; } } } } olo_EaglerAdapterGL30_glDisable(3042); $var12 = 0; while ($var12 < $var8.$slots.data.length) { $var26 = (($this.$width2 / 2 | 0) - 90 | 0) + ($var12 * 20 | 0) | 0; $var14 = $this.$height2 - 16 | 0; $var3 = $var8.$slots.data[$var12]; if ($var3 > 0) { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var26, $var14, (-50.0)); if ($var8.$popTime.data[$var12] > 0) { $var16 = ($var8.$popTime.data[$var12] - $var1) / 5.0; $var19 = $var16 * $var16 * 3.1415927410125732; $var21 = -nPm_MathHelper_sin($var19) * 8.0; $var19 = nPm_MathHelper_sin($var19) + 1.0; $var16 = nPm_MathHelper_sin($var16 * 3.1415927410125732) + 1.0; olo_EaglerAdapterGL30_glTranslatef(10.0, $var21 + 10.0, 0.0); olo_EaglerAdapterGL30_glScalef($var19, $var16, 1.0); olo_EaglerAdapterGL30_glTranslatef((-10.0), (-10.0), 0.0); } olo_EaglerAdapterGL30_glScalef(10.0, 10.0, 10.0); olo_EaglerAdapterGL30_glTranslatef(1.0, 0.5, 0.0); olo_EaglerAdapterGL30_glRotatef((-30.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef((-1.5), 0.5, 0.5); olo_EaglerAdapterGL30_glScalef((-1.0), (-1.0), (-1.0)); $var24 = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 3; continue main; } $var12 = $var12 + 1 | 0; } cmmg_FontRenderer_drawString($var5, $rt_s(351), 2, 2, 16777215); if (cmm_Minecraft_settings.$showFrameRate) cmmg_FontRenderer_drawString($var5, $this.$mc.$debug, 2, 12, 16777215); if ($this.$mc.$gamemode instanceof cmmg_SurvivalGameMode) { $var24 = jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(352)), cmmp_Player_getScore($this.$mc.$player))); cmmg_FontRenderer_drawString($var5, $var24, ($this.$width2 - cmmg_FontRenderer_getStringWidth($var5, $var24) | 0) - 2 | 0, 2, 16777215); cmmg_FontRenderer_drawString($var5, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(353)), $this.$mc.$player.$arrows)), ($this.$width2 / 2 | 0) + 8 | 0, $this.$height2 - 33 | 0, 16777215); } $var25 = 10; $var27 = 0; if ($this.$mc.$currentScreen instanceof cmmg_ChatInputScreen) { $var25 = 20; $var27 = 1; } $var14 = 0; while ($var14 < ju_ArrayList_size($this.$chat) && $var14 < $var25) { if (!(ju_ArrayList_get($this.$chat, $var14).$time >= 200 && !$var27)) cmmg_FontRenderer_drawString($var5, ju_ArrayList_get($this.$chat, $var14).$message0, 2, (($this.$height2 - 8 | 0) - ($var14 * 9 | 0) | 0) - 20 | 0, 16777215); $var14 = $var14 + 1 | 0; } $this.$hoveredPlayer = null; return; case 3: cmmr_TextureLocation_bindTexture($var24); if ($rt_suspending()) { break main; } cmmr_ShapeRenderer_begin($var7); cmmlt_Block_$callClinit(); cmmlt_Block_blocks.data[$var3].$renderFullbright($var7); cmmr_ShapeRenderer_end($var7); olo_EaglerAdapterGL30_glPopMatrix(); if ($var8.$count0.data[$var12] > 1) { $var23 = jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(4)), $var8.$count0.data[$var12])); cmmg_FontRenderer_drawString($var5, $var23, ($var26 + 19 | 0) - cmmg_FontRenderer_getStringWidth($var5, $var23) | 0, $var14 + 6 | 0, 16777215); } while (true) { $var12 = $var12 + 1 | 0; if ($var12 >= $var8.$slots.data.length) break; $var26 = (($this.$width2 / 2 | 0) - 90 | 0) + ($var12 * 20 | 0) | 0; $var14 = $this.$height2 - 16 | 0; $var3 = $var8.$slots.data[$var12]; if ($var3 <= 0) continue; else { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var26, $var14, (-50.0)); if ($var8.$popTime.data[$var12] > 0) { $var16 = ($var8.$popTime.data[$var12] - $var1) / 5.0; $var19 = $var16 * $var16 * 3.1415927410125732; $var21 = -nPm_MathHelper_sin($var19) * 8.0; $var19 = nPm_MathHelper_sin($var19) + 1.0; $var16 = nPm_MathHelper_sin($var16 * 3.1415927410125732) + 1.0; olo_EaglerAdapterGL30_glTranslatef(10.0, $var21 + 10.0, 0.0); olo_EaglerAdapterGL30_glScalef($var19, $var16, 1.0); olo_EaglerAdapterGL30_glTranslatef((-10.0), (-10.0), 0.0); } olo_EaglerAdapterGL30_glScalef(10.0, 10.0, 10.0); olo_EaglerAdapterGL30_glTranslatef(1.0, 0.5, 0.0); olo_EaglerAdapterGL30_glRotatef((-30.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef((-1.5), 0.5, 0.5); olo_EaglerAdapterGL30_glScalef((-1.0), (-1.0), (-1.0)); $var24 = cmmr_TextureLocation__init_($rt_s(185)); continue main; } } cmmg_FontRenderer_drawString($var5, $rt_s(351), 2, 2, 16777215); if (cmm_Minecraft_settings.$showFrameRate) cmmg_FontRenderer_drawString($var5, $this.$mc.$debug, 2, 12, 16777215); if ($this.$mc.$gamemode instanceof cmmg_SurvivalGameMode) { $var24 = jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(352)), cmmp_Player_getScore($this.$mc.$player))); cmmg_FontRenderer_drawString($var5, $var24, ($this.$width2 - cmmg_FontRenderer_getStringWidth($var5, $var24) | 0) - 2 | 0, 2, 16777215); cmmg_FontRenderer_drawString($var5, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(353)), $this.$mc.$player.$arrows)), ($this.$width2 / 2 | 0) + 8 | 0, $this.$height2 - 33 | 0, 16777215); } $var25 = 10; $var27 = 0; if ($this.$mc.$currentScreen instanceof cmmg_ChatInputScreen) { $var25 = 20; $var27 = 1; } $var14 = 0; while ($var14 < ju_ArrayList_size($this.$chat) && $var14 < $var25) { if (!(ju_ArrayList_get($this.$chat, $var14).$time >= 200 && !$var27)) cmmg_FontRenderer_drawString($var5, ju_ArrayList_get($this.$chat, $var14).$message0, 2, (($this.$height2 - 8 | 0) - ($var14 * 9 | 0) | 0) - 20 | 0, 16777215); $var14 = $var14 + 1 | 0; } $this.$hoveredPlayer = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var23, $var7, $var8, $var24, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var26, $var16, $var19, $var21, $var25, $var27, $ptr); } function cmm_StopGameException() { jl_Error.call(this); } function cmm_StopGameException__init_() { var var_0 = new cmm_StopGameException(); cmm_StopGameException__init_0(var_0); return var_0; } function cmm_StopGameException__init_0($this) { jl_Throwable__init_0($this); } function cmmp_Player() { var a = this; cmmm_Mob.call(a); a.$input = null; a.$inventory = null; a.$userType = 0; a.$oBob = 0.0; a.$bob = 0.0; a.$score = 0; a.$arrows = 0; } var cmmp_Player_newTextureId = 0; function cmmp_Player_resetPos($this) { var var$1, var$2, var$3; $this.$heightOffset = 1.6200000047683716; cmm_Entity_setSize($this, 0.6000000238418579, 1.7999999523162842); if ($this.$level2 !== null) { var$1 = $this.$level2.$xSpawn + 0.5; var$2 = $this.$level2.$ySpawn; var$3 = $this.$level2.$zSpawn + 0.5; a: { while (true) { if (var$2 <= 0.0) break a; cmm_Entity_setPos($this, var$1, var$2, var$3); if (!cmml_Level_getCubes($this.$level2, $this.$bb).$size0) break; var$2 = var$2 + 1.0; } } $this.$zd = 0.0; $this.$yd = 0.0; $this.$xd = 0.0; $this.$yRot = $this.$level2.$rotSpawn; $this.$xRot = 0.0; } if ($this.$level2 !== null) $this.$level2.$player0 = $this; $this.$health = 20; $this.$deathTime = 0; } function cmmp_Player_aiStep($this) { var $var1, $var2, var$3, $var4; cmmp_Inventory_tick($this.$inventory); $this.$oBob = $this.$bob; cmmp_InputHandlerImpl_updateMovement($this.$input); cmmm_Mob_aiStep($this); $var1 = nPm_MathHelper_sqrt($this.$xd * $this.$xd + $this.$zd * $this.$zd); $var2 = jl_Math_atan( -$this.$yd * 0.20000000298023224) * 15.0; if ($var1 > 0.10000000149011612) $var1 = 0.10000000149011612; if (!($this.$onGround && $this.$health > 0)) $var1 = 0.0; if (!(!$this.$onGround && $this.$health > 0)) $var2 = 0.0; a: { $this.$bob = $this.$bob + ($var1 - $this.$bob) * 0.4000000059604645; $this.$tilt = $this.$tilt + ($var2 - $this.$tilt) * 0.800000011920929; if ($this.$health > 0) { var$3 = cmml_Level_findEntities($this.$level2, $this, cmmp_AABB_grow($this.$bb, 1.0, 0.0, 1.0)); if (var$3 !== null) { $var4 = 0; while (true) { if ($var4 >= var$3.$size0) break a; ju_ArrayList_get(var$3, $var4).$playerTouch($this); $var4 = $var4 + 1 | 0; } } } } } function cmmp_Player_render($this, $var2) { return; } function cmmp_Player_releaseAllKeys($this) { cmmp_InputHandlerImpl_resetKeys($this.$input); } function cmmp_Player_setKey($this, $var1, $var2) { cmmp_InputHandlerImpl_setKeyState($this.$input, $var1, $var2); } function cmmp_Player_addResource($this, $var1) { return cmmp_Inventory_addResource($this.$inventory, $var1); } function cmmp_Player_getScore($this) { return $this.$score; } function cmmp_Player_getModel($this) { return cmmm_ModelManager_getModel(cmmm_Mob_modelCache, $this.$modelName); } function cmmp_Player_die($this, $var1) { cmm_Entity_setSize($this, 0.20000000298023224, 0.20000000298023224); cmm_Entity_setPos($this, $this.$x, $this.$y, $this.$z); $this.$yd = 0.10000000149011612; if ($var1 === null) { $this.$zd = 0.0; $this.$xd = 0.0; } else { $this.$xd = -nPm_MathHelper_cos(($this.$hurtDir + $this.$yRot) * 3.1415927410125732 / 180.0) * 0.10000000149011612; $this.$zd = -nPm_MathHelper_sin(($this.$hurtDir + $this.$yRot) * 3.1415927410125732 / 180.0) * 0.10000000149011612; } $this.$heightOffset = 0.10000000149011612; } function cmmp_Player_remove($this) { return; } function cmmp_Player_awardKillScore($this, $var1, $var2) { $this.$score = $this.$score + $var2 | 0; } function cmmp_Player_isShootable($this) { return 1; } function cmmp_Player_bindTexture($this) { var var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = cmmr_TextureLocation__init_($rt_s(347)); $ptr = 1; case 1: cmmr_TextureLocation_bindTexture(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function cmmp_Player_hurt($this, $var1, $var2) { if (!$this.$level2.$creativeMode) cmmm_Mob_hurt($this, $var1, $var2); } function cmmp_Player__clinit_() { cmmp_Player_newTextureId = (-1); } function nPm_MathHelper() { jl_Object.call(this); } var nPm_MathHelper_SIN_TABLE = null; function nPm_MathHelper_sin($var0) { return nPm_MathHelper_SIN_TABLE.data[($var0 * 651.8986206054688 | 0) & 4095]; } function nPm_MathHelper_cos($var0) { return nPm_MathHelper_SIN_TABLE.data[(($var0 + 1.5707963705062866) * 651.8986206054688 | 0) & 4095]; } function nPm_MathHelper_sqrt($var0) { return jl_Math_sqrt($var0); } function nPm_MathHelper__clinit_() { var $j, $l, var$3, var$4; nPm_MathHelper_SIN_TABLE = $rt_createFloatArray(4096); $j = 0; while ($j < 4096) { nPm_MathHelper_SIN_TABLE.data[$j] = jl_Math_sin(($j + 0.5) / 4096.0 * 6.2831854820251465); $j = $j + 1 | 0; } $l = 0; while ($l < 360) { var$3 = nPm_MathHelper_SIN_TABLE.data; var$4 = $l; var$3[(var$4 * 11.377778053283691 | 0) & 4095] = jl_Math_sin(var$4 * 0.01745329238474369); $l = $l + 90 | 0; } } function cmmg_CreativeGameMode() { cmmg_GameMode.call(this); } function cmm_MovingObjectPosition() { var a = this; jl_Object.call(a); a.$entityPos = 0; a.$x0 = 0; a.$y0 = 0; a.$z0 = 0; a.$face = 0; a.$vec = null; a.$entity0 = null; } function cmm_MovingObjectPosition__init_0(var_0, var_1, var_2, var_3, var_4) { var var_5 = new cmm_MovingObjectPosition(); cmm_MovingObjectPosition__init_1(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function cmm_MovingObjectPosition__init_(var_0) { var var_1 = new cmm_MovingObjectPosition(); cmm_MovingObjectPosition__init_2(var_1, var_0); return var_1; } function cmm_MovingObjectPosition__init_1($this, $x, $y, $z, $side, $blockPos) { $this.$entityPos = 0; $this.$x0 = $x; $this.$y0 = $y; $this.$z0 = $z; $this.$face = $side; $this.$vec = cmmm_Vec3D__init_($blockPos.$x3, $blockPos.$y3, $blockPos.$z3); } function cmm_MovingObjectPosition__init_2($this, $entity) { $this.$entityPos = 1; $this.$entity0 = $entity; } function cmmr_Chunk() { var a = this; jl_Object.call(a); a.$level3 = null; a.$baseListId0 = 0; a.$x8 = 0; a.$y8 = 0; a.$z9 = 0; a.$width3 = 0; a.$height3 = 0; a.$depth1 = 0; a.$visible = 0; a.$dirty = null; a.$loaded = 0; } var cmmr_Chunk_renderer = null; var cmmr_Chunk_chunkUpdates = 0; function cmmr_Chunk_$callClinit() { cmmr_Chunk_$callClinit = $rt_eraseClinit(cmmr_Chunk); cmmr_Chunk__clinit_(); } function cmmr_Chunk__init_(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new cmmr_Chunk(); cmmr_Chunk__init_0(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function cmmr_Chunk__init_0($this, $var1, $var2, $var3, $var4, $var5, $var6) { cmmr_Chunk_$callClinit(); $this.$baseListId0 = (-1); $this.$visible = 0; $this.$dirty = $rt_createBooleanArray(2); $this.$level3 = $var1; $this.$x8 = $var2; $this.$y8 = $var3; $this.$z9 = $var4; $this.$depth1 = 16; $this.$height3 = 16; $this.$width3 = 16; nPm_MathHelper_sqrt(($rt_imul($this.$width3, $this.$width3) + $rt_imul($this.$height3, $this.$height3) | 0) + $rt_imul($this.$depth1, $this.$depth1) | 0); $this.$baseListId0 = $var6; cmmr_Chunk_setAllDirty($this); } function cmmr_Chunk_update($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, var$13, var$14; cmmr_Chunk_chunkUpdates = cmmr_Chunk_chunkUpdates + 1 | 0; $var1 = $this.$x8; $var2 = $this.$y8; $var3 = $this.$z9; $var4 = $this.$x8 + $this.$width3 | 0; $var5 = $this.$y8 + $this.$height3 | 0; $var6 = $this.$z9 + $this.$depth1 | 0; $var7 = 0; while ($var7 < 2) { $this.$dirty.data[$var7] = 1; $var7 = $var7 + 1 | 0; } $var7 = 0; a: { while (true) { if ($var7 >= 2) break a; $var8 = 0; $var9 = 0; olo_EaglerAdapterGL30_glNewList($this.$baseListId0 + $var7 | 0, 4864); cmmr_ShapeRenderer_begin(cmmr_Chunk_renderer); $var10 = $var1; while ($var10 < $var4) { $var11 = $var2; while ($var11 < $var5) { $var12 = $var3; while ($var12 < $var6) { var$13 = cmml_Level_getTile($this.$level3, $var10, $var11, $var12); if (var$13 > 0) { cmmlt_Block_$callClinit(); var$14 = cmmlt_Block_blocks.data[var$13]; if (var$14.$getRenderPass() != $var7) $var8 = 1; else $var9 = $var9 | var$14.$render7($this.$level3, $var10, $var11, $var12, cmmr_Chunk_renderer); } $var12 = $var12 + 1 | 0; } $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } cmmr_ShapeRenderer_end(cmmr_Chunk_renderer); olo_EaglerAdapterGL30_glEndList(); if ($var9) $this.$dirty.data[$var7] = 0; if (!$var8) break; $var7 = $var7 + 1 | 0; } } } function cmmr_Chunk_distanceSquared($this, $var1) { var $var2, $var3, $var4; $var2 = $var1.$x - $this.$x8; $var3 = $var1.$y - $this.$y8; $var4 = $var1.$z - $this.$z9; return $var2 * $var2 + $var3 * $var3 + $var4 * $var4; } function cmmr_Chunk_setAllDirty($this) { var $var1; $var1 = 0; while ($var1 < 2) { $this.$dirty.data[$var1] = 1; $var1 = $var1 + 1 | 0; } } function cmmr_Chunk_dispose($this) { cmmr_Chunk_setAllDirty($this); $this.$level3 = null; } function cmmr_Chunk_appendLists($this, $var1, $var2, $var3) { var var$4; if (!$this.$visible) return $var2; if ($this.$dirty.data[$var3]) var$4 = $var2; else { $var1 = $var1.data; var$4 = $var2 + 1 | 0; $var1[$var2] = $this.$baseListId0 + $var3 | 0; } return var$4; } function cmmr_Chunk_clip($this, $var1) { $this.$visible = cmmr_Frustrum_isBoxInFrustrum($var1, $this.$x8, $this.$y8, $this.$z9, $this.$x8 + $this.$width3 | 0, $this.$y8 + $this.$height3 | 0, $this.$z9 + $this.$depth1 | 0); } function cmmr_Chunk__clinit_() { cmmr_Chunk_renderer = cmmr_ShapeRenderer_instance; cmmr_Chunk_chunkUpdates = 0; } function cmmr_Frustrum() { var a = this; jl_Object.call(a); a.$frustrum = null; a.$projection = null; a.$modelview = null; a.$clipping = null; } function cmmr_Frustrum_isBoxInFrustrum($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7; $var7 = 0; while ($var7 < 6) { if ($this.$frustrum.data[$var7].data[0] * $var1 + $this.$frustrum.data[$var7].data[1] * $var2 + $this.$frustrum.data[$var7].data[2] * $var3 + $this.$frustrum.data[$var7].data[3] <= 0.0 && $this.$frustrum.data[$var7].data[0] * $var4 + $this.$frustrum.data[$var7].data[1] * $var2 + $this.$frustrum.data[$var7].data[2] * $var3 + $this.$frustrum.data[$var7].data[3] <= 0.0 && $this.$frustrum.data[$var7].data[0] * $var1 + $this.$frustrum.data[$var7].data[1] * $var5 + $this.$frustrum.data[$var7].data[2] * $var3 + $this.$frustrum.data[$var7].data[3] <= 0.0 && $this.$frustrum.data[$var7].data[0] * $var4 + $this.$frustrum.data[$var7].data[1] * $var5 + $this.$frustrum.data[$var7].data[2] * $var3 + $this.$frustrum.data[$var7].data[3] <= 0.0 && $this.$frustrum.data[$var7].data[0] * $var1 + $this.$frustrum.data[$var7].data[1] * $var2 + $this.$frustrum.data[$var7].data[2] * $var6 + $this.$frustrum.data[$var7].data[3] <= 0.0 && $this.$frustrum.data[$var7].data[0] * $var4 + $this.$frustrum.data[$var7].data[1] * $var2 + $this.$frustrum.data[$var7].data[2] * $var6 + $this.$frustrum.data[$var7].data[3] <= 0.0 && $this.$frustrum.data[$var7].data[0] * $var1 + $this.$frustrum.data[$var7].data[1] * $var5 + $this.$frustrum.data[$var7].data[2] * $var6 + $this.$frustrum.data[$var7].data[3] <= 0.0 && $this.$frustrum.data[$var7].data[0] * $var4 + $this.$frustrum.data[$var7].data[1] * $var5 + $this.$frustrum.data[$var7].data[2] * $var6 + $this.$frustrum.data[$var7].data[3] <= 0.0) return 0; $var7 = $var7 + 1 | 0; } return 1; } function cmmr_FrustrumImpl() { var a = this; cmmr_Frustrum.call(a); a.$projectionBuff = null; a.$modelviewBuff = null; a.$unused0 = null; } var cmmr_FrustrumImpl_instance = null; function cmmr_FrustrumImpl_update() { var $var0; $var0 = cmmr_FrustrumImpl_instance; jn_FloatBuffer_clear(cmmr_FrustrumImpl_instance.$projectionBuff); jn_FloatBuffer_clear($var0.$modelviewBuff); jn_FloatBuffer_clear($var0.$unused0); olo_EaglerAdapterGL30_glGetFloat(2983, $var0.$projectionBuff); olo_EaglerAdapterGL30_glGetFloat(2982, $var0.$modelviewBuff); jn_FloatBuffer_limit0(jn_FloatBuffer_flip($var0.$projectionBuff), 16); jn_FloatBuffer_get0($var0.$projectionBuff, $var0.$projection); jn_FloatBuffer_limit0(jn_FloatBuffer_flip($var0.$modelviewBuff), 16); jn_FloatBuffer_get0($var0.$modelviewBuff, $var0.$modelview); $var0.$clipping.data[0] = $var0.$modelview.data[0] * $var0.$projection.data[0] + $var0.$modelview.data[1] * $var0.$projection.data[4] + $var0.$modelview.data[2] * $var0.$projection.data[8] + $var0.$modelview.data[3] * $var0.$projection.data[12]; $var0.$clipping.data[1] = $var0.$modelview.data[0] * $var0.$projection.data[1] + $var0.$modelview.data[1] * $var0.$projection.data[5] + $var0.$modelview.data[2] * $var0.$projection.data[9] + $var0.$modelview.data[3] * $var0.$projection.data[13]; $var0.$clipping.data[2] = $var0.$modelview.data[0] * $var0.$projection.data[2] + $var0.$modelview.data[1] * $var0.$projection.data[6] + $var0.$modelview.data[2] * $var0.$projection.data[10] + $var0.$modelview.data[3] * $var0.$projection.data[14]; $var0.$clipping.data[3] = $var0.$modelview.data[0] * $var0.$projection.data[3] + $var0.$modelview.data[1] * $var0.$projection.data[7] + $var0.$modelview.data[2] * $var0.$projection.data[11] + $var0.$modelview.data[3] * $var0.$projection.data[15]; $var0.$clipping.data[4] = $var0.$modelview.data[4] * $var0.$projection.data[0] + $var0.$modelview.data[5] * $var0.$projection.data[4] + $var0.$modelview.data[6] * $var0.$projection.data[8] + $var0.$modelview.data[7] * $var0.$projection.data[12]; $var0.$clipping.data[5] = $var0.$modelview.data[4] * $var0.$projection.data[1] + $var0.$modelview.data[5] * $var0.$projection.data[5] + $var0.$modelview.data[6] * $var0.$projection.data[9] + $var0.$modelview.data[7] * $var0.$projection.data[13]; $var0.$clipping.data[6] = $var0.$modelview.data[4] * $var0.$projection.data[2] + $var0.$modelview.data[5] * $var0.$projection.data[6] + $var0.$modelview.data[6] * $var0.$projection.data[10] + $var0.$modelview.data[7] * $var0.$projection.data[14]; $var0.$clipping.data[7] = $var0.$modelview.data[4] * $var0.$projection.data[3] + $var0.$modelview.data[5] * $var0.$projection.data[7] + $var0.$modelview.data[6] * $var0.$projection.data[11] + $var0.$modelview.data[7] * $var0.$projection.data[15]; $var0.$clipping.data[8] = $var0.$modelview.data[8] * $var0.$projection.data[0] + $var0.$modelview.data[9] * $var0.$projection.data[4] + $var0.$modelview.data[10] * $var0.$projection.data[8] + $var0.$modelview.data[11] * $var0.$projection.data[12]; $var0.$clipping.data[9] = $var0.$modelview.data[8] * $var0.$projection.data[1] + $var0.$modelview.data[9] * $var0.$projection.data[5] + $var0.$modelview.data[10] * $var0.$projection.data[9] + $var0.$modelview.data[11] * $var0.$projection.data[13]; $var0.$clipping.data[10] = $var0.$modelview.data[8] * $var0.$projection.data[2] + $var0.$modelview.data[9] * $var0.$projection.data[6] + $var0.$modelview.data[10] * $var0.$projection.data[10] + $var0.$modelview.data[11] * $var0.$projection.data[14]; $var0.$clipping.data[11] = $var0.$modelview.data[8] * $var0.$projection.data[3] + $var0.$modelview.data[9] * $var0.$projection.data[7] + $var0.$modelview.data[10] * $var0.$projection.data[11] + $var0.$modelview.data[11] * $var0.$projection.data[15]; $var0.$clipping.data[12] = $var0.$modelview.data[12] * $var0.$projection.data[0] + $var0.$modelview.data[13] * $var0.$projection.data[4] + $var0.$modelview.data[14] * $var0.$projection.data[8] + $var0.$modelview.data[15] * $var0.$projection.data[12]; $var0.$clipping.data[13] = $var0.$modelview.data[12] * $var0.$projection.data[1] + $var0.$modelview.data[13] * $var0.$projection.data[5] + $var0.$modelview.data[14] * $var0.$projection.data[9] + $var0.$modelview.data[15] * $var0.$projection.data[13]; $var0.$clipping.data[14] = $var0.$modelview.data[12] * $var0.$projection.data[2] + $var0.$modelview.data[13] * $var0.$projection.data[6] + $var0.$modelview.data[14] * $var0.$projection.data[10] + $var0.$modelview.data[15] * $var0.$projection.data[14]; $var0.$clipping.data[15] = $var0.$modelview.data[12] * $var0.$projection.data[3] + $var0.$modelview.data[13] * $var0.$projection.data[7] + $var0.$modelview.data[14] * $var0.$projection.data[11] + $var0.$modelview.data[15] * $var0.$projection.data[15]; $var0.$frustrum.data[0].data[0] = $var0.$clipping.data[3] - $var0.$clipping.data[0]; $var0.$frustrum.data[0].data[1] = $var0.$clipping.data[7] - $var0.$clipping.data[4]; $var0.$frustrum.data[0].data[2] = $var0.$clipping.data[11] - $var0.$clipping.data[8]; $var0.$frustrum.data[0].data[3] = $var0.$clipping.data[15] - $var0.$clipping.data[12]; cmmr_FrustrumImpl_normalize($var0.$frustrum, 0); $var0.$frustrum.data[1].data[0] = $var0.$clipping.data[3] + $var0.$clipping.data[0]; $var0.$frustrum.data[1].data[1] = $var0.$clipping.data[7] + $var0.$clipping.data[4]; $var0.$frustrum.data[1].data[2] = $var0.$clipping.data[11] + $var0.$clipping.data[8]; $var0.$frustrum.data[1].data[3] = $var0.$clipping.data[15] + $var0.$clipping.data[12]; cmmr_FrustrumImpl_normalize($var0.$frustrum, 1); $var0.$frustrum.data[2].data[0] = $var0.$clipping.data[3] + $var0.$clipping.data[1]; $var0.$frustrum.data[2].data[1] = $var0.$clipping.data[7] + $var0.$clipping.data[5]; $var0.$frustrum.data[2].data[2] = $var0.$clipping.data[11] + $var0.$clipping.data[9]; $var0.$frustrum.data[2].data[3] = $var0.$clipping.data[15] + $var0.$clipping.data[13]; cmmr_FrustrumImpl_normalize($var0.$frustrum, 2); $var0.$frustrum.data[3].data[0] = $var0.$clipping.data[3] - $var0.$clipping.data[1]; $var0.$frustrum.data[3].data[1] = $var0.$clipping.data[7] - $var0.$clipping.data[5]; $var0.$frustrum.data[3].data[2] = $var0.$clipping.data[11] - $var0.$clipping.data[9]; $var0.$frustrum.data[3].data[3] = $var0.$clipping.data[15] - $var0.$clipping.data[13]; cmmr_FrustrumImpl_normalize($var0.$frustrum, 3); $var0.$frustrum.data[4].data[0] = $var0.$clipping.data[3] - $var0.$clipping.data[2]; $var0.$frustrum.data[4].data[1] = $var0.$clipping.data[7] - $var0.$clipping.data[6]; $var0.$frustrum.data[4].data[2] = $var0.$clipping.data[11] - $var0.$clipping.data[10]; $var0.$frustrum.data[4].data[3] = $var0.$clipping.data[15] - $var0.$clipping.data[14]; cmmr_FrustrumImpl_normalize($var0.$frustrum, 4); $var0.$frustrum.data[5].data[0] = $var0.$clipping.data[3] + $var0.$clipping.data[2]; $var0.$frustrum.data[5].data[1] = $var0.$clipping.data[7] + $var0.$clipping.data[6]; $var0.$frustrum.data[5].data[2] = $var0.$clipping.data[11] + $var0.$clipping.data[10]; $var0.$frustrum.data[5].data[3] = $var0.$clipping.data[15] + $var0.$clipping.data[14]; cmmr_FrustrumImpl_normalize($var0.$frustrum, 5); return cmmr_FrustrumImpl_instance; } function cmmr_FrustrumImpl_normalize($var0, $var1) { var $var2, var$4; $var0 = $var0.data; $var2 = nPm_MathHelper_sqrt($var0[$var1].data[0] * $var0[$var1].data[0] + $var0[$var1].data[1] * $var0[$var1].data[1] + $var0[$var1].data[2] * $var0[$var1].data[2]); var$4 = $var0[$var1].data; var$4[0] = var$4[0] / $var2; var$4 = $var0[$var1].data; var$4[1] = var$4[1] / $var2; var$4 = $var0[$var1].data; var$4[2] = var$4[2] / $var2; $var0 = $var0[$var1].data; $var0[3] = $var0[3] / $var2; } function cmmr_FrustrumImpl__clinit_() { var var$1; var$1 = new cmmr_FrustrumImpl; var$1.$frustrum = $rt_createFloatMultiArray([16, 16]); var$1.$projection = $rt_createFloatArray(16); var$1.$modelview = $rt_createFloatArray(16); var$1.$clipping = $rt_createFloatArray(16); var$1.$projectionBuff = nle_GLAllocation_createDirectFloatBuffer(16); var$1.$modelviewBuff = nle_GLAllocation_createDirectFloatBuffer(16); var$1.$unused0 = nle_GLAllocation_createDirectFloatBuffer(16); cmmr_FrustrumImpl_instance = var$1; } function cmmr_ChunkDirtyDistanceComparator() { jl_Object.call(this); this.$player3 = null; } function cmmr_ChunkDirtyDistanceComparator__init_(var_0) { var var_1 = new cmmr_ChunkDirtyDistanceComparator(); cmmr_ChunkDirtyDistanceComparator__init_0(var_1, var_0); return var_1; } function cmmr_ChunkDirtyDistanceComparator__init_0($this, $player) { $this.$player3 = $player; } function cmmr_ChunkDirtyDistanceComparator_compare($this, $o1, $o2) { var $chunk, $other, var$5; $chunk = $o1; $other = $o2; if (!$chunk.$visible && $other.$visible) return (-1); if (!$other.$visible) return 1; var$5 = $rt_compare(cmmr_Chunk_distanceSquared($chunk, $this.$player3), cmmr_Chunk_distanceSquared($other, $this.$player3)); if (!var$5) return 0; if (var$5 <= 0) return 1; return (-1); } function ju_Collections() { jl_Object.call(this); } var ju_Collections_EMPTY_SET = null; var ju_Collections_EMPTY_MAP = null; var ju_Collections_EMPTY_LIST = null; var ju_Collections_naturalOrder = null; var ju_Collections_reverseOrder = null; function ju_Collections_sort($list, $c) { var $array, $i, var$5; if ($c === null) $c = ju_Collections_naturalOrder; $array = $rt_createArray(jl_Object, $list.$size0); ju_AbstractCollection_toArray($list, $array); ju_Arrays_sort($array, $c); $i = 0; while (true) { var$5 = $array.data; if ($i >= var$5.length) break; ju_ArrayList_set($list, $i, var$5[$i]); $i = $i + 1 | 0; } } function ju_Collections__clinit_() { ju_Collections_EMPTY_SET = new ju_Collections$5; ju_Collections_EMPTY_MAP = new ju_Collections$6; ju_Collections_EMPTY_LIST = new ju_Collections$3; ju_Collections_naturalOrder = new ju_Collections$_clinit_$lambda$_61_0; ju_Collections_reverseOrder = new ju_Collections$_clinit_$lambda$_61_1; } function cmmr_ShapeRenderer() { var a = this; jl_Object.call(a); a.$buffer5 = null; a.$data1 = null; a.$vertices1 = 0; a.$u1 = 0.0; a.$v1 = 0.0; a.$r = 0.0; a.$g = 0.0; a.$b0 = 0.0; a.$color1 = 0; a.$texture = 0; a.$normals = 0; a.$normal0 = 0; a.$vertexLength = 0; a.$length1 = 0; a.$noColor0 = 0; } var cmmr_ShapeRenderer_instance = null; function cmmr_ShapeRenderer_end($this) { if ($this.$vertices1 > 0) { jn_Buffer_clear($this.$buffer5); jn_FloatBuffer_put0($this.$buffer5, $this.$data1, 0, $this.$length1); jn_Buffer_flip($this.$buffer5); if ($this.$texture) olo_EaglerAdapterGL30_glEnableVertexAttrib(32888); if ($this.$color1) olo_EaglerAdapterGL30_glEnableVertexAttrib(32886); if ($this.$normals) olo_EaglerAdapterGL30_glEnableVertexAttrib(32885); nlea_EaglerAdapterImpl2__wglDrawArrays(7, 0, $this.$vertices1); if ($this.$texture) olo_EaglerAdapterGL30_glDisableVertexAttrib(32888); if ($this.$color1) olo_EaglerAdapterGL30_glDisableVertexAttrib(32886); if ($this.$normals) olo_EaglerAdapterGL30_glDisableVertexAttrib(32885); } cmmr_ShapeRenderer_clear($this); } function cmmr_ShapeRenderer_clear($this) { $this.$vertices1 = 0; jn_Buffer_clear($this.$buffer5); $this.$length1 = 0; } function cmmr_ShapeRenderer_begin($this) { cmmr_ShapeRenderer_clear($this); $this.$normals = 0; $this.$color1 = 0; $this.$texture = 0; $this.$noColor0 = 0; } function cmmr_ShapeRenderer_color($this, $var1, $var2, $var3) { if (!$this.$noColor0) { if (!$this.$color1) $this.$vertexLength = $this.$vertexLength + 3 | 0; $this.$color1 = 1; $this.$r = $var1; $this.$g = $var2; $this.$b0 = $var3; } } function cmmr_ShapeRenderer_vertexUV($this, $var1, $var2, $var3, $var4, $var5) { if (!$this.$texture) $this.$vertexLength = $this.$vertexLength + 2 | 0; $this.$texture = 1; $this.$u1 = $var4; $this.$v1 = $var5; cmmr_ShapeRenderer_vertex($this, $var1, $var2, $var3); } function cmmr_ShapeRenderer_vertex($this, $var1, $var2, $var3) { var var$4, var$5, var$6; if ($this.$texture) { var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $this.$u1; var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $this.$v1; } if ($this.$color1) { var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $this.$r; var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $this.$g; var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $this.$b0; } if ($this.$normals) { var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $this.$normal0; } var$4 = $this.$data1.data; var$6 = $this.$length1; $this.$length1 = var$6 + 1 | 0; var$4[var$6] = $var1; var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $var2; var$4 = $this.$data1.data; var$5 = $this.$length1; $this.$length1 = var$5 + 1 | 0; var$4[var$5] = $var3; $this.$vertices1 = $this.$vertices1 + 1 | 0; if (!($this.$vertices1 % 4 | 0) && $this.$length1 >= (524288 - ($this.$vertexLength << 2) | 0)) cmmr_ShapeRenderer_end($this); } function cmmr_ShapeRenderer_color0($this, $var1) { var $var2, $var3, $var7, $var4, $var8; $var2 = $var1 >> 16 & 255; $var3 = $var1 >> 8 & 255; $var1 = $var1 & 255; $var7 = $var2 << 24 >> 24; $var4 = $var3 << 24 >> 24; $var8 = $var1 << 24 >> 24; if (!$this.$noColor0) { if (!$this.$color1) $this.$vertexLength = $this.$vertexLength + 3 | 0; $this.$color1 = 1; $this.$r = ($var7 & 255) / 255.0; $this.$g = ($var4 & 255) / 255.0; $this.$b0 = ($var8 & 255) / 255.0; } } function cmmr_ShapeRenderer_noColor($this) { $this.$noColor0 = 1; } function cmmr_ShapeRenderer_normal($this, $var1, $var2, $var3) { var $len; $this.$normals = 1; $len = jl_Math_sqrt($var1 * $var1 + $var2 * $var2 + $var3 * $var3); $this.$normal0 = (($var1 / $len * 127.0 | 0) + 127 | 0) & 255 | ((($var2 / $len * 127.0 | 0) + 127 | 0) & 255) << 8 | ((($var3 / $len * 127.0 | 0) + 127 | 0) & 255) << 16; olo_EaglerAdapterGL30_glNormal3f($var1, $var2, $var3); } function cmmr_ShapeRenderer__clinit_() { var var$1; var$1 = new cmmr_ShapeRenderer; var$1.$buffer5 = nle_GLAllocation_createDirectFloatBuffer(524288); var$1.$data1 = $rt_createFloatArray(524288); var$1.$vertices1 = 0; var$1.$color1 = 0; var$1.$texture = 0; var$1.$normals = 0; var$1.$vertexLength = 3; var$1.$length1 = 0; var$1.$noColor0 = 0; cmmr_ShapeRenderer_instance = var$1; } function cmmr_TextureLocation() { var a = this; jl_Object.call(a); a.$path = null; a.$glObject = 0; } var cmmr_TextureLocation_locations = null; function cmmr_TextureLocation__init_(var_0) { var var_1 = new cmmr_TextureLocation(); cmmr_TextureLocation__init_0(var_1, var_0); return var_1; } function cmmr_TextureLocation__init_0($this, $path) { $this.$path = $path; $this.$glObject = (-1); ju_ArrayList_add(cmmr_TextureLocation_locations, $this); } function cmmr_TextureLocation_getTexturePointer($this) { var $r, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$r = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $r = cmmr_RenderEngine__init_(); if ($this.$glObject != (-1)) return $this.$glObject; var$2 = $this.$path; $ptr = 1; case 1: $tmp = cmmr_RenderEngine_getTexture($r, var$2); if ($rt_suspending()) { break main; } var$3 = $tmp; $this.$glObject = var$3; if ($this.$glObject == (-1)) ji_PrintStream_println(jl_System_err(), jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(354)), $this.$path))); return $this.$glObject; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $r, var$2, var$3, $ptr); } function cmmr_TextureLocation_bindTexture($this) { var $r, $i, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$i = $thread.pop();$r = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $r = cmmr_RenderEngine__init_(); $ptr = 1; case 1: $tmp = cmmr_TextureLocation_getTexturePointer($this); if ($rt_suspending()) { break main; } $i = $tmp; if ($i != (-1)) cmmr_RenderEngine_bindTexture($r, $i); return $i; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $r, $i, $ptr); } function cmmr_TextureLocation__clinit_() { cmmr_TextureLocation_locations = ju_ArrayList__init_(); } function cmmg_GuiScreen() { var a = this; cmmg_Screen.call(a); a.$minecraft5 = null; a.$width4 = 0; a.$height4 = 0; a.$buttons = null; a.$grabsMouse = 0; a.$fontRenderer0 = null; } function cmmg_GuiScreen__init_0() { var var_0 = new cmmg_GuiScreen(); cmmg_GuiScreen__init_(var_0); return var_0; } function cmmg_GuiScreen__init_($this) { cmmg_Screen__init_0($this); $this.$buttons = ju_ArrayList__init_(); $this.$grabsMouse = 0; } function cmmg_GuiScreen_render($this, $var1, $var2) { var $var3, $var10000, $var7, $var8, var$7, $var9, $var6, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var6 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var10000 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = 0; while ($var3 < $this.$buttons.$size0) { $var10000 = ju_ArrayList_get($this.$buttons, $var3); $var7 = $this.$minecraft5; if ($var10000.$visible0) { $var8 = $var7.$fontRenderer; var$7 = cmmr_TextureLocation__init_($rt_s(355)); $ptr = 1; continue main; } $var3 = $var3 + 1 | 0; } return; case 1: cmmr_TextureLocation_bindTexture(var$7); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $var9 = 1; $var6 = $var1 >= $var10000.$x9 && $var2 >= $var10000.$y9 && $var1 < ($var10000.$x9 + $var10000.$width5 | 0) && $var2 < ($var10000.$y9 + $var10000.$height5 | 0) ? 1 : 0; if (!$var10000.$active) $var9 = 0; else if ($var6) $var9 = 2; var$10 = $var10000.$x9; var$11 = $var10000.$y9; $var9 = 46 + ($var9 * 20 | 0) | 0; cmmg_Screen_drawImage($var10000, var$10, var$11, 0, $var9, $var10000.$width5 / 2 | 0, $var10000.$height5); cmmg_Screen_drawImage($var10000, $var10000.$x9 + ($var10000.$width5 / 2 | 0) | 0, $var10000.$y9, 200 - ($var10000.$width5 / 2 | 0) | 0, $var9, $var10000.$width5 / 2 | 0, $var10000.$height5); if (!$var10000.$active) cmmg_Screen_drawCenteredString($var8, $var10000.$text0, $var10000.$x9 + ($var10000.$width5 / 2 | 0) | 0, $var10000.$y9 + (($var10000.$height5 - 8 | 0) / 2 | 0) | 0, (-6250336)); else if (!$var6) cmmg_Screen_drawCenteredString($var8, $var10000.$text0, $var10000.$x9 + ($var10000.$width5 / 2 | 0) | 0, $var10000.$y9 + (($var10000.$height5 - 8 | 0) / 2 | 0) | 0, 14737632); else cmmg_Screen_drawCenteredString($var8, $var10000.$text0, $var10000.$x9 + ($var10000.$width5 / 2 | 0) | 0, $var10000.$y9 + (($var10000.$height5 - 8 | 0) / 2 | 0) | 0, 16777120); while (true) { $var3 = $var3 + 1 | 0; if ($var3 >= $this.$buttons.$size0) break; $var10000 = ju_ArrayList_get($this.$buttons, $var3); $var7 = $this.$minecraft5; if (!$var10000.$visible0) continue; else { $var8 = $var7.$fontRenderer; var$7 = cmmr_TextureLocation__init_($rt_s(355)); continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var10000, $var7, $var8, var$7, $var9, $var6, var$10, var$11, $ptr); } function cmmg_GuiScreen_onKeyPress($this, $var1, $var2) { if ($var2 == 1) { cmm_Minecraft_setCurrentScreen($this.$minecraft5, null); cmm_Minecraft_grabMouse($this.$minecraft5); } } function cmmg_GuiScreen_onMouseClick($this, $var1, $var2, $var3) { var var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: a: { if (!$var3) { var$4 = 0; while (true) { if (var$4 >= $this.$buttons.$size0) break a; var$5 = ju_ArrayList_get($this.$buttons, var$4); if (var$5.$active && $var1 >= var$5.$x9 && $var2 >= var$5.$y9 && $var1 < (var$5.$x9 + var$5.$width5 | 0) && $var2 < (var$5.$y9 + var$5.$height5 | 0)) { $ptr = 1; continue main; } var$4 = var$4 + 1 | 0; } } } return; case 1: $this.$onButtonClick(var$5); if ($rt_suspending()) { break main; } while (true) { var$4 = var$4 + 1 | 0; if (var$4 >= $this.$buttons.$size0) break; var$5 = ju_ArrayList_get($this.$buttons, var$4); if (!var$5.$active) continue; if ($var1 < var$5.$x9) continue; if ($var2 < var$5.$y9) continue; if ($var1 >= (var$5.$x9 + var$5.$width5 | 0)) continue; if ($var2 >= (var$5.$y9 + var$5.$height5 | 0)) continue; else { continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $ptr); } function cmmg_GuiScreen_onButtonClick($this, $var1) { return; } function cmmg_GuiScreen_open($this, $var1, $var2, $var3) { $this.$minecraft5 = $var1; $this.$fontRenderer0 = $var1.$fontRenderer; $this.$width4 = $var2; $this.$height4 = $var3; $this.$onOpen(); } function cmmg_GuiScreen_doInput($this) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nlea_EaglerAdapterImpl2_mouseNext()) { while (nlea_EaglerAdapterImpl2_keysNext()) { cmmg_GuiScreen_keyboardEvent($this); } return; } $ptr = 1; case 1: cmmg_GuiScreen_mouseEvent($this); if ($rt_suspending()) { break main; } if (!nlea_EaglerAdapterImpl2_mouseNext()) { while (nlea_EaglerAdapterImpl2_keysNext()) { cmmg_GuiScreen_keyboardEvent($this); } return; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function cmmg_GuiScreen_mouseEvent($this) { var $var1, $var2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nlea_EaglerAdapterImpl2_mouseGetEventButtonState()) return; $var1 = nlea_EaglerAdapterImpl2_currentEvent === null ? (-1) : nlea_EaglerAdapterImpl2_currentEvent.clientX; $var1 = $rt_imul($var1, $this.$width4) / $this.$minecraft5.$width | 0; $var2 = ($this.$height4 - ($rt_imul(nlea_EaglerAdapterImpl2_currentEvent === null ? (-1) : nlea_EaglerAdapterImpl2_canvas.clientHeight - nlea_EaglerAdapterImpl2_currentEvent.clientY | 0, $this.$height4) / $this.$minecraft5.$height | 0) | 0) - 1 | 0; var$3 = nlea_EaglerAdapterImpl2_mouseGetEventButton(); $ptr = 1; case 1: cmmg_GuiScreen_onMouseClick($this, $var1, $var2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function cmmg_GuiScreen_keyboardEvent($this) { var var$1, var$2; if (nlea_EaglerAdapterImpl2_getEventKeyState()) { if (nlea_EaglerAdapterImpl2_currentEventK === null) var$1 = 0; else { var$2 = $rt_str(nlea_EaglerAdapterImpl2_currentEventK.key); var$1 = nlea_EaglerAdapterImpl2_currentEventK === null ? 32 : jl_String_length(var$2) > 1 ? 0 : jl_String_charAt(var$2, 0); } $this.$onKeyPress(var$1, nlea_EaglerAdapterImpl2_getEventKey()); } } function cmmg_GuiScreen_tick($this) { return; } function cmmg_GuiScreen_onClose($this) { return; } function cmmg_ErrorScreen() { var a = this; cmmg_GuiScreen.call(a); a.$title0 = null; a.$text1 = null; } function cmmg_ErrorScreen__init_(var_0, var_1) { var var_2 = new cmmg_ErrorScreen(); cmmg_ErrorScreen__init_0(var_2, var_0, var_1); return var_2; } function cmmg_ErrorScreen__init_0($this, $var1, $var2) { cmmg_GuiScreen__init_($this); $this.$title0 = $var1; $this.$text1 = $var2; } function cmmg_ErrorScreen_onOpen($this) { return; } function cmmg_ErrorScreen_render($this, $var1, $var2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: cmmg_Screen_drawFadingBox(0, 0, $this.$width4, $this.$height4, (-12574688), (-11530224)); cmmg_Screen_drawCenteredString($this.$fontRenderer0, $this.$title0, $this.$width4 / 2 | 0, 90, 16777215); cmmg_Screen_drawCenteredString($this.$fontRenderer0, $this.$text1, $this.$width4 / 2 | 0, 110, 16777215); $ptr = 1; case 1: cmmg_GuiScreen_render($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function cmmg_ErrorScreen_onKeyPress($this, $var1, $var2) { return; } function ji_EOFException() { ji_IOException.call(this); } function cmmm_Vertex() { var a = this; jl_Object.call(a); a.$vector = null; a.$u0 = 0.0; a.$v0 = 0.0; } function cmmm_Vertex__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new cmmm_Vertex(); cmmm_Vertex__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function cmmm_Vertex__init_0($this, $var1, $var2, $var3, $var4, $var5) { $this.$vector = cmmm_Vec3D__init_($var1, $var2, $var3); $this.$u0 = $var4; $this.$v0 = $var5; } function cmmm_Vertex_create($this, $var1, $var2) { var var$3; var$3 = new cmmm_Vertex; var$3.$vector = $this.$vector; var$3.$u0 = $var1; var$3.$v0 = $var2; return var$3; } function cmmm_TexturedQuad() { jl_Object.call(this); this.$vertices0 = null; } function cmmm_TexturedQuad__init_0(var_0) { var var_1 = new cmmm_TexturedQuad(); cmmm_TexturedQuad__init_1(var_1, var_0); return var_1; } function cmmm_TexturedQuad__init_2(var_0, var_1, var_2, var_3, var_4) { var var_5 = new cmmm_TexturedQuad(); cmmm_TexturedQuad__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function cmmm_TexturedQuad__init_3(var_0, var_1, var_2, var_3, var_4) { var var_5 = new cmmm_TexturedQuad(); cmmm_TexturedQuad__init_4(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function cmmm_TexturedQuad__init_1($this, $var1) { $this.$vertices0 = $var1; } function cmmm_TexturedQuad__init_($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, var$8, var$9, var$10; var$6 = $var1.data; cmmm_TexturedQuad__init_1($this, $var1); var$7 = var$6[0]; var$8 = $var4 / 64.0 - 0.0015625000232830644; var$9 = $var3 / 32.0 + 0.0031250000465661287; var$6[0] = cmmm_Vertex_create(var$7, var$8, var$9); var$7 = var$6[1]; var$10 = $var2 / 64.0 + 0.0015625000232830644; var$6[1] = cmmm_Vertex_create(var$7, var$10, var$9); var$7 = var$6[2]; var$9 = $var5 / 32.0 - 0.0031250000465661287; var$6[2] = cmmm_Vertex_create(var$7, var$10, var$9); var$6[3] = cmmm_Vertex_create(var$6[3], var$8, var$9); } function cmmm_TexturedQuad__init_4($this, $var1, $var2, $var3, $var4, $var5) { var var$6; var$6 = $var1.data; cmmm_TexturedQuad__init_1($this, $var1); var$6[0] = cmmm_Vertex_create(var$6[0], $var4, $var3); var$6[1] = cmmm_Vertex_create(var$6[1], $var2, $var3); var$6[2] = cmmm_Vertex_create(var$6[2], $var2, $var5); var$6[3] = cmmm_Vertex_create(var$6[3], $var4, $var5); } function jl_Thread$start$lambda$_4_0() { jl_Object.call(this); this.$_01 = null; } function jl_Thread$start$lambda$_4_0_run(var$0) { var var$1, var$2, var$3, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $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: var$1 = var$0.$_01; try { jl_Thread_activeCount = jl_Thread_activeCount + 1 | 0; jl_Thread_setCurrentThread(var$1); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); var$2 = $$je; } var$3 = var$1.$finishedLock; $ptr = 2; continue main; case 1: a: { try { cmm_SleepForeverThread_run(var$1); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); var$2 = $$je; break a; } var$2 = var$1.$finishedLock; $ptr = 3; continue main; } var$3 = var$1.$finishedLock; $ptr = 2; case 2: jl_Object_monitorEnter(var$3); if ($rt_suspending()) { break main; } a: { try { jl_Object_notifyAll(var$1.$finishedLock); jl_Object_monitorExit(var$3); break a; } catch ($$e) { $$je = $rt_wrapException($$e); var$1 = $$je; } jl_Object_monitorExit(var$3); $rt_throw(var$1); } var$1.$alive = 0; jl_Thread_activeCount = jl_Thread_activeCount - 1 | 0; jl_Thread_setCurrentThread(jl_Thread_mainThread); $rt_throw(var$2); case 3: jl_Object_monitorEnter(var$2); if ($rt_suspending()) { break main; } a: { try { jl_Object_notifyAll(var$1.$finishedLock); jl_Object_monitorExit(var$2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); var$1 = $$je; } jl_Object_monitorExit(var$2); $rt_throw(var$1); } var$1.$alive = 0; jl_Thread_activeCount = jl_Thread_activeCount - 1 | 0; jl_Thread_setCurrentThread(jl_Thread_mainThread); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, $ptr); } function cjj_Inflate() { var a = this; jl_Object.call(a); a.$mode = 0; a.$method = 0; a.$was = Long_ZERO; a.$need = Long_ZERO; a.$marker = 0; a.$wrap4 = 0; a.$wbits = 0; a.$blocks0 = null; a.$z5 = null; a.$flags = 0; a.$need_bytes = 0; a.$crcbuf = null; a.$gheader = null; a.$tmp_string = null; } var cjj_Inflate_mark = null; function cjj_Inflate_inflateReset($this) { var var$1; if ($this.$z5 === null) return (-2); var$1 = $this.$z5; $this.$z5.$total_out = Long_ZERO; var$1.$total_in = Long_ZERO; $this.$z5.$msg = null; $this.$mode = 14; $this.$need_bytes = (-1); cjj_InfBlocks_reset($this.$blocks0); return 0; } function cjj_Inflate_inflateEnd($this) { if ($this.$blocks0 !== null) cjj_InfBlocks_free($this.$blocks0); return 0; } function cjj_Inflate_inflateInit($this, $w) { var var$2, var$3, var$4, var$5; $this.$z5.$msg = null; $this.$blocks0 = null; $this.$wrap4 = 0; if ($w < 0) $w = -$w; else if ($w & 1073741824) { $this.$wrap4 = 4; $w = $w & (-1073741825); if ($w < 48) $w = $w & 15; } else if ($w & (-32)) { $this.$wrap4 = 4; $w = $w & 15; } else { $this.$wrap4 = ($w >> 4) + 1 | 0; if ($w < 48) $w = $w & 15; } if ($w >= 8 && $w <= 15) { if ($this.$blocks0 !== null && $this.$wbits != $w) { cjj_InfBlocks_free($this.$blocks0); $this.$blocks0 = null; } $this.$wbits = $w; var$2 = new cjj_InfBlocks; var$3 = $this.$z5; $w = 1 << $w; var$2.$bb0 = $rt_createIntArray(1); var$2.$tb = $rt_createIntArray(1); var$2.$bl = $rt_createIntArray(1); var$2.$bd = $rt_createIntArray(1); var$2.$tl = $rt_createArray($rt_arraycls($rt_intcls()), 1); var$2.$td = $rt_createArray($rt_arraycls($rt_intcls()), 1); var$2.$tli = $rt_createIntArray(1); var$2.$tdi = $rt_createIntArray(1); var$4 = new cjj_InfTree; var$4.$hn = null; var$4.$v2 = null; var$4.$c = null; var$4.$r0 = null; var$4.$u2 = null; var$4.$x11 = null; var$2.$inftree = var$4; var$2.$z11 = var$3; var$4 = new cjj_InfCodes; var$5 = var$2.$z11; var$4.$tree_index = 0; var$4.$z12 = var$5; var$4.$s = var$2; var$2.$codes = var$4; var$2.$hufts = $rt_createIntArray(4320); var$2.$window = $rt_createByteArray($w); var$2.$end0 = $w; var$2.$check = var$3.$istate.$wrap4 ? 1 : 0; var$2.$mode0 = 0; cjj_InfBlocks_reset(var$2); $this.$blocks0 = var$2; cjj_Inflate_inflateReset($this); return 0; } cjj_Inflate_inflateEnd($this); return (-2); } function cjj_Inflate_inflate($this, $f) { var var$2, $r, $e, $foo, var$6, $b, var$8, $$je; if ($this.$z5 !== null && $this.$z5.$next_in !== null) { var$2 = $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.$z5.$msg = $rt_s(356); $this.$marker = 0; return (-2); case 7: $r = cjj_InfBlocks_proc($this.$blocks0, $r); if ($r == (-3)) { $this.$mode = 13; $this.$marker = 0; continue i; } if (!$r) $r = var$2; if ($r != 1) break i; $this.$was = $this.$z5.$adler.$getValue(); cjj_InfBlocks_reset($this.$blocks0); if (!$this.$wrap4) { $this.$mode = 12; $r = var$2; continue i; } $this.$mode = 8; $r = var$2; break w; case 12: break e; case 13: return (-3); case 14: break r; case 23: try { $r = cjj_Inflate_readBytes($this, 2, $r, var$2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } $this.$flags = $this.$need.lo & 65535; if (($this.$flags & 255) != 8) { $this.$z5.$msg = $rt_s(357); $this.$mode = 13; continue i; } if ($this.$flags & 57344) { $this.$z5.$msg = $rt_s(358); $this.$mode = 13; continue i; } if ($this.$flags & 512) cjj_Inflate_checksum($this, 2, $this.$need); $this.$mode = 16; break p; case 2: break d; case 3: break c; case 4: break b; case 5: var$2 = $r; break a; case 8: break w; case 9: break v; case 10: break u; case 11: break t; case 15: break s; 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; } if (!$this.$z5.$avail_in) return $r; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); $foo = $this.$z5.$next_in.data; $e = $this.$z5; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_and(Long_fromInt(($foo[$f] & 255) << 24), new Long(4278190080, 0)); $this.$mode = 9; $r = var$2; } if (!$this.$z5.$avail_in) return $r; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$6 = $this.$need; $foo = $this.$z5.$next_in.data; $e = $this.$z5; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$6, Long_and(Long_fromInt(($foo[$f] & 255) << 16), Long_fromInt(16711680))); $this.$mode = 10; $r = var$2; } if (!$this.$z5.$avail_in) return $r; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$6 = $this.$need; $foo = $this.$z5.$next_in.data; $e = $this.$z5; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$6, Long_and(Long_fromInt(($foo[$f] & 255) << 8), Long_fromInt(65280))); $this.$mode = 11; $r = var$2; } if (!$this.$z5.$avail_in) return $r; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$6 = $this.$need; $foo = $this.$z5.$next_in.data; $e = $this.$z5; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$6, Long_and(Long_fromInt($foo[$f]), Long_fromInt(255))); if ($this.$flags) $this.$need = Long_and(Long_or(Long_or(Long_or(Long_shr(Long_and($this.$need, Long_fromInt(-16777216)), 24), Long_shr(Long_and($this.$need, Long_fromInt(16711680)), 8)), Long_shl(Long_and($this.$need, Long_fromInt(65280)), 8)), Long_shl(Long_and($this.$need, Long_fromInt(65535)), 24)), new Long(4294967295, 0)); if ($this.$was.lo != $this.$need.lo) $this.$z5.$msg = $rt_s(359); else if ($this.$flags && $this.$gheader !== null) $this.$gheader.$crc = $this.$need; $this.$mode = 15; $r = var$2; } if (!($this.$wrap4 && $this.$flags)) { if ($this.$z5.$msg === null) break f; if (!jl_String_equals($this.$z5.$msg, $rt_s(359))) break f; $this.$mode = 13; $this.$marker = 5; continue i; } try { $r = cjj_Inflate_readBytes($this, 4, $r, var$2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } if ($this.$z5.$msg !== null && jl_String_equals($this.$z5.$msg, $rt_s(359))) { $this.$mode = 13; $this.$marker = 5; continue i; } if (Long_eq($this.$need, Long_and($this.$z5.$total_out, new Long(4294967295, 0)))) { $this.$z5.$msg = null; break f; } $this.$z5.$msg = $rt_s(360); $this.$mode = 13; continue i; } if (!$this.$wrap4) { $this.$mode = 7; continue i; } try { $r = cjj_Inflate_readBytes($this, 2, $r, var$2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } if (!($this.$wrap4 != 4 && !($this.$wrap4 & 2)) && Long_eq($this.$need, Long_fromInt(35615))) { if ($this.$wrap4 == 4) $this.$wrap4 = 2; $this.$z5.$adler = cjj_CRC32__init_(); cjj_Inflate_checksum($this, 2, $this.$need); if ($this.$gheader === null) $this.$gheader = cjj_GZIPHeader__init_(); $this.$mode = 23; continue i; } if ($this.$wrap4 & 2) { $this.$mode = 13; $this.$z5.$msg = $rt_s(361); continue i; } $this.$flags = 0; $this.$method = $this.$need.lo & 255; $b = Long_shr($this.$need, 8).lo & 255; if (!($this.$wrap4 & 1 && !((($this.$method << 8) + $b | 0) % 31 | 0)) && ($this.$method & 15) != 8) { if ($this.$wrap4 != 4) { $this.$mode = 13; $this.$z5.$msg = $rt_s(361); continue i; } $e = $this.$z5; $e.$next_in_index = $e.$next_in_index - 2 | 0; $e = $this.$z5; $e.$avail_in = $e.$avail_in + 2 | 0; $e = $this.$z5; $e.$total_in = Long_sub($e.$total_in, Long_fromInt(2)); $this.$wrap4 = 0; $this.$mode = 7; continue i; } if (($this.$method & 15) != 8) { $this.$mode = 13; $this.$z5.$msg = $rt_s(357); continue i; } if ($this.$wrap4 == 4) $this.$wrap4 = 1; if ((($this.$method >> 4) + 8 | 0) > $this.$wbits) { $this.$mode = 13; $this.$z5.$msg = $rt_s(362); continue i; } $this.$z5.$adler = cjj_Adler32__init_(); if ($b & 32) { $this.$mode = 2; break d; } $this.$mode = 7; continue i; } break m; } try { $r = cjj_Inflate_readBytes($this, 4, $r, var$2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } if ($this.$gheader !== null) $this.$gheader.$time1 = $this.$need; if ($this.$flags & 512) cjj_Inflate_checksum($this, 4, $this.$need); $this.$mode = 17; } try { $r = cjj_Inflate_readBytes($this, 2, $r, var$2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } if ($this.$gheader !== null) { $this.$gheader.$xflags = $this.$need.lo & 255; $this.$gheader.$os = $this.$need.lo >> 8 & 255; } if ($this.$flags & 512) cjj_Inflate_checksum($this, 2, $this.$need); $this.$mode = 18; } if ($this.$flags & 1024) { try { $r = cjj_Inflate_readBytes($this, 2, $r, var$2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } if ($this.$gheader !== null) $this.$gheader.$extra = $rt_createByteArray($this.$need.lo & 65535); if ($this.$flags & 512) cjj_Inflate_checksum($this, 2, $this.$need); } else if ($this.$gheader !== null) $this.$gheader.$extra = null; $this.$mode = 19; } if ($this.$flags & 1024) x: { try { $r = cjj_Inflate_readBytes0($this, $r, var$2); if ($this.$gheader === null) break x; $foo = ji_ByteArrayOutputStream_toByteArray($this.$tmp_string); var$8 = $foo.data; $this.$tmp_string = null; $f = var$8.length; if ($f != $this.$gheader.$extra.data.length) { $this.$z5.$msg = $rt_s(363); $this.$mode = 13; continue i; } jl_System_arraycopy($foo, 0, $this.$gheader.$extra, 0, $f); break x; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } } else if ($this.$gheader !== null) $this.$gheader.$extra = null; $this.$mode = 20; } y: { if ($this.$flags & 2048) { z: { try { $r = cjj_Inflate_readString($this, $r, var$2); if ($this.$gheader === null) break z; $this.$gheader.$name6 = 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; } } } else if ($this.$gheader !== null) $this.$gheader.$name6 = null; } $this.$mode = 21; } ba: { if ($this.$flags & 4096) { bb: { try { $r = cjj_Inflate_readString($this, $r, var$2); if ($this.$gheader === null) break bb; $this.$gheader.$comment = 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; } } } else if ($this.$gheader !== null) $this.$gheader.$comment = null; } $this.$mode = 22; } if ($this.$flags & 512) { try { $r = cjj_Inflate_readBytes($this, 2, $r, var$2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r1; } else { throw $$e; } } if ($this.$gheader !== null) $this.$gheader.$hcrc = Long_and($this.$need, Long_fromInt(65535)).lo; if (Long_ne($this.$need, Long_and($this.$z5.$adler.$getValue(), Long_fromInt(65535)))) { $this.$mode = 13; $this.$z5.$msg = $rt_s(364); $this.$marker = 5; continue; } } $this.$z5.$adler = cjj_CRC32__init_(); $this.$mode = 7; } return $r; } return $e.$r1; } return $e.$r1; } $this.$mode = 12; } return 1; } if (!$this.$z5.$avail_in) return $r; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); $foo = $this.$z5.$next_in.data; $e = $this.$z5; $r = $e.$next_in_index; $e.$next_in_index = $r + 1 | 0; $this.$need = Long_and(Long_fromInt(($foo[$r] & 255) << 24), new Long(4278190080, 0)); $this.$mode = 3; $r = var$2; } if (!$this.$z5.$avail_in) return $r; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$6 = $this.$need; $foo = $this.$z5.$next_in.data; $e = $this.$z5; $r = $e.$next_in_index; $e.$next_in_index = $r + 1 | 0; $this.$need = Long_add(var$6, Long_and(Long_fromInt(($foo[$r] & 255) << 16), Long_fromInt(16711680))); $this.$mode = 4; $r = var$2; } if (!$this.$z5.$avail_in) return $r; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$6 = $this.$need; $foo = $this.$z5.$next_in.data; $e = $this.$z5; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$6, Long_and(Long_fromInt(($foo[$f] & 255) << 8), Long_fromInt(65280))); $this.$mode = 5; } if (!$this.$z5.$avail_in) return var$2; $e = $this.$z5; $e.$avail_in = $e.$avail_in - 1 | 0; $e = $this.$z5; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$6 = $this.$need; $foo = $this.$z5.$next_in.data; $e = $this.$z5; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$6, Long_and(Long_fromInt($foo[$f]), Long_fromInt(255))); $this.$z5.$adler.$reset0($this.$need); $this.$mode = 6; return 2; } if ($f == 4 && $this.$mode == 14) return 0; return (-2); } function cjj_Inflate_readBytes($this, $n, $r, $f) { var var$4, var$5, var$6, var$7; if ($this.$need_bytes == (-1)) { $this.$need_bytes = $n; $this.$need = Long_ZERO; } while (true) { if ($this.$need_bytes <= 0) { if ($n == 2) $this.$need = Long_and($this.$need, Long_fromInt(65535)); else if ($n == 4) $this.$need = Long_and($this.$need, new Long(4294967295, 0)); $this.$need_bytes = (-1); return $r; } if (!$this.$z5.$avail_in) break; var$4 = $this.$z5; var$4.$avail_in = var$4.$avail_in - 1 | 0; var$4 = $this.$z5; var$4.$total_in = Long_add(var$4.$total_in, Long_fromInt(1)); var$5 = $this.$need; var$6 = $this.$z5.$next_in.data; var$4 = $this.$z5; var$7 = var$4.$next_in_index; var$4.$next_in_index = var$7 + 1 | 0; $this.$need = Long_or(var$5, Long_fromInt((var$6[var$7] & 255) << (($n - $this.$need_bytes | 0) * 8 | 0))); $this.$need_bytes = $this.$need_bytes - 1 | 0; $r = $f; } $rt_throw(cjj_Inflate$Return__init_($this, $r)); } function cjj_Inflate_readString($this, $r, $f) { var var$3, var$4; if ($this.$tmp_string === null) $this.$tmp_string = ji_ByteArrayOutputStream__init_(); while (true) { if (!$this.$z5.$avail_in) $rt_throw(cjj_Inflate$Return__init_($this, $r)); var$3 = $this.$z5; var$3.$avail_in = var$3.$avail_in - 1 | 0; var$3 = $this.$z5; var$3.$total_in = Long_add(var$3.$total_in, Long_fromInt(1)); var$4 = $this.$z5.$next_in.data[$this.$z5.$next_in_index]; if (var$4) ji_ByteArrayOutputStream_write($this.$tmp_string, $this.$z5.$next_in, $this.$z5.$next_in_index, 1); $this.$z5.$adler.$update1($this.$z5.$next_in, $this.$z5.$next_in_index, 1); var$3 = $this.$z5; var$3.$next_in_index = var$3.$next_in_index + 1 | 0; if (!var$4) break; $r = $f; } return $f; } function cjj_Inflate_readBytes0($this, $r, $f) { var var$3; if ($this.$tmp_string === null) $this.$tmp_string = ji_ByteArrayOutputStream__init_(); while (Long_gt($this.$need, Long_ZERO)) { if (!$this.$z5.$avail_in) $rt_throw(cjj_Inflate$Return__init_($this, $r)); var$3 = $this.$z5; var$3.$avail_in = var$3.$avail_in - 1 | 0; var$3 = $this.$z5; var$3.$total_in = Long_add(var$3.$total_in, Long_fromInt(1)); ji_ByteArrayOutputStream_write($this.$tmp_string, $this.$z5.$next_in, $this.$z5.$next_in_index, 1); $this.$z5.$adler.$update1($this.$z5.$next_in, $this.$z5.$next_in_index, 1); var$3 = $this.$z5; 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; } function cjj_Inflate_checksum($this, $n, $v) { var $i; $i = 0; while ($i < $n) { $this.$crcbuf.data[$i] = Long_and($v, Long_fromInt(255)).lo << 24 >> 24; $v = Long_shr($v, 8); $i = $i + 1 | 0; } $this.$z5.$adler.$update1($this.$crcbuf, 0, $n); } function cjj_Inflate__clinit_() { var var$1, var$2; var$1 = $rt_createByteArray(4); var$2 = var$1.data; var$2[0] = 0; var$2[1] = 0; var$2[2] = (-1); var$2[3] = (-1); cjj_Inflate_mark = var$1; } function jl_IllegalStateException() { jl_Exception.call(this); } function ju_NoSuchElementException() { jl_RuntimeException.call(this); } function ju_Iterator() { } function ju_AbstractList$1() { var a = this; jl_Object.call(a); a.$index = 0; a.$modCount0 = 0; a.$size2 = 0; a.$removeIndex = 0; a.$this$0 = null; } function ju_AbstractList$1_hasNext($this) { return $this.$index >= $this.$size2 ? 0 : 1; } function ju_AbstractList$1_next($this) { var var$1, var$2; if ($this.$modCount0 < $this.$this$0.$modCount) { var$1 = new ju_ConcurrentModificationException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } $this.$removeIndex = $this.$index; var$1 = $this.$this$0; var$2 = $this.$index; $this.$index = var$2 + 1 | 0; return ju_ArrayList_get(var$1, var$2); } function cmm_KeyBinding() { var a = this; jl_Object.call(a); a.$name4 = null; a.$key = 0; } function cmm_KeyBinding__init_(var_0, var_1) { var var_2 = new cmm_KeyBinding(); cmm_KeyBinding__init_0(var_2, var_0, var_1); return var_2; } function cmm_KeyBinding__init_0($this, $name, $key) { $this.$name4 = $name; $this.$key = $key; } function cmmr_RenderEngine() { var a = this; jl_Object.call(a); a.$textureMap = null; a.$singleIntBuffer = null; a.$imageDataB1 = null; a.$imageDataB2 = null; a.$options = null; a.$textureNameToImageMap = null; } var cmmr_RenderEngine_useMipmaps = 0; function cmmr_RenderEngine__init_() { var var_0 = new cmmr_RenderEngine(); cmmr_RenderEngine__init_0(var_0); return var_0; } function cmmr_RenderEngine__init_0($this) { $this.$textureMap = ju_HashMap__init_(); $this.$textureNameToImageMap = ju_HashMap__init_(); $this.$singleIntBuffer = nle_GLAllocation_createDirectIntBuffer(1); $this.$imageDataB1 = nle_GLAllocation_createDirectByteBuffer(1048576); $this.$imageDataB2 = nle_GLAllocation_createDirectByteBuffer(1048576); $this.$options = cmm_Minecraft_settings; } function cmmr_RenderEngine_getTexture($this, $s) { var $integer, $i, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$i = $thread.pop();$integer = $thread.pop();$s = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $integer = ju_HashMap_get($this.$textureMap, $s); if ($integer !== null) return $integer.$value; jn_Buffer_clear($this.$singleIntBuffer); nle_GLAllocation_generateTextureNames($this.$singleIntBuffer); $i = jn_IntBufferImpl_get0($this.$singleIntBuffer, 0); if (jl_String_equals($s, $rt_s(185))) cmmr_RenderEngine_useMipmaps = 1; var$4 = nlea_EaglerAdapterImpl2_loadResourceBytes($s); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$4); if ($rt_suspending()) { break main; } $integer = $tmp; cmmr_RenderEngine_setupTexture($this, $integer, $i); cmmr_RenderEngine_useMipmaps = 0; ju_HashMap_putImpl($this.$textureMap, $s, jl_Integer_valueOf($i)); return $i; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $s, $integer, $i, var$4, $ptr); } function cmmr_RenderEngine_setupTexture($this, $bufferedimage, $i) { var $j, $k, $ai, $abyte0, var$7, $l, var$9, $j1, $j3, $l3, $j4, $k1, $i1, $i2, $k2, $i3, $k3, $i4, $k4, $l4, $i5, $j5, $tmp_0; cmmr_RenderEngine_bindTexture($this, $i); if (!cmmr_RenderEngine_useMipmaps) { olo_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); olo_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); } else { olo_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9986); olo_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); olo_EaglerAdapterGL30_glTexParameteri(3553, 33085, 4); } olo_EaglerAdapterGL30_glTexParameteri(3553, 10242, 10497); olo_EaglerAdapterGL30_glTexParameteri(3553, 10243, 10497); $j = $bufferedimage.$w0; $k = $bufferedimage.$h1; $ai = $bufferedimage.$data; $abyte0 = $rt_createByteArray($rt_imul($j, $k) * 4 | 0); var$7 = $abyte0.data; $l = 0; while (true) { var$9 = $ai.data; if ($l >= var$9.length) break; $j1 = var$9[$l] >> 24 & 255; $j3 = var$9[$l] >> 16 & 255; $l3 = var$9[$l] >> 8 & 255; $j4 = var$9[$l] >> 0 & 255; if ($this.$options !== null && $this.$options.$anaglyph) { $k1 = $j3 * 30 | 0; $j3 = (($k1 + ($l3 * 59 | 0) | 0) + ($j4 * 11 | 0) | 0) / 100 | 0; $l3 = ($k1 + ($l3 * 70 | 0) | 0) / 100 | 0; $j4 = ($k1 + ($j4 * 70 | 0) | 0) / 100 | 0; } $i = $l * 4 | 0; var$7[$i + 0 | 0] = $j3 << 24 >> 24; var$7[$i + 1 | 0] = $l3 << 24 >> 24; var$7[$i + 2 | 0] = $j4 << 24 >> 24; var$7[$i + 3 | 0] = $j1 << 24 >> 24; $l = $l + 1 | 0; } a: { jn_Buffer_clear($this.$imageDataB1); jn_ByteBuffer_put0($this.$imageDataB1, $abyte0); $bufferedimage = $this.$imageDataB1; jn_Buffer_position0($bufferedimage, 0); jn_Buffer_limit0($bufferedimage, var$7.length); olo_EaglerAdapterGL30_glTexImage2D(3553, 0, 6408, $j, $k, 0, 6408, 5121, $this.$imageDataB1); if (cmmr_RenderEngine_useMipmaps) { $i1 = 1; while (true) { if ($i1 > 4) break a; $k1 = $j >> ($i1 - 1 | 0); $i2 = $j >> $i1; $k2 = $k >> $i1; jn_Buffer_clear($this.$imageDataB2); $i3 = 0; while ($i3 < $i2) { $k3 = 0; while ($k3 < $k2) { $bufferedimage = $this.$imageDataB1; $i = $i3 * 2 | 0; $l = $i + 0 | 0; $j3 = $k3 * 2 | 0; $j1 = $rt_imul($j3 + 0 | 0, $k1); $i4 = jn_ByteBufferImpl_getInt($bufferedimage, ($l + $j1 | 0) * 4 | 0); $bufferedimage = $this.$imageDataB1; $i = $i + 1 | 0; $k4 = jn_ByteBufferImpl_getInt($bufferedimage, ($i + $j1 | 0) * 4 | 0); $bufferedimage = $this.$imageDataB1; $j4 = $rt_imul($j3 + 1 | 0, $k1); $l4 = jn_ByteBufferImpl_getInt($bufferedimage, ($i + $j4 | 0) * 4 | 0); $i5 = jn_ByteBufferImpl_getInt($this.$imageDataB1, ($l + $j4 | 0) * 4 | 0); $j5 = cmmr_RenderEngine_averageColor($this, cmmr_RenderEngine_averageColor($this, $i4, $k4), cmmr_RenderEngine_averageColor($this, $l4, $i5)); jn_ByteBufferImpl_putInt($this.$imageDataB2, ($i3 + $rt_imul($k3, $i2) | 0) * 4 | 0, $j5); $k3 = $k3 + 1 | 0; } $i3 = $i3 + 1 | 0; } olo_EaglerAdapterGL30_glTexImage2D(3553, $i1, 6408, $i2, $k2, 0, 6408, 5121, $this.$imageDataB2); $tmp_0 = $this.$imageDataB1; $this.$imageDataB1 = $this.$imageDataB2; $this.$imageDataB2 = $tmp_0; $i1 = $i1 + 1 | 0; } } } } function cmmr_RenderEngine_averageColor($this, $i, $j) { return (((($i & (-16777216)) >> 24 & 255) + (($j & (-16777216)) >> 24 & 255) | 0) >> 1 << 24) + ((($i & 16711422) + ($j & 16711422) | 0) >> 1) | 0; } function cmmr_RenderEngine_bindTexture($this, $i) { if ($i < 0) return; olo_EaglerAdapterGL30_glBindTexture(3553, $i); } function cmmr_RenderEngine_allocateAndSetupTexture($this, $bufferedimage) { var $i; jn_Buffer_clear($this.$singleIntBuffer); nle_GLAllocation_generateTextureNames($this.$singleIntBuffer); $i = jn_IntBufferImpl_get0($this.$singleIntBuffer, 0); cmmr_RenderEngine_setupTexture($this, $bufferedimage, $i); ju_HashMap_putImpl($this.$textureNameToImageMap, jl_Integer_valueOf($i), $bufferedimage); return $i; } function cmmr_RenderEngine__clinit_() { cmmr_RenderEngine_useMipmaps = 0; } function nlea_Tessellator() { var a = this; jl_Object.call(a); a.$intBuffer = null; a.$floatBuffer = null; a.$vertexCount = 0; a.$textureU = 0.0; a.$textureV = 0.0; a.$color2 = 0; a.$hasColor = 0; a.$hasTexture = 0; a.$hasNormals = 0; a.$rawBufferIndex = 0; a.$addedVertices = 0; a.$isColorDisabled = 0; a.$drawMode = 0; a.$xOffset = 0.0; a.$yOffset = 0.0; a.$zOffset = 0.0; a.$normal1 = 0; a.$isDrawing = 0; a.$useVBO = 0; a.$bufferSize = 0; } var nlea_Tessellator_instance = null; function nlea_Tessellator_$callClinit() { nlea_Tessellator_$callClinit = $rt_eraseClinit(nlea_Tessellator); nlea_Tessellator__clinit_(); } function nlea_Tessellator_draw($this) { var var$1, var$2, var$3, var$4, $var1; if (!$this.$isDrawing) return 0; $this.$isDrawing = 0; if ($this.$vertexCount > 0) { if ($this.$hasTexture) olo_EaglerAdapterGL30_glEnableVertexAttrib(32888); if ($this.$hasColor) olo_EaglerAdapterGL30_glEnableVertexAttrib(32886); if ($this.$hasNormals) olo_EaglerAdapterGL30_glEnableVertexAttrib(32885); var$1 = $this.$drawMode; var$2 = $this.$vertexCount; var$3 = $this.$intBuffer.buffer; var$4 = $this.$vertexCount * 7 | 0; olo_EaglerAdapterGL30_glDrawArrays(var$1, 0, var$2, new Int32Array(var$3, 0, var$4)); if ($this.$hasTexture) olo_EaglerAdapterGL30_glDisableVertexAttrib(32888); if ($this.$hasColor) olo_EaglerAdapterGL30_glDisableVertexAttrib(32886); if ($this.$hasNormals) olo_EaglerAdapterGL30_glDisableVertexAttrib(32885); } $var1 = $this.$rawBufferIndex * 4 | 0; nlea_Tessellator_reset($this); return $var1; } function nlea_Tessellator_reset($this) { $this.$vertexCount = 0; $this.$rawBufferIndex = 0; $this.$addedVertices = 0; } function nlea_Tessellator_startDrawingQuads($this) { nlea_Tessellator_startDrawing($this, 7); } function nlea_Tessellator_startDrawing($this, $par1) { if ($this.$isDrawing) nlea_Tessellator_draw($this); $this.$isDrawing = 1; nlea_Tessellator_reset($this); $this.$drawMode = $par1; $this.$hasNormals = 0; $this.$hasColor = 0; $this.$hasTexture = 0; $this.$isColorDisabled = 0; } function nlea_Tessellator_setTextureUV($this, $par1, $par3) { $this.$hasTexture = 1; $this.$textureU = $par1; $this.$textureV = $par3; } function nlea_Tessellator_addVertexWithUV($this, $par1, $par3, $par5, $par7, $par9) { nlea_Tessellator_setTextureUV($this, $par7, $par9); nlea_Tessellator_addVertex($this, $par1, $par3, $par5); } function nlea_Tessellator_addVertex($this, $par1, $par3, $par5) { var $bufferIndex, $intBuffer0, $floatBuffer0, var$7, var$8, var$9; if ($this.$addedVertices > 65534) return; $this.$addedVertices = $this.$addedVertices + 1 | 0; $this.$vertexCount = $this.$vertexCount + 1 | 0; $bufferIndex = $this.$rawBufferIndex; $intBuffer0 = $this.$intBuffer; $floatBuffer0 = $this.$floatBuffer; var$7 = $bufferIndex + 0 | 0; var$8 = $par1 + $this.$xOffset; $floatBuffer0[var$7] = var$8; var$7 = $bufferIndex + 1 | 0; var$8 = $par3 + $this.$yOffset; $floatBuffer0[var$7] = var$8; var$7 = $bufferIndex + 2 | 0; var$8 = $par5 + $this.$zOffset; $floatBuffer0[var$7] = var$8; if ($this.$hasTexture) { var$7 = $bufferIndex + 3 | 0; var$8 = $this.$textureU; $floatBuffer0[var$7] = var$8; var$7 = $bufferIndex + 4 | 0; var$8 = $this.$textureV; $floatBuffer0[var$7] = var$8; } if ($this.$hasColor) { var$7 = $bufferIndex + 5 | 0; var$9 = $this.$color2; $intBuffer0[var$7] = var$9; } if ($this.$hasNormals) { $bufferIndex = $bufferIndex + 6 | 0; var$7 = $this.$normal1; $intBuffer0[$bufferIndex] = var$7; } $this.$rawBufferIndex = $this.$rawBufferIndex + 7 | 0; } function nlea_Tessellator__clinit_() { var var$1, var$2; var$1 = new nlea_Tessellator; nlea_Tessellator_$callClinit(); var$1.$vertexCount = 0; var$1.$hasColor = 0; var$1.$hasTexture = 0; var$1.$hasNormals = 0; var$1.$rawBufferIndex = 0; var$1.$addedVertices = 0; var$1.$isColorDisabled = 0; var$1.$isDrawing = 0; var$1.$useVBO = 0; var$1.$bufferSize = 525000; var$2 = new ArrayBuffer(2100000); var$1.$intBuffer = new Int32Array(var$2); var$1.$floatBuffer = new Float32Array(var$2); nlea_Tessellator_instance = var$1; } function cmmi_ItemModel() { jl_Object.call(this); this.$model = null; } function cmmi_ItemModel__init_(var_0) { var var_1 = new cmmi_ItemModel(); cmmi_ItemModel__init_0(var_1, var_0); return var_1; } function cmmi_ItemModel__init_0($this, $tex) { var $vertex1, $vertex2, $vertex3, $vertex4, $vertex5, $vertex6, $vertex7, $vertex8, $u2, $u1, $var3, $v1, $v2, $vertexes1, $vertexes3, $vertexes2, $vertexes4, $vertexes5, $vertexes6, var$21; $this.$model = cmmm_ModelPart__init_(0, 0); $this.$model.$vertices = $rt_createArray(cmmm_Vertex, 8); $this.$model.$quads = $rt_createArray(cmmm_TexturedQuad, 6); $vertex1 = cmmm_Vertex__init_((-2.0), (-2.0), (-2.0), 0.0, 0.0); $vertex2 = cmmm_Vertex__init_(2.0, (-2.0), (-2.0), 0.0, 8.0); $vertex3 = cmmm_Vertex__init_(2.0, 2.0, (-2.0), 8.0, 8.0); $vertex4 = cmmm_Vertex__init_((-2.0), 2.0, (-2.0), 8.0, 0.0); $vertex5 = cmmm_Vertex__init_((-2.0), (-2.0), 2.0, 0.0, 0.0); $vertex6 = cmmm_Vertex__init_(2.0, (-2.0), 2.0, 0.0, 8.0); $vertex7 = cmmm_Vertex__init_(2.0, 2.0, 2.0, 8.0, 8.0); $vertex8 = cmmm_Vertex__init_((-2.0), 2.0, 2.0, 8.0, 0.0); $this.$model.$vertices.data[0] = $vertex1; $this.$model.$vertices.data[1] = $vertex2; $this.$model.$vertices.data[2] = $vertex3; $this.$model.$vertices.data[3] = $vertex4; $this.$model.$vertices.data[4] = $vertex5; $this.$model.$vertices.data[5] = $vertex6; $this.$model.$vertices.data[6] = $vertex7; $this.$model.$vertices.data[7] = $vertex8; $u2 = $tex % 16 | 0; $u1 = ($u2 + 0.75) / 16.0; $var3 = $tex / 16 | 0; $v1 = ($var3 + 0.75) / 16.0; $u2 = ($u2 + 0.25) / 16.0; $v2 = ($var3 + 0.25) / 16.0; $vertexes1 = $rt_createArray(cmmm_Vertex, 4); $vertexes3 = $vertexes1.data; $vertexes3[0] = $vertex6; $vertexes3[1] = $vertex2; $vertexes3[2] = $vertex3; $vertexes3[3] = $vertex7; $vertexes2 = $rt_createArray(cmmm_Vertex, 4); $vertexes3 = $vertexes2.data; $vertexes3[0] = $vertex1; $vertexes3[1] = $vertex5; $vertexes3[2] = $vertex8; $vertexes3[3] = $vertex4; $vertexes3 = $rt_createArray(cmmm_Vertex, 4); $vertexes4 = $vertexes3.data; $vertexes4[0] = $vertex6; $vertexes4[1] = $vertex5; $vertexes4[2] = $vertex1; $vertexes4[3] = $vertex2; $vertexes4 = $rt_createArray(cmmm_Vertex, 4); $vertexes5 = $vertexes4.data; $vertexes5[0] = $vertex3; $vertexes5[1] = $vertex4; $vertexes5[2] = $vertex8; $vertexes5[3] = $vertex7; $vertexes5 = $rt_createArray(cmmm_Vertex, 4); $vertexes6 = $vertexes5.data; $vertexes6[0] = $vertex2; $vertexes6[1] = $vertex1; $vertexes6[2] = $vertex4; $vertexes6[3] = $vertex3; $vertexes6 = $rt_createArray(cmmm_Vertex, 4); var$21 = $vertexes6.data; var$21[0] = $vertex5; var$21[1] = $vertex6; var$21[2] = $vertex7; var$21[3] = $vertex8; $this.$model.$quads.data[0] = cmmm_TexturedQuad__init_3($vertexes1, $u1, $v1, $u2, $v2); $this.$model.$quads.data[1] = cmmm_TexturedQuad__init_3($vertexes2, $u1, $v1, $u2, $v2); $this.$model.$quads.data[2] = cmmm_TexturedQuad__init_3($vertexes3, $u1, $v1, $u2, $v2); $this.$model.$quads.data[3] = cmmm_TexturedQuad__init_3($vertexes4, $u1, $v1, $u2, $v2); $this.$model.$quads.data[4] = cmmm_TexturedQuad__init_3($vertexes5, $u1, $v1, $u2, $v2); $this.$model.$quads.data[5] = cmmm_TexturedQuad__init_3($vertexes6, $u1, $v1, $u2, $v2); } function cmmi_ItemModel_generateList($this) { cmmm_ModelPart_render($this.$model, 0.0625); } function cmmm_CreeperModel() { var a = this; cmmm_Model.call(a); a.$head1 = null; a.$unused3 = null; a.$body1 = null; a.$leg1 = null; a.$leg2 = null; a.$leg3 = null; a.$leg4 = null; } function cmmm_CreeperModel__init_() { var var_0 = new cmmm_CreeperModel(); cmmm_CreeperModel__init_0(var_0); return var_0; } function cmmm_CreeperModel__init_0($this) { $this.$head1 = cmmm_ModelPart__init_(0, 0); cmmm_ModelPart_setBounds($this.$head1, (-4.0), (-8.0), (-4.0), 8, 8, 8, 0.0); $this.$unused3 = cmmm_ModelPart__init_(32, 0); cmmm_ModelPart_setBounds($this.$unused3, (-4.0), (-8.0), (-4.0), 8, 8, 8, 0.5); $this.$body1 = cmmm_ModelPart__init_(16, 16); cmmm_ModelPart_setBounds($this.$body1, (-4.0), 0.0, (-2.0), 8, 12, 4, 0.0); $this.$leg1 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); cmmm_ModelPart_setPosition($this.$leg1, (-2.0), 12.0, 4.0); $this.$leg2 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg2, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); cmmm_ModelPart_setPosition($this.$leg2, 2.0, 12.0, 4.0); $this.$leg3 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg3, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); cmmm_ModelPart_setPosition($this.$leg3, (-2.0), 12.0, (-4.0)); $this.$leg4 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg4, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); cmmm_ModelPart_setPosition($this.$leg4, 2.0, 12.0, (-4.0)); } function cmmm_CreeperModel_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7; $this.$head1.$yaw = $var4 / 57.2957763671875; $this.$head1.$pitch = $var5 / 57.2957763671875; var$7 = $this.$leg1; $var1 = $var1 * 0.6661999821662903; var$7.$pitch = nPm_MathHelper_cos($var1) * 1.399999976158142 * $var2; var$7 = $this.$leg2; $var3 = $var1 + 3.1415927410125732; var$7.$pitch = nPm_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg3.$pitch = nPm_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg4.$pitch = nPm_MathHelper_cos($var1) * 1.399999976158142 * $var2; cmmm_ModelPart_render($this.$head1, $var6); cmmm_ModelPart_render($this.$body1, $var6); cmmm_ModelPart_render($this.$leg1, $var6); cmmm_ModelPart_render($this.$leg2, $var6); cmmm_ModelPart_render($this.$leg3, $var6); cmmm_ModelPart_render($this.$leg4, $var6); } function cmmm_ZombieModel() { cmmm_HumanoidModel.call(this); } function cmmm_ZombieModel__init_0() { var var_0 = new cmmm_ZombieModel(); cmmm_ZombieModel__init_(var_0); return var_0; } function cmmm_ZombieModel__init_($this) { cmmm_HumanoidModel__init_($this, 0.0); } function cmmm_ZombieModel_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7; cmmm_HumanoidModel_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6); $var1 = nPm_MathHelper_sin($this.$attackOffset * 3.1415927410125732); $var5 = nPm_MathHelper_sin((1.0 - (1.0 - $this.$attackOffset) * (1.0 - $this.$attackOffset)) * 3.1415927410125732); $this.$rightArm.$roll = 0.0; $this.$leftArm.$roll = 0.0; var$7 = $this.$rightArm; $var2 = 0.10000000149011612 - $var1 * 0.6000000238418579; var$7.$yaw = -$var2; $this.$leftArm.$yaw = $var2; $this.$rightArm.$pitch = (-1.5707963705062866); $this.$leftArm.$pitch = (-1.5707963705062866); var$7 = $this.$rightArm; $var2 = var$7.$pitch; $var1 = $var1 * 1.2000000476837158 - $var5 * 0.4000000059604645; var$7.$pitch = $var2 - $var1; var$7 = $this.$leftArm; var$7.$pitch = var$7.$pitch - $var1; var$7 = $this.$rightArm; $var1 = var$7.$roll; $var2 = $var3 * 0.09000000357627869; var$7.$roll = $var1 + nPm_MathHelper_cos($var2) * 0.05000000074505806 + 0.05000000074505806; var$7 = $this.$leftArm; var$7.$roll = var$7.$roll - (nPm_MathHelper_cos($var2) * 0.05000000074505806 + 0.05000000074505806); var$7 = $this.$rightArm; $var1 = var$7.$pitch; $var2 = $var3 * 0.06700000166893005; var$7.$pitch = $var1 + nPm_MathHelper_sin($var2) * 0.05000000074505806; var$7 = $this.$leftArm; var$7.$pitch = var$7.$pitch - nPm_MathHelper_sin($var2) * 0.05000000074505806; } function cmmm_SkeletonModel() { cmmm_ZombieModel.call(this); } function cmmm_AnimalModel() { var a = this; cmmm_Model.call(a); a.$head0 = null; a.$body0 = null; a.$leg10 = null; a.$leg20 = null; a.$leg30 = null; a.$leg40 = null; } function cmmm_AnimalModel__init_0(var_0, var_1) { var var_2 = new cmmm_AnimalModel(); cmmm_AnimalModel__init_(var_2, var_0, var_1); return var_2; } function cmmm_AnimalModel__init_($this, $var1, $var2) { var var$3, var$4; $this.$head0 = cmmm_ModelPart__init_(0, 0); cmmm_ModelPart_setBounds($this.$head0, (-4.0), (-4.0), (-8.0), 8, 8, 8, 0.0); cmmm_ModelPart_setPosition($this.$head0, 0.0, 18 - $var1 | 0, (-6.0)); $this.$body0 = cmmm_ModelPart__init_(28, 8); cmmm_ModelPart_setBounds($this.$body0, (-5.0), (-10.0), (-7.0), 10, 16, 8, 0.0); cmmm_ModelPart_setPosition($this.$body0, 0.0, 17 - $var1 | 0, 2.0); $this.$leg10 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg10, (-2.0), 0.0, (-2.0), 4, $var1, 4, 0.0); var$3 = $this.$leg10; var$4 = 24 - $var1 | 0; cmmm_ModelPart_setPosition(var$3, (-3.0), var$4, 7.0); $this.$leg20 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg20, (-2.0), 0.0, (-2.0), 4, $var1, 4, 0.0); cmmm_ModelPart_setPosition($this.$leg20, 3.0, var$4, 7.0); $this.$leg30 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg30, (-2.0), 0.0, (-2.0), 4, $var1, 4, 0.0); cmmm_ModelPart_setPosition($this.$leg30, (-3.0), var$4, (-5.0)); $this.$leg40 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg40, (-2.0), 0.0, (-2.0), 4, $var1, 4, 0.0); cmmm_ModelPart_setPosition($this.$leg40, 3.0, var$4, (-5.0)); } function cmmm_AnimalModel_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7; $this.$head0.$yaw = $var4 / 57.2957763671875; $this.$head0.$pitch = $var5 / 57.2957763671875; $this.$body0.$pitch = 1.5707963705062866; var$7 = $this.$leg10; $var1 = $var1 * 0.6661999821662903; var$7.$pitch = nPm_MathHelper_cos($var1) * 1.399999976158142 * $var2; var$7 = $this.$leg20; $var3 = $var1 + 3.1415927410125732; var$7.$pitch = nPm_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg30.$pitch = nPm_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg40.$pitch = nPm_MathHelper_cos($var1) * 1.399999976158142 * $var2; cmmm_ModelPart_render($this.$head0, $var6); cmmm_ModelPart_render($this.$body0, $var6); cmmm_ModelPart_render($this.$leg10, $var6); cmmm_ModelPart_render($this.$leg20, $var6); cmmm_ModelPart_render($this.$leg30, $var6); cmmm_ModelPart_render($this.$leg40, $var6); } function cmmm_PigModel() { cmmm_AnimalModel.call(this); } function cmmm_SheepModel() { cmmm_AnimalModel.call(this); } function cmmm_SpiderModel() { var a = this; cmmm_Model.call(a); a.$head2 = null; a.$neck = null; a.$body2 = null; a.$leg11 = null; a.$leg21 = null; a.$leg31 = null; a.$leg41 = null; a.$leg5 = null; a.$leg6 = null; a.$leg7 = null; a.$leg8 = null; } function cmmm_SpiderModel__init_() { var var_0 = new cmmm_SpiderModel(); cmmm_SpiderModel__init_0(var_0); return var_0; } function cmmm_SpiderModel__init_0($this) { $this.$head2 = cmmm_ModelPart__init_(32, 4); cmmm_ModelPart_setBounds($this.$head2, (-4.0), (-4.0), (-8.0), 8, 8, 8, 0.0); cmmm_ModelPart_setPosition($this.$head2, 0.0, 0.0, (-3.0)); $this.$neck = cmmm_ModelPart__init_(0, 0); cmmm_ModelPart_setBounds($this.$neck, (-3.0), (-3.0), (-3.0), 6, 6, 6, 0.0); $this.$body2 = cmmm_ModelPart__init_(0, 12); cmmm_ModelPart_setBounds($this.$body2, (-5.0), (-4.0), (-6.0), 10, 8, 12, 0.0); cmmm_ModelPart_setPosition($this.$body2, 0.0, 0.0, 9.0); $this.$leg11 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg11, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg11, (-4.0), 0.0, 2.0); $this.$leg21 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg21, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg21, 4.0, 0.0, 2.0); $this.$leg31 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg31, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg31, (-4.0), 0.0, 1.0); $this.$leg41 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg41, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg41, 4.0, 0.0, 1.0); $this.$leg5 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg5, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg5, (-4.0), 0.0, 0.0); $this.$leg6 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg6, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg6, 4.0, 0.0, 0.0); $this.$leg7 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg7, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg7, (-4.0), 0.0, (-1.0)); $this.$leg8 = cmmm_ModelPart__init_(18, 0); cmmm_ModelPart_setBounds($this.$leg8, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); cmmm_ModelPart_setPosition($this.$leg8, 4.0, 0.0, (-1.0)); } function cmmm_SpiderModel_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8, $var9, $var10, $var11, var$12; $this.$head2.$yaw = $var4 / 57.2957763671875; $this.$head2.$pitch = $var5 / 57.2957763671875; $this.$leg11.$roll = (-0.7853981852531433); $this.$leg21.$roll = 0.7853981852531433; $this.$leg31.$roll = (-0.5811946392059326); $this.$leg41.$roll = 0.5811946392059326; $this.$leg5.$roll = (-0.5811946392059326); $this.$leg6.$roll = 0.5811946392059326; $this.$leg7.$roll = (-0.7853981852531433); $this.$leg8.$roll = 0.7853981852531433; $this.$leg11.$yaw = 0.7853981852531433; $this.$leg21.$yaw = (-0.7853981852531433); $this.$leg31.$yaw = 0.39269909262657166; $this.$leg41.$yaw = (-0.39269909262657166); $this.$leg5.$yaw = (-0.39269909262657166); $this.$leg6.$yaw = 0.39269909262657166; $this.$leg7.$yaw = (-0.7853981852531433); $this.$leg8.$yaw = 0.7853981852531433; $var1 = $var1 * 0.6661999821662903; $var3 = $var1 * 2.0; $var4 = -(nPm_MathHelper_cos($var3) * 0.4000000059604645) * $var2; $var5 = -(nPm_MathHelper_cos($var3 + 3.1415927410125732) * 0.4000000059604645) * $var2; $var7 = -(nPm_MathHelper_cos($var3 + 1.5707963705062866) * 0.4000000059604645) * $var2; $var8 = -(nPm_MathHelper_cos($var3 + 4.71238899230957) * 0.4000000059604645) * $var2; $var9 = jl_Math_abs(nPm_MathHelper_sin($var1) * 0.4000000059604645) * $var2; $var10 = jl_Math_abs(nPm_MathHelper_sin($var1 + 3.1415927410125732) * 0.4000000059604645) * $var2; $var11 = jl_Math_abs(nPm_MathHelper_sin($var1 + 1.5707963705062866) * 0.4000000059604645) * $var2; $var1 = jl_Math_abs(nPm_MathHelper_sin($var1 + 4.71238899230957) * 0.4000000059604645) * $var2; var$12 = $this.$leg11; var$12.$yaw = var$12.$yaw + $var4; var$12 = $this.$leg21; var$12.$yaw = var$12.$yaw - $var4; var$12 = $this.$leg31; var$12.$yaw = var$12.$yaw + $var5; var$12 = $this.$leg41; var$12.$yaw = var$12.$yaw - $var5; var$12 = $this.$leg5; var$12.$yaw = var$12.$yaw + $var7; var$12 = $this.$leg6; var$12.$yaw = var$12.$yaw - $var7; var$12 = $this.$leg7; var$12.$yaw = var$12.$yaw + $var8; var$12 = $this.$leg8; var$12.$yaw = var$12.$yaw - $var8; var$12 = $this.$leg11; var$12.$roll = var$12.$roll + $var9; var$12 = $this.$leg21; var$12.$roll = var$12.$roll - $var9; var$12 = $this.$leg31; var$12.$roll = var$12.$roll + $var10; var$12 = $this.$leg41; var$12.$roll = var$12.$roll - $var10; var$12 = $this.$leg5; var$12.$roll = var$12.$roll + $var11; var$12 = $this.$leg6; var$12.$roll = var$12.$roll - $var11; var$12 = $this.$leg7; var$12.$roll = var$12.$roll + $var1; var$12 = $this.$leg8; var$12.$roll = var$12.$roll - $var1; cmmm_ModelPart_render($this.$head2, $var6); cmmm_ModelPart_render($this.$neck, $var6); cmmm_ModelPart_render($this.$body2, $var6); cmmm_ModelPart_render($this.$leg11, $var6); cmmm_ModelPart_render($this.$leg21, $var6); cmmm_ModelPart_render($this.$leg31, $var6); cmmm_ModelPart_render($this.$leg41, $var6); cmmm_ModelPart_render($this.$leg5, $var6); cmmm_ModelPart_render($this.$leg6, $var6); cmmm_ModelPart_render($this.$leg7, $var6); cmmm_ModelPart_render($this.$leg8, $var6); } function cmmm_SheepFurModel() { cmmm_AnimalModel.call(this); } function cmmm_SheepFurModel__init_() { var var_0 = new cmmm_SheepFurModel(); cmmm_SheepFurModel__init_0(var_0); return var_0; } function cmmm_SheepFurModel__init_0($this) { cmmm_AnimalModel__init_($this, 12, 0.0); $this.$head0 = cmmm_ModelPart__init_(0, 0); cmmm_ModelPart_setBounds($this.$head0, (-3.0), (-4.0), (-4.0), 6, 6, 6, 0.6000000238418579); cmmm_ModelPart_setPosition($this.$head0, 0.0, 6.0, (-8.0)); $this.$body0 = cmmm_ModelPart__init_(28, 8); cmmm_ModelPart_setBounds($this.$body0, (-4.0), (-10.0), (-7.0), 8, 16, 6, 1.75); cmmm_ModelPart_setPosition($this.$body0, 0.0, 5.0, 2.0); $this.$leg10 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg10, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); cmmm_ModelPart_setPosition($this.$leg10, (-3.0), 12.0, 7.0); $this.$leg20 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg20, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); cmmm_ModelPart_setPosition($this.$leg20, 3.0, 12.0, 7.0); $this.$leg30 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg30, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); cmmm_ModelPart_setPosition($this.$leg30, (-3.0), 12.0, (-5.0)); $this.$leg40 = cmmm_ModelPart__init_(0, 16); cmmm_ModelPart_setBounds($this.$leg40, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); cmmm_ModelPart_setPosition($this.$leg40, 3.0, 12.0, (-5.0)); } function cmm_ChatLine() { var a = this; jl_Object.call(a); a.$message0 = null; a.$time = 0; } function cmmi_Arrow() { var a = this; cmm_Entity.call(a); a.$xd1 = 0.0; a.$yd1 = 0.0; a.$zd1 = 0.0; a.$yRot0 = 0.0; a.$xRot0 = 0.0; a.$yRotO0 = 0.0; a.$xRotO0 = 0.0; a.$hasHit = 0; a.$stickTime = 0; a.$owner0 = null; a.$time2 = 0; a.$type0 = 0; a.$gravity = 0.0; a.$damage = 0; } function cmmi_Arrow__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) { var var_8 = new cmmi_Arrow(); cmmi_Arrow__init_0(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; } function cmmi_Arrow__init_0($this, $level1, $owner, $x, $y, $z, $unknown0, $unknown1, $unknown2) { var $unknown3, $unknown4, var$11, var$12, var$13; cmm_Entity__init_0($this, $level1); $this.$hasHit = 0; $this.$stickTime = 0; $this.$time2 = 0; $this.$type0 = 0; $this.$gravity = 0.0; $this.$owner0 = $owner; cmm_Entity_setSize($this, 0.30000001192092896, 0.5); $this.$heightOffset = $this.$bbHeight / 2.0; $this.$damage = 3; if ($owner instanceof cmmp_Player) $this.$damage = 7; else $this.$type0 = 1; $this.$heightOffset = 0.25; $unknown0 = -$unknown0 * 0.01745329238474369 - 3.1415927410125732; $unknown3 = nPm_MathHelper_cos($unknown0); $unknown4 = nPm_MathHelper_sin($unknown0); $unknown0 = -$unknown1 * 0.01745329238474369; $unknown1 = nPm_MathHelper_cos($unknown0); $unknown0 = nPm_MathHelper_sin($unknown0); $this.$slide = 0; $this.$gravity = 1.0 / $unknown2; var$11 = $this.$xo; var$12 = $unknown3 * 0.20000000298023224; $this.$xo = var$11 - var$12; var$11 = $this.$zo; var$13 = $unknown4 * 0.20000000298023224; $this.$zo = var$11 + var$13; $x = $x - var$12; $z = $z + var$13; $this.$xd1 = $unknown4 * $unknown1 * $unknown2; $this.$yd1 = $unknown0 * $unknown2; $this.$zd1 = $unknown3 * $unknown1 * $unknown2; cmm_Entity_setPos($this, $x, $y, $z); $x = nPm_MathHelper_sqrt($this.$xd1 * $this.$xd1 + $this.$zd1 * $this.$zd1); $y = jl_Math_atan2($this.$xd1, $this.$zd1) * 180.0 / 3.1415927410125732; $this.$yRot0 = $y; $this.$yRotO0 = $y; $x = jl_Math_atan2($this.$yd1, $x) * 180.0 / 3.1415927410125732; $this.$xRot0 = $x; $this.$xRotO0 = $x; $this.$makeStepSound = 0; } function cmmi_Arrow_tick($this) { var $unknown0, $x0, $z0, $y0, $unknown4, $unknown5, $blockMapEntitiesList, $currentEntity, $entity, $unknown6; a: { $this.$time2 = $this.$time2 + 1 | 0; $this.$xRotO0 = $this.$xRot0; $this.$yRotO0 = $this.$yRot0; $this.$xo = $this.$x; $this.$yo = $this.$y; $this.$zo = $this.$z; if ($this.$hasHit) { $this.$stickTime = $this.$stickTime + 1 | 0; if ($this.$type0) { if ($this.$type0 == 1 && $this.$stickTime >= 20) cmm_Entity_remove($this); } else if ($this.$stickTime >= 300 && jl_Math_random() < 0.009999999776482582) cmm_Entity_remove($this); } else { $this.$xd1 = $this.$xd1 * 0.9980000257492065; $this.$yd1 = $this.$yd1 * 0.9980000257492065; $this.$zd1 = $this.$zd1 * 0.9980000257492065; $this.$yd1 = $this.$yd1 - 0.019999999552965164 * $this.$gravity; $unknown0 = nPm_MathHelper_sqrt($this.$xd1 * $this.$xd1 + $this.$yd1 * $this.$yd1 + $this.$zd1 * $this.$zd1) / 0.20000000298023224 + 1.0 | 0; $x0 = $this.$xd1; $z0 = $unknown0; $x0 = $x0 / $z0; $y0 = $this.$yd1 / $z0; $z0 = $this.$zd1 / $z0; $unknown4 = 0; b: { c: while (true) { if ($unknown4 >= $unknown0) break b; if ($this.$collision) break b; $unknown5 = cmmp_AABB_expand($this.$bb, $x0, $y0, $z0); if (cmml_Level_getCubes($this.$level2, $unknown5).$size0 > 0) $this.$collision = 1; $blockMapEntitiesList = cmml_BlockMap_getEntities($this.$level2.$blockMap, $this, $unknown5); $currentEntity = 0; while ($currentEntity < $blockMapEntitiesList.$size0) { $entity = ju_ArrayList_get($blockMapEntitiesList, $currentEntity); if ($entity.$isShootable()) { if ($entity !== $this.$owner0) break c; if ($this.$time2 > 5) break c; } $currentEntity = $currentEntity + 1 | 0; } if (!$this.$collision) { cmmp_AABB_move($this.$bb, $x0, $y0, $z0); $this.$x = $this.$x + $x0; $this.$y = $this.$y + $y0; $this.$z = $this.$z + $z0; cmml_BlockMap_moved($this.$blockMap0, $this); } $unknown4 = $unknown4 + 1 | 0; } $entity.$hurt($this, $this.$damage); $this.$collision = 1; cmm_Entity_remove($this); return; } if ($this.$collision) { $this.$hasHit = 1; $this.$zd1 = 0.0; $this.$yd1 = 0.0; $this.$xd1 = 0.0; } if (!$this.$hasHit) { $unknown6 = nPm_MathHelper_sqrt($this.$xd1 * $this.$xd1 + $this.$zd1 * $this.$zd1); $this.$yRot0 = jl_Math_atan2($this.$xd1, $this.$zd1) * 180.0 / 3.1415927410125732; $this.$xRot0 = jl_Math_atan2($this.$yd1, $unknown6) * 180.0 / 3.1415927410125732; while ($this.$xRot0 - $this.$xRotO0 < (-180.0)) { $this.$xRotO0 = $this.$xRotO0 - 360.0; } while ($this.$xRot0 - $this.$xRotO0 >= 180.0) { $this.$xRotO0 = $this.$xRotO0 + 360.0; } while ($this.$yRot0 - $this.$yRotO0 < (-180.0)) { $this.$yRotO0 = $this.$yRotO0 - 360.0; } while (true) { if ($this.$yRot0 - $this.$yRotO0 < 180.0) break a; $this.$yRotO0 = $this.$yRotO0 + 360.0; } } } } } function cmmi_Arrow_render($this, $unknown0) { var $shapeRenderer, $unknown7, $brightness, $unknown1, $unknown2, $unknown4, $unknown5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$unknown5 = $thread.pop();$unknown4 = $thread.pop();$unknown2 = $thread.pop();$unknown1 = $thread.pop();$brightness = $thread.pop();$unknown7 = $thread.pop();$shapeRenderer = $thread.pop();$unknown0 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $shapeRenderer = cmmr_TextureLocation__init_($rt_s(365)); $ptr = 1; case 1: $tmp = cmmr_TextureLocation_bindTexture($shapeRenderer); if ($rt_suspending()) { break main; } $unknown7 = $tmp; $this.$textureId0 = $unknown7; $brightness = cmml_Level_getBrightness($this.$level2, $this.$x | 0, $this.$y | 0, $this.$z | 0); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glColor4f($brightness, $brightness, $brightness, 1.0); olo_EaglerAdapterGL30_glTranslatef($this.$xo + ($this.$x - $this.$xo) * $unknown0, $this.$yo + ($this.$y - $this.$yo) * $unknown0 - $this.$heightOffset / 2.0, $this.$zo + ($this.$z - $this.$zo) * $unknown0); olo_EaglerAdapterGL30_glRotatef($this.$yRotO0 + ($this.$yRot0 - $this.$yRotO0) * $unknown0 - 90.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef($this.$xRotO0 + ($this.$xRot0 - $this.$xRotO0) * $unknown0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef(45.0, 1.0, 0.0, 0.0); $shapeRenderer = cmmr_ShapeRenderer_instance; $unknown1 = (0 + ($this.$type0 * 10 | 0) | 0) / 32.0; $unknown2 = (5 + ($this.$type0 * 10 | 0) | 0) / 32.0; $unknown4 = (5 + ($this.$type0 * 10 | 0) | 0) / 32.0; $unknown5 = (10 + ($this.$type0 * 10 | 0) | 0) / 32.0; olo_EaglerAdapterGL30_glScalef(0.05624999850988388, 0.05624999850988388, 0.05624999850988388); olo_EaglerAdapterGL30_glNormal3f(0.05624999850988388, 0.0, 0.0); cmmr_ShapeRenderer_begin($shapeRenderer); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), (-2.0), (-2.0), 0.0, $unknown4); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), (-2.0), 2.0, 0.15625, $unknown4); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), 2.0, 2.0, 0.15625, $unknown5); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), 2.0, (-2.0), 0.0, $unknown5); cmmr_ShapeRenderer_end($shapeRenderer); olo_EaglerAdapterGL30_glNormal3f((-0.05624999850988388), 0.0, 0.0); cmmr_ShapeRenderer_begin($shapeRenderer); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), 2.0, (-2.0), 0.0, $unknown4); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), 2.0, 2.0, 0.15625, $unknown4); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), (-2.0), 2.0, 0.15625, $unknown5); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-7.0), (-2.0), (-2.0), 0.0, $unknown5); cmmr_ShapeRenderer_end($shapeRenderer); $unknown7 = 0; while ($unknown7 < 4) { olo_EaglerAdapterGL30_glRotatef(90.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glNormal3f(0.0, (-0.05624999850988388), 0.0); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-8.0), (-2.0), 0.0, 0.0, $unknown1); cmmr_ShapeRenderer_vertexUV($shapeRenderer, 8.0, (-2.0), 0.0, 0.5, $unknown1); cmmr_ShapeRenderer_vertexUV($shapeRenderer, 8.0, 2.0, 0.0, 0.5, $unknown2); cmmr_ShapeRenderer_vertexUV($shapeRenderer, (-8.0), 2.0, 0.0, 0.0, $unknown2); cmmr_ShapeRenderer_end($shapeRenderer); $unknown7 = $unknown7 + 1 | 0; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $unknown0, $shapeRenderer, $unknown7, $brightness, $unknown1, $unknown2, $unknown4, $unknown5, $ptr); } function cmmi_Arrow_playerTouch($this, $entity) { var $player, $takeEntityAnim; $player = $entity; if ($this.$hasHit && $this.$owner0 === $player && $player.$arrows < 99) { $takeEntityAnim = cmmi_TakeEntityAnim__init_($this.$level2, $this, $player); cmml_Level_addEntity($this.$level2, $takeEntityAnim); $player.$arrows = $player.$arrows + 1 | 0; cmm_Entity_remove($this); } } function cmmi_Arrow_awardKillScore($this, $entity, $score) { $this.$owner0.$awardKillScore($entity, $score); } function cmmi_Arrow_getOwner($this) { return $this.$owner0; } function cmmp_Inventory() { var a = this; jl_Object.call(a); a.$slots = null; a.$count0 = null; a.$popTime = null; a.$selected0 = 0; } function cmmp_Inventory_getSelected($this) { return $this.$slots.data[$this.$selected0]; } function cmmp_Inventory_getSlot($this, $var1) { var $var2; $var2 = 0; while (true) { if ($var2 >= $this.$slots.data.length) return (-1); if ($var1 == $this.$slots.data[$var2]) break; $var2 = $var2 + 1 | 0; } return $var2; } function cmmp_Inventory_grabTexture($this, $var1, $var2) { var var$3, var$4; var$3 = cmmp_Inventory_getSlot($this, $var1); if (var$3 >= 0) $this.$selected0 = var$3; else if ($var2 && $var1 > 0) { cmm_SessionData_$callClinit(); var$4 = cmm_SessionData_allowedBlocks; cmmlt_Block_$callClinit(); if (ju_AbstractCollection_contains(var$4, cmmlt_Block_blocks.data[$var1])) cmmp_Inventory_replaceSlot($this, cmmlt_Block_blocks.data[$var1]); } } function cmmp_Inventory_swapPaint($this, $var1) { if ($var1 > 0) $var1 = 1; if ($var1 < 0) $var1 = (-1); $this.$selected0 = $this.$selected0 - $var1 | 0; while ($this.$selected0 < 0) { $this.$selected0 = $this.$selected0 + $this.$slots.data.length | 0; } while ($this.$selected0 >= $this.$slots.data.length) { $this.$selected0 = $this.$selected0 - $this.$slots.data.length | 0; } } function cmmp_Inventory_replaceSlot($this, $var1) { var var$2; if ($var1 !== null) { var$2 = cmmp_Inventory_getSlot($this, $var1.$id); if (var$2 >= 0) $this.$slots.data[var$2] = $this.$slots.data[$this.$selected0]; $this.$slots.data[$this.$selected0] = $var1.$id; } } function cmmp_Inventory_addResource($this, $var1) { var var$2, var$3; var$2 = cmmp_Inventory_getSlot($this, $var1); if (var$2 < 0) var$2 = cmmp_Inventory_getSlot($this, (-1)); if (var$2 < 0) return 0; if ($this.$count0.data[var$2] >= 99) return 0; $this.$slots.data[var$2] = $var1; var$3 = $this.$count0.data; var$3[var$2] = var$3[var$2] + 1 | 0; $this.$popTime.data[var$2] = 5; return 1; } function cmmp_Inventory_tick($this) { var $var1, var$2; $var1 = 0; while ($var1 < $this.$popTime.data.length) { if ($this.$popTime.data[$var1] > 0) { var$2 = $this.$popTime.data; var$2[$var1] = var$2[$var1] - 1 | 0; } $var1 = $var1 + 1 | 0; } } function cmmp_Inventory_removeResource($this, $var1) { var var$2, var$3; $var1 = cmmp_Inventory_getSlot($this, $var1); if ($var1 < 0) return 0; var$2 = $this.$count0.data; var$3 = var$2[$var1] - 1 | 0; var$2[$var1] = var$3; if (var$3 <= 0) $this.$slots.data[$var1] = (-1); return 1; } function cmmp_Particle() { var a = this; cmm_Entity.call(a); a.$xd2 = 0.0; a.$yd2 = 0.0; a.$zd2 = 0.0; a.$tex = 0; a.$uo = 0.0; a.$vo = 0.0; a.$age0 = 0; a.$lifetime = 0; a.$size5 = 0.0; a.$gravity0 = 0.0; a.$rCol = 0.0; a.$gCol = 0.0; a.$bCol = 0.0; } function cmmp_Particle__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new cmmp_Particle(); cmmp_Particle__init_0(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function cmmp_Particle__init_0($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8; cmm_Entity__init_0($this, $var1); $this.$age0 = 0; $this.$lifetime = 0; cmm_Entity_setSize($this, 0.20000000298023224, 0.20000000298023224); $this.$heightOffset = $this.$bbHeight / 2.0; cmm_Entity_setPos($this, $var2, $var3, $var4); $this.$bCol = 1.0; $this.$gCol = 1.0; $this.$rCol = 1.0; $this.$xd2 = $var5 + (jl_Math_random() * 2.0 - 1.0) * 0.4000000059604645; $this.$yd2 = $var6 + (jl_Math_random() * 2.0 - 1.0) * 0.4000000059604645; $this.$zd2 = $var7 + (jl_Math_random() * 2.0 - 1.0) * 0.4000000059604645; $var8 = (jl_Math_random() + jl_Math_random() + 1.0) * 0.15000000596046448; $var2 = nPm_MathHelper_sqrt($this.$xd2 * $this.$xd2 + $this.$yd2 * $this.$yd2 + $this.$zd2 * $this.$zd2); $this.$xd2 = $this.$xd2 / $var2 * $var8 * 0.4000000059604645; $this.$yd2 = $this.$yd2 / $var2 * $var8 * 0.4000000059604645 + 0.10000000149011612; $this.$zd2 = $this.$zd2 / $var2 * $var8 * 0.4000000059604645; $this.$uo = jl_Math_random() * 3.0; $this.$vo = jl_Math_random() * 3.0; $this.$size5 = jl_Math_random() * 0.5 + 0.5; $this.$lifetime = 4.0 / (jl_Math_random() * 0.9 + 0.1) | 0; $this.$age0 = 0; $this.$makeStepSound = 0; } function cmmp_Particle_setPower($this, $var1) { $this.$xd2 = $this.$xd2 * $var1; $this.$yd2 = ($this.$yd2 - 0.10000000149011612) * $var1 + 0.10000000149011612; $this.$zd2 = $this.$zd2 * $var1; return $this; } function cmmp_Particle_scale($this, $var1) { var var$2; var$2 = 0.20000000298023224 * $var1; cmm_Entity_setSize($this, var$2, var$2); $this.$size5 = $this.$size5 * $var1; return $this; } function cmmp_Particle_tick($this) { var var$1; $this.$xo = $this.$x; $this.$yo = $this.$y; $this.$zo = $this.$z; var$1 = $this.$age0; $this.$age0 = var$1 + 1 | 0; if (var$1 >= $this.$lifetime) cmm_Entity_remove($this); $this.$yd2 = $this.$yd2 - 0.04 * $this.$gravity0; cmm_Entity_move($this, $this.$xd2, $this.$yd2, $this.$zd2); $this.$xd2 = $this.$xd2 * 0.9800000190734863; $this.$yd2 = $this.$yd2 * 0.9800000190734863; $this.$zd2 = $this.$zd2 * 0.9800000190734863; if ($this.$onGround) { $this.$xd2 = $this.$xd2 * 0.699999988079071; $this.$zd2 = $this.$zd2 * 0.699999988079071; } } function cmmp_Particle_render($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, $var9, var$10, $var11, $var12, $var13, $var14, $var15, var$16, var$17, var$18; var$8 = ($this.$tex % 16 | 0) / 16.0; $var9 = var$8 + 0.062437500804662704; var$10 = ($this.$tex / 16 | 0) / 16.0; $var11 = var$10 + 0.062437500804662704; $var12 = 0.10000000149011612 * $this.$size5; $var13 = $this.$xo + ($this.$x - $this.$xo) * $var2; $var14 = $this.$yo + ($this.$y - $this.$yo) * $var2; $var15 = $this.$zo + ($this.$z - $this.$zo) * $var2; var$16 = cmm_Entity_getBrightness($this, $var2); cmmr_ShapeRenderer_color($var1, $this.$rCol * var$16, $this.$gCol * var$16, $this.$bCol * var$16); $var2 = $var3 * $var12; $var3 = $var13 - $var2; $var6 = $var6 * $var12; var$17 = $var3 - $var6; $var4 = $var4 * $var12; var$18 = $var14 - $var4; $var5 = $var5 * $var12; var$16 = $var15 - $var5; $var7 = $var7 * $var12; cmmr_ShapeRenderer_vertexUV($var1, var$17, var$18, var$16 - $var7, var$8, $var11); $var3 = $var3 + $var6; $var4 = $var14 + $var4; cmmr_ShapeRenderer_vertexUV($var1, $var3, $var4, var$16 + $var7, var$8, var$10); $var2 = $var13 + $var2; $var3 = $var2 + $var6; $var5 = $var15 + $var5; cmmr_ShapeRenderer_vertexUV($var1, $var3, $var4, $var5 + $var7, $var9, var$10); cmmr_ShapeRenderer_vertexUV($var1, $var2 - $var6, var$18, $var5 - $var7, $var9, $var11); } function cmmp_Particle_getParticleTexture($this) { return 0; } function cmmp_WaterDropParticle() { cmmp_Particle.call(this); } function cmmp_WaterDropParticle__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmp_WaterDropParticle(); cmmp_WaterDropParticle__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmp_WaterDropParticle__init_0($this, $var1, $var2, $var3, $var4) { cmmp_Particle__init_0($this, $var1, $var2, $var3, $var4, 0.0, 0.0, 0.0); $this.$xd2 = $this.$xd2 * 0.30000001192092896; $this.$yd2 = jl_Math_random() * 0.20000000298023224 + 0.10000000149011612; $this.$zd2 = $this.$zd2 * 0.30000001192092896; $this.$rCol = 1.0; $this.$gCol = 1.0; $this.$bCol = 1.0; $this.$tex = 16; cmm_Entity_setSize($this, 0.009999999776482582, 0.009999999776482582); $this.$lifetime = 8.0 / (jl_Math_random() * 0.8 + 0.2) | 0; } function cmmp_WaterDropParticle_render($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { cmmp_Particle_render($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); } function cmmp_WaterDropParticle_tick($this) { var var$1; $this.$xo = $this.$x; $this.$yo = $this.$y; $this.$zo = $this.$z; $this.$yd2 = $this.$yd2 - 0.06; cmm_Entity_move($this, $this.$xd2, $this.$yd2, $this.$zd2); $this.$xd2 = $this.$xd2 * 0.9800000190734863; $this.$yd2 = $this.$yd2 * 0.9800000190734863; $this.$zd2 = $this.$zd2 * 0.9800000190734863; var$1 = $this.$lifetime; $this.$lifetime = var$1 - 1 | 0; if (var$1 <= 0) cmm_Entity_remove($this); if ($this.$onGround) { if (jl_Math_random() < 0.5) cmm_Entity_remove($this); $this.$xd2 = $this.$xd2 * 0.699999988079071; $this.$zd2 = $this.$zd2 * 0.699999988079071; } } function cmmm_Vec3D() { var a = this; jl_Object.call(a); a.$x3 = 0.0; a.$y3 = 0.0; a.$z3 = 0.0; } function cmmm_Vec3D__init_(var_0, var_1, var_2) { var var_3 = new cmmm_Vec3D(); cmmm_Vec3D__init_0(var_3, var_0, var_1, var_2); return var_3; } function cmmm_Vec3D__init_0($this, $var1, $var2, $var3) { $this.$x3 = $var1; $this.$y3 = $var2; $this.$z3 = $var3; } function cmmm_Vec3D_subtract($this, $var1) { return cmmm_Vec3D__init_($this.$x3 - $var1.$x3, $this.$y3 - $var1.$y3, $this.$z3 - $var1.$z3); } function cmmm_Vec3D_normalize($this) { var $var1; $var1 = nPm_MathHelper_sqrt($this.$x3 * $this.$x3 + $this.$y3 * $this.$y3 + $this.$z3 * $this.$z3); return cmmm_Vec3D__init_($this.$x3 / $var1, $this.$y3 / $var1, $this.$z3 / $var1); } function cmmm_Vec3D_add($this, $var1, $var2, $var3) { return cmmm_Vec3D__init_($this.$x3 + $var1, $this.$y3 + $var2, $this.$z3 + $var3); } function cmmm_Vec3D_distance($this, $var1) { var $var2, $var3, $var4; $var2 = $var1.$x3 - $this.$x3; $var3 = $var1.$y3 - $this.$y3; $var4 = $var1.$z3 - $this.$z3; return nPm_MathHelper_sqrt($var2 * $var2 + $var3 * $var3 + $var4 * $var4); } function cmmm_Vec3D_distanceSquared($this, $var1) { var $var2, $var3, $var4; $var2 = $var1.$x3 - $this.$x3; $var3 = $var1.$y3 - $this.$y3; $var4 = $var1.$z3 - $this.$z3; return $var2 * $var2 + $var3 * $var3 + $var4 * $var4; } function cmmm_Vec3D_getXIntersection($this, $var1, $var2) { var $var3, $var4, $var5; $var3 = $var1.$x3 - $this.$x3; $var4 = $var1.$y3 - $this.$y3; $var5 = $var1.$z3 - $this.$z3; if ($var3 * $var3 < 1.0000000116860974E-7) $var1 = null; else { $var2 = ($var2 - $this.$x3) / $var3; $var1 = $var2 >= 0.0 && $var2 <= 1.0 ? cmmm_Vec3D__init_($this.$x3 + $var3 * $var2, $this.$y3 + $var4 * $var2, $this.$z3 + $var5 * $var2) : null; } return $var1; } function cmmm_Vec3D_getYIntersection($this, $var1, $var2) { var $var3, $var4, $var5; $var3 = $var1.$x3 - $this.$x3; $var4 = $var1.$y3 - $this.$y3; $var5 = $var1.$z3 - $this.$z3; if ($var4 * $var4 < 1.0000000116860974E-7) $var1 = null; else { $var2 = ($var2 - $this.$y3) / $var4; $var1 = $var2 >= 0.0 && $var2 <= 1.0 ? cmmm_Vec3D__init_($this.$x3 + $var3 * $var2, $this.$y3 + $var4 * $var2, $this.$z3 + $var5 * $var2) : null; } return $var1; } function cmmm_Vec3D_getZIntersection($this, $var1, $var2) { var $var3, $var4, var$5; $var3 = $var1.$x3 - $this.$x3; $var4 = $var1.$y3 - $this.$y3; var$5 = $var1.$z3 - $this.$z3; if (var$5 * var$5 < 1.0000000116860974E-7) $var1 = null; else { $var2 = ($var2 - $this.$z3) / var$5; $var1 = $var2 >= 0.0 && $var2 <= 1.0 ? cmmm_Vec3D__init_($this.$x3 + $var3 * $var2, $this.$y3 + $var4 * $var2, $this.$z3 + var$5 * $var2) : null; } return $var1; } function cmmp_AABB() { var a = this; jl_Object.call(a); a.$epsilon = 0.0; a.$x00 = 0.0; a.$y00 = 0.0; a.$z00 = 0.0; a.$x10 = 0.0; a.$y10 = 0.0; a.$z10 = 0.0; } function cmmp_AABB__init_0(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new cmmp_AABB(); cmmp_AABB__init_(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function cmmp_AABB__init_($this, $var1, $var2, $var3, $var4, $var5, $var6) { $this.$epsilon = 0.0; $this.$x00 = $var1; $this.$y00 = $var2; $this.$z00 = $var3; $this.$x10 = $var4; $this.$y10 = $var5; $this.$z10 = $var6; } function cmmp_AABB_expand($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var7, $var8, $var9, var$10; $var4 = $this.$x00; $var5 = $this.$y00; $var6 = $this.$z00; $var7 = $this.$x10; $var8 = $this.$y10; $var9 = $this.$z10; var$10 = $rt_compare($var1, 0.0); if (var$10 < 0) $var4 = $var4 + $var1; if (var$10 > 0) $var7 = $var7 + $var1; var$10 = $rt_compare($var2, 0.0); if (var$10 < 0) $var5 = $var5 + $var2; if (var$10 > 0) $var8 = $var8 + $var2; var$10 = $rt_compare($var3, 0.0); if (var$10 < 0) $var6 = $var6 + $var3; if (var$10 > 0) $var9 = $var9 + $var3; return cmmp_AABB__init_0($var4, $var5, $var6, $var7, $var8, $var9); } function cmmp_AABB_grow($this, $var1, $var2, $var3) { return cmmp_AABB__init_0($this.$x00 - $var1, $this.$y00 - $var2, $this.$z00 - $var3, $var1 + $this.$x10, $var2 + $this.$y10, $this.$z10 + $var3); } function cmmp_AABB_cloneMove($this, $var1, $var2, $var3) { return cmmp_AABB__init_0($this.$x00 + $var3, $this.$y00 + $var2, $this.$z00 + $var3, $this.$x10 + $var1, $this.$y10 + $var2, $this.$z10 + $var3); } function cmmp_AABB_clipXCollide($this, $var1, $var2) { var var$3; if ($var1.$y10 > $this.$y00 && $var1.$y00 < $this.$y10) { if ($var1.$z10 > $this.$z00 && $var1.$z00 < $this.$z10) { if ($var2 <= 0.0) var$3 = $var2; else if ($var1.$x10 > $this.$x00) var$3 = $var2; else { var$3 = $this.$x00 - $var1.$x10 - $this.$epsilon; if (var$3 >= $var2) var$3 = $var2; } if (var$3 >= 0.0) $var2 = var$3; else if ($var1.$x00 < $this.$x10) $var2 = var$3; else { $var2 = $this.$x10 - $var1.$x00 + $this.$epsilon; if ($var2 <= var$3) $var2 = var$3; } return $var2; } return $var2; } return $var2; } function cmmp_AABB_clipYCollide($this, $var1, $var2) { var var$3; if ($var1.$x10 > $this.$x00 && $var1.$x00 < $this.$x10) { if ($var1.$z10 > $this.$z00 && $var1.$z00 < $this.$z10) { if ($var2 <= 0.0) var$3 = $var2; else if ($var1.$y10 > $this.$y00) var$3 = $var2; else { var$3 = $this.$y00 - $var1.$y10 - $this.$epsilon; if (var$3 >= $var2) var$3 = $var2; } if (var$3 >= 0.0) $var2 = var$3; else if ($var1.$y00 < $this.$y10) $var2 = var$3; else { $var2 = $this.$y10 - $var1.$y00 + $this.$epsilon; if ($var2 <= var$3) $var2 = var$3; } return $var2; } return $var2; } return $var2; } function cmmp_AABB_clipZCollide($this, $var1, $var2) { var var$3; if ($var1.$x10 > $this.$x00 && $var1.$x00 < $this.$x10) { if ($var1.$y10 > $this.$y00 && $var1.$y00 < $this.$y10) { if ($var2 <= 0.0) var$3 = $var2; else if ($var1.$z10 > $this.$z00) var$3 = $var2; else { var$3 = $this.$z00 - $var1.$z10 - $this.$epsilon; if (var$3 >= $var2) var$3 = $var2; } if (var$3 >= 0.0) $var2 = var$3; else if ($var1.$z00 < $this.$z10) $var2 = var$3; else { $var2 = $this.$z10 - $var1.$z00 + $this.$epsilon; if ($var2 <= var$3) $var2 = var$3; } return $var2; } return $var2; } return $var2; } function cmmp_AABB_intersects($this, $var1) { return $var1.$x10 > $this.$x00 && $var1.$x00 < $this.$x10 ? ($var1.$y10 > $this.$y00 && $var1.$y00 < $this.$y10 ? ($var1.$z10 > $this.$z00 && $var1.$z00 < $this.$z10 ? 1 : 0) : 0) : 0; } function cmmp_AABB_intersectsInner($this, $var1) { return $var1.$x10 >= $this.$x00 && $var1.$x00 <= $this.$x10 ? ($var1.$y10 >= $this.$y00 && $var1.$y00 <= $this.$y10 ? ($var1.$z10 >= $this.$z00 && $var1.$z00 <= $this.$z10 ? 1 : 0) : 0) : 0; } function cmmp_AABB_move($this, $var1, $var2, $var3) { $this.$x00 = $this.$x00 + $var1; $this.$y00 = $this.$y00 + $var2; $this.$z00 = $this.$z00 + $var3; $this.$x10 = $this.$x10 + $var1; $this.$y10 = $this.$y10 + $var2; $this.$z10 = $this.$z10 + $var3; } function cmmp_AABB_intersects0($this, $var1, $var2, $var3, $var4, $var5, $var6) { return $var4 > $this.$x00 && $var1 < $this.$x10 ? ($var5 > $this.$y00 && $var2 < $this.$y10 ? ($var6 > $this.$z00 && $var3 < $this.$z10 ? 1 : 0) : 0) : 0; } function cmmp_AABB_getSize($this) { return ($this.$x10 - $this.$x00 + $this.$y10 - $this.$y00 + $this.$z10 - $this.$z00) / 3.0; } function cmmp_AABB_copy($this) { return cmmp_AABB__init_0($this.$x00, $this.$y00, $this.$z00, $this.$x10, $this.$y10, $this.$z10); } function cmmp_AABB_clip($this, $var1, $var2) { var $var3, $var4, $var5, $var6, $var7, $var8, $var9; $var3 = cmmm_Vec3D_getXIntersection($var1, $var2, $this.$x00); $var4 = cmmm_Vec3D_getXIntersection($var1, $var2, $this.$x10); $var5 = cmmm_Vec3D_getYIntersection($var1, $var2, $this.$y00); $var6 = cmmm_Vec3D_getYIntersection($var1, $var2, $this.$y10); $var7 = cmmm_Vec3D_getZIntersection($var1, $var2, $this.$z00); $var2 = cmmm_Vec3D_getZIntersection($var1, $var2, $this.$z10); if (!cmmp_AABB_xIntersects($this, $var3)) $var3 = null; if (!cmmp_AABB_xIntersects($this, $var4)) $var4 = null; if (!cmmp_AABB_yIntersects($this, $var5)) $var5 = null; if (!cmmp_AABB_yIntersects($this, $var6)) $var6 = null; if (!cmmp_AABB_zIntersects($this, $var7)) $var7 = null; if (!cmmp_AABB_zIntersects($this, $var2)) $var2 = null; $var8 = null; if ($var3 !== null) $var8 = $var3; if ($var4 !== null && !($var8 !== null && cmmm_Vec3D_distanceSquared($var1, $var4) >= cmmm_Vec3D_distanceSquared($var1, $var8))) $var8 = $var4; if ($var5 !== null && !($var8 !== null && cmmm_Vec3D_distanceSquared($var1, $var5) >= cmmm_Vec3D_distanceSquared($var1, $var8))) $var8 = $var5; if ($var6 !== null && !($var8 !== null && cmmm_Vec3D_distanceSquared($var1, $var6) >= cmmm_Vec3D_distanceSquared($var1, $var8))) $var8 = $var6; if ($var7 !== null && !($var8 !== null && cmmm_Vec3D_distanceSquared($var1, $var7) >= cmmm_Vec3D_distanceSquared($var1, $var8))) $var8 = $var7; if ($var2 !== null && !($var8 !== null && cmmm_Vec3D_distanceSquared($var1, $var2) >= cmmm_Vec3D_distanceSquared($var1, $var8))) $var8 = $var2; if ($var8 === null) return null; $var9 = (-1); if ($var8 === $var3) $var9 = 4; if ($var8 === $var4) $var9 = 5; if ($var8 === $var5) $var9 = 0; if ($var8 === $var6) $var9 = 1; if ($var8 === $var7) $var9 = 2; if ($var8 === $var2) $var9 = 3; return cmm_MovingObjectPosition__init_0(0, 0, 0, $var9, $var8); } function cmmp_AABB_xIntersects($this, $var1) { return $var1 === null ? 0 : $var1.$y3 >= $this.$y00 && $var1.$y3 <= $this.$y10 && $var1.$z3 >= $this.$z00 && $var1.$z3 <= $this.$z10 ? 1 : 0; } function cmmp_AABB_yIntersects($this, $var1) { return $var1 === null ? 0 : $var1.$x3 >= $this.$x00 && $var1.$x3 <= $this.$x10 && $var1.$z3 >= $this.$z00 && $var1.$z3 <= $this.$z10 ? 1 : 0; } function cmmp_AABB_zIntersects($this, $var1) { return $var1 === null ? 0 : $var1.$x3 >= $this.$x00 && $var1.$x3 <= $this.$x10 && $var1.$y3 >= $this.$y00 && $var1.$y3 <= $this.$y10 ? 1 : 0; } function cmml_BlockMap() { var a = this; jl_Object.call(a); a.$width1 = 0; a.$depth0 = 0; a.$height1 = 0; a.$slot = null; a.$slot2 = null; a.$entityGrid = null; a.$all = null; a.$tmp = null; } function cmml_BlockMap_insert($this, $var1) { ju_ArrayList_add($this.$all, $var1); cmml_BlockMap$Slot_add(cmml_BlockMap$Slot_init($this.$slot, $var1.$x, $var1.$y, $var1.$z), $var1); $var1.$xOld = $var1.$x; $var1.$yOld = $var1.$y; $var1.$zOld = $var1.$z; $var1.$blockMap0 = $this; } function cmml_BlockMap_remove($this, $var1) { cmml_BlockMap$Slot_remove(cmml_BlockMap$Slot_init($this.$slot, $var1.$xOld, $var1.$yOld, $var1.$zOld), $var1); ju_ArrayList_remove0($this.$all, $var1); } function cmml_BlockMap_moved($this, $var1) { var $var2, $var3; $var2 = cmml_BlockMap$Slot_init($this.$slot, $var1.$xOld, $var1.$yOld, $var1.$zOld); $var3 = cmml_BlockMap$Slot_init($this.$slot2, $var1.$x, $var1.$y, $var1.$z); if (!jl_Object_equals($var2, $var3)) { cmml_BlockMap$Slot_remove($var2, $var1); cmml_BlockMap$Slot_add($var3, $var1); $var1.$xOld = $var1.$x; $var1.$yOld = $var1.$y; $var1.$zOld = $var1.$z; } } function cmml_BlockMap_getEntities0($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { ju_ArrayList_clear($this.$tmp); return cmml_BlockMap_getEntities1($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $this.$tmp); } function cmml_BlockMap_getEntities1($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8) { var $var9, $var10, $var11, $var12, $var13, $var14, $var15, var$16; $var9 = cmml_BlockMap$Slot_init($this.$slot, $var2, $var3, $var4); $var10 = cmml_BlockMap$Slot_init($this.$slot2, $var5, $var6, $var7); $var11 = $var9.$xSlot - 1 | 0; while ($var11 <= ($var10.$xSlot + 1 | 0)) { $var12 = $var9.$ySlot - 1 | 0; while ($var12 <= ($var10.$ySlot + 1 | 0)) { $var13 = $var9.$zSlot - 1 | 0; while ($var13 <= ($var10.$zSlot + 1 | 0)) { a: { if ($var11 >= 0 && $var12 >= 0 && $var13 >= 0 && $var11 < $this.$width1 && $var12 < $this.$depth0 && $var13 < $this.$height1) { $var14 = $this.$entityGrid.data[$rt_imul($rt_imul($var13, $this.$depth0) + $var12 | 0, $this.$width1) + $var11 | 0]; $var15 = 0; while (true) { if ($var15 >= $var14.$size0) break a; var$16 = ju_ArrayList_get($var14, $var15); if (var$16 !== $var1 && cmm_Entity_intersects(var$16, $var2, $var3, $var4, $var5, $var6, $var7)) ju_ArrayList_add($var8, var$16); $var15 = $var15 + 1 | 0; } } } $var13 = $var13 + 1 | 0; } $var12 = $var12 + 1 | 0; } $var11 = $var11 + 1 | 0; } return $var8; } function cmml_BlockMap_getEntities($this, $var1, $var2) { ju_ArrayList_clear($this.$tmp); return cmml_BlockMap_getEntities1($this, $var1, $var2.$x00, $var2.$y00, $var2.$z00, $var2.$x10, $var2.$y10, $var2.$z10, $this.$tmp); } function cmml_BlockMap_tickAll($this) { var $var1, var$2, var$3, $var6, $var3, $var4, $var5, $var7, $var8; $var1 = 0; while ($var1 < $this.$all.$size0) { var$2 = ju_ArrayList_get($this.$all, $var1); var$2.$tick(); if (var$2.$removed) { var$3 = $this.$all; $var6 = $var1 + (-1) | 0; ju_ArrayList_remove(var$3, $var1); cmml_BlockMap$Slot_remove(cmml_BlockMap$Slot_init($this.$slot, var$2.$xOld, var$2.$yOld, var$2.$zOld), var$2); } else { $var3 = var$2.$xOld / 16.0 | 0; $var4 = var$2.$yOld / 16.0 | 0; $var5 = var$2.$zOld / 16.0 | 0; $var6 = var$2.$x / 16.0 | 0; $var7 = var$2.$y / 16.0 | 0; $var8 = var$2.$z / 16.0 | 0; if ($var3 == $var6 && $var4 == $var7 && $var5 == $var8) $var6 = $var1; else { cmml_BlockMap_moved($this, var$2); $var6 = $var1; } } $var1 = $var6 + 1 | 0; } } function cmml_BlockMap_render($this, $var1, $var2, $var4) { var $var5, $var6, $var5_0, $var7, $var8, $var9, $var8_0, $var10, $var11, var$13, $var13, $var14, $var20, $var10000, $var23, var$19, $var24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var24 = $thread.pop();var$19 = $thread.pop();$var23 = $thread.pop();$var10000 = $thread.pop();$var20 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var8_0 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var5_0 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; a: { while ($var5 < $this.$width1) { $var6 = ($var5 << 4) - 2 | 0; $var5_0 = $var5 + 1 | 0; $var7 = ($var5_0 << 4) + 2 | 0; $var8 = 0; while ($var8 < $this.$depth0) { $var9 = ($var8 << 4) - 2 | 0; $var8_0 = $var8 + 1 | 0; $var10 = ($var8_0 << 4) + 2 | 0; $var11 = 0; while ($var11 < $this.$height1) { b: { var$13 = $this.$entityGrid.data[$rt_imul($rt_imul($var11, $this.$depth0) + $var8 | 0, $this.$width1) + $var5 | 0]; if (ju_ArrayList_size(var$13)) { $var13 = ($var11 << 4) - 2 | 0; $var14 = (($var11 + 1 | 0) << 4) + 2 | 0; if (cmmr_Frustrum_isBoxInFrustrum($var2, $var6, $var9, $var13, $var7, $var10, $var14)) { $var20 = 0; c: { while ($var20 < 6) { if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break c; } $var20 = $var20 + 1 | 0; } $var10000 = 1; } $var23 = 0; while (true) { if ($var23 >= ju_ArrayList_size(var$13)) break b; var$19 = ju_ArrayList_get(var$13, $var23); if (cmm_Entity_shouldRender(var$19, $var1)) { if ($var10000) break a; $var24 = var$19.$bb; if (cmmr_Frustrum_isBoxInFrustrum($var2, $var24.$x00, $var24.$y00, $var24.$z00, $var24.$x10, $var24.$y10, $var24.$z10)) break a; } $var23 = $var23 + 1 | 0; } } } } $var11 = $var11 + 1 | 0; } $var8 = $var8_0; } $var5 = $var5_0; } return; } $ptr = 1; case 1: var$19.$render3($var4); if ($rt_suspending()) { break main; } a: { d: while (true) { $var23 = $var23 + 1 | 0; while ($var23 >= ju_ArrayList_size(var$13)) { while (true) { $var11 = $var11 + 1 | 0; while ($var11 >= $this.$height1) { $var8 = $var8_0; while ($var8 >= $this.$depth0) { $var5 = $var5_0; if ($var5 >= $this.$width1) break d; $var6 = ($var5 << 4) - 2 | 0; $var5_0 = $var5 + 1 | 0; $var7 = ($var5_0 << 4) + 2 | 0; $var8 = 0; } $var9 = ($var8 << 4) - 2 | 0; $var8_0 = $var8 + 1 | 0; $var10 = ($var8_0 << 4) + 2 | 0; $var11 = 0; } var$13 = $this.$entityGrid.data[$rt_imul($rt_imul($var11, $this.$depth0) + $var8 | 0, $this.$width1) + $var5 | 0]; if (!ju_ArrayList_size(var$13)) continue; $var13 = ($var11 << 4) - 2 | 0; $var14 = (($var11 + 1 | 0) << 4) + 2 | 0; if (!cmmr_Frustrum_isBoxInFrustrum($var2, $var6, $var9, $var13, $var7, $var10, $var14)) continue; else break; } $var20 = 0; e: { while ($var20 < 6) { if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var13 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var9 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } if ($var2.$frustrum.data[$var20].data[0] * $var6 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } if ($var2.$frustrum.data[$var20].data[0] * $var7 + $var2.$frustrum.data[$var20].data[1] * $var10 + $var2.$frustrum.data[$var20].data[2] * $var14 + $var2.$frustrum.data[$var20].data[3] <= 0.0) { $var10000 = 0; break e; } $var20 = $var20 + 1 | 0; } $var10000 = 1; } $var23 = 0; } var$19 = ju_ArrayList_get(var$13, $var23); if (!cmm_Entity_shouldRender(var$19, $var1)) continue; if ($var10000) break a; $var24 = var$19.$bb; if (cmmr_Frustrum_isBoxInFrustrum($var2, $var24.$x00, $var24.$y00, $var24.$z00, $var24.$x10, $var24.$y10, $var24.$z10)) break a; } return; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var5, $var6, $var5_0, $var7, $var8, $var9, $var8_0, $var10, $var11, var$13, $var13, $var14, $var20, $var10000, $var23, var$19, $var24, $ptr); } function olo_EaglerAdapterGL30$DisplayList() { var a = this; jl_Object.call(a); a.$id1 = 0; a.$glarray = null; a.$glbuffer = null; a.$shaderMode = 0; a.$listLength = 0; } function jl_ConsoleOutputStreamStderr() { ji_OutputStream.call(this); } function jl_ConsoleOutputStreamStderr_write($this, $b) { $rt_putStderr($b); } function jt_SimpleDatePatternParser() { var a = this; jl_Object.call(a); a.$symbols = null; a.$locale0 = null; a.$elements0 = null; a.$index0 = 0; a.$pattern0 = null; } function jt_SimpleDatePatternParser_getElements($this) { return $this.$elements0; } function jt_SimpleDatePatternParser_parsePattern($this, $pattern) { var $c, $sb, var$4, $rep, var$6; ju_ArrayList_clear($this.$elements0); $this.$pattern0 = $pattern; $this.$index0 = 0; while ($this.$index0 < jl_String_length($pattern)) { a: { b: { c: { $c = jl_String_charAt($pattern, $this.$index0); switch ($c) { case 39: $this.$index0 = $this.$index0 + 1 | 0; $sb = jl_StringBuilder__init_(); while ($this.$index0 < jl_String_length($this.$pattern0)) { var$4 = $this.$pattern0; $rep = $this.$index0; $this.$index0 = $rep + 1 | 0; $c = jl_String_charAt(var$4, $rep); if ($c != 39) jl_StringBuilder_append0($sb, $c); else { if ($this.$index0 >= jl_String_length($this.$pattern0)) break; if (jl_String_charAt($this.$pattern0, $this.$index0) != 39) break; jl_StringBuilder_append0($sb, 39); $this.$index0 = $this.$index0 + 1 | 0; } } ju_ArrayList_add($this.$elements0, jt_DateFormatElement$ConstantText__init_(jl_StringBuilder_toString($sb))); break a; 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 b; case 68: break; case 69: case 99: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$4 = new jt_DateFormatElement$WeekdayText; var$6 = $this.$symbols; $c = $rep > 3 ? 0 : 1; var$4.$weeks = jt_DateFormatSymbols_getWeekdays(var$6); var$4.$shortWeeks = jt_DateFormatSymbols_getShortWeekdays(var$6); var$4.$abbreviated = $c; ju_ArrayList_add($sb, var$4); break a; case 70: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(8, $rep)); break a; case 71: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$4 = new jt_DateFormatElement$EraText; var$4.$eras0 = jt_DateFormatSymbols_getEras($this.$symbols); ju_ArrayList_add($sb, var$4); break a; case 72: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(11, $rep)); break a; case 75: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(10, $rep)); break a; case 76: case 77: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); if ($rep <= 2) { ju_ArrayList_add($this.$elements0, jt_DateFormatElement$NumericMonth__init_($rep)); break a; } ju_ArrayList_add($this.$elements0, jt_DateFormatElement$MonthText__init_($this.$symbols, $rep != 3 ? 0 : 1)); break a; case 83: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(14, $rep)); break a; case 87: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(4, $rep)); break a; case 88: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); if ($rep > 3) { $pattern = new jl_IllegalArgumentException; jl_Exception__init_0($pattern, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(366)), $this.$index0))); $rt_throw($pattern); } $sb = $this.$elements0; var$4 = new jt_DateFormatElement$Iso8601Timezone; var$4.$size6 = $rep; ju_ArrayList_add($sb, var$4); break a; case 89: case 121: break c; case 90: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$4 = new jt_DateFormatElement$Rfc822Timezone; jt_DateFormatElement$BaseTimezone__init_(var$4, $this.$locale0); ju_ArrayList_add($sb, var$4); break a; case 97: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$4 = new jt_DateFormatElement$AmPmText; var$4.$ampms0 = jt_DateFormatSymbols_getAmPmStrings($this.$symbols); ju_ArrayList_add($sb, var$4); break a; case 100: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(5, $rep)); break a; case 104: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$NumericHour__init_(10, $rep, 12)); break a; case 107: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$NumericHour__init_(11, $rep, 24)); break a; case 109: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(12, $rep)); break a; case 115: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(13, $rep)); break a; case 117: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$4 = new jt_DateFormatElement$NumericWeekday; jt_DateFormatElement$Numeric__init_0(var$4, 7, $rep); ju_ArrayList_add($sb, var$4); break a; case 119: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(3, $rep)); break a; case 122: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$4 = new jt_DateFormatElement$GeneralTimezone; jt_DateFormatElement$BaseTimezone__init_(var$4, $this.$locale0); ju_ArrayList_add($sb, var$4); break a; default: break b; } $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(6, $rep)); break a; } $rep = jt_SimpleDatePatternParser_parseRepetitions($this); if ($rep != 2) { ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(1, $rep)); break a; } $sb = $this.$elements0; var$4 = new jt_DateFormatElement$Year; var$4.$field = 1; ju_ArrayList_add($sb, var$4); break a; } if (jt_SimpleDatePatternParser_isControl($this, $c)) jt_SimpleDatePatternParser_parseRepetitions($this); else { $sb = jl_StringBuilder__init_(); while ($this.$index0 < jl_String_length($pattern) && !jt_SimpleDatePatternParser_isControl($this, jl_String_charAt($pattern, $this.$index0))) { $rep = $this.$index0; $this.$index0 = $rep + 1 | 0; jl_StringBuilder_append0($sb, jl_String_charAt($pattern, $rep)); } ju_ArrayList_add($this.$elements0, jt_DateFormatElement$ConstantText__init_(jl_StringBuilder_toString($sb))); } } } } function 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; } function jt_SimpleDatePatternParser_parseRepetitions($this) { var $count, var$2, var$3, $orig; $count = 1; var$2 = $this.$pattern0; var$3 = $this.$index0; $this.$index0 = var$3 + 1 | 0; $orig = jl_String_charAt(var$2, var$3); while ($this.$index0 < jl_String_length($this.$pattern0) && jl_String_charAt($this.$pattern0, $this.$index0) == $orig) { $this.$index0 = $this.$index0 + 1 | 0; $count = $count + 1 | 0; } return $count; } function jt_DateFormatElement() { jl_Object.call(this); } function jl_NegativeArraySizeException() { jl_RuntimeException.call(this); } function jnc_CodingErrorAction() { jl_Object.call(this); this.$name7 = null; } var jnc_CodingErrorAction_IGNORE = null; var jnc_CodingErrorAction_REPLACE = null; var jnc_CodingErrorAction_REPORT = null; function jnc_CodingErrorAction__init_(var_0) { var var_1 = new jnc_CodingErrorAction(); jnc_CodingErrorAction__init_0(var_1, var_0); return var_1; } function jnc_CodingErrorAction__init_0($this, $name) { $this.$name7 = $name; } function jnc_CodingErrorAction__clinit_() { jnc_CodingErrorAction_IGNORE = jnc_CodingErrorAction__init_($rt_s(367)); jnc_CodingErrorAction_REPLACE = jnc_CodingErrorAction__init_($rt_s(368)); jnc_CodingErrorAction_REPORT = jnc_CodingErrorAction__init_($rt_s(369)); } function nPg_FixedFunctionShader() { var a = this; jl_Object.call(a); a.$enable_color = 0; a.$enable_normal = 0; a.$enable_texture0 = 0; a.$enable_lighting = 0; a.$enable_fog = 0; a.$enable_alphatest = 0; a.$enable_unit0 = 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_fogMode = null; a.$u_fogStart = null; a.$u_fogEnd = null; a.$u_fogDensity = null; a.$u_fogPremultiply = null; a.$u_colorUniform = null; a.$u_normalUniform = null; a.$u_alphaTestF = null; a.$u_texCoordV0 = null; a.$u_light0Pos = null; a.$u_light1Pos = null; a.$a_position = 0; a.$a_texture0 = 0; a.$a_color = 0; a.$a_normal = 0; a.$attributeIndexesToEnable = 0; a.$genericArray = null; a.$genericBuffer = null; a.$bufferIsInitialized = 0; a.$modelBuffer = null; a.$projectionBuffer = null; a.$textureBuffer = null; a.$modelMatrix = null; a.$projectionMatrix = null; a.$textureMatrix = null; a.$light0Pos = null; a.$light1Pos = 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.$fogEnd0 = 0.0; a.$fogDensity = 0.0; a.$alphaTestValue = 0.0; a.$tex0x = 0.0; a.$tex0y = 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; } var nPg_FixedFunctionShader_instances = null; var nPg_FixedFunctionShader_shaderSource = null; function nPg_FixedFunctionShader__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) { var var_8 = new nPg_FixedFunctionShader(); nPg_FixedFunctionShader__init_0(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; } function nPg_FixedFunctionShader_instance($i) { var $s, $CC_a_color, $CC_a_normal, $CC_a_texture0, $CC_lighting, $CC_fog, $CC_alphatest, $CC_unit0; $s = nPg_FixedFunctionShader_instances.data[$i]; if ($s === null) { $CC_a_color = 0; $CC_a_normal = 0; $CC_a_texture0 = 0; $CC_lighting = 0; $CC_fog = 0; $CC_alphatest = 0; $CC_unit0 = 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_lighting = 1; if (($i & 16) == 16) $CC_fog = 1; if (($i & 32) == 32) $CC_alphatest = 1; if (($i & 64) == 64) $CC_unit0 = 1; $s = nPg_FixedFunctionShader__init_($i, $CC_a_color, $CC_a_normal, $CC_a_texture0, $CC_lighting, $CC_fog, $CC_alphatest, $CC_unit0); nPg_FixedFunctionShader_instances.data[$i] = $s; } return $s; } function nPg_FixedFunctionShader__init_0($this, $j, $CC_a_color, $CC_a_normal, $CC_a_texture0, $CC_lighting, $CC_fog, $CC_alphatest, $CC_unit0) { var $source, $v, $f; jl_Object__init_0($this); $this.$u_matrix_m = null; $this.$u_matrix_p = null; $this.$u_matrix_t = null; $this.$u_fogColor = null; $this.$u_fogMode = null; $this.$u_fogStart = null; $this.$u_fogEnd = null; $this.$u_fogDensity = null; $this.$u_fogPremultiply = null; $this.$u_colorUniform = null; $this.$u_normalUniform = null; $this.$u_alphaTestF = null; $this.$u_texCoordV0 = null; $this.$u_light0Pos = null; $this.$u_light1Pos = null; $this.$bufferIsInitialized = 0; $this.$modelBuffer = $rt_createFloatArray(16); $this.$projectionBuffer = $rt_createFloatArray(16); $this.$textureBuffer = $rt_createFloatArray(16); $this.$modelMatrix = nPgv_Matrix4f_setZero(nPgv_Matrix4f__init_()); $this.$projectionMatrix = nPgv_Matrix4f_setZero(nPgv_Matrix4f__init_()); $this.$textureMatrix = nPgv_Matrix4f_setZero(nPgv_Matrix4f__init_()); $this.$light0Pos = nPgv_Vector4f__init_(); $this.$light1Pos = nPgv_Vector4f__init_(); $this.$fogMode = 0; $this.$fogColorR = 0.0; $this.$fogColorG = 0.0; $this.$fogColorB = 0.0; $this.$fogColorA = 0.0; $this.$fogStart = 0.0; $this.$fogEnd0 = 0.0; $this.$fogDensity = 0.0; $this.$alphaTestValue = 0.0; $this.$tex0x = 0.0; $this.$tex0y = 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.$enable_color = $CC_a_color; $this.$enable_normal = $CC_a_normal; $this.$enable_texture0 = $CC_a_texture0; $this.$enable_lighting = $CC_lighting; $this.$enable_fog = $CC_fog; $this.$enable_alphatest = $CC_alphatest; $this.$enable_unit0 = $CC_unit0; if (nPg_FixedFunctionShader_shaderSource === null) nPg_FixedFunctionShader_shaderSource = nlea_EaglerAdapterImpl2_fileContents($rt_s(370)); $source = $rt_s(4); if ($this.$enable_color) $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), $rt_s(371))); if ($this.$enable_normal) $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), $rt_s(372))); if ($this.$enable_texture0) $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), $rt_s(373))); if ($this.$enable_lighting) $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), $rt_s(374))); if ($this.$enable_fog) $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), $rt_s(375))); if ($this.$enable_alphatest) $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), $rt_s(376))); if ($this.$enable_unit0) $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), $rt_s(377))); $source = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $source), nPg_FixedFunctionShader_shaderSource)); $v = nlea_EaglerAdapterImpl2__wglCreateShader(35633); nlea_EaglerAdapterImpl2__wglShaderSource($v, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), nlea_EaglerAdapterImpl2__wgetShaderHeader()), $rt_s(378)), $source))); nlea_EaglerAdapterImpl2__wglCompileShader($v); if (!nlea_EaglerAdapterImpl2__wglGetShaderCompiled($v)) { ji_PrintStream_println(jl_System_err(), jl_String_replace(jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(379)), nlea_EaglerAdapterImpl2__wglGetShaderInfoLog($v))), $rt_s(163), $rt_s(380))); $rt_throw(jl_RuntimeException__init_($rt_s(381))); } $f = nlea_EaglerAdapterImpl2__wglCreateShader(35632); nlea_EaglerAdapterImpl2__wglShaderSource($f, jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), nlea_EaglerAdapterImpl2__wgetShaderHeader()), $rt_s(382)), $source))); nlea_EaglerAdapterImpl2__wglCompileShader($f); if (!nlea_EaglerAdapterImpl2__wglGetShaderCompiled($f)) { ji_PrintStream_println(jl_System_err(), jl_String_replace(jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(379)), nlea_EaglerAdapterImpl2__wglGetShaderInfoLog($f))), $rt_s(163), $rt_s(383))); $rt_throw(jl_RuntimeException__init_($rt_s(381))); } $this.$globject = nlea_EaglerAdapterImpl2__wglCreateProgram(); nlea_EaglerAdapterImpl2__wglAttachShader($this.$globject, $v); nlea_EaglerAdapterImpl2__wglAttachShader($this.$globject, $f); $j = 1; $this.$a_position = 0; nlea_EaglerAdapterImpl2__wglBindAttributeLocation($this.$globject, $this.$a_position, $rt_s(384)); if (!$this.$enable_texture0) $this.$a_texture0 = (-1); else { $this.$a_texture0 = $j; nlea_EaglerAdapterImpl2__wglBindAttributeLocation($this.$globject, $this.$a_texture0, $rt_s(385)); $j = 2; } if (!$this.$enable_color) $this.$a_color = (-1); else { $CC_a_color = $j + 1 | 0; $this.$a_color = $j; nlea_EaglerAdapterImpl2__wglBindAttributeLocation($this.$globject, $this.$a_color, $rt_s(386)); $j = $CC_a_color; } if (!$this.$enable_normal) $this.$a_normal = (-1); else { $CC_a_color = $j + 1 | 0; $this.$a_normal = $j; nlea_EaglerAdapterImpl2__wglBindAttributeLocation($this.$globject, $this.$a_normal, $rt_s(387)); $j = $CC_a_color; } $this.$attributeIndexesToEnable = $j; nlea_EaglerAdapterImpl2__wglLinkProgram($this.$globject); nlea_EaglerAdapterImpl2__wglDetachShader($this.$globject, $v); nlea_EaglerAdapterImpl2__wglDetachShader($this.$globject, $f); nlea_EaglerAdapterImpl2__wglDeleteShader($v); nlea_EaglerAdapterImpl2__wglDeleteShader($f); if (!nlea_EaglerAdapterImpl2__wglGetProgramLinked($this.$globject)) { ji_PrintStream_println(jl_System_err(), jl_String_replace(jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(379)), nlea_EaglerAdapterImpl2__wglGetProgramInfoLog($this.$globject))), $rt_s(163), $rt_s(388))); $rt_throw(jl_RuntimeException__init_($rt_s(381))); } nlea_EaglerAdapterImpl2__wglUseProgram($this.$globject); $this.$u_matrix_m = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(389)); $this.$u_matrix_p = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(390)); $this.$u_matrix_t = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(391)); $this.$u_colorUniform = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(392)); if ($this.$enable_lighting) { $this.$u_normalUniform = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(393)); $this.$u_light0Pos = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(394)); $this.$u_light1Pos = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(395)); } if ($this.$enable_fog) { $this.$u_fogColor = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(396)); $this.$u_fogMode = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(397)); $this.$u_fogStart = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(398)); $this.$u_fogEnd = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(399)); $this.$u_fogDensity = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(400)); $this.$u_fogPremultiply = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(401)); } if ($this.$enable_alphatest) $this.$u_alphaTestF = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(402)); nlea_EaglerAdapterImpl2__wglUniform1i(nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(403)), 0); $this.$u_texCoordV0 = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(404)); $this.$genericArray = nlea_EaglerAdapterImpl2__wglCreateVertexArray(); $this.$genericBuffer = nlea_EaglerAdapterImpl2__wglCreateBuffer(); nlea_EaglerAdapterImpl2__wglBindVertexArray($this.$genericArray); nlea_EaglerAdapterImpl2__wglBindBuffer(34962, $this.$genericBuffer); nPg_FixedFunctionShader_setupArrayForProgram($this); } function nPg_FixedFunctionShader_setupArrayForProgram($this) { nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray($this.$a_position); nlea_EaglerAdapterImpl2__wglVertexAttribPointer($this.$a_position, 3, 5126, 0, 28, 0); if ($this.$enable_texture0) { nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray($this.$a_texture0); nlea_EaglerAdapterImpl2__wglVertexAttribPointer($this.$a_texture0, 2, 5126, 0, 28, 12); } if ($this.$enable_color) { nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray($this.$a_color); nlea_EaglerAdapterImpl2__wglVertexAttribPointer($this.$a_color, 4, 5121, 1, 28, 20); } if ($this.$enable_normal) { nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray($this.$a_normal); nlea_EaglerAdapterImpl2__wglVertexAttribPointer($this.$a_normal, 4, 5121, 1, 28, 24); } } function nPg_FixedFunctionShader_useProgram($this) { nlea_EaglerAdapterImpl2__wglUseProgram($this.$globject); } function nPg_FixedFunctionShader_unuseProgram($this) { return; } function nPg_FixedFunctionShader_setModelMatrix($this, $mat) { if (!nPgv_Matrix4f_equals($mat, $this.$modelMatrix)) { nPgv_Matrix4f_store0(nPgv_Matrix4f_load($this.$modelMatrix, $mat), $this.$modelBuffer); nlea_EaglerAdapterImpl2__wglUniformMat4fv($this.$u_matrix_m, $this.$modelBuffer); } } function nPg_FixedFunctionShader_setProjectionMatrix($this, $mat) { if (!nPgv_Matrix4f_equals($mat, $this.$projectionMatrix)) { nPgv_Matrix4f_store0(nPgv_Matrix4f_load($this.$projectionMatrix, $mat), $this.$projectionBuffer); nlea_EaglerAdapterImpl2__wglUniformMat4fv($this.$u_matrix_p, $this.$projectionBuffer); } } function nPg_FixedFunctionShader_setTextureMatrix($this, $mat) { if (!nPgv_Matrix4f_equals($mat, $this.$textureMatrix)) { nPgv_Matrix4f_store0(nPgv_Matrix4f_load($this.$textureMatrix, $mat), $this.$textureBuffer); nlea_EaglerAdapterImpl2__wglUniformMat4fv($this.$u_matrix_t, $this.$textureBuffer); } } function nPg_FixedFunctionShader_setLightPositions($this, $pos0, $pos1) { if (!(nPgv_Vector4f_equals($pos0, $this.$light0Pos) && nPgv_Vector4f_equals($pos1, $this.$light1Pos))) { nPgv_Vector4f_set($this.$light0Pos, $pos0); nPgv_Vector4f_set($this.$light1Pos, $pos1); nlea_EaglerAdapterImpl2__wglUniform3f($this.$u_light0Pos, $this.$light0Pos.$x6, $this.$light0Pos.$y6, $this.$light0Pos.$z7); nlea_EaglerAdapterImpl2__wglUniform3f($this.$u_light1Pos, $this.$light1Pos.$x6, $this.$light1Pos.$y6, $this.$light1Pos.$z7); } } function nPg_FixedFunctionShader_setFogMode($this, $mode) { if ($this.$fogMode != $mode) { $this.$fogMode = $mode; nlea_EaglerAdapterImpl2__wglUniform1i($this.$u_fogMode, $mode % 2 | 0); nlea_EaglerAdapterImpl2__wglUniform1f($this.$u_fogPremultiply, $mode / 2 | 0); } } function nPg_FixedFunctionShader_setFogColor($this, $r, $g, $b, $a) { 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; nlea_EaglerAdapterImpl2__wglUniform4f($this.$u_fogColor, $this.$fogColorR, $this.$fogColorG, $this.$fogColorB, $this.$fogColorA); } } function nPg_FixedFunctionShader_setFogStartEnd($this, $s, $e) { if (!($this.$fogStart === $s && $this.$fogEnd0 === $e)) { $this.$fogStart = $s; $this.$fogEnd0 = $e; nlea_EaglerAdapterImpl2__wglUniform1f($this.$u_fogStart, $this.$fogStart); nlea_EaglerAdapterImpl2__wglUniform1f($this.$u_fogEnd, $this.$fogEnd0); } } function nPg_FixedFunctionShader_setFogDensity($this, $d) { if ($this.$fogDensity !== $d) { $this.$fogDensity = $d; nlea_EaglerAdapterImpl2__wglUniform1f($this.$u_fogDensity, $this.$fogDensity); } } function nPg_FixedFunctionShader_setAlphaTest($this, $limit) { if ($this.$alphaTestValue !== $limit) { $this.$alphaTestValue = $limit; nlea_EaglerAdapterImpl2__wglUniform1f($this.$u_alphaTestF, $this.$alphaTestValue); } } function nPg_FixedFunctionShader_setTex0Coords($this, $x, $y) { if (!($this.$tex0x === $x && $this.$tex0y === $y)) { $this.$tex0x = $x; $this.$tex0y = $y; nlea_EaglerAdapterImpl2__wglUniform2f($this.$u_texCoordV0, $this.$tex0x, $this.$tex0y); } } function nPg_FixedFunctionShader_setColor($this, $r, $g, $b, $a) { 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; nlea_EaglerAdapterImpl2__wglUniform4f($this.$u_colorUniform, $this.$colorUniformR, $this.$colorUniformG, $this.$colorUniformB, $this.$colorUniformA); } } function nPg_FixedFunctionShader_setNormal($this, $x, $y, $z) { if (!($this.$normalUniformX === $x && $this.$normalUniformY === $y && $this.$normalUniformZ === $z)) { $this.$normalUniformX = $x; $this.$normalUniformY = $y; $this.$normalUniformZ = $z; nlea_EaglerAdapterImpl2__wglUniform3f($this.$u_normalUniform, $this.$normalUniformX, $this.$normalUniformY, $this.$normalUniformZ); } } function nPg_FixedFunctionShader__clinit_() { nPg_FixedFunctionShader_instances = $rt_createArray(nPg_FixedFunctionShader, 128); nPg_FixedFunctionShader_shaderSource = null; } function jl_Thread$switchContext$lambda$_18_0() { var a = this; jl_Object.call(a); a.$_02 = null; a.$_10 = null; } function jl_Thread$switchContext$lambda$_18_0_run(var$0) { var var$1, var$2; var$1 = var$0.$_02; var$2 = var$0.$_10; jl_Thread_setCurrentThread(var$1); otpp_AsyncCallbackWrapper_complete(var$2, null); } function ju_Collections$_clinit_$lambda$_61_0() { jl_Object.call(this); } function ju_Collections$_clinit_$lambda$_61_0_compare(var$0, var$1, var$2) { return var$1 !== null ? var$1.$compareTo2(var$2) : -var$2.$compareTo2(var$1); } function ju_Collections$_clinit_$lambda$_61_1() { jl_Object.call(this); } function jn_CharBufferImpl() { jn_CharBuffer.call(this); } function jn_CharBufferImpl_isReadOnly($this) { return $this.$readOnly3; } function jn_CharBufferOverArray() { var a = this; jn_CharBufferImpl.call(a); a.$readOnly3 = 0; a.$start4 = 0; a.$array4 = null; } function jn_CharBufferOverArray__init_(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new jn_CharBufferOverArray(); jn_CharBufferOverArray__init_0(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function jn_CharBufferOverArray__init_0($this, $start, $capacity, $array, $position, $limit, $readOnly) { jn_Buffer__init_0($this, $capacity); $this.$position = $position; $this.$limit = $limit; $this.$start4 = $start; $this.$readOnly3 = $readOnly; $this.$array4 = $array; } function jn_CharBufferOverArray_getChar($this, $index) { return $this.$array4.data[$index + $this.$start4 | 0]; } function jn_CharBufferOverArray_putChar($this, $index, $value) { $this.$array4.data[$index + $this.$start4 | 0] = $value; } function jn_CharBufferOverArray_isArrayPresent($this) { return 1; } function jn_CharBufferOverArray_getArray($this) { return $this.$array4; } function jn_CharBufferOverArray_readOnly($this) { return $this.$readOnly3; } function jnc_CharsetEncoder() { var a = this; jl_Object.call(a); a.$charset1 = null; a.$replacement0 = null; a.$averageBytesPerChar = 0.0; a.$maxBytesPerChar = 0.0; a.$malformedAction0 = null; a.$unmappableAction0 = null; a.$status = 0; } function jnc_CharsetEncoder_onMalformedInput($this, $newAction) { var var$2; if ($newAction !== null) { $this.$malformedAction0 = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, $rt_s(405)); $rt_throw(var$2); } function jnc_CharsetEncoder_implOnMalformedInput($this, $newAction) { return; } function jnc_CharsetEncoder_onUnmappableCharacter($this, $newAction) { var var$2; if ($newAction !== null) { $this.$unmappableAction0 = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, $rt_s(405)); $rt_throw(var$2); } function jnc_CharsetEncoder_implOnUnmappableCharacter($this, $newAction) { return; } function jnc_CharsetEncoder_encode($this, $in, $out, $endOfInput) { var $result, $e, $remaining, $action, $$je; a: { if ($this.$status != 3) { if ($endOfInput) break a; if ($this.$status != 2) break a; } $in = new jl_IllegalStateException; jl_Throwable__init_0($in); $rt_throw($in); } $this.$status = !$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; $rt_throw(jnc_CoderMalfunctionError__init_($e)); } else { throw $$e; } } if (jnc_CoderResult_isUnderflow($result)) { if (!$endOfInput) return $result; $remaining = jn_Buffer_remaining($in); if ($remaining <= 0) return $result; $result = jnc_CoderResult_malformedForLength($remaining); } else if (jnc_CoderResult_isOverflow($result)) break; $action = !jnc_CoderResult_isUnmappable($result) ? $this.$malformedAction0 : $this.$unmappableAction0; b: { if ($action !== jnc_CodingErrorAction_REPLACE) { if ($action === jnc_CodingErrorAction_IGNORE) break b; else return $result; } if (jn_Buffer_remaining($out) < $this.$replacement0.data.length) return jnc_CoderResult_OVERFLOW; jn_ByteBuffer_put0($out, $this.$replacement0); } jn_Buffer_position0($in, $in.$position + jnc_CoderResult_length($result) | 0); } return $result; } function jnc_CharsetEncoder_encode0($this, $in) { var $output, $result; if (!jn_Buffer_remaining($in)) return jn_ByteBuffer_allocate(0); jnc_CharsetEncoder_reset($this); $output = jn_ByteBuffer_allocate(jn_Buffer_remaining($in) * $this.$averageBytesPerChar | 0); while (true) { $result = jnc_CharsetEncoder_encode($this, $in, $output, 0); if ($result === jnc_CoderResult_UNDERFLOW) break; if ($result === jnc_CoderResult_OVERFLOW) { $output = jnc_CharsetEncoder_allocateMore($this, $output); continue; } if (!jnc_CoderResult_isError($result)) continue; jnc_CoderResult_throwException($result); } $in = jnc_CharsetEncoder_encode($this, $in, $output, 1); if (jnc_CoderResult_isError($in)) jnc_CoderResult_throwException($in); while (true) { $in = jnc_CharsetEncoder_flush($this, $output); if (jnc_CoderResult_isUnderflow($in)) break; if (!jnc_CoderResult_isOverflow($in)) continue; $output = jnc_CharsetEncoder_allocateMore($this, $output); } jn_Buffer_flip($output); return $output; } function jnc_CharsetEncoder_allocateMore($this, $buffer) { var $array, $result; $array = $buffer.$array0; $result = jn_ByteBuffer_wrap0(ju_Arrays_copyOf0($array, $array.data.length * 2 | 0)); jn_Buffer_position0($result, $buffer.$position); return $result; } function jnc_CharsetEncoder_flush($this, $out) { var $result; if ($this.$status != 2 && $this.$status != 4) { $out = new jl_IllegalStateException; jl_Throwable__init_0($out); $rt_throw($out); } $result = jnc_CoderResult_UNDERFLOW; if ($result === jnc_CoderResult_UNDERFLOW) $this.$status = 3; return $result; } function jnc_CharsetEncoder_implFlush($this, $out) { return jnc_CoderResult_UNDERFLOW; } function jnc_CharsetEncoder_reset($this) { $this.$status = 0; return $this; } function jnc_CharsetEncoder_implReset($this) { return; } function jnc_CoderResult() { var a = this; jl_Object.call(a); a.$kind = 0; a.$length2 = 0; } var jnc_CoderResult_UNDERFLOW = null; var jnc_CoderResult_OVERFLOW = null; function jnc_CoderResult__init_(var_0, var_1) { var var_2 = new jnc_CoderResult(); jnc_CoderResult__init_0(var_2, var_0, var_1); return var_2; } function jnc_CoderResult__init_0($this, $kind, $length) { $this.$kind = $kind; $this.$length2 = $length; } function jnc_CoderResult_isUnderflow($this) { return $this.$kind ? 0 : 1; } function jnc_CoderResult_isOverflow($this) { return $this.$kind != 1 ? 0 : 1; } function jnc_CoderResult_isError($this) { return !jnc_CoderResult_isMalformed($this) && !jnc_CoderResult_isUnmappable($this) ? 0 : 1; } function jnc_CoderResult_isMalformed($this) { return $this.$kind != 2 ? 0 : 1; } function jnc_CoderResult_isUnmappable($this) { return $this.$kind != 3 ? 0 : 1; } function jnc_CoderResult_length($this) { var var$1; if (jnc_CoderResult_isError($this)) return $this.$length2; var$1 = new jl_UnsupportedOperationException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } function jnc_CoderResult_malformedForLength($length) { return jnc_CoderResult__init_(2, $length); } function jnc_CoderResult_throwException($this) { var var$1, var$2; switch ($this.$kind) { case 0: var$1 = new jnc_BufferUnderflowException; jl_Throwable__init_0(var$1); $rt_throw(var$1); case 1: var$1 = new jnc_BufferOverflowException; jl_Throwable__init_0(var$1); $rt_throw(var$1); case 2: var$1 = new jnc_MalformedInputException; var$2 = $this.$length2; jl_Throwable__init_0(var$1); var$1.$length3 = var$2; $rt_throw(var$1); case 3: var$1 = new jnc_UnmappableCharacterException; var$2 = $this.$length2; jl_Throwable__init_0(var$1); var$1.$length4 = var$2; $rt_throw(var$1); default: } } function jnc_CoderResult__clinit_() { jnc_CoderResult_UNDERFLOW = jnc_CoderResult__init_(0, 0); jnc_CoderResult_OVERFLOW = jnc_CoderResult__init_(1, 0); } function jl_Object$Monitor() { var a = this; jl_Object.call(a); a.$enteringThreads = null; a.$notifyListeners = null; a.$owner = null; a.$count = 0; } function jl_IllegalMonitorStateException() { jl_RuntimeException.call(this); } function ju_Collections$5() { ju_AbstractSet.call(this); } function ju_Collections$6() { ju_AbstractMap.call(this); } function ju_Collections$3() { ju_AbstractList.call(this); } function otp_PlatformQueue() { jl_Object.call(this); } function otp_PlatformQueue_isEmpty$static($this) { return $this.length ? 0 : 1; } function otp_PlatformQueue_remove$static($this) { return $this.shift(); } function jl_Object$monitorExit$lambda$_8_0() { jl_Object.call(this); this.$_00 = null; } function jl_Object$monitorExit$lambda$_8_0_run(var$0) { var var$1, var$2, var$3; var$1 = var$0.$_00; if (!jl_Object_isEmptyMonitor(var$1) && var$1.$monitor.$owner === null) { var$2 = var$1.$monitor; if (var$2.$enteringThreads !== null && !otp_PlatformQueue_isEmpty$static(var$2.$enteringThreads)) { var$1 = var$2.$enteringThreads; var$3 = otp_PlatformQueue_remove$static(var$1); if (var$1 === null) var$2.$enteringThreads = null; jl_Object$monitorEnterWait$lambda$_6_0_run(var$3); } } } function jl_Object$monitorEnterWait$lambda$_6_0() { var a = this; jl_Object.call(a); a.$_0 = null; a.$_1 = null; a.$_2 = 0; a.$_3 = null; } function jl_Object$monitorEnterWait$lambda$_6_0_run(var$0) { var var$1, var$2, var$3, var$4; var$1 = var$0.$_0; var$2 = var$0.$_1; var$3 = var$0.$_2; var$4 = var$0.$_3; jl_Thread_setCurrentThread(var$1); var$2.$monitor.$owner = var$1; var$1 = var$2.$monitor; var$1.$count = var$1.$count + var$3 | 0; otpp_AsyncCallbackWrapper_complete(var$4, null); } function jn_IntBufferOverByteBuffer() { var a = this; jn_IntBufferImpl.call(a); a.$byteByffer = null; a.$readOnly4 = 0; a.$start5 = 0; } function jn_IntBufferOverByteBuffer__init_0(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new jn_IntBufferOverByteBuffer(); jn_IntBufferOverByteBuffer__init_(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function jn_IntBufferOverByteBuffer__init_($this, $start, $capacity, $byteBuffer, $position, $limit, $readOnly) { jn_IntBufferImpl__init_($this, $capacity, $position, $limit); $this.$start5 = $start; $this.$byteByffer = $byteBuffer; $this.$readOnly4 = $readOnly; } function jn_IntBufferOverByteBuffer_readOnly($this) { return $this.$readOnly4; } function jn_IntBufferOverByteBufferLittleEndian() { jn_IntBufferOverByteBuffer.call(this); } function jn_IntBufferOverByteBufferLittleEndian_getElement($this, $index) { var var$2, var$3; var$2 = $this.$byteByffer.$array0.data; var$3 = $this.$start5; $index = $index * 4 | 0; return var$2[var$3 + $index | 0] & 255 | ($this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 1 | 0] & 255) << 8 | ($this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 2 | 0] & 255) << 16 | ($this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 3 | 0] & 255) << 24; } function jn_IntBufferOverByteBufferLittleEndian_putElement($this, $index, $value) { var var$3, var$4; var$3 = $this.$byteByffer.$array0.data; var$4 = $this.$start5; $index = $index * 4 | 0; var$3[var$4 + $index | 0] = $value << 24 >> 24; $this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 1 | 0] = $value >> 8 << 24 >> 24; $this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 2 | 0] = $value >> 16 << 24 >> 24; $this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 3 | 0] = $value >> 24 << 24 >> 24; } function jn_IntBufferOverByteBufferBigEndian() { jn_IntBufferOverByteBuffer.call(this); } function jn_IntBufferOverByteBufferBigEndian_getElement($this, $index) { var var$2, var$3; var$2 = $this.$byteByffer.$array0.data; var$3 = $this.$start5; $index = $index * 4 | 0; return (var$2[var$3 + $index | 0] & 255) << 24 | ($this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 1 | 0] & 255) << 16 | ($this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 2 | 0] & 255) << 8 | $this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 3 | 0] & 255; } function jn_IntBufferOverByteBufferBigEndian_putElement($this, $index, $value) { var var$3, var$4; var$3 = $this.$byteByffer.$array0.data; var$4 = $this.$start5; $index = $index * 4 | 0; var$3[var$4 + $index | 0] = $value >> 24 << 24 >> 24; $this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 1 | 0] = $value >> 16 << 24 >> 24; $this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 2 | 0] = $value >> 8 << 24 >> 24; $this.$byteByffer.$array0.data[($this.$start5 + $index | 0) + 3 | 0] = $value << 24 >> 24; } function jn_FloatBufferOverByteBuffer() { var a = this; jn_FloatBufferImpl.call(a); a.$byteByffer0 = null; a.$readOnly5 = 0; a.$start6 = 0; } function jn_FloatBufferOverByteBuffer__init_0(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new jn_FloatBufferOverByteBuffer(); jn_FloatBufferOverByteBuffer__init_(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function jn_FloatBufferOverByteBuffer__init_($this, $start, $capacity, $byteBuffer, $position, $limit, $readOnly) { jn_FloatBufferImpl__init_($this, $capacity, $position, $limit); $this.$start6 = $start; $this.$byteByffer0 = $byteBuffer; $this.$readOnly5 = $readOnly; } function jn_FloatBufferOverByteBuffer_readOnly($this) { return $this.$readOnly5; } function jn_FloatBufferOverByteBufferLittleEndian() { jn_FloatBufferOverByteBuffer.call(this); } function jn_FloatBufferOverByteBufferLittleEndian_getElement($this, $index) { var var$2, var$3; var$2 = $this.$byteByffer0.$array0.data; var$3 = $this.$start6; $index = $index * 4 | 0; return $rt_intBitsToFloat((var$2[var$3 + $index | 0] & 255) << 24 | ($this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 1 | 0] & 255) << 16 | ($this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 2 | 0] & 255) << 8 | $this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 3 | 0] & 255); } function jn_FloatBufferOverByteBufferLittleEndian_putElement($this, $index, $f) { var $value, var$4, var$5; $value = $rt_floatToIntBits($f); var$4 = $this.$byteByffer0.$array0.data; var$5 = $this.$start6; $index = $index * 4 | 0; var$4[var$5 + $index | 0] = $value >> 24 << 24 >> 24; $this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 1 | 0] = $value >> 16 << 24 >> 24; $this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 2 | 0] = $value >> 8 << 24 >> 24; $this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 3 | 0] = $value << 24 >> 24; } function jn_FloatBufferOverByteBufferBigEndian() { jn_FloatBufferOverByteBuffer.call(this); } function jn_FloatBufferOverByteBufferBigEndian_getElement($this, $index) { var var$2, var$3; var$2 = $this.$byteByffer0.$array0.data; var$3 = $this.$start6; $index = $index * 4 | 0; return $rt_intBitsToFloat(var$2[var$3 + $index | 0] & 255 | ($this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 1 | 0] & 255) << 8 | ($this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 2 | 0] & 255) << 16 | ($this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 3 | 0] & 255) << 24); } function jn_FloatBufferOverByteBufferBigEndian_putElement($this, $index, $f) { var $value, var$4, var$5; $value = $rt_floatToIntBits($f); var$4 = $this.$byteByffer0.$array0.data; var$5 = $this.$start6; $index = $index * 4 | 0; var$4[var$5 + $index | 0] = $value << 24 >> 24; $this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 1 | 0] = $value >> 8 << 24 >> 24; $this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 2 | 0] = $value >> 16 << 24 >> 24; $this.$byteByffer0.$array0.data[($this.$start6 + $index | 0) + 3 | 0] = $value >> 24 << 24 >> 24; } function cmmlg_LevelGenerator() { var a = this; jl_Object.call(a); a.$progressBar1 = null; a.$width6 = 0; a.$depth2 = 0; a.$height6 = 0; a.$random0 = null; a.$blocks1 = null; a.$waterLevel0 = 0; a.$h0 = null; } function cmmlg_LevelGenerator_generate($this, $var1, $var2, $var3, $var4) { var $var6, $var7, $var8, var$8, $var10, $var11, $var49, $var51, $var12, $var15, $var21, $var13, $var46, $var48, $var54, $var53, $var24, $var60, $var63, $var57, var$25, var$26, $var25, $var26, $var27, $var28, $var23, $var55, $var59, $var56, $var61, $var64, $var29, $var30, $var31, $var32, var$41, $var43, $var50, $var33, $var34, $var35, $var36, $var37, $var38, $var39, $var40, $var66, $var58, $var12_0, $var63_0, $var62, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var62 = $thread.pop();$var63_0 = $thread.pop();$var12_0 = $thread.pop();$var58 = $thread.pop();$var66 = $thread.pop();$var40 = $thread.pop();$var39 = $thread.pop();$var38 = $thread.pop();$var37 = $thread.pop();$var36 = $thread.pop();$var35 = $thread.pop();$var34 = $thread.pop();$var33 = $thread.pop();$var50 = $thread.pop();$var43 = $thread.pop();var$41 = $thread.pop();$var32 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var29 = $thread.pop();$var64 = $thread.pop();$var61 = $thread.pop();$var56 = $thread.pop();$var59 = $thread.pop();$var55 = $thread.pop();$var23 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();$var25 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var57 = $thread.pop();$var63 = $thread.pop();$var60 = $thread.pop();$var24 = $thread.pop();$var53 = $thread.pop();$var54 = $thread.pop();$var48 = $thread.pop();$var46 = $thread.pop();$var13 = $thread.pop();$var21 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();$var51 = $thread.pop();$var49 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: cmm_ProgressBarDisplay_setTitle($this.$progressBar1, $rt_s(406)); $this.$width6 = $var2; $this.$depth2 = $var3; $this.$height6 = 64; $this.$waterLevel0 = 32; $this.$blocks1 = $rt_createByteArray($rt_imul($var2, $var3) << 6); $var6 = $this.$progressBar1; $var7 = $rt_s(407); $ptr = 1; case 1: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var6 = cmmlgn_CombinedNoise__init_(cmmlgn_OctaveNoise__init_($this.$random0, 8), cmmlgn_OctaveNoise__init_($this.$random0, 8)); $var7 = cmmlgn_CombinedNoise__init_(cmmlgn_OctaveNoise__init_($this.$random0, 8), cmmlgn_OctaveNoise__init_($this.$random0, 8)); $var8 = cmmlgn_OctaveNoise__init_($this.$random0, 6); var$8 = $rt_createIntArray($rt_imul($this.$width6, $this.$depth2)).data; $var10 = 1.2999999523162842; $var11 = 0; if ($var11 >= $this.$width6) { $var6 = $this.$progressBar1; $var7 = $rt_s(408); $ptr = 2; continue main; } $var4 = ($var11 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; $ptr = 3; continue main; case 2: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var6 = cmmlgn_CombinedNoise__init_(cmmlgn_OctaveNoise__init_($this.$random0, 8), cmmlgn_OctaveNoise__init_($this.$random0, 8)); $var49 = cmmlgn_CombinedNoise__init_(cmmlgn_OctaveNoise__init_($this.$random0, 8), cmmlgn_OctaveNoise__init_($this.$random0, 8)); $var51 = 0; if ($var51 >= $this.$width6) { $var6 = $this.$progressBar1; $var7 = $rt_s(409); $ptr = 4; continue main; } $var4 = ($var51 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; $ptr = 5; continue main; case 3: cmmlg_LevelGenerator_setProgress($this, $var4); if ($rt_suspending()) { break main; } $var12 = 0; while ($var12 < $this.$depth2) { $var15 = $var11 * $var10; $var21 = $var12 * $var10; $var13 = cmmlgn_CombinedNoise_compute($var6, $var15, $var21) / 6.0 + (-4.0); $var15 = cmmlgn_CombinedNoise_compute($var7, $var15, $var21) / 5.0 + 10.0 + (-4.0); if (cmmlgn_OctaveNoise_compute($var8, $var11, $var12) / 8.0 > 0.0) $var15 = $var13; $var13 = jl_Math_max0($var13, $var15) / 2.0; if ($var13 < 0.0) $var13 = $var13 * 0.8; var$8[$var11 + $rt_imul($var12, $this.$width6) | 0] = $var13 | 0; $var12 = $var12 + 1 | 0; } $var11 = $var11 + 1 | 0; if ($var11 >= $this.$width6) { $var6 = $this.$progressBar1; $var7 = $rt_s(408); $ptr = 2; continue main; } $var4 = ($var11 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; continue main; case 4: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var46 = $this.$width6; $var48 = $this.$depth2; $var54 = $this.$height6; $var53 = cmmlgn_OctaveNoise__init_($this.$random0, 8); $var24 = 0; $var60 = $var54 - 2 | 0; if ($var24 >= $var46) { $var6 = $this.$progressBar1; $var7 = $rt_s(410); $ptr = 6; continue main; } $var4 = ($var24 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; $ptr = 7; continue main; case 5: cmmlg_LevelGenerator_setProgress($this, $var4); if ($rt_suspending()) { break main; } $var54 = 0; while ($var54 < $this.$depth2) { $var13 = $var51 << 1; $var15 = $var54 << 1; $var21 = cmmlgn_CombinedNoise_compute($var6, $var13, $var15) / 8.0; $var12 = cmmlgn_CombinedNoise_compute($var49, $var13, $var15) <= 0.0 ? 0 : 1; if ($var21 > 2.0) var$8[$var51 + $rt_imul($var54, $this.$width6) | 0] = (((var$8[$var51 + $rt_imul($var54, $this.$width6) | 0] - $var12 | 0) / 2 | 0) << 1) + $var12 | 0; $var54 = $var54 + 1 | 0; } $var51 = $var51 + 1 | 0; if ($var51 >= $this.$width6) { $var6 = $this.$progressBar1; $var7 = $rt_s(409); $ptr = 4; continue main; } $var4 = ($var51 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; continue main; case 6: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var4 = $this.$width6; $var24 = $this.$depth2; $var54 = $this.$height6; $var63 = (($rt_imul($rt_imul($var4, $var24), $var54) / 256 | 0) / 64 | 0) << 1; $var57 = 0; $var11 = $var63 - 1 | 0; $var10 = $var4; var$25 = $var54; var$26 = $var24; if ($var57 < $var63) { $var4 = (($var57 * 100 | 0) / $var11 | 0) / 4 | 0; $ptr = 13; continue main; } cmmlt_Block_$callClinit(); $var4 = cmmlt_Block_COAL_ORE.$id; $var24 = 90; $var54 = 1; $var63 = 4; $ptr = 8; continue main; case 7: cmmlg_LevelGenerator_setProgress($this, $var4); if ($rt_suspending()) { break main; } $var4 = 0; while ($var4 < $var48) { $var12 = (cmmlgn_OctaveNoise_compute($var53, $var24, $var4) / 24.0 | 0) - 4 | 0; $var63 = $var24 + $rt_imul($var4, $var46) | 0; $var57 = var$8[$var63] + $this.$waterLevel0 | 0; $var25 = $var57 + $var12 | 0; var$8[$var63] = jl_Math_max($var57, $var25); if (var$8[$var63] > $var60) var$8[$var63] = $var60; if (var$8[$var63] < 1) var$8[$var63] = 1; $var26 = 0; while ($var26 < $var54) { $var27 = $rt_imul($rt_imul($var26, $this.$depth2) + $var4 | 0, $this.$width6) + $var24 | 0; $var28 = 0; if ($var26 <= $var57) { cmmlt_Block_$callClinit(); $var28 = cmmlt_Block_DIRT.$id; } if ($var26 <= $var25) { cmmlt_Block_$callClinit(); $var28 = cmmlt_Block_STONE.$id; } if (!$var26) { cmmlt_Block_$callClinit(); $var28 = cmmlt_Block_LAVA.$id; } $this.$blocks1.data[$var27] = $var28 << 24 >> 24; $var26 = $var26 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var24 = $var24 + 1 | 0; if ($var24 >= $var46) { $var6 = $this.$progressBar1; $var7 = $rt_s(410); $ptr = 6; continue main; } $var4 = ($var24 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; continue main; case 8: cmmlg_LevelGenerator_populateOre($this, $var4, $var24, $var54, $var63); if ($rt_suspending()) { break main; } $var4 = cmmlt_Block_IRON_ORE.$id; $var24 = 70; $var54 = 2; $var63 = 4; $ptr = 9; case 9: cmmlg_LevelGenerator_populateOre($this, $var4, $var24, $var54, $var63); if ($rt_suspending()) { break main; } $var4 = cmmlt_Block_GOLD_ORE.$id; $var24 = 50; $var54 = 3; $var63 = 4; $ptr = 10; case 10: cmmlg_LevelGenerator_populateOre($this, $var4, $var24, $var54, $var63); if ($rt_suspending()) { break main; } $var6 = $this.$progressBar1; $var7 = $rt_s(411); $ptr = 11; case 11: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var4 = cmmlt_Block_STATIONARY_WATER.$id; $var24 = 0; $ptr = 12; case 12: cmmlg_LevelGenerator_setProgress($this, $var24); if ($rt_suspending()) { break main; } $var24 = 0; while ($var24 < $this.$width6) { cmmlg_LevelGenerator_flood($this, $var24, ($this.$height6 / 2 | 0) - 1 | 0, 0, 0, $var4); cmmlg_LevelGenerator_flood($this, $var24, ($this.$height6 / 2 | 0) - 1 | 0, $this.$depth2 - 1 | 0, 0, $var4); $var24 = $var24 + 1 | 0; } $var24 = 0; while ($var24 < $this.$depth2) { cmmlg_LevelGenerator_flood($this, 0, ($this.$height6 / 2 | 0) - 1 | 0, $var24, 0, $var4); cmmlg_LevelGenerator_flood($this, $this.$width6 - 1 | 0, ($this.$height6 / 2 | 0) - 1 | 0, $var24, 0, $var4); $var24 = $var24 + 1 | 0; } $var24 = $rt_imul($this.$width6, $this.$depth2) / 8000 | 0; $var54 = 0; $var57 = $var24 - 1 | 0; while ($var54 < $var24) { if (!($var54 % 100 | 0)) { $var63 = ($var54 * 100 | 0) / $var57 | 0; $ptr = 16; continue main; } $var63 = ju_Random_nextInt($this.$random0, $this.$width6); $var12 = ($this.$waterLevel0 - 1 | 0) - ju_Random_nextInt($this.$random0, 2) | 0; $var23 = ju_Random_nextInt($this.$random0, $this.$depth2); if (!$this.$blocks1.data[$rt_imul($rt_imul($var12, $this.$depth2) + $var23 | 0, $this.$width6) + $var63 | 0]) cmmlg_LevelGenerator_flood($this, $var63, $var12, $var23, 0, $var4); $var54 = $var54 + 1 | 0; } $var4 = 100; $ptr = 14; continue main; case 13: cmmlg_LevelGenerator_setProgress($this, $var4); if ($rt_suspending()) { break main; } $var55 = ju_Random_nextFloat($this.$random0) * $var10; $var59 = ju_Random_nextFloat($this.$random0) * var$25; $var56 = ju_Random_nextFloat($this.$random0) * var$26; $var26 = (ju_Random_nextFloat($this.$random0) + ju_Random_nextFloat($this.$random0)) * 200.0 | 0; $var61 = ju_Random_nextFloat($this.$random0) * 3.1415927410125732 * 2.0; $var64 = 0.0; $var29 = ju_Random_nextFloat($this.$random0) * 3.1415927410125732 * 2.0; $var30 = 0.0; $var31 = ju_Random_nextFloat($this.$random0) * ju_Random_nextFloat($this.$random0); $var32 = 0; var$41 = $var26; while ($var32 < $var26) { a: { $var55 = $var55 + nPm_MathHelper_sin($var61) * nPm_MathHelper_cos($var29); $var56 = $var56 + nPm_MathHelper_cos($var61) * nPm_MathHelper_cos($var29); $var59 = $var59 + nPm_MathHelper_sin($var29); $var61 = $var61 + $var64 * 0.20000000298023224; $var64 = $var64 * 0.8999999761581421 + ju_Random_nextFloat($this.$random0) - ju_Random_nextFloat($this.$random0); $var29 = ($var29 + $var30 * 0.5) * 0.5; $var30 = $var30 * 0.75 + ju_Random_nextFloat($this.$random0) - ju_Random_nextFloat($this.$random0); if (ju_Random_nextFloat($this.$random0) >= 0.25) { $var43 = $var55 + (ju_Random_nextFloat($this.$random0) * 4.0 - 2.0) * 0.20000000298023224; $var50 = $var59 + (ju_Random_nextFloat($this.$random0) * 4.0 - 2.0) * 0.20000000298023224; $var33 = $var56 + (ju_Random_nextFloat($this.$random0) * 4.0 - 2.0) * 0.20000000298023224; $var34 = 1.2000000476837158 + (($this.$height6 - $var50) / $this.$height6 * 3.5 + 1.0) * $var31; $var34 = nPm_MathHelper_sin($var32 * 3.1415927410125732 / var$41) * $var34; $var35 = $var43 - $var34 | 0; $var54 = $var43 + $var34 | 0; $var12 = $var50 - $var34 | 0; $var60 = $var50 + $var34 | 0; $var51 = $var33 - $var34 | 0; $var27 = $var33 + $var34 | 0; $var34 = $var34 * $var34; while (true) { if ($var35 > $var54) break a; $var36 = $var12; while ($var36 <= $var60) { $var37 = $var51; while ($var37 <= $var27) { b: { $var38 = $var35 - $var43; $var39 = $var36 - $var50; $var40 = $var37 - $var33; if ($var38 * $var38 + $var39 * $var39 * 2.0 + $var40 * $var40 >= $var34) break b; if ($var35 < 1) break b; if ($var36 < 1) break b; if ($var37 < 1) break b; if ($var35 >= ($this.$width6 - 1 | 0)) break b; if ($var36 >= ($this.$height6 - 1 | 0)) break b; if ($var37 >= ($this.$depth2 - 1 | 0)) break b; $var66 = $rt_imul($rt_imul($var36, $this.$depth2) + $var37 | 0, $this.$width6) + $var35 | 0; $var4 = $this.$blocks1.data[$var66]; cmmlt_Block_$callClinit(); if ($var4 != cmmlt_Block_STONE.$id) break b; $this.$blocks1.data[$var66] = 0; } $var37 = $var37 + 1 | 0; } $var36 = $var36 + 1 | 0; } $var35 = $var35 + 1 | 0; } } } $var32 = $var32 + 1 | 0; } $var57 = $var57 + 1 | 0; if ($var57 < $var63) { $var4 = (($var57 * 100 | 0) / $var11 | 0) / 4 | 0; continue main; } cmmlt_Block_$callClinit(); $var4 = cmmlt_Block_COAL_ORE.$id; $var24 = 90; $var54 = 1; $var63 = 4; $ptr = 8; continue main; case 14: cmmlg_LevelGenerator_setProgress($this, $var4); if ($rt_suspending()) { break main; } $var6 = $this.$progressBar1; $var7 = $rt_s(412); $ptr = 15; case 15: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var4 = $rt_imul($rt_imul($this.$width6, $this.$depth2), $this.$height6) / 20000 | 0; $var24 = 0; $var63 = $var4 - 1 | 0; while ($var24 < $var4) { if (!($var24 % 100 | 0)) { $var54 = ($var24 * 100 | 0) / $var63 | 0; $ptr = 19; continue main; } $var54 = ju_Random_nextInt($this.$random0, $this.$width6); $var57 = ju_Random_nextFloat($this.$random0) * ju_Random_nextFloat($this.$random0) * ($this.$waterLevel0 - 3 | 0) | 0; $var11 = ju_Random_nextInt($this.$random0, $this.$depth2); if (!$this.$blocks1.data[$rt_imul($rt_imul($var57, $this.$depth2) + $var11 | 0, $this.$width6) + $var54 | 0]) cmmlg_LevelGenerator_flood($this, $var54, $var57, $var11, 0, cmmlt_Block_STATIONARY_LAVA.$id); $var24 = $var24 + 1 | 0; } $var4 = 100; $ptr = 17; continue main; case 16: cmmlg_LevelGenerator_setProgress($this, $var63); if ($rt_suspending()) { break main; } while (true) { $var63 = ju_Random_nextInt($this.$random0, $this.$width6); $var12 = ($this.$waterLevel0 - 1 | 0) - ju_Random_nextInt($this.$random0, 2) | 0; $var23 = ju_Random_nextInt($this.$random0, $this.$depth2); if (!$this.$blocks1.data[$rt_imul($rt_imul($var12, $this.$depth2) + $var23 | 0, $this.$width6) + $var63 | 0]) cmmlg_LevelGenerator_flood($this, $var63, $var12, $var23, 0, $var4); $var54 = $var54 + 1 | 0; if ($var54 >= $var24) break; if ($var54 % 100 | 0) continue; else { $var63 = ($var54 * 100 | 0) / $var57 | 0; continue main; } } $var4 = 100; $ptr = 14; continue main; case 17: cmmlg_LevelGenerator_setProgress($this, $var4); if ($rt_suspending()) { break main; } $var6 = $this.$progressBar1; $var7 = $rt_s(413); $ptr = 18; case 18: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var4 = $this.$width6; $var24 = $this.$depth2; $var54 = $this.$height6; $var7 = cmmlgn_OctaveNoise__init_($this.$random0, 8); $var58 = cmmlgn_OctaveNoise__init_($this.$random0, 8); $var46 = 0; if ($var46 >= $var4) { $var6 = $this.$progressBar1; $var7 = $rt_s(414); $ptr = 20; continue main; } $var63 = ($var46 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; $ptr = 21; continue main; case 19: cmmlg_LevelGenerator_setProgress($this, $var54); if ($rt_suspending()) { break main; } while (true) { $var54 = ju_Random_nextInt($this.$random0, $this.$width6); $var57 = ju_Random_nextFloat($this.$random0) * ju_Random_nextFloat($this.$random0) * ($this.$waterLevel0 - 3 | 0) | 0; $var11 = ju_Random_nextInt($this.$random0, $this.$depth2); if (!$this.$blocks1.data[$rt_imul($rt_imul($var57, $this.$depth2) + $var11 | 0, $this.$width6) + $var54 | 0]) cmmlg_LevelGenerator_flood($this, $var54, $var57, $var11, 0, cmmlt_Block_STATIONARY_LAVA.$id); $var24 = $var24 + 1 | 0; if ($var24 >= $var4) break; if ($var24 % 100 | 0) continue; else { $var54 = ($var24 * 100 | 0) / $var63 | 0; continue main; } } $var4 = 100; $ptr = 17; continue main; case 20: cmm_ProgressBarDisplay_setText($var6, $var7); if ($rt_suspending()) { break main; } $var4 = $this.$width6; $var24 = $rt_imul($this.$width6, $this.$depth2) / 3000 | 0; $var54 = 0; $var11 = $var24 - 1 | 0; if ($var54 < $var24) { $var63 = ju_Random_nextInt($this.$random0, 2); $var57 = ($var54 * 50 | 0) / $var11 | 0; $ptr = 22; continue main; } $var4 = $this.$width6; $var24 = $rt_imul($rt_imul($this.$width6, $this.$depth2), $this.$height6) / 2000 | 0; $var54 = 0; $var11 = $var24 - 1 | 0; if ($var54 < $var24) { $var63 = ju_Random_nextInt($this.$random0, 2); $var57 = (($var54 * 50 | 0) / $var11 | 0) + 50 | 0; $ptr = 23; continue main; } $var6 = cmml_Level__init_(); $var6.$waterLevel = $this.$waterLevel0; cmml_Level_setData($var6, $var2, 64, $var3, $this.$blocks1); $var6.$createTime = jl_System_currentTimeMillis(); $var6.$creator = $var1; $var6.$name5 = $rt_s(415); $var2 = $this.$width6; $var3 = $rt_imul($this.$width6, $this.$depth2) / 4000 | 0; $var4 = 0; $var54 = $var3 - 1 | 0; if ($var4 >= $var3) return $var6; $var24 = (($var4 * 50 | 0) / $var54 | 0) + 50 | 0; $ptr = 24; continue main; case 21: cmmlg_LevelGenerator_setProgress($this, $var63); if ($rt_suspending()) { break main; } $var12 = 0; while ($var12 < $var24) { $var13 = $var46; $var15 = $var12; $var60 = cmmlgn_OctaveNoise_compute($var7, $var13, $var15) <= 8.0 ? 0 : 1; $var57 = cmmlgn_OctaveNoise_compute($var58, $var13, $var15) <= 12.0 ? 0 : 1; $var51 = var$8[$var46 + $rt_imul($var12, $var4) | 0]; $var27 = $rt_imul($rt_imul($var51, $this.$depth2) + $var12 | 0, $this.$width6) + $var46 | 0; $var11 = $this.$blocks1.data[$rt_imul($rt_imul($var51 + 1 | 0, $this.$depth2) + $var12 | 0, $this.$width6) + $var46 | 0] & 255; if (!($var11 != cmmlt_Block_WATER.$id && $var11 != cmmlt_Block_STATIONARY_WATER.$id) && $var51 <= (($var54 / 2 | 0) - 1 | 0) && $var57) $this.$blocks1.data[$var27] = cmmlt_Block_GRAVEL.$id << 24 >> 24; if (!$var11) { $var63 = cmmlt_Block_GRASS.$id; if ($var51 <= (($var54 / 2 | 0) - 1 | 0) && $var60) $var63 = cmmlt_Block_SAND.$id; $this.$blocks1.data[$var27] = $var63 << 24 >> 24; } $var12 = $var12 + 1 | 0; } $var46 = $var46 + 1 | 0; if ($var46 >= $var4) { $var6 = $this.$progressBar1; $var7 = $rt_s(414); $ptr = 20; continue main; } $var63 = ($var46 * 100 | 0) / ($this.$width6 - 1 | 0) | 0; continue main; case 22: cmmlg_LevelGenerator_setProgress($this, $var57); if ($rt_suspending()) { break main; } $var57 = ju_Random_nextInt($this.$random0, $this.$width6); $var12 = ju_Random_nextInt($this.$random0, $this.$depth2); $var12_0 = 0; $var46 = $rt_compare($var63, 2); $var25 = $rt_compare($var63, 1); while ($var12_0 < 10) { $var26 = 0; $var60 = $var57; $var51 = $var12; while ($var26 < 5) { c: { $var60 = $var60 + (ju_Random_nextInt($this.$random0, 6) - ju_Random_nextInt($this.$random0, 6) | 0) | 0; $var51 = $var51 + (ju_Random_nextInt($this.$random0, 6) - ju_Random_nextInt($this.$random0, 6) | 0) | 0; if ($var46 >= 0 && ju_Random_nextInt($this.$random0, 4)) break c; if ($var60 < 0) break c; if ($var51 < 0) break c; if ($var60 >= $this.$width6) break c; if ($var51 >= $this.$depth2) break c; $var27 = var$8[$var60 + $rt_imul($var51, $var4) | 0] + 1 | 0; if ($this.$blocks1.data[$rt_imul($rt_imul($var27, $this.$depth2) + $var51 | 0, $this.$width6) + $var60 | 0] & 255) break c; $var63_0 = $rt_imul($rt_imul($var27, $this.$depth2) + $var51 | 0, $this.$width6) + $var60 | 0; if (($this.$blocks1.data[$rt_imul($rt_imul($var27 - 1 | 0, $this.$depth2) + $var51 | 0, $this.$width6) + $var60 | 0] & 255) != cmmlt_Block_GRASS.$id) break c; if (!$var63) { $this.$blocks1.data[$var63_0] = cmmlt_Block_DANDELION.$id << 24 >> 24; break c; } if ($var25) break c; $this.$blocks1.data[$var63_0] = cmmlt_Block_ROSE.$id << 24 >> 24; } $var26 = $var26 + 1 | 0; } $var12_0 = $var12_0 + 1 | 0; } $var54 = $var54 + 1 | 0; if ($var54 < $var24) { $var63 = ju_Random_nextInt($this.$random0, 2); $var57 = ($var54 * 50 | 0) / $var11 | 0; continue main; } $var4 = $this.$width6; $var24 = $rt_imul($rt_imul($this.$width6, $this.$depth2), $this.$height6) / 2000 | 0; $var54 = 0; $var11 = $var24 - 1 | 0; if ($var54 < $var24) { $var63 = ju_Random_nextInt($this.$random0, 2); $var57 = (($var54 * 50 | 0) / $var11 | 0) + 50 | 0; $ptr = 23; continue main; } $var6 = cmml_Level__init_(); $var6.$waterLevel = $this.$waterLevel0; cmml_Level_setData($var6, $var2, 64, $var3, $this.$blocks1); $var6.$createTime = jl_System_currentTimeMillis(); $var6.$creator = $var1; $var6.$name5 = $rt_s(415); $var2 = $this.$width6; $var3 = $rt_imul($this.$width6, $this.$depth2) / 4000 | 0; $var4 = 0; $var54 = $var3 - 1 | 0; if ($var4 >= $var3) return $var6; $var24 = (($var4 * 50 | 0) / $var54 | 0) + 50 | 0; $ptr = 24; continue main; case 23: cmmlg_LevelGenerator_setProgress($this, $var57); if ($rt_suspending()) { break main; } $var57 = ju_Random_nextInt($this.$random0, $this.$width6); $var12 = ju_Random_nextInt($this.$random0, $this.$height6); $var23 = ju_Random_nextInt($this.$random0, $this.$depth2); $var25 = 0; $var26 = $rt_compare($var63, 2); $var28 = $rt_compare($var63, 1); while ($var25 < 20) { $var63_0 = 0; $var60 = $var57; $var51 = $var12; $var27 = $var23; while ($var63_0 < 5) { c: { $var60 = $var60 + (ju_Random_nextInt($this.$random0, 6) - ju_Random_nextInt($this.$random0, 6) | 0) | 0; $var51 = $var51 + (ju_Random_nextInt($this.$random0, 2) - ju_Random_nextInt($this.$random0, 2) | 0) | 0; $var27 = $var27 + (ju_Random_nextInt($this.$random0, 6) - ju_Random_nextInt($this.$random0, 6) | 0) | 0; if ($var26 >= 0 && ju_Random_nextInt($this.$random0, 4)) break c; if ($var60 < 0) break c; if ($var27 < 0) break c; if ($var51 < 1) break c; if ($var60 >= $this.$width6) break c; if ($var27 >= $this.$depth2) break c; if ($var51 >= (var$8[$var60 + $rt_imul($var27, $var4) | 0] - 1 | 0)) break c; if ($this.$blocks1.data[$rt_imul($rt_imul($var51, $this.$depth2) + $var27 | 0, $this.$width6) + $var60 | 0] & 255) break c; $var62 = $rt_imul($rt_imul($var51, $this.$depth2) + $var27 | 0, $this.$width6) + $var60 | 0; if (($this.$blocks1.data[$rt_imul($rt_imul($var51 - 1 | 0, $this.$depth2) + $var27 | 0, $this.$width6) + $var60 | 0] & 255) != cmmlt_Block_STONE.$id) break c; if (!$var63) { $this.$blocks1.data[$var62] = cmmlt_Block_BROWN_MUSHROOM.$id << 24 >> 24; break c; } if ($var28) break c; $this.$blocks1.data[$var62] = cmmlt_Block_RED_MUSHROOM.$id << 24 >> 24; } $var63_0 = $var63_0 + 1 | 0; } $var25 = $var25 + 1 | 0; } $var54 = $var54 + 1 | 0; if ($var54 < $var24) { $var63 = ju_Random_nextInt($this.$random0, 2); $var57 = (($var54 * 50 | 0) / $var11 | 0) + 50 | 0; continue main; } $var6 = cmml_Level__init_(); $var6.$waterLevel = $this.$waterLevel0; cmml_Level_setData($var6, $var2, 64, $var3, $this.$blocks1); $var6.$createTime = jl_System_currentTimeMillis(); $var6.$creator = $var1; $var6.$name5 = $rt_s(415); $var2 = $this.$width6; $var3 = $rt_imul($this.$width6, $this.$depth2) / 4000 | 0; $var4 = 0; $var54 = $var3 - 1 | 0; if ($var4 >= $var3) return $var6; $var24 = (($var4 * 50 | 0) / $var54 | 0) + 50 | 0; $ptr = 24; case 24: cmmlg_LevelGenerator_setProgress($this, $var24); if ($rt_suspending()) { break main; } $var24 = ju_Random_nextInt($this.$random0, $this.$width6); $var63 = ju_Random_nextInt($this.$random0, $this.$depth2); $var12 = 0; while ($var12 < 20) { $var26 = 0; $var57 = $var24; $var11 = $var63; while ($var26 < 20) { $var57 = $var57 + (ju_Random_nextInt($this.$random0, 6) - ju_Random_nextInt($this.$random0, 6) | 0) | 0; $var11 = $var11 + (ju_Random_nextInt($this.$random0, 6) - ju_Random_nextInt($this.$random0, 6) | 0) | 0; if ($var57 >= 0 && $var11 >= 0 && $var57 < $this.$width6 && $var11 < $this.$depth2) { $var27 = var$8[$var57 + $rt_imul($var11, $var2) | 0] + 1 | 0; if (!ju_Random_nextInt($this.$random0, 4)) cmml_Level_maybeGrowTree($var6, $var57, $var27, $var11); } $var26 = $var26 + 1 | 0; } $var12 = $var12 + 1 | 0; } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) return $var6; $var24 = (($var4 * 50 | 0) / $var54 | 0) + 50 | 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var6, $var7, $var8, var$8, $var10, $var11, $var49, $var51, $var12, $var15, $var21, $var13, $var46, $var48, $var54, $var53, $var24, $var60, $var63, $var57, var$25, var$26, $var25, $var26, $var27, $var28, $var23, $var55, $var59, $var56, $var61, $var64, $var29, $var30, $var31, $var32, var$41, $var43, $var50, $var33, $var34, $var35, $var36, $var37, $var38, $var39, $var40, $var66, $var58, $var12_0, $var63_0, $var62, $ptr); } function cmmlg_LevelGenerator_populateOre($this, $var1, $var2, $var3, $var4) { var $var25, $var5, $var6, $var7, $var8, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17, var$25, $var18, $var19, $var20, $var21, $var22, $var23, $var24, $var26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();var$25 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $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();$var6 = $thread.pop();$var5 = $thread.pop();$var25 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var25 = $var1 << 24 >> 24; $var1 = $this.$width6; $var5 = $this.$depth2; $var6 = $this.$height6; $var7 = $rt_imul(($rt_imul($rt_imul($var1, $var5), $var6) / 256 | 0) / 64 | 0, $var2) / 100 | 0; $var8 = 0; var$10 = $var7 - 1 | 0; var$11 = $var3 * 100 | 0; var$12 = $var1; var$13 = $var6; var$14 = $var5; var$15 = $var2; if ($var8 >= $var7) return; $var1 = ((($var8 * 100 | 0) / var$10 | 0) / 4 | 0) + (var$11 / 4 | 0) | 0; $ptr = 1; case 1: cmmlg_LevelGenerator_setProgress($this, $var1); if ($rt_suspending()) { break main; } $var9 = ju_Random_nextFloat($this.$random0) * var$12; $var10 = ju_Random_nextFloat($this.$random0) * var$13; $var11 = ju_Random_nextFloat($this.$random0) * var$14; $var12 = (ju_Random_nextFloat($this.$random0) + ju_Random_nextFloat($this.$random0)) * 75.0 * var$15 / 100.0 | 0; $var13 = ju_Random_nextFloat($this.$random0) * 3.1415927410125732 * 2.0; $var14 = 0.0; $var15 = ju_Random_nextFloat($this.$random0) * 3.1415927410125732 * 2.0; $var16 = 0.0; $var17 = 0; var$25 = $var12; while ($var17 < $var12) { $var9 = $var9 + nPm_MathHelper_sin($var13) * nPm_MathHelper_cos($var15); $var11 = $var11 + nPm_MathHelper_cos($var13) * nPm_MathHelper_cos($var15); $var10 = $var10 + nPm_MathHelper_sin($var15); $var13 = $var13 + $var14 * 0.20000000298023224; $var14 = $var14 * 0.8999999761581421 + ju_Random_nextFloat($this.$random0) - ju_Random_nextFloat($this.$random0); $var15 = ($var15 + $var16 * 0.5) * 0.5; $var16 = $var16 * 0.8999999761581421 + ju_Random_nextFloat($this.$random0) - ju_Random_nextFloat($this.$random0); $var18 = nPm_MathHelper_sin($var17 * 3.1415927410125732 / var$25) * var$15 / 100.0 + 1.0; $var19 = $var9 - $var18 | 0; $var2 = $var9 + $var18 | 0; $var3 = $var10 - $var18 | 0; $var4 = $var10 + $var18 | 0; $var5 = $var11 - $var18 | 0; $var6 = $var11 + $var18 | 0; $var18 = $var18 * $var18; while ($var19 <= $var2) { $var20 = $var3; while ($var20 <= $var4) { $var21 = $var5; while ($var21 <= $var6) { a: { $var22 = $var19 - $var9; $var23 = $var20 - $var10; $var24 = $var21 - $var11; if ($var22 * $var22 + $var23 * $var23 * 2.0 + $var24 * $var24 >= $var18) break a; if ($var19 < 1) break a; if ($var20 < 1) break a; if ($var21 < 1) break a; if ($var19 >= ($this.$width6 - 1 | 0)) break a; if ($var20 >= ($this.$height6 - 1 | 0)) break a; if ($var21 >= ($this.$depth2 - 1 | 0)) break a; $var26 = $rt_imul($rt_imul($var20, $this.$depth2) + $var21 | 0, $this.$width6) + $var19 | 0; $var1 = $this.$blocks1.data[$var26]; cmmlt_Block_$callClinit(); if ($var1 != cmmlt_Block_STONE.$id) break a; $this.$blocks1.data[$var26] = $var25; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var17 = $var17 + 1 | 0; } $var8 = $var8 + 1 | 0; if ($var8 >= $var7) return; $var1 = ((($var8 * 100 | 0) / var$10 | 0) / 4 | 0) + (var$11 / 4 | 0) | 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var25, $var5, $var6, $var7, $var8, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17, var$25, $var18, $var19, $var20, $var21, $var22, $var23, $var24, $var26, $ptr); } function cmmlg_LevelGenerator_setProgress($this, $var1) { var var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$progressBar1; $ptr = 1; case 1: cmm_ProgressBarDisplay_setProgress(var$2, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function cmmlg_LevelGenerator_flood($this, $var1, $var2, $var3, $var4, $var5) { var $var20, $var21, $var7, $var8, $var9, $var10, $var22, $var11, var$14, var$15, $var13, $var15, var$18, $var16, $var17, $var23, $var24, $var18, var$24, $var25; $var20 = $var5 << 24 >> 24; $var21 = ju_ArrayList__init_(); $var7 = 1; $var8 = 1; while (1 << $var7 < $this.$width6) { $var7 = $var7 + 1 | 0; } while (1 << $var8 < $this.$depth2) { $var8 = $var8 + 1 | 0; } $var9 = $this.$depth2 - 1 | 0; $var10 = $this.$width6 - 1 | 0; $var22 = 1; $this.$h0.data[0] = ((($var2 << $var8) + $var3 | 0) << $var7) + $var1 | 0; $var11 = Long_ZERO; $var5 = $rt_imul($this.$width6, $this.$depth2); while ($var22 > 0) { $var22 = $var22 + (-1) | 0; var$14 = $this.$h0.data[$var22]; if (!$var22 && $var21.$size0 > 0) { $this.$h0 = ju_ArrayList_remove($var21, $var21.$size0 - 1 | 0); $var22 = $this.$h0.data.length; } var$15 = var$14 >> $var7 & $var9; $var2 = $var7 + $var8 | 0; $var13 = var$14 >> $var2; $var15 = var$14 & $var10; var$18 = $var15; a: { while (var$18 > 0) { if ($this.$blocks1.data[var$14 - 1 | 0]) break a; var$18 = var$18 + (-1) | 0; var$14 = var$14 + (-1) | 0; } } while ($var15 < $this.$width6 && !$this.$blocks1.data[(var$14 + $var15 | 0) - var$18 | 0]) { $var15 = $var15 + 1 | 0; } $var16 = var$14 >> $var7 & $var9; $var17 = var$14 >> $var2; if (!($var16 == var$15 && $var17 == $var13)) ji_PrintStream_println(jl_System_out(), $rt_s(416)); $var23 = 0; $var24 = 0; $var18 = 0; $var11 = Long_add($var11, Long_fromInt($var15 - var$18 | 0)); while (var$18 < $var15) { $this.$blocks1.data[var$14] = $var20; if (var$15 <= 0) $var4 = $var23; else { $var4 = $this.$blocks1.data[var$14 - $this.$width6 | 0] ? 0 : 1; if ($var4 && !$var23) { if ($var22 != $this.$h0.data.length) $var1 = $var22; else { ju_ArrayList_add($var21, $this.$h0); $this.$h0 = $rt_createIntArray(1048576); $var1 = 0; } var$24 = $this.$h0.data; $var22 = $var1 + 1 | 0; var$24[$var1] = var$14 - $this.$width6 | 0; } } if (var$15 >= ($this.$depth2 - 1 | 0)) $var16 = $var24; else { $var16 = $this.$blocks1.data[var$14 + $this.$width6 | 0] ? 0 : 1; if ($var16 && !$var24) { if ($var22 != $this.$h0.data.length) $var1 = $var22; else { ju_ArrayList_add($var21, $this.$h0); $this.$h0 = $rt_createIntArray(1048576); $var1 = 0; } var$24 = $this.$h0.data; $var22 = $var1 + 1 | 0; var$24[$var1] = var$14 + $this.$width6 | 0; } } if ($var13 > 0) { var$24 = $this.$blocks1.data; $var24 = var$14 - $var5 | 0; $var25 = var$24[$var24]; cmmlt_Block_$callClinit(); if (!($var20 != cmmlt_Block_LAVA.$id && $var20 != cmmlt_Block_STATIONARY_LAVA.$id) && !($var25 != cmmlt_Block_WATER.$id && $var25 != cmmlt_Block_STATIONARY_WATER.$id)) $this.$blocks1.data[$var24] = cmmlt_Block_STONE.$id << 24 >> 24; $var3 = $var25 ? 0 : 1; if ($var3 && !$var18) { if ($var22 != $this.$h0.data.length) $var1 = $var22; else { ju_ArrayList_add($var21, $this.$h0); $this.$h0 = $rt_createIntArray(1048576); $var1 = 0; } var$24 = $this.$h0.data; $var22 = $var1 + 1 | 0; var$24[$var1] = $var24; } $var18 = $var3; } var$14 = var$14 + 1 | 0; var$18 = var$18 + 1 | 0; $var23 = $var4; $var24 = $var16; } } return $var11; } function cmmp_InputHandler() { var a = this; jl_Object.call(a); a.$xxa = 0.0; a.$jumping = 0.0; a.$yya = 0; } function cmmp_InputHandlerImpl() { var a = this; cmmp_InputHandler.call(a); a.$keyStates = null; a.$settings = null; } function cmmp_InputHandlerImpl_updateMovement($this) { $this.$xxa = 0.0; $this.$jumping = 0.0; if ($this.$keyStates.data[0]) $this.$jumping = $this.$jumping - 1.0; if ($this.$keyStates.data[1]) $this.$jumping = $this.$jumping + 1.0; if ($this.$keyStates.data[2]) $this.$xxa = $this.$xxa - 1.0; if ($this.$keyStates.data[3]) $this.$xxa = $this.$xxa + 1.0; $this.$yya = $this.$keyStates.data[4]; } function cmmp_InputHandlerImpl_resetKeys($this) { var $i; $i = 0; while ($i < $this.$keyStates.data.length) { $this.$keyStates.data[$i] = 0; $i = $i + 1 | 0; } } function cmmp_InputHandlerImpl_setKeyState($this, $key, $state) { var $index; $index = (-1); if ($key == $this.$settings.$forwardKey.$key) $index = 0; if ($key == $this.$settings.$backKey.$key) $index = 1; if ($key == $this.$settings.$leftKey.$key) $index = 2; if ($key == $this.$settings.$rightKey.$key) $index = 3; if ($key == $this.$settings.$jumpKey.$key) $index = 4; if ($index >= 0) $this.$keyStates.data[$index] = $state; } function cmmg_PauseScreen() { cmmg_GuiScreen.call(this); } function cmmg_PauseScreen_onOpen($this) { ju_ArrayList_clear($this.$buttons); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(0, ($this.$width4 / 2 | 0) - 100 | 0, $this.$height4 / 4 | 0, $rt_s(417))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(1, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 24 | 0, $rt_s(418))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(2, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 48 | 0, $rt_s(419))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(3, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 72 | 0, $rt_s(420))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(4, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 120 | 0, $rt_s(421))); if ($this.$minecraft5.$session === null) { ju_ArrayList_get($this.$buttons, 2).$active = 0; ju_ArrayList_get($this.$buttons, 3).$active = 0; } } function cmmg_PauseScreen_onButtonClick($this, $var1) { if (!$var1.$id3) cmm_Minecraft_setCurrentScreen($this.$minecraft5, cmmg_OptionsScreen__init_($this, cmm_Minecraft_settings)); if ($var1.$id3 == 1) cmm_Minecraft_setCurrentScreen($this.$minecraft5, cmmg_GenerateLevelScreen__init_($this)); if ($var1.$id3 == 4) { cmm_Minecraft_setCurrentScreen($this.$minecraft5, null); cmm_Minecraft_grabMouse($this.$minecraft5); } } function cmmg_PauseScreen_render($this, $var1, $var2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: cmmg_Screen_drawFadingBox(0, 0, $this.$width4, $this.$height4, 1610941696, (-1607454624)); cmmg_Screen_drawCenteredString($this.$fontRenderer0, $rt_s(422), $this.$width4 / 2 | 0, 40, 16777215); $ptr = 1; case 1: cmmg_GuiScreen_render($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function cmmg_ChatInputScreen() { cmmg_GuiScreen.call(this); } function cmmr_ChunkDistanceComparator() { jl_Object.call(this); this.$player2 = null; } function cmmr_ChunkDistanceComparator_compare($this, $o1, $o2) { var $chunk, $other, var$5; $chunk = $o1; $other = $o2; var$5 = $rt_compare(cmmr_Chunk_distanceSquared($chunk, $this.$player2), cmmr_Chunk_distanceSquared($other, $this.$player2)); if (!var$5) return 0; if (var$5 <= 0) return 1; return (-1); } function nPg_ModeBuffer() { jl_Object.call(this); this.$buffer4 = null; } function nPg_ModeBuffer_checkSize($this, $count) { var $newBuffer; while (jn_Buffer_remaining($this.$buffer4) < $count) { $newBuffer = nle_GLAllocation_createDirectFloatBuffer($this.$buffer4.$capacity << 1); jn_Buffer_flip($this.$buffer4); jn_FloatBuffer_put($newBuffer, $this.$buffer4); $this.$buffer4 = $newBuffer; } } function nPg_ModeBuffer_glVertex3f($this, $x, $y, $z) { nPg_ModeBuffer_checkSize($this, 3); jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put($this.$buffer4, $x), $y), $z); } function nPg_ModeBuffer_glTexCoord2f($this, $s, $t) { nPg_ModeBuffer_checkSize($this, 2); jn_FloatBufferImpl_put(jn_FloatBufferImpl_put($this.$buffer4, $s), $t); } function cmmg_GameOverScreen() { cmmg_GuiScreen.call(this); } function cmmg_GameOverScreen_onOpen($this) { ju_ArrayList_clear($this.$buttons); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(1, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 72 | 0, $rt_s(418))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(2, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 96 | 0, $rt_s(420))); if ($this.$minecraft5.$session === null) ju_ArrayList_get($this.$buttons, 2).$active = 0; } function cmmg_GameOverScreen_onButtonClick($this, $var1) { if (!$var1.$id3) cmm_Minecraft_setCurrentScreen($this.$minecraft5, cmmg_OptionsScreen__init_($this, cmm_Minecraft_settings)); if ($var1.$id3 == 1) cmm_Minecraft_setCurrentScreen($this.$minecraft5, cmmg_GenerateLevelScreen__init_($this)); } function cmmg_GameOverScreen_render($this, $var1, $var2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: cmmg_Screen_drawFadingBox(0, 0, $this.$width4, $this.$height4, 1615855616, (-1602211792)); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glScalef(2.0, 2.0, 2.0); cmmg_Screen_drawCenteredString($this.$fontRenderer0, $rt_s(423), ($this.$width4 / 2 | 0) / 2 | 0, 30, 16777215); olo_EaglerAdapterGL30_glPopMatrix(); cmmg_Screen_drawCenteredString($this.$fontRenderer0, jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(352)), $this.$minecraft5.$player.$score)), $this.$width4 / 2 | 0, 100, 16777215); $ptr = 1; case 1: cmmg_GuiScreen_render($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function nle_BaseNCodec$Context() { var a = this; jl_Object.call(a); a.$ibitWorkArea = 0; a.$buffer3 = null; a.$pos1 = 0; a.$readPos = 0; a.$eof0 = 0; a.$modulus = 0; } function otji_IDBObjectStoreParameters() { jl_Object.call(this); } function otji_IDBObjectStoreParameters_create$js_body$_1() { return { }; } function otji_IDBCursorSource() { } function nleat_IDBObjectStorePatched() { jl_Object.call(this); } function cjj_InfBlocks() { var a = this; jl_Object.call(a); a.$mode0 = 0; a.$left = 0; a.$table = 0; a.$index1 = 0; a.$blens = null; a.$bb0 = 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.$last = 0; a.$bitk = 0; a.$bitb = 0; a.$hufts = null; a.$window = null; a.$end0 = 0; a.$read2 = 0; a.$write4 = 0; a.$check = 0; a.$inftree = null; a.$z11 = null; } var cjj_InfBlocks_inflate_mask = null; var cjj_InfBlocks_border = null; function cjj_InfBlocks_reset($this) { $this.$mode0 = 0; $this.$bitk = 0; $this.$bitb = 0; $this.$write4 = 0; $this.$read2 = 0; if ($this.$check) $this.$z11.$adler.$reset(); } function cjj_InfBlocks_proc($this, $r) { var $p, $n, $b, $k, $q, $m, var$8, var$9, var$10, $i, $t, $c, var$14, $j, $i_0; $p = $this.$z11.$next_in_index; $n = $this.$z11.$avail_in; $b = $this.$bitb; $k = $this.$bitk; $q = $this.$write4; $m = $q >= $this.$read2 ? $this.$end0 - $q | 0 : ($this.$read2 - $q | 0) - 1 | 0; a: { b: { c: { d: { e: while (true) { f: { g: { h: { i: { j: { switch ($this.$mode0) { case 2: break f; case 9: $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $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; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$9 = $this.$z11.$next_in.data; var$10 = $p + 1 | 0; $b = $b | (var$9[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$10; } var$10 = $b & 16383; $this.$table = var$10; $i = var$10 & 31; if ($i > 29) break d; var$10 = var$10 >> 5 & 31; if (var$10 > 29) break d; k: { var$10 = (258 + $i | 0) + var$10 | 0; if (!($this.$blens !== null && $this.$blens.data.length >= var$10)) $this.$blens = $rt_createIntArray(var$10); else { $i = 0; while (true) { if ($i >= var$10) break k; $this.$blens.data[$i] = 0; $i = $i + 1 | 0; } } } $b = $b >>> 14; $k = $k + (-14) | 0; $this.$index1 = 0; $this.$mode0 = 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; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, (-2)); } while ($k < 32) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$9 = $this.$z11.$next_in.data; var$10 = $p + 1 | 0; $b = $b | (var$9[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$10; } var$10 = ($b ^ (-1)) >>> 16 & 65535; $i = $b & 65535; if (var$10 != $i) { $this.$mode0 = 9; $this.$z11.$msg = $rt_s(424); $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$left = $i; $k = 0; $this.$mode0 = $this.$left ? 2 : !$this.$last ? 0 : 7; $b = $k; continue e; } while ($k < 3) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$9 = $this.$z11.$next_in.data; var$10 = $p + 1 | 0; $b = $b | (var$9[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$10; } l: { $t = $b & 7; $this.$last = $t & 1; switch ($t >>> 1) { case 0: var$10 = $b >>> 3; $i = $k + (-3) | 0; $c = $i & 7; $b = var$10 >>> $c; $k = $i - $c | 0; $this.$mode0 = 1; break l; case 1: cjj_InfTree_inflate_trees_fixed($this.$bl, $this.$bd, $this.$tl, $this.$td, $this.$z11); cjj_InfCodes_init($this.$codes, $this.$bl.data[0], $this.$bd.data[0], $this.$tl.data[0], 0, $this.$td.data[0], 0); $b = $b >>> 3; $k = $k + (-3) | 0; $this.$mode0 = 6; break l; case 2: $b = $b >>> 3; $k = $k + (-3) | 0; $this.$mode0 = 3; break l; case 3: $r = $b >>> 3; var$10 = $k + (-3) | 0; $this.$mode0 = 9; $this.$z11.$msg = $rt_s(425); $this.$bitb = $r; $this.$bitk = var$10; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); default: } } continue e; } while ($this.$index1 < (4 + ($this.$table >>> 10) | 0)) { while ($k < 3) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$9 = $this.$z11.$next_in.data; var$10 = $p + 1 | 0; $b = $b | (var$9[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$10; } var$14 = $this.$blens.data; var$9 = cjj_InfBlocks_border.data; var$10 = $this.$index1; $this.$index1 = var$10 + 1 | 0; var$14[var$9[var$10]] = $b & 7; $b = $b >>> 3; $k = $k + (-3) | 0; } while ($this.$index1 < 19) { var$14 = $this.$blens.data; var$9 = cjj_InfBlocks_border.data; var$10 = $this.$index1; $this.$index1 = var$10 + 1 | 0; var$14[var$9[var$10]] = 0; } $this.$bb0.data[0] = 7; var$10 = cjj_InfTree_inflate_trees_bits($this.$inftree, $this.$blens, $this.$bb0, $this.$tb, $this.$hufts, $this.$z11); if (var$10) { if (var$10 == (-3)) { $this.$blens = null; $this.$mode0 = 9; } $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, var$10); } $this.$index1 = 0; $this.$mode0 = 5; } while (true) { var$10 = $this.$table; if ($this.$index1 >= ((258 + (var$10 & 31) | 0) + (var$10 >> 5 & 31) | 0)) break; var$10 = $this.$bb0.data[0]; while ($k < var$10) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$9 = $this.$z11.$next_in.data; $i = $p + 1 | 0; $b = $b | (var$9[$p] & 255) << $k; $k = $k + 8 | 0; $p = $i; } var$10 = $this.$hufts.data[(($this.$tb.data[0] + ($b & cjj_InfBlocks_inflate_mask.data[var$10]) | 0) * 3 | 0) + 1 | 0]; $c = $this.$hufts.data[(($this.$tb.data[0] + ($b & cjj_InfBlocks_inflate_mask.data[var$10]) | 0) * 3 | 0) + 2 | 0]; $i = $rt_compare($c, 16); if ($i < 0) { $b = $b >>> var$10; $k = $k - var$10 | 0; var$9 = $this.$blens.data; var$10 = $this.$index1; $this.$index1 = var$10 + 1 | 0; var$9[var$10] = $c; } else { $j = $rt_compare($c, 18); $i_0 = !$j ? 7 : $c - 14 | 0; $j = $j ? 3 : 11; while ($k < (var$10 + $i_0 | 0)) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$9 = $this.$z11.$next_in.data; $c = $p + 1 | 0; $b = $b | (var$9[$p] & 255) << $k; $k = $k + 8 | 0; $p = $c; } $c = $b >>> var$10; var$10 = $k - var$10 | 0; $j = $j + ($c & cjj_InfBlocks_inflate_mask.data[$i_0]) | 0; $b = $c >>> $i_0; $k = var$10 - $i_0 | 0; $m = $this.$index1; $i_0 = $this.$table; if (($m + $j | 0) > ((258 + ($i_0 & 31) | 0) + ($i_0 >> 5 & 31) | 0)) break c; if (!$i && $m < 1) break c; var$10 = $i ? 0 : $this.$blens.data[$m - 1 | 0]; while (true) { var$9 = $this.$blens.data; $i = $m + 1 | 0; var$9[$m] = var$10; $j = $j + (-1) | 0; if (!$j) break; $m = $i; } $this.$index1 = $i; } } $this.$tb.data[0] = (-1); $this.$bl.data[0] = 9; $this.$bd.data[0] = 6; var$10 = $this.$table; var$10 = cjj_InfTree_inflate_trees_dynamic($this.$inftree, 257 + (var$10 & 31) | 0, 1 + (var$10 >> 5 & 31) | 0, $this.$blens, $this.$bl, $this.$bd, $this.$tli, $this.$tdi, $this.$hufts, $this.$z11); if (var$10) { if (var$10 == (-3)) { $this.$blens = null; $this.$mode0 = 9; } $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, var$10); } cjj_InfCodes_init($this.$codes, $this.$bl.data[0], $this.$bd.data[0], $this.$hufts, $this.$tli.data[0], $this.$hufts, $this.$tdi.data[0]); $this.$mode0 = 6; } $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; $r = cjj_InfCodes_proc($this.$codes, $r); if ($r != 1) break e; $r = 0; cjj_InfCodes_free($this.$codes, $this.$z11); $p = $this.$z11.$next_in_index; $n = $this.$z11.$avail_in; $b = $this.$bitb; $k = $this.$bitk; $q = $this.$write4; $m = $q >= $this.$read2 ? $this.$end0 - $q | 0 : ($this.$read2 - $q | 0) - 1 | 0; if ($this.$last) { $this.$mode0 = 7; break b; } $this.$mode0 = 0; continue e; } if (!$n) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } if (!$m) { if ($q == $this.$end0 && $this.$read2) { $q = 0; $m = $q >= $this.$read2 ? $this.$end0 - $q | 0 : ($this.$read2 - $q | 0) - 1 | 0; } if (!$m) { $this.$write4 = $q; $r = cjj_InfBlocks_inflate_flush($this, $r); $q = $this.$write4; $m = $q >= $this.$read2 ? $this.$end0 - $q | 0 : ($this.$read2 - $q | 0) - 1 | 0; if ($q == $this.$end0 && $this.$read2) { $q = 0; $m = $q >= $this.$read2 ? $this.$end0 - $q | 0 : ($this.$read2 - $q | 0) - 1 | 0; } if (!$m) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } } } $r = 0; var$10 = $this.$left; if (var$10 > $n) var$10 = $n; if (var$10 > $m) var$10 = $m; jl_System_arraycopy($this.$z11.$next_in, $p, $this.$window, $q, var$10); $p = $p + var$10 | 0; $n = $n - var$10 | 0; $q = $q + var$10 | 0; $m = $m - var$10 | 0; var$10 = $this.$left - var$10 | 0; $this.$left = var$10; if (var$10) continue; $this.$mode0 = !$this.$last ? 0 : 7; } return cjj_InfBlocks_inflate_flush($this, $r); } $this.$mode0 = 9; $this.$z11.$msg = $rt_s(426); $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$blens = null; $this.$mode0 = 9; $this.$z11.$msg = $rt_s(427); $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$write4 = $q; $r = cjj_InfBlocks_inflate_flush($this, $r); $q = $this.$write4; if ($this.$read2 != $this.$write4) { $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $this.$mode0 = 8; } $this.$bitb = $b; $this.$bitk = $k; $this.$z11.$avail_in = $n; var$8 = $this.$z11; var$8.$total_in = Long_add(var$8.$total_in, Long_fromInt($p - $this.$z11.$next_in_index | 0)); $this.$z11.$next_in_index = $p; $this.$write4 = $q; return cjj_InfBlocks_inflate_flush($this, 1); } function cjj_InfBlocks_free($this) { cjj_InfBlocks_reset($this); $this.$window = null; $this.$hufts = null; } function cjj_InfBlocks_inflate_flush($this, $r) { var $p, $q, $n, var$5, var$6; $p = $this.$z11.$next_out_index; $q = $this.$read2; $n = ($q > $this.$write4 ? $this.$end0 : $this.$write4) - $q | 0; if ($n > $this.$z11.$avail_out) $n = $this.$z11.$avail_out; if ($n && $r == (-5)) $r = 0; var$5 = $this.$z11; var$5.$avail_out = var$5.$avail_out - $n | 0; var$5 = $this.$z11; var$5.$total_out = Long_add(var$5.$total_out, Long_fromInt($n)); if ($this.$check && $n > 0) $this.$z11.$adler.$update1($this.$window, $q, $n); jl_System_arraycopy($this.$window, $q, $this.$z11.$next_out, $p, $n); $p = $p + $n | 0; var$6 = $q + $n | 0; if (var$6 == $this.$end0) { if ($this.$write4 == $this.$end0) $this.$write4 = 0; $q = $this.$write4 - 0 | 0; if ($q > $this.$z11.$avail_out) $q = $this.$z11.$avail_out; if ($q && $r == (-5)) $r = 0; var$5 = $this.$z11; var$5.$avail_out = var$5.$avail_out - $q | 0; var$5 = $this.$z11; var$5.$total_out = Long_add(var$5.$total_out, Long_fromInt($q)); if ($this.$check && $q > 0) $this.$z11.$adler.$update1($this.$window, 0, $q); jl_System_arraycopy($this.$window, 0, $this.$z11.$next_out, $p, $q); $p = $p + $q | 0; var$6 = 0 + $q | 0; } $this.$z11.$next_out_index = $p; $this.$read2 = var$6; return $r; } function cjj_InfBlocks__clinit_() { var var$1, var$2; var$1 = $rt_createIntArray(17); var$2 = var$1.data; var$2[0] = 0; var$2[1] = 1; var$2[2] = 3; var$2[3] = 7; var$2[4] = 15; var$2[5] = 31; var$2[6] = 63; var$2[7] = 127; var$2[8] = 255; var$2[9] = 511; var$2[10] = 1023; var$2[11] = 2047; var$2[12] = 4095; var$2[13] = 8191; var$2[14] = 16383; var$2[15] = 32767; var$2[16] = 65535; cjj_InfBlocks_inflate_mask = var$1; var$1 = $rt_createIntArray(19); var$2 = var$1.data; var$2[0] = 16; var$2[1] = 17; var$2[2] = 18; var$2[3] = 0; var$2[4] = 8; var$2[5] = 7; var$2[6] = 9; var$2[7] = 6; var$2[8] = 10; var$2[9] = 5; var$2[10] = 11; var$2[11] = 4; var$2[12] = 12; var$2[13] = 3; var$2[14] = 13; var$2[15] = 2; var$2[16] = 14; var$2[17] = 1; var$2[18] = 15; cjj_InfBlocks_border = var$1; } function cmml_MobSpawner() { jl_Object.call(this); this.$level1 = null; } function cmml_MobSpawner__init_(var_0) { var var_1 = new cmml_MobSpawner(); cmml_MobSpawner__init_0(var_1, var_0); return var_1; } function cmml_MobSpawner__init_0($this, $var1) { $this.$level1 = $var1; } function cmml_MobSpawner_spawn($this, $var1, $var2, $var3) { var $var4, $var5, var$6, $var6, $var7, $var15, $var16, $var8, $var9, $var10, var$14, var$15, var$16, var$17, var$18, $var14, var$20, var$21, var$22, $var17, $var18, $var19, $var20, $var21, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var14 = $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();$var9 = $thread.pop();$var8 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$6 = $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: $var4 = 0; $var5 = 0; var$6 = $var1 - 1 | 0; while ($var5 < $var1) { if ($var3 !== null) { $var6 = ($var5 * 100 | 0) / var$6 | 0; $ptr = 1; continue main; } $var6 = ju_Random_nextInt($this.$level1.$random1, 6); $var7 = ju_Random_nextInt($this.$level1.$random1, $this.$level1.$width0); $var15 = ju_Random_nextFloat($this.$level1.$random1); $var16 = ju_Random_nextFloat($this.$level1.$random1); if ($var15 < $var16) $var16 = $var15; $var8 = $var16 * $this.$level1.$depth | 0; $var9 = ju_Random_nextInt($this.$level1.$random1, $this.$level1.$height0); if (!cmml_Level_isSolidTile($this.$level1, $var7, $var8, $var9) && cmml_Level_getLiquid($this.$level1, $var7, $var8, $var9) === cmmll_LiquidType_NOT_LIQUID && !(cmml_Level_isLit($this.$level1, $var7, $var8, $var9) && ju_Random_nextInt($this.$level1.$random1, 5))) { $var10 = 0; var$14 = $rt_compare($var6, 1); var$15 = $rt_compare($var6, 2); var$16 = $rt_compare($var6, 3); var$17 = $rt_compare($var6, 4); var$18 = $rt_compare($var6, 5); while ($var10 < 3) { $var14 = 0; var$20 = $var7; var$21 = $var8; var$22 = $var9; while ($var14 < 3) { a: { var$20 = var$20 + (ju_Random_nextInt($this.$level1.$random1, 6) - ju_Random_nextInt($this.$level1.$random1, 6) | 0) | 0; var$21 = var$21 + (ju_Random_nextInt($this.$level1.$random1, 1) - ju_Random_nextInt($this.$level1.$random1, 1) | 0) | 0; var$22 = var$22 + (ju_Random_nextInt($this.$level1.$random1, 6) - ju_Random_nextInt($this.$level1.$random1, 6) | 0) | 0; if (var$20 < 0) break a; if (var$22 < 1) break a; if (var$21 < 0) break a; if (var$21 >= ($this.$level1.$depth - 2 | 0)) break a; if (var$20 >= $this.$level1.$width0) break a; if (var$22 >= $this.$level1.$height0) break a; if (!cmml_Level_isSolidTile($this.$level1, var$20, var$21 - 1 | 0, var$22)) break a; if (cmml_Level_isSolidTile($this.$level1, var$20, var$21, var$22)) break a; if (cmml_Level_isSolidTile($this.$level1, var$20, var$21 + 1 | 0, var$22)) break a; b: { $var15 = var$20 + 0.5; $var16 = var$21 + 1.0; $var17 = var$22 + 0.5; if ($var2 !== null) { $var18 = $var15 - $var2.$x; $var19 = $var16 - $var2.$y; $var20 = $var17 - $var2.$z; if ($var18 * $var18 + $var19 * $var19 + $var20 * $var20 >= 256.0) break b; break a; } $var18 = $var15 - $this.$level1.$xSpawn; $var19 = $var16 - $this.$level1.$ySpawn; $var20 = $var17 - $this.$level1.$zSpawn; if ($var18 * $var18 + $var19 * $var19 + $var20 * $var20 < 256.0) break a; } $var21 = null; if (!$var6) $var21 = cmmm_Zombie__init_($this.$level1, $var15, $var16, $var17); if (!var$14) { $var21 = new cmmm_Skeleton; cmmm_Zombie__init_0($var21, $this.$level1, $var15, $var16, $var17); $var21.$modelName = $rt_s(341); $var21.$textureName = $rt_s(428); var$28 = new cmmm_Skeleton$1; cmmma_BasicAttackAI__init_(var$28); var$28.$parent = $var21; $var21.$deathScore = 120; var$28.$runSpeed = 0.30000001192092896; var$28.$damage0 = 8; $var21.$ai = var$28; } if (!var$15) { $var21 = new cmmm_Pig; cmmm_QuadrupedMob__init_($var21, $this.$level1, $var15, $var16, $var17); $var21.$heightOffset = 1.7200000286102295; $var21.$modelName = $rt_s(343); $var21.$textureName = $rt_s(429); } if (!var$16) $var21 = cmmm_Creeper__init_($this.$level1, $var15, $var16, $var17); if (!var$17) $var21 = cmmm_Spider__init_($this.$level1, $var15, $var16, $var17); if (!var$18) $var21 = cmmm_Sheep__init_($this.$level1, $var15, $var16, $var17); if (!cmml_Level_isFree($this.$level1, $var21.$bb)) break a; $var4 = $var4 + 1 | 0; cmml_Level_addEntity($this.$level1, $var21); } $var14 = $var14 + 1 | 0; } $var10 = $var10 + 1 | 0; } } $var5 = $var5 + 1 | 0; } return $var4; case 1: cmm_ProgressBarDisplay_setProgress($var3, $var6); if ($rt_suspending()) { break main; } while (true) { $var6 = ju_Random_nextInt($this.$level1.$random1, 6); $var7 = ju_Random_nextInt($this.$level1.$random1, $this.$level1.$width0); $var15 = ju_Random_nextFloat($this.$level1.$random1); $var16 = ju_Random_nextFloat($this.$level1.$random1); if ($var15 < $var16) $var16 = $var15; $var8 = $var16 * $this.$level1.$depth | 0; $var9 = ju_Random_nextInt($this.$level1.$random1, $this.$level1.$height0); if (!cmml_Level_isSolidTile($this.$level1, $var7, $var8, $var9) && cmml_Level_getLiquid($this.$level1, $var7, $var8, $var9) === cmmll_LiquidType_NOT_LIQUID && !(cmml_Level_isLit($this.$level1, $var7, $var8, $var9) && ju_Random_nextInt($this.$level1.$random1, 5))) { $var10 = 0; var$14 = $rt_compare($var6, 1); var$15 = $rt_compare($var6, 2); var$16 = $rt_compare($var6, 3); var$17 = $rt_compare($var6, 4); var$18 = $rt_compare($var6, 5); while ($var10 < 3) { $var14 = 0; var$20 = $var7; var$21 = $var8; var$22 = $var9; while ($var14 < 3) { a: { var$20 = var$20 + (ju_Random_nextInt($this.$level1.$random1, 6) - ju_Random_nextInt($this.$level1.$random1, 6) | 0) | 0; var$21 = var$21 + (ju_Random_nextInt($this.$level1.$random1, 1) - ju_Random_nextInt($this.$level1.$random1, 1) | 0) | 0; var$22 = var$22 + (ju_Random_nextInt($this.$level1.$random1, 6) - ju_Random_nextInt($this.$level1.$random1, 6) | 0) | 0; if (var$20 < 0) break a; if (var$22 < 1) break a; if (var$21 < 0) break a; if (var$21 >= ($this.$level1.$depth - 2 | 0)) break a; if (var$20 >= $this.$level1.$width0) break a; if (var$22 >= $this.$level1.$height0) break a; if (!cmml_Level_isSolidTile($this.$level1, var$20, var$21 - 1 | 0, var$22)) break a; if (cmml_Level_isSolidTile($this.$level1, var$20, var$21, var$22)) break a; if (cmml_Level_isSolidTile($this.$level1, var$20, var$21 + 1 | 0, var$22)) break a; b: { $var15 = var$20 + 0.5; $var16 = var$21 + 1.0; $var17 = var$22 + 0.5; if ($var2 !== null) { $var18 = $var15 - $var2.$x; $var19 = $var16 - $var2.$y; $var20 = $var17 - $var2.$z; if ($var18 * $var18 + $var19 * $var19 + $var20 * $var20 >= 256.0) break b; break a; } $var18 = $var15 - $this.$level1.$xSpawn; $var19 = $var16 - $this.$level1.$ySpawn; $var20 = $var17 - $this.$level1.$zSpawn; if ($var18 * $var18 + $var19 * $var19 + $var20 * $var20 < 256.0) break a; } $var21 = null; if (!$var6) $var21 = cmmm_Zombie__init_($this.$level1, $var15, $var16, $var17); if (!var$14) { $var21 = new cmmm_Skeleton; cmmm_Zombie__init_0($var21, $this.$level1, $var15, $var16, $var17); $var21.$modelName = $rt_s(341); $var21.$textureName = $rt_s(428); var$28 = new cmmm_Skeleton$1; cmmma_BasicAttackAI__init_(var$28); var$28.$parent = $var21; $var21.$deathScore = 120; var$28.$runSpeed = 0.30000001192092896; var$28.$damage0 = 8; $var21.$ai = var$28; } if (!var$15) { $var21 = new cmmm_Pig; cmmm_QuadrupedMob__init_($var21, $this.$level1, $var15, $var16, $var17); $var21.$heightOffset = 1.7200000286102295; $var21.$modelName = $rt_s(343); $var21.$textureName = $rt_s(429); } if (!var$16) $var21 = cmmm_Creeper__init_($this.$level1, $var15, $var16, $var17); if (!var$17) $var21 = cmmm_Spider__init_($this.$level1, $var15, $var16, $var17); if (!var$18) $var21 = cmmm_Sheep__init_($this.$level1, $var15, $var16, $var17); if (!cmml_Level_isFree($this.$level1, $var21.$bb)) break a; $var4 = $var4 + 1 | 0; cmml_Level_addEntity($this.$level1, $var21); } $var14 = $var14 + 1 | 0; } $var10 = $var10 + 1 | 0; } } $var5 = $var5 + 1 | 0; if ($var5 >= $var1) break; if ($var3 === null) continue; else { $var6 = ($var5 * 100 | 0) / var$6 | 0; continue main; } } return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, $var15, $var16, $var8, $var9, $var10, var$14, var$15, var$16, var$17, var$18, $var14, var$20, var$21, var$22, $var17, $var18, $var19, $var20, $var21, var$28, $ptr); } function jt_DateFormatElement$Numeric() { var a = this; jt_DateFormatElement.call(a); a.$field0 = 0; a.$length5 = 0; } function jt_DateFormatElement$Numeric__init_(var_0, var_1) { var var_2 = new jt_DateFormatElement$Numeric(); jt_DateFormatElement$Numeric__init_0(var_2, var_0, var_1); return var_2; } function jt_DateFormatElement$Numeric__init_0($this, $field, $length) { $this.$field0 = $field; $this.$length5 = $length; } function jt_DateFormatElement$Numeric_equals($this, $o) { var $numeric; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $numeric = $o; return $this.$field0 == $numeric.$field0 && $this.$length5 == $numeric.$length5 ? 1 : 0; } return 0; } function jt_DateFormatElement$WeekdayText() { var a = this; jt_DateFormatElement.call(a); a.$weeks = null; a.$shortWeeks = null; a.$abbreviated = 0; } function jt_DateFormatElement$WeekdayText_equals($this, $o) { var $that; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $that = $o; return $this.$abbreviated == $that.$abbreviated && ju_Arrays_equals($this.$weeks, $that.$weeks) && ju_Arrays_equals($this.$shortWeeks, $that.$shortWeeks) ? 1 : 0; } return 0; } function jt_DateFormatElement$EraText() { jt_DateFormatElement.call(this); this.$eras0 = null; } function jt_DateFormatElement$EraText_equals($this, $o) { var $eraText; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $eraText = $o; return ju_Arrays_equals($this.$eras0, $eraText.$eras0); } return 0; } function jt_DateFormatElement$BaseTimezone() { var a = this; jt_DateFormatElement.call(a); a.$locale2 = null; a.$searchTrie = null; } function jt_DateFormatElement$BaseTimezone__init_0(var_0) { var var_1 = new jt_DateFormatElement$BaseTimezone(); jt_DateFormatElement$BaseTimezone__init_(var_1, var_0); return var_1; } function jt_DateFormatElement$BaseTimezone__init_($this, $locale) { $this.$locale2 = $locale; } function jt_DateFormatElement$BaseTimezone_equals($this, $o) { var $that; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $that = $o; return ju_Objects_equals($this.$locale2, $that.$locale2) && ju_Objects_equals($this.$searchTrie, $that.$searchTrie) ? 1 : 0; } return 0; } function jt_DateFormatElement$Rfc822Timezone() { jt_DateFormatElement$BaseTimezone.call(this); } function jt_DateFormatElement$AmPmText() { jt_DateFormatElement.call(this); this.$ampms0 = null; } function jt_DateFormatElement$AmPmText_equals($this, $o) { var $amPmText; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $amPmText = $o; return ju_Arrays_equals($this.$ampms0, $amPmText.$ampms0); } return 0; } function jt_DateFormatElement$NumericHour() { jt_DateFormatElement$Numeric.call(this); this.$limit1 = 0; } function jt_DateFormatElement$NumericHour__init_(var_0, var_1, var_2) { var var_3 = new jt_DateFormatElement$NumericHour(); jt_DateFormatElement$NumericHour__init_0(var_3, var_0, var_1, var_2); return var_3; } function jt_DateFormatElement$NumericHour__init_0($this, $field, $length, $limit) { jt_DateFormatElement$Numeric__init_0($this, $field, $length); $this.$limit1 = $limit; } function jt_DateFormatElement$NumericHour_equals($this, $o) { var $that; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { if (!jt_DateFormatElement$Numeric_equals($this, $o)) return 0; $that = $o; return $this.$limit1 != $that.$limit1 ? 0 : 1; } return 0; } function jt_DateFormatElement$NumericWeekday() { jt_DateFormatElement$Numeric.call(this); } function jt_DateFormatElement$GeneralTimezone() { jt_DateFormatElement$BaseTimezone.call(this); } function jt_DateFormatElement$ConstantText() { jt_DateFormatElement.call(this); this.$textConstant = null; } function jt_DateFormatElement$ConstantText__init_(var_0) { var var_1 = new jt_DateFormatElement$ConstantText(); jt_DateFormatElement$ConstantText__init_0(var_1, var_0); return var_1; } function jt_DateFormatElement$ConstantText__init_0($this, $textConstant) { $this.$textConstant = $textConstant; } function jt_DateFormatElement$ConstantText_equals($this, $o) { var $that; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $that = $o; return ju_Objects_equals($this.$textConstant, $that.$textConstant); } return 0; } function jt_DateFormatElement$Year() { jt_DateFormatElement.call(this); this.$field = 0; } function jt_DateFormatElement$Year_equals($this, $o) { var $year; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $year = $o; return $this.$field != $year.$field ? 0 : 1; } return 0; } function jt_DateFormatElement$Iso8601Timezone() { jt_DateFormatElement.call(this); this.$size6 = 0; } function jt_DateFormatElement$Iso8601Timezone_equals($this, $o) { var $that; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $that = $o; return $this.$size6 != $that.$size6 ? 0 : 1; } return 0; } function jt_DateFormatElement$MonthText() { var a = this; jt_DateFormatElement.call(a); a.$months0 = null; a.$shortMonths0 = null; a.$abbreviated0 = 0; } function jt_DateFormatElement$MonthText__init_(var_0, var_1) { var var_2 = new jt_DateFormatElement$MonthText(); jt_DateFormatElement$MonthText__init_0(var_2, var_0, var_1); return var_2; } function jt_DateFormatElement$MonthText__init_0($this, $symbols, $abbreviated) { $this.$months0 = jt_DateFormatSymbols_getMonths($symbols); $this.$shortMonths0 = jt_DateFormatSymbols_getShortMonths($symbols); $this.$abbreviated0 = $abbreviated; } function jt_DateFormatElement$MonthText_equals($this, $o) { var $monthText; if ($this === $o) return 1; if ($o !== null && jl_Object_getClass($this) === jl_Object_getClass($o)) { $monthText = $o; return $this.$abbreviated0 == $monthText.$abbreviated0 && ju_Arrays_equals($this.$months0, $monthText.$months0) && ju_Arrays_equals($this.$shortMonths0, $monthText.$shortMonths0) ? 1 : 0; } return 0; } function jt_DateFormatElement$NumericMonth() { jt_DateFormatElement$Numeric.call(this); } function jt_DateFormatElement$NumericMonth__init_(var_0) { var var_1 = new jt_DateFormatElement$NumericMonth(); jt_DateFormatElement$NumericMonth__init_0(var_1, var_0); return var_1; } function jt_DateFormatElement$NumericMonth__init_0($this, $length) { jt_DateFormatElement$Numeric__init_0($this, 2, $length); } function jnci_BufferedEncoder() { jnc_CharsetEncoder.call(this); } function jnci_BufferedEncoder_encodeLoop($this, $in, $out) { var $inArray, var$4, $inPos, $inSize, $outArray, var$8, $i, $outSize, var$11, $controller; $inArray = $rt_createCharArray(jl_Math_min(jn_Buffer_remaining($in), 512)); var$4 = $inArray.data; $inPos = 0; $inSize = 0; $outArray = $rt_createByteArray(jl_Math_min(jn_Buffer_remaining($out), 512)); var$8 = $outArray.data; a: { while (true) { if (($inPos + 32 | 0) > $inSize && jn_Buffer_hasRemaining($in)) { $i = $inPos; while ($i < $inSize) { var$4[$i - $inPos | 0] = var$4[$i]; $i = $i + 1 | 0; } $outSize = $inSize - $inPos | 0; $inSize = jl_Math_min(jn_Buffer_remaining($in) + $outSize | 0, var$4.length); jn_CharBuffer_get0($in, $inArray, $outSize, $inSize - $outSize | 0); $inPos = 0; } if (!jn_Buffer_hasRemaining($out)) { var$11 = !jn_Buffer_hasRemaining($in) && $inPos >= $inSize ? jnc_CoderResult_UNDERFLOW : jnc_CoderResult_OVERFLOW; break a; } $outSize = jl_Math_min(jn_Buffer_remaining($out), var$8.length); $controller = new jnci_BufferedEncoder$Controller; $controller.$in0 = $in; $controller.$out2 = $out; var$11 = jnci_UTF8Encoder_arrayEncode($this, $inArray, $inPos, $inSize, $outArray, 0, $outSize, $controller); $inPos = $controller.$inPosition; if (var$11 === null && 0 == $controller.$outPosition) var$11 = jnc_CoderResult_UNDERFLOW; jn_ByteBuffer_put($out, $outArray, 0, $controller.$outPosition); if (var$11 !== null) break; } } jn_Buffer_position0($in, $in.$position - ($inSize - $inPos | 0) | 0); return var$11; } function jnci_UTF8Encoder() { jnci_BufferedEncoder.call(this); } function jnci_UTF8Encoder_arrayEncode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, $low, var$10, $ch, var$12, $codePoint; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) { $low = $inPos; break a; } var$10 = $inArray.data; $low = $inPos + 1 | 0; $ch = var$10[$inPos]; if ($ch < 128) { var$10 = $outArray.data; var$12 = $outPos + 1 | 0; var$10[$outPos] = $ch << 24 >> 24; } else if ($ch < 2048) { if (($outPos + 2 | 0) > $outSize) { $low = $low + (-1) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 2)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $inPos = $outPos + 1 | 0; var$10[$outPos] = (192 | $ch >> 6) << 24 >> 24; var$12 = $inPos + 1 | 0; var$10[$inPos] = (128 | $ch & 63) << 24 >> 24; } else if (!jl_Character_isSurrogate($ch)) { if (($outPos + 3 | 0) > $outSize) { $low = $low + (-1) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 3)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $codePoint = $outPos + 1 | 0; var$10[$outPos] = (224 | $ch >> 12) << 24 >> 24; $inPos = $codePoint + 1 | 0; var$10[$codePoint] = (128 | $ch >> 6 & 63) << 24 >> 24; var$12 = $inPos + 1 | 0; var$10[$inPos] = (128 | $ch & 63) << 24 >> 24; } else { if (!jl_Character_isHighSurrogate($ch)) { $result = jnc_CoderResult_malformedForLength(1); break a; } if ($low >= $inSize) { if (jnci_BufferedEncoder$Controller_hasMoreInput($controller)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = $low + 1 | 0; $low = var$10[$low]; if (!jl_Character_isLowSurrogate($low)) { $low = $inPos + (-2) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } if (($outPos + 4 | 0) > $outSize) { $low = $inPos + (-2) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 4)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $codePoint = jl_Character_toCodePoint($ch, $low); $low = $outPos + 1 | 0; var$10[$outPos] = (240 | $codePoint >> 18) << 24 >> 24; $outPos = $low + 1 | 0; var$10[$low] = (128 | $codePoint >> 12 & 63) << 24 >> 24; $low = $outPos + 1 | 0; var$10[$outPos] = (128 | $codePoint >> 6 & 63) << 24 >> 24; var$12 = $low + 1 | 0; var$10[$low] = (128 | $codePoint & 63) << 24 >> 24; $low = $inPos; } $inPos = $low; $outPos = var$12; } $low = $inPos; } $controller.$inPosition = $low; $controller.$outPosition = $outPos; return $result; } function ju_ConcurrentModificationException() { jl_RuntimeException.call(this); } function cmmma_AI() { jl_Object.call(this); this.$defaultLookAngle = 0; } function cmmma_BasicAI() { var a = this; cmmma_AI.call(a); a.$random4 = null; a.$xxa0 = 0.0; a.$yya0 = 0.0; a.$yRotA = 0.0; a.$level4 = null; a.$mob = null; a.$jumping0 = 0; a.$attackDelay = 0; a.$runSpeed = 0.0; a.$noActionTime = 0; a.$attackTarget = null; } function cmmma_BasicAI__init_0() { var var_0 = new cmmma_BasicAI(); cmmma_BasicAI__init_(var_0); return var_0; } function cmmma_BasicAI__init_($this) { $this.$defaultLookAngle = 0; $this.$random4 = new ju_Random; $this.$jumping0 = 0; $this.$attackDelay = 0; $this.$runSpeed = 0.699999988079071; $this.$noActionTime = 0; $this.$attackTarget = null; } function cmmma_BasicAI_tick($this, $var1, $var2) { var var$3, $var4, $var5, $var6, $var7, $var9, $var8; $this.$noActionTime = $this.$noActionTime + 1 | 0; if ($this.$noActionTime > 600 && !ju_Random_nextInt($this.$random4, 800)) { var$3 = $var1.$player0; if (var$3 !== null) { $var4 = var$3.$x - $var2.$x; $var5 = var$3.$y - $var2.$y; $var6 = var$3.$z - $var2.$z; if ($var4 * $var4 + $var5 * $var5 + $var6 * $var6 >= 1024.0) $var2.$remove0(); else $this.$noActionTime = 0; } } $this.$level4 = $var1; $this.$mob = $var2; if ($this.$attackDelay > 0) $this.$attackDelay = $this.$attackDelay - 1 | 0; if ($var2.$health > 0) $this.$update0(); else { $this.$jumping0 = 0; $this.$xxa0 = 0.0; $this.$yya0 = 0.0; $this.$yRotA = 0.0; } $var7 = cmm_Entity_isInWater($var2); $var9 = cmm_Entity_isInLava($var2); if ($this.$jumping0) { if ($var7) $var2.$yd = $var2.$yd + 0.03999999910593033; else if ($var9) $var2.$yd = $var2.$yd + 0.03999999910593033; else if ($var2.$onGround) $this.$jumpFromGround(); } a: { $this.$xxa0 = $this.$xxa0 * 0.9800000190734863; $this.$yya0 = $this.$yya0 * 0.9800000190734863; $this.$yRotA = $this.$yRotA * 0.8999999761581421; cmmm_Mob_travel($var2, $this.$xxa0, $this.$yya0); $var1 = cmml_Level_findEntities($var1, $var2, cmmp_AABB_grow($var2.$bb, 0.20000000298023224, 0.0, 0.20000000298023224)); if ($var1 !== null && $var1.$size0 > 0) { $var8 = 0; while (true) { if ($var8 >= $var1.$size0) break a; var$3 = ju_ArrayList_get($var1, $var8); if (var$3.$isPushable()) cmm_Entity_push(var$3, $var2); $var8 = $var8 + 1 | 0; } } } } function cmmma_BasicAI_jumpFromGround($this) { $this.$mob.$yd = 0.41999998688697815; } function cmmma_BasicAI_update($this) { var var$1, $var1, $var2; if (ju_Random_nextFloat($this.$random4) < 0.07000000029802322) { $this.$xxa0 = (ju_Random_nextFloat($this.$random4) - 0.5) * $this.$runSpeed; $this.$yya0 = ju_Random_nextFloat($this.$random4) * $this.$runSpeed; } $this.$jumping0 = ju_Random_nextFloat($this.$random4) >= 0.009999999776482582 ? 0 : 1; if (ju_Random_nextFloat($this.$random4) < 0.03999999910593033) $this.$yRotA = (ju_Random_nextFloat($this.$random4) - 0.5) * 60.0; var$1 = $this.$mob; var$1.$yRot = var$1.$yRot + $this.$yRotA; $this.$mob.$xRot = $this.$defaultLookAngle; if ($this.$attackTarget !== null) { $this.$yya0 = $this.$runSpeed; $this.$jumping0 = ju_Random_nextFloat($this.$random4) >= 0.03999999910593033 ? 0 : 1; } $var1 = cmm_Entity_isInWater($this.$mob); $var2 = cmm_Entity_isInLava($this.$mob); if (!(!$var1 && !$var2)) $this.$jumping0 = ju_Random_nextFloat($this.$random4) >= 0.800000011920929 ? 0 : 1; } function cmmma_BasicAI_beforeRemove($this) { return; } function cmmma_BasicAI_hurt($this, $var1, $var2) { $this.$noActionTime = 0; } function cmmp_Player$1() { cmmma_BasicAI.call(this); this.$player1 = null; } function cmmp_Player$1_update($this) { $this.$jumping0 = $this.$player1.$input.$yya; $this.$xxa0 = $this.$player1.$input.$xxa; $this.$yya0 = $this.$player1.$input.$jumping; } function otjb_TimerHandler() { } function nlea_EaglerAdapterImpl2$14() { jl_Object.call(this); } function nlea_EaglerAdapterImpl2$14_onTimer($this) { var $t, var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); $t = jl_System_currentTimeMillis(); if (nlea_EaglerAdapterImpl2_access$2000()) clearTimeout(nlea_EaglerAdapterImpl2_access$2000()); nlea_EaglerAdapterImpl2_access$2002(0); if (Long_lt(Long_sub($t, nlea_EaglerAdapterImpl2_access$2100()), Long_fromInt(3000))) { var$2 = new nlea_EaglerAdapterImpl2$14$1; var$2.$this$01 = $this; var$3 = 3000 - Long_sub($t, nlea_EaglerAdapterImpl2_access$2100()).lo | 0; nlea_EaglerAdapterImpl2_access$2002(setTimeout(otji_JS_function(var$2, "onTimer"), var$3)); } } function nlea_EaglerAdapterImpl2$14_onTimer$exported$0(var$0) { nlea_EaglerAdapterImpl2$14_onTimer(var$0); } function cjj_InfTree() { var a = this; jl_Object.call(a); a.$hn = null; a.$v2 = null; a.$c = null; a.$r0 = null; a.$u2 = null; a.$x11 = null; } var cjj_InfTree_fixed_tl = null; var cjj_InfTree_fixed_td = null; var cjj_InfTree_cplens = null; var cjj_InfTree_cplext = null; var cjj_InfTree_cpdist = null; var cjj_InfTree_cpdext = null; function cjj_InfTree_huft_build($this, $b, $bindex, $n, $s, $d, $e, $t, $m, $hp, $hn, $v) { var $p, $i, var$14, var$15, $f, $l, $j, var$19, $y, var$21, $xp, $mask, $h, $w, $q, $z, $a, $a_0, var$30; $p = 0; $i = $n; while (true) { var$14 = $b.data; var$15 = $this.$c.data; $f = var$14[$bindex + $p | 0]; var$15[$f] = var$15[$f] + 1 | 0; $p = $p + 1 | 0; $i = $i + (-1) | 0; if (!$i) break; } if ($this.$c.data[0] == $n) { $b = $t.data; $d = $m.data; $b[0] = (-1); $d[0] = 0; return 0; } $m = $m.data; $l = $m[0]; $j = 1; a: { while (true) { if ($j > 15) break a; if ($this.$c.data[$j]) break; $j = $j + 1 | 0; } } if ($l < $j) $l = $j; var$19 = 15; b: { while (true) { if (!var$19) break b; if ($this.$c.data[var$19]) break; var$19 = var$19 + (-1) | 0; } } if ($l > var$19) $l = var$19; $m[0] = $l; $y = 1 << $j; $p = $j; while (true) { if ($p >= var$19) { var$21 = $y - $this.$c.data[var$19] | 0; if (var$21 < 0) return (-3); $b = $this.$c.data; $b[var$19] = $b[var$19] + var$21 | 0; $b = $this.$x11.data; $y = 0; $b[1] = $y; $p = 1; $xp = 2; $mask = var$19; while (true) { $mask = $mask + (-1) | 0; if (!$mask) break; $m = $this.$x11.data; $y = $y + $this.$c.data[$p] | 0; $m[$xp] = $y; $xp = $xp + 1 | 0; $p = $p + 1 | 0; } $p = 0; $xp = 0; while (true) { $mask = var$14[$bindex + $xp | 0]; if ($mask) { $m = $v.data; $b = $this.$x11.data; $f = $b[$mask]; $b[$mask] = $f + 1 | 0; $m[$f] = $p; } $xp = $xp + 1 | 0; $p = $p + 1 | 0; if ($p >= $n) break; } $y = $this.$x11.data[var$19]; $b = $this.$x11.data; $p = 0; $b[0] = $p; $xp = 0; $h = (-1); $w = -$l; $this.$u2.data[0] = 0; $q = 0; $z = 0; c: while (true) { if ($j > var$19) return var$21 && var$19 != 1 ? (-5) : 0; $a = $this.$c.data[$j]; while (true) { $a_0 = $a + (-1) | 0; if (!$a) break; $i = $a_0 + 1 | 0; while (true) { var$30 = $w + $l | 0; if ($j <= var$30) break; $h = $h + 1 | 0; $mask = var$19 - var$30 | 0; if ($mask > $l) $mask = $l; d: { $a = $j - var$30 | 0; $bindex = 1 << $a; if ($bindex > $i) { $f = $bindex - $i | 0; if ($a < $mask) { $bindex = $j; while (true) { $a = $a + 1 | 0; if ($a >= $mask) break; $n = $f << 1; $b = $this.$c.data; $bindex = $bindex + 1 | 0; if ($n <= $b[$bindex]) break d; $f = $n - $this.$c.data[$bindex] | 0; } } } } $b = $hn.data; $z = 1 << $a; if (($b[0] + $z | 0) > 1440) break c; $m = $this.$u2.data; $q = $b[0]; $m[$h] = $q; $b[0] = $b[0] + $z | 0; if (!$h) { $t.data[0] = $q; $w = var$30; continue; } $this.$x11.data[$h] = $p; $this.$r0.data[0] = $a << 24 >> 24; $this.$r0.data[1] = $l << 24 >> 24; $bindex = $p >>> (var$30 - $l | 0); $m = $this.$r0.data; $b = $this.$u2.data; $f = $h - 1 | 0; $m[2] = ($q - $b[$f] | 0) - $bindex | 0; jl_System_arraycopy($this.$r0, 0, $hp, ($this.$u2.data[$f] + $bindex | 0) * 3 | 0, 3); $w = var$30; } $b = $this.$r0.data; $mask = $j - $w | 0; $b[1] = $mask << 24 >> 24; if ($xp >= $y) $this.$r0.data[0] = 192; else { var$15 = $v.data; if (var$15[$xp] >= $s) { $m = $e.data; var$14 = $d.data; $this.$r0.data[0] = (($m[var$15[$xp] - $s | 0] + 16 | 0) + 64 | 0) << 24 >> 24; $b = $this.$r0.data; $n = $xp + 1 | 0; $b[2] = var$14[var$15[$xp] - $s | 0]; $xp = $n; } else { $b = $this.$r0; $b.data[0] = (var$15[$xp] >= 256 ? 96 : 0) << 24 >> 24; $b = $this.$r0.data; $n = $xp + 1 | 0; $b[2] = var$15[$xp]; $xp = $n; } } $f = 1 << $mask; $bindex = $p >>> $w; while ($bindex < $z) { jl_System_arraycopy($this.$r0, 0, $hp, ($q + $bindex | 0) * 3 | 0, 3); $bindex = $bindex + $f | 0; } $bindex = 1 << ($j - 1 | 0); while ($p & $bindex) { $p = $p ^ $bindex; $bindex = $bindex >>> 1; } $p = $p ^ $bindex; $mask = (1 << $w) - 1 | 0; while (($p & $mask) != $this.$x11.data[$h]) { $h = $h + (-1) | 0; $w = $w - $l | 0; $mask = (1 << $w) - 1 | 0; } $a = $a_0; } $j = $j + 1 | 0; } return (-3); } $f = $y - $this.$c.data[$p] | 0; if ($f < 0) break; $p = $p + 1 | 0; $y = $f << 1; } return (-3); } function cjj_InfTree_inflate_trees_bits($this, $c, $bb, $tb, $hp, $z) { var $result; cjj_InfTree_initWorkArea($this, 19); $this.$hn.data[0] = 0; $result = cjj_InfTree_huft_build($this, $c, 0, 19, 19, null, null, $tb, $bb, $hp, $this.$hn, $this.$v2); if ($result == (-3)) $z.$msg = $rt_s(430); else if (!($result != (-5) && $bb.data[0])) { $z.$msg = $rt_s(431); $result = (-3); } return $result; } function cjj_InfTree_inflate_trees_dynamic($this, $nl, $nd, $c, $bl, $bd, $tl, $td, $hp, $z) { var $result; cjj_InfTree_initWorkArea($this, 288); $this.$hn.data[0] = 0; $result = cjj_InfTree_huft_build($this, $c, 0, $nl, 257, cjj_InfTree_cplens, cjj_InfTree_cplext, $tl, $bl, $hp, $this.$hn, $this.$v2); 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.$v2); if (!$nd && !(!$bd.data[0] && $nl > 257)) return 0; if ($nd == (-3)) $z.$msg = $rt_s(432); else if ($nd == (-5)) { $z.$msg = $rt_s(433); $nd = (-3); } else if ($nd != (-4)) { $z.$msg = $rt_s(434); $nd = (-3); } return $nd; } if ($result == (-3)) $z.$msg = $rt_s(435); else if ($result != (-4)) { $z.$msg = $rt_s(436); $result = (-3); } return $result; } function cjj_InfTree_inflate_trees_fixed($bl, $bd, $tl, $td, $z) { $td = $td.data; $tl = $tl.data; $bd = $bd.data; $bl.data[0] = 9; $bd[0] = 5; $tl[0] = cjj_InfTree_fixed_tl; $td[0] = cjj_InfTree_fixed_td; return 0; } function cjj_InfTree_initWorkArea($this, $vsize) { var $i; if ($this.$hn === null) { $this.$hn = $rt_createIntArray(1); $this.$v2 = $rt_createIntArray($vsize); $this.$c = $rt_createIntArray(16); $this.$r0 = $rt_createIntArray(3); $this.$u2 = $rt_createIntArray(15); $this.$x11 = $rt_createIntArray(16); } if ($this.$v2.data.length < $vsize) $this.$v2 = $rt_createIntArray($vsize); $i = 0; while ($i < $vsize) { $this.$v2.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_arraycopy($this.$c, 0, $this.$u2, 0, 15); jl_System_arraycopy($this.$c, 0, $this.$x11, 0, 16); } function cjj_InfTree__clinit_() { var var$1, var$2; var$1 = $rt_createIntArray(1536); var$2 = var$1.data; var$2[0] = 96; var$2[1] = 7; var$2[2] = 256; var$2[3] = 0; var$2[4] = 8; var$2[5] = 80; var$2[6] = 0; var$2[7] = 8; var$2[8] = 16; var$2[9] = 84; var$2[10] = 8; var$2[11] = 115; var$2[12] = 82; var$2[13] = 7; var$2[14] = 31; var$2[15] = 0; var$2[16] = 8; var$2[17] = 112; var$2[18] = 0; var$2[19] = 8; var$2[20] = 48; var$2[21] = 0; var$2[22] = 9; var$2[23] = 192; var$2[24] = 80; var$2[25] = 7; var$2[26] = 10; var$2[27] = 0; var$2[28] = 8; var$2[29] = 96; var$2[30] = 0; var$2[31] = 8; var$2[32] = 32; var$2[33] = 0; var$2[34] = 9; var$2[35] = 160; var$2[36] = 0; var$2[37] = 8; var$2[38] = 0; var$2[39] = 0; var$2[40] = 8; var$2[41] = 128; var$2[42] = 0; var$2[43] = 8; var$2[44] = 64; var$2[45] = 0; var$2[46] = 9; var$2[47] = 224; var$2[48] = 80; var$2[49] = 7; var$2[50] = 6; var$2[51] = 0; var$2[52] = 8; var$2[53] = 88; var$2[54] = 0; var$2[55] = 8; var$2[56] = 24; var$2[57] = 0; var$2[58] = 9; var$2[59] = 144; var$2[60] = 83; var$2[61] = 7; var$2[62] = 59; var$2[63] = 0; var$2[64] = 8; var$2[65] = 120; var$2[66] = 0; var$2[67] = 8; var$2[68] = 56; var$2[69] = 0; var$2[70] = 9; var$2[71] = 208; var$2[72] = 81; var$2[73] = 7; var$2[74] = 17; var$2[75] = 0; var$2[76] = 8; var$2[77] = 104; var$2[78] = 0; var$2[79] = 8; var$2[80] = 40; var$2[81] = 0; var$2[82] = 9; var$2[83] = 176; var$2[84] = 0; var$2[85] = 8; var$2[86] = 8; var$2[87] = 0; var$2[88] = 8; var$2[89] = 136; var$2[90] = 0; var$2[91] = 8; var$2[92] = 72; var$2[93] = 0; var$2[94] = 9; var$2[95] = 240; var$2[96] = 80; var$2[97] = 7; var$2[98] = 4; var$2[99] = 0; var$2[100] = 8; var$2[101] = 84; var$2[102] = 0; var$2[103] = 8; var$2[104] = 20; var$2[105] = 85; var$2[106] = 8; var$2[107] = 227; var$2[108] = 83; var$2[109] = 7; var$2[110] = 43; var$2[111] = 0; var$2[112] = 8; var$2[113] = 116; var$2[114] = 0; var$2[115] = 8; var$2[116] = 52; var$2[117] = 0; var$2[118] = 9; var$2[119] = 200; var$2[120] = 81; var$2[121] = 7; var$2[122] = 13; var$2[123] = 0; var$2[124] = 8; var$2[125] = 100; var$2[126] = 0; var$2[127] = 8; var$2[128] = 36; var$2[129] = 0; var$2[130] = 9; var$2[131] = 168; var$2[132] = 0; var$2[133] = 8; var$2[134] = 4; var$2[135] = 0; var$2[136] = 8; var$2[137] = 132; var$2[138] = 0; var$2[139] = 8; var$2[140] = 68; var$2[141] = 0; var$2[142] = 9; var$2[143] = 232; var$2[144] = 80; var$2[145] = 7; var$2[146] = 8; var$2[147] = 0; var$2[148] = 8; var$2[149] = 92; var$2[150] = 0; var$2[151] = 8; var$2[152] = 28; var$2[153] = 0; var$2[154] = 9; var$2[155] = 152; var$2[156] = 84; var$2[157] = 7; var$2[158] = 83; var$2[159] = 0; var$2[160] = 8; var$2[161] = 124; var$2[162] = 0; var$2[163] = 8; var$2[164] = 60; var$2[165] = 0; var$2[166] = 9; var$2[167] = 216; var$2[168] = 82; var$2[169] = 7; var$2[170] = 23; var$2[171] = 0; var$2[172] = 8; var$2[173] = 108; var$2[174] = 0; var$2[175] = 8; var$2[176] = 44; var$2[177] = 0; var$2[178] = 9; var$2[179] = 184; var$2[180] = 0; var$2[181] = 8; var$2[182] = 12; var$2[183] = 0; var$2[184] = 8; var$2[185] = 140; var$2[186] = 0; var$2[187] = 8; var$2[188] = 76; var$2[189] = 0; var$2[190] = 9; var$2[191] = 248; var$2[192] = 80; var$2[193] = 7; var$2[194] = 3; var$2[195] = 0; var$2[196] = 8; var$2[197] = 82; var$2[198] = 0; var$2[199] = 8; var$2[200] = 18; var$2[201] = 85; var$2[202] = 8; var$2[203] = 163; var$2[204] = 83; var$2[205] = 7; var$2[206] = 35; var$2[207] = 0; var$2[208] = 8; var$2[209] = 114; var$2[210] = 0; var$2[211] = 8; var$2[212] = 50; var$2[213] = 0; var$2[214] = 9; var$2[215] = 196; var$2[216] = 81; var$2[217] = 7; var$2[218] = 11; var$2[219] = 0; var$2[220] = 8; var$2[221] = 98; var$2[222] = 0; var$2[223] = 8; var$2[224] = 34; var$2[225] = 0; var$2[226] = 9; var$2[227] = 164; var$2[228] = 0; var$2[229] = 8; var$2[230] = 2; var$2[231] = 0; var$2[232] = 8; var$2[233] = 130; var$2[234] = 0; var$2[235] = 8; var$2[236] = 66; var$2[237] = 0; var$2[238] = 9; var$2[239] = 228; var$2[240] = 80; var$2[241] = 7; var$2[242] = 7; var$2[243] = 0; var$2[244] = 8; var$2[245] = 90; var$2[246] = 0; var$2[247] = 8; var$2[248] = 26; var$2[249] = 0; var$2[250] = 9; var$2[251] = 148; var$2[252] = 84; var$2[253] = 7; var$2[254] = 67; var$2[255] = 0; var$2[256] = 8; var$2[257] = 122; var$2[258] = 0; var$2[259] = 8; var$2[260] = 58; var$2[261] = 0; var$2[262] = 9; var$2[263] = 212; var$2[264] = 82; var$2[265] = 7; var$2[266] = 19; var$2[267] = 0; var$2[268] = 8; var$2[269] = 106; var$2[270] = 0; var$2[271] = 8; var$2[272] = 42; var$2[273] = 0; var$2[274] = 9; var$2[275] = 180; var$2[276] = 0; var$2[277] = 8; var$2[278] = 10; var$2[279] = 0; var$2[280] = 8; var$2[281] = 138; var$2[282] = 0; var$2[283] = 8; var$2[284] = 74; var$2[285] = 0; var$2[286] = 9; var$2[287] = 244; var$2[288] = 80; var$2[289] = 7; var$2[290] = 5; var$2[291] = 0; var$2[292] = 8; var$2[293] = 86; var$2[294] = 0; var$2[295] = 8; var$2[296] = 22; var$2[297] = 192; var$2[298] = 8; var$2[299] = 0; var$2[300] = 83; var$2[301] = 7; var$2[302] = 51; var$2[303] = 0; var$2[304] = 8; var$2[305] = 118; var$2[306] = 0; var$2[307] = 8; var$2[308] = 54; var$2[309] = 0; var$2[310] = 9; var$2[311] = 204; var$2[312] = 81; var$2[313] = 7; var$2[314] = 15; var$2[315] = 0; var$2[316] = 8; var$2[317] = 102; var$2[318] = 0; var$2[319] = 8; var$2[320] = 38; var$2[321] = 0; var$2[322] = 9; var$2[323] = 172; var$2[324] = 0; var$2[325] = 8; var$2[326] = 6; var$2[327] = 0; var$2[328] = 8; var$2[329] = 134; var$2[330] = 0; var$2[331] = 8; var$2[332] = 70; var$2[333] = 0; var$2[334] = 9; var$2[335] = 236; var$2[336] = 80; var$2[337] = 7; var$2[338] = 9; var$2[339] = 0; var$2[340] = 8; var$2[341] = 94; var$2[342] = 0; var$2[343] = 8; var$2[344] = 30; var$2[345] = 0; var$2[346] = 9; var$2[347] = 156; var$2[348] = 84; var$2[349] = 7; var$2[350] = 99; var$2[351] = 0; var$2[352] = 8; var$2[353] = 126; var$2[354] = 0; var$2[355] = 8; var$2[356] = 62; var$2[357] = 0; var$2[358] = 9; var$2[359] = 220; var$2[360] = 82; var$2[361] = 7; var$2[362] = 27; var$2[363] = 0; var$2[364] = 8; var$2[365] = 110; var$2[366] = 0; var$2[367] = 8; var$2[368] = 46; var$2[369] = 0; var$2[370] = 9; var$2[371] = 188; var$2[372] = 0; var$2[373] = 8; var$2[374] = 14; var$2[375] = 0; var$2[376] = 8; var$2[377] = 142; var$2[378] = 0; var$2[379] = 8; var$2[380] = 78; var$2[381] = 0; var$2[382] = 9; var$2[383] = 252; var$2[384] = 96; var$2[385] = 7; var$2[386] = 256; var$2[387] = 0; var$2[388] = 8; var$2[389] = 81; var$2[390] = 0; var$2[391] = 8; var$2[392] = 17; var$2[393] = 85; var$2[394] = 8; var$2[395] = 131; var$2[396] = 82; var$2[397] = 7; var$2[398] = 31; var$2[399] = 0; var$2[400] = 8; var$2[401] = 113; var$2[402] = 0; var$2[403] = 8; var$2[404] = 49; var$2[405] = 0; var$2[406] = 9; var$2[407] = 194; var$2[408] = 80; var$2[409] = 7; var$2[410] = 10; var$2[411] = 0; var$2[412] = 8; var$2[413] = 97; var$2[414] = 0; var$2[415] = 8; var$2[416] = 33; var$2[417] = 0; var$2[418] = 9; var$2[419] = 162; var$2[420] = 0; var$2[421] = 8; var$2[422] = 1; var$2[423] = 0; var$2[424] = 8; var$2[425] = 129; var$2[426] = 0; var$2[427] = 8; var$2[428] = 65; var$2[429] = 0; var$2[430] = 9; var$2[431] = 226; var$2[432] = 80; var$2[433] = 7; var$2[434] = 6; var$2[435] = 0; var$2[436] = 8; var$2[437] = 89; var$2[438] = 0; var$2[439] = 8; var$2[440] = 25; var$2[441] = 0; var$2[442] = 9; var$2[443] = 146; var$2[444] = 83; var$2[445] = 7; var$2[446] = 59; var$2[447] = 0; var$2[448] = 8; var$2[449] = 121; var$2[450] = 0; var$2[451] = 8; var$2[452] = 57; var$2[453] = 0; var$2[454] = 9; var$2[455] = 210; var$2[456] = 81; var$2[457] = 7; var$2[458] = 17; var$2[459] = 0; var$2[460] = 8; var$2[461] = 105; var$2[462] = 0; var$2[463] = 8; var$2[464] = 41; var$2[465] = 0; var$2[466] = 9; var$2[467] = 178; var$2[468] = 0; var$2[469] = 8; var$2[470] = 9; var$2[471] = 0; var$2[472] = 8; var$2[473] = 137; var$2[474] = 0; var$2[475] = 8; var$2[476] = 73; var$2[477] = 0; var$2[478] = 9; var$2[479] = 242; var$2[480] = 80; var$2[481] = 7; var$2[482] = 4; var$2[483] = 0; var$2[484] = 8; var$2[485] = 85; var$2[486] = 0; var$2[487] = 8; var$2[488] = 21; var$2[489] = 80; var$2[490] = 8; var$2[491] = 258; var$2[492] = 83; var$2[493] = 7; var$2[494] = 43; var$2[495] = 0; var$2[496] = 8; var$2[497] = 117; var$2[498] = 0; var$2[499] = 8; var$2[500] = 53; var$2[501] = 0; var$2[502] = 9; var$2[503] = 202; var$2[504] = 81; var$2[505] = 7; var$2[506] = 13; var$2[507] = 0; var$2[508] = 8; var$2[509] = 101; var$2[510] = 0; var$2[511] = 8; var$2[512] = 37; var$2[513] = 0; var$2[514] = 9; var$2[515] = 170; var$2[516] = 0; var$2[517] = 8; var$2[518] = 5; var$2[519] = 0; var$2[520] = 8; var$2[521] = 133; var$2[522] = 0; var$2[523] = 8; var$2[524] = 69; var$2[525] = 0; var$2[526] = 9; var$2[527] = 234; var$2[528] = 80; var$2[529] = 7; var$2[530] = 8; var$2[531] = 0; var$2[532] = 8; var$2[533] = 93; var$2[534] = 0; var$2[535] = 8; var$2[536] = 29; var$2[537] = 0; var$2[538] = 9; var$2[539] = 154; var$2[540] = 84; var$2[541] = 7; var$2[542] = 83; var$2[543] = 0; var$2[544] = 8; var$2[545] = 125; var$2[546] = 0; var$2[547] = 8; var$2[548] = 61; var$2[549] = 0; var$2[550] = 9; var$2[551] = 218; var$2[552] = 82; var$2[553] = 7; var$2[554] = 23; var$2[555] = 0; var$2[556] = 8; var$2[557] = 109; var$2[558] = 0; var$2[559] = 8; var$2[560] = 45; var$2[561] = 0; var$2[562] = 9; var$2[563] = 186; var$2[564] = 0; var$2[565] = 8; var$2[566] = 13; var$2[567] = 0; var$2[568] = 8; var$2[569] = 141; var$2[570] = 0; var$2[571] = 8; var$2[572] = 77; var$2[573] = 0; var$2[574] = 9; var$2[575] = 250; var$2[576] = 80; var$2[577] = 7; var$2[578] = 3; var$2[579] = 0; var$2[580] = 8; var$2[581] = 83; var$2[582] = 0; var$2[583] = 8; var$2[584] = 19; var$2[585] = 85; var$2[586] = 8; var$2[587] = 195; var$2[588] = 83; var$2[589] = 7; var$2[590] = 35; var$2[591] = 0; var$2[592] = 8; var$2[593] = 115; var$2[594] = 0; var$2[595] = 8; var$2[596] = 51; var$2[597] = 0; var$2[598] = 9; var$2[599] = 198; var$2[600] = 81; var$2[601] = 7; var$2[602] = 11; var$2[603] = 0; var$2[604] = 8; var$2[605] = 99; var$2[606] = 0; var$2[607] = 8; var$2[608] = 35; var$2[609] = 0; var$2[610] = 9; var$2[611] = 166; var$2[612] = 0; var$2[613] = 8; var$2[614] = 3; var$2[615] = 0; var$2[616] = 8; var$2[617] = 131; var$2[618] = 0; var$2[619] = 8; var$2[620] = 67; var$2[621] = 0; var$2[622] = 9; var$2[623] = 230; var$2[624] = 80; var$2[625] = 7; var$2[626] = 7; var$2[627] = 0; var$2[628] = 8; var$2[629] = 91; var$2[630] = 0; var$2[631] = 8; var$2[632] = 27; var$2[633] = 0; var$2[634] = 9; var$2[635] = 150; var$2[636] = 84; var$2[637] = 7; var$2[638] = 67; var$2[639] = 0; var$2[640] = 8; var$2[641] = 123; var$2[642] = 0; var$2[643] = 8; var$2[644] = 59; var$2[645] = 0; var$2[646] = 9; var$2[647] = 214; var$2[648] = 82; var$2[649] = 7; var$2[650] = 19; var$2[651] = 0; var$2[652] = 8; var$2[653] = 107; var$2[654] = 0; var$2[655] = 8; var$2[656] = 43; var$2[657] = 0; var$2[658] = 9; var$2[659] = 182; var$2[660] = 0; var$2[661] = 8; var$2[662] = 11; var$2[663] = 0; var$2[664] = 8; var$2[665] = 139; var$2[666] = 0; var$2[667] = 8; var$2[668] = 75; var$2[669] = 0; var$2[670] = 9; var$2[671] = 246; var$2[672] = 80; var$2[673] = 7; var$2[674] = 5; var$2[675] = 0; var$2[676] = 8; var$2[677] = 87; var$2[678] = 0; var$2[679] = 8; var$2[680] = 23; var$2[681] = 192; var$2[682] = 8; var$2[683] = 0; var$2[684] = 83; var$2[685] = 7; var$2[686] = 51; var$2[687] = 0; var$2[688] = 8; var$2[689] = 119; var$2[690] = 0; var$2[691] = 8; var$2[692] = 55; var$2[693] = 0; var$2[694] = 9; var$2[695] = 206; var$2[696] = 81; var$2[697] = 7; var$2[698] = 15; var$2[699] = 0; var$2[700] = 8; var$2[701] = 103; var$2[702] = 0; var$2[703] = 8; var$2[704] = 39; var$2[705] = 0; var$2[706] = 9; var$2[707] = 174; var$2[708] = 0; var$2[709] = 8; var$2[710] = 7; var$2[711] = 0; var$2[712] = 8; var$2[713] = 135; var$2[714] = 0; var$2[715] = 8; var$2[716] = 71; var$2[717] = 0; var$2[718] = 9; var$2[719] = 238; var$2[720] = 80; var$2[721] = 7; var$2[722] = 9; var$2[723] = 0; var$2[724] = 8; var$2[725] = 95; var$2[726] = 0; var$2[727] = 8; var$2[728] = 31; var$2[729] = 0; var$2[730] = 9; var$2[731] = 158; var$2[732] = 84; var$2[733] = 7; var$2[734] = 99; var$2[735] = 0; var$2[736] = 8; var$2[737] = 127; var$2[738] = 0; var$2[739] = 8; var$2[740] = 63; var$2[741] = 0; var$2[742] = 9; var$2[743] = 222; var$2[744] = 82; var$2[745] = 7; var$2[746] = 27; var$2[747] = 0; var$2[748] = 8; var$2[749] = 111; var$2[750] = 0; var$2[751] = 8; var$2[752] = 47; var$2[753] = 0; var$2[754] = 9; var$2[755] = 190; var$2[756] = 0; var$2[757] = 8; var$2[758] = 15; var$2[759] = 0; var$2[760] = 8; var$2[761] = 143; var$2[762] = 0; var$2[763] = 8; var$2[764] = 79; var$2[765] = 0; var$2[766] = 9; var$2[767] = 254; var$2[768] = 96; var$2[769] = 7; var$2[770] = 256; var$2[771] = 0; var$2[772] = 8; var$2[773] = 80; var$2[774] = 0; var$2[775] = 8; var$2[776] = 16; var$2[777] = 84; var$2[778] = 8; var$2[779] = 115; var$2[780] = 82; var$2[781] = 7; var$2[782] = 31; var$2[783] = 0; var$2[784] = 8; var$2[785] = 112; var$2[786] = 0; var$2[787] = 8; var$2[788] = 48; var$2[789] = 0; var$2[790] = 9; var$2[791] = 193; var$2[792] = 80; var$2[793] = 7; var$2[794] = 10; var$2[795] = 0; var$2[796] = 8; var$2[797] = 96; var$2[798] = 0; var$2[799] = 8; var$2[800] = 32; var$2[801] = 0; var$2[802] = 9; var$2[803] = 161; var$2[804] = 0; var$2[805] = 8; var$2[806] = 0; var$2[807] = 0; var$2[808] = 8; var$2[809] = 128; var$2[810] = 0; var$2[811] = 8; var$2[812] = 64; var$2[813] = 0; var$2[814] = 9; var$2[815] = 225; var$2[816] = 80; var$2[817] = 7; var$2[818] = 6; var$2[819] = 0; var$2[820] = 8; var$2[821] = 88; var$2[822] = 0; var$2[823] = 8; var$2[824] = 24; var$2[825] = 0; var$2[826] = 9; var$2[827] = 145; var$2[828] = 83; var$2[829] = 7; var$2[830] = 59; var$2[831] = 0; var$2[832] = 8; var$2[833] = 120; var$2[834] = 0; var$2[835] = 8; var$2[836] = 56; var$2[837] = 0; var$2[838] = 9; var$2[839] = 209; var$2[840] = 81; var$2[841] = 7; var$2[842] = 17; var$2[843] = 0; var$2[844] = 8; var$2[845] = 104; var$2[846] = 0; var$2[847] = 8; var$2[848] = 40; var$2[849] = 0; var$2[850] = 9; var$2[851] = 177; var$2[852] = 0; var$2[853] = 8; var$2[854] = 8; var$2[855] = 0; var$2[856] = 8; var$2[857] = 136; var$2[858] = 0; var$2[859] = 8; var$2[860] = 72; var$2[861] = 0; var$2[862] = 9; var$2[863] = 241; var$2[864] = 80; var$2[865] = 7; var$2[866] = 4; var$2[867] = 0; var$2[868] = 8; var$2[869] = 84; var$2[870] = 0; var$2[871] = 8; var$2[872] = 20; var$2[873] = 85; var$2[874] = 8; var$2[875] = 227; var$2[876] = 83; var$2[877] = 7; var$2[878] = 43; var$2[879] = 0; var$2[880] = 8; var$2[881] = 116; var$2[882] = 0; var$2[883] = 8; var$2[884] = 52; var$2[885] = 0; var$2[886] = 9; var$2[887] = 201; var$2[888] = 81; var$2[889] = 7; var$2[890] = 13; var$2[891] = 0; var$2[892] = 8; var$2[893] = 100; var$2[894] = 0; var$2[895] = 8; var$2[896] = 36; var$2[897] = 0; var$2[898] = 9; var$2[899] = 169; var$2[900] = 0; var$2[901] = 8; var$2[902] = 4; var$2[903] = 0; var$2[904] = 8; var$2[905] = 132; var$2[906] = 0; var$2[907] = 8; var$2[908] = 68; var$2[909] = 0; var$2[910] = 9; var$2[911] = 233; var$2[912] = 80; var$2[913] = 7; var$2[914] = 8; var$2[915] = 0; var$2[916] = 8; var$2[917] = 92; var$2[918] = 0; var$2[919] = 8; var$2[920] = 28; var$2[921] = 0; var$2[922] = 9; var$2[923] = 153; var$2[924] = 84; var$2[925] = 7; var$2[926] = 83; var$2[927] = 0; var$2[928] = 8; var$2[929] = 124; var$2[930] = 0; var$2[931] = 8; var$2[932] = 60; var$2[933] = 0; var$2[934] = 9; var$2[935] = 217; var$2[936] = 82; var$2[937] = 7; var$2[938] = 23; var$2[939] = 0; var$2[940] = 8; var$2[941] = 108; var$2[942] = 0; var$2[943] = 8; var$2[944] = 44; var$2[945] = 0; var$2[946] = 9; var$2[947] = 185; var$2[948] = 0; var$2[949] = 8; var$2[950] = 12; var$2[951] = 0; var$2[952] = 8; var$2[953] = 140; var$2[954] = 0; var$2[955] = 8; var$2[956] = 76; var$2[957] = 0; var$2[958] = 9; var$2[959] = 249; var$2[960] = 80; var$2[961] = 7; var$2[962] = 3; var$2[963] = 0; var$2[964] = 8; var$2[965] = 82; var$2[966] = 0; var$2[967] = 8; var$2[968] = 18; var$2[969] = 85; var$2[970] = 8; var$2[971] = 163; var$2[972] = 83; var$2[973] = 7; var$2[974] = 35; var$2[975] = 0; var$2[976] = 8; var$2[977] = 114; var$2[978] = 0; var$2[979] = 8; var$2[980] = 50; var$2[981] = 0; var$2[982] = 9; var$2[983] = 197; var$2[984] = 81; var$2[985] = 7; var$2[986] = 11; var$2[987] = 0; var$2[988] = 8; var$2[989] = 98; var$2[990] = 0; var$2[991] = 8; var$2[992] = 34; var$2[993] = 0; var$2[994] = 9; var$2[995] = 165; var$2[996] = 0; var$2[997] = 8; var$2[998] = 2; var$2[999] = 0; var$2[1000] = 8; var$2[1001] = 130; var$2[1002] = 0; var$2[1003] = 8; var$2[1004] = 66; var$2[1005] = 0; var$2[1006] = 9; var$2[1007] = 229; var$2[1008] = 80; var$2[1009] = 7; var$2[1010] = 7; var$2[1011] = 0; var$2[1012] = 8; var$2[1013] = 90; var$2[1014] = 0; var$2[1015] = 8; var$2[1016] = 26; var$2[1017] = 0; var$2[1018] = 9; var$2[1019] = 149; var$2[1020] = 84; var$2[1021] = 7; var$2[1022] = 67; var$2[1023] = 0; var$2[1024] = 8; var$2[1025] = 122; var$2[1026] = 0; var$2[1027] = 8; var$2[1028] = 58; var$2[1029] = 0; var$2[1030] = 9; var$2[1031] = 213; var$2[1032] = 82; var$2[1033] = 7; var$2[1034] = 19; var$2[1035] = 0; var$2[1036] = 8; var$2[1037] = 106; var$2[1038] = 0; var$2[1039] = 8; var$2[1040] = 42; var$2[1041] = 0; var$2[1042] = 9; var$2[1043] = 181; var$2[1044] = 0; var$2[1045] = 8; var$2[1046] = 10; var$2[1047] = 0; var$2[1048] = 8; var$2[1049] = 138; var$2[1050] = 0; var$2[1051] = 8; var$2[1052] = 74; var$2[1053] = 0; var$2[1054] = 9; var$2[1055] = 245; var$2[1056] = 80; var$2[1057] = 7; var$2[1058] = 5; var$2[1059] = 0; var$2[1060] = 8; var$2[1061] = 86; var$2[1062] = 0; var$2[1063] = 8; var$2[1064] = 22; var$2[1065] = 192; var$2[1066] = 8; var$2[1067] = 0; var$2[1068] = 83; var$2[1069] = 7; var$2[1070] = 51; var$2[1071] = 0; var$2[1072] = 8; var$2[1073] = 118; var$2[1074] = 0; var$2[1075] = 8; var$2[1076] = 54; var$2[1077] = 0; var$2[1078] = 9; var$2[1079] = 205; var$2[1080] = 81; var$2[1081] = 7; var$2[1082] = 15; var$2[1083] = 0; var$2[1084] = 8; var$2[1085] = 102; var$2[1086] = 0; var$2[1087] = 8; var$2[1088] = 38; var$2[1089] = 0; var$2[1090] = 9; var$2[1091] = 173; var$2[1092] = 0; var$2[1093] = 8; var$2[1094] = 6; var$2[1095] = 0; var$2[1096] = 8; var$2[1097] = 134; var$2[1098] = 0; var$2[1099] = 8; var$2[1100] = 70; var$2[1101] = 0; var$2[1102] = 9; var$2[1103] = 237; var$2[1104] = 80; var$2[1105] = 7; var$2[1106] = 9; var$2[1107] = 0; var$2[1108] = 8; var$2[1109] = 94; var$2[1110] = 0; var$2[1111] = 8; var$2[1112] = 30; var$2[1113] = 0; var$2[1114] = 9; var$2[1115] = 157; var$2[1116] = 84; var$2[1117] = 7; var$2[1118] = 99; var$2[1119] = 0; var$2[1120] = 8; var$2[1121] = 126; var$2[1122] = 0; var$2[1123] = 8; var$2[1124] = 62; var$2[1125] = 0; var$2[1126] = 9; var$2[1127] = 221; var$2[1128] = 82; var$2[1129] = 7; var$2[1130] = 27; var$2[1131] = 0; var$2[1132] = 8; var$2[1133] = 110; var$2[1134] = 0; var$2[1135] = 8; var$2[1136] = 46; var$2[1137] = 0; var$2[1138] = 9; var$2[1139] = 189; var$2[1140] = 0; var$2[1141] = 8; var$2[1142] = 14; var$2[1143] = 0; var$2[1144] = 8; var$2[1145] = 142; var$2[1146] = 0; var$2[1147] = 8; var$2[1148] = 78; var$2[1149] = 0; var$2[1150] = 9; var$2[1151] = 253; var$2[1152] = 96; var$2[1153] = 7; var$2[1154] = 256; var$2[1155] = 0; var$2[1156] = 8; var$2[1157] = 81; var$2[1158] = 0; var$2[1159] = 8; var$2[1160] = 17; var$2[1161] = 85; var$2[1162] = 8; var$2[1163] = 131; var$2[1164] = 82; var$2[1165] = 7; var$2[1166] = 31; var$2[1167] = 0; var$2[1168] = 8; var$2[1169] = 113; var$2[1170] = 0; var$2[1171] = 8; var$2[1172] = 49; var$2[1173] = 0; var$2[1174] = 9; var$2[1175] = 195; var$2[1176] = 80; var$2[1177] = 7; var$2[1178] = 10; var$2[1179] = 0; var$2[1180] = 8; var$2[1181] = 97; var$2[1182] = 0; var$2[1183] = 8; var$2[1184] = 33; var$2[1185] = 0; var$2[1186] = 9; var$2[1187] = 163; var$2[1188] = 0; var$2[1189] = 8; var$2[1190] = 1; var$2[1191] = 0; var$2[1192] = 8; var$2[1193] = 129; var$2[1194] = 0; var$2[1195] = 8; var$2[1196] = 65; var$2[1197] = 0; var$2[1198] = 9; var$2[1199] = 227; var$2[1200] = 80; var$2[1201] = 7; var$2[1202] = 6; var$2[1203] = 0; var$2[1204] = 8; var$2[1205] = 89; var$2[1206] = 0; var$2[1207] = 8; var$2[1208] = 25; var$2[1209] = 0; var$2[1210] = 9; var$2[1211] = 147; var$2[1212] = 83; var$2[1213] = 7; var$2[1214] = 59; var$2[1215] = 0; var$2[1216] = 8; var$2[1217] = 121; var$2[1218] = 0; var$2[1219] = 8; var$2[1220] = 57; var$2[1221] = 0; var$2[1222] = 9; var$2[1223] = 211; var$2[1224] = 81; var$2[1225] = 7; var$2[1226] = 17; var$2[1227] = 0; var$2[1228] = 8; var$2[1229] = 105; var$2[1230] = 0; var$2[1231] = 8; var$2[1232] = 41; var$2[1233] = 0; var$2[1234] = 9; var$2[1235] = 179; var$2[1236] = 0; var$2[1237] = 8; var$2[1238] = 9; var$2[1239] = 0; var$2[1240] = 8; var$2[1241] = 137; var$2[1242] = 0; var$2[1243] = 8; var$2[1244] = 73; var$2[1245] = 0; var$2[1246] = 9; var$2[1247] = 243; var$2[1248] = 80; var$2[1249] = 7; var$2[1250] = 4; var$2[1251] = 0; var$2[1252] = 8; var$2[1253] = 85; var$2[1254] = 0; var$2[1255] = 8; var$2[1256] = 21; var$2[1257] = 80; var$2[1258] = 8; var$2[1259] = 258; var$2[1260] = 83; var$2[1261] = 7; var$2[1262] = 43; var$2[1263] = 0; var$2[1264] = 8; var$2[1265] = 117; var$2[1266] = 0; var$2[1267] = 8; var$2[1268] = 53; var$2[1269] = 0; var$2[1270] = 9; var$2[1271] = 203; var$2[1272] = 81; var$2[1273] = 7; var$2[1274] = 13; var$2[1275] = 0; var$2[1276] = 8; var$2[1277] = 101; var$2[1278] = 0; var$2[1279] = 8; var$2[1280] = 37; var$2[1281] = 0; var$2[1282] = 9; var$2[1283] = 171; var$2[1284] = 0; var$2[1285] = 8; var$2[1286] = 5; var$2[1287] = 0; var$2[1288] = 8; var$2[1289] = 133; var$2[1290] = 0; var$2[1291] = 8; var$2[1292] = 69; var$2[1293] = 0; var$2[1294] = 9; var$2[1295] = 235; var$2[1296] = 80; var$2[1297] = 7; var$2[1298] = 8; var$2[1299] = 0; var$2[1300] = 8; var$2[1301] = 93; var$2[1302] = 0; var$2[1303] = 8; var$2[1304] = 29; var$2[1305] = 0; var$2[1306] = 9; var$2[1307] = 155; var$2[1308] = 84; var$2[1309] = 7; var$2[1310] = 83; var$2[1311] = 0; var$2[1312] = 8; var$2[1313] = 125; var$2[1314] = 0; var$2[1315] = 8; var$2[1316] = 61; var$2[1317] = 0; var$2[1318] = 9; var$2[1319] = 219; var$2[1320] = 82; var$2[1321] = 7; var$2[1322] = 23; var$2[1323] = 0; var$2[1324] = 8; var$2[1325] = 109; var$2[1326] = 0; var$2[1327] = 8; var$2[1328] = 45; var$2[1329] = 0; var$2[1330] = 9; var$2[1331] = 187; var$2[1332] = 0; var$2[1333] = 8; var$2[1334] = 13; var$2[1335] = 0; var$2[1336] = 8; var$2[1337] = 141; var$2[1338] = 0; var$2[1339] = 8; var$2[1340] = 77; var$2[1341] = 0; var$2[1342] = 9; var$2[1343] = 251; var$2[1344] = 80; var$2[1345] = 7; var$2[1346] = 3; var$2[1347] = 0; var$2[1348] = 8; var$2[1349] = 83; var$2[1350] = 0; var$2[1351] = 8; var$2[1352] = 19; var$2[1353] = 85; var$2[1354] = 8; var$2[1355] = 195; var$2[1356] = 83; var$2[1357] = 7; var$2[1358] = 35; var$2[1359] = 0; var$2[1360] = 8; var$2[1361] = 115; var$2[1362] = 0; var$2[1363] = 8; var$2[1364] = 51; var$2[1365] = 0; var$2[1366] = 9; var$2[1367] = 199; var$2[1368] = 81; var$2[1369] = 7; var$2[1370] = 11; var$2[1371] = 0; var$2[1372] = 8; var$2[1373] = 99; var$2[1374] = 0; var$2[1375] = 8; var$2[1376] = 35; var$2[1377] = 0; var$2[1378] = 9; var$2[1379] = 167; var$2[1380] = 0; var$2[1381] = 8; var$2[1382] = 3; var$2[1383] = 0; var$2[1384] = 8; var$2[1385] = 131; var$2[1386] = 0; var$2[1387] = 8; var$2[1388] = 67; var$2[1389] = 0; var$2[1390] = 9; var$2[1391] = 231; var$2[1392] = 80; var$2[1393] = 7; var$2[1394] = 7; var$2[1395] = 0; var$2[1396] = 8; var$2[1397] = 91; var$2[1398] = 0; var$2[1399] = 8; var$2[1400] = 27; var$2[1401] = 0; var$2[1402] = 9; var$2[1403] = 151; var$2[1404] = 84; var$2[1405] = 7; var$2[1406] = 67; var$2[1407] = 0; var$2[1408] = 8; var$2[1409] = 123; var$2[1410] = 0; var$2[1411] = 8; var$2[1412] = 59; var$2[1413] = 0; var$2[1414] = 9; var$2[1415] = 215; var$2[1416] = 82; var$2[1417] = 7; var$2[1418] = 19; var$2[1419] = 0; var$2[1420] = 8; var$2[1421] = 107; var$2[1422] = 0; var$2[1423] = 8; var$2[1424] = 43; var$2[1425] = 0; var$2[1426] = 9; var$2[1427] = 183; var$2[1428] = 0; var$2[1429] = 8; var$2[1430] = 11; var$2[1431] = 0; var$2[1432] = 8; var$2[1433] = 139; var$2[1434] = 0; var$2[1435] = 8; var$2[1436] = 75; var$2[1437] = 0; var$2[1438] = 9; var$2[1439] = 247; var$2[1440] = 80; var$2[1441] = 7; var$2[1442] = 5; var$2[1443] = 0; var$2[1444] = 8; var$2[1445] = 87; var$2[1446] = 0; var$2[1447] = 8; var$2[1448] = 23; var$2[1449] = 192; var$2[1450] = 8; var$2[1451] = 0; var$2[1452] = 83; var$2[1453] = 7; var$2[1454] = 51; var$2[1455] = 0; var$2[1456] = 8; var$2[1457] = 119; var$2[1458] = 0; var$2[1459] = 8; var$2[1460] = 55; var$2[1461] = 0; var$2[1462] = 9; var$2[1463] = 207; var$2[1464] = 81; var$2[1465] = 7; var$2[1466] = 15; var$2[1467] = 0; var$2[1468] = 8; var$2[1469] = 103; var$2[1470] = 0; var$2[1471] = 8; var$2[1472] = 39; var$2[1473] = 0; var$2[1474] = 9; var$2[1475] = 175; var$2[1476] = 0; var$2[1477] = 8; var$2[1478] = 7; var$2[1479] = 0; var$2[1480] = 8; var$2[1481] = 135; var$2[1482] = 0; var$2[1483] = 8; var$2[1484] = 71; var$2[1485] = 0; var$2[1486] = 9; var$2[1487] = 239; var$2[1488] = 80; var$2[1489] = 7; var$2[1490] = 9; var$2[1491] = 0; var$2[1492] = 8; var$2[1493] = 95; var$2[1494] = 0; var$2[1495] = 8; var$2[1496] = 31; var$2[1497] = 0; var$2[1498] = 9; var$2[1499] = 159; var$2[1500] = 84; var$2[1501] = 7; var$2[1502] = 99; var$2[1503] = 0; var$2[1504] = 8; var$2[1505] = 127; var$2[1506] = 0; var$2[1507] = 8; var$2[1508] = 63; var$2[1509] = 0; var$2[1510] = 9; var$2[1511] = 223; var$2[1512] = 82; var$2[1513] = 7; var$2[1514] = 27; var$2[1515] = 0; var$2[1516] = 8; var$2[1517] = 111; var$2[1518] = 0; var$2[1519] = 8; var$2[1520] = 47; var$2[1521] = 0; var$2[1522] = 9; var$2[1523] = 191; var$2[1524] = 0; var$2[1525] = 8; var$2[1526] = 15; var$2[1527] = 0; var$2[1528] = 8; var$2[1529] = 143; var$2[1530] = 0; var$2[1531] = 8; var$2[1532] = 79; var$2[1533] = 0; var$2[1534] = 9; var$2[1535] = 255; cjj_InfTree_fixed_tl = var$1; var$1 = $rt_createIntArray(96); var$2 = var$1.data; var$2[0] = 80; var$2[1] = 5; var$2[2] = 1; var$2[3] = 87; var$2[4] = 5; var$2[5] = 257; var$2[6] = 83; var$2[7] = 5; var$2[8] = 17; var$2[9] = 91; var$2[10] = 5; var$2[11] = 4097; var$2[12] = 81; var$2[13] = 5; var$2[14] = 5; var$2[15] = 89; var$2[16] = 5; var$2[17] = 1025; var$2[18] = 85; var$2[19] = 5; var$2[20] = 65; var$2[21] = 93; var$2[22] = 5; var$2[23] = 16385; var$2[24] = 80; var$2[25] = 5; var$2[26] = 3; var$2[27] = 88; var$2[28] = 5; var$2[29] = 513; var$2[30] = 84; var$2[31] = 5; var$2[32] = 33; var$2[33] = 92; var$2[34] = 5; var$2[35] = 8193; var$2[36] = 82; var$2[37] = 5; var$2[38] = 9; var$2[39] = 90; var$2[40] = 5; var$2[41] = 2049; var$2[42] = 86; var$2[43] = 5; var$2[44] = 129; var$2[45] = 192; var$2[46] = 5; var$2[47] = 24577; var$2[48] = 80; var$2[49] = 5; var$2[50] = 2; var$2[51] = 87; var$2[52] = 5; var$2[53] = 385; var$2[54] = 83; var$2[55] = 5; var$2[56] = 25; var$2[57] = 91; var$2[58] = 5; var$2[59] = 6145; var$2[60] = 81; var$2[61] = 5; var$2[62] = 7; var$2[63] = 89; var$2[64] = 5; var$2[65] = 1537; var$2[66] = 85; var$2[67] = 5; var$2[68] = 97; var$2[69] = 93; var$2[70] = 5; var$2[71] = 24577; var$2[72] = 80; var$2[73] = 5; var$2[74] = 4; var$2[75] = 88; var$2[76] = 5; var$2[77] = 769; var$2[78] = 84; var$2[79] = 5; var$2[80] = 49; var$2[81] = 92; var$2[82] = 5; var$2[83] = 12289; var$2[84] = 82; var$2[85] = 5; var$2[86] = 13; var$2[87] = 90; var$2[88] = 5; var$2[89] = 3073; var$2[90] = 86; var$2[91] = 5; var$2[92] = 193; var$2[93] = 192; var$2[94] = 5; var$2[95] = 24577; cjj_InfTree_fixed_td = var$1; var$1 = $rt_createIntArray(31); var$2 = var$1.data; var$2[0] = 3; var$2[1] = 4; var$2[2] = 5; var$2[3] = 6; var$2[4] = 7; var$2[5] = 8; var$2[6] = 9; var$2[7] = 10; var$2[8] = 11; var$2[9] = 13; var$2[10] = 15; var$2[11] = 17; var$2[12] = 19; var$2[13] = 23; var$2[14] = 27; var$2[15] = 31; var$2[16] = 35; var$2[17] = 43; var$2[18] = 51; var$2[19] = 59; var$2[20] = 67; var$2[21] = 83; var$2[22] = 99; var$2[23] = 115; var$2[24] = 131; var$2[25] = 163; var$2[26] = 195; var$2[27] = 227; var$2[28] = 258; var$2[29] = 0; var$2[30] = 0; cjj_InfTree_cplens = var$1; var$1 = $rt_createIntArray(31); var$2 = var$1.data; var$2[0] = 0; var$2[1] = 0; var$2[2] = 0; var$2[3] = 0; var$2[4] = 0; var$2[5] = 0; var$2[6] = 0; var$2[7] = 0; var$2[8] = 1; var$2[9] = 1; var$2[10] = 1; var$2[11] = 1; var$2[12] = 2; var$2[13] = 2; var$2[14] = 2; var$2[15] = 2; var$2[16] = 3; var$2[17] = 3; var$2[18] = 3; var$2[19] = 3; var$2[20] = 4; var$2[21] = 4; var$2[22] = 4; var$2[23] = 4; var$2[24] = 5; var$2[25] = 5; var$2[26] = 5; var$2[27] = 5; var$2[28] = 0; var$2[29] = 112; var$2[30] = 112; cjj_InfTree_cplext = var$1; var$1 = $rt_createIntArray(30); var$2 = var$1.data; var$2[0] = 1; var$2[1] = 2; var$2[2] = 3; var$2[3] = 4; var$2[4] = 5; var$2[5] = 7; var$2[6] = 9; var$2[7] = 13; var$2[8] = 17; var$2[9] = 25; var$2[10] = 33; var$2[11] = 49; var$2[12] = 65; var$2[13] = 97; var$2[14] = 129; var$2[15] = 193; var$2[16] = 257; var$2[17] = 385; var$2[18] = 513; var$2[19] = 769; var$2[20] = 1025; var$2[21] = 1537; var$2[22] = 2049; var$2[23] = 3073; var$2[24] = 4097; var$2[25] = 6145; var$2[26] = 8193; var$2[27] = 12289; var$2[28] = 16385; var$2[29] = 24577; cjj_InfTree_cpdist = var$1; var$1 = $rt_createIntArray(30); var$2 = var$1.data; var$2[0] = 0; var$2[1] = 0; var$2[2] = 0; var$2[3] = 0; var$2[4] = 1; var$2[5] = 1; var$2[6] = 2; var$2[7] = 2; var$2[8] = 3; var$2[9] = 3; var$2[10] = 4; var$2[11] = 4; var$2[12] = 5; var$2[13] = 5; var$2[14] = 6; var$2[15] = 6; var$2[16] = 7; var$2[17] = 7; var$2[18] = 8; var$2[19] = 8; var$2[20] = 9; var$2[21] = 9; var$2[22] = 10; var$2[23] = 10; var$2[24] = 11; var$2[25] = 11; var$2[26] = 12; var$2[27] = 12; var$2[28] = 13; var$2[29] = 13; cjj_InfTree_cpdext = var$1; } function cjj_InfCodes() { var a = this; jl_Object.call(a); a.$mode1 = 0; a.$len = 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.$z12 = null; a.$s = null; } var cjj_InfCodes_inflate_mask = null; function cjj_InfCodes_init($this, $bl, $bd, $tl, $tl_index, $td, $td_index) { $this.$mode1 = 0; $this.$lbits = $bl << 24 >> 24; $this.$dbits = $bd << 24 >> 24; $this.$ltree = $tl; $this.$ltree_index = $tl_index; $this.$dtree = $td; $this.$dtree_index = $td_index; $this.$tree = null; } function cjj_InfCodes_proc($this, $r) { var var$2, $n, var$4, var$5, $q, $m, $f, var$9, var$10, $j, $tindex, $e, var$14; var$2 = $this.$z12.$next_in_index; $n = $this.$z12.$avail_in; var$4 = $this.$s.$bitb; var$5 = $this.$s.$bitk; $q = $this.$s.$write4; $m = $q >= $this.$s.$read2 ? $this.$s.$end0 - $q | 0 : ($this.$s.$read2 - $q | 0) - 1 | 0; a: { b: while (true) { c: { d: { e: { f: { g: { switch ($this.$mode1) { case 0: break f; case 2: $f = $this.$get12; while (var$5 < $f) { if (!$n) { $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z12.$next_in.data; $j = var$2 + 1 | 0; var$4 = var$4 | (var$10[var$2] & 255) << var$5; var$5 = var$5 + 8 | 0; var$2 = $j; } $this.$len = $this.$len + (var$4 & cjj_InfCodes_inflate_mask.data[$f]) | 0; var$4 = var$4 >> $f; var$5 = var$5 - $f | 0; $this.$need0 = $this.$dbits; $this.$tree = $this.$dtree; $this.$tree_index = $this.$dtree_index; $this.$mode1 = 3; break g; case 4: $f = $this.$get12; while (var$5 < $f) { if (!$n) { $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z12.$next_in.data; $j = var$2 + 1 | 0; var$4 = var$4 | (var$10[var$2] & 255) << var$5; var$5 = var$5 + 8 | 0; var$2 = $j; } $this.$dist = $this.$dist + (var$4 & cjj_InfCodes_inflate_mask.data[$f]) | 0; var$4 = var$4 >> $f; var$5 = var$5 - $f | 0; $this.$mode1 = 5; break c; case 6: break d; case 7: if (var$5 > 7) { var$5 = var$5 + (-8) | 0; $n = $n + 1 | 0; var$2 = var$2 + (-1) | 0; } $this.$s.$write4 = $q; $r = cjj_InfBlocks_inflate_flush($this.$s, $r); $q = $this.$s.$write4; if ($this.$s.$read2 != $this.$s.$write4) { $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, $r); } $this.$mode1 = 8; break a; case 9: $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, (-3)); case 1: break e; case 3: break; case 5: break c; case 8: break a; default: $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, (-2)); } } $j = $this.$need0; while (var$5 < $j) { if (!$n) { $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z12.$next_in.data; $f = var$2 + 1 | 0; var$4 = var$4 | (var$10[var$2] & 255) << var$5; var$5 = var$5 + 8 | 0; var$2 = $f; } $tindex = ($this.$tree_index + (var$4 & cjj_InfCodes_inflate_mask.data[$j]) | 0) * 3 | 0; var$10 = $this.$tree.data; $f = $tindex + 1 | 0; var$4 = var$4 >> var$10[$f]; var$5 = var$5 - $this.$tree.data[$f] | 0; $j = $this.$tree.data[$tindex]; if ($j & 16) { $this.$get12 = $j & 15; $this.$dist = $this.$tree.data[$tindex + 2 | 0]; $this.$mode1 = 4; continue b; } if ($j & 64) { $this.$mode1 = 9; $this.$z12.$msg = $rt_s(437); $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, (-3)); } $this.$need0 = $j; $this.$tree_index = ($tindex / 3 | 0) + $this.$tree.data[$tindex + 2 | 0] | 0; continue b; } if ($m >= 258 && $n >= 10) { $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; $r = cjj_InfCodes_inflate_fast($this, $this.$lbits, $this.$dbits, $this.$ltree, $this.$ltree_index, $this.$dtree, $this.$dtree_index, $this.$s, $this.$z12); var$2 = $this.$z12.$next_in_index; $n = $this.$z12.$avail_in; var$4 = $this.$s.$bitb; var$5 = $this.$s.$bitk; $q = $this.$s.$write4; $m = $q >= $this.$s.$read2 ? $this.$s.$end0 - $q | 0 : ($this.$s.$read2 - $q | 0) - 1 | 0; if ($r) { $this.$mode1 = $r != 1 ? 9 : 7; continue b; } } $this.$need0 = $this.$lbits; $this.$tree = $this.$ltree; $this.$tree_index = $this.$ltree_index; $this.$mode1 = 1; } $j = $this.$need0; while (var$5 < $j) { if (!$n) break b; $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z12.$next_in.data; $f = var$2 + 1 | 0; var$4 = var$4 | (var$10[var$2] & 255) << var$5; var$5 = var$5 + 8 | 0; var$2 = $f; } $tindex = ($this.$tree_index + (var$4 & cjj_InfCodes_inflate_mask.data[$j]) | 0) * 3 | 0; var$10 = $this.$tree.data; $f = $tindex + 1 | 0; var$4 = var$4 >>> var$10[$f]; var$5 = var$5 - $this.$tree.data[$f] | 0; $e = $this.$tree.data[$tindex]; if (!$e) { $this.$lit = $this.$tree.data[$tindex + 2 | 0]; $this.$mode1 = 6; continue b; } if ($e & 16) { $this.$get12 = $e & 15; $this.$len = $this.$tree.data[$tindex + 2 | 0]; $this.$mode1 = 2; continue b; } if (!($e & 64)) { $this.$need0 = $e; $this.$tree_index = ($tindex / 3 | 0) + $this.$tree.data[$tindex + 2 | 0] | 0; continue b; } if (!($e & 32)) { $this.$mode1 = 9; $this.$z12.$msg = $rt_s(438); $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, (-3)); } $this.$mode1 = 7; continue b; } if ($m) $f = $q; else { if ($q != $this.$s.$end0) $f = $q; else if (!$this.$s.$read2) $f = $q; else { $f = 0; $m = $f >= $this.$s.$read2 ? $this.$s.$end0 - $f | 0 : ($this.$s.$read2 - $f | 0) - 1 | 0; } if (!$m) { $this.$s.$write4 = $f; $r = cjj_InfBlocks_inflate_flush($this.$s, $r); $f = $this.$s.$write4; $m = $f >= $this.$s.$read2 ? $this.$s.$end0 - $f | 0 : ($this.$s.$read2 - $f | 0) - 1 | 0; if ($f == $this.$s.$end0 && $this.$s.$read2) { $f = 0; $m = $f >= $this.$s.$read2 ? $this.$s.$end0 - $f | 0 : ($this.$s.$read2 - $f | 0) - 1 | 0; } if (!$m) { $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $f; return cjj_InfBlocks_inflate_flush($this.$s, $r); } } } $r = 0; var$10 = $this.$s.$window.data; $q = $f + 1 | 0; var$10[$f] = $this.$lit << 24 >> 24; $m = $m + (-1) | 0; $this.$mode1 = 0; continue b; } $f = $q - $this.$dist | 0; while ($f < 0) { $f = $f + $this.$s.$end0 | 0; } while ($this.$len) { if ($m) $j = $q; else { if ($q != $this.$s.$end0) $j = $q; else if (!$this.$s.$read2) $j = $q; else { $j = 0; $m = $j >= $this.$s.$read2 ? $this.$s.$end0 - $j | 0 : ($this.$s.$read2 - $j | 0) - 1 | 0; } if (!$m) { $this.$s.$write4 = $j; $r = cjj_InfBlocks_inflate_flush($this.$s, $r); $j = $this.$s.$write4; $m = $j >= $this.$s.$read2 ? $this.$s.$end0 - $j | 0 : ($this.$s.$read2 - $j | 0) - 1 | 0; if ($j == $this.$s.$end0 && $this.$s.$read2) { $j = 0; $m = $j >= $this.$s.$read2 ? $this.$s.$end0 - $j | 0 : ($this.$s.$read2 - $j | 0) - 1 | 0; } if (!$m) { $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $j; return cjj_InfBlocks_inflate_flush($this.$s, $r); } } } var$14 = $this.$s.$window.data; $q = $j + 1 | 0; var$10 = $this.$s.$window.data; $tindex = $f + 1 | 0; var$14[$j] = var$10[$f]; $m = $m + (-1) | 0; $f = $tindex == $this.$s.$end0 ? 0 : $tindex; $this.$len = $this.$len - 1 | 0; } $this.$mode1 = 0; } $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, $r); } $this.$s.$bitb = var$4; $this.$s.$bitk = var$5; $this.$z12.$avail_in = $n; var$9 = $this.$z12; var$9.$total_in = Long_add(var$9.$total_in, Long_fromInt(var$2 - $this.$z12.$next_in_index | 0)); $this.$z12.$next_in_index = var$2; $this.$s.$write4 = $q; return cjj_InfBlocks_inflate_flush($this.$s, 1); } function cjj_InfCodes_free($this, $z) { return; } function cjj_InfCodes_inflate_fast($this, $bl, $bd, $tl, $tl_index, $td, $td_index, $s, $z) { var $p, $n, $b, $k, $q, $m, $ml, $md, var$17, var$18, $t, $tp_index_t_3, $c, $r, $d; $p = $z.$next_in_index; $n = $z.$avail_in; $b = $s.$bitb; $k = $s.$bitk; $q = $s.$write4; $m = $q >= $s.$read2 ? $s.$end0 - $q | 0 : ($s.$read2 - $q | 0) - 1 | 0; $ml = cjj_InfCodes_inflate_mask.data[$bl]; $md = cjj_InfCodes_inflate_mask.data[$bd]; while (true) { if ($k < 20) { $n = $n + (-1) | 0; var$17 = $z.$next_in.data; $bl = $p + 1 | 0; $b = $b | (var$17[$p] & 255) << $k; $k = $k + 8 | 0; $p = $bl; continue; } a: { var$18 = $tl.data; $t = $b & $ml; $tp_index_t_3 = ($tl_index + $t | 0) * 3 | 0; $bd = var$18[$tp_index_t_3]; if (!$bd) { $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$18[$bl]; $k = $k - var$18[$bl] | 0; var$17 = $s.$window.data; $bd = $q + 1 | 0; var$17[$q] = var$18[$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$18[$bl]; $k = $k - var$18[$bl] | 0; if ($bd & 16) { $bl = $bd & 15; $c = var$18[$tp_index_t_3 + 2 | 0] + ($b & cjj_InfCodes_inflate_mask.data[$bl]) | 0; $r = $b >> $bl; $k = $k - $bl | 0; while ($k < 15) { $n = $n + (-1) | 0; var$17 = $z.$next_in.data; $bl = $p + 1 | 0; $r = $r | (var$17[$p] & 255) << $k; $k = $k + 8 | 0; $p = $bl; } var$17 = $td.data; $bl = $r & $md; $d = ($td_index + $bl | 0) * 3 | 0; $bd = var$17[$d]; while (true) { $b = $d + 1 | 0; $r = $r >> var$17[$b]; $k = $k - var$17[$b] | 0; if ($bd & 16) break; if ($bd & 64) { $z.$msg = $rt_s(437); $bl = $z.$avail_in - $n | 0; $bd = $k >> 3; if ($bd < $bl) $bl = $bd; $bd = $n + $bl | 0; $tl_index = $p - $bl | 0; $bl = $k - ($bl << 3) | 0; $s.$bitb = $r; $s.$bitk = $bl; $z.$avail_in = $bd; $z.$total_in = Long_add($z.$total_in, Long_fromInt($tl_index - $z.$next_in_index | 0)); $z.$next_in_index = $tl_index; $s.$write4 = $q; return (-3); } $bl = ($bl + var$17[$d + 2 | 0] | 0) + ($r & cjj_InfCodes_inflate_mask.data[$bd]) | 0; $d = ($td_index + $bl | 0) * 3 | 0; $bd = var$17[$d]; } $bl = $bd & 15; while ($k < $bl) { $n = $n + (-1) | 0; var$18 = $z.$next_in.data; $bd = $p + 1 | 0; $r = $r | (var$18[$p] & 255) << $k; $k = $k + 8 | 0; $p = $bd; } $d = var$17[$d + 2 | 0] + ($r & cjj_InfCodes_inflate_mask.data[$bl]) | 0; $b = $r >> $bl; $k = $k - $bl | 0; $m = $m - $c | 0; if ($q >= $d) { $r = $q - $d | 0; $bl = $q - $r | 0; if ($bl > 0 && 2 > $bl) { var$18 = $s.$window.data; $bl = $q + 1 | 0; var$17 = $s.$window.data; $bd = $r + 1 | 0; var$18[$q] = var$17[$r]; var$18 = $s.$window.data; $q = $bl + 1 | 0; var$17 = $s.$window.data; $r = $bd + 1 | 0; var$18[$bl] = var$17[$bd]; $c = $c + (-2) | 0; } else { jl_System_arraycopy($s.$window, $r, $s.$window, $q, 2); $q = $q + 2 | 0; $r = $r + 2 | 0; $c = $c + (-2) | 0; } } else { $r = $q - $d | 0; while (true) { $r = $r + $s.$end0 | 0; if ($r >= 0) break; } $bl = $s.$end0 - $r | 0; if ($c > $bl) { $c = $c - $bl | 0; $bd = $q - $r | 0; if ($bd > 0 && $bl > $bd) { $bd = $q; while (true) { var$18 = $s.$window.data; $q = $bd + 1 | 0; var$17 = $s.$window.data; $d = $r + 1 | 0; var$18[$bd] = var$17[$r]; $bl = $bl + (-1) | 0; if (!$bl) break; $bd = $q; $r = $d; } } else { jl_System_arraycopy($s.$window, $r, $s.$window, $q, $bl); $q = $q + $bl | 0; } $r = 0; } } $bl = $q - $r | 0; if ($bl > 0 && $c > $bl) { while (true) { var$18 = $s.$window.data; $bd = $q + 1 | 0; var$17 = $s.$window.data; $bl = $r + 1 | 0; var$18[$q] = var$17[$r]; $c = $c + (-1) | 0; if (!$c) break; $q = $bd; $r = $bl; } break a; } jl_System_arraycopy($s.$window, $r, $s.$window, $q, $c); $bd = $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.$write4 = $q; return 1; } $z.$msg = $rt_s(438); $c = $z.$avail_in - $n | 0; $bl = $k >> 3; if ($bl < $c) $c = $bl; $tl_index = $n + $c | 0; $bl = $p - $c | 0; $bd = $k - ($c << 3) | 0; $s.$bitb = $b; $s.$bitk = $bd; $z.$avail_in = $tl_index; $z.$total_in = Long_add($z.$total_in, Long_fromInt($bl - $z.$next_in_index | 0)); $z.$next_in_index = $bl; $s.$write4 = $q; return (-3); } $t = ($t + var$18[$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$18[$tp_index_t_3]; if (!$bd) break; } $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$18[$bl]; $k = $k - var$18[$bl] | 0; var$17 = $s.$window.data; $bd = $q + 1 | 0; var$17[$q] = var$18[$tp_index_t_3 + 2 | 0] << 24 >> 24; $m = $m + (-1) | 0; } } if ($m < 258) break; if ($n < 10) break; $q = $bd; } $c = $z.$avail_in - $n | 0; $bl = $k >> 3; if ($bl < $c) $c = $bl; $bl = $n + $c | 0; $tl_index = $p - $c | 0; $td_index = $k - ($c << 3) | 0; $s.$bitb = $b; $s.$bitk = $td_index; $z.$avail_in = $bl; $z.$total_in = Long_add($z.$total_in, Long_fromInt($tl_index - $z.$next_in_index | 0)); $z.$next_in_index = $tl_index; $s.$write4 = $bd; return 0; } function cjj_InfCodes__clinit_() { var var$1, var$2; var$1 = $rt_createIntArray(17); var$2 = var$1.data; var$2[0] = 0; var$2[1] = 1; var$2[2] = 3; var$2[3] = 7; var$2[4] = 15; var$2[5] = 31; var$2[6] = 63; var$2[7] = 127; var$2[8] = 255; var$2[9] = 511; var$2[10] = 1023; var$2[11] = 2047; var$2[12] = 4095; var$2[13] = 8191; var$2[14] = 16383; var$2[15] = 32767; var$2[16] = 65535; cjj_InfCodes_inflate_mask = var$1; } function nlea_EaglerAdapterImpl2$QueryGL() { jl_Object.call(this); this.$obj5 = null; } function ji_UTFDataFormatException() { ji_IOException.call(this); } function otjc_JSArray() { jl_Object.call(this); } function otjc_JSArray_get$exported$0(var$0, var$1) { return var$0.$get1(var$1); } function otjc_JSArray_getLength$exported$1(var$0) { return var$0.$getLength(); } function jl_ArithmeticException() { jl_RuntimeException.call(this); } function jnc_CharacterCodingException() { ji_IOException.call(this); } function jl_AssertionError() { jl_Error.call(this); } function jl_AssertionError__init_(var_0, var_1) { var var_2 = new jl_AssertionError(); jl_AssertionError__init_0(var_2, var_0, var_1); return var_2; } function jl_AssertionError__init_0($this, $message, $cause) { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; $this.$cause = $cause; } function cmml_NextTickListEntry() { var a = this; jl_Object.call(a); a.$x7 = 0; a.$y7 = 0; a.$z8 = 0; a.$block0 = 0; a.$ticks2 = 0; } function cmmlgn_Noise() { jl_Object.call(this); } function cmmlgn_CombinedNoise() { var a = this; cmmlgn_Noise.call(a); a.$noise1 = null; a.$noise2 = null; } function cmmlgn_CombinedNoise__init_(var_0, var_1) { var var_2 = new cmmlgn_CombinedNoise(); cmmlgn_CombinedNoise__init_0(var_2, var_0, var_1); return var_2; } function cmmlgn_CombinedNoise__init_0($this, $noise1, $noise2) { $this.$noise1 = $noise1; $this.$noise2 = $noise2; } function cmmlgn_CombinedNoise_compute($this, $x, $z) { return cmmlgn_OctaveNoise_compute($this.$noise1, $x + cmmlgn_OctaveNoise_compute($this.$noise2, $x, $z), $z); } function cmmlgn_OctaveNoise() { var a = this; cmmlgn_Noise.call(a); a.$perlin = null; a.$octaves = 0; } function cmmlgn_OctaveNoise__init_(var_0, var_1) { var var_2 = new cmmlgn_OctaveNoise(); cmmlgn_OctaveNoise__init_0(var_2, var_0, var_1); return var_2; } function cmmlgn_OctaveNoise__init_0($this, $random, $octaves) { var $count, var$4, var$5, var$6, var$7, var$8, var$9; $this.$octaves = $octaves; $this.$perlin = $rt_createArray(cmmlgn_PerlinNoise, $octaves); $count = 0; while ($count < $octaves) { var$4 = $this.$perlin; var$5 = new cmmlgn_PerlinNoise; var$5.$noise = $rt_createIntArray(512); var$6 = 0; while (var$6 < 256) { var$7 = var$5.$noise.data; var$8 = var$6 + 1 | 0; var$7[var$6] = var$6; var$6 = var$8; } var$6 = 0; while (var$6 < 256) { var$8 = ju_Random_nextInt($random, 256 - var$6 | 0) + var$6 | 0; var$9 = var$5.$noise.data[var$6]; var$5.$noise.data[var$6] = var$5.$noise.data[var$8]; var$5.$noise.data[var$8] = var$9; var$5.$noise.data[var$6 + 256 | 0] = var$5.$noise.data[var$6]; var$6 = var$6 + 1 | 0; } var$4.data[$count] = var$5; $count = $count + 1 | 0; } } function cmmlgn_OctaveNoise_compute($this, $x, $z) { var $result, $unknown0, $count; $result = 0.0; $unknown0 = 1.0; $count = 0; while ($count < $this.$octaves) { $result = $result + cmmlgn_PerlinNoise_compute($this.$perlin.data[$count], $x / $unknown0, $z / $unknown0) * $unknown0; $unknown0 = $unknown0 * 2.0; $count = $count + 1 | 0; } return $result; } function cmmg_FontAllowedCharacters() { jl_Object.call(this); } var cmmg_FontAllowedCharacters_allowedChars = null; var cmmg_FontAllowedCharacters_field_22286_b = null; function cmmg_FontAllowedCharacters_isAllowed($c) { var $i; $i = 0; while (true) { if ($i >= cmmg_FontAllowedCharacters_allowedChars.data.length) return (-1); if ($c == cmmg_FontAllowedCharacters_allowedChars.data[$i]) break; $i = $i + 1 | 0; } return $i; } function cmmg_FontAllowedCharacters__clinit_() { var var$1, var$2; var$1 = $rt_createIntArray(144); var$2 = var$1.data; var$2[0] = 32; var$2[1] = 33; var$2[2] = 34; var$2[3] = 35; var$2[4] = 36; var$2[5] = 37; var$2[6] = 38; var$2[7] = 39; var$2[8] = 40; var$2[9] = 41; var$2[10] = 42; var$2[11] = 43; var$2[12] = 44; var$2[13] = 45; var$2[14] = 46; var$2[15] = 47; var$2[16] = 48; var$2[17] = 49; var$2[18] = 50; var$2[19] = 51; var$2[20] = 52; var$2[21] = 53; var$2[22] = 54; var$2[23] = 55; var$2[24] = 56; var$2[25] = 57; var$2[26] = 58; var$2[27] = 59; var$2[28] = 60; var$2[29] = 61; var$2[30] = 62; var$2[31] = 63; var$2[32] = 64; var$2[33] = 65; var$2[34] = 66; var$2[35] = 67; var$2[36] = 68; var$2[37] = 69; var$2[38] = 70; var$2[39] = 71; var$2[40] = 72; var$2[41] = 73; var$2[42] = 74; var$2[43] = 75; var$2[44] = 76; var$2[45] = 77; var$2[46] = 78; var$2[47] = 79; var$2[48] = 80; var$2[49] = 81; var$2[50] = 82; var$2[51] = 83; var$2[52] = 84; var$2[53] = 85; var$2[54] = 86; var$2[55] = 87; var$2[56] = 88; var$2[57] = 89; var$2[58] = 90; var$2[59] = 91; var$2[60] = 92; var$2[61] = 93; var$2[62] = 94; var$2[63] = 95; var$2[64] = 39; var$2[65] = 97; var$2[66] = 98; var$2[67] = 99; var$2[68] = 100; var$2[69] = 101; var$2[70] = 102; var$2[71] = 103; var$2[72] = 104; var$2[73] = 105; var$2[74] = 106; var$2[75] = 107; var$2[76] = 108; var$2[77] = 109; var$2[78] = 110; var$2[79] = 111; var$2[80] = 112; var$2[81] = 113; var$2[82] = 114; var$2[83] = 115; var$2[84] = 116; var$2[85] = 117; var$2[86] = 118; var$2[87] = 119; var$2[88] = 120; var$2[89] = 121; var$2[90] = 122; var$2[91] = 123; var$2[92] = 124; var$2[93] = 125; var$2[94] = 126; var$2[95] = 8962; var$2[96] = 199; var$2[97] = 252; var$2[98] = 233; var$2[99] = 226; var$2[100] = 228; var$2[101] = 224; var$2[102] = 229; var$2[103] = 231; var$2[104] = 234; var$2[105] = 235; var$2[106] = 232; var$2[107] = 239; var$2[108] = 238; var$2[109] = 236; var$2[110] = 196; var$2[111] = 197; var$2[112] = 201; var$2[113] = 230; var$2[114] = 198; var$2[115] = 244; var$2[116] = 246; var$2[117] = 242; var$2[118] = 251; var$2[119] = 249; var$2[120] = 255; var$2[121] = 214; var$2[122] = 220; var$2[123] = 248; var$2[124] = 163; var$2[125] = 216; var$2[126] = 215; var$2[127] = 402; var$2[128] = 225; var$2[129] = 237; var$2[130] = 243; var$2[131] = 250; var$2[132] = 241; var$2[133] = 209; var$2[134] = 170; var$2[135] = 186; var$2[136] = 191; var$2[137] = 174; var$2[138] = 172; var$2[139] = 189; var$2[140] = 188; var$2[141] = 161; var$2[142] = 171; var$2[143] = 187; cmmg_FontAllowedCharacters_allowedChars = var$1; var$1 = $rt_createCharArray(15); var$2 = var$1.data; var$2[0] = 47; var$2[1] = 10; var$2[2] = 13; var$2[3] = 9; var$2[4] = 0; var$2[5] = 12; var$2[6] = 96; var$2[7] = 63; var$2[8] = 42; var$2[9] = 92; var$2[10] = 60; var$2[11] = 62; var$2[12] = 124; var$2[13] = 34; var$2[14] = 58; cmmg_FontAllowedCharacters_field_22286_b = var$1; } function cmmp_TerrainParticle() { cmmp_Particle.call(this); } function cmmp_TerrainParticle__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) { var var_8 = new cmmp_TerrainParticle(); cmmp_TerrainParticle__init_0(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; } function cmmp_TerrainParticle__init_0($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8) { cmmp_Particle__init_0($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); $this.$tex = $var8.$textureId; $this.$gravity0 = $var8.$particleGravity; $this.$bCol = 0.6000000238418579; $this.$gCol = 0.6000000238418579; $this.$rCol = 0.6000000238418579; } function cmmp_TerrainParticle_getParticleTexture($this) { return 1; } function cmmp_TerrainParticle_render($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, $var9, var$10, $var11, $var12, $var13, $var14, $var15, var$16, var$17, var$18; var$8 = (($this.$tex % 16 | 0) + $this.$uo / 4.0) / 16.0; $var9 = var$8 + 0.015609375201165676; var$10 = (($this.$tex / 16 | 0) + $this.$vo / 4.0) / 16.0; $var11 = var$10 + 0.015609375201165676; $var12 = 0.10000000149011612 * $this.$size5; $var13 = $this.$xo + ($this.$x - $this.$xo) * $var2; $var14 = $this.$yo + ($this.$y - $this.$yo) * $var2; $var15 = $this.$zo + ($this.$z - $this.$zo) * $var2; $var2 = cmm_Entity_getBrightness($this, $var2); cmmr_ShapeRenderer_color($var1, $var2 * $this.$rCol, $var2 * $this.$gCol, $var2 * $this.$bCol); $var2 = $var3 * $var12; $var3 = $var13 - $var2; $var6 = $var6 * $var12; var$16 = $var3 - $var6; $var4 = $var4 * $var12; var$17 = $var14 - $var4; $var5 = $var5 * $var12; var$18 = $var15 - $var5; $var7 = $var7 * $var12; cmmr_ShapeRenderer_vertexUV($var1, var$16, var$17, var$18 - $var7, var$8, $var11); $var3 = $var3 + $var6; $var4 = $var14 + $var4; cmmr_ShapeRenderer_vertexUV($var1, $var3, $var4, var$18 + $var7, var$8, var$10); $var2 = $var13 + $var2; $var3 = $var2 + $var6; $var5 = $var15 + $var5; cmmr_ShapeRenderer_vertexUV($var1, $var3, $var4, $var5 + $var7, $var9, var$10); cmmr_ShapeRenderer_vertexUV($var1, $var2 - $var6, var$17, $var5 - $var7, $var9, $var11); } function ju_ListIterator() { } function ju_LinkedList$SequentialListIterator() { var a = this; jl_Object.call(a); a.$nextEntry = null; a.$prevEntry = null; a.$currentEntry = null; a.$index2 = 0; a.$version0 = 0; a.$this$02 = null; } function ju_LinkedList$SequentialListIterator__init_(var_0, var_1, var_2, var_3) { var var_4 = new ju_LinkedList$SequentialListIterator(); ju_LinkedList$SequentialListIterator__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function ju_LinkedList$SequentialListIterator__init_0($this, var$1, $nextEntry, $prevEntry, $index) { $this.$this$02 = var$1; $this.$version0 = $this.$this$02.$modCount; $this.$nextEntry = $nextEntry; $this.$prevEntry = $prevEntry; $this.$index2 = $index; } function ju_LinkedList$SequentialListIterator_hasNext($this) { return $this.$nextEntry === null ? 0 : 1; } function ju_LinkedList$SequentialListIterator_next($this) { var $result; ju_LinkedList$SequentialListIterator_checkConcurrentModification($this); if ($this.$nextEntry === null) { $result = new ju_NoSuchElementException; jl_Throwable__init_0($result); $rt_throw($result); } $result = $this.$nextEntry.$item; $this.$currentEntry = $this.$nextEntry; $this.$prevEntry = $this.$nextEntry; $this.$nextEntry = $this.$nextEntry.$next0; $this.$index2 = $this.$index2 + 1 | 0; return $result; } function ju_LinkedList$SequentialListIterator_remove($this) { var var$1, var$2; if ($this.$currentEntry === null) { var$1 = new jl_IllegalStateException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } var$1 = $this.$this$02; var$2 = $this.$currentEntry; if (var$2.$previous === null) var$1.$firstEntry = var$2.$next0; else var$2.$previous.$next0 = var$2.$next0; if (var$2.$next0 === null) var$1.$lastEntry = var$2.$previous; else var$2.$next0.$previous = var$2.$previous; var$1.$size1 = var$1.$size1 - 1 | 0; var$1.$modCount = var$1.$modCount + 1 | 0; if ($this.$currentEntry === $this.$prevEntry) { $this.$prevEntry = !ju_LinkedList$SequentialListIterator_hasNext($this) ? null : $this.$nextEntry.$previous; $this.$index2 = $this.$index2 - 1 | 0; } else if ($this.$currentEntry === $this.$nextEntry) $this.$nextEntry = !ju_LinkedList$SequentialListIterator_hasPrevious($this) ? null : $this.$prevEntry.$next0; $this.$version0 = $this.$this$02.$modCount; $this.$currentEntry = null; } function ju_LinkedList$SequentialListIterator_hasPrevious($this) { return $this.$prevEntry === null ? 0 : 1; } function ju_LinkedList$SequentialListIterator_add($this, $e) { var $newEntry; ju_LinkedList$SequentialListIterator_checkConcurrentModification($this); $newEntry = new ju_LinkedList$Entry; $newEntry.$item = $e; $newEntry.$previous = $this.$prevEntry; $newEntry.$next0 = $this.$nextEntry; if ($this.$prevEntry !== null) $this.$prevEntry.$next0 = $newEntry; else $this.$this$02.$firstEntry = $newEntry; if ($this.$nextEntry !== null) $this.$nextEntry.$previous = $newEntry; else $this.$this$02.$lastEntry = $newEntry; $this.$prevEntry = $newEntry; $e = $this.$this$02; $e.$size1 = $e.$size1 + 1 | 0; $e = $this.$this$02; $e.$modCount = $e.$modCount + 1 | 0; $this.$version0 = $this.$this$02.$modCount; $this.$currentEntry = null; } function ju_LinkedList$SequentialListIterator_checkConcurrentModification($this) { var var$1; if ($this.$version0 >= $this.$this$02.$modCount) return; var$1 = new ju_ConcurrentModificationException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } function ju_LinkedList$Entry() { var a = this; jl_Object.call(a); a.$item = null; a.$next0 = null; a.$previous = null; } function nlea_EaglerAdapterImpl2$14$1() { jl_Object.call(this); this.$this$01 = null; } function nlea_EaglerAdapterImpl2$14$1_onTimer($this) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); nlea_EaglerAdapterImpl2_access$2002(0); } function nlea_EaglerAdapterImpl2$14$1_onTimer$exported$0(var$0) { nlea_EaglerAdapterImpl2$14$1_onTimer(var$0); } function jnc_CharsetDecoder() { var a = this; jl_Object.call(a); a.$charset0 = null; a.$averageCharsPerByte = 0.0; a.$maxCharsPerByte = 0.0; a.$replacement = null; a.$malformedAction = null; a.$unmappableAction = null; a.$state = 0; } function jnc_CharsetDecoder_onMalformedInput($this, $newAction) { var var$2; if ($newAction !== null) { $this.$malformedAction = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, $rt_s(439)); $rt_throw(var$2); } function jnc_CharsetDecoder_implOnMalformedInput($this, $newAction) { return; } function jnc_CharsetDecoder_onUnmappableCharacter($this, $newAction) { var var$2; if ($newAction !== null) { $this.$unmappableAction = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; jl_Throwable__init_(var$2, $rt_s(439)); $rt_throw(var$2); } function jnc_CharsetDecoder_implOnUnmappableCharacter($this, $newAction) { return; } function jnc_CharsetDecoder_decode0($this, $in, $out, $endOfInput) { var $result, $e, $$je; if (!($this.$state == 2 && !$endOfInput) && $this.$state != 3) { $this.$state = $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; $rt_throw(jnc_CoderMalfunctionError__init_($e)); } else { throw $$e; } } if (jnc_CoderResult_isOverflow($result)) return $result; if (jnc_CoderResult_isUnderflow($result)) { if ($endOfInput && jn_Buffer_hasRemaining($in)) { if ($this.$malformedAction === jnc_CodingErrorAction_REPORT) return jnc_CoderResult_malformedForLength(jn_Buffer_remaining($in)); if (jn_Buffer_remaining($out) <= jl_String_length($this.$replacement)) return jnc_CoderResult_OVERFLOW; jn_Buffer_position0($in, $in.$position + jn_Buffer_remaining($in) | 0); if ($this.$malformedAction === jnc_CodingErrorAction_REPLACE) jn_CharBuffer_put1($out, $this.$replacement); } return $result; } if (jnc_CoderResult_isMalformed($result)) { if ($this.$malformedAction === jnc_CodingErrorAction_REPORT) return $result; if ($this.$malformedAction === jnc_CodingErrorAction_REPLACE) { if (jn_Buffer_remaining($out) < jl_String_length($this.$replacement)) return jnc_CoderResult_OVERFLOW; jn_CharBuffer_put1($out, $this.$replacement); } jn_Buffer_position0($in, $in.$position + jnc_CoderResult_length($result) | 0); } else if (jnc_CoderResult_isUnmappable($result)) { if ($this.$unmappableAction === jnc_CodingErrorAction_REPORT) break; if ($this.$unmappableAction === jnc_CodingErrorAction_REPLACE) { if (jn_Buffer_remaining($out) < jl_String_length($this.$replacement)) return jnc_CoderResult_OVERFLOW; jn_CharBuffer_put1($out, $this.$replacement); } jn_Buffer_position0($in, $in.$position + jnc_CoderResult_length($result) | 0); } } return $result; } $in = new jl_IllegalStateException; jl_Throwable__init_0($in); $rt_throw($in); } function jnc_CharsetDecoder_flush($this, $out) { if ($this.$state != 3 && $this.$state != 2) { $out = new jl_IllegalStateException; jl_Throwable__init_0($out); $rt_throw($out); } $this.$state = 3; return jnc_CoderResult_UNDERFLOW; } function jnc_CharsetDecoder_reset($this) { $this.$state = 0; return $this; } function jnc_CharsetDecoder_decode($this, $in) { var $out, $result; if ($this.$state && $this.$state != 3) { $in = new jl_IllegalStateException; jl_Throwable__init_0($in); $rt_throw($in); } if (!jn_Buffer_remaining($in)) return jn_CharBuffer_allocate(0); if ($this.$state) jnc_CharsetDecoder_reset($this); $out = jn_CharBuffer_allocate(jl_Math_max(8, jn_Buffer_remaining($in) * $this.$averageCharsPerByte | 0)); while (true) { $result = jnc_CharsetDecoder_decode0($this, $in, $out, 0); if (jnc_CoderResult_isUnderflow($result)) break; if (jnc_CoderResult_isOverflow($result)) $out = jnc_CharsetDecoder_expand($this, $out); if (!jnc_CoderResult_isError($result)) continue; jnc_CoderResult_throwException($result); } $in = jnc_CharsetDecoder_decode0($this, $in, $out, 1); if (jnc_CoderResult_isError($in)) jnc_CoderResult_throwException($in); while (!jnc_CoderResult_isUnderflow(jnc_CharsetDecoder_flush($this, $out))) { $out = jnc_CharsetDecoder_expand($this, $out); } jn_Buffer_flip($out); return $out; } function jnc_CharsetDecoder_expand($this, $buffer) { var var$2, $result; var$2 = $buffer.$array4; $result = jn_CharBuffer_wrap(ju_Arrays_copyOf(var$2, jl_Math_max(8, var$2.data.length * 2 | 0))); jn_Buffer_position0($result, $buffer.$position); return $result; } function jnc_CharsetDecoder_implFlush($this, $out) { return jnc_CoderResult_UNDERFLOW; } function jnc_CharsetDecoder_implReset($this) { return; } function cmmg_Button() { var a = this; cmmg_Screen.call(a); a.$width5 = 0; a.$height5 = 0; a.$x9 = 0; a.$y9 = 0; a.$text0 = null; a.$id3 = 0; a.$active = 0; a.$visible0 = 0; } function cmmg_Button__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmg_Button(); cmmg_Button__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmg_Button__init_1(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new cmmg_Button(); cmmg_Button__init_2(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function cmmg_Button__init_0($this, $var1, $var2, $var3, $var4) { cmmg_Button__init_2($this, $var1, $var2, $var3, 200, 20, $var4); } function cmmg_Button__init_2($this, $var1, $var2, $var3, $var4, $var5, $var6) { cmmg_Screen__init_0($this); $this.$width5 = 200; $this.$height5 = 20; $this.$active = 1; $this.$visible0 = 1; $this.$id3 = $var1; $this.$x9 = $var2; $this.$y9 = $var3; $this.$width5 = $var4; $this.$height5 = 20; $this.$text0 = $var6; } function cmmlgn_PerlinNoise() { cmmlgn_Noise.call(this); this.$noise = null; } function cmmlgn_PerlinNoise_compute($this, $x, $z) { var $unknown3, $unknown4, $unknown5, var$6, $unknown6, $unknown7, $unknown8, $unknown9, $unknown10, var$12, var$13, var$14, var$15, var$16; $unknown3 = (jl_Math_floor($x) | 0) & 255; $unknown4 = (jl_Math_floor($z) | 0) & 255; $unknown5 = (jl_Math_floor(0.0) | 0) & 255; var$6 = $x - jl_Math_floor($x); $x = $z - jl_Math_floor($z); $z = 0.0 - jl_Math_floor(0.0); $unknown6 = cmmlgn_PerlinNoise_a(var$6); $unknown7 = cmmlgn_PerlinNoise_a($x); $unknown8 = cmmlgn_PerlinNoise_a($z); $unknown9 = $this.$noise.data[$unknown3] + $unknown4 | 0; $unknown10 = $this.$noise.data[$unknown9] + $unknown5 | 0; var$12 = $this.$noise.data[$unknown9 + 1 | 0] + $unknown5 | 0; $unknown3 = $this.$noise.data[$unknown3 + 1 | 0] + $unknown4 | 0; $unknown4 = $this.$noise.data[$unknown3] + $unknown5 | 0; $unknown5 = $this.$noise.data[$unknown3 + 1 | 0] + $unknown5 | 0; var$13 = cmmlgn_PerlinNoise_grad($this.$noise.data[$unknown10], var$6, $x, $z); $unknown3 = $this.$noise.data[$unknown4]; var$14 = var$6 - 1.0; var$13 = cmmlgn_PerlinNoise_lerp($unknown6, var$13, cmmlgn_PerlinNoise_grad($unknown3, var$14, $x, $z)); $unknown3 = $this.$noise.data[var$12]; var$15 = $x - 1.0; var$16 = cmmlgn_PerlinNoise_lerp($unknown7, var$13, cmmlgn_PerlinNoise_lerp($unknown6, cmmlgn_PerlinNoise_grad($unknown3, var$6, var$15, $z), cmmlgn_PerlinNoise_grad($this.$noise.data[$unknown5], var$14, var$15, $z))); $unknown3 = $this.$noise.data[$unknown10 + 1 | 0]; var$13 = $z - 1.0; return cmmlgn_PerlinNoise_lerp($unknown8, var$16, cmmlgn_PerlinNoise_lerp($unknown7, cmmlgn_PerlinNoise_lerp($unknown6, cmmlgn_PerlinNoise_grad($unknown3, var$6, $x, var$13), cmmlgn_PerlinNoise_grad($this.$noise.data[$unknown4 + 1 | 0], var$14, $x, var$13)), cmmlgn_PerlinNoise_lerp($unknown6, cmmlgn_PerlinNoise_grad($this.$noise.data[var$12 + 1 | 0], var$6, var$15, var$13), cmmlgn_PerlinNoise_grad($this.$noise.data[$unknown5 + 1 | 0], var$14, var$15, var$13)))); } function cmmlgn_PerlinNoise_a($unknown0) { return $unknown0 * $unknown0 * $unknown0 * ($unknown0 * ($unknown0 * 6.0 - 15.0) + 10.0); } function cmmlgn_PerlinNoise_lerp($unknown0, $unknown1, $unknown2) { return $unknown1 + $unknown0 * ($unknown2 - $unknown1); } function cmmlgn_PerlinNoise_grad($unknown0, $unknown5, $unknown5_0, $unknown5_1) { var $unknown4; $unknown0 = $unknown0 & 15; $unknown4 = $unknown0 >= 8 ? $unknown5_0 : $unknown5; if ($unknown0 >= 4) $unknown5_0 = $unknown0 != 12 && $unknown0 != 14 ? $unknown5_1 : $unknown5; if ($unknown0 & 1) $unknown4 = -$unknown4; if ($unknown0 & 2) $unknown5_0 = -$unknown5_0; return $unknown4 + $unknown5_0; } function cmml_BlockMap$Slot() { var a = this; jl_Object.call(a); a.$xSlot = 0; a.$ySlot = 0; a.$zSlot = 0; a.$blockMap1 = null; } function cmml_BlockMap$Slot__init_(var_0, var_1) { var var_2 = new cmml_BlockMap$Slot(); cmml_BlockMap$Slot__init_0(var_2, var_0, var_1); return var_2; } function cmml_BlockMap$Slot_init($this, $var1, $var2, $var3) { $this.$xSlot = $var1 / 16.0 | 0; $this.$ySlot = $var2 / 16.0 | 0; $this.$zSlot = $var3 / 16.0 | 0; if ($this.$xSlot < 0) $this.$xSlot = 0; if ($this.$ySlot < 0) $this.$ySlot = 0; if ($this.$zSlot < 0) $this.$zSlot = 0; if ($this.$xSlot >= $this.$blockMap1.$width1) $this.$xSlot = $this.$blockMap1.$width1 - 1 | 0; if ($this.$ySlot >= $this.$blockMap1.$depth0) $this.$ySlot = $this.$blockMap1.$depth0 - 1 | 0; if ($this.$zSlot >= $this.$blockMap1.$height1) $this.$zSlot = $this.$blockMap1.$height1 - 1 | 0; return $this; } function cmml_BlockMap$Slot_add($this, $var1) { if ($this.$xSlot >= 0 && $this.$ySlot >= 0 && $this.$zSlot >= 0) ju_ArrayList_add($this.$blockMap1.$entityGrid.data[$rt_imul($rt_imul($this.$zSlot, $this.$blockMap1.$depth0) + $this.$ySlot | 0, $this.$blockMap1.$width1) + $this.$xSlot | 0], $var1); } function cmml_BlockMap$Slot_remove($this, $var1) { if ($this.$xSlot >= 0 && $this.$ySlot >= 0 && $this.$zSlot >= 0) ju_ArrayList_remove0($this.$blockMap1.$entityGrid.data[$rt_imul($rt_imul($this.$zSlot, $this.$blockMap1.$depth0) + $this.$ySlot | 0, $this.$blockMap1.$width1) + $this.$xSlot | 0], $var1); } function cmml_BlockMap$Slot__init_0($this, $var1, $var2) { $this.$blockMap1 = $var1; } function cmmm_HumanoidMob() { var a = this; cmmm_Mob.call(a); a.$helmet = 0; a.$armor = 0; } function cmmm_HumanoidMob_renderModel($this, $var2, $var3, $var4, $var5, $var6, $var7) { var $var9, var$8, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();var$8 = $thread.pop();$var9 = $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: $ptr = 1; case 1: cmmm_Mob_renderModel($this, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } $var9 = cmmm_ModelManager_getModel(cmmm_Mob_modelCache, $this.$modelName); olo_EaglerAdapterGL30_glEnable(3008); if ($this.$allowAlpha) olo_EaglerAdapterGL30_glEnable(2884); if ($this.$hasHair) { olo_EaglerAdapterGL30_glDisable(2884); var$8 = $var9; var$8.$headwear.$yaw = var$8.$head.$yaw; var$8.$headwear.$pitch = var$8.$head.$pitch; cmmm_ModelPart_render(var$8.$headwear, $var7); olo_EaglerAdapterGL30_glEnable(2884); } if (!$this.$armor && !$this.$helmet) { olo_EaglerAdapterGL30_glDisable(3008); return; } var$8 = cmmr_TextureLocation__init_($rt_s(440)); $ptr = 2; case 2: cmmr_TextureLocation_bindTexture(var$8); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glDisable(2884); var$8 = cmmm_ModelManager_getModel(cmmm_Mob_modelCache, $rt_s(339)); var$8.$head.$render4 = $this.$helmet; var$8.$body.$render4 = $this.$armor; var$8.$rightArm.$render4 = $this.$armor; var$8.$leftArm.$render4 = $this.$armor; var$8.$rightLeg.$render4 = 0; var$8.$leftLeg.$render4 = 0; $var11 = $var9; var$8.$head.$yaw = $var11.$head.$yaw; var$8.$head.$pitch = $var11.$head.$pitch; var$8.$rightArm.$pitch = $var11.$rightArm.$pitch; var$8.$rightArm.$roll = $var11.$rightArm.$roll; var$8.$leftArm.$pitch = $var11.$leftArm.$pitch; var$8.$leftArm.$roll = $var11.$leftArm.$roll; var$8.$rightLeg.$pitch = $var11.$rightLeg.$pitch; var$8.$leftLeg.$pitch = $var11.$leftLeg.$pitch; cmmm_ModelPart_render(var$8.$head, $var7); cmmm_ModelPart_render(var$8.$body, $var7); cmmm_ModelPart_render(var$8.$rightArm, $var7); cmmm_ModelPart_render(var$8.$leftArm, $var7); cmmm_ModelPart_render(var$8.$rightLeg, $var7); cmmm_ModelPart_render(var$8.$leftLeg, $var7); olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glDisable(3008); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var3, $var4, $var5, $var6, $var7, $var9, var$8, $var11, $ptr); } function cmmm_Zombie() { cmmm_HumanoidMob.call(this); } function cmmm_Zombie__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmm_Zombie(); cmmm_Zombie__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmm_Zombie__init_0($this, $var1, $var2, $var3, $var4) { var $var5; cmmm_Mob__init_($this, $var1); $this.$helmet = jl_Math_random() >= 0.20000000298023224 ? 0 : 1; $this.$armor = jl_Math_random() >= 0.20000000298023224 ? 0 : 1; $this.$modelName = $rt_s(191); cmm_Entity_setPos($this, $var2, $var3, $var4); $this.$modelName = $rt_s(342); $this.$textureName = $rt_s(441); $this.$heightOffset = 1.6200000047683716; $var5 = cmmma_BasicAttackAI__init_0(); $this.$deathScore = 80; $var5.$defaultLookAngle = 30; $var5.$runSpeed = 1.0; $this.$ai = $var5; } function cmmm_Skeleton() { cmmm_Zombie.call(this); } function cmmm_Skeleton_shootArrow($this, $var1) { cmml_Level_addEntity($var1, cmmi_Arrow__init_($var1, $this, $this.$x, $this.$y, $this.$z, $this.$yRot + 180.0 + jl_Math_random() * 45.0 - 22.5, $this.$xRot - (jl_Math_random() * 45.0 - 10.0), 1.0)); } function cmmm_QuadrupedMob() { cmmm_Mob.call(this); } function cmmm_QuadrupedMob__init_0(var_0, var_1, var_2, var_3) { var var_4 = new cmmm_QuadrupedMob(); cmmm_QuadrupedMob__init_(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmm_QuadrupedMob__init_($this, $var1, $var2, $var3, $var4) { cmmm_Mob__init_($this, $var1); cmm_Entity_setSize($this, 1.399999976158142, 1.2000000476837158); cmm_Entity_setPos($this, $var2, $var3, $var4); $this.$modelName = $rt_s(343); } function cmmm_Pig() { cmmm_QuadrupedMob.call(this); } function cmmm_Pig_die($this, $var1) { var $var2, $var3, var$4, var$5, var$6, var$7, var$8, var$9; if ($var1 !== null) $var1.$awardKillScore($this, 10); $var2 = jl_Math_random() + jl_Math_random() + 1.0 | 0; $var3 = 0; while ($var3 < $var2) { var$4 = $this.$level2; var$5 = new cmmi_Item; var$6 = $this.$level2; var$7 = $this.$x; var$8 = $this.$y; var$9 = $this.$z; cmmlt_Block_$callClinit(); cmmi_Item__init_0(var$5, var$6, var$7, var$8, var$9, cmmlt_Block_BROWN_MUSHROOM.$id); cmml_Level_addEntity(var$4, var$5); $var3 = $var3 + 1 | 0; } cmmm_Mob_die($this, $var1); } function cmmm_Creeper() { cmmm_Mob.call(this); } function cmmm_Creeper__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmm_Creeper(); cmmm_Creeper__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmm_Creeper__init_0($this, $var1, $var2, $var3, $var4) { cmmm_Mob__init_($this, $var1); $this.$heightOffset = 1.6200000047683716; $this.$modelName = $rt_s(340); $this.$textureName = $rt_s(442); $var1 = new cmmm_Creeper$1; cmmma_BasicAttackAI__init_($var1); $var1.$creeper0 = $this; $this.$ai = $var1; $this.$ai.$defaultLookAngle = 45; $this.$deathScore = 200; cmm_Entity_setPos($this, $var2, $var3, $var4); } function cmmm_Creeper_getBrightness($this, $var1) { var $var2; $var2 = (20 - $this.$health | 0) / 20.0; return ((nPm_MathHelper_sin($this.$tickCount0 + $var1) * 0.5 + 0.5) * $var2 * 0.5 + 0.25 + $var2 * 0.25) * cmm_Entity_getBrightness($this, $var1); } function cmmm_Spider() { cmmm_QuadrupedMob.call(this); } function cmmm_Spider__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmm_Spider(); cmmm_Spider__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmm_Spider__init_0($this, $var1, $var2, $var3, $var4) { cmmm_QuadrupedMob__init_($this, $var1, $var2, $var3, $var4); $this.$heightOffset = 0.7200000286102295; $this.$modelName = $rt_s(345); $this.$textureName = $rt_s(443); cmm_Entity_setSize($this, 1.399999976158142, 0.8999999761581421); cmm_Entity_setPos($this, $var2, $var3, $var4); $this.$deathScore = 105; $this.$bobStrength = 0.0; $var1 = new cmmma_JumpAttackAI; cmmma_BasicAttackAI__init_($var1); $var1.$runSpeed = $var1.$runSpeed * 0.800000011920929; $this.$ai = $var1; } function cmmm_Sheep() { var a = this; cmmm_QuadrupedMob.call(a); a.$hasFur = 0; a.$grazing = 0; a.$grazingTime = 0; a.$graze = 0.0; a.$grazeO = 0.0; } function cmmm_Sheep__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmm_Sheep(); cmmm_Sheep__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmm_Sheep__init_0($this, $var1, $var2, $var3, $var4) { cmmm_QuadrupedMob__init_($this, $var1, $var2, $var3, $var4); $this.$hasFur = 1; $this.$grazing = 0; $this.$grazingTime = 0; cmm_Entity_setSize($this, 1.399999976158142, 1.7200000286102295); cmm_Entity_setPos($this, $var2, $var3, $var4); $this.$heightOffset = 1.7200000286102295; $this.$modelName = $rt_s(344); $this.$textureName = $rt_s(444); $var1 = new cmmm_Sheep$1; cmmma_BasicAI__init_($var1); $var1.$sheep0 = $this; $this.$ai = $var1; } function cmmm_Sheep_aiStep($this) { cmmm_Mob_aiStep($this); $this.$grazeO = $this.$graze; if (!$this.$grazing) $this.$graze = $this.$graze - 0.20000000298023224; else $this.$graze = $this.$graze + 0.20000000298023224; if ($this.$graze < 0.0) $this.$graze = 0.0; if ($this.$graze > 1.0) $this.$graze = 1.0; } function cmmm_Sheep_die($this, $var1) { var $var2, $var3, var$4, var$5, var$6, var$7, var$8, var$9; if ($var1 !== null) $var1.$awardKillScore($this, 10); $var2 = jl_Math_random() + jl_Math_random() + 1.0 | 0; $var3 = 0; while ($var3 < $var2) { var$4 = $this.$level2; var$5 = new cmmi_Item; var$6 = $this.$level2; var$7 = $this.$x; var$8 = $this.$y; var$9 = $this.$z; cmmlt_Block_$callClinit(); cmmi_Item__init_0(var$5, var$6, var$7, var$8, var$9, cmmlt_Block_BROWN_MUSHROOM.$id); cmml_Level_addEntity(var$4, var$5); $var3 = $var3 + 1 | 0; } cmmm_Mob_die($this, $var1); } function cmmm_Sheep_hurt($this, $var1, $var2) { var $var3, var$4, var$5, var$6, var$7, var$8, var$9; if ($this.$hasFur && $var1 instanceof cmmp_Player) { $this.$hasFur = 0; $var3 = jl_Math_random() * 3.0 + 1.0 | 0; $var2 = 0; while ($var2 < $var3) { var$4 = $this.$level2; var$5 = new cmmi_Item; var$6 = $this.$level2; var$7 = $this.$x; var$8 = $this.$y; var$9 = $this.$z; cmmlt_Block_$callClinit(); cmmi_Item__init_0(var$5, var$6, var$7, var$8, var$9, cmmlt_Block_WHITE_WOOL.$id); cmml_Level_addEntity(var$4, var$5); $var2 = $var2 + 1 | 0; } } else cmmm_Mob_hurt($this, $var1, $var2); } function cmmm_Sheep_renderModel($this, $var2, $var3, $var4, $var5, $var6, $var7) { var var$7, $var9, $var10, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var10 = $thread.pop();$var9 = $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: var$7 = cmmm_ModelManager_getModel(cmmm_Mob_modelCache, $this.$modelName); $var9 = var$7.$head0.$y4; $var10 = var$7.$head0.$z4; var$10 = var$7.$head0; var$10.$y4 = var$10.$y4 + ($this.$grazeO + ($this.$graze - $this.$grazeO) * $var3) * 8.0; var$10 = var$7.$head0; var$10.$z4 = var$10.$z4 - ($this.$grazeO + ($this.$graze - $this.$grazeO) * $var3); $ptr = 1; case 1: cmmm_Mob_renderModel($this, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } if (!$this.$hasFur) { var$7.$head0.$y4 = $var9; var$7.$head0.$z4 = $var10; return; } var$10 = cmmr_TextureLocation__init_($rt_s(445)); $ptr = 2; case 2: cmmr_TextureLocation_bindTexture(var$10); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glDisable(2884); var$10 = cmmm_ModelManager_getModel(cmmm_Mob_modelCache, $rt_s(346)); var$10.$head0.$yaw = var$7.$head0.$yaw; var$10.$head0.$pitch = var$7.$head0.$pitch; var$10.$head0.$y4 = var$7.$head0.$y4; var$10.$head0.$x4 = var$7.$head0.$x4; var$10.$body0.$yaw = var$7.$body0.$yaw; var$10.$body0.$pitch = var$7.$body0.$pitch; var$10.$leg10.$pitch = var$7.$leg10.$pitch; var$10.$leg20.$pitch = var$7.$leg20.$pitch; var$10.$leg30.$pitch = var$7.$leg30.$pitch; var$10.$leg40.$pitch = var$7.$leg40.$pitch; cmmm_ModelPart_render(var$10.$head0, $var7); cmmm_ModelPart_render(var$10.$body0, $var7); cmmm_ModelPart_render(var$10.$leg10, $var7); cmmm_ModelPart_render(var$10.$leg20, $var7); cmmm_ModelPart_render(var$10.$leg30, $var7); cmmm_ModelPart_render(var$10.$leg40, $var7); var$7.$head0.$y4 = $var9; var$7.$head0.$z4 = $var10; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var3, $var4, $var5, $var6, $var7, var$7, $var9, $var10, var$10, $ptr); } function jnci_BufferedDecoder() { jnc_CharsetDecoder.call(this); } function jnci_BufferedDecoder_decodeLoop($this, $in, $out) { var $inArray, var$4, $inPos, $inSize, $outArray, var$8, $i, $outSize, var$11, $controller; $inArray = $rt_createByteArray(jl_Math_min(jn_Buffer_remaining($in), 512)); var$4 = $inArray.data; $inPos = 0; $inSize = 0; $outArray = $rt_createCharArray(jl_Math_min(jn_Buffer_remaining($out), 512)); var$8 = $outArray.data; a: { while (true) { if (($inPos + 32 | 0) > $inSize && jn_Buffer_hasRemaining($in)) { $i = $inPos; while ($i < $inSize) { var$4[$i - $inPos | 0] = var$4[$i]; $i = $i + 1 | 0; } $outSize = $inSize - $inPos | 0; $inSize = jl_Math_min(jn_Buffer_remaining($in) + $outSize | 0, var$4.length); jn_ByteBuffer_get0($in, $inArray, $outSize, $inSize - $outSize | 0); $inPos = 0; } if (!jn_Buffer_hasRemaining($out)) { var$11 = !jn_Buffer_hasRemaining($in) && $inPos >= $inSize ? jnc_CoderResult_UNDERFLOW : jnc_CoderResult_OVERFLOW; break a; } $outSize = jl_Math_min(jn_Buffer_remaining($out), var$8.length); $controller = new jnci_BufferedDecoder$Controller; $controller.$in1 = $in; $controller.$out3 = $out; var$11 = jnci_UTF8Decoder_arrayDecode($this, $inArray, $inPos, $inSize, $outArray, 0, $outSize, $controller); $inPos = $controller.$inPosition0; if (var$11 === null && 0 == $controller.$outPosition0) var$11 = jnc_CoderResult_UNDERFLOW; jn_CharBuffer_put($out, $outArray, 0, $controller.$outPosition0); if (var$11 !== null) break; } } jn_Buffer_position0($in, $in.$position - ($inSize - $inPos | 0) | 0); return var$11; } function jnci_UTF8Decoder() { jnci_BufferedDecoder.call(this); } function jnci_UTF8Decoder_arrayDecode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, $b2, $b, $b2_0, $b4, $b3, $c, $code; $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; if (jnci_BufferedDecoder$Controller_hasMoreInput($controller)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $b4 = $b2 + 1 | 0; $b2 = var$9[$b2]; if (!jnci_UTF8Decoder_checkMidByte($this, $b2)) { $inPos = $b4 + (-2) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } var$9 = $outArray.data; $b2_0 = $outPos + 1 | 0; var$9[$outPos] = (($b & 31) << 6 | $b2 & 63) & 65535; $b2 = $b4; } else if (($b & 240) == 224) { if (($b2 + 2 | 0) > $inSize) { $inPos = $b2 + (-1) | 0; if (jnci_BufferedDecoder$Controller_hasMoreInput($controller)) 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 (!jnci_UTF8Decoder_checkMidByte($this, $b2_0)) break b; if (!jnci_UTF8Decoder_checkMidByte($this, $b3)) break b; $c = (($b & 15) << 12 | ($b2_0 & 63) << 6 | $b3 & 63) & 65535; if (jl_Character_isSurrogate($c)) { $inPos = $b2 + (-3) | 0; $result = jnc_CoderResult_malformedForLength(3); break a; } var$9 = $outArray.data; $b2_0 = $outPos + 1 | 0; var$9[$outPos] = $c; } else { if (($b & 248) != 240) { $inPos = $b2 + (-1) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } if (($b2 + 3 | 0) > $inSize) { $inPos = $b2 + (-1) | 0; if (jnci_BufferedDecoder$Controller_hasMoreInput($controller)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } if (($outPos + 2 | 0) > $outSize) { $inPos = $b2 + (-1) | 0; if (jnci_BufferedDecoder$Controller_hasMoreOutput($controller, 2)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } $inPos = $b2 + 1 | 0; $b2_0 = var$9[$b2]; $b4 = $inPos + 1 | 0; $b3 = var$9[$inPos]; $b2 = $b4 + 1 | 0; $b4 = var$9[$b4]; if (!jnci_UTF8Decoder_checkMidByte($this, $b2_0)) break c; if (!jnci_UTF8Decoder_checkMidByte($this, $b3)) break c; if (!jnci_UTF8Decoder_checkMidByte($this, $b4)) 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] = jl_Character_highSurrogate($code); $b2_0 = $inPos + 1 | 0; var$9[$inPos] = jl_Character_lowSurrogate($code); } $inPos = $b2; $outPos = $b2_0; } break a; } $inPos = $b2 + (-3) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } $inPos = $b2 + (-3) | 0; $result = jnc_CoderResult_malformedForLength(1); } $controller.$inPosition0 = $inPos; $controller.$outPosition0 = $outPos; return $result; } function jnci_UTF8Decoder_checkMidByte($this, $b) { return ($b & 192) != 128 ? 0 : 1; } function cjj_Inflate$Return() { var a = this; jl_Exception.call(a); a.$r1 = 0; a.$this$03 = null; } function cjj_Inflate$Return__init_(var_0, var_1) { var var_2 = new cjj_Inflate$Return(); cjj_Inflate$Return__init_0(var_2, var_0, var_1); return var_2; } function cjj_Inflate$Return__init_0($this, var$1, $r) { $this.$this$03 = var$1; jl_Throwable__init_0($this); $this.$r1 = $r; } function cjj_GZIPHeader() { var a = this; jl_Object.call(a); a.$text2 = 0; a.$fhcrc = 0; a.$time1 = Long_ZERO; a.$xflags = 0; a.$os = 0; a.$extra = null; a.$name6 = null; a.$comment = null; a.$hcrc = 0; a.$crc = Long_ZERO; a.$done = 0; a.$mtime = Long_ZERO; } function cjj_GZIPHeader__init_() { var var_0 = new cjj_GZIPHeader(); cjj_GZIPHeader__init_0(var_0); return var_0; } function cjj_GZIPHeader__init_0($this) { $this.$text2 = 0; $this.$fhcrc = 0; $this.$os = 255; $this.$done = 0; $this.$mtime = Long_ZERO; } function cjj_CRC32() { jl_Object.call(this); this.$v3 = 0; } var cjj_CRC32_crc_table = null; function cjj_CRC32__init_() { var var_0 = new cjj_CRC32(); cjj_CRC32__init_0(var_0); return var_0; } function cjj_CRC32__init_0($this) { $this.$v3 = 0; } function cjj_CRC32_update($this, $buf, $index, $len) { var $c, var$5, var$6, var$7; $c = $this.$v3 ^ (-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; $index = var$7; } $this.$v3 = $c ^ (-1); } function cjj_CRC32_reset($this) { $this.$v3 = 0; } function cjj_CRC32_reset0($this, $vv) { $this.$v3 = Long_and($vv, new Long(4294967295, 0)).lo; } function cjj_CRC32_getValue($this) { return Long_and(Long_fromInt($this.$v3), new Long(4294967295, 0)); } function cjj_CRC32__clinit_() { var $n, $k, var$3; cjj_CRC32_crc_table = null; cjj_CRC32_crc_table = $rt_createIntArray(256); $n = 0; while ($n < 256) { $k = 8; var$3 = $n; while (true) { $k = $k + (-1) | 0; if ($k < 0) break; if (!(var$3 & 1)) { var$3 = var$3 >>> 1; continue; } var$3 = (-306674912) ^ var$3 >>> 1; } cjj_CRC32_crc_table.data[$n] = var$3; $n = $n + 1 | 0; } } function cmmi_PrimedTnt() { var a = this; cmm_Entity.call(a); a.$xd3 = 0.0; a.$yd3 = 0.0; a.$zd3 = 0.0; a.$life = 0; a.$defused = 0; } function cmmi_PrimedTnt__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmi_PrimedTnt(); cmmi_PrimedTnt__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmi_PrimedTnt__init_0($this, $level1, $x, $y, $z) { var $unknown0; cmm_Entity__init_0($this, $level1); $this.$life = 0; cmm_Entity_setSize($this, 0.9800000190734863, 0.9800000190734863); $this.$heightOffset = $this.$bbHeight / 2.0; cmm_Entity_setPos($this, $x, $y, $z); $unknown0 = jl_Math_random() * 3.1415927410125732 * 2.0 * 3.1415927410125732 / 180.0; $this.$xd3 = -nPm_MathHelper_sin($unknown0) * 0.019999999552965164; $this.$yd3 = 0.20000000298023224; $this.$zd3 = -nPm_MathHelper_cos($unknown0) * 0.019999999552965164; $this.$makeStepSound = 0; $this.$life = 40; $this.$xo = $x; $this.$yo = $y; $this.$zo = $z; } function cmmi_PrimedTnt_tick($this) { var $i, $smokeParticle, $radius, $random, $unknown0, $unknown1, $unknown2, $unknown3, $unknown4, $unknown5, $terrainParticle, var$12, var$13; $this.$xo = $this.$x; $this.$yo = $this.$y; $this.$zo = $this.$z; $this.$yd3 = $this.$yd3 - 0.03999999910593033; cmm_Entity_move($this, $this.$xd3, $this.$yd3, $this.$zd3); $this.$xd3 = $this.$xd3 * 0.9800000190734863; $this.$yd3 = $this.$yd3 * 0.9800000190734863; $this.$zd3 = $this.$zd3 * 0.9800000190734863; if ($this.$onGround) { $this.$xd3 = $this.$xd3 * 0.699999988079071; $this.$zd3 = $this.$zd3 * 0.699999988079071; $this.$yd3 = $this.$yd3 * (-0.5); } a: { if (!$this.$defused) { $i = $this.$life; $this.$life = $i - 1 | 0; if ($i > 0) { $smokeParticle = new cmmp_SmokeParticle; cmmp_Particle__init_0($smokeParticle, $this.$level2, $this.$x, $this.$y + 0.6000000238418579, $this.$z, 0.0, 0.0, 0.0); $smokeParticle.$xd2 = $smokeParticle.$xd2 * 0.10000000149011612; $smokeParticle.$yd2 = $smokeParticle.$yd2 * 0.10000000149011612; $smokeParticle.$zd2 = $smokeParticle.$zd2 * 0.10000000149011612; $radius = jl_Math_random() * 0.30000001192092896; $smokeParticle.$bCol = $radius; $smokeParticle.$gCol = $radius; $smokeParticle.$rCol = $radius; $smokeParticle.$lifetime = 8.0 / (jl_Math_random() * 0.8 + 0.2) | 0; $smokeParticle.$noPhysics = 1; cmmp_ParticleManager_spawnParticle($this.$level2.$particleEngine, $smokeParticle); } else { cmm_Entity_remove($this); $random = new ju_Random; cmml_Level_explode($this.$level2, null, $this.$x, $this.$y, $this.$z, 4.0); $i = 0; while (true) { if ($i >= 100) break a; $unknown0 = ju_Random_nextGaussian($random) * 4.0 / 4.0; $unknown1 = ju_Random_nextGaussian($random) * 4.0 / 4.0; $unknown2 = ju_Random_nextGaussian($random) * 4.0 / 4.0; $unknown3 = nPm_MathHelper_sqrt($unknown0 * $unknown0 + $unknown1 * $unknown1 + $unknown2 * $unknown2); $unknown4 = $unknown0 / $unknown3 / $unknown3; $unknown5 = $unknown1 / $unknown3 / $unknown3; $unknown3 = $unknown2 / $unknown3 / $unknown3; $terrainParticle = new cmmp_TerrainParticle; var$12 = $this.$level2; var$13 = $this.$x + $unknown0; $unknown0 = $this.$y + $unknown1; $unknown1 = $this.$z + $unknown2; cmmlt_Block_$callClinit(); cmmp_TerrainParticle__init_0($terrainParticle, var$12, var$13, $unknown0, $unknown1, $unknown4, $unknown5, $unknown3, cmmlt_Block_TNT); cmmp_ParticleManager_spawnParticle($this.$level2.$particleEngine, $terrainParticle); $i = $i + 1 | 0; } } } } } function cmmi_PrimedTnt_render($this, $unknown0) { var $shapeRenderer, $brightness, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$brightness = $thread.pop();$shapeRenderer = $thread.pop();$unknown0 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $shapeRenderer = cmmr_TextureLocation__init_($rt_s(185)); $ptr = 1; case 1: cmmr_TextureLocation_bindTexture($shapeRenderer); if ($rt_suspending()) { break main; } $brightness = cmml_Level_getBrightness($this.$level2, $this.$x | 0, $this.$y | 0, $this.$z | 0); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glColor4f($brightness, $brightness, $brightness, 1.0); olo_EaglerAdapterGL30_glTranslatef($this.$xo + ($this.$x - $this.$xo) * $unknown0 - 0.5, $this.$yo + ($this.$y - $this.$yo) * $unknown0 - 0.5, $this.$zo + ($this.$z - $this.$zo) * $unknown0 - 0.5); olo_EaglerAdapterGL30_glPushMatrix(); $shapeRenderer = cmmr_ShapeRenderer_instance; cmmlt_Block_$callClinit(); cmmlt_Block_TNT.$renderPreview($shapeRenderer); olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, ((($this.$life / 4 | 0) + 1 | 0) % 2 | 0) * 0.4000000059604645); if ($this.$life <= 16) olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, (($this.$life + 1 | 0) % 2 | 0) * 0.6000000238418579); if ($this.$life <= 2) olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 0.8999999761581421); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 1); cmmlt_Block_TNT.$renderPreview($shapeRenderer); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $unknown0, $shapeRenderer, $brightness, $ptr); } function cmmi_PrimedTnt_playerTouch($this, $entity) { var $player, $takeEntityAnim; if ($this.$defused) { $player = $entity; cmmlt_Block_$callClinit(); if (cmmp_Player_addResource($player, cmmlt_Block_TNT.$id)) { $takeEntityAnim = cmmi_TakeEntityAnim__init_($this.$level2, $this, $player); cmml_Level_addEntity($this.$level2, $takeEntityAnim); cmm_Entity_remove($this); } } } function cmmi_PrimedTnt_hurt($this, $entity, $damage) { var $item, var$4, var$5, var$6, var$7; if (!$this.$removed && $entity instanceof cmmp_Player) { cmm_Entity_remove($this); $item = new cmmi_Item; var$4 = $this.$level2; var$5 = $this.$x; var$6 = $this.$y; var$7 = $this.$z; cmmlt_Block_$callClinit(); cmmi_Item__init_0($item, var$4, var$5, var$6, var$7, cmmlt_Block_TNT.$id); cmml_Level_addEntity($this.$level2, $item); } } function cmmi_PrimedTnt_isPickable($this) { return $this.$removed ? 0 : 1; } function cmmma_BasicAttackAI() { cmmma_BasicAI.call(this); this.$damage0 = 0; } function cmmma_BasicAttackAI__init_0() { var var_0 = new cmmma_BasicAttackAI(); cmmma_BasicAttackAI__init_(var_0); return var_0; } function cmmma_BasicAttackAI__init_($this) { cmmma_BasicAI__init_($this); $this.$damage0 = 6; } function cmmma_BasicAttackAI_update($this) { cmmma_BasicAI_update($this); if ($this.$mob.$health > 0) cmmma_BasicAttackAI_doAttack($this); } function cmmma_BasicAttackAI_doAttack($this) { var $var1, $var3, $var4, $var5, var$5, var$6; $var1 = $this.$level4.$player0; if ($this.$attackTarget !== null && $this.$attackTarget.$removed) $this.$attackTarget = null; if ($var1 !== null && $this.$attackTarget === null) { $var3 = $var1.$x - $this.$mob.$x; $var4 = $var1.$y - $this.$mob.$y; $var5 = $var1.$z - $this.$mob.$z; if ($var3 * $var3 + $var4 * $var4 + $var5 * $var5 < 256.0) $this.$attackTarget = $var1; } if ($this.$attackTarget !== null) { $var3 = $this.$attackTarget.$x - $this.$mob.$x; $var4 = $this.$attackTarget.$y - $this.$mob.$y; $var5 = $this.$attackTarget.$z - $this.$mob.$z; var$5 = $var3 * $var3 + $var4 * $var4 + $var5 * $var5; if (var$5 > 1024.0 && !ju_Random_nextInt($this.$random4, 100)) $this.$attackTarget = null; if ($this.$attackTarget !== null) { var$6 = nPm_MathHelper_sqrt(var$5); $this.$mob.$yRot = jl_Math_atan2($var5, $var3) * 180.0 / 3.1415927410125732 - 90.0; $this.$mob.$xRot = -(jl_Math_atan2($var4, var$6) * 180.0 / 3.1415927410125732); if (nPm_MathHelper_sqrt(var$5) < 2.0 && !$this.$attackDelay) $this.$attack($this.$attackTarget); } } } function cmmma_BasicAttackAI_attack($this, $var1) { var $var2; if (cmml_Level_clip($this.$level4, cmmm_Vec3D__init_($this.$mob.$x, $this.$mob.$y, $this.$mob.$z), cmmm_Vec3D__init_($var1.$x, $var1.$y, $var1.$z)) !== null) return 0; $this.$mob.$attackTime = 5; $this.$attackDelay = ju_Random_nextInt($this.$random4, 20) + 10 | 0; $var2 = (ju_Random_nextFloat($this.$random4) + ju_Random_nextFloat($this.$random4)) / 2.0 * $this.$damage0 + 1.0 | 0; $var1.$hurt($this.$mob, $var2); $this.$noActionTime = 0; return 1; } function cmmma_BasicAttackAI_hurt($this, $var1, $var2) { cmmma_BasicAI_hurt($this, $var1, $var2); if ($var1 instanceof cmmi_Arrow) $var1 = $var1.$owner0; if ($var1 !== null && !jl_Object_equals(jl_Object_getClass($var1), jl_Object_getClass($this.$mob))) $this.$attackTarget = $var1; } function cmmm_Skeleton$1() { cmmma_BasicAttackAI.call(this); this.$parent = null; } function cmmm_Skeleton$1_tick($this, $var1, $var2) { cmmma_BasicAI_tick($this, $var1, $var2); if ($var2.$health > 0 && !ju_Random_nextInt($this.$random4, 30) && $this.$attackTarget !== null) cmmm_Skeleton_shootArrow($this.$parent, $var1); } function cmmm_Skeleton$1_beforeRemove($this) { var var$1, var$2, var$3; var$1 = $this.$parent; var$2 = (jl_Math_random() + jl_Math_random()) * 3.0 + 4.0 | 0; var$3 = 0; while (var$3 < var$2) { cmml_Level_addEntity(var$1.$level2, cmmi_Arrow__init_(var$1.$level2, var$1.$level2.$player0, var$1.$x, var$1.$y - 0.20000000298023224, var$1.$z, jl_Math_random() * 360.0, -jl_Math_random() * 60.0, 0.4000000059604645)); var$3 = var$3 + 1 | 0; } } function cmmm_Creeper$1() { cmmma_BasicAttackAI.call(this); this.$creeper0 = null; } function cmmm_Creeper$1_attack($this, $var1) { if (!cmmma_BasicAttackAI_attack($this, $var1)) return 0; $this.$mob.$hurt($var1, 6); return 1; } function cmmm_Creeper$1_beforeRemove($this) { var $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$8, var$9, var$10, var$11, var$12; cmml_Level_explode($this.$level4, $this.$mob, $this.$mob.$x, $this.$mob.$y, $this.$mob.$z, 4.0); $var2 = 0; while ($var2 < 500) { $var3 = ju_Random_nextGaussian($this.$random4) * 4.0 / 4.0; $var4 = ju_Random_nextGaussian($this.$random4) * 4.0 / 4.0; $var5 = ju_Random_nextGaussian($this.$random4) * 4.0 / 4.0; $var6 = nPm_MathHelper_sqrt($var3 * $var3 + $var4 * $var4 + $var5 * $var5); $var7 = $var3 / $var6 / $var6; $var8 = $var4 / $var6 / $var6; var$8 = $var5 / $var6 / $var6; var$9 = $this.$level4.$particleEngine; var$10 = new cmmp_TerrainParticle; var$11 = $this.$level4; $var3 = $this.$mob.$x + $var3; $var6 = $this.$mob.$y + $var4; var$12 = $this.$mob.$z + $var5; cmmlt_Block_$callClinit(); cmmp_TerrainParticle__init_0(var$10, var$11, $var3, $var6, var$12, $var7, $var8, var$8, cmmlt_Block_LEAVES); cmmp_ParticleManager_spawnParticle(var$9, var$10); $var2 = $var2 + 1 | 0; } } function cmmma_JumpAttackAI() { cmmma_BasicAttackAI.call(this); } function cmmma_JumpAttackAI_jumpFromGround($this) { if ($this.$attackTarget === null) cmmma_BasicAI_jumpFromGround($this); else { $this.$mob.$xd = 0.0; $this.$mob.$zd = 0.0; cmm_Entity_moveRelative($this.$mob, 0.0, 1.0, 0.6000000238418579); $this.$mob.$yd = 0.5; } } function cmmm_Sheep$1() { cmmma_BasicAI.call(this); this.$sheep0 = null; } function cmmm_Sheep$1_update($this) { var $var1, $var2, $var4, $var3, $var5, var$6, var$7; $var1 = nPm_MathHelper_sin($this.$sheep0.$yRot * 3.1415927410125732 / 180.0); $var2 = nPm_MathHelper_cos($this.$sheep0.$yRot * 3.1415927410125732 / 180.0); $var1 = (-0.699999988079071) * $var1; $var2 = 0.699999988079071 * $var2; $var4 = $this.$mob.$x + $var1 | 0; $var3 = $this.$mob.$y - 2.0 | 0; $var5 = $this.$mob.$z + $var2 | 0; if (!$this.$sheep0.$grazing) { $var4 = cmml_Level_getTile($this.$level4, $var4, $var3, $var5); cmmlt_Block_$callClinit(); if ($var4 == cmmlt_Block_GRASS.$id) { $this.$sheep0.$grazing = 1; $this.$sheep0.$grazingTime = 0; } cmmma_BasicAI_update($this); } else { var$6 = cmml_Level_getTile($this.$level4, $var4, $var3, $var5); cmmlt_Block_$callClinit(); if (var$6 != cmmlt_Block_GRASS.$id) $this.$sheep0.$grazing = 0; else { var$7 = $this.$sheep0; var$6 = var$7.$grazingTime + 1 | 0; var$7.$grazingTime = var$6; if (var$6 == 60) { cmml_Level_setTile($this.$level4, $var4, $var3, $var5, cmmlt_Block_DIRT.$id); if (!ju_Random_nextInt($this.$random4, 5)) $this.$sheep0.$hasFur = 1; } $this.$xxa0 = 0.0; $this.$yya0 = 0.0; $this.$mob.$xRot = 40 + ((($this.$sheep0.$grazingTime / 2 | 0) % 2 | 0) * 10 | 0) | 0; } } } function ji_ByteArrayOutputStream() { var a = this; ji_OutputStream.call(a); a.$buf2 = null; a.$count2 = 0; } function ji_ByteArrayOutputStream__init_() { var var_0 = new ji_ByteArrayOutputStream(); ji_ByteArrayOutputStream__init_0(var_0); return var_0; } function ji_ByteArrayOutputStream__init_0($this) { $this.$buf2 = $rt_createByteArray(32); } function ji_ByteArrayOutputStream_write($this, $b, $off, $len) { var $i, var$5, var$6, var$7, var$8; $i = $this.$count2 + $len | 0; if ($this.$buf2.data.length < $i) { var$5 = jl_Math_max($i, ($this.$buf2.data.length * 3 | 0) / 2 | 0); $this.$buf2 = ju_Arrays_copyOf0($this.$buf2, var$5); } $i = 0; while ($i < $len) { var$6 = $b.data; var$7 = $this.$buf2.data; var$5 = $this.$count2; $this.$count2 = var$5 + 1 | 0; var$8 = $off + 1 | 0; var$7[var$5] = var$6[$off]; $i = $i + 1 | 0; $off = var$8; } } function ji_ByteArrayOutputStream_toByteArray($this) { return ju_Arrays_copyOf0($this.$buf2, $this.$count2); } function jl_VirtualMachineError() { jl_Error.call(this); } function jl_OutOfMemoryError() { jl_VirtualMachineError.call(this); } function jnc_CoderMalfunctionError() { jl_Error.call(this); } function jnc_CoderMalfunctionError__init_(var_0) { var var_1 = new jnc_CoderMalfunctionError(); jnc_CoderMalfunctionError__init_0(var_1, var_0); return var_1; } function jnc_CoderMalfunctionError__init_0($this, $cause) { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$cause = $cause; } function otcit_DateTimeZoneBuilder() { jl_Object.call(this); } var otcit_DateTimeZoneBuilder_gmtCache = null; function otcit_DateTimeZoneBuilder_access$000() { if (otcit_DateTimeZoneBuilder_gmtCache === null) otcit_DateTimeZoneBuilder_gmtCache = ju_TimeZone_getTimeZone($rt_s(446)); return otcit_DateTimeZoneBuilder_gmtCache; } function cmmg_OptionsScreen() { var a = this; cmmg_GuiScreen.call(a); a.$parent0 = null; a.$title1 = null; a.$settings0 = null; } function cmmg_OptionsScreen__init_(var_0, var_1) { var var_2 = new cmmg_OptionsScreen(); cmmg_OptionsScreen__init_0(var_2, var_0, var_1); return var_2; } function cmmg_OptionsScreen__init_0($this, $var1, $var2) { cmmg_GuiScreen__init_($this); $this.$title1 = $rt_s(447); $this.$parent0 = $var1; $this.$settings0 = $var2; } function cmmg_OptionsScreen_onOpen($this) { var $var1; $var1 = 0; while ($var1 < $this.$settings0.$settingCount) { ju_ArrayList_add($this.$buttons, cmmg_OptionButton__init_($var1, (($this.$width4 / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0, ($this.$height4 / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0, cmm_GameSettings_getSetting($this.$settings0, $var1))); $var1 = $var1 + 1 | 0; } ju_ArrayList_add($this.$buttons, cmmg_Button__init_(100, ($this.$width4 / 2 | 0) - 100 | 0, (($this.$height4 / 6 | 0) + 120 | 0) + 12 | 0, $rt_s(448))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(200, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 6 | 0) + 168 | 0, $rt_s(449))); } function cmmg_OptionsScreen_onButtonClick($this, $var1) { var var$2, var$3, var$4; if ($var1.$active) { if ($var1.$id3 < 100) { cmm_GameSettings_toggleSetting($this.$settings0, $var1.$id3, 1); $var1.$text0 = cmm_GameSettings_getSetting($this.$settings0, $var1.$id3); } if ($var1.$id3 == 100) { var$2 = $this.$minecraft5; var$3 = new cmmg_ControlsScreen; var$4 = $this.$settings0; cmmg_GuiScreen__init_(var$3); var$3.$title2 = $rt_s(450); var$3.$selected1 = (-1); var$3.$parent1 = $this; var$3.$settings1 = var$4; cmm_Minecraft_setCurrentScreen(var$2, var$3); } if ($var1.$id3 == 200) cmm_Minecraft_setCurrentScreen($this.$minecraft5, $this.$parent0); } } function cmmg_OptionsScreen_render($this, $var1, $var2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: cmmg_Screen_drawFadingBox(0, 0, $this.$width4, $this.$height4, 1610941696, (-1607454624)); cmmg_Screen_drawCenteredString($this.$fontRenderer0, $this.$title1, $this.$width4 / 2 | 0, 20, 16777215); $ptr = 1; case 1: cmmg_GuiScreen_render($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function cmmg_GenerateLevelScreen() { cmmg_GuiScreen.call(this); this.$parent2 = null; } function cmmg_GenerateLevelScreen__init_(var_0) { var var_1 = new cmmg_GenerateLevelScreen(); cmmg_GenerateLevelScreen__init_0(var_1, var_0); return var_1; } function cmmg_GenerateLevelScreen__init_0($this, $var1) { cmmg_GuiScreen__init_($this); $this.$parent2 = $var1; } function cmmg_GenerateLevelScreen_onOpen($this) { ju_ArrayList_clear($this.$buttons); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(0, ($this.$width4 / 2 | 0) - 100 | 0, $this.$height4 / 4 | 0, $rt_s(451))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(1, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 24 | 0, $rt_s(452))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(2, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 48 | 0, $rt_s(453))); ju_ArrayList_add($this.$buttons, cmmg_Button__init_(3, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 4 | 0) + 120 | 0, $rt_s(454))); } function cmmg_GenerateLevelScreen_onButtonClick($this, $var1) { var var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1.$id3 == 3) { cmm_Minecraft_setCurrentScreen($this.$minecraft5, $this.$parent2); return; } var$2 = $this.$minecraft5; var$3 = $var1.$id3; $ptr = 1; case 1: cmm_Minecraft_generateLevel(var$2, var$3); if ($rt_suspending()) { break main; } cmm_Minecraft_setCurrentScreen($this.$minecraft5, null); cmm_Minecraft_grabMouse($this.$minecraft5); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $ptr); } function cmmg_GenerateLevelScreen_render($this, $var1, $var2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: cmmg_Screen_drawFadingBox(0, 0, $this.$width4, $this.$height4, 1610941696, (-1607454624)); cmmg_Screen_drawCenteredString($this.$fontRenderer0, $rt_s(455), $this.$width4 / 2 | 0, 40, 16777215); $ptr = 1; case 1: cmmg_GuiScreen_render($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function ju_Objects() { jl_Object.call(this); } function ju_Objects_equals($a, $b) { if ($a === $b) return 1; return $a !== null ? $a.$equals($b) : $b !== null ? 0 : 1; } function cmmp_SmokeParticle() { cmmp_Particle.call(this); } function cmmp_SmokeParticle_render($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { cmmp_Particle_render($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); } function cmmp_SmokeParticle_tick($this) { var var$1; $this.$xo = $this.$x; $this.$yo = $this.$y; $this.$zo = $this.$z; var$1 = $this.$age0; $this.$age0 = var$1 + 1 | 0; if (var$1 >= $this.$lifetime) cmm_Entity_remove($this); $this.$tex = 7 - (($this.$age0 << 3) / $this.$lifetime | 0) | 0; $this.$yd2 = $this.$yd2 + 0.004; cmm_Entity_move($this, $this.$xd2, $this.$yd2, $this.$zd2); $this.$xd2 = $this.$xd2 * 0.9599999785423279; $this.$yd2 = $this.$yd2 * 0.9599999785423279; $this.$zd2 = $this.$zd2 * 0.9599999785423279; if ($this.$onGround) { $this.$xd2 = $this.$xd2 * 0.699999988079071; $this.$zd2 = $this.$zd2 * 0.699999988079071; } } function jnci_BufferedEncoder$Controller() { var a = this; jl_Object.call(a); a.$in0 = null; a.$out2 = null; a.$inPosition = 0; a.$outPosition = 0; } function jnci_BufferedEncoder$Controller_hasMoreInput($this) { return jn_Buffer_hasRemaining($this.$in0); } function jnci_BufferedEncoder$Controller_hasMoreOutput($this, $sz) { return jn_Buffer_remaining($this.$out2) < $sz ? 0 : 1; } function jnci_BufferedEncoder$Controller_setInPosition($this, $inPosition) { $this.$inPosition = $inPosition; } function jnci_BufferedEncoder$Controller_setOutPosition($this, $outPosition) { $this.$outPosition = $outPosition; } function jnc_BufferUnderflowException() { jl_RuntimeException.call(this); } function jnc_BufferOverflowException() { jl_RuntimeException.call(this); } function jnc_MalformedInputException() { jnc_CharacterCodingException.call(this); this.$length3 = 0; } function jnc_MalformedInputException_getMessage($this) { return jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(456)), $this.$length3)); } function jnc_UnmappableCharacterException() { jnc_CharacterCodingException.call(this); this.$length4 = 0; } function jnc_UnmappableCharacterException_getMessage($this) { return jl_StringBuilder_toString(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(457)), $this.$length4)); } function cmmg_ControlsScreen() { var a = this; cmmg_GuiScreen.call(a); a.$parent1 = null; a.$title2 = null; a.$settings1 = null; a.$selected1 = 0; } function cmmg_ControlsScreen_onOpen($this) { var $var1; $var1 = 0; while ($var1 < $this.$settings1.$bindings.data.length) { ju_ArrayList_add($this.$buttons, cmmg_OptionButton__init_($var1, (($this.$width4 / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0, ($this.$height4 / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0, cmm_GameSettings_getBinding($this.$settings1, $var1))); $var1 = $var1 + 1 | 0; } ju_ArrayList_add($this.$buttons, cmmg_Button__init_(200, ($this.$width4 / 2 | 0) - 100 | 0, ($this.$height4 / 6 | 0) + 168 | 0, $rt_s(449))); } function cmmg_ControlsScreen_onButtonClick($this, $var1) { var $var2; $var2 = 0; while ($var2 < $this.$settings1.$bindings.data.length) { ju_ArrayList_get($this.$buttons, $var2).$text0 = cmm_GameSettings_getBinding($this.$settings1, $var2); $var2 = $var2 + 1 | 0; } if ($var1.$id3 == 200) cmm_Minecraft_setCurrentScreen($this.$minecraft5, $this.$parent1); else { $this.$selected1 = $var1.$id3; $var1.$text0 = jl_StringBuilder_toString(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder__init_(), $rt_s(458)), cmm_GameSettings_getBinding($this.$settings1, $var1.$id3)), $rt_s(459))); } } function cmmg_ControlsScreen_onKeyPress($this, $var1, $var2) { if ($this.$selected1 < 0) cmmg_GuiScreen_onKeyPress($this, $var1, $var2); else { cmm_GameSettings_setBinding($this.$settings1, $this.$selected1, $var2); ju_ArrayList_get($this.$buttons, $this.$selected1).$text0 = cmm_GameSettings_getBinding($this.$settings1, $this.$selected1); $this.$selected1 = (-1); } } function cmmg_ControlsScreen_render($this, $var1, $var2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: cmmg_Screen_drawFadingBox(0, 0, $this.$width4, $this.$height4, 1610941696, (-1607454624)); cmmg_Screen_drawCenteredString($this.$fontRenderer0, $this.$title2, $this.$width4 / 2 | 0, 20, 16777215); $ptr = 1; case 1: cmmg_GuiScreen_render($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function cmmg_OptionButton() { cmmg_Button.call(this); } function cmmg_OptionButton__init_(var_0, var_1, var_2, var_3) { var var_4 = new cmmg_OptionButton(); cmmg_OptionButton__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function cmmg_OptionButton__init_0($this, $var1, $var2, $var3, $var4) { cmmg_Button__init_2($this, $var1, $var2, $var3, 150, 20, $var4); } function jl_StrictMath() { jl_Object.call(this); } function jl_AbstractStringBuilder$Constants() { jl_Object.call(this); } var jl_AbstractStringBuilder$Constants_intPowersOfTen = null; var jl_AbstractStringBuilder$Constants_longPowersOfTen = null; var jl_AbstractStringBuilder$Constants_longLogPowersOfTen = null; var jl_AbstractStringBuilder$Constants_doubleAnalysisResult = null; var jl_AbstractStringBuilder$Constants_floatAnalysisResult = null; function jl_AbstractStringBuilder$Constants__clinit_() { var var$1, var$2; var$1 = $rt_createIntArray(10); var$2 = var$1.data; var$2[0] = 1; var$2[1] = 10; var$2[2] = 100; var$2[3] = 1000; var$2[4] = 10000; var$2[5] = 100000; var$2[6] = 1000000; var$2[7] = 10000000; var$2[8] = 100000000; var$2[9] = 1000000000; jl_AbstractStringBuilder$Constants_intPowersOfTen = var$1; var$1 = $rt_createLongArray(19); var$2 = var$1.data; var$2[0] = Long_fromInt(1); var$2[1] = Long_fromInt(10); var$2[2] = Long_fromInt(100); var$2[3] = Long_fromInt(1000); var$2[4] = Long_fromInt(10000); var$2[5] = Long_fromInt(100000); var$2[6] = Long_fromInt(1000000); var$2[7] = Long_fromInt(10000000); var$2[8] = Long_fromInt(100000000); var$2[9] = Long_fromInt(1000000000); var$2[10] = new Long(1410065408, 2); var$2[11] = new Long(1215752192, 23); var$2[12] = new Long(3567587328, 232); var$2[13] = new Long(1316134912, 2328); var$2[14] = new Long(276447232, 23283); var$2[15] = new Long(2764472320, 232830); var$2[16] = new Long(1874919424, 2328306); var$2[17] = new Long(1569325056, 23283064); var$2[18] = new Long(2808348672, 232830643); jl_AbstractStringBuilder$Constants_longPowersOfTen = var$1; var$1 = $rt_createLongArray(6); var$2 = var$1.data; var$2[0] = Long_fromInt(1); var$2[1] = Long_fromInt(10); var$2[2] = Long_fromInt(100); var$2[3] = Long_fromInt(10000); var$2[4] = Long_fromInt(100000000); var$2[5] = new Long(1874919424, 2328306); jl_AbstractStringBuilder$Constants_longLogPowersOfTen = var$1; jl_AbstractStringBuilder$Constants_doubleAnalysisResult = new otcit_DoubleAnalyzer$Result; jl_AbstractStringBuilder$Constants_floatAnalysisResult = new otcit_FloatAnalyzer$Result; } function otcit_FloatAnalyzer() { jl_Object.call(this); } var otcit_FloatAnalyzer_mantissa10Table = null; var otcit_FloatAnalyzer_exp10Table = null; function otcit_FloatAnalyzer_analyze($d, $result) { var $bits, $mantissa, $exponent, $errorShift, var$7, $decMantissa, $error, $decExponent, $upError, $mantissaShift, var$13, $downError, $lowerPos, $upperPos; $bits = $rt_floatToIntBits($d); $result.$sign = !($bits & (-2147483648)) ? 0 : 1; $mantissa = $bits & 8388607; $exponent = $bits >> 23 & 255; if (!$mantissa && !$exponent) { $result.$mantissa = 0; $result.$exponent = 0; return; } $errorShift = 0; if ($exponent) $mantissa = $mantissa | 8388608; else { $mantissa = $mantissa << 1; while (Long_eq(Long_and(Long_fromInt($mantissa), Long_fromInt(8388608)), Long_ZERO)) { $mantissa = $mantissa << 1; $exponent = $exponent + (-1) | 0; $errorShift = $errorShift + 1 | 0; } } var$7 = otcit_FloatAnalyzer_exp10Table.data; $decMantissa = 0; $error = var$7.length; if ($decMantissa > $error) { $result = new jl_IllegalArgumentException; jl_Throwable__init_0($result); $rt_throw($result); } $error = $error - 1 | 0; a: { while (true) { $decExponent = ($decMantissa + $error | 0) / 2 | 0; $upError = var$7[$decExponent]; if ($upError == $exponent) break; if ($exponent >= $upError) { $decMantissa = $decExponent + 1 | 0; if ($decMantissa > $error) { $decExponent = -$decExponent - 2 | 0; break a; } } else { $error = $decExponent - 1 | 0; if ($error < $decMantissa) { $decExponent = -$decExponent - 1 | 0; break a; } } } } if ($decExponent < 0) $decExponent = -$decExponent - 2 | 0; $mantissaShift = 9 + ($exponent - otcit_FloatAnalyzer_exp10Table.data[$decExponent] | 0) | 0; var$13 = Long_fromInt($mantissa); $decMantissa = Long_shru(Long_mul(var$13, Long_fromInt(otcit_FloatAnalyzer_mantissa10Table.data[$decExponent])), 32 - $mantissaShift | 0).lo; if ($decMantissa >= 1000000000) { $decExponent = $decExponent + 1 | 0; $mantissaShift = 9 + ($exponent - otcit_FloatAnalyzer_exp10Table.data[$decExponent] | 0) | 0; $decMantissa = Long_shru(Long_mul(var$13, Long_fromInt(otcit_FloatAnalyzer_mantissa10Table.data[$decExponent])), 32 - $mantissaShift | 0).lo; } $exponent = (31 - $mantissaShift | 0) - $errorShift | 0; $error = $exponent >= 0 ? otcit_FloatAnalyzer_mantissa10Table.data[$decExponent] >>> $exponent : otcit_FloatAnalyzer_mantissa10Table.data[$decExponent] << -$exponent; $upError = ($error + 1 | 0) >> 1; $downError = $error >> 1; if ($mantissa == 4194304) $downError = $downError >> 2; $lowerPos = 10; while ($lowerPos <= $downError) { $lowerPos = $lowerPos * 10 | 0; } if (($decMantissa % $lowerPos | 0) >= ($downError / 2 | 0)) $lowerPos = $lowerPos / 10 | 0; $upperPos = 10; while ($upperPos <= $upError) { $upperPos = $upperPos * 10 | 0; } if (($upperPos - ($decMantissa % $upperPos | 0) | 0) > ($upError / 2 | 0)) $upperPos = $upperPos / 10 | 0; $mantissa = $rt_compare($lowerPos, $upperPos); $mantissa = $mantissa > 0 ? $rt_imul($decMantissa / $lowerPos | 0, $lowerPos) : $mantissa < 0 ? $rt_imul($decMantissa / $upperPos | 0, $upperPos) + $upperPos | 0 : $rt_imul(($decMantissa + ($upperPos / 2 | 0) | 0) / $upperPos | 0, $upperPos); if ($mantissa >= 1000000000) { $decExponent = $decExponent + 1 | 0; $mantissa = $mantissa / 10 | 0; } else if ($mantissa < 100000000) { $decExponent = $decExponent + (-1) | 0; $mantissa = $mantissa * 10 | 0; } $result.$mantissa = $mantissa; $result.$exponent = $decExponent - 50 | 0; } function otcit_FloatAnalyzer__clinit_() { var $decMantissaOne, $exponent, $i, $maxMantissa, var$5, var$6, $remainder, $shift; otcit_FloatAnalyzer_mantissa10Table = $rt_createIntArray(100); otcit_FloatAnalyzer_exp10Table = $rt_createIntArray(100); $decMantissaOne = 2000000000; $exponent = 127; $i = 0; $maxMantissa = $decMantissaOne; while ($i < 50) { var$5 = otcit_FloatAnalyzer_mantissa10Table.data; var$6 = $i + 50 | 0; var$5[var$6] = $rt_udiv($maxMantissa, 20); otcit_FloatAnalyzer_exp10Table.data[var$6] = $exponent; var$6 = $rt_udiv($maxMantissa, 10); $remainder = $rt_umod(var$6, 10); while (var$6 <= $decMantissaOne && !(var$6 & (-2147483648))) { var$6 = var$6 << 1; $exponent = $exponent + 1 | 0; $remainder = $remainder << 1; } $maxMantissa = var$6 + ($remainder / 10 | 0) | 0; $i = $i + 1 | 0; } $exponent = 127; $i = 0; while ($i < 50) { $shift = 0; $remainder = $decMantissaOne; while ($remainder > 214748364) { $remainder = $remainder >> 1; $shift = $shift + 1 | 0; $exponent = $exponent + (-1) | 0; } $remainder = $remainder * 10 | 0; $decMantissaOne = $shift <= 0 ? $remainder : Long_add(Long_fromInt($remainder), Long_shr(Long_mul(Long_fromInt($decMantissaOne & ((1 << $shift) - 1 | 0)), Long_fromInt(10)), $shift)).lo; var$5 = otcit_FloatAnalyzer_mantissa10Table.data; $shift = (50 - $i | 0) - 1 | 0; var$5[$shift] = $rt_udiv($decMantissaOne, 20); otcit_FloatAnalyzer_exp10Table.data[$shift] = $exponent; $i = $i + 1 | 0; } } function otcit_FloatAnalyzer$Result() { var a = this; jl_Object.call(a); a.$mantissa = 0; a.$exponent = 0; a.$sign = 0; } function otcit_DoubleAnalyzer$Result() { jl_Object.call(this); } function cmmi_TakeEntityAnim() { var a = this; cmm_Entity.call(a); a.$time3 = 0; a.$item0 = null; a.$player4 = null; a.$xorg = 0.0; a.$yorg = 0.0; a.$zorg = 0.0; } function cmmi_TakeEntityAnim__init_(var_0, var_1, var_2) { var var_3 = new cmmi_TakeEntityAnim(); cmmi_TakeEntityAnim__init_0(var_3, var_0, var_1, var_2); return var_3; } function cmmi_TakeEntityAnim__init_0($this, $level1, $item, $player) { cmm_Entity__init_0($this, $level1); $this.$time3 = 0; $this.$item0 = $item; $this.$player4 = $player; cmm_Entity_setSize($this, 1.0, 1.0); $this.$xorg = $item.$x; $this.$yorg = $item.$y; $this.$zorg = $item.$z; } function cmmi_TakeEntityAnim_tick($this) { var var$1, var$2, var$3; $this.$time3 = $this.$time3 + 1 | 0; if ($this.$time3 >= 3) cmm_Entity_remove($this); var$1 = $this.$time3 / 3.0; var$1 = var$1 * var$1; var$2 = $this.$item0; var$3 = $this.$item0.$x; var$2.$xo = var$3; $this.$xo = var$3; var$2 = $this.$item0; var$3 = $this.$item0.$y; var$2.$yo = var$3; $this.$yo = var$3; var$2 = $this.$item0; var$3 = $this.$item0.$z; var$2.$zo = var$3; $this.$zo = var$3; var$2 = $this.$item0; var$3 = $this.$xorg + ($this.$player4.$x - $this.$xorg) * var$1; var$2.$x = var$3; $this.$x = var$3; var$2 = $this.$item0; var$3 = $this.$yorg + ($this.$player4.$y - 1.0 - $this.$yorg) * var$1; var$2.$y = var$3; $this.$y = var$3; var$2 = $this.$item0; var$1 = $this.$zorg + ($this.$player4.$z - $this.$zorg) * var$1; var$2.$z = var$1; $this.$z = var$1; cmm_Entity_setPos($this, $this.$x, $this.$y, $this.$z); } function cmmi_TakeEntityAnim_render($this, $unknown0) { var var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$unknown0 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$item0; $ptr = 1; case 1: var$2.$render3($unknown0); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $unknown0, var$2, $ptr); } function jnci_BufferedDecoder$Controller() { var a = this; jl_Object.call(a); a.$in1 = null; a.$out3 = null; a.$inPosition0 = 0; a.$outPosition0 = 0; } function jnci_BufferedDecoder$Controller_hasMoreInput($this) { return jn_Buffer_hasRemaining($this.$in1); } function jnci_BufferedDecoder$Controller_hasMoreOutput($this, $sz) { return jn_Buffer_remaining($this.$out3) < $sz ? 0 : 1; } function jnci_BufferedDecoder$Controller_setInPosition($this, $inPosition) { $this.$inPosition0 = $inPosition; } function jnci_BufferedDecoder$Controller_setOutPosition($this, $outPosition) { $this.$outPosition0 = $outPosition; } $rt_packages([-1, "com", 0, "mojang", 1, "minecraft", 0, "jcraft", 3, "jzlib", -1, "java", 5, "util", 5, "nio", 7, "charset", 5, "io", 5, "lang", -1, "net", 11, "lax1dude", 12, "eaglercraft" ]); $rt_metadata([jl_Object, "Object", 10, 0, [], 0, 3, 0, ["$equals", function(var_1) { return jl_Object_equals(this, var_1); }], nle_Client, 0, jl_Object, [], 0, 3, 0, 0, jlr_AnnotatedElement, 0, jl_Object, [], 3, 3, 0, 0, jl_Class, 0, jl_Object, [jlr_AnnotatedElement], 0, 3, 0, 0, otji_JS, 0, jl_Object, [], 4, 0, 0, 0, otp_Platform, 0, jl_Object, [], 4, 3, 0, 0, ji_Serializable, 0, jl_Object, [], 3, 3, 0, 0, jl_Comparable, 0, jl_Object, [], 3, 3, 0, 0, jl_CharSequence, 0, jl_Object, [], 3, 3, 0, 0, jl_String, 0, jl_Object, [ji_Serializable, jl_Comparable, jl_CharSequence], 0, 3, 0, ["$toString", function() { return jl_String_toString(this); }, "$equals", function(var_1) { return jl_String_equals(this, var_1); }, "$hashCode0", function() { return jl_String_hashCode(this); }, "$compareTo2", function(var_1) { return jl_String_compareTo0(this, var_1); }], jl_Throwable, 0, jl_Object, [], 0, 3, 0, ["$getMessage", function() { return jl_Throwable_getMessage(this); }, "$toString", function() { return jl_Throwable_toString(this); }], jl_Error, 0, jl_Throwable, [], 0, 3, 0, 0, jl_LinkageError, 0, jl_Error, [], 0, 3, 0, 0, jl_NoClassDefFoundError, 0, jl_LinkageError, [], 0, 3, 0, 0, jl_AbstractStringBuilder, 0, jl_Object, [ji_Serializable, jl_CharSequence], 0, 0, 0, 0, jl_Appendable, 0, jl_Object, [], 3, 3, 0, 0, jl_StringBuilder, 0, jl_AbstractStringBuilder, [jl_Appendable], 0, 3, 0, ["$ensureCapacity", function(var_1) { jl_StringBuilder_ensureCapacity(this, var_1); }], jl_Number, 0, jl_Object, [ji_Serializable], 1, 3, 0, 0, jl_Integer, 0, jl_Number, [jl_Comparable], 0, 3, 0, ["$hashCode0", function() { return jl_Integer_hashCode(this); }, "$equals", function(var_1) { return jl_Integer_equals(this, var_1); }, "$compareTo2", function(var_1) { return jl_Integer_compareTo0(this, var_1); }], jl_IncompatibleClassChangeError, 0, jl_LinkageError, [], 0, 3, 0, 0, jl_NoSuchFieldError, 0, jl_IncompatibleClassChangeError, [], 0, 3, 0, 0, jl_NoSuchMethodError, 0, jl_IncompatibleClassChangeError, [], 0, 3, 0, 0, jl_Exception, 0, jl_Throwable, [], 0, 3, 0, 0, jl_RuntimeException, "RuntimeException", 10, jl_Exception, [], 0, 3, 0, 0, otj_JSObject, 0, jl_Object, [], 3, 3, 0, 0, otjde_EventTarget, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, otjde_FocusEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, otjde_MouseEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, otjde_KeyboardEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, otjde_LoadEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, otjb_WindowEventTarget, 0, jl_Object, [otjde_EventTarget, otjde_FocusEventTarget, otjde_MouseEventTarget, otjde_KeyboardEventTarget, otjde_LoadEventTarget], 3, 3, 0, 0, otjb_StorageProvider, 0, jl_Object, [], 3, 3, 0, 0, otjc_JSArrayReader, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, otjb_Window, 0, jl_Object, [otj_JSObject, otjb_WindowEventTarget, otjb_StorageProvider, otjc_JSArrayReader], 1, 3, 0, ["$addEventListener$exported$0", function(var_1, var_2) { return otjb_Window_addEventListener$exported$0(this, var_1, var_2); }, "$removeEventListener$exported$1", function(var_1, var_2) { return otjb_Window_removeEventListener$exported$1(this, var_1, var_2); }, "$get$exported$2", function(var_1) { return otjb_Window_get$exported$2(this, var_1); }, "$removeEventListener$exported$3", function(var_1, var_2, var_3) { return otjb_Window_removeEventListener$exported$3(this, var_1, var_2, var_3); }, "$dispatchEvent$exported$4", function(var_1) { return otjb_Window_dispatchEvent$exported$4(this, var_1); }, "$getLength$exported$5", function() { return otjb_Window_getLength$exported$5(this); }, "$addEventListener$exported$6", function(var_1, var_2, var_3) { return otjb_Window_addEventListener$exported$6(this, var_1, var_2, var_3); }], nlea_EaglerAdapterImpl2, 0, jl_Object, [], 0, 3, nlea_EaglerAdapterImpl2_$callClinit, 0, nle_Client$AbortedLaunchException, "Client$AbortedLaunchException", 13, jl_RuntimeException, [], 0, 3, 0, 0, jl_AutoCloseable, 0, jl_Object, [], 3, 3, 0, 0, ji_Closeable, 0, jl_Object, [jl_AutoCloseable], 3, 3, 0, 0, ji_Flushable, 0, jl_Object, [], 3, 3, 0, 0, ji_Writer, 0, jl_Object, [jl_Appendable, ji_Closeable, ji_Flushable], 1, 3, 0, 0, ji_StringWriter, 0, ji_Writer, [], 0, 3, 0, 0, ji_PrintWriter, 0, ji_Writer, [], 0, 3, 0, 0, otci_IntegerUtil, 0, jl_Object, [], 4, 3, 0, 0, otjc_JSString, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, jl_System, 0, jl_Object, [], 4, 3, 0, 0, jl_Runnable, 0, jl_Object, [], 3, 3, 0, 0, cmm_Minecraft, 0, jl_Object, [jl_Runnable], 4, 3, 0, 0, otjde_EventListener, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, nlea_EaglerAdapterImpl2$2, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$2_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$3, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$3_handleEvent$exported$0(this, var_1); }]]); $rt_metadata([nlea_EaglerAdapterImpl2$4, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$4_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$5, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$5_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$6, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$6_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$7, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$7_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$8, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$8_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$9, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$9_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$10, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$10_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$11, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$11_handleEvent$exported$0(this, var_1); }], nle_EarlyLoadScreen, 0, jl_Object, [], 0, 3, 0, 0, nleat_IndexedDBFilesystem, 0, jl_Object, [], 0, 3, 0, 0, jl_Enum, 0, jl_Object, [jl_Comparable, ji_Serializable], 1, 3, 0, 0, nleat_IndexedDBFilesystem$OpenState, 0, jl_Enum, [], 12, 3, 0, 0, otjw_AudioContext, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, jl_Thread, 0, jl_Object, [jl_Runnable], 0, 3, 0, 0, jl_InterruptedException, 0, jl_Exception, [], 0, 3, 0, 0, nle_AssetRepository, 0, jl_Object, [], 0, 3, 0, 0, ji_IOException, "IOException", 9, jl_Exception, [], 0, 3, 0, 0, jl_StringBuffer, 0, jl_AbstractStringBuilder, [jl_Appendable], 0, 3, 0, ["$ensureCapacity", function(var_1) { jl_StringBuffer_ensureCapacity(this, var_1); }], ju_Comparator, 0, jl_Object, [], 3, 3, 0, 0, jl_String$_clinit_$lambda$_81_0, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, jl_Character, 0, jl_Object, [jl_Comparable], 0, 3, 0, 0, ji_OutputStream, 0, jl_Object, [ji_Closeable, ji_Flushable], 1, 3, 0, 0, ji_FilterOutputStream, 0, ji_OutputStream, [], 0, 3, 0, 0, ji_PrintStream, 0, ji_FilterOutputStream, [], 0, 3, 0, 0, jl_ConsoleOutputStreamStdout, 0, ji_OutputStream, [], 0, 0, 0, ["$write2", function(var_1) { jl_ConsoleOutputStreamStdout_write(this, var_1); }], cmmg_GameMode, 0, jl_Object, [], 0, 3, 0, 0, cmmg_SurvivalGameMode, 0, cmmg_GameMode, [], 4, 3, 0, 0, cmm_Timer, 0, jl_Object, [], 0, 3, 0, 0, cmm_ProgressBarDisplay, 0, jl_Object, [], 4, 3, 0, 0, cmmr_Renderer, 0, jl_Object, [], 4, 3, 0, 0, cmml_LevelIO, 0, jl_Object, [], 4, 3, 0, 0, cmmm_Model, 0, jl_Object, [], 1, 3, 0, 0, cmmm_HumanoidModel, 0, cmmm_Model, [], 0, 3, 0, ["$render6", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_HumanoidModel_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_HumanoidModel_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6); }], cmm_SleepForeverThread, 0, jl_Thread, [], 0, 3, 0, 0, olo_EaglerAdapterGL30, 0, nlea_EaglerAdapterImpl2, [], 0, 3, olo_EaglerAdapterGL30_$callClinit, 0, olo_GL11, 0, olo_EaglerAdapterGL30, [], 0, 3, 0, 0, cmm_SessionData, 0, jl_Object, [], 4, 3, cmm_SessionData_$callClinit, 0, jl_Iterable, 0, jl_Object, [], 3, 3, 0, 0, ju_Collection, 0, jl_Object, [jl_Iterable], 3, 3, 0, 0, ju_AbstractCollection, 0, jl_Object, [ju_Collection], 1, 3, 0, 0, ju_List, 0, jl_Object, [ju_Collection], 3, 3, 0, 0, ju_AbstractList, 0, ju_AbstractCollection, [ju_List], 1, 3, 0, 0, ju_AbstractSequentialList, 0, ju_AbstractList, [], 1, 3, 0, 0, ju_Queue, 0, jl_Object, [ju_Collection], 3, 3, 0, 0, ju_Deque, 0, jl_Object, [ju_Queue], 3, 3, 0, 0, ju_LinkedList, 0, ju_AbstractSequentialList, [ju_Deque], 0, 3, 0, ["$size", function() { return ju_LinkedList_size(this); }], otjt_ArrayBuffer, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, otjt_ArrayBufferView, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, otjt_Uint8Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0, otjt_Float32Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0]); $rt_metadata([jl_Cloneable, 0, jl_Object, [], 3, 3, 0, 0, jt_Format, 0, jl_Object, [ji_Serializable, jl_Cloneable], 1, 3, 0, 0, jt_DateFormat, 0, jt_Format, [], 1, 3, 0, 0, jt_SimpleDateFormat, 0, jt_DateFormat, [], 0, 3, 0, 0, ju_Set, 0, jl_Object, [ju_Collection], 3, 3, 0, 0, ju_AbstractSet, 0, ju_AbstractCollection, [ju_Set], 1, 3, 0, 0, ju_HashSet, 0, ju_AbstractSet, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, ju_Map, 0, jl_Object, [], 3, 3, 0, 0, ju_AbstractMap, 0, jl_Object, [ju_Map], 1, 3, 0, 0, ju_HashMap, 0, ju_AbstractMap, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, otjt_Int32Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0, nle_BaseNCodec, 0, jl_Object, [], 1, 3, 0, 0, nle_Base64, 0, nle_BaseNCodec, [], 0, 3, 0, 0, nle_GLAllocation, 0, jl_Object, [], 0, 3, 0, 0, nle_EaglerImage, 0, jl_Object, [], 0, 3, 0, 0, jl_Float, 0, jl_Number, [jl_Comparable], 0, 3, 0, 0, nleat_IndexedDBFilesystem$AsyncHandlers, 0, jl_Object, [], 0, 3, 0, 0, nleat_IndexedDBFilesystem$DatabaseOpen, 0, jl_Object, [], 0, 3, 0, 0, oti_AsyncCallback, 0, jl_Object, [], 3, 3, 0, 0, otpp_AsyncCallbackWrapper, 0, jl_Object, [oti_AsyncCallback], 0, 0, 0, ["$complete", function(var_1) { otpp_AsyncCallbackWrapper_complete(this, var_1); }, "$error", function(var_1) { otpp_AsyncCallbackWrapper_error(this, var_1); }], otja_XMLHttpRequest, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, otja_ReadyStateChangeHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, nlea_EaglerAdapterImpl2$1, 0, jl_Object, [otja_ReadyStateChangeHandler], 4, 0, 0, ["$stateChanged$exported$0", function() { return nlea_EaglerAdapterImpl2$1_stateChanged$exported$0(this); }], otp_PlatformRunnable, 0, jl_Object, [], 3, 3, 0, 0, otr_EventQueue$Event, 0, jl_Object, [], 3, 3, 0, 0, jl_ThreadInterruptHandler, 0, jl_Object, [], 3, 3, 0, 0, jl_Thread$SleepHandler, 0, jl_Object, [otp_PlatformRunnable, otr_EventQueue$Event, jl_ThreadInterruptHandler], 0, 0, 0, ["$run", function() { jl_Thread$SleepHandler_run(this); }], ji_InputStream, 0, jl_Object, [ji_Closeable], 1, 3, 0, 0, ji_ByteArrayInputStream, 0, ji_InputStream, [], 0, 3, 0, ["$read0", function(var_1, var_2, var_3) { return ji_ByteArrayInputStream_read(this, var_1, var_2, var_3); }, "$available", function() { return ji_ByteArrayInputStream_available(this); }], ji_FilterInputStream, 0, ji_InputStream, [], 0, 3, 0, 0, ji_DataInput, 0, jl_Object, [], 3, 3, 0, 0, ji_DataInputStream, 0, ji_FilterInputStream, [ji_DataInput], 0, 3, 0, 0, jnc_Charset, 0, jl_Object, [jl_Comparable], 1, 3, 0, 0, cjj_InflaterInputStream, 0, ji_FilterInputStream, [], 0, 3, 0, ["$read0", function(var_1, var_2, var_3) { return cjj_InflaterInputStream_read(this, var_1, var_2, var_3); }, "$available", function() { return cjj_InflaterInputStream_available(this); }], nle_GeneralDigest, 0, jl_Object, [], 1, 3, 0, 0, nle_SHA1Digest, 0, nle_GeneralDigest, [], 0, 3, 0, 0, ju_Arrays, 0, jl_Object, [], 0, 3, 0, 0, jnci_UTF8Charset, 0, jnc_Charset, [], 0, 3, 0, 0, ju_Random, 0, jl_Object, [ji_Serializable], 0, 3, 0, 0, cmmr_HeldBlock, 0, jl_Object, [], 0, 3, 0, 0, cmmm_ModelPart, 0, jl_Object, [], 4, 3, 0, 0, ju_Locale, 0, jl_Object, [jl_Cloneable, ji_Serializable], 4, 3, 0, ["$equals", function(var_1) { return ju_Locale_equals(this, var_1); }], nlea_EaglerAdapterImpl2$TextureGL, 0, jl_Object, [], 4, 3, 0, 0, jn_Buffer, 0, jl_Object, [], 1, 3, 0, 0, jn_IntBuffer, 0, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, nlea_EaglerAdapterImpl2$BufferGL, 0, jl_Object, [], 4, 3, 0, 0, nlea_EaglerAdapterImpl2$ShaderGL, 0, jl_Object, [], 4, 3, 0, 0, nlea_EaglerAdapterImpl2$ProgramGL, 0, jl_Object, [], 4, 3, 0, 0, nlea_EaglerAdapterImpl2$UniformGL, 0, jl_Object, [], 4, 3, 0, 0, nlea_EaglerAdapterImpl2$BufferArrayGL, 0, jl_Object, [], 4, 3, 0, 0]); $rt_metadata([otji_EventHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, nleat_IndexedDBFilesystem$AsyncHandlers$1, 0, jl_Object, [otji_EventHandler], 4, 0, 0, ["$handleEvent$exported$00", function() { return nleat_IndexedDBFilesystem$AsyncHandlers$1_handleEvent$exported$0(this); }], nleat_IndexedDBFilesystem$AsyncHandlers$2, 0, jl_Object, [otji_EventHandler], 4, 0, 0, ["$handleEvent$exported$00", function() { return nleat_IndexedDBFilesystem$AsyncHandlers$2_handleEvent$exported$0(this); }], nleat_IndexedDBFilesystem$AsyncHandlers$3, 0, jl_Object, [otji_EventHandler], 4, 0, 0, ["$handleEvent$exported$00", function() { return nleat_IndexedDBFilesystem$AsyncHandlers$3_handleEvent$exported$0(this); }], nleat_IndexedDBFilesystem$AsyncHandlers$4, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent$exported$0(this, var_1); }], jnc_Charset$Charsets, 0, jl_Object, [], 0, 0, 0, 0, jl_IllegalArgumentException, "IllegalArgumentException", 10, jl_RuntimeException, [], 0, 3, 0, 0, jnc_UnsupportedCharsetException, "UnsupportedCharsetException", 8, jl_IllegalArgumentException, [], 0, 3, 0, 0, jl_NullPointerException, "NullPointerException", 10, jl_RuntimeException, [], 0, 3, 0, 0, otjb_Performance, 0, jl_Object, [otj_JSObject], 4, 3, 0, 0, jn_FloatBuffer, 0, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, ju_RandomAccess, 0, jl_Object, [], 3, 3, 0, 0, ju_ArrayList, 0, ju_AbstractList, [jl_Cloneable, ji_Serializable, ju_RandomAccess], 0, 3, 0, 0, cmmlt_Block, 0, jl_Object, [], 0, 3, cmmlt_Block_$callClinit, ["$isCube", function() { return cmmlt_Block_isCube(this); }, "$renderFullbright", function(var_1) { cmmlt_Block_renderFullbright(this, var_1); }, "$getBrightness0", function(var_1, var_2, var_3, var_4) { return cmmlt_Block_getBrightness(this, var_1, var_2, var_3, var_4); }, "$canRenderSide", function(var_1, var_2, var_3, var_4, var_5) { return cmmlt_Block_canRenderSide(this, var_1, var_2, var_3, var_4, var_5); }, "$getTextureId", function(var_1) { return cmmlt_Block_getTextureId(this, var_1); }, "$renderInside", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_Block_renderInside(this, var_1, var_2, var_3, var_4, var_5); }, "$getCollisionBox", function(var_1, var_2, var_3) { return cmmlt_Block_getCollisionBox(this, var_1, var_2, var_3); }, "$isOpaque", function() { return cmmlt_Block_isOpaque(this); }, "$isSolid0", function() { return cmmlt_Block_isSolid(this); }, "$update3", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_Block_update(this, var_1, var_2, var_3, var_4, var_5); }, "$spawnBreakParticles", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_Block_spawnBreakParticles(this, var_1, var_2, var_3, var_4, var_5); }, "$getLiquidType", function() { return cmmlt_Block_getLiquidType(this); }, "$onNeighborChange", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_Block_onNeighborChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onPlace", function(var_1, var_2, var_3, var_4) { cmmlt_Block_onPlace(this, var_1, var_2, var_3, var_4); }, "$getTickDelay", function() { return cmmlt_Block_getTickDelay(this); }, "$onAdded", function(var_1, var_2, var_3, var_4) { cmmlt_Block_onAdded(this, var_1, var_2, var_3, var_4); }, "$onRemoved", function(var_1, var_2, var_3, var_4) { cmmlt_Block_onRemoved(this, var_1, var_2, var_3, var_4); }, "$getDropCount", function() { return cmmlt_Block_getDropCount(this); }, "$getDrop", function() { return cmmlt_Block_getDrop(this); }, "$onBreak", function(var_1, var_2, var_3, var_4) { cmmlt_Block_onBreak(this, var_1, var_2, var_3, var_4); }, "$dropItems", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_Block_dropItems(this, var_1, var_2, var_3, var_4, var_5); }, "$renderPreview", function(var_1) { cmmlt_Block_renderPreview(this, var_1); }, "$explode", function(var_1, var_2, var_3, var_4) { cmmlt_Block_explode(this, var_1, var_2, var_3, var_4); }, "$render7", function(var_1, var_2, var_3, var_4, var_5) { return cmmlt_Block_render(this, var_1, var_2, var_3, var_4, var_5); }, "$getRenderPass", function() { return cmmlt_Block_getRenderPass(this); }], jt_DateFormatSymbols, 0, jl_Object, [ji_Serializable, jl_Cloneable], 0, 3, 0, 0, nlea_EaglerAdapterImpl2$12, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$12_handleEvent$exported$0(this, var_1); }], nlea_EaglerAdapterImpl2$13, 0, jl_Object, [otjde_EventListener], 4, 0, 0, ["$handleEvent$exported$0", function(var_1) { return nlea_EaglerAdapterImpl2$13_handleEvent$exported$0(this, var_1); }], jn_ByteBuffer, 0, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, jn_ByteOrder, 0, jl_Object, [], 4, 3, 0, 0, jnc_IllegalCharsetNameException, "IllegalCharsetNameException", 8, jl_IllegalArgumentException, [], 0, 3, 0, 0, cjj_ZStream, 0, jl_Object, [], 128, 3, 0, 0, cjj_Inflater, 0, cjj_ZStream, [], 4, 3, 0, 0, otciu_CLDRHelper, 0, jl_Object, [], 4, 3, 0, 0, otpp_ResourceAccessor, 0, jl_Object, [], 4, 0, 0, 0, nPg_GLObjectMap, 0, jl_Object, [], 0, 3, 0, 0, nPgv_Matrix, 0, jl_Object, [ji_Serializable], 1, 3, 0, 0, nPgv_Matrix4f, 0, nPgv_Matrix, [ji_Serializable], 0, 3, 0, 0, nPgv_ReadableVector, 0, jl_Object, [], 3, 3, 0, 0, nPgv_Vector, 0, jl_Object, [ji_Serializable, nPgv_ReadableVector], 1, 3, 0, 0, nPgv_ReadableVector2f, 0, jl_Object, [nPgv_ReadableVector], 3, 3, 0, 0, nPgv_ReadableVector3f, 0, jl_Object, [nPgv_ReadableVector2f], 3, 3, 0, 0, nPgv_WritableVector2f, 0, jl_Object, [], 3, 3, 0, 0, nPgv_WritableVector3f, 0, jl_Object, [nPgv_WritableVector2f], 3, 3, 0, 0, nPgv_Vector3f, 0, nPgv_Vector, [ji_Serializable, nPgv_ReadableVector3f, nPgv_WritableVector3f], 0, 3, 0, 0, nPgv_ReadableVector4f, 0, jl_Object, [nPgv_ReadableVector3f], 3, 3, 0, 0, nPgv_WritableVector4f, 0, jl_Object, [nPgv_WritableVector3f], 3, 3, 0, 0, nPgv_Vector4f, 0, nPgv_Vector, [ji_Serializable, nPgv_ReadableVector4f, nPgv_WritableVector4f], 0, 3, 0, 0, jn_ByteBufferImpl, 0, jn_ByteBuffer, [], 0, 0, 0, 0, jn_IntBufferImpl, 0, jn_IntBuffer, [], 1, 0, 0, 0, jn_IntBufferOverArray, 0, jn_IntBufferImpl, [], 0, 0, 0, ["$getElement0", function(var_1) { return jn_IntBufferOverArray_getElement(this, var_1); }, "$putElement", function(var_1, var_2) { jn_IntBufferOverArray_putElement(this, var_1, var_2); }, "$readOnly1", function() { return jn_IntBufferOverArray_readOnly(this); }], jl_CloneNotSupportedException, "CloneNotSupportedException", 10, jl_Exception, [], 0, 3, 0, 0, jn_FloatBufferImpl, 0, jn_FloatBuffer, [], 1, 0, 0, 0, jn_FloatBufferOverArray, 0, jn_FloatBufferImpl, [], 0, 0, 0, ["$getElement", function(var_1) { return jn_FloatBufferOverArray_getElement(this, var_1); }, "$putElement0", function(var_1, var_2) { jn_FloatBufferOverArray_putElement(this, var_1, var_2); }, "$readOnly1", function() { return jn_FloatBufferOverArray_readOnly(this); }], cmmlt_StoneBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getDrop", function() { return cmmlt_StoneBlock_getDrop(this); }], cmmlt_Tile$SoundType, 0, jl_Enum, [], 12, 3, 0, 0, cmmlt_GrassBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getTextureId", function(var_1) { return cmmlt_GrassBlock_getTextureId(this, var_1); }, "$update3", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_GrassBlock_update(this, var_1, var_2, var_3, var_4, var_5); }, "$getDrop", function() { return cmmlt_GrassBlock_getDrop(this); }], cmmlt_DirtBlock, 0, cmmlt_Block, [], 4, 3, 0, 0, cmmlt_FlowerBlock, 0, cmmlt_Block, [], 0, 3, 0, ["$update3", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_FlowerBlock_update(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaque", function() { return cmmlt_FlowerBlock_isOpaque(this); }, "$isSolid0", function() { return cmmlt_FlowerBlock_isSolid(this); }, "$renderPreview", function(var_1) { cmmlt_FlowerBlock_renderPreview(this, var_1); }, "$isCube", function() { return cmmlt_FlowerBlock_isCube(this); }, "$render7", function(var_1, var_2, var_3, var_4, var_5) { return cmmlt_FlowerBlock_render0(this, var_1, var_2, var_3, var_4, var_5); }, "$renderFullbright", function(var_1) { cmmlt_FlowerBlock_renderFullbright(this, var_1); }, "$getCollisionBox", function(var_1, var_2, var_3) { return cmmlt_FlowerBlock_getCollisionBox(this, var_1, var_2, var_3); }], cmmlt_SaplingBlock, 0, cmmlt_FlowerBlock, [], 4, 3, 0, ["$update3", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_SaplingBlock_update(this, var_1, var_2, var_3, var_4, var_5); }], cmmlt_LiquidBlock, 0, cmmlt_Block, [], 0, 3, 0, ["$isCube", function() { return cmmlt_LiquidBlock_isCube(this); }, "$onPlace", function(var_1, var_2, var_3, var_4) { cmmlt_LiquidBlock_onPlace(this, var_1, var_2, var_3, var_4); }, "$update3", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_LiquidBlock_update(this, var_1, var_2, var_3, var_4, var_5); }, "$getBrightness0", function(var_1, var_2, var_3, var_4) { return cmmlt_LiquidBlock_getBrightness(this, var_1, var_2, var_3, var_4); }, "$canRenderSide", function(var_1, var_2, var_3, var_4, var_5) { return cmmlt_LiquidBlock_canRenderSide(this, var_1, var_2, var_3, var_4, var_5); }, "$renderInside", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_LiquidBlock_renderInside(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaque", function() { return cmmlt_LiquidBlock_isOpaque(this); }, "$isSolid0", function() { return cmmlt_LiquidBlock_isSolid(this); }, "$getLiquidType", function() { return cmmlt_LiquidBlock_getLiquidType(this); }, "$onNeighborChange", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_LiquidBlock_onNeighborChange(this, var_1, var_2, var_3, var_4, var_5); }, "$getTickDelay", function() { return cmmlt_LiquidBlock_getTickDelay(this); }, "$dropItems", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_LiquidBlock_dropItems(this, var_1, var_2, var_3, var_4, var_5); }, "$onBreak", function(var_1, var_2, var_3, var_4) { cmmlt_LiquidBlock_onBreak(this, var_1, var_2, var_3, var_4); }, "$getDropCount", function() { return cmmlt_LiquidBlock_getDropCount(this); }, "$getRenderPass", function() { return cmmlt_LiquidBlock_getRenderPass(this); }, "$getCollisionBox", function(var_1, var_2, var_3) { return cmmlt_LiquidBlock_getCollisionBox(this, var_1, var_2, var_3); }]]); $rt_metadata([cmmll_LiquidType, 0, jl_Object, [], 0, 3, 0, 0, cmmlt_StillLiquidBlock, 0, cmmlt_LiquidBlock, [], 4, 3, 0, ["$update3", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_StillLiquidBlock_update(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborChange", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_StillLiquidBlock_onNeighborChange(this, var_1, var_2, var_3, var_4, var_5); }], cmmlt_SandBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$onPlace", function(var_1, var_2, var_3, var_4) { cmmlt_SandBlock_onPlace(this, var_1, var_2, var_3, var_4); }, "$onNeighborChange", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_SandBlock_onNeighborChange(this, var_1, var_2, var_3, var_4, var_5); }], cmmlt_OreBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getDrop", function() { return cmmlt_OreBlock_getDrop(this); }, "$getDropCount", function() { return cmmlt_OreBlock_getDropCount(this); }], cmmlt_WoodBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getDropCount", function() { return cmmlt_WoodBlock_getDropCount(this); }, "$getDrop", function() { return cmmlt_WoodBlock_getDrop(this); }, "$getTextureId", function(var_1) { return cmmlt_WoodBlock_getTextureId(this, var_1); }], cmmlt_LeavesBaseBlock, 0, cmmlt_Block, [], 0, 3, 0, ["$isSolid0", function() { return cmmlt_LeavesBaseBlock_isSolid(this); }, "$canRenderSide", function(var_1, var_2, var_3, var_4, var_5) { return cmmlt_LeavesBaseBlock_canRenderSide(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaque", function() { return cmmlt_LeavesBaseBlock_isOpaque(this); }], cmmlt_LeavesBlock, 0, cmmlt_LeavesBaseBlock, [], 4, 3, 0, ["$getDropCount", function() { return cmmlt_LeavesBlock_getDropCount(this); }, "$getDrop", function() { return cmmlt_LeavesBlock_getDrop(this); }], cmmlt_SpongeBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$onAdded", function(var_1, var_2, var_3, var_4) { cmmlt_SpongeBlock_onAdded(this, var_1, var_2, var_3, var_4); }, "$onRemoved", function(var_1, var_2, var_3, var_4) { cmmlt_SpongeBlock_onRemoved(this, var_1, var_2, var_3, var_4); }], cmmlt_GlassBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$isSolid0", function() { return cmmlt_GlassBlock_isSolid(this); }, "$canRenderSide", function(var_1, var_2, var_3, var_4, var_5) { return cmmlt_GlassBlock_canRenderSide(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaque", function() { return cmmlt_GlassBlock_isOpaque(this); }], cmmlt_MushroomBlock, 0, cmmlt_FlowerBlock, [], 4, 3, 0, ["$update3", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_MushroomBlock_update(this, var_1, var_2, var_3, var_4, var_5); }], cmmlt_MetalBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getTextureId", function(var_1) { return cmmlt_MetalBlock_getTextureId(this, var_1); }], cmmlt_SlabBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getTextureId", function(var_1) { return cmmlt_SlabBlock_getTextureId(this, var_1); }, "$isSolid0", function() { return cmmlt_SlabBlock_isSolid(this); }, "$onNeighborChange", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_SlabBlock_onNeighborChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onAdded", function(var_1, var_2, var_3, var_4) { cmmlt_SlabBlock_onAdded(this, var_1, var_2, var_3, var_4); }, "$getDrop", function() { return cmmlt_SlabBlock_getDrop(this); }, "$isCube", function() { return cmmlt_SlabBlock_isCube(this); }, "$canRenderSide", function(var_1, var_2, var_3, var_4, var_5) { return cmmlt_SlabBlock_canRenderSide(this, var_1, var_2, var_3, var_4, var_5); }], cmmlt_TNTBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getTextureId", function(var_1) { return cmmlt_TNTBlock_getTextureId(this, var_1); }, "$getDropCount", function() { return cmmlt_TNTBlock_getDropCount(this); }, "$explode", function(var_1, var_2, var_3, var_4) { cmmlt_TNTBlock_explode(this, var_1, var_2, var_3, var_4); }, "$spawnBreakParticles", function(var_1, var_2, var_3, var_4, var_5) { cmmlt_TNTBlock_spawnBreakParticles(this, var_1, var_2, var_3, var_4, var_5); }], cmmlt_BookshelfBlock, 0, cmmlt_Block, [], 4, 3, 0, ["$getTextureId", function(var_1) { return cmmlt_BookshelfBlock_getTextureId(this, var_1); }, "$getDropCount", function() { return cmmlt_BookshelfBlock_getDropCount(this); }], ju_Calendar, 0, jl_Object, [ji_Serializable, jl_Cloneable, jl_Comparable], 1, 3, 0, 0, jl_Readable, 0, jl_Object, [], 3, 3, 0, 0, jn_CharBuffer, 0, jn_Buffer, [jl_Comparable, jl_Appendable, jl_CharSequence, jl_Readable], 1, 3, 0, 0, cjj_GZIPException, "GZIPException", 4, ji_IOException, [], 0, 3, 0, 0, ju_GregorianCalendar, 0, ju_Calendar, [], 0, 3, 0, 0, nle_BaseNCodec$CodecPolicy, 0, jl_Enum, [], 12, 0, 0, 0, cjj_Checksum, 0, jl_Object, [], 3, 0, 0, 0, cjj_Adler32, 0, jl_Object, [cjj_Checksum], 4, 3, 0, ["$reset0", function(var_1) { cjj_Adler32_reset(this, var_1); }, "$reset", function() { cjj_Adler32_reset0(this); }, "$getValue", function() { return cjj_Adler32_getValue(this); }, "$update1", function(var_1, var_2, var_3) { cjj_Adler32_update(this, var_1, var_2, var_3); }], ju_TimeZone, 0, jl_Object, [ji_Serializable, jl_Cloneable], 1, 3, 0, 0, jl_IndexOutOfBoundsException, "IndexOutOfBoundsException", 10, jl_RuntimeException, [], 0, 3, 0, 0, jlr_Array, 0, jl_Object, [], 4, 3, 0, 0, jl_ArrayStoreException, "ArrayStoreException", 10, jl_RuntimeException, [], 0, 3, 0, 0, otcit_DateTimeZoneProvider, 0, jl_Object, [], 4, 3, 0, 0, ju_IANATimeZone, 0, ju_TimeZone, [], 0, 0, 0, 0, otcit_DateTimeZone, 0, jl_Object, [], 1, 3, 0, 0, otcit_StorableDateTimeZone, 0, otcit_DateTimeZone, [], 1, 3, 0, 0, otcit_FixedDateTimeZone, 0, otcit_StorableDateTimeZone, [], 4, 3, 0, ["$getOffset", function(var_1) { return otcit_FixedDateTimeZone_getOffset(this, var_1); }, "$getStandardOffset", function(var_1) { return otcit_FixedDateTimeZone_getStandardOffset(this, var_1); }, "$previousTransition", function(var_1) { return otcit_FixedDateTimeZone_previousTransition(this, var_1); }], ju_AbstractQueue, 0, ju_AbstractCollection, [ju_Queue], 1, 3, 0, 0, ju_PriorityQueue, 0, ju_AbstractQueue, [ji_Serializable], 0, 3, 0, ["$size", function() { return ju_PriorityQueue_size(this); }], otcit_DateTimeZoneProvider$1, 0, jl_Object, [ju_Comparator], 4, 0, 0, ["$compare", function(var_1, var_2) { return otcit_DateTimeZoneProvider$1_compare0(this, var_1, var_2); }], jl_Long, 0, jl_Number, [jl_Comparable], 0, 3, 0, ["$hashCode0", function() { return jl_Long_hashCode(this); }, "$equals", function(var_1) { return jl_Long_equals(this, var_1); }, "$compareTo2", function(var_1) { return jl_Long_compareTo0(this, var_1); }], otcit_AliasDateTimeZone, 0, otcit_StorableDateTimeZone, [], 0, 3, 0, ["$getOffset", function(var_1) { return otcit_AliasDateTimeZone_getOffset(this, var_1); }, "$getStandardOffset", function(var_1) { return otcit_AliasDateTimeZone_getStandardOffset(this, var_1); }, "$previousTransition", function(var_1) { return otcit_AliasDateTimeZone_previousTransition(this, var_1); }], jl_Math, 0, jl_Object, [], 4, 3, 0, 0, otcit_DateTimeZoneProvider$Score, 0, jl_Object, [], 0, 0, 0, 0, juf_Function, 0, jl_Object, [], 3, 3, 0, 0, otcit_DateTimeZoneProvider$detectTimezone$lambda$_5_0, 0, jl_Object, [juf_Function], 0, 3, 0, 0, ju_PriorityQueue$1, 0, jl_Object, [ju_Comparator], 0, 0, 0, ["$compare", function(var_1, var_2) { return ju_PriorityQueue$1_compare(this, var_1, var_2); }], otci_CharFlow, 0, jl_Object, [], 0, 3, 0, 0, otci_Base46, 0, jl_Object, [], 4, 3, 0, 0, otcit_DateTimeZoneBuilder$PrecalculatedZone, 0, otcit_StorableDateTimeZone, [], 4, 0, 0, ["$getOffset", function(var_1) { return otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(this, var_1); }, "$getStandardOffset", function(var_1) { return otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(this, var_1); }, "$previousTransition", function(var_1) { return otcit_DateTimeZoneBuilder$PrecalculatedZone_previousTransition(this, var_1); }], otcit_DateTimeZoneBuilder$DSTZone, 0, otcit_StorableDateTimeZone, [], 4, 0, 0, ["$getOffset", function(var_1) { return otcit_DateTimeZoneBuilder$DSTZone_getOffset(this, var_1); }, "$getStandardOffset", function(var_1) { return otcit_DateTimeZoneBuilder$DSTZone_getStandardOffset(this, var_1); }, "$previousTransition", function(var_1) { return otcit_DateTimeZoneBuilder$DSTZone_previousTransition(this, var_1); }], otcit_CachedDateTimeZone, 0, otcit_StorableDateTimeZone, [], 4, 3, 0, ["$getOffset", function(var_1) { return otcit_CachedDateTimeZone_getOffset(this, var_1); }, "$getStandardOffset", function(var_1) { return otcit_CachedDateTimeZone_getStandardOffset(this, var_1); }, "$previousTransition", function(var_1) { return otcit_CachedDateTimeZone_previousTransition(this, var_1); }], otcit_DateTimeZoneBuilder$Recurrence, 0, jl_Object, [], 4, 0, 0, 0, otcit_DateTimeZoneBuilder$OfYear, 0, jl_Object, [], 4, 0, 0, 0, otciu_UnicodeHelper, 0, jl_Object, [], 4, 3, 0, 0, otcit_CachedDateTimeZone$Info, 0, jl_Object, [], 4, 0, 0, 0]); $rt_metadata([jl_UnsupportedOperationException, "UnsupportedOperationException", 10, jl_RuntimeException, [], 0, 3, 0, 0, jn_ReadOnlyBufferException, "ReadOnlyBufferException", 7, jl_UnsupportedOperationException, [], 0, 3, 0, 0, jn_BufferOverflowException, "BufferOverflowException", 7, jl_RuntimeException, [], 0, 3, 0, 0, jn_BufferUnderflowException, "BufferUnderflowException", 7, jl_RuntimeException, [], 0, 3, 0, 0, ju_Map$Entry, 0, jl_Object, [], 3, 3, 0, 0, ju_MapEntry, 0, jl_Object, [ju_Map$Entry, jl_Cloneable], 0, 0, 0, 0, ju_HashMap$HashEntry, 0, ju_MapEntry, [], 0, 0, 0, 0, jl_StringIndexOutOfBoundsException, "StringIndexOutOfBoundsException", 10, jl_IndexOutOfBoundsException, [], 0, 3, 0, 0, cmm_GameSettings, 0, jl_Object, [], 4, 3, 0, 0, cmmg_FontRenderer, 0, jl_Object, [], 0, 3, 0, 0, cmmr_LevelRenderer, 0, jl_Object, [], 4, 3, 0, 0, cmm_Entity, 0, jl_Object, [ji_Serializable], 1, 3, 0, ["$remove0", function() { cmm_Entity_remove(this); }, "$causeFallDamage", function(var_1) { cmm_Entity_causeFallDamage(this, var_1); }, "$getBrightness1", function(var_1) { return cmm_Entity_getBrightness(this, var_1); }, "$render3", function(var_1) { cmm_Entity_render(this, var_1); }, "$playerTouch", function(var_1) { cmm_Entity_playerTouch(this, var_1); }, "$hurt", function(var_1, var_2) { cmm_Entity_hurt(this, var_1, var_2); }, "$isPickable", function() { return cmm_Entity_isPickable(this); }, "$isPushable", function() { return cmm_Entity_isPushable(this); }, "$isShootable", function() { return cmm_Entity_isShootable(this); }, "$awardKillScore", function(var_1, var_2) { cmm_Entity_awardKillScore(this, var_1, var_2); }], cmmi_Item, 0, cmm_Entity, [], 0, 3, 0, ["$tick", function() { cmmi_Item_tick(this); }, "$render3", function(var_1) { cmmi_Item_render(this, var_1); }, "$playerTouch", function(var_1) { cmmi_Item_playerTouch(this, var_1); }], cmmm_ModelManager, 0, jl_Object, [], 4, 3, 0, 0, cmmm_Mob, 0, cmm_Entity, [], 0, 3, 0, ["$isPickable", function() { return cmmm_Mob_isPickable(this); }, "$isPushable", function() { return cmmm_Mob_isPushable(this); }, "$tick", function() { cmmm_Mob_tick(this); }, "$aiStep", function() { cmmm_Mob_aiStep(this); }, "$bindTexture0", function() { cmmm_Mob_bindTexture(this); }, "$render3", function(var_1) { cmmm_Mob_render(this, var_1); }, "$renderModel", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_Mob_renderModel(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$hurt", function(var_1, var_2) { cmmm_Mob_hurt(this, var_1, var_2); }, "$die", function(var_1) { cmmm_Mob_die(this, var_1); }, "$causeFallDamage", function(var_1) { cmmm_Mob_causeFallDamage(this, var_1); }, "$isShootable", function() { return cmmm_Mob_isShootable(this); }], cmml_Level, 0, jl_Object, [ji_Serializable], 0, 3, 0, 0, cmmp_ParticleManager, 0, jl_Object, [], 4, 3, 0, 0, cmmg_Screen, 0, jl_Object, [], 0, 3, 0, 0, cmmg_HUDScreen, 0, cmmg_Screen, [], 4, 3, 0, 0, cmm_StopGameException, "StopGameException", 2, jl_Error, [], 0, 3, 0, 0, cmmp_Player, 0, cmmm_Mob, [], 0, 3, 0, ["$aiStep", function() { cmmp_Player_aiStep(this); }, "$render3", function(var_1) { cmmp_Player_render(this, var_1); }, "$die", function(var_1) { cmmp_Player_die(this, var_1); }, "$remove0", function() { cmmp_Player_remove(this); }, "$awardKillScore", function(var_1, var_2) { cmmp_Player_awardKillScore(this, var_1, var_2); }, "$isShootable", function() { return cmmp_Player_isShootable(this); }, "$bindTexture0", function() { cmmp_Player_bindTexture(this); }, "$hurt", function(var_1, var_2) { cmmp_Player_hurt(this, var_1, var_2); }], nPm_MathHelper, 0, jl_Object, [], 4, 3, 0, 0, cmmg_CreativeGameMode, 0, cmmg_GameMode, [], 0, 3, 0, 0, cmm_MovingObjectPosition, 0, jl_Object, [], 0, 3, 0, 0, cmmr_Chunk, 0, jl_Object, [], 4, 3, cmmr_Chunk_$callClinit, 0, cmmr_Frustrum, 0, jl_Object, [], 0, 3, 0, 0, cmmr_FrustrumImpl, 0, cmmr_Frustrum, [], 4, 3, 0, 0, cmmr_ChunkDirtyDistanceComparator, 0, jl_Object, [ju_Comparator], 0, 3, 0, ["$compare", function(var_1, var_2) { return cmmr_ChunkDirtyDistanceComparator_compare(this, var_1, var_2); }], ju_Collections, 0, jl_Object, [], 0, 3, 0, 0, cmmr_ShapeRenderer, 0, jl_Object, [], 4, 3, 0, 0, cmmr_TextureLocation, 0, jl_Object, [], 0, 3, 0, 0, cmmg_GuiScreen, 0, cmmg_Screen, [], 0, 3, 0, ["$onKeyPress", function(var_1, var_2) { cmmg_GuiScreen_onKeyPress(this, var_1, var_2); }, "$onButtonClick", function(var_1) { cmmg_GuiScreen_onButtonClick(this, var_1); }], cmmg_ErrorScreen, 0, cmmg_GuiScreen, [], 4, 3, 0, ["$onOpen", function() { cmmg_ErrorScreen_onOpen(this); }, "$render", function(var_1, var_2) { cmmg_ErrorScreen_render(this, var_1, var_2); }, "$onKeyPress", function(var_1, var_2) { cmmg_ErrorScreen_onKeyPress(this, var_1, var_2); }], ji_EOFException, "EOFException", 9, ji_IOException, [], 0, 3, 0, 0, cmmm_Vertex, 0, jl_Object, [], 4, 3, 0, 0, cmmm_TexturedQuad, 0, jl_Object, [], 4, 3, 0, 0, jl_Thread$start$lambda$_4_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, ["$run", function() { jl_Thread$start$lambda$_4_0_run(this); }], cjj_Inflate, 0, jl_Object, [], 4, 0, 0, 0, jl_IllegalStateException, "IllegalStateException", 10, jl_Exception, [], 0, 3, 0, 0, ju_NoSuchElementException, "NoSuchElementException", 6, jl_RuntimeException, [], 0, 3, 0, 0, ju_Iterator, 0, jl_Object, [], 3, 3, 0, 0, ju_AbstractList$1, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, cmm_KeyBinding, 0, jl_Object, [], 0, 3, 0, 0, cmmr_RenderEngine, 0, jl_Object, [], 0, 3, 0, 0, nlea_Tessellator, 0, jl_Object, [], 0, 3, nlea_Tessellator_$callClinit, 0, cmmi_ItemModel, 0, jl_Object, [], 0, 3, 0, 0, cmmm_CreeperModel, 0, cmmm_Model, [], 4, 3, 0, ["$render6", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_CreeperModel_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }], cmmm_ZombieModel, 0, cmmm_HumanoidModel, [], 0, 3, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_ZombieModel_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6); }], cmmm_SkeletonModel, 0, cmmm_ZombieModel, [], 4, 3, 0, 0, cmmm_AnimalModel, 0, cmmm_Model, [], 0, 3, 0, ["$render6", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_AnimalModel_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }]]); $rt_metadata([cmmm_PigModel, 0, cmmm_AnimalModel, [], 4, 3, 0, 0, cmmm_SheepModel, 0, cmmm_AnimalModel, [], 4, 3, 0, 0, cmmm_SpiderModel, 0, cmmm_Model, [], 4, 3, 0, ["$render6", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_SpiderModel_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }], cmmm_SheepFurModel, 0, cmmm_AnimalModel, [], 4, 3, 0, 0, cmm_ChatLine, 0, jl_Object, [], 0, 3, 0, 0, cmmi_Arrow, 0, cmm_Entity, [], 0, 3, 0, ["$tick", function() { cmmi_Arrow_tick(this); }, "$render3", function(var_1) { cmmi_Arrow_render(this, var_1); }, "$playerTouch", function(var_1) { cmmi_Arrow_playerTouch(this, var_1); }, "$awardKillScore", function(var_1, var_2) { cmmi_Arrow_awardKillScore(this, var_1, var_2); }], cmmp_Inventory, 0, jl_Object, [ji_Serializable], 0, 3, 0, 0, cmmp_Particle, 0, cmm_Entity, [], 0, 3, 0, ["$tick", function() { cmmp_Particle_tick(this); }, "$getParticleTexture", function() { return cmmp_Particle_getParticleTexture(this); }], cmmp_WaterDropParticle, 0, cmmp_Particle, [], 0, 3, 0, ["$render2", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { cmmp_WaterDropParticle_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$tick", function() { cmmp_WaterDropParticle_tick(this); }], cmmm_Vec3D, 0, jl_Object, [], 4, 3, 0, 0, cmmp_AABB, 0, jl_Object, [ji_Serializable], 0, 3, 0, 0, cmml_BlockMap, 0, jl_Object, [ji_Serializable], 0, 3, 0, 0, olo_EaglerAdapterGL30$DisplayList, 0, jl_Object, [], 0, 0, 0, 0, jl_ConsoleOutputStreamStderr, 0, ji_OutputStream, [], 0, 0, 0, ["$write2", function(var_1) { jl_ConsoleOutputStreamStderr_write(this, var_1); }], jt_SimpleDatePatternParser, 0, jl_Object, [], 0, 0, 0, 0, jt_DateFormatElement, 0, jl_Object, [], 1, 0, 0, 0, jl_NegativeArraySizeException, "NegativeArraySizeException", 10, jl_RuntimeException, [], 0, 3, 0, 0, jnc_CodingErrorAction, 0, jl_Object, [], 0, 3, 0, 0, nPg_FixedFunctionShader, 0, jl_Object, [], 0, 3, 0, 0, jl_Thread$switchContext$lambda$_18_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, ["$run", function() { jl_Thread$switchContext$lambda$_18_0_run(this); }], ju_Collections$_clinit_$lambda$_61_0, 0, jl_Object, [ju_Comparator], 0, 3, 0, ["$compare", function(var_1, var_2) { return ju_Collections$_clinit_$lambda$_61_0_compare(this, var_1, var_2); }], ju_Collections$_clinit_$lambda$_61_1, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, jn_CharBufferImpl, 0, jn_CharBuffer, [], 1, 0, 0, 0, jn_CharBufferOverArray, 0, jn_CharBufferImpl, [], 0, 0, 0, 0, jnc_CharsetEncoder, 0, jl_Object, [], 1, 3, 0, 0, jnc_CoderResult, 0, jl_Object, [], 0, 3, 0, 0, jl_Object$Monitor, 0, jl_Object, [], 0, 0, 0, 0, jl_IllegalMonitorStateException, "IllegalMonitorStateException", 10, jl_RuntimeException, [], 0, 3, 0, 0, ju_Collections$5, 0, ju_AbstractSet, [], 4, 0, 0, 0, ju_Collections$6, 0, ju_AbstractMap, [], 4, 0, 0, 0, ju_Collections$3, 0, ju_AbstractList, [], 4, 0, 0, 0, otp_PlatformQueue, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, jl_Object$monitorExit$lambda$_8_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, ["$run", function() { jl_Object$monitorExit$lambda$_8_0_run(this); }], jl_Object$monitorEnterWait$lambda$_6_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, jn_IntBufferOverByteBuffer, 0, jn_IntBufferImpl, [], 1, 0, 0, ["$readOnly1", function() { return jn_IntBufferOverByteBuffer_readOnly(this); }], jn_IntBufferOverByteBufferLittleEndian, 0, jn_IntBufferOverByteBuffer, [], 0, 0, 0, ["$getElement0", function(var_1) { return jn_IntBufferOverByteBufferLittleEndian_getElement(this, var_1); }, "$putElement", function(var_1, var_2) { jn_IntBufferOverByteBufferLittleEndian_putElement(this, var_1, var_2); }], jn_IntBufferOverByteBufferBigEndian, 0, jn_IntBufferOverByteBuffer, [], 0, 0, 0, ["$getElement0", function(var_1) { return jn_IntBufferOverByteBufferBigEndian_getElement(this, var_1); }, "$putElement", function(var_1, var_2) { jn_IntBufferOverByteBufferBigEndian_putElement(this, var_1, var_2); }], jn_FloatBufferOverByteBuffer, 0, jn_FloatBufferImpl, [], 1, 0, 0, ["$readOnly1", function() { return jn_FloatBufferOverByteBuffer_readOnly(this); }], jn_FloatBufferOverByteBufferLittleEndian, 0, jn_FloatBufferOverByteBuffer, [], 0, 0, 0, ["$getElement", function(var_1) { return jn_FloatBufferOverByteBufferLittleEndian_getElement(this, var_1); }, "$putElement0", function(var_1, var_2) { jn_FloatBufferOverByteBufferLittleEndian_putElement(this, var_1, var_2); }], jn_FloatBufferOverByteBufferBigEndian, 0, jn_FloatBufferOverByteBuffer, [], 0, 0, 0, ["$getElement", function(var_1) { return jn_FloatBufferOverByteBufferBigEndian_getElement(this, var_1); }, "$putElement0", function(var_1, var_2) { jn_FloatBufferOverByteBufferBigEndian_putElement(this, var_1, var_2); }], cmmlg_LevelGenerator, 0, jl_Object, [], 4, 3, 0, 0, cmmp_InputHandler, 0, jl_Object, [], 0, 3, 0, 0, cmmp_InputHandlerImpl, 0, cmmp_InputHandler, [], 0, 3, 0, 0, cmmg_PauseScreen, 0, cmmg_GuiScreen, [], 4, 3, 0, ["$onOpen", function() { cmmg_PauseScreen_onOpen(this); }, "$onButtonClick", function(var_1) { cmmg_PauseScreen_onButtonClick(this, var_1); }, "$render", function(var_1, var_2) { cmmg_PauseScreen_render(this, var_1, var_2); }], cmmg_ChatInputScreen, 0, cmmg_GuiScreen, [], 4, 3, 0, 0, cmmr_ChunkDistanceComparator, 0, jl_Object, [ju_Comparator], 0, 3, 0, ["$compare", function(var_1, var_2) { return cmmr_ChunkDistanceComparator_compare(this, var_1, var_2); }], nPg_ModeBuffer, 0, jl_Object, [], 4, 3, 0, 0, cmmg_GameOverScreen, 0, cmmg_GuiScreen, [], 4, 3, 0, ["$onOpen", function() { cmmg_GameOverScreen_onOpen(this); }, "$onButtonClick", function(var_1) { cmmg_GameOverScreen_onButtonClick(this, var_1); }, "$render", function(var_1, var_2) { cmmg_GameOverScreen_render(this, var_1, var_2); }], nle_BaseNCodec$Context, 0, jl_Object, [], 0, 0, 0, 0, otji_IDBObjectStoreParameters, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0]); $rt_metadata([otji_IDBCursorSource, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, nleat_IDBObjectStorePatched, 0, jl_Object, [otj_JSObject, otji_IDBCursorSource], 1, 3, 0, 0, cjj_InfBlocks, 0, jl_Object, [], 4, 0, 0, 0, cmml_MobSpawner, 0, jl_Object, [], 4, 3, 0, 0, jt_DateFormatElement$Numeric, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$Numeric_equals(this, var_1); }], jt_DateFormatElement$WeekdayText, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$WeekdayText_equals(this, var_1); }], jt_DateFormatElement$EraText, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$EraText_equals(this, var_1); }], jt_DateFormatElement$BaseTimezone, 0, jt_DateFormatElement, [], 1, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$BaseTimezone_equals(this, var_1); }], jt_DateFormatElement$Rfc822Timezone, 0, jt_DateFormatElement$BaseTimezone, [], 0, 3, 0, 0, jt_DateFormatElement$AmPmText, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$AmPmText_equals(this, var_1); }], jt_DateFormatElement$NumericHour, 0, jt_DateFormatElement$Numeric, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$NumericHour_equals(this, var_1); }], jt_DateFormatElement$NumericWeekday, 0, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, jt_DateFormatElement$GeneralTimezone, 0, jt_DateFormatElement$BaseTimezone, [], 0, 3, 0, 0, jt_DateFormatElement$ConstantText, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$ConstantText_equals(this, var_1); }], jt_DateFormatElement$Year, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$Year_equals(this, var_1); }], jt_DateFormatElement$Iso8601Timezone, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$Iso8601Timezone_equals(this, var_1); }], jt_DateFormatElement$MonthText, 0, jt_DateFormatElement, [], 0, 3, 0, ["$equals", function(var_1) { return jt_DateFormatElement$MonthText_equals(this, var_1); }], jt_DateFormatElement$NumericMonth, 0, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, jnci_BufferedEncoder, 0, jnc_CharsetEncoder, [], 1, 3, 0, 0, jnci_UTF8Encoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ju_ConcurrentModificationException, "ConcurrentModificationException", 6, jl_RuntimeException, [], 0, 3, 0, 0, cmmma_AI, 0, jl_Object, [ji_Serializable], 1, 3, 0, 0, cmmma_BasicAI, 0, cmmma_AI, [], 0, 3, 0, ["$tick0", function(var_1, var_2) { cmmma_BasicAI_tick(this, var_1, var_2); }, "$jumpFromGround", function() { cmmma_BasicAI_jumpFromGround(this); }, "$update0", function() { cmmma_BasicAI_update(this); }, "$beforeRemove", function() { cmmma_BasicAI_beforeRemove(this); }, "$hurt", function(var_1, var_2) { cmmma_BasicAI_hurt(this, var_1, var_2); }], cmmp_Player$1, 0, cmmma_BasicAI, [], 0, 3, 0, ["$update0", function() { cmmp_Player$1_update(this); }], otjb_TimerHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, nlea_EaglerAdapterImpl2$14, 0, jl_Object, [otjb_TimerHandler], 4, 0, 0, ["$onTimer$exported$0", function() { return nlea_EaglerAdapterImpl2$14_onTimer$exported$0(this); }], cjj_InfTree, 0, jl_Object, [], 4, 0, 0, 0, cjj_InfCodes, 0, jl_Object, [], 4, 0, 0, 0, nlea_EaglerAdapterImpl2$QueryGL, 0, jl_Object, [], 4, 3, 0, 0, ji_UTFDataFormatException, "UTFDataFormatException", 9, ji_IOException, [], 0, 3, 0, 0, otjc_JSArray, 0, jl_Object, [otjc_JSArrayReader], 1, 3, 0, ["$get$exported$0", function(var_1) { return otjc_JSArray_get$exported$0(this, var_1); }, "$getLength$exported$1", function() { return otjc_JSArray_getLength$exported$1(this); }], jl_ArithmeticException, 0, jl_RuntimeException, [], 0, 3, 0, 0, jnc_CharacterCodingException, 0, ji_IOException, [], 0, 3, 0, 0, jl_AssertionError, "AssertionError", 10, jl_Error, [], 0, 3, 0, 0, cmml_NextTickListEntry, 0, jl_Object, [], 4, 3, 0, 0, cmmlgn_Noise, 0, jl_Object, [], 1, 3, 0, 0, cmmlgn_CombinedNoise, 0, cmmlgn_Noise, [], 4, 3, 0, 0, cmmlgn_OctaveNoise, 0, cmmlgn_Noise, [], 0, 3, 0, 0, cmmg_FontAllowedCharacters, 0, jl_Object, [], 0, 3, 0, 0, cmmp_TerrainParticle, 0, cmmp_Particle, [], 0, 3, 0, ["$getParticleTexture", function() { return cmmp_TerrainParticle_getParticleTexture(this); }, "$render2", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { cmmp_TerrainParticle_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], ju_ListIterator, 0, jl_Object, [ju_Iterator], 3, 3, 0, 0, ju_LinkedList$SequentialListIterator, 0, jl_Object, [ju_ListIterator], 0, 0, 0, 0, ju_LinkedList$Entry, 0, jl_Object, [], 0, 0, 0, 0, nlea_EaglerAdapterImpl2$14$1, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, ["$onTimer$exported$0", function() { return nlea_EaglerAdapterImpl2$14$1_onTimer$exported$0(this); }], jnc_CharsetDecoder, 0, jl_Object, [], 1, 3, 0, 0, cmmg_Button, 0, cmmg_Screen, [], 0, 3, 0, 0, cmmlgn_PerlinNoise, 0, cmmlgn_Noise, [], 0, 3, 0, 0, cmml_BlockMap$Slot, 0, jl_Object, [ji_Serializable], 0, 0, 0, 0, cmmm_HumanoidMob, 0, cmmm_Mob, [], 0, 3, 0, ["$renderModel", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_HumanoidMob_renderModel(this, var_1, var_2, var_3, var_4, var_5, var_6); }], cmmm_Zombie, 0, cmmm_HumanoidMob, [], 0, 3, 0, 0]); $rt_metadata([cmmm_Skeleton, 0, cmmm_Zombie, [], 0, 3, 0, 0, cmmm_QuadrupedMob, 0, cmmm_Mob, [], 0, 3, 0, 0, cmmm_Pig, 0, cmmm_QuadrupedMob, [], 0, 3, 0, ["$die", function(var_1) { cmmm_Pig_die(this, var_1); }], cmmm_Creeper, 0, cmmm_Mob, [], 0, 3, 0, ["$getBrightness1", function(var_1) { return cmmm_Creeper_getBrightness(this, var_1); }], cmmm_Spider, 0, cmmm_QuadrupedMob, [], 0, 3, 0, 0, cmmm_Sheep, 0, cmmm_QuadrupedMob, [], 0, 3, 0, ["$aiStep", function() { cmmm_Sheep_aiStep(this); }, "$die", function(var_1) { cmmm_Sheep_die(this, var_1); }, "$hurt", function(var_1, var_2) { cmmm_Sheep_hurt(this, var_1, var_2); }, "$renderModel", function(var_1, var_2, var_3, var_4, var_5, var_6) { cmmm_Sheep_renderModel(this, var_1, var_2, var_3, var_4, var_5, var_6); }], jnci_BufferedDecoder, 0, jnc_CharsetDecoder, [], 1, 3, 0, 0, jnci_UTF8Decoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, cjj_Inflate$Return, "Inflate$Return", 4, jl_Exception, [], 0, 0, 0, 0, cjj_GZIPHeader, 0, jl_Object, [jl_Cloneable], 0, 3, 0, 0, cjj_CRC32, 0, jl_Object, [cjj_Checksum], 4, 3, 0, ["$update1", function(var_1, var_2, var_3) { cjj_CRC32_update(this, var_1, var_2, var_3); }, "$reset", function() { cjj_CRC32_reset(this); }, "$reset0", function(var_1) { cjj_CRC32_reset0(this, var_1); }, "$getValue", function() { return cjj_CRC32_getValue(this); }], cmmi_PrimedTnt, 0, cmm_Entity, [], 0, 3, 0, ["$tick", function() { cmmi_PrimedTnt_tick(this); }, "$render3", function(var_1) { cmmi_PrimedTnt_render(this, var_1); }, "$playerTouch", function(var_1) { cmmi_PrimedTnt_playerTouch(this, var_1); }, "$hurt", function(var_1, var_2) { cmmi_PrimedTnt_hurt(this, var_1, var_2); }, "$isPickable", function() { return cmmi_PrimedTnt_isPickable(this); }], cmmma_BasicAttackAI, 0, cmmma_BasicAI, [], 0, 3, 0, ["$update0", function() { cmmma_BasicAttackAI_update(this); }, "$attack", function(var_1) { return cmmma_BasicAttackAI_attack(this, var_1); }, "$hurt", function(var_1, var_2) { cmmma_BasicAttackAI_hurt(this, var_1, var_2); }], cmmm_Skeleton$1, 0, cmmma_BasicAttackAI, [], 4, 0, 0, ["$tick0", function(var_1, var_2) { cmmm_Skeleton$1_tick(this, var_1, var_2); }, "$beforeRemove", function() { cmmm_Skeleton$1_beforeRemove(this); }], cmmm_Creeper$1, 0, cmmma_BasicAttackAI, [], 4, 0, 0, ["$attack", function(var_1) { return cmmm_Creeper$1_attack(this, var_1); }, "$beforeRemove", function() { cmmm_Creeper$1_beforeRemove(this); }], cmmma_JumpAttackAI, 0, cmmma_BasicAttackAI, [], 0, 3, 0, ["$jumpFromGround", function() { cmmma_JumpAttackAI_jumpFromGround(this); }], cmmm_Sheep$1, 0, cmmma_BasicAI, [], 4, 0, 0, ["$update0", function() { cmmm_Sheep$1_update(this); }], ji_ByteArrayOutputStream, 0, ji_OutputStream, [], 0, 3, 0, 0, jl_VirtualMachineError, 0, jl_Error, [], 0, 3, 0, 0, jl_OutOfMemoryError, "OutOfMemoryError", 10, jl_VirtualMachineError, [], 0, 3, 0, 0, jnc_CoderMalfunctionError, "CoderMalfunctionError", 8, jl_Error, [], 0, 3, 0, 0, otcit_DateTimeZoneBuilder, 0, jl_Object, [], 0, 3, 0, 0, cmmg_OptionsScreen, 0, cmmg_GuiScreen, [], 4, 3, 0, ["$onOpen", function() { cmmg_OptionsScreen_onOpen(this); }, "$onButtonClick", function(var_1) { cmmg_OptionsScreen_onButtonClick(this, var_1); }, "$render", function(var_1, var_2) { cmmg_OptionsScreen_render(this, var_1, var_2); }], cmmg_GenerateLevelScreen, 0, cmmg_GuiScreen, [], 4, 3, 0, ["$onOpen", function() { cmmg_GenerateLevelScreen_onOpen(this); }, "$onButtonClick", function(var_1) { cmmg_GenerateLevelScreen_onButtonClick(this, var_1); }, "$render", function(var_1, var_2) { cmmg_GenerateLevelScreen_render(this, var_1, var_2); }], ju_Objects, 0, jl_Object, [], 4, 3, 0, 0, cmmp_SmokeParticle, 0, cmmp_Particle, [], 0, 3, 0, ["$render2", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { cmmp_SmokeParticle_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$tick", function() { cmmp_SmokeParticle_tick(this); }], jnci_BufferedEncoder$Controller, 0, jl_Object, [], 0, 3, 0, 0, jnc_BufferUnderflowException, "BufferUnderflowException", 8, jl_RuntimeException, [], 0, 3, 0, 0, jnc_BufferOverflowException, "BufferOverflowException", 8, jl_RuntimeException, [], 0, 3, 0, 0, jnc_MalformedInputException, "MalformedInputException", 8, jnc_CharacterCodingException, [], 0, 3, 0, ["$getMessage", function() { return jnc_MalformedInputException_getMessage(this); }], jnc_UnmappableCharacterException, "UnmappableCharacterException", 8, jnc_CharacterCodingException, [], 0, 3, 0, ["$getMessage", function() { return jnc_UnmappableCharacterException_getMessage(this); }], cmmg_ControlsScreen, 0, cmmg_GuiScreen, [], 4, 3, 0, ["$onOpen", function() { cmmg_ControlsScreen_onOpen(this); }, "$onButtonClick", function(var_1) { cmmg_ControlsScreen_onButtonClick(this, var_1); }, "$onKeyPress", function(var_1, var_2) { cmmg_ControlsScreen_onKeyPress(this, var_1, var_2); }, "$render", function(var_1, var_2) { cmmg_ControlsScreen_render(this, var_1, var_2); }], cmmg_OptionButton, 0, cmmg_Button, [], 4, 3, 0, 0, jl_StrictMath, 0, jl_Object, [], 4, 3, 0, 0, jl_AbstractStringBuilder$Constants, 0, jl_Object, [], 0, 0, 0, 0, otcit_FloatAnalyzer, 0, jl_Object, [], 4, 3, 0, 0, otcit_FloatAnalyzer$Result, 0, jl_Object, [], 0, 3, 0, 0, otcit_DoubleAnalyzer$Result, 0, jl_Object, [], 0, 3, 0, 0, cmmi_TakeEntityAnim, 0, cmm_Entity, [], 0, 3, 0, ["$tick", function() { cmmi_TakeEntityAnim_tick(this); }, "$render3", function(var_1) { cmmi_TakeEntityAnim_render(this, var_1); }], jnci_BufferedDecoder$Controller, 0, jl_Object, [], 0, 3, 0, 0]); function $rt_array(cls, data) { this.$monitor = null; this.$id$ = 0; this.type = cls; this.data = data; this.constructor = $rt_arraycls(cls); } $rt_array.prototype = Object.create(($rt_objcls()).prototype); $rt_array.prototype.toString = function() { var str = "["; for (var i = 0;i < this.data.length;++i) { if (i > 0) { str += ", "; } str += this.data[i].toString(); } str += "]"; return str; }; $rt_setCloneMethod($rt_array.prototype, function() { var dataCopy; if ('slice' in this.data) { dataCopy = this.data.slice(); } else { dataCopy = new this.data.constructor(this.data.length); for (var i = 0;i < dataCopy.length;++i) { dataCopy[i] = this.data[i]; } } return new $rt_array(this.type, dataCopy); }); $rt_stringPool(["Can\'t enter monitor from another thread synchronously", "@", "0", " -------- starting minecraft -------- ", "", "0.0.0.0:25565", "PeytonPlayz585", "TeaVM-WebGL", "position:relative;", "Native Browser Exception\n", "----------------------------------\n", " Line: ", " Type: ", " Message: ", "----------------------------------\n\n", "null", ": ", " at ", "Caused by: ", " at ", "Index out of bounds", "#version 300 es", "/", "UTF-8", "overflow-x:hidden;overflow-y:hidden;", "WebGL 2.0 is not supported in your browser (", ")", "\nError: World folder is locked!\n\nYou are already playing Eaglercraft in a different tab.\nClose all other Eaglercraft tabs and reload", "\nError: World folder could not be loaded!\n\n", "mousedown", "wheel", "keyup", "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", "\n", "Either src or dest is null", "GL_INVALID_ENUM", "GL_INVALID_VALUE", "GL_INVALID_OPERATION", "GL_OUT_OF_MEMORY", "Unknown Error", "CONTEXT_LOST_WEBGL", "########## GL ERROR ##########", "@ ", "Pre startup", "Startup", "/default.png", "Post startup", "Pre render", "Post render", "Client error", "The game broke! [", "]", " fps, ", " chunk updates", "/particles.png", "/terrain.png", "/rock.png", "/clouds.png", "/water.png", "/rain.png", "anonymous", "humanoid", "iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAWonpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHja7ZpZjmO3lkX/OYoaAnseDoctUDOo4dfaVGRUOm0Dfnh+QH04w5YUiite8jS7IeXO//z3df/Fv9KruVya1V6r51/uucfBC/Off+M9Bp/f4/u3vv7E7795333/IfJW4jl9frX6df2P98P3AJ+nwavy00D2NVKYv/1Dz1/j2y8Dfd0oaUaRF/troP41UIqfP4SvAcZnWb52az8vYZ7P8/6xEvv87/SQ2hv7e5Bff8+N6O3CmynGk0LyPMaUPxNI+j+4NPhDfI+NC3nkdUz1Pf6ICQH5ozj5n2blfs3K96vwJ+//kpRUP+873vhtMOv38x++H8ofB9+9EP9057S+7/yb9/0J9dfl/Pj/3m3u3vNZ3ciVkNavRX1HRy+4cBLy9D5W+Wn8X3jd3k/nxxzVu8jOpmQnPyv0EEnLDTnsMMIN" + "5z2vsJhijieSkhjjIlF6z0hRjyt5R56yfsKNLfW0k5GtRXoT78bvuYR33/5ut4Jx4x24MgYGU9aj08Pf8fOnA92rkg/B23esmFdUoTINZU6PXEVCwv1RR+UF+MfPr/+U10QGywuzscDh52eIWcJXbamO0kt04sLC86ctQttfAxAi7l2YTEhkwNeQSqjBtxhbCMTRyM9gIKNp4iQFoZS4mWXMKVWSY1H35jMtvGtjiZ+3wSwSUWijRmp6GuQqA2zUT8tGDY2SSi6l1NKKlV5GTTXXUmttVeA3Wmq5lVZba9Z6G5YsW7FqzcxZt9FjT4AjiNlbt977GNx0MPLg04MLxphxpplnmXW2abPPsSiflVdZdbVlbvU1dtxpgxO77rZt9z1OOJTSyaecetqx08+4lNpNN99y623Xbr/jO2vBfdL6u5+/nrXwI2vxZUoXtu+s8dHWfgwRBCdFOSNjMQcy3pQBCjoqZ95CztEpdcqZ75GuKJFZFiVnB2WMDOYTYrnh" + "O3f/l7nf5M3l/G/lLf7InFPq/o7MOaXuTzL3+7z9Qdb2eKyZ3MuQ2lBB9Yn246IRjf/gpL/+7P7VD/wz0D8D/UcGGmGsOoOrnSbvPdWR2jqg9giht+pTsnBmhgWOjUXF72Zz5nZD3XPtdHqAuCu9bv5kW66m1Fe7MZUptVdCLuHruRnoVQGUWcYMfPbQoLumE3Mfe8Nx3IXZCNiuK3TtysBoR0C2yQjlpi525CPF78xYZfQ+9xzAglr/pAmC9XXLuMixX2Nk4/DjgQqgRC+Zdt0n5Hhjnmg4oDE3JpO2cc88Aa6wI8C10y3bbTTevDvFMyIIU0EV8LQiFEC7AibuVQo3QN4SqhmvggY+Ed94egGZEC5AmENOpFXH8j38Pkp63j3mbCNVnqtn4ikWu9nHuR5ipcB4qbiTwbvB5XmPuTqKpfDU+AUwPhcenqUx55ljY/UkchHmNTMpWL5s2MJA3uNOAIIRbZeL6tqs5voC4ufpLzGqqCEIft0OClsrxLkH" + "crHQ2RV8v2HP3GfbjhvYmYnQ3lGXeVvn9NSOR3bFdgoTP5MgdU9qmQChuExixlxifHFMkl/XUVVzhXYJwY4jxDkIO3DP7KxDN0Th+rWanbZnbDeN0+et7e5cxpnL2652Y3QzzNozayMzKdTFJef2IRIdixo626c8N5REZrn2sQcPp+wOvXV9IvQV3F1nMHU+Mu5Z/cZ9S2EOe+2R/Wnh1JQvFXiNxbUhQksEdu/a01WVqdxbcw2yvtXO2Cez6Bh2uaeskPhgup1L7okUDfHMbSV+pXRKsB4D/5GLkdukQF3x13ciMDPB7HtO2rG1GAYVWwqPuZMxGvJAl5eugQDbYjwEAHnY8xBy6eze774Tbp2+hVV1y7NmuSU1ap9uueh1ownyzkdlQDtOwYARS7QFeCDTeRw5457BmDakSZ+0TAs0Rjq2DNWY90KF4A+pDcI6VpvjkkPKuDC9nMY6FpoLNc1NUzL7imaHaXs55V7xL5pmjLaYSSoLFOkxMpV+G51J" + "++IV70pjt9kaeBRVAHNda2F0EiT1Y1WtlZh3JHUM301tRzkDRvP0fkhKPjuiGcZC32V1v5c0qkr1vHlQcRdVocQSqrwj7bWYbQpojzFRdylNnzbqzVYDG1DLnrC6s08Evga1ULWgXHqYa9FpM1rPgTcx82tIwF3QI90L0gBX1IGBcpav5einI56x9RWzlxVaB7dDPyoQC6FmiCkqKty85jHujYLa5wTyTWou1dUaHXH3caBl5DPMK81KW5KyUAdlG+hLWk8KkDSFfUdp6uZFwqj8ib9DnWXU4EyrRaQfZWqHi5CCpVGPxM9WGY8n+qAP020gIXZs0E/JgM30UISumRPiYGoW3WEBh/wPCdmyV+c5nk0SoQXKdtqY4BuGL+9ZFByaK94WACrQ3M5uaeGS0NmrpU1m9iWLYrfCp0kcBAX8jJJRrgeoIz+EBewZ2CAC0lUIEBZZMxrFsYQwQdIyWVDmuo5HrCVS53RtuhjEo5UAD7OuG2svjaAV468Y0r1S" + "rMxkusGquZAFcyWpjrCYtV1YOs2J4PTtotZHRelPim7CSiQ341aBOw9D7bNw2A5sv/lrFJXmT+OoChK1po6JCaShhsrpum4m8kIzwxeQB+yX3PbUIqBJAfVIdVicPvOZ9PK9BA1oayODNoXPH06C//DWlBCrBC9viA4oGpck9mEso5NIPAXdKW1xZ4W/4Ut+JQIUXqBZG1Ba6RTNbGEarxUtrRlpPnm/t+mTQT4pSz6kLqb+I1VtUGqwIZD0BHSOBP+tDE8empoSnduBK6JVaLy2PCUSNlPhZYct/d4kxkNldKIM/4AGjtgsduClnbB2If9tA/6UiNEFcyNfRqfxI+gaFg5BWqGBep4ygVcn4AM0TngQ5q2gCRBJGGpJtAD6yEMvlZqCZu48lecBSs9F5gJVixaibehDD6ENzZhZVn8TpelDHFuxXt5BXEZS0ToT6hGwUecgWyveGIzcUoYA7lr4da81QWTMTFh6tz9cTRY2WWPuVvagQAoloEaPoDBg" + "zBqZNCaqL/wvPMLHE6VI2ahJCHDDynWRNEXpatvoqppYy0z25bDaRjIuOApcuUsMZBDiRVKAHxA4spBfKrWK6dKSdnWTijt+1b4hLVIu/oM9Z8a+4dMusBMTSeuyYKBIQp+CWdJORdt5n2fAHwhAxM08xHqVbm/kPq6SiRkhRuqowsCadYjL8hsya/QUJheIXVhXsnPqdaiLmPxBkET/qOvOTehf56FgFsoVwChIy/wqLV+pRMpnI9xypHspVPSpQ8lSAVssH+YlU+i53aUUMpzlRSGL6oFXq8UTSDiMBrnCp4gqUY9WVrd7VIjSPWikS4k1hDJr0HwANoOtG5pt1Ga+rkNKhdkID+CSbHYVKQQgzIZexiApbVFlXIAu3RHKRPFpobRU5toD74Fs4F1WHhP5eUop2UbcoR0cMkFSBk0MwFH8/bShyfZ4pjTBLPtK41DfT05QlhYECKWQiUJaUO7jWQiUGy83zQOz+YcCTbyxeBhEC7XDpMLUToH0G2W6" + "IGYKCmiRvkzMGw1JvsWVkDq5gU2mbgnvIwr6pgyT9hpFOeQfjgQ8SWLF828UFSrLoOZWiqNRzdYAGPlosgmrQ4qweaHyYJ4rwn0gDG8EvbpDeomhBR8GslDMgcoGvcqphA3FRXWghwhJ4ENG8OmQwOdwL74ZaplZ05iIZUibBu83pThOg0LJ2lT77TIlFkvdRIDa3XAIEACOxEv38euVoCvUEryBWOC31xqHHjzhXIccQmJeaGogsTFTQDi9AjpD2doGpw4REgaW0H2gFVAMdRSBmzFVbNIIzBg1gge4wBRwvheoRX8sgAlQHiigm5SXpnRS84+KFiImAriSH0h71Nw+m8qOHYjTA63dN0DCXV+nIVaHntERr9LjKNqcEQFPYRgYjMrCVlXGXQ55PeRosSNv6wnoWkX+8PUN0QPDCkaFCnrDR0yXiJJb3mPaTBIKXXMgNAlZMDLNXDp/WNrrrBGBlJgrSo0EIdlTEqzS28Do0ekEtjY1IBuneHJw/QgL" + "wtOz/qN6znosdxG11CNca/NCTrgG3e3pAzqSZTbF4Bh3WViI4+nsc4mDl+HpIK8kUJMeQz5CT9yTGxBi8Pq1ENDCmslWb7mSuyTuh7mxITUg0IDGcPZCu5KsjTfliqv6xuiwXsCK+cBbcAt2Vjus2mTr9Gry2KwOguO5D8R5cQ1NxQBnUI+vNUTHcHpltbjkBnmj4PBKyASKEnkMcFJ82Zl0Kr6gcglBx5GmvsTBAKdQZDH/TolTwmNQzAli7NKcHtkNheKoyMXNjopQY+F4kXryUtinQWNkKhChADyJOx9ivqo6GbMH3mDqKFW0K3o3ILmpo0jsE3lInRFyMSB6gYG0jOlQqh/IC+fGHOAOBEBLIyONYtHqZ4qdm+fiCAIxQpGcZyIOUn2peJc1wbjB5moLlk8ecCHQ3gG3ESVgSgbt8PZqRPfk04XmoH7/oihR/I5sqFXuiRUAK3opgC3tC0UizydyrsjHJZGOzj9cEGnNCdSiTm2g1KjEHToDYNjV" + "tGgC7Cl2bKFDKTk+BYJD7R1yXJKF8pkOYERfAfwEep5z354RdsOehIEABkL50G6wC3gTgpS8PAvzNHgSvOxcFxxYXIJESmGxYbSD+wJ+6S7iXHPWtkylxc/SlsIWYiDUBwnuWDApE+Qlje56yFTGFQVRUUQYxRCHhOAiIrzDRUvuhfnge5rPqoe9tF2EI5DXgNn6diAK1EYmfIWDAw4iFfi4IvatM0d4DXuBwKcD2sHxoLJQ4iQB+iHPJiHYpnfadgEAQF7rYBSmr1L9irBU/00ZvwsdIFVgMaMFznrbBpH+lu8LPpoRVqcZAhfobOIjMFnwJMUUYgXrUTxWcYpDch5I7fhEXrSqfO6E6KEXnklwr14JH+oApQYDglgIVoCRXiTQseIwjo7gkrQWN0dk2MCfSIIDwyAr9FExxytDwFVSFEKQDadcqFWZHeIDLEGrSNaoAAmTSRckTinkhP6mhsFtbBbVXCTCrFVPtCHpTi4MHYNZMCKj1iH9MR9FAdr4" + "dVNz2c5puYibw8PGhJ42jFzVBhdsyJxo26MNI3yFxkg6KCBlLL6SIcQP09zaTWQty2UdeIDpSLvzbpHi1PbY0t4etEMyWVvSAQb5v03DAwa2CyqYcK+LX+H2rhPS4qljjEIYR6c66NAkqVoLfgfeBhwAZB1g2CaXh/YlPDoaQbaQNmxjaY4lyLs1+SFPxVb5VmRul5NlBZOR4SrAPkhnFlAgyVB7yWt0KEPeDCS50ID8RMdRoqaJi4eAzdy145GmkEhE9MwiZoub31TO6lOmkrYndGX66VBgfstfRBQEkk42DeqEIaFXEXeuGH58PJqt142sDTcnbDs5Pn5olyBqa1LGD0MbMAkZ0RICXin7jV9G/UOMD8FWUWui0aHS9LbHwPyq06UM/EB9IK5jqdgmYat2vJA6TXU1m5gkkd0cvY65MBIFcRSLBydYEXGT8+zlar8Esabtw9ze1iRmM442QgCZrqFNJZEAbml27PBE3pwhapCVZpoJVmsmjINahztT" + "UI/SQNUj8HDJeBmsDSoBAgbG4BhcEDzaqPYAoCHcADGEOBnW1nSl/485X7gdqRoCACwXvU+PgsVVuUX0z5rLMrQXUp/mloYfI5+tDStoGTQroDKyppIRorcKfoweD2FhjqlOrG+ReeD+XfSDaOb2Vzfbm+IgqSQR74smQrnrVFRMQ7iRCaS7Ju3FQh6Fe+Op4rgfS1akd0gACWm42adKjtemedSK3OthXlQz1HKuXd8Uod09BlGN/7actf8EXMLGZ4eD9KSx6G2xLt4fRLfh3h78G+rfe/5PDzQ7qh/Zj+FFEtVN/iDQUgEO2g2HhkwqKCx0A8WXAsof1NH+Trl0JOQN9aH0e6CKAG8kRJiUBEnFaOhUHnoi2zWli5NvyF7ShxtBsOPhBVCDFOxOUaMOB3rkgMX1MLhgdt352d1gsPRRRNCH3Ix/+3agcHFYsJUhDfwKLOCl1/DE2rGBuZCCE2I72hPQ4WwXop9VqzjXZOhim1hr4BwYwQjImnXtaqEY" + "ZBk7zNAjv2t3H9rvhv86tBtsTmMgzoySoE2w2EA3PdvctB48lm0AY6IvyCPNV25eewWz5Lc5B7JReQBdwdtEL/1DT8BnOrIAJSOVTcHCmtryn4glbwG+A5/gSpw8uI+bpLci3jNnOhbiRKz3Z7IyUrH6DNZvlL+ggklstPe4URArNYXAhHXQuwIfrHZVTMhke7gJ8Zj2GwkuJEm/N3e4DRYQ7qwbJOjauj6QSQLjHyXqQPzUGHFwkublFPK6KpIdZqbE8MgxILTwEg1qRulrx6RhZhEBrSEH/SZxj1p1qIY0wUwVlL7nxtQcEHCr9oNELjm5MbTXnDfNiJDQmTrxnga4XPhTOyhLWiGcnqW0iUmWutJHAFc/HxhhcQE2KbhgZhcZd/MiRBuqgaqJJbOeHhuwb8loGR3VIKoD9A2yrbcvQjVQx9c920l5nIKAifdt8tBPaPSgMyAmiBZG3NELqFgULZKROSHskM/RI/LJLLSAYqOq9SUK7GBf320HRL5T" + "UGhxosuzTh/gvnPpnGKqHcQYmD/Jxb9yTnvQ5IJZ6h3ORZTDIxgxHIl2sZAH0cGHsCfWiDUi2OiKj4ixTdIWnkAbHxAQikPb/9uqGDfOqDMbunoYNYUJdcg1/CKBGoVbAq0F1w8YSLMjUSV1aBSibPydN9DHqAmEAj2orR3URaG+vfM6cNJesYnUdMq0tPeN9kboVnFrx/6PjHhcOtQraiCMGlpEdSG9ijCMyYlAisefgl0T3tQ2TN06D0WHaaPY6HXA8erQU67FSyzR9qoDElFtLQSlOewdYRF2aRN/JKNmdVdKaGJ0aBPEVcGSgS+pZpTtQnDQUmgdaI8lIsNgEnfoIB1rYX6I+r6Yg4Mo0BlN3tr5XxM13SuYC4PDT75hyYRKd5j2RQzjUi057ZTv5nXkh/JB9qKVpY6hdn3ThFEfoyNypMBxoagi7TJp/4XMw4ZQHWLYyQLpS3B4odU/h0tqyqbdY9RZbNqxnPrKjpBsy9Qtqgm2pBJieRt62OHt" + "pg4+tOtNO1HZdSaAH9uQkRhwimpI3/O7Oap6EDtbEBwqqyeQuA1EYLkTfaSiCJ1OZjFkeOsk4UoYb0xn0GY2AjZ4WRlcwXg7+okQP6+rr95tQo2seWLtVpT1AGqHPANq/RNIfdGHoIHICGAIkgr2b3MIEJrqfQwDmHwrCtBl8Z+EIVKAnOmALzJTmTT4BGH0pPoE+fRNQJ0ulFdkyzN3w6no1JbZY/woCHQzfnRDOkGWgcRPRO9lSQtIpof62zlROKfO23TGgIaClHUzCJDKhodRZ5MYoK5hQeZ+SoVILwV8tKuGaH6VFielODLOtWpfCZSi3oxC0/cPweyuA5h66EUwSbuiLF0nD+DkFQi9Y0iAtS/tdt1IOxn1drAwOtXvb1+8TwdPlSFeGBlfCQdK6mlvBIPMGjt1SFyL9u6STtjHHPcllkCnghkSGM+KFdV3D7QlSjkO4J7SRcuSXj6d3jbK8zcJdXP0aTlc4HVL4sMqOF/WjdZ3rYGqgAgsPiGE" + "jPZBGeNQnhfQLkXGaEHoyPbZX62hsZ/mJANIengXyTNc1tcsoH4dsxZWRZR0FIICCDTIX/9mjPubvqPzz0D/3wdKgFB3/wtcE3QksSKtewAAAYRpQ0NQSUNDIHByb2ZpbGUAAHicfZE9SMNAHMVfU6UiFaF2EHHIUF20ICriKFUsgoXSVmjVweTSL2jSkKS4OAquBQc/FqsOLs66OrgKguAHiJubk6KLlPi/pNAixoPjfry797h7BwiNClPNrglA1SwjFY+J2dyqGHhFECEAYwhJzNQT6cUMPMfXPXx8vYvyLO9zf44+JW8ywCcSzzHdsIg3iGc2LZ3zPnGYlSSF+Jx43KALEj9yXXb5jXPRYYFnho1Map44TCwWO1juYFYyVOJp4oiiapQvZF1WOG9xVis11ronf2Ewr62kuU5zGHEsIYEkRMiooYwKLERp1UgxkaL9mId/yPEnySWTqwxGjgVUoUJy/OB/8LtbszA16SYFY0D3i21/jACBXaBZt+3v" + "Y9tungD+Z+BKa/urDWD2k/R6W4scAf3bwMV1W5P3gMsdYPBJlwzJkfw0hUIBeD+jb8oBA7dA75rbW2sfpw9AhrpavgEODoHRImWve7y7p7O3f8+0+vsBcEhypl5zelkAAA0YaVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/Pgo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA0LjQuMC1FeGl2MiI+CiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94" + "YXAvMS4wL21tLyIKICAgIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiCiAgICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgICB4bWxuczpHSU1QPSJodHRwOi8vd3d3LmdpbXAub3JnL3htcC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgeG1wTU06RG9jdW1lbnRJRD0iZ2ltcDpkb2NpZDpnaW1wOmVlODc0NzUwLWYyMTgtNGZhYi04ZmVkLTk3YjdiNTRlMTRmOSIKICAgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo2ZjJlY2IyYi1lZDdlLTRiNDkt" + "YTlkZS03YmRlNTNlOWVjZDciCiAgIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpjNDQ3M2M4Yy02MmJhLTQyYjctYWQ0Yi02MjE4ODNiOTM5NDgiCiAgIGRjOkZvcm1hdD0iaW1hZ2UvcG5nIgogICBHSU1QOkFQST0iMi4wIgogICBHSU1QOlBsYXRmb3JtPSJXaW5kb3dzIgogICBHSU1QOlRpbWVTdGFtcD0iMTYzOTc5MDc4MDQ5ODI0MSIKICAgR0lNUDpWZXJzaW9uPSIyLjEwLjI0IgogICB0aWZmOk9yaWVudGF0aW9uPSIxIgogICB4bXA6Q3JlYXRvclRvb2w9IkdJTVAgMi4xMCI+CiAgIDx4bXBNTTpIaXN0b3J5PgogICAgPHJkZjpTZXE+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAg" + "ICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjYxMDQ5ZjkxLTE0N2ItNDJjNy1hYzRhLWMyNmU0ZDIzZmEwNSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iR2ltcCAyLjEwIChXaW5kb3dzKSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMS0xMi0xN1QxNzoyNjoyMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg" + "ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAg" + "ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAg" + "ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg" + "ICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg" + "ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz4g" + "G/WSAAAABmJLR0QAnQCdAJ2roJyEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5QwSARoUHogWFQAAB8dJREFUeNrt3Wtu4yAUQGG36hadRbqLzPxixDCAwYbESb4jVWqbGGPMubz8+Lrf7/cF+FC+FQEIABAAIABAAIAAAAEAAgAEAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAEAAgAEAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIAAIABAAIABAAIAAAAEAAgAEAAgAEAAgAEAAgADAa/OjCN6L39/f4v/WdV3WdVVIBHjfyn+73arfIYAu0FujghPgoyv/tm3L/X4ngi7Q47sfcf9bf7tcTr3lkpYrAV5kAEqAf/n6+vr7+/1+7x7XhPIcWa66QJMqP9plONrKEoAAHzfGGd2qEkDlfxjbtmV/bxnYzxLgZ1ZlyFWKnj5c" + "vH2pgp3tE7bktbbf2vZH0m1p6mcNrvckHrHPdV2b+/4jtmviPoht2+7rut6XZdn9Wde1mk5LGml627ZNyWsp70fzuZev1rT2jjd3fLX97+3vXfkZFT3iFcg0SqURLXy/pxncS+/393fZtm03UuVWS+P0c9H3EbM5t9utOI2ay1Mov1F5W9f1pbpyoUxOt4gjIn9LZGqNSGl6pahVipa9kbE1D6V0S61J2KalZYq3H3W8vS1AqWx6WtZcnlvLYC+dUpmfTftnRORqiZa5CNMScWrpldIsbdMa3dO0w3a5fmg6HhjZ32853tERNR6kjmhd0pY6bclz+6hd0Dd84uGMPS3RdK+fmbO7te+Zi4q1POSiYi2yt6bdm49amdQiWs9+elqA9Ltno2qtdVzX9e9PLn+946qnjgF6LWyJYGf7dLX0j0bpWdOdI9I7m0Y89ghlP3JckUb78L9SzyEeF+a+k7ZST5sGPVuZWueL33mufmYZtnZ54so/o9xrXcQrDMy/" + "r1gJrsroytnS151RhmEmbHblz5VdOtuVW5NJ5ZxZV4a2AHs3YzxTmtrA+BkXrZWOYXYZ5qaB4ynF2ZW/duy5aeCQr1mB8vJXg8aR4Gwh9MwaPbN78oiyvEIgSMcIj2h1p48BRmW45fa+UQLcbrfdhaeRi06jxz+9+aqVw6yuUG4xc9u2/1qfNNiF7tmM+nBqGnQ5sAh1dHp1SRaWwn5Ki0OjL4PYO64j06BH8n62DJeGSzlGncNa2Yd9x/8rTY3G57p32r2pHl9NgLNz9a2VaE+CnlXQVxEgzdOR1eKRVw2kK8apBOk5yEnwtHWAGQOT0krt6K5HmIkopf0pd3Jt2/bfjSmzB8R7U6Xp73E+wt9xns/m9Xt0Bb761GNp4Wf0ItCrTAvn+vylqcrZ57I1qF7ilsjWmZMrnfx04eeZlb02LfvofMw4l5UxZ5MEtcH4ZQWYMY/de2nDXvR/ZmVrib4z7ns9GsyeUT49U95DHv8yclDTM5DKXSbbOjDcm8nJ" + "DV6P3MCyNF7WfGZGpXQcLdseuUR7xjEcGaDvXVi4dwn6qHwtM2YbSlOX6YlpFSBOJ92+Nt2Xpn9EgOXEHVXp8bfce9BSfvExH5G8VLl6g8rZ6dC9qdJHsMyY3jpzElrSirfdq0AjWoHlxA06LdOcR9YmcuV39pbK2vYjK2Q41tnRvYWv+8C7jUuXLaQ3r7fctlgbtKbb58Ydpe+WLrTq7bvv9ZvjfLcOutNtj5Rh63H1bj/jQsDa4PthExT3DyOOci0rvLNWIPFGN8W/Culj9lrmpa8yY4Q5fH9i5e9tYj3olgBvIcDMPi0IcOnKP3KVmjzvw0eMAXIVNtwD0DIjMuNxIbgGQ6dBX2kMcEQiYwECvMU4oKdLpOIT4KMGx/r5BAA+Bi/IAAEAAgAEAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABACuzSUejPUujy0Mzx2a9bLpUrl5gsULtwDx8/rDT+sDrKa9Pfwi++spt0869rdrAR4Z" + "Nd/lGMILJp7xXl8CPKlLUYp2cWTatu3v97Zty74PII1kacXNPUY93m9pf7n04meQhu/En599OXju3bq1/LR+FvKQfj899r00CXBgHBA/tDb+f/z28PRk5frCofLFUTKNlqFpDyctFqYkQel1RaWuSLxdvL90X719+pqcpQcClz5LW5I4iNSOvZYmAU4OhOMKk5MjlqJUQeJ00hOV7rM2iN3b354EaaTNRfvWrkxuH7lta2nl3p3WIlpPmgQY0H+OI2Vv01qK4ld4EXXcIvS+eyD32PZQOUN5xemGcqt91iJC7fzU0iTAgHFA+P1s4cbdqNx44NGt3pknT7e0Nrfb7Z9yq312NC+1NPda1qOffcQYII0oIdKUmu/Wk5eLoGkfPdd6lPZXer1pb3em5/u5gfvejFB6XC1C7R37XppagAMChMFXejLTQWyuAu5Fi7jJLg0+cwPs2v5yszAtFTrtArV0IWpdlHignxtj1D7LzWa1HHstzVfA49Gf3L3LTUO+" + "w5qIFgDNEuzNIEEL8JbkuhxWdAkAPAyXQ4MAAAEAAgAEAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAEAAgAEAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAGAZVn+ANVuB8euXCQKAAAAAElFTkSuQmCC", "\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); }", "a_pos", "tex", "aspect", "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", "_net_lax1dude_eaglercraft_beta_IndexedDBFilesystem_1_3", "Initialization Failed", "OPENED", "LOCKED", "ERROR", "main", "EAGPKG!!", "invalid epk file", "", " end", "invalid file hash for ", "", "Spawning..", "/dirt.png", "matrix is not supported while recording display list use tessellator class instead", "projection matrix stack overflow", "texture matrix stack overflow", "modelview matrix stack overflow", "projection matrix stack underflow", "texture matrix stack underflow", "modelview matrix stack underflow", "only GL_QUADS supported in a display list", "vertex format inconsistent in display list", "UTC", "Unable to allocate array size: ", "lineSeparator must not contain base64 characters: [", "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.", "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.", "window.indexedDB was null or undefined", "yee", "End of stream reached", "Malformed UTF-8 sequence", "charsetName is null", "Should never been thrown", "Stream closed", "footer is not found", "Unexpected end of ZLIB input stream", "�", "Replacement preconditions do not hold", "en", "CA", "fr", "zh", "CN", "FR", "de", "DE", "it", "IT", "ja", "JP", "ko", "KR", "TW", "GB", "US", "New position ", " is outside of range [0;", "New limit ", "The last int in src ", " is outside of array of size ", "Length ", " must be non-negative", "Offset ", "open error", "path", "The last float in dst ", "The last float in src ", "array size does not equal image size", "Capacity is negative: ", "The last byte in dst ", "The last byte in src ", "BIG_ENDIAN", "LITTLE_ENDIAN", "-", "Index ", "none", "grass", "cloth", "gravel", "stone", "metal", "wood", "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=", "The last char in dst ", "The last char in src ", " is outside of string of size ", "Start ", " must be before end ", "001", "STRICT", "LENIANT", "GMT", ":", "00", "Unknown zone type: ", "Id must not be null", "Unknown mode: ", "Forward", "Left", "Back", "Right", "Jump", "Build", "Chat", "Toggle fog", "Save location", "Load location", "Music: ", "OFF", "ON", "Sound: ", "Invert mouse: ", "Show FPS: ", "Render distance: ", "View bobbing: ", "3d anaglyph: ", "Limit framerate: ", "FAR", "NORMAL", "SHORT", "TINY", "0123456789abcdef", "humanoid.armor", "creeper", "skeleton", "zombie", "pig", "sheep", "spider", "sheep.fur", "/char.png", "The level is corrupt!", "/gui/gui.png.png", "/gui/icons.png", "Minecraft Classic (Modified) Webport", "Score: &e", "Arrows: ", "could not load: ", "/gui/gui.png", "need dictionary", "unknown compression method", "unknown header flags set", "incorrect data check", "incorrect length check", "incorrect header check", "invalid window size", "bad extra field length", "header crc mismatch", "/item/arrows.png", "Wrong number of repetitions of X pattern at ", "IGNORE", "REPLACE", "REPORT", "/glsl/core.glsl", "\n#define CC_a_color\n", "#define CC_a_normal\n", "#define CC_a_texture0\n", "#define CC_lighting\n", "#define CC_fog\n", "#define CC_alphatest\n", "#define CC_unit0\n", "\n#define CC_VERT\n", "\n\n", "\n[/glsl/core.glsl][CC_VERT] ", "broken shader file", "\n#define CC_FRAG\n", "\n[/glsl/core.glsl][CC_FRAG] ", "a_position", "a_texture0", "a_color", "a_normal", "\n[LINKER] ", "matrix_m", "matrix_p", "matrix_t", "colorUniform", "normalUniform", "light0Pos", "light1Pos", "fogColor", "fogMode", "fogStart", "fogEnd", "fogDensity", "fogPremultiply", "alphaTestF", "tex0", "texCoordV0", "Action must be non-null", "Generating level", "Raising..", "Eroding..", "Soiling..", "Carving..", "Watering..", "Melting..", "Growing..", "Planting..", "A Nice World", "Diagonal flood!?", "Options...", "Generate new level...", "Save level..", "Load level..", "Back to game", "Game menu", "Game over!", "invalid stored block lengths", "invalid block type", "too many length or distance symbols", "invalid bit length repeat", "/mob/skeleton.png", "/mob/pig.png", "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", "newAction must be non-null", "/armor/plate.png", "/mob/zombie.png", "/mob/creeper.png", "/mob/spider.png", "/mob/sheep.png", "/mob/sheep_fur.png", "GMT+00:00", "Options", "Controls...", "Done", "Controls", "Small", "Normal", "Huge", "Cancel", "Generate new level", "Malformed input of length ", "Unmappable characters of length ", "> ", " <"]); 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); }; function Long_eq(a, b) { return a.hi === b.hi && a.lo === b.lo; } function Long_ne(a, b) { return a.hi !== b.hi || a.lo !== b.lo; } function Long_gt(a, b) { if (a.hi < b.hi) { return false; } if (a.hi > b.hi) { return true; } var x = a.lo >>> 1; var y = b.lo >>> 1; if (x !== y) { return x > y; } return (a.lo & 1) > (b.lo & 1); } function Long_ge(a, b) { if (a.hi < b.hi) { return false; } if (a.hi > b.hi) { return true; } var x = a.lo >>> 1; var y = b.lo >>> 1; if (x !== y) { return x >= y; } return (a.lo & 1) >= (b.lo & 1); } function Long_lt(a, b) { if (a.hi > b.hi) { return false; } if (a.hi < b.hi) { return true; } var x = a.lo >>> 1; var y = b.lo >>> 1; if (x !== y) { return x < y; } return (a.lo & 1) < (b.lo & 1); } function Long_le(a, b) { if (a.hi > b.hi) { return false; } if (a.hi < b.hi) { return true; } var x = a.lo >>> 1; var y = b.lo >>> 1; if (x !== y) { return x <= y; } return (a.lo & 1) <= (b.lo & 1); } function 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)); } var a_lolo = a.lo & 0xFFFF; var a_lohi = a.lo >>> 16; var a_hilo = a.hi & 0xFFFF; var a_hihi = a.hi >>> 16; var b_lolo = b.lo & 0xFFFF; var b_lohi = b.lo >>> 16; var b_hilo = b.hi & 0xFFFF; var b_hihi = b.hi >>> 16; var lolo = a_lolo + b_lolo | 0; var lohi = a_lohi + b_lohi + (lolo >> 16) | 0; var hilo = a_hilo + b_hilo + (lohi >> 16) | 0; var hihi = a_hihi + b_hihi + (hilo >> 16) | 0; return new Long(lolo & 0xFFFF | (lohi & 0xFFFF) << 16, hilo & 0xFFFF | (hihi & 0xFFFF) << 16); } function Long_inc(a) { var lo = a.lo + 1 | 0; var hi = a.hi; if (lo === 0) { hi = hi + 1 | 0; } return new Long(lo, hi); } function Long_dec(a) { var lo = a.lo - 1 | 0; var hi = a.hi; if (lo === -1) { hi = hi - 1 | 0; } return new Long(lo, hi); } function Long_neg(a) { return Long_inc(new Long(a.lo ^ 0xFFFFFFFF, a.hi ^ 0xFFFFFFFF)); } function Long_sub(a, b) { if (a.hi === a.lo >> 31 && b.hi === b.lo >> 31) { return Long_fromNumber(a.lo - b.lo); } var a_lolo = a.lo & 0xFFFF; var a_lohi = a.lo >>> 16; var a_hilo = a.hi & 0xFFFF; var a_hihi = a.hi >>> 16; var b_lolo = b.lo & 0xFFFF; var b_lohi = b.lo >>> 16; var b_hilo = b.hi & 0xFFFF; var b_hihi = b.hi >>> 16; var lolo = a_lolo - b_lolo | 0; var lohi = a_lohi - b_lohi + (lolo >> 16) | 0; var hilo = a_hilo - b_hilo + (lohi >> 16) | 0; var hihi = a_hihi - b_hihi + (hilo >> 16) | 0; return new Long(lolo & 0xFFFF | (lohi & 0xFFFF) << 16, hilo & 0xFFFF | (hihi & 0xFFFF) << 16); } function Long_compare(a, b) { var 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); } function Long_isPositive(a) { return (a.hi & 0x80000000) === 0; } function Long_isNegative(a) { return (a.hi & 0x80000000) !== 0; } function Long_mul(a, b) { var positive = Long_isNegative(a) === Long_isNegative(b); if (Long_isNegative(a)) { a = Long_neg(a); } if (Long_isNegative(b)) { b = Long_neg(b); } var a_lolo = a.lo & 0xFFFF; var a_lohi = a.lo >>> 16; var a_hilo = a.hi & 0xFFFF; var a_hihi = a.hi >>> 16; var b_lolo = b.lo & 0xFFFF; var b_lohi = b.lo >>> 16; var b_hilo = b.hi & 0xFFFF; var b_hihi = b.hi >>> 16; var lolo = 0; var lohi = 0; var hilo = 0; var 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; var result = new Long(lolo & 0xFFFF | lohi << 16, hilo & 0xFFFF | hihi << 16); return positive ? result : Long_neg(result); } function 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]; } function 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]; } function 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]; } function 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]; } function Long_divRem(a, b) { if (b.lo === 0 && b.hi === 0) { throw new Error("Division by zero"); } var 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); var 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)]; } function 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); var q = LongInt_div(a, b); a = new Long(a.lo, a.hi); q = new Long(q.lo, q.hi); return [q, a]; } function Long_shiftLeft16(a) { return new Long(a.lo << 16, a.lo >>> 16 | a.hi << 16); } function Long_shiftRight16(a) { return new Long(a.lo >>> 16 | a.hi << 16, a.hi >>> 16); } function Long_and(a, b) { return new Long(a.lo & b.lo, a.hi & b.hi); } function Long_or(a, b) { return new Long(a.lo | b.lo, a.hi | b.hi); } function Long_xor(a, b) { return new Long(a.lo ^ b.lo, a.hi ^ b.hi); } function 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); } } function 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); } } function 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; } function LongInt_mul(a, b) { var a_lolo = (a.lo & 0xFFFF) * b | 0; var a_lohi = (a.lo >>> 16) * b | 0; var a_hilo = (a.hi & 0xFFFF) * b | 0; var a_hihi = (a.hi >>> 16) * b | 0; var 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; } function LongInt_sub(a, b) { var a_lolo = a.lo & 0xFFFF; var a_lohi = a.lo >>> 16; var a_hilo = a.hi & 0xFFFF; var a_hihi = a.hi >>> 16; var b_lolo = b.lo & 0xFFFF; var b_lohi = b.lo >>> 16; var b_hilo = b.hi & 0xFFFF; var 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; var 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; } function LongInt_add(a, b) { var a_lolo = a.lo & 0xFFFF; var a_lohi = a.lo >>> 16; var a_hilo = a.hi & 0xFFFF; var a_hihi = a.hi >>> 16; var b_lolo = b.lo & 0xFFFF; var b_lohi = b.lo >>> 16; var b_hilo = b.hi & 0xFFFF; var 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; var 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; } function LongInt_inc(a) { a.lo = a.lo + 1 | 0; if (a.lo === 0) { a.hi = a.hi + 1 | 0; if (a.hi === 0) { a.sup = a.sup + 1 & 0xFFFF; } } } function LongInt_dec(a) { a.lo = a.lo - 1 | 0; if (a.lo === -1) { a.hi = a.hi - 1 | 0; if (a.hi === -1) { a.sup = a.sup - 1 & 0xFFFF; } } } function LongInt_ucompare(a, b) { var 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); } function LongInt_numOfLeadingZeroBits(a) { var n = 0; var d = 16; while (d > 0) { if (a >>> d !== 0) { a >>>= d; n = n + d | 0; } d = d / 2 | 0; } return 31 - n; } function 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; } } function 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; } } function LongInt_copy(a) { return new LongInt(a.lo, a.hi, a.sup); } function LongInt_div(a, b) { var bits = b.hi !== 0 ? LongInt_numOfLeadingZeroBits(b.hi) : LongInt_numOfLeadingZeroBits(b.lo) + 32; var sz = 1 + (bits / 16 | 0); var dividentBits = bits % 16; LongInt_shl(b, bits); LongInt_shl(a, dividentBits); var q = new LongInt(0, 0, 0); while (sz-- > 0) { LongInt_shl(q, 16); var digitA = (a.hi >>> 16) + 0x10000 * a.sup; var digitB = b.hi >>> 16; var digit = digitA / digitB | 0; var 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) { var 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; } 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 (var 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 : function(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; var result; try { result = this.runner(); } catch (e){ result = e; } finally { $rt_currentNativeThread = null; } if (this.suspendCallback !== null) { var self = this; var callback = this.suspendCallback; this.suspendCallback = null; callback(function() { self.resume(); }); } else if (this.status === 0) { this.completeCallback(result); } }; function $rt_suspending() { var thread = $rt_nativeThread(); return thread != null && thread.isSuspending(); } function $rt_resuming() { var thread = $rt_nativeThread(); return thread != null && thread.isResuming(); } function $rt_suspend(callback) { var nativeThread = $rt_nativeThread(); if (nativeThread === null) { throw new Error("Suspension point reached from non-threading context (perhaps, from native JS method)."); } return nativeThread.suspend(callback); } function $rt_startThread(runner, callback) { (new TeaVMThread(runner)).start(callback); } var $rt_currentNativeThread = null; function $rt_nativeThread() { return $rt_currentNativeThread; } function $rt_invalidPointer() { throw new Error("Invalid recorded state"); } main = $rt_mainStarter(nle_Client_main); (function() { var c; c = otjb_Window.prototype; c.dispatchEvent = c.$dispatchEvent$exported$4; c.addEventListener = c.$addEventListener$exported$0; c.removeEventListener = c.$removeEventListener$exported$1; c.getLength = c.$getLength$exported$5; c.get = c.$get$exported$2; c.addEventListener = c.$addEventListener$exported$6; c.removeEventListener = c.$removeEventListener$exported$3; c = nlea_EaglerAdapterImpl2$2.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$3.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$4.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$5.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$6.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$7.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$8.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$9.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$10.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$11.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$1.prototype; c.stateChanged = c.$stateChanged$exported$0; c = nleat_IndexedDBFilesystem$AsyncHandlers$1.prototype; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$2.prototype; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$3.prototype; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$4.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$12.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$13.prototype; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$14.prototype; c.onTimer = c.$onTimer$exported$0; c = otjc_JSArray.prototype; c.getLength = c.$getLength$exported$1; c.get = c.$get$exported$0; c = nlea_EaglerAdapterImpl2$14$1.prototype; c.onTimer = c.$onTimer$exported$0; })(); })(); //# sourceMappingURL=app.js.map //# sourceMappingURL=app.js.map //# sourceMappingURL=app.js.map