"use strict"; (function(root, module) { if (typeof define === 'function' && define.amd) { define(['exports'], function(exports) { module(root, exports); }); } else if (typeof exports === 'object' && exports !== null && typeof exports.nodeName !== 'string') { module(global, exports); } else { module(root, root); } }(typeof self !== 'undefined' ? self : this, function($rt_globals, $rt_exports) { 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 instanceof $rt_objcls() && !!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_castToInterface(obj, cls) { if (obj !== null && !$rt_isInstance(obj, cls)) { $rt_throwCCE(); } return obj; } function $rt_castToClass(obj, cls) { if (obj !== null && !(obj instanceof cls)) { $rt_throwCCE(); } return obj; } $rt_globals.Array.prototype.fill = $rt_globals.Array.prototype.fill || function(value, start, end) { var len = this.length; if (!len) return this; start = start | 0; var i = start < 0 ? $rt_globals.Math.max(len + start, 0) : $rt_globals.Math.min(start, len); end = end === $rt_globals.undefined ? len : end | 0; end = end < 0 ? $rt_globals.Math.max(len + end, 0) : $rt_globals.Math.min(end, len); for (;i < end;i++) { this[i] = value; } return this; }; function $rt_createArray(cls, sz) { var data = new $rt_globals.Array(sz); data.fill(null); return new $rt_array(cls, data); } function $rt_createArrayFromData(cls, init) { return $rt_wrapArray(cls, init); } function $rt_wrapArray(cls, data) { return new $rt_array(cls, data); } function $rt_createUnfilledArray(cls, sz) { return new $rt_array(cls, new $rt_globals.Array(sz)); } function $rt_createNumericArray(cls, nativeArray) { return new $rt_array(cls, nativeArray); } var $rt_createLongArray; var $rt_createLongArrayFromData; if (typeof $rt_globals.BigInt64Array !== 'function') { $rt_createLongArray = function(sz) { var data = new $rt_globals.Array(sz); var arr = new $rt_array($rt_longcls(), data); data.fill(Long_ZERO); return arr; }; $rt_createLongArrayFromData = function(init) { return new $rt_array($rt_longcls(), init); }; } else { $rt_createLongArray = function(sz) { return $rt_createNumericArray($rt_longcls(), new $rt_globals.BigInt64Array(sz)); }; $rt_createLongArrayFromData = function(data) { var buffer = new $rt_globals.BigInt64Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_longcls(), buffer); }; } function $rt_createCharArray(sz) { return $rt_createNumericArray($rt_charcls(), new $rt_globals.Uint16Array(sz)); } function $rt_createCharArrayFromData(data) { var buffer = new $rt_globals.Uint16Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_charcls(), buffer); } function $rt_createByteArray(sz) { return $rt_createNumericArray($rt_bytecls(), new $rt_globals.Int8Array(sz)); } function $rt_createByteArrayFromData(data) { var buffer = new $rt_globals.Int8Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_bytecls(), buffer); } function $rt_createShortArray(sz) { return $rt_createNumericArray($rt_shortcls(), new $rt_globals.Int16Array(sz)); } function $rt_createShortArrayFromData(data) { var buffer = new $rt_globals.Int16Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_shortcls(), buffer); } function $rt_createIntArray(sz) { return $rt_createNumericArray($rt_intcls(), new $rt_globals.Int32Array(sz)); } function $rt_createIntArrayFromData(data) { var buffer = new $rt_globals.Int32Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_intcls(), buffer); } function $rt_createBooleanArray(sz) { return $rt_createNumericArray($rt_booleancls(), new $rt_globals.Int8Array(sz)); } function $rt_createBooleanArrayFromData(data) { var buffer = new $rt_globals.Int8Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_booleancls(), buffer); } function $rt_createFloatArray(sz) { return $rt_createNumericArray($rt_floatcls(), new $rt_globals.Float32Array(sz)); } function $rt_createFloatArrayFromData(data) { var buffer = new $rt_globals.Float32Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_floatcls(), buffer); } function $rt_createDoubleArray(sz) { return $rt_createNumericArray($rt_doublecls(), new $rt_globals.Float64Array(sz)); } function $rt_createDoubleArrayFromData(data) { var buffer = new $rt_globals.Float64Array(data.length); buffer.set(data); return $rt_createNumericArray($rt_doublecls(), buffer); } 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, simpleName : null, declaringClass : null, enclosingClass : null }; 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; cls.$meta.simpleName = null; cls.$meta.declaringClass = null; cls.$meta.enclosingClass = 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); } var $rt_javaExceptionProp = $rt_globals.Symbol("javaException"); function $rt_exception(ex) { var err = ex.$jsException; if (!err) { var javaCause = $rt_throwableCause(ex); var jsCause = javaCause !== null ? javaCause.$jsException : $rt_globals.undefined; var cause = typeof jsCause === "object" ? { cause : jsCause } : $rt_globals.undefined; err = new JavaError("Java exception thrown", cause); if (typeof $rt_globals.Error.captureStackTrace === "function") { $rt_globals.Error.captureStackTrace(err); } err[$rt_javaExceptionProp] = 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_stecls(), 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 $rt_globals.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 $rt_globals.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 $rt_globals.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 $rt_globals.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 $rt_globals.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 $rt_globals.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 $rt_globals.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 $rt_globals.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 $rt_globals.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' && $rt_globals.isNaN(value)) { throw "NaN"; } return value; } function $rt_createOutputFunction(printFunction) { var buffer = ""; var utf8Buffer = 0; var utf8Remaining = 0; function putCodePoint(ch) { if (ch === 0xA) { printFunction(buffer); buffer = ""; } else if (ch < 0x10000) { buffer += $rt_globals.String.fromCharCode(ch); } else { ch = ch - 0x10000 | 0; var hi = (ch >> 10) + 0xD800; var lo = (ch & 0x3FF) + 0xDC00; buffer += $rt_globals.String.fromCharCode(hi, lo); } } return function(ch) { if ((ch & 0x80) === 0) { putCodePoint(ch); } else if ((ch & 0xC0) === 0x80) { if (utf8Buffer > 0) { utf8Remaining <<= 6; utf8Remaining |= ch & 0x3F; if ( --utf8Buffer === 0) { putCodePoint(utf8Remaining); } } } else if ((ch & 0xE0) === 0xC0) { utf8Remaining = ch & 0x1F; utf8Buffer = 1; } else if ((ch & 0xF0) === 0xE0) { utf8Remaining = ch & 0x0F; utf8Buffer = 2; } else if ((ch & 0xF8) === 0xF0) { utf8Remaining = ch & 0x07; utf8Buffer = 3; } }; } var $rt_putStdout = typeof $rt_putStdoutCustom === "function" ? $rt_putStdoutCustom : typeof $rt_globals.console === "object" ? $rt_createOutputFunction(function(msg) { $rt_globals.console.info(msg); }) : function() { }; var $rt_putStderr = typeof $rt_putStderrCustom === "function" ? $rt_putStderrCustom : typeof $rt_globals.console === "object" ? $rt_createOutputFunction(function(msg) { $rt_globals.console.error(msg); }) : function() { }; var $rt_packageData = null; function $rt_packages(data) { var i = 0; var packages = new $rt_globals.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 = $rt_globals.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 innerClassInfo = data[i++]; if (innerClassInfo === 0) { m.simpleName = null; m.declaringClass = null; m.enclosingClass = null; } else { var enclosingClass = innerClassInfo[0]; m.enclosingClass = enclosingClass !== 0 ? enclosingClass : null; var declaringClass = innerClassInfo[1]; m.declaringClass = declaringClass !== 0 ? declaringClass : null; var simpleName = innerClassInfo[2]; m.simpleName = simpleName !== 0 ? simpleName : null; } 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_wrapFunction0(f) { return function() { return f(this); }; } function $rt_wrapFunction1(f) { return function(p1) { return f(this, p1); }; } function $rt_wrapFunction2(f) { return function(p1, p2) { return f(this, p1, p2); }; } function $rt_wrapFunction3(f) { return function(p1, p2, p3) { return f(this, p1, p2, p3, p3); }; } function $rt_wrapFunction4(f) { return function(p1, p2, p3, p4) { return f(this, p1, p2, p3, p4); }; } function $rt_threadStarter(f) { return function() { var args = $rt_globals.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 $rt_globals.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_numberConversionBuffer = new $rt_globals.ArrayBuffer(16); var $rt_numberConversionView = new $rt_globals.DataView($rt_numberConversionBuffer); var $rt_numberConversionFloatArray = new $rt_globals.Float32Array($rt_numberConversionBuffer); var $rt_numberConversionDoubleArray = new $rt_globals.Float64Array($rt_numberConversionBuffer); var $rt_numberConversionIntArray = new $rt_globals.Int32Array($rt_numberConversionBuffer); var $rt_doubleToRawLongBits; var $rt_longBitsToDouble; if (typeof $rt_globals.BigInt !== 'function') { $rt_doubleToRawLongBits = function(n) { $rt_numberConversionView.setFloat64(0, n, true); return new Long($rt_numberConversionView.getInt32(0, true), $rt_numberConversionView.getInt32(4, true)); }; $rt_longBitsToDouble = function(n) { $rt_numberConversionView.setInt32(0, n.lo, true); $rt_numberConversionView.setInt32(4, n.hi, true); return $rt_numberConversionView.getFloat64(0, true); }; } else if (typeof $rt_globals.BigInt64Array !== 'function') { $rt_doubleToRawLongBits = function(n) { $rt_numberConversionView.setFloat64(0, n, true); var lo = $rt_numberConversionView.getInt32(0, true); var hi = $rt_numberConversionView.getInt32(4, true); return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt.asUintN(32, $rt_globals.BigInt(lo)) | $rt_globals.BigInt(hi) << $rt_globals.BigInt(32)); }; $rt_longBitsToDouble = function(n) { $rt_numberConversionView.setFloat64(0, n, true); var lo = $rt_numberConversionView.getInt32(0, true); var hi = $rt_numberConversionView.getInt32(4, true); return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt.asUintN(32, $rt_globals.BigInt(lo)) | $rt_globals.BigInt(hi) << $rt_globals.BigInt(32)); }; } else { var $rt_numberConversionLongArray = new $rt_globals.BigInt64Array($rt_numberConversionBuffer); $rt_doubleToRawLongBits = function(n) { $rt_numberConversionDoubleArray[0] = n; return $rt_numberConversionLongArray[0]; }; $rt_longBitsToDouble = function(n) { $rt_numberConversionLongArray[0] = n; return $rt_numberConversionDoubleArray[0]; }; } function $rt_floatToRawIntBits(n) { $rt_numberConversionFloatArray[0] = n; return $rt_numberConversionIntArray[0]; } function $rt_intBitsToFloat(n) { $rt_numberConversionIntArray[0] = n; return $rt_numberConversionFloatArray[0]; } function $rt_equalDoubles(a, b) { if (a !== a) { return b !== b; } $rt_numberConversionDoubleArray[0] = a; $rt_numberConversionDoubleArray[1] = b; return $rt_numberConversionIntArray[0] === $rt_numberConversionIntArray[2] && $rt_numberConversionIntArray[1] === $rt_numberConversionIntArray[3]; } var JavaError; if (typeof $rt_globals.Reflect === 'object') { var defaultMessage = $rt_globals.Symbol("defaultMessage"); JavaError = function JavaError(message, cause) { var self = $rt_globals.Reflect.construct($rt_globals.Error, [$rt_globals.undefined, cause], JavaError); $rt_globals.Object.setPrototypeOf(self, JavaError.prototype); self[defaultMessage] = message; return self; }; JavaError.prototype = $rt_globals.Object.create($rt_globals.Error.prototype, { constructor : { configurable : true, writable : true, value : JavaError }, message : { get : function() { try { var javaException = this[$rt_javaExceptionProp]; if (typeof javaException === 'object') { var javaMessage = $rt_throwableMessage(javaException); if (typeof javaMessage === "object") { return javaMessage !== null ? javaMessage.toString() : null; } } return this[defaultMessage]; } catch (e){ return "Exception occurred trying to extract Java exception message: " + e; } } } }); } else { JavaError = $rt_globals.Error; } function $rt_javaException(e) { return e instanceof $rt_globals.Error && typeof e[$rt_javaExceptionProp] === 'object' ? e[$rt_javaExceptionProp] : null; } function $rt_jsException(e) { return typeof e.$jsException === 'object' ? e.$jsException : null; } function $rt_wrapException(err) { var ex = err[$rt_javaExceptionProp]; if (!ex) { ex = $rt_createException($rt_str("(JavaScript) " + err.toString())); err[$rt_javaExceptionProp] = ex; ex.$jsException = err; $rt_fillStack(err, ex); } return ex; } 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"; }; function Long_isPositive(a) { return (a.hi & 0x80000000) === 0; } function Long_isNegative(a) { return (a.hi & 0x80000000) !== 0; } var Long_MAX_NORMAL = 1 << 18; var Long_ZERO; var Long_create; var Long_fromInt; var Long_fromNumber; var Long_toNumber; var Long_hi; var Long_lo; if (typeof $rt_globals.BigInt !== "function") { 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($rt_globals.String.fromCharCode(48 + divRem[1].lo)); n = divRem[0]; }while (n.lo !== 0 || n.hi !== 0); result = (result.reverse()).join(''); return positive ? result : "-" + result; }; Long.prototype.valueOf = function() { return Long_toNumber(this); }; Long_ZERO = new Long(0, 0); Long_fromInt = function(val) { return new Long(val, -(val < 0) | 0); }; Long_fromNumber = function(val) { if (val >= 0) { return new Long(val | 0, val / 0x100000000 | 0); } else { return Long_neg(new Long( -val | 0, -val / 0x100000000 | 0)); } }; Long_create = function(lo, hi) { return new Long(lo, hi); }; Long_toNumber = function(val) { return 0x100000000 * val.hi + (val.lo >>> 0); }; Long_hi = function(val) { return val.hi; }; Long_lo = function(val) { return val.lo; }; } else { Long_ZERO = $rt_globals.BigInt(0); Long_create = function(lo, hi) { return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt.asUintN(64, $rt_globals.BigInt(lo)) | $rt_globals.BigInt.asUintN(64, $rt_globals.BigInt(hi) << $rt_globals.BigInt(32))); }; Long_fromInt = function(val) { return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt(val | 0)); }; Long_fromNumber = function(val) { return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt(val >= 0 ? $rt_globals.Math.floor(val) : $rt_globals.Math.ceil(val))); }; Long_toNumber = function(val) { return $rt_globals.Number(val); }; Long_hi = function(val) { return $rt_globals.Number($rt_globals.BigInt.asIntN(64, val >> $rt_globals.BigInt(32))) | 0; }; Long_lo = function(val) { return $rt_globals.Number($rt_globals.BigInt.asIntN(32, val)) | 0; }; } var $rt_imul = $rt_globals.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) { return (a >>> 0) / (b >>> 0) >>> 0; }; var $rt_umod = function(a, b) { return (a >>> 0) % (b >>> 0) >>> 0; }; var $rt_ucmp = function(a, b) { a >>>= 0; b >>>= 0; return a < b ? -1 : a > b ? 1 : 0; }; function $rt_checkBounds(index, array) { if (index < 0 || index >= array.length) { $rt_throwAIOOBE(); } return index; } function $rt_checkUpperBound(index, array) { if (index >= array.length) { $rt_throwAIOOBE(); } return index; } function $rt_checkLowerBound(index) { if (index < 0) { $rt_throwAIOOBE(); } return index; } function $rt_classWithoutFields(superclass) { if (superclass === 0) { return function() { }; } if (superclass === void 0) { superclass = $rt_objcls(); } return function() { superclass.call(this); }; } 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_stecls() { return jl_Object; } function $rt_throwableMessage(t) { return jl_Throwable_getMessage(t); } function $rt_throwableCause(t) { return jl_Throwable_getCause(t); } 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) { } function $rt_throwAIOOBE() { $rt_throw(jl_ArrayIndexOutOfBoundsException__init_()); } function $rt_throwCCE() { $rt_throw(jl_ClassCastException__init_()); } 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, var$3; if ($o.$monitor === null) jl_Object_createMonitor($o); var$2 = $o.$monitor; var$3 = var$2.$owner; if (var$3 === null) var$2.$owner = jl_Thread_currentThread(); else if (var$3 !== jl_Thread_currentThread()) { 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_currentThread()) { var$2 = $o.$monitor; var$3 = var$2.$count - 1 | 0; var$2.$count = var$3; if (!var$3) var$2.$owner = null; jl_Object_isEmptyMonitor($o); return; } $o = new jl_IllegalMonitorStateException; jl_Throwable__init_0($o); $rt_throw($o); } function jl_Object_monitorEnter($o) { var var$2; if ($o.$monitor === null) jl_Object_createMonitor($o); var$2 = $o.$monitor; if (var$2.$owner === null) var$2.$owner = jl_Thread_currentThread(); if ($o.$monitor.$owner !== jl_Thread_currentThread()) jl_Object_monitorEnterWait$_asyncCall_$($o, 1); else { $o = $o.$monitor; $o.$count = $o.$count + 1 | 0; } } function jl_Object_createMonitor($o) { $o.$monitor = jl_Object$Monitor__init_(); } function jl_Object_monitorEnterWait($o, $count, $callback) { var $thread_0, $monitor, var$6; $thread_0 = jl_Thread_currentThread(); $monitor = $o.$monitor; if ($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 ($monitor.$owner === null) { $monitor.$owner = $thread_0; jl_Thread_setCurrentThread($thread_0); $o = $o.$monitor; $o.$count = $o.$count + $count | 0; otpp_AsyncCallbackWrapper_complete($callback, null); return; } if ($monitor.$enteringThreads === null) $monitor.$enteringThreads = otp_Platform_createQueueJs$js_body$_30(); $monitor = $monitor.$enteringThreads; var$6 = new jl_Object$monitorEnterWait$lambda$_6_0; var$6.$_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, var$3; if (!jl_Object_isEmptyMonitor($o) && $o.$monitor.$owner === jl_Thread_currentThread()) { var$2 = $o.$monitor; var$3 = var$2.$count - 1 | 0; var$2.$count = var$3; if (var$3 <= 0) { var$2.$owner = null; var$2 = var$2.$enteringThreads; if (var$2 !== null && !otp_PlatformQueue_isEmpty$static(var$2)) { 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, var$2; $monitor = $this.$monitor; if ($monitor === null) return 1; a: { if ($monitor.$owner === null) { var$2 = $monitor.$enteringThreads; if (!(var$2 !== null && !otp_PlatformQueue_isEmpty$static(var$2))) { $monitor = $monitor.$notifyListeners; if ($monitor === null) break a; if (otp_PlatformQueue_isEmpty$static($monitor)) break a; } } return 0; } $this.$monitor = null; return 1; } function jl_Object__init_0($this) {} function jl_Object_getClass($this) { return jl_Class_getClass($this.constructor); } function jl_Object_hashCode($this) { return jl_Object_identity($this); } 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$9; var$1 = jl_Class_getName(jl_Object_getClass($this)); var$2 = jl_Object_identity($this); if (!var$2) var$3 = $rt_s(1); else { var$4 = (((32 - jl_Integer_numberOfLeadingZeros(var$2) | 0) + 4 | 0) - 1 | 0) / 4 | 0; var$5 = $rt_createCharArray(var$4); var$6 = var$5.data; var$7 = (var$4 - 1 | 0) * 4 | 0; var$8 = 0; while (var$7 >= 0) { var$4 = var$8 + 1 | 0; var$6[var$8] = jl_Character_forDigit((var$2 >>> var$7 | 0) & 15, 16); var$7 = var$7 - 4 | 0; var$8 = var$4; } var$3 = jl_String__init_(var$5); } var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9); var$1 = jl_StringBuilder_append(var$9, var$1); jl_AbstractStringBuilder_append(var$1, 64); jl_StringBuilder_append(var$1, var$3); return jl_AbstractStringBuilder_toString(var$9); } 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; $listeners = $this.$monitor; if (!($listeners !== null && $listeners.$owner === jl_Thread_currentThread() ? 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 jl_Object_monitorEnterWait$_asyncCall_$(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); thread.suspend(function() { try { jl_Object_monitorEnterWait(var$1, var$2, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } var nle_Client = $rt_classWithoutFields(); var nle_Client_rootElement = null; var nle_Client_instance = null; var nle_Client_isCrashed = 0; function nle_Client__init_() { var var_0 = new nle_Client(); nle_Client__init_0(var_0); return var_0; } function nle_Client__init_0($this) {} function nle_Client_main($args) { var $ex2, $e, var$4, var$5, $s, var$7, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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_Integer__clinit_(); jl_Character__clinit_(); ju_GregorianCalendar__clinit_(); nmc_Minecraft__clinit_(); nms_BlockSand__clinit_(); nms_BlockRedstoneTorch__clinit_(); otcic_StdoutOutputStream__clinit_(); jnc_CoderResult__clinit_(); nms_ItemArmor__clinit_(); nPs_LocalStorageManager__clinit_(); nle_AssetRepository__clinit_(); nms_GLAllocation__clinit_(); nle_Base64__clinit_(); nle_BaseNCodec__clinit_(); jl_Boolean__clinit_(); nms_AxisAlignedBB__clinit_(); nms_Vec3D__clinit_(); nms_World__clinit_(); cjj_Inflate__clinit_(); otcic_StderrOutputStream__clinit_(); jl_Float__clinit_(); jl_Double__clinit_(); nms_RenderEngine__clinit_(); nms_GuiIngame__clinit_(); nms_GuiMainMenu__clinit_(); nms_Entity__clinit_(); nms_MathHelper__clinit_(); nms_GuiContainer__clinit_(); cjj_InfBlocks__clinit_(); nPg_FixedFunctionShader__clinit_(); cjj_InfTree__clinit_(); cjj_InfCodes__clinit_(); nms_EntityMinecart__clinit_(); nms_ClippingHelperImplementation__clinit_(); nms_RenderHelper__clinit_(); ju_Collections__clinit_(); ju_Comparator$NaturalOrder__clinit_(); nms_NextTickListEntry__clinit_(); otcit_FloatSynthesizer__clinit_(); otcit_FloatAnalyzer__clinit_(); nms_FontAllowedCharacters__clinit_(); cjj_CRC32__clinit_(); jur_AbstractSet__clinit_(); nleat_IndexedDBFilesystem$BooleanResult__clinit_(); otci_Base64Impl__clinit_(); nms_ColorizerGrass__clinit_(); nms_ColorizerFoliage__clinit_(); jl_AbstractStringBuilder$Constants__clinit_(); jl_Long__clinit_(); otcit_DoubleAnalyzer__clinit_(); ju_TreeSet__clinit_(); nms_SpawnerAnimals__clinit_(); nms_WorldGenBigTree__clinit_(); nms_NoiseGenerator2__clinit_(); nle_Client_registerErrorHandler$js_body$_5(); $ex2 = $rt_globals.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) { $s = $ex2[var$4]; $args[var$4] = $rt_str($s === null ? null : !($s instanceof $rt_objcls()) ? $s : otji_JSWrapper_unwrap($s)); var$4 = var$4 + 1 | 0; } } a: { try { $args = $e.data; $ex2 = $rt_globals.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; } jl_Throwable_printStackTrace($ex2, ji_PrintWriter__init_(ji_StringWriter__init_(), 0)); 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; } } } jl_Throwable_printStackTrace($ex2, ji_PrintWriter__init_(ji_StringWriter__init_(), 0)); return; } e: { ji_PrintStream_println(jl_System_out(), $rt_s(2)); $s = nmc_Minecraft__init_(); nle_Client_instance = $s; var$7 = new nms_Session; nms_Session_$callClinit(); var$7.$inventory = $rt_s(3); $s.$field_6320_i = var$7; $e = nlea_EaglerAdapterImpl2_loadLocalStorage($rt_s(4)); $args = nlea_EaglerAdapterImpl2_loadLocalStorage($rt_s(5)); if ($e !== null) try { $ex2 = nPn_NBTBase_readTag(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($e))); if ($ex2 !== null && $ex2 instanceof nPn_NBTTagCompound) nPs_LocalStorageManager_gameSettingsStorage = $ex2; break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } a: { if ($args !== null) try { $ex2 = nPn_NBTBase_readTag(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($args))); if ($ex2 !== null && $ex2 instanceof nPn_NBTTagCompound) nPs_LocalStorageManager_levelSettingsStorage = $ex2; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } if (nPs_LocalStorageManager_gameSettingsStorage === null) nPs_LocalStorageManager_gameSettingsStorage = nPn_NBTTagCompound__init_(); if (nPs_LocalStorageManager_levelSettingsStorage === null) nPs_LocalStorageManager_levelSettingsStorage = nPn_NBTTagCompound__init_(); nlea_EaglerAdapterImpl2_canvas.focus(); nlea_EaglerAdapterImpl2_canvasBack.focus(); $ex2 = nle_Client_instance; $ptr = 2; case 2: nmc_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, $ptr); } function nle_Client_showDatabaseLockedScreen($msg) { var $s, var$3, $doc, $img, $div; $s = $rt_str(nle_Client_rootElement.getAttribute("style")); var$3 = nle_Client_rootElement; if ($s === null) $s = $rt_s(6); $doc = new jl_StringBuilder; jl_AbstractStringBuilder__init_($doc); jl_StringBuilder_append(jl_StringBuilder_append($doc, $s), $rt_s(7)); $doc = jl_AbstractStringBuilder_toString($doc); var$3.setAttribute("style", $rt_ustr($doc)); $doc = $rt_globals.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() { $rt_globals.window.minecraftError = null; $rt_globals.window.onerror = function(message, file, line, column, errorObj) { if (errorObj) { $rt_globals.window.minecraftError = errorObj; $rt_globals.window.minecraftErrorL = "" + line + ":" + column; nle_Client_handleNativeError$jsocb$_0(); } else { $rt_globals.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 = $rt_globals.window.minecraftError; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append0(var$2, $rt_s(8)); jl_StringBuilder_append0(var$2, $rt_s(9)); jl_AbstractStringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append0(var$2, $rt_s(10)), $rt_str($rt_globals.window.minecraftErrorL)), 10); jl_AbstractStringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append0(var$2, $rt_s(11)), $rt_str(var$1.name)), 10); jl_AbstractStringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append0(var$2, $rt_s(12)), $rt_str(var$1.message)), 10); jl_StringBuilder_append0(var$2, $rt_s(13)); jl_AbstractStringBuilder_append(jl_StringBuilder_append0(var$2, $rt_str(var$1.stack)), 10); } var jlr_AnnotatedElement = $rt_classWithoutFields(0); var jlr_Type = $rt_classWithoutFields(0); 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_toString($this) { var var$1, var$2, var$3; var$1 = (!($this.$platformClass.$meta.flags & 2) ? 0 : 1) ? $rt_s(14) : !jl_Class_isPrimitive($this) ? $rt_s(15) : $rt_s(6); var$2 = jl_Class_getName($this); var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append(jl_StringBuilder_append(var$3, var$1), var$2); return jl_AbstractStringBuilder_toString(var$3); } 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(otp_Platform_getArrayItem($this.$platformClass)); } function jl_Class_getSuperclass($this) { return jl_Class_getClass($this.$platformClass.$meta.superclass); } function jl_Class_getClassLoader($this) { jl_ClassLoader_$callClinit(); return jl_ClassLoader_systemClassLoader; } function jl_Class_newInstance($this) { var $instance; $instance = $this.$platformClass; if (!otp_Platform_newInstancePrepared) { otp_Platform_prepareNewInstance(); otp_Platform_newInstancePrepared = 1; } $instance = otp_Platform_newInstanceImpl($instance); if ($instance !== null) return $instance; $instance = new jl_InstantiationException; jl_Throwable__init_0($instance); $rt_throw($instance); } function jl_Class_getResourceAsStream($this, $name) { var $cls, $index, var$4, var$5, var$6, var$7; if (jl_String_startsWith($name, $rt_s(16))) return jl_ClassLoader_getResourceAsStream(jl_Class_getClassLoader($this), jl_String_substring($name, 1)); $cls = $this; while (otp_Platform_getArrayItem($cls.$platformClass) === null ? 0 : 1) { $cls = jl_Class_getComponentType($cls); } $cls = jl_Class_getName($cls); $index = jl_String_lastIndexOf($cls, 46); if ($index >= 0) { $cls = jl_String_substring0($cls, 0, $index + 1 | 0); var$4 = $rt_createCharArray(jl_String_length($cls)); var$5 = var$4.data; var$6 = 0; while (var$6 < jl_String_length($cls)) { var$5[var$6] = jl_String_charAt($cls, var$6) != 46 ? jl_String_charAt($cls, var$6) : 47; var$6 = var$6 + 1 | 0; } $cls = jl_String__init_0(); $cls.$characters = var$4; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7); jl_StringBuilder_append(jl_StringBuilder_append(var$7, $cls), $name); $name = jl_AbstractStringBuilder_toString(var$7); } return jl_ClassLoader_getResourceAsStream(jl_Class_getClassLoader($this), $name); } var otji_JS = $rt_classWithoutFields(); function otji_JS__init_() { var var_0 = new otji_JS(); otji_JS__init_0(var_0); return var_0; } function otji_JS__init_0($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; } var otp_Platform = $rt_classWithoutFields(); var otp_Platform_newInstancePrepared = 0; function otp_Platform__init_() { var var_0 = new otp_Platform(); otp_Platform__init_0(var_0); return var_0; } function otp_Platform__init_0($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_prepareNewInstance() { var c = '$$constructor$$'; jl_String[c] = jl_String__init_1; jl_Object[c] = jl_Object__init_0; jl_NoClassDefFoundError[c] = jl_NoClassDefFoundError__init_; jl_NoSuchFieldError[c] = jl_NoSuchFieldError__init_; jl_NoSuchMethodError[c] = jl_NoSuchMethodError__init_; jl_RuntimeException[c] = jl_RuntimeException__init_0; jl_ClassCastException[c] = jl_ClassCastException__init_0; jl_StringBuilder[c] = jl_StringBuilder__init_; jl_IncompatibleClassChangeError[c] = jl_IncompatibleClassChangeError__init_; jl_Exception[c] = jl_Exception__init_; nle_Client[c] = nle_Client__init_0; ji_StringWriter[c] = ji_StringWriter__init_0; jl_Throwable[c] = jl_Throwable__init_0; otji_JS[c] = otji_JS__init_0; otp_Platform[c] = otp_Platform__init_0; jl_LinkageError[c] = jl_LinkageError__init_; jl_Error[c] = jl_Error__init_; jl_AbstractStringBuilder[c] = jl_AbstractStringBuilder__init_; nmc_Minecraft[c] = nmc_Minecraft__init_0; nlea_EaglerAdapterImpl2[c] = nlea_EaglerAdapterImpl2__init_; nlea_EaglerAdapterImpl2$2[c] = nlea_EaglerAdapterImpl2$2__init_; nlea_EaglerAdapterImpl2$3[c] = nlea_EaglerAdapterImpl2$3__init_; nlea_EaglerAdapterImpl2$4[c] = nlea_EaglerAdapterImpl2$4__init_; nlea_EaglerAdapterImpl2$5[c] = nlea_EaglerAdapterImpl2$5__init_; nlea_EaglerAdapterImpl2$6[c] = nlea_EaglerAdapterImpl2$6__init_; nlea_EaglerAdapterImpl2$7[c] = nlea_EaglerAdapterImpl2$7__init_; nlea_EaglerAdapterImpl2$8[c] = nlea_EaglerAdapterImpl2$8__init_; nlea_EaglerAdapterImpl2$9[c] = nlea_EaglerAdapterImpl2$9__init_; nlea_EaglerAdapterImpl2$10[c] = nlea_EaglerAdapterImpl2$10__init_; nlea_EaglerAdapterImpl2$11[c] = nlea_EaglerAdapterImpl2$11__init_; nle_Client$AbortedLaunchException[c] = nle_Client$AbortedLaunchException__init_; ju_LinkedList[c] = ju_LinkedList__init_; ji_IOException[c] = ji_IOException__init_; jl_StringBuffer[c] = jl_StringBuffer__init_; jl_String$_clinit_$lambda$_93_0[c] = jl_String$_clinit_$lambda$_93_0__init_; jl_System[c] = jl_System__init_; jl_IndexOutOfBoundsException[c] = jl_IndexOutOfBoundsException__init_; jl_NullPointerException[c] = jl_NullPointerException__init_0; jl_ArrayStoreException[c] = jl_ArrayStoreException__init_; otci_IntegerUtil[c] = otci_IntegerUtil__init_; nms_ModelBiped[c] = nms_ModelBiped__init_; nms_TextureWaterFX[c] = nms_TextureWaterFX__init_; nms_TextureLavaFX[c] = nms_TextureLavaFX__init_; nPs_LocalStorageManager[c] = nPs_LocalStorageManager__init_; nPn_NBTTagCompound[c] = nPn_NBTTagCompound__init_0; jt_SimpleDateFormat[c] = jt_SimpleDateFormat__init_; ju_HashMap[c] = ju_HashMap__init_; nleat_IndexedDBFilesystem[c] = nleat_IndexedDBFilesystem__init_; nle_AssetRepository[c] = nle_AssetRepository__init_; nle_SHA1Digest[c] = nle_SHA1Digest__init_; jlr_Array[c] = jlr_Array__init_; otji_JSWrapper$_clinit_$lambda$_30_0[c] = otji_JSWrapper$_clinit_$lambda$_30_0__init_; otji_JSWrapper$_clinit_$lambda$_30_1[c] = otji_JSWrapper$_clinit_$lambda$_30_1__init_; otcic_StdoutOutputStream[c] = otcic_StdoutOutputStream__init_; ju_Random[c] = ju_Random__init_; jl_Thread[c] = jl_Thread__init_; olo_GL11[c] = olo_GL11__init_; olo_EaglerAdapterGL30[c] = olo_EaglerAdapterGL30__init_; ju_ArrayList[c] = ju_ArrayList__init_; nPn_NBTTagEnd[c] = nPn_NBTTagEnd__init_; nleat_IndexedDBFilesystem$AsyncHandlers[c] = nleat_IndexedDBFilesystem$AsyncHandlers__init_; jl_IllegalArgumentException[c] = jl_IllegalArgumentException__init_; ju_Arrays[c] = ju_Arrays__init_; jnci_UTF8Charset[c] = jnci_UTF8Charset__init_; nms_GLAllocation[c] = nms_GLAllocation__init_; nms_RenderBlocks[c] = nms_RenderBlocks__init_; nle_Base64[c] = nle_Base64__init_; nPn_NBTTagByte[c] = nPn_NBTTagByte__init_; nPn_NBTTagShort[c] = nPn_NBTTagShort__init_; nPn_NBTTagInt[c] = nPn_NBTTagInt__init_; nPn_NBTTagLong[c] = nPn_NBTTagLong__init_; nPn_NBTTagFloat[c] = nPn_NBTTagFloat__init_; nPn_NBTTagDouble[c] = nPn_NBTTagDouble__init_; nPn_NBTTagByteArray[c] = nPn_NBTTagByteArray__init_; nPn_NBTTagString[c] = nPn_NBTTagString__init_; nPn_NBTTagList[c] = nPn_NBTTagList__init_; jt_DateFormatSymbols[c] = jt_DateFormatSymbols__init_; jnc_Charset$Charsets[c] = jnc_Charset$Charsets__init_; cjj_Inflater[c] = cjj_Inflater__init_; otjb_Performance[c] = otjb_Performance__init_; nms_TileEntitySign[c] = nms_TileEntitySign__init_; jl_DefaultUncaughtExceptionHandler[c] = jl_DefaultUncaughtExceptionHandler__init_; cjj_ZStream[c] = cjj_ZStream__init_; nms_Material[c] = nms_Material__init_; nms_TileEntity[c] = nms_TileEntity__init_; otciu_CLDRHelper[c] = otciu_CLDRHelper__init_; otpp_ResourceAccessor[c] = otpp_ResourceAccessor__init_; jnc_StandardCharsets[c] = jnc_StandardCharsets__init_; cjj_GZIPException[c] = cjj_GZIPException__init_; nms_MaterialTransparent[c] = nms_MaterialTransparent__init_; nms_MaterialLiquid[c] = nms_MaterialLiquid__init_; nms_MaterialLogic[c] = nms_MaterialLogic__init_; ju_GregorianCalendar[c] = ju_GregorianCalendar__init_; jnci_AsciiCharset[c] = jnci_AsciiCharset__init_; jnci_Iso8859Charset[c] = jnci_Iso8859Charset__init_; cjj_Adler32[c] = cjj_Adler32__init_; otjc_JSObjects[c] = otjc_JSObjects__init_; jl_CloneNotSupportedException[c] = jl_CloneNotSupportedException__init_; jl_StringIndexOutOfBoundsException[c] = jl_StringIndexOutOfBoundsException__init_; nms_GuiScreen[c] = nms_GuiScreen__init_; nms_GuiConflictWarning[c] = nms_GuiConflictWarning__init_; jl_InterruptedException[c] = jl_InterruptedException__init_; ji_EOFException[c] = ji_EOFException__init_; nms_GameSettings[c] = nms_GameSettings__init_; oli_Keyboard[c] = oli_Keyboard__init_; nms_Gui[c] = nms_Gui__init_; olug_GLU[c] = olug_GLU__init_; nPgv_Matrix4f[c] = nPgv_Matrix4f__init_; nPgv_Vector3f[c] = nPgv_Vector3f__init_; otcic_StderrOutputStream[c] = otcic_StderrOutputStream__init_; jl_NegativeArraySizeException[c] = jl_NegativeArraySizeException__init_; jl_Math[c] = jl_Math__init_; nPgv_Vector4f[c] = nPgv_Vector4f__init_; otciu_UnicodeHelper[c] = otciu_UnicodeHelper__init_; otci_Base46[c] = otci_Base46__init_; jl_AssertionError[c] = jl_AssertionError__init_; nms_MouseHelper[c] = nms_MouseHelper__init_; nms_TexturePortalFX[c] = nms_TexturePortalFX__init_; nms_TexureWaterFlowFX[c] = nms_TexureWaterFlowFX__init_; nms_TextureLavaFlowFX[c] = nms_TextureLavaFlowFX__init_; nms_GuiMainMenu[c] = nms_GuiMainMenu__init_; nms_GuiGameOver[c] = nms_GuiGameOver__init_; nle_BaseNCodec$Context[c] = nle_BaseNCodec$Context__init_; jnc_CharacterCodingException[c] = jnc_CharacterCodingException__init_; nms_RenderManager[c] = nms_RenderManager__init_; nms_RenderList[c] = nms_RenderList__init_; oli_Mouse[c] = oli_Mouse__init_; nms_MathHelper[c] = nms_MathHelper__init_; nms_GuiUnused[c] = nms_GuiUnused__init_; cjj_InfTree[c] = cjj_InfTree__init_; nms_RenderItem[c] = nms_RenderItem__init_; nms_CraftingInventoryCB[c] = nms_CraftingInventoryCB__init_; nms_InventoryCraftResult[c] = nms_InventoryCraftResult__init_; ji_UTFDataFormatException[c] = ji_UTFDataFormatException__init_; jl_IllegalMonitorStateException[c] = jl_IllegalMonitorStateException__init_; jl_IllegalStateException[c] = jl_IllegalStateException__init_; nms_RenderSpider[c] = nms_RenderSpider__init_; nms_ModelPig[c] = nms_ModelPig__init_; nms_ModelSheep2[c] = nms_ModelSheep2__init_; nms_ModelSheep1[c] = nms_ModelSheep1__init_; nms_ModelCow[c] = nms_ModelCow__init_; nms_ModelChicken[c] = nms_ModelChicken__init_; nms_RenderCreeper[c] = nms_RenderCreeper__init_; nms_ModelSkeleton[c] = nms_ModelSkeleton__init_; nms_ModelZombie[c] = nms_ModelZombie__init_; nms_RenderPlayer[c] = nms_RenderPlayer__init_; nms_RenderGhast[c] = nms_RenderGhast__init_; nms_RenderEntity[c] = nms_RenderEntity__init_; nms_RenderPainting[c] = nms_RenderPainting__init_; nms_RenderArrow[c] = nms_RenderArrow__init_; nms_RenderSnowball[c] = nms_RenderSnowball__init_; nms_RenderFireball[c] = nms_RenderFireball__init_; nms_RenderTNTPrimed[c] = nms_RenderTNTPrimed__init_; nms_RenderFallingSand[c] = nms_RenderFallingSand__init_; nms_RenderMinecart[c] = nms_RenderMinecart__init_; nms_RenderBoat[c] = nms_RenderBoat__init_; nms_RenderFish[c] = nms_RenderFish__init_; jl_Object$Monitor[c] = jl_Object$Monitor__init_0; nms_ModelSpider[c] = nms_ModelSpider__init_; nms_ModelCreeper[c] = nms_ModelCreeper__init_; nms_ModelGhast[c] = nms_ModelGhast__init_; nms_ModelMinecart[c] = nms_ModelMinecart__init_; nms_ModelBoat[c] = nms_ModelBoat__init_; jn_ReadOnlyBufferException[c] = jn_ReadOnlyBufferException__init_; jn_BufferOverflowException[c] = jn_BufferOverflowException__init_; jn_BufferUnderflowException[c] = jn_BufferUnderflowException__init_; nms_GuiIngameMenu[c] = nms_GuiIngameMenu__init_; nms_Frustrum[c] = nms_Frustrum__init_; nms_CraftingManager[c] = nms_CraftingManager__init_; jl_UnsupportedOperationException[c] = jl_UnsupportedOperationException__init_; nms_ClippingHelperImplementation[c] = nms_ClippingHelperImplementation__init_; nms_ClippingHelper[c] = nms_ClippingHelper__init_; nms_RenderHelper[c] = nms_RenderHelper__init_; nms_GuiChat[c] = nms_GuiChat__init_; otcic_Console[c] = otcic_Console__init_; nms_WorldProvider[c] = nms_WorldProvider__init_; ji_UnsupportedEncodingException[c] = ji_UnsupportedEncodingException__init_; jl_NumberFormatException[c] = jl_NumberFormatException__init_; otcit_FloatSynthesizer[c] = otcit_FloatSynthesizer__init_; jl_SystemClassLoader[c] = jl_SystemClassLoader__init_; nms_RecipesTools[c] = nms_RecipesTools__init_; nms_RecipesWeapons[c] = nms_RecipesWeapons__init_; nms_RecipesIngots[c] = nms_RecipesIngots__init_; nms_RecipesFood[c] = nms_RecipesFood__init_; nms_RecipesCrafting[c] = nms_RecipesCrafting__init_; nms_RecipesArmor[c] = nms_RecipesArmor__init_; otcit_FloatAnalyzer[c] = otcit_FloatAnalyzer__init_; ju_Collections[c] = ju_Collections__init_; ju_Collections$1[c] = ju_Collections$1__init_; ju_Collections$2[c] = ju_Collections$2__init_; ju_Collections$3[c] = ju_Collections$3__init_; ju_Collections$4[c] = ju_Collections$4__init_; ju_Collections$5[c] = ju_Collections$5__init_; ju_Collections$_clinit_$lambda$_59_0[c] = ju_Collections$_clinit_$lambda$_59_0__init_; ju_Comparator$NaturalOrder[c] = ju_Comparator$NaturalOrder__init_; ju_Date[c] = ju_Date__init_; nms_TileEntityRenderer[c] = nms_TileEntityRenderer__init_; jur_Pattern[c] = jur_Pattern__init_; ji_ByteArrayOutputStream[c] = ji_ByteArrayOutputStream__init_; nms_MovementInput[c] = nms_MovementInput__init_; cjj_CRC32[c] = cjj_CRC32__init_; cjj_GZIPHeader[c] = cjj_GZIPHeader__init_; nms_FontAllowedCharacters[c] = nms_FontAllowedCharacters__init_; ju_LinkedList$Entry[c] = ju_LinkedList$Entry__init_; nlea_EaglerAdapterImpl2$14[c] = nlea_EaglerAdapterImpl2$14__init_; jl_OutOfMemoryError[c] = jl_OutOfMemoryError__init_; nms_TileEntitySignRenderer[c] = nms_TileEntitySignRenderer__init_; nms_TileEntityMobSpawner[c] = nms_TileEntityMobSpawner__init_; nms_TileEntityMobSpawnerRenderer[c] = nms_TileEntityMobSpawnerRenderer__init_; jl_VirtualMachineError[c] = jl_VirtualMachineError__init_; nms_SignModel[c] = nms_SignModel__init_; jur_AheadFSet[c] = jur_AheadFSet__init_; jur_FinalSet[c] = jur_FinalSet__init_; jur_NonCapJointSet[c] = jur_NonCapJointSet__init_; jur_JointSet[c] = jur_JointSet__init_; jur_CharClass[c] = jur_CharClass__init_; jur_AbstractCharClass$PredefinedCharacterClasses[c] = jur_AbstractCharClass$PredefinedCharacterClasses__init_; jur_FSet$PossessiveFSet[c] = jur_FSet$PossessiveFSet__init_; ju_BitSet[c] = ju_BitSet__init_; jur_SOLSet[c] = jur_SOLSet__init_; jur_PreviousMatch[c] = jur_PreviousMatch__init_; jur_EOISet[c] = jur_EOISet__init_; jur_DotAllSet[c] = jur_DotAllSet__init_; jur_AbstractLineTerminator$1[c] = jur_AbstractLineTerminator$1__init_; jur_AbstractLineTerminator$2[c] = jur_AbstractLineTerminator$2__init_; jur_AbstractCharClass$LazySpace[c] = jur_AbstractCharClass$LazySpace__init_; jur_AbstractCharClass$LazyDigit[c] = jur_AbstractCharClass$LazyDigit__init_; jur_AbstractCharClass$LazyLower[c] = jur_AbstractCharClass$LazyLower__init_; jur_AbstractCharClass$LazyUpper[c] = jur_AbstractCharClass$LazyUpper__init_; jur_AbstractCharClass$LazyASCII[c] = jur_AbstractCharClass$LazyASCII__init_; jur_AbstractCharClass$LazyAlpha[c] = jur_AbstractCharClass$LazyAlpha__init_; jur_AbstractCharClass$LazyAlnum[c] = jur_AbstractCharClass$LazyAlnum__init_; jur_AbstractCharClass$LazyPunct[c] = jur_AbstractCharClass$LazyPunct__init_; jur_AbstractCharClass$LazyGraph[c] = jur_AbstractCharClass$LazyGraph__init_; jur_AbstractCharClass$LazyPrint[c] = jur_AbstractCharClass$LazyPrint__init_; jur_AbstractCharClass$LazyBlank[c] = jur_AbstractCharClass$LazyBlank__init_; jur_AbstractCharClass$LazyCntrl[c] = jur_AbstractCharClass$LazyCntrl__init_; jur_AbstractCharClass$LazyXDigit[c] = jur_AbstractCharClass$LazyXDigit__init_; jur_AbstractCharClass$LazyJavaLowerCase[c] = jur_AbstractCharClass$LazyJavaLowerCase__init_; jur_AbstractCharClass$LazyJavaUpperCase[c] = jur_AbstractCharClass$LazyJavaUpperCase__init_; jur_AbstractCharClass$LazyJavaWhitespace[c] = jur_AbstractCharClass$LazyJavaWhitespace__init_; jur_AbstractCharClass$LazyJavaMirrored[c] = jur_AbstractCharClass$LazyJavaMirrored__init_; jur_AbstractCharClass$LazyJavaDefined[c] = jur_AbstractCharClass$LazyJavaDefined__init_; jur_AbstractCharClass$LazyJavaDigit[c] = jur_AbstractCharClass$LazyJavaDigit__init_; jur_AbstractCharClass$LazyJavaIdentifierIgnorable[c] = jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_; jur_AbstractCharClass$LazyJavaISOControl[c] = jur_AbstractCharClass$LazyJavaISOControl__init_; jur_AbstractCharClass$LazyJavaJavaIdentifierPart[c] = jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_; jur_AbstractCharClass$LazyJavaJavaIdentifierStart[c] = jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_; jur_AbstractCharClass$LazyJavaLetter[c] = jur_AbstractCharClass$LazyJavaLetter__init_; jur_AbstractCharClass$LazyJavaLetterOrDigit[c] = jur_AbstractCharClass$LazyJavaLetterOrDigit__init_; jur_AbstractCharClass$LazyJavaSpaceChar[c] = jur_AbstractCharClass$LazyJavaSpaceChar__init_; jur_AbstractCharClass$LazyJavaTitleCase[c] = jur_AbstractCharClass$LazyJavaTitleCase__init_; jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart[c] = jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_; jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart[c] = jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_; jur_AbstractCharClass$LazyWord[c] = jur_AbstractCharClass$LazyWord__init_; jur_AbstractCharClass$LazyNonWord[c] = jur_AbstractCharClass$LazyNonWord__init_; jur_AbstractCharClass$LazyNonSpace[c] = jur_AbstractCharClass$LazyNonSpace__init_; jur_AbstractCharClass$LazyNonDigit[c] = jur_AbstractCharClass$LazyNonDigit__init_; jur_AbstractCharClass$LazySpecialsBlock[c] = jur_AbstractCharClass$LazySpecialsBlock__init_; ju_NoSuchElementException[c] = ju_NoSuchElementException__init_; ju_HashSet[c] = ju_HashSet__init_; nms_MinecraftError[c] = nms_MinecraftError__init_; nms_WorldChunkManager[c] = nms_WorldChunkManager__init_; ju_ConcurrentModificationException[c] = ju_ConcurrentModificationException__init_; otci_Base64Impl[c] = otci_Base64Impl__init_; nms_ColorizerGrass[c] = nms_ColorizerGrass__init_; nms_ColorizerFoliage[c] = nms_ColorizerFoliage__init_; jl_AbstractStringBuilder$Constants[c] = jl_AbstractStringBuilder$Constants__init_; otcit_DoubleAnalyzer[c] = otcit_DoubleAnalyzer__init_; otcit_DoubleAnalyzer$Result[c] = otcit_DoubleAnalyzer$Result__init_; otcit_FloatAnalyzer$Result[c] = otcit_FloatAnalyzer$Result__init_; nms_TileEntityFurnace[c] = nms_TileEntityFurnace__init_; nms_TileEntityChest[c] = nms_TileEntityChest__init_; jnc_BufferUnderflowException[c] = jnc_BufferUnderflowException__init_; jnc_BufferOverflowException[c] = jnc_BufferOverflowException__init_; nms_NBTTagCompound[c] = nms_NBTTagCompound__init_; ju_Objects[c] = ju_Objects__init_; nms_NBTTagEnd[c] = nms_NBTTagEnd__init_; nms_NBTTagByte[c] = nms_NBTTagByte__init_; nms_NBTTagShort[c] = nms_NBTTagShort__init_; nms_NBTTagInt[c] = nms_NBTTagInt__init_; nms_NBTTagLong[c] = nms_NBTTagLong__init_; nms_NBTTagFloat[c] = nms_NBTTagFloat__init_; nms_NBTTagDouble[c] = nms_NBTTagDouble__init_; nms_NBTTagByteArray[c] = nms_NBTTagByteArray__init_; nms_NBTTagString[c] = nms_NBTTagString__init_; nms_NBTTagList[c] = nms_NBTTagList__init_; ju_TreeSet[c] = ju_TreeSet__init_; nms_WorldProviderHell[c] = nms_WorldProviderHell__init_; ju_TreeMap[c] = ju_TreeMap__init_; nms_MobSpawnerBase[c] = nms_MobSpawnerBase__init_; nms_SpawnerAnimals[c] = nms_SpawnerAnimals__init_; nms_MobSpawnerSwamp[c] = nms_MobSpawnerSwamp__init_; nms_MobSpawnerDesert[c] = nms_MobSpawnerDesert__init_; nms_MobSpawnerHell[c] = nms_MobSpawnerHell__init_; jl_ArrayIndexOutOfBoundsException[c] = jl_ArrayIndexOutOfBoundsException__init_0; nms_WorldGenTrees[c] = nms_WorldGenTrees__init_; nms_WorldGenBigTree[c] = nms_WorldGenBigTree__init_; nms_CraftingInventoryWorkbenchCB[c] = nms_CraftingInventoryWorkbenchCB__init_; nms_EntityList[c] = nms_EntityList__init_; nms_MapGenCaves[c] = nms_MapGenCaves__init_; nms_MapGenBase[c] = nms_MapGenBase__init_; nms_MapGenCavesHell[c] = nms_MapGenCavesHell__init_; nms_NoiseGenerator2[c] = nms_NoiseGenerator2__init_; nms_NoiseGeneratorPerlin[c] = nms_NoiseGeneratorPerlin__init_; nms_Teleporter[c] = nms_Teleporter__init_; nms_WorldGenDungeons[c] = nms_WorldGenDungeons__init_; nms_WorldGenReed[c] = nms_WorldGenReed__init_; nms_WorldGenPumpkin[c] = nms_WorldGenPumpkin__init_; nms_WorldGenCactus[c] = nms_WorldGenCactus__init_; nms_WorldGenFire[c] = nms_WorldGenFire__init_; nms_WorldGenLightStone1[c] = nms_WorldGenLightStone1__init_; nms_WorldGenLightStone2[c] = nms_WorldGenLightStone2__init_; otci_RandomUtils[c] = otci_RandomUtils__init_; jl_StrictMath[c] = jl_StrictMath__init_; jl_InstantiationException[c] = jl_InstantiationException__init_; jl_ReflectiveOperationException[c] = jl_ReflectiveOperationException__init_; nms_Path[c] = nms_Path__init_; nms_MCHashTable[c] = nms_MCHashTable__init_; } function otp_Platform_newInstanceImpl(var$1) { if ($rt_resuming()) { var $r = $rt_nativeThread().pop(); var$1.$$constructor$$($r); if ($rt_suspending()) { return $rt_nativeThread().push($r); } return $r; } if (!var$1.hasOwnProperty('$$constructor$$')) { return null; } var $r = new var$1(); var$1.$$constructor$$($r); if ($rt_suspending()) { return $rt_nativeThread().push($r); } return $r; } 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_getArrayItem($cls) { return $cls.$meta.item; } function otp_Platform_createQueueJs$js_body$_30() { return []; } function jl_Throwable() { var a = this; jl_Object.call(a); a.$message = null; a.$cause = null; a.$suppressionEnabled = 0; a.$writableStackTrace = 0; a.$suppressed = null; 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_3(var_0) { var var_1 = new jl_Throwable(); jl_Throwable__init_4(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__init_4($this, $cause) { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$cause = $cause; } 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_getCause($this) { var var$1; var$1 = $this.$cause; if (var$1 === $this) var$1 = null; return var$1; } 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, var$6, $element; ji_PrintStream_print($stream, jl_Class_getName(jl_Object_getClass($this))); $message = $this.$getMessage(); if ($message !== null) { var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append(jl_StringBuilder_append(var$3, $rt_s(17)), $message); ji_PrintStream_print($stream, jl_AbstractStringBuilder_toString(var$3)); } a: { var$4 = $stream.$buffer; var$4.data[0] = 10; ji_PrintStream_print0($stream, var$4, 0, 1); var$4 = $this.$stackTrace; if (var$4 !== null) { var$4 = var$4.data; var$5 = var$4.length; var$6 = 0; while (true) { if (var$6 >= var$5) break a; $element = var$4[var$6]; ji_PrintStream_print($stream, $rt_s(18)); jl_AbstractStringBuilder_append(jl_StringBuilder_append($stream.$sb, $element), 10); ji_PrintStream_printSB($stream); var$6 = var$6 + 1 | 0; } } } var$3 = $this.$cause; if (var$3 !== null && var$3 !== $this) { ji_PrintStream_print($stream, $rt_s(19)); jl_Throwable_printStackTrace1($this.$cause, $stream); } } function jl_Throwable_printStackTrace($this, $stream) { var $message, $element, var$4, var$5, var$6; ji_PrintWriter_print($stream, jl_Class_getName(jl_Object_getClass($this))); $message = $this.$getMessage(); if ($message !== null) { $element = new jl_StringBuilder; jl_AbstractStringBuilder__init_($element); jl_StringBuilder_append(jl_StringBuilder_append($element, $rt_s(17)), $message); ji_PrintWriter_print($stream, jl_AbstractStringBuilder_toString($element)); } a: { ji_PrintWriter_println($stream); var$4 = $this.$stackTrace; if (var$4 !== null) { var$4 = var$4.data; var$5 = var$4.length; var$6 = 0; while (true) { if (var$6 >= var$5) break a; $element = var$4[var$6]; ji_PrintWriter_print($stream, $rt_s(18)); ji_PrintWriter_println0($stream, jl_String_valueOf($element)); var$6 = var$6 + 1 | 0; } } } $element = $this.$cause; if ($element !== null && $element !== $this) { ji_PrintWriter_print($stream, $rt_s(19)); jl_Throwable_printStackTrace($this.$cause, $stream); } } function jl_Throwable_addSuppressed($this, $exception) { var var$2, var$3; if (!$this.$suppressionEnabled) return; var$2 = $this.$suppressed; var$2 = ju_Arrays_copyOf(var$2, var$2.data.length + 1 | 0); var$3 = var$2.data; $this.$suppressed = var$2; var$3[var$3.length - 1 | 0] = $exception; } var jl_Exception = $rt_classWithoutFields(jl_Throwable); function jl_Exception__init_0() { var var_0 = new jl_Exception(); jl_Exception__init_(var_0); return var_0; } function jl_Exception__init_($this) { jl_Throwable__init_0($this); } var jl_RuntimeException = $rt_classWithoutFields(jl_Exception); function jl_RuntimeException__init_1() { var var_0 = new jl_RuntimeException(); jl_RuntimeException__init_0(var_0); return var_0; } function jl_RuntimeException__init_(var_0) { var var_1 = new jl_RuntimeException(); jl_RuntimeException__init_2(var_1, var_0); return var_1; } function jl_RuntimeException__init_0($this) { jl_Throwable__init_0($this); } function jl_RuntimeException__init_2($this, $message) { jl_Throwable__init_($this, $message); } var jl_ClassCastException = $rt_classWithoutFields(jl_RuntimeException); function jl_ClassCastException__init_() { var var_0 = new jl_ClassCastException(); jl_ClassCastException__init_0(var_0); return var_0; } function jl_ClassCastException__init_0($this) { jl_Throwable__init_0($this); } var ji_Serializable = $rt_classWithoutFields(0); var jl_Comparable = $rt_classWithoutFields(0); var jl_CharSequence = $rt_classWithoutFields(0); function jl_String() { var a = this; jl_Object.call(a); a.$characters = null; a.$hashCode = 0; } var jl_String_EMPTY_CHARS = null; var jl_String_EMPTY = null; var jl_String_CASE_INSENSITIVE_ORDER = null; function jl_String_$callClinit() { jl_String_$callClinit = $rt_eraseClinit(jl_String); jl_String__clinit_(); } function jl_String__init_0() { var var_0 = new jl_String(); jl_String__init_1(var_0); return var_0; } function jl_String__init_(var_0) { var var_1 = new jl_String(); jl_String__init_2(var_1, var_0); return var_1; } function jl_String__init_3(var_0, var_1, var_2) { var var_3 = new jl_String(); jl_String__init_4(var_3, var_0, var_1, var_2); return var_3; } function jl_String__init_5(var_0, var_1) { var var_2 = new jl_String(); jl_String__init_6(var_2, var_0, var_1); return var_2; } function jl_String__init_7(var_0, var_1, var_2) { var var_3 = new jl_String(); jl_String__init_8(var_3, var_0, var_1, var_2); return var_3; } function jl_String__init_1($this) { jl_String_$callClinit(); $this.$characters = jl_String_EMPTY_CHARS; } function jl_String__init_2($this, $characters) { jl_String_$callClinit(); jl_String__init_4($this, $characters, 0, $characters.data.length); } function jl_String__init_4($this, $value, $offset, $count) { var var$4; jl_String_$callClinit(); var$4 = $rt_createCharArray($count); $this.$characters = var$4; jl_System_fastArraycopy($value, $offset, var$4, 0, $count); } function jl_String__init_6($this, $bytes, $charset) { var var$3; jl_String_$callClinit(); $charset = jnc_Charset_decode($charset, jn_ByteBuffer_wrap($bytes, 0, $bytes.data.length)); if (!$charset.$position && $charset.$limit == $charset.$capacity) $this.$characters = $charset.$array; else { $bytes = $rt_createCharArray(jn_Buffer_remaining($charset)); var$3 = $bytes.data; $this.$characters = $bytes; jn_CharBuffer_get($charset, $bytes, 0, var$3.length); } } function jl_String__init_8($this, $codePoints, $offset, $count) { var $charCount, $i, var$6, var$7, $codePoint, var$9; jl_String_$callClinit(); $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; } $codePoints = $this.$characters; if ($charCount < $codePoints.data.length) $this.$characters = ju_Arrays_copyOf0($codePoints, $charCount); } function jl_String_charAt($this, $index) { var var$2, var$3; if ($index >= 0) { var$2 = $this.$characters.data; if ($index < var$2.length) return var$2[$index]; } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } 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_startsWith0($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_startsWith($this, $prefix) { if ($this === $prefix) return 1; return jl_String_startsWith0($this, $prefix, 0); } function jl_String_indexOf($this, $ch, $fromIndex) { var $i, $bmpChar, var$5, $hi, $lo; $i = jl_Math_max(0, $fromIndex); if ($ch < 65536) { $bmpChar = $ch & 65535; while (true) { var$5 = $this.$characters.data; if ($i >= var$5.length) return (-1); if (var$5[$i] == $bmpChar) break; $i = $i + 1 | 0; } return $i; } $hi = jl_Character_highSurrogate($ch); $lo = jl_Character_lowSurrogate($ch); while (true) { var$5 = $this.$characters.data; if ($i >= (var$5.length - 1 | 0)) return (-1); if (var$5[$i] == $hi && var$5[$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_lastIndexOf0($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); var$7 = $this.$characters.data; if (var$7[$i] == $lo) { $ch = $i - 1 | 0; if (var$7[$ch] == $hi) break; } $i = $i + (-1) | 0; } return $ch; } function jl_String_lastIndexOf($this, $ch) { return jl_String_lastIndexOf0($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_substring0($this, $beginIndex, $endIndex) { var var$3, var$4; var$3 = $rt_compare($beginIndex, $endIndex); if (var$3 > 0) { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if (!var$3) { jl_String_$callClinit(); return jl_String_EMPTY; } if (!$beginIndex && $endIndex == jl_String_length($this)) return $this; return jl_String__init_3($this.$characters, $beginIndex, $endIndex - $beginIndex | 0); } function jl_String_substring($this, $beginIndex) { return jl_String_substring0($this, $beginIndex, jl_String_length($this)); } function jl_String_contains($this, $s) { var $sz, $i, $j; $sz = jl_String_length($this) - jl_String_length($s) | 0; $i = 0; while ($i <= $sz) { $j = 0; while (true) { if ($j >= jl_String_length($s)) return 1; if (jl_String_charAt($this, $i + $j | 0) != jl_String_charAt($s, $j)) break; $j = $j + 1 | 0; } $i = $i + 1 | 0; } return 0; } function jl_String_replace($this, $target, $replacement) { var $sb, $sz, $i, $j; $sb = new jl_StringBuilder; jl_AbstractStringBuilder__init_($sb); $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_append($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_AbstractStringBuilder_append($sb, jl_String_charAt($this, $i)); } $i = $i + 1 | 0; } jl_StringBuilder_append($sb, jl_String_substring($this, $i)); return jl_AbstractStringBuilder_toString($sb); } function jl_String_trim($this) { var $lower, $upper; $lower = 0; $upper = jl_String_length($this) - 1 | 0; a: { while ($lower <= $upper) { if (jl_String_charAt($this, $lower) > 32) break a; $lower = $lower + 1 | 0; } } while ($lower <= $upper && jl_String_charAt($this, $upper) <= 32) { $upper = $upper + (-1) | 0; } return jl_String_substring0($this, $lower, $upper + 1 | 0); } function jl_String_toString($this) { return $this; } function jl_String_toCharArray($this) { var var$1, $array, var$3, $i, var$5; var$1 = $this.$characters.data; $array = $rt_createCharArray(var$1.length); var$3 = $array.data; $i = 0; var$5 = var$3.length; while ($i < var$5) { var$3[$i] = var$1[$i]; $i = $i + 1 | 0; } return $array; } function jl_String_valueOf($obj) { jl_String_$callClinit(); return $obj === null ? $rt_s(20) : $obj.$toString(); } function jl_String_valueOf0($i) { var var$2; jl_String_$callClinit(); var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); return jl_AbstractStringBuilder_toString(jl_StringBuilder_append1(var$2, $i)); } 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_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_split($this, $regex) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if ($regex === null) { $regex = new jl_NullPointerException; jl_Throwable__init_($regex, $rt_s(21)); $rt_throw($regex); } jur_AbstractSet_counter = 1; var$2 = jur_Pattern__init_0(); var$3 = new jur_Lexer; var$3.$mode = 1; var$3.$orig = $regex; var$3.$pattern = $rt_createCharArray(jl_String_length($regex) + 2 | 0); jl_System_fastArraycopy(jl_String_toCharArray($regex), 0, var$3.$pattern, 0, jl_String_length($regex)); var$4 = var$3.$pattern.data; var$5 = var$4.length; var$4[var$5 - 1 | 0] = 0; var$4[var$5 - 2 | 0] = 0; var$3.$patternFullLength = var$5; var$3.$flags = 0; jur_Lexer_movePointer(var$3); jur_Lexer_movePointer(var$3); var$2.$lexemes = var$3; var$2.$flags0 = 0; var$2.$start = jur_Pattern_processExpression(var$2, (-1), 0, null); if (!jur_Lexer_isEmpty(var$2.$lexemes)) { $regex = new jur_PatternSyntaxException; var$2 = var$2.$lexemes; jur_PatternSyntaxException__init_($regex, $rt_s(6), var$2.$orig, var$2.$curToc); $rt_throw($regex); } if (var$2.$needsBackRefReplacement) var$2.$start.$processSecondPass(); $regex = ju_ArrayList__init_0(); var$3 = new jur_Matcher; var$3.$leftBound = (-1); var$3.$rightBound = (-1); var$3.$pat = var$2; var$3.$start0 = var$2.$start; var$3.$string = $this; var$3.$leftBound = 0; var$6 = jl_String_length($this); var$3.$rightBound = var$6; var$7 = new jur_MatchResultImpl; var$8 = var$3.$leftBound; var$9 = var$2.$globalGroupIndex; var$5 = var$2.$compCount + 1 | 0; var$10 = var$2.$consCount + 1 | 0; var$7.$previousMatch = (-1); var$11 = var$9 + 1 | 0; var$7.$groupCount = var$11; var$7.$groupBounds = $rt_createIntArray(var$11 * 2 | 0); var$4 = $rt_createIntArray(var$10); var$7.$consumers = var$4; ju_Arrays_fill(var$4, (-1)); if (var$5 > 0) var$7.$compQuantCounters = $rt_createIntArray(var$5); ju_Arrays_fill(var$7.$groupBounds, (-1)); jur_MatchResultImpl_reset(var$7, $this, var$8, var$6); var$3.$matchResult = var$7; var$7.$anchoringBounds = 1; var$5 = 0; var$9 = 0; if (!jl_String_length($this)) { var$4 = $rt_createArray(jl_String, 1); var$4.data[0] = $rt_s(6); } else { while (true) { var$6 = jl_String_length(var$3.$string); var$2 = var$3.$matchResult; if (!var$2.$transparentBounds) var$6 = var$3.$rightBound; if (var$2.$startIndex >= 0 && var$2.$mode0 == 1) { var$2.$startIndex = jur_MatchResultImpl_end(var$2); if (jur_MatchResultImpl_end(var$3.$matchResult) == jur_MatchResultImpl_start(var$3.$matchResult, 0)) { var$2 = var$3.$matchResult; var$2.$startIndex = var$2.$startIndex + 1 | 0; } var$8 = var$3.$matchResult.$startIndex; var$6 = var$8 <= var$6 && jur_Matcher_find(var$3, var$8) ? 1 : 0; } else var$6 = jur_Matcher_find(var$3, var$3.$leftBound); if (!var$6) break; var$5 = var$5 + 1 | 0; ju_ArrayList_add($regex, jl_String_substring0($this, var$9, jur_Matcher_start(var$3, 0))); var$9 = jur_Matcher_end(var$3); } ju_ArrayList_add($regex, jl_String_substring0($this, var$9, jl_String_length($this))); var$12 = var$5 + 1 | 0; a: { while (true) { var$12 = var$12 + (-1) | 0; if (var$12 < 0) break; if (jl_String_length(ju_ArrayList_get($regex, var$12))) break a; ju_ArrayList_remove($regex, var$12); } } if (var$12 < 0) var$12 = 0; var$4 = ju_AbstractCollection_toArray($regex, $rt_createArray(jl_String, var$12)); } return var$4; } function jl_String_compareTo($this, var$1) { var var$2, var$3, var$4; a: { var$1 = var$1; if ($this === var$1) var$2 = 0; else { var$3 = jl_Math_min(jl_String_length($this), jl_String_length(var$1)); var$4 = 0; while (true) { if (var$4 >= var$3) { var$2 = jl_String_length($this) - jl_String_length(var$1) | 0; break a; } var$2 = jl_String_charAt($this, var$4) - jl_String_charAt(var$1, var$4) | 0; if (var$2) break; var$4 = var$4 + 1 | 0; } } } return var$2; } function jl_String__clinit_() { jl_String_EMPTY_CHARS = $rt_createCharArray(0); jl_String_EMPTY = jl_String__init_0(); jl_String_CASE_INSENSITIVE_ORDER = new jl_String$_clinit_$lambda$_93_0; } var jl_Error = $rt_classWithoutFields(jl_Throwable); function jl_Error__init_0() { var var_0 = new jl_Error(); jl_Error__init_(var_0); return var_0; } function jl_Error__init_($this) { jl_Throwable__init_0($this); } var jl_LinkageError = $rt_classWithoutFields(jl_Error); function jl_LinkageError__init_0() { var var_0 = new jl_LinkageError(); jl_LinkageError__init_(var_0); return var_0; } function jl_LinkageError__init_($this) { jl_Throwable__init_0($this); } var jl_NoClassDefFoundError = $rt_classWithoutFields(jl_LinkageError); function jl_NoClassDefFoundError__init_0() { var var_0 = new jl_NoClassDefFoundError(); jl_NoClassDefFoundError__init_(var_0); return var_0; } function jl_NoClassDefFoundError__init_($this) { jl_Throwable__init_0($this); } var jl_Number = $rt_classWithoutFields(); 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_toString($i, $radix) { if (!($radix >= 2 && $radix <= 36)) $radix = 10; return (jl_AbstractStringBuilder_append0(jl_AbstractStringBuilder__init_0(20), $i, $radix)).$toString(); } function jl_Integer_toString0($i) { return jl_Integer_toString($i, 10); } function jl_Integer_parseInt($s, $radix) { var var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if ($s === null) { $s = new jl_NumberFormatException; jl_Throwable__init_($s, $rt_s(22)); $rt_throw($s); } var$3 = jl_String_length($s); if (0 == var$3) { $s = new jl_NumberFormatException; jl_Throwable__init_($s, $rt_s(23)); $rt_throw($s); } if ($radix >= 2 && $radix <= 36) { a: { var$4 = 0; switch (jl_String_charAt($s, 0)) { case 43: break; case 45: var$4 = 1; var$5 = 1; break a; default: var$5 = 0; break a; } var$5 = 1; } var$6 = 0; if (var$5 == var$3) { $s = new jl_NumberFormatException; jl_Throwable__init_0($s); $rt_throw($s); } b: { c: { while (var$5 < var$3) { var$7 = var$5 + 1 | 0; var$8 = jl_Character_getNumericValue(jl_String_charAt($s, var$5)); if (var$8 < 0) { var$9 = new jl_NumberFormatException; var$10 = jl_String_substring0($s, 0, var$3); $s = new jl_StringBuilder; jl_AbstractStringBuilder__init_($s); jl_StringBuilder_append(jl_StringBuilder_append($s, $rt_s(24)), var$10); jl_Throwable__init_(var$9, jl_AbstractStringBuilder_toString($s)); $rt_throw(var$9); } if (var$8 >= $radix) { var$9 = new jl_NumberFormatException; var$11 = jl_String_substring0($s, 0, var$3); $s = new jl_StringBuilder; jl_AbstractStringBuilder__init_($s); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append($s, $rt_s(25)), $radix), $rt_s(17)), var$11); jl_Throwable__init_(var$9, jl_AbstractStringBuilder_toString($s)); $rt_throw(var$9); } var$6 = $rt_imul($radix, var$6) + var$8 | 0; if (var$6 < 0) { if (var$7 != var$3) break b; if (var$6 != (-2147483648)) break b; if (!var$4) break b; var$6 = (-2147483648); break c; } var$5 = var$7; } if (var$4) var$6 = -var$6 | 0; } return var$6; } var$9 = new jl_NumberFormatException; var$10 = jl_String_substring0($s, 0, var$3); $s = new jl_StringBuilder; jl_AbstractStringBuilder__init_($s); jl_StringBuilder_append(jl_StringBuilder_append($s, $rt_s(26)), var$10); jl_Throwable__init_(var$9, jl_AbstractStringBuilder_toString($s)); $rt_throw(var$9); } $s = new jl_NumberFormatException; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9); jl_StringBuilder_append1(jl_StringBuilder_append(var$9, $rt_s(27)), $radix); jl_Throwable__init_($s, jl_AbstractStringBuilder_toString(var$9)); $rt_throw($s); } function jl_Integer_parseInt0($s) { return jl_Integer_parseInt($s, 10); } function jl_Integer_valueOf($i) { var var$2, var$3; if ($i >= (-128) && $i <= 127) { a: { if (jl_Integer_integerCache === null) { jl_Integer_integerCache = $rt_createArray(jl_Integer, 256); var$2 = 0; while (true) { var$3 = jl_Integer_integerCache.data; if (var$2 >= var$3.length) break a; var$3[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_hashCode($this) { return $this.$value; } 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_numberOfLeadingZeros($i) { var $n, var$3; if (!$i) return 32; $n = 0; var$3 = $i >>> 16 | 0; if (var$3) $n = 16; else var$3 = $i; $i = var$3 >>> 8 | 0; if (!$i) $i = var$3; else $n = $n | 8; var$3 = $i >>> 4 | 0; if (!var$3) var$3 = $i; else $n = $n | 4; $i = var$3 >>> 2 | 0; if (!$i) $i = var$3; else $n = $n | 2; if ($i >>> 1 | 0) $n = $n | 1; return (32 - $n | 0) - 1 | 0; } function jl_Integer_numberOfTrailingZeros($i) { var $n, var$3; if (!$i) return 32; $n = 0; var$3 = $i << 16; if (var$3) $n = 16; else var$3 = $i; $i = var$3 << 8; if (!$i) $i = var$3; else $n = $n | 8; var$3 = $i << 4; if (!var$3) var$3 = $i; else $n = $n | 4; $i = var$3 << 2; if (!$i) $i = var$3; else $n = $n | 2; if ($i << 1) $n = $n | 1; return (32 - $n | 0) - 1 | 0; } function jl_Integer_compareTo($this, var$1) { var$1 = var$1; return $rt_compare($this.$value, var$1.$value); } function jl_Integer__clinit_() { jl_Integer_TYPE = $rt_cls($rt_intcls()); } function jl_AbstractStringBuilder() { var a = this; jl_Object.call(a); a.$buffer0 = null; a.$length0 = 0; } function jl_AbstractStringBuilder__init_1() { var var_0 = new jl_AbstractStringBuilder(); jl_AbstractStringBuilder__init_(var_0); return var_0; } function jl_AbstractStringBuilder__init_0(var_0) { var var_1 = new jl_AbstractStringBuilder(); jl_AbstractStringBuilder__init_2(var_1, var_0); return var_1; } function jl_AbstractStringBuilder__init_($this) { jl_AbstractStringBuilder__init_2($this, 16); } function jl_AbstractStringBuilder__init_2($this, $capacity) { $this.$buffer0 = $rt_createCharArray($capacity); } function jl_AbstractStringBuilder_append0($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 | 0; } a: { if ($rt_ucmp($value, $radix) < 0) { if ($positive) jl_AbstractStringBuilder_insertSpace($this, $target, $target + 1 | 0); else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 2 | 0); var$5 = $this.$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 = $rt_udiv((-1), $radix); b: { while (true) { var$10 = $rt_imul($pos, $radix); if ($rt_ucmp(var$10, $value) > 0) { var$10 = $pos; break b; } $sz = $sz + 1 | 0; if ($rt_ucmp(var$10, $posLimit) > 0) break; $pos = var$10; } } if (!$positive) $sz = $sz + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, $target, $target + $sz | 0); if ($positive) $positive = $target; else { var$5 = $this.$buffer0.data; $positive = $target + 1 | 0; var$5[$target] = 45; } while (true) { if (!var$10) break a; var$5 = $this.$buffer0.data; $target = $positive + 1 | 0; var$5[$positive] = jl_Character_forDigit($rt_udiv($value, var$10), $radix); $value = $rt_umod($value, var$10); var$10 = $rt_udiv(var$10, $radix); $positive = $target; } } } return $this; } function jl_AbstractStringBuilder_insert0($this, $target, $value) { var $mantissa, var$4, $number, $exp, $negative, $intPart, $sz, $digits, $zeros, $leadingZeros, $leadingZero, $pos, $intDigit, $i; $mantissa = $rt_compare($value, 0.0); if (!$mantissa) { if (1.0 / $value === Infinity) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 48; $target = $mantissa + 1 | 0; var$4[$mantissa] = 46; var$4[$target] = 48; return $this; } jl_AbstractStringBuilder_insertSpace($this, $target, $target + 4 | 0); var$4 = $this.$buffer0.data; $mantissa = $target + 1 | 0; var$4[$target] = 45; $target = $mantissa + 1 | 0; var$4[$mantissa] = 48; $mantissa = $target + 1 | 0; var$4[$target] = 46; var$4[$mantissa] = 48; return $this; } if ($rt_globals.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; $target = $mantissa + 1 | 0; var$4[$mantissa] = 97; var$4[$target] = 78; return $this; } if (!$rt_globals.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; $mantissa = $target + 1 | 0; var$4[$target] = 110; $target = $mantissa + 1 | 0; var$4[$mantissa] = 102; $mantissa = $target + 1 | 0; var$4[$target] = 105; $target = $mantissa + 1 | 0; var$4[$mantissa] = 110; $mantissa = $target + 1 | 0; var$4[$target] = 105; $target = $mantissa + 1 | 0; var$4[$mantissa] = 116; var$4[$target] = 121; return $this; } $number = jl_AbstractStringBuilder$Constants_floatAnalysisResult; otcit_FloatAnalyzer_analyze($value, $number); $mantissa = $number.$mantissa; $exp = $number.$exponent; $negative = $number.$sign; $intPart = 1; $sz = 1; if ($negative) $sz = 2; $digits = 9; $zeros = jl_AbstractStringBuilder_trailingDecimalZeros($mantissa); if ($zeros > 0) $digits = $digits - $zeros | 0; $leadingZeros = 0; $leadingZero = 0; if ($exp < 7 && $exp >= (-3)) { if ($exp >= 0) { $intPart = $exp + 1 | 0; $digits = jl_Math_max($digits, $intPart + 1 | 0); $exp = 0; } else { $intPart = 0; $leadingZeros = ( -$exp | 0) - 1 | 0; $leadingZero = 1; $sz = $sz + 1 | 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 + $leadingZeros | 0) | 0) | 0); if (!$negative) $negative = $target; else { var$4 = $this.$buffer0.data; $negative = $target + 1 | 0; var$4[$target] = 45; } $pos = 100000000; if ($leadingZero) { var$4 = $this.$buffer0.data; $target = $negative + 1 | 0; var$4[$negative] = 48; $negative = $target + 1 | 0; var$4[$target] = 46; while (true) { $target = $leadingZeros + (-1) | 0; if ($leadingZeros <= 0) break; $intDigit = $negative + 1 | 0; var$4[$negative] = 48; $leadingZeros = $target; $negative = $intDigit; } } $i = 0; while ($i < $digits) { if ($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 { $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 | 0; $mantissa = $target + 1 | 0; var$4[$target] = 45; } if ($exp < 10) $intDigit = $mantissa; else { $intDigit = $mantissa + 1 | 0; var$4[$mantissa] = (48 + ($exp / 10 | 0) | 0) & 65535; } var$4[$intDigit] = (48 + ($exp % 10 | 0) | 0) & 65535; } return $this; } function jl_AbstractStringBuilder_insert1($this, $target, $value) { var $intDigit, var$4, $number, $mantissa, $exp, $negative, $intPart, $sz, $digits, $zeros, $leadingZeros, $leadingZero, $pos, $i; $intDigit = $rt_compare($value, 0.0); if (!$intDigit) { if (1.0 / $value === Infinity) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer0.data; $intDigit = $target + 1 | 0; var$4[$target] = 48; $target = $intDigit + 1 | 0; var$4[$intDigit] = 46; var$4[$target] = 48; return $this; } jl_AbstractStringBuilder_insertSpace($this, $target, $target + 4 | 0); var$4 = $this.$buffer0.data; $intDigit = $target + 1 | 0; var$4[$target] = 45; $target = $intDigit + 1 | 0; var$4[$intDigit] = 48; $intDigit = $target + 1 | 0; var$4[$target] = 46; var$4[$intDigit] = 48; return $this; } if ($rt_globals.isNaN($value) ? 1 : 0) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer0.data; $intDigit = $target + 1 | 0; var$4[$target] = 78; $target = $intDigit + 1 | 0; var$4[$intDigit] = 97; var$4[$target] = 78; return $this; } if (!$rt_globals.isFinite($value) ? 1 : 0) { if ($intDigit > 0) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 8 | 0); $intDigit = $target; } else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 9 | 0); var$4 = $this.$buffer0.data; $intDigit = $target + 1 | 0; var$4[$target] = 45; } var$4 = $this.$buffer0.data; $target = $intDigit + 1 | 0; var$4[$intDigit] = 73; $intDigit = $target + 1 | 0; var$4[$target] = 110; $target = $intDigit + 1 | 0; var$4[$intDigit] = 102; $intDigit = $target + 1 | 0; var$4[$target] = 105; $target = $intDigit + 1 | 0; var$4[$intDigit] = 110; $intDigit = $target + 1 | 0; var$4[$target] = 105; $target = $intDigit + 1 | 0; var$4[$intDigit] = 116; var$4[$target] = 121; return $this; } $number = jl_AbstractStringBuilder$Constants_doubleAnalysisResult; otcit_DoubleAnalyzer_analyze($value, $number); $mantissa = $number.$mantissa0; $exp = $number.$exponent0; $negative = $number.$sign0; $intPart = 1; $sz = 1; if ($negative) $sz = 2; $digits = 18; $zeros = jl_AbstractStringBuilder_trailingDecimalZeros0($mantissa); if ($zeros > 0) $digits = $digits - $zeros | 0; $leadingZeros = 0; $leadingZero = 0; if ($exp < 7 && $exp >= (-3)) { if ($exp >= 0) { $intPart = $exp + 1 | 0; $digits = jl_Math_max($digits, $intPart + 1 | 0); $exp = 0; } else { $intPart = 0; $leadingZeros = ( -$exp | 0) - 1 | 0; $leadingZero = 1; $sz = $sz + 1 | 0; $exp = 0; } } if ($exp) { $sz = $sz + 2 | 0; if (!($exp > (-10) && $exp < 10)) $sz = $sz + 1 | 0; if (!($exp > (-100) && $exp < 100)) $sz = $sz + 1 | 0; if ($exp < 0) $sz = $sz + 1 | 0; } if ($exp && $digits == $intPart) $digits = $digits + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, $target, $target + ($sz + ($digits + $leadingZeros | 0) | 0) | 0); if (!$negative) $sz = $target; else { var$4 = $this.$buffer0.data; $sz = $target + 1 | 0; var$4[$target] = 45; } $pos = Long_create(1569325056, 23283064); if ($leadingZero) { var$4 = $this.$buffer0.data; $target = $sz + 1 | 0; var$4[$sz] = 48; $sz = $target + 1 | 0; var$4[$target] = 46; while (true) { $target = $leadingZeros + (-1) | 0; if ($leadingZeros <= 0) break; $intDigit = $sz + 1 | 0; var$4[$sz] = 48; $leadingZeros = $target; $sz = $intDigit; } } $i = 0; while ($i < $digits) { if (Long_le($pos, Long_ZERO)) $intDigit = 0; else { $intDigit = Long_lo(Long_div($mantissa, $pos)); $mantissa = Long_rem($mantissa, $pos); } var$4 = $this.$buffer0.data; $target = $sz + 1 | 0; var$4[$sz] = (48 + $intDigit | 0) & 65535; $intPart = $intPart + (-1) | 0; if ($intPart) $sz = $target; else { $sz = $target + 1 | 0; var$4[$target] = 46; } $pos = Long_div($pos, Long_fromInt(10)); $i = $i + 1 | 0; } if ($exp) { var$4 = $this.$buffer0.data; $negative = $sz + 1 | 0; var$4[$sz] = 69; if ($exp >= 0) $intDigit = $negative; else { $exp = -$exp | 0; $intDigit = $negative + 1 | 0; var$4[$negative] = 45; } if ($exp >= 100) { $target = $intDigit + 1 | 0; var$4[$intDigit] = (48 + ($exp / 100 | 0) | 0) & 65535; $exp = $exp % 100 | 0; $negative = $target + 1 | 0; var$4[$target] = (48 + ($exp / 10 | 0) | 0) & 65535; } else if ($exp < 10) $negative = $intDigit; else { $negative = $intDigit + 1 | 0; var$4[$intDigit] = (48 + ($exp / 10 | 0) | 0) & 65535; } var$4[$negative] = (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_trailingDecimalZeros0($n) { var $zeros, $result, $bit, var$5, $i; $zeros = Long_fromInt(1); $result = 0; $bit = 16; var$5 = jl_AbstractStringBuilder$Constants_longLogPowersOfTen.data; $i = var$5.length - 1 | 0; while ($i >= 0) { if (Long_eq(Long_rem($n, Long_mul($zeros, var$5[$i])), Long_ZERO)) { $result = $result | $bit; $zeros = Long_mul($zeros, var$5[$i]); } $bit = $bit >>> 1 | 0; $i = $i + (-1) | 0; } return $result; } function jl_AbstractStringBuilder_append($this, $c) { return $this.$insert0($this.$length0, $c); } function jl_AbstractStringBuilder_insert2($this, $index, $c) { jl_AbstractStringBuilder_insertSpace($this, $index, $index + 1 | 0); $this.$buffer0.data[$index] = $c; return $this; } function jl_AbstractStringBuilder_ensureCapacity($this, $capacity) { var var$2, $newLength; var$2 = $this.$buffer0.data.length; if (var$2 >= $capacity) return; $newLength = var$2 >= 1073741823 ? 2147483647 : jl_Math_max($capacity, jl_Math_max(var$2 * 2 | 0, 5)); $this.$buffer0 = ju_Arrays_copyOf0($this.$buffer0, $newLength); } function jl_AbstractStringBuilder_toString($this) { return jl_String__init_3($this.$buffer0, 0, $this.$length0); } function jl_AbstractStringBuilder_append1($this, $chars, $offset, $len) { return $this.$insert1($this.$length0, $chars, $offset, $len); } function jl_AbstractStringBuilder_insert3($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_AbstractStringBuilder_append2($this, $chars) { return $this.$append4($chars, 0, $chars.data.length); } function jl_AbstractStringBuilder_insertSpace($this, $start, $end) { var var$3, $sz, $i, var$6; var$3 = $this.$length0; $sz = var$3 - $start | 0; $this.$ensureCapacity((var$3 + $end | 0) - $start | 0); $i = $sz - 1 | 0; while ($i >= 0) { var$6 = $this.$buffer0.data; var$6[$end + $i | 0] = var$6[$start + $i | 0]; $i = $i + (-1) | 0; } $this.$length0 = $this.$length0 + ($end - $start | 0) | 0; } var jl_Appendable = $rt_classWithoutFields(0); var jl_StringBuilder = $rt_classWithoutFields(jl_AbstractStringBuilder); function jl_StringBuilder__init_0() { var var_0 = new jl_StringBuilder(); jl_StringBuilder__init_(var_0); return var_0; } function jl_StringBuilder__init_($this) { jl_AbstractStringBuilder__init_($this); } function jl_StringBuilder_append($this, $obj) { jl_StringBuilder_insert($this, $this.$length0, $obj === null ? $rt_s(20) : $obj.$toString()); return $this; } function jl_StringBuilder_append0($this, $string) { jl_StringBuilder_insert($this, $this.$length0, $string); return $this; } function jl_StringBuilder_append1($this, $value) { jl_AbstractStringBuilder_append0($this, $value, 10); return $this; } function jl_StringBuilder_append2($this, $value) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$length0; var$3 = 1; if (Long_lt($value, Long_ZERO)) { var$3 = 0; $value = Long_neg($value); } a: { if (jl_Long_compareUnsigned($value, Long_fromInt(10)) < 0) { if (var$3) jl_AbstractStringBuilder_insertSpace($this, var$2, var$2 + 1 | 0); else { jl_AbstractStringBuilder_insertSpace($this, var$2, var$2 + 2 | 0); var$4 = $this.$buffer0.data; var$5 = var$2 + 1 | 0; var$4[var$2] = 45; var$2 = var$5; } $this.$buffer0.data[var$2] = jl_Character_forDigit(Long_lo($value), 10); } else { var$6 = 1; var$7 = Long_fromInt(1); var$8 = jl_Long_divideUnsigned(Long_fromInt(-1), Long_fromInt(10)); b: { while (true) { var$9 = Long_mul(var$7, Long_fromInt(10)); if (jl_Long_compareUnsigned(var$9, $value) > 0) { var$9 = var$7; break b; } var$6 = var$6 + 1 | 0; if (jl_Long_compareUnsigned(var$9, var$8) > 0) break; var$7 = var$9; } } if (!var$3) var$6 = var$6 + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, var$2, var$2 + var$6 | 0); if (var$3) var$5 = var$2; else { var$4 = $this.$buffer0.data; var$5 = var$2 + 1 | 0; var$4[var$2] = 45; } while (true) { if (Long_eq(var$9, Long_ZERO)) break a; var$4 = $this.$buffer0.data; var$2 = var$5 + 1 | 0; var$4[var$5] = jl_Character_forDigit(Long_lo((jl_Long_divideUnsigned($value, var$9))), 10); $value = jl_Long_remainderUnsigned($value, var$9); var$9 = jl_Long_divideUnsigned(var$9, Long_fromInt(10)); var$5 = var$2; } } } return $this; } function jl_StringBuilder_append3($this, $value) { jl_AbstractStringBuilder_insert0($this, $this.$length0, $value); return $this; } function jl_StringBuilder_append4($this, $value) { jl_AbstractStringBuilder_insert1($this, $this.$length0, $value); return $this; } function jl_StringBuilder_append5($this, $c) { jl_AbstractStringBuilder_append($this, $c); return $this; } function jl_StringBuilder_append6($this, $b) { jl_StringBuilder_insert($this, $this.$length0, !$b ? $rt_s(28) : $rt_s(29)); return $this; } function jl_StringBuilder_delete($this, $start, $end) { var var$3, var$4, var$5, var$6, var$7, var$8; if ($start >= 0) { var$3 = $rt_compare($start, $end); if (var$3 <= 0) { var$4 = $this.$length0; if ($start <= var$4) { if (var$3) { if ($end > var$4) $end = var$4; var$5 = var$4 - $end | 0; $this.$length0 = var$4 - ($end - $start | 0) | 0; var$4 = 0; while (var$4 < var$5) { var$6 = $this.$buffer0.data; var$3 = $start + 1 | 0; var$7 = $end + 1 | 0; var$6[$start] = var$6[$end]; var$4 = var$4 + 1 | 0; $start = var$3; $end = var$7; } } return $this; } } } var$8 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_0(var$8); $rt_throw(var$8); } function jl_StringBuilder_deleteCharAt($this, $index) { var var$2, var$3, var$4, var$5; if ($index >= 0) { var$2 = $this.$length0; if ($index < var$2) { var$2 = var$2 - 1 | 0; $this.$length0 = var$2; while ($index < var$2) { var$3 = $this.$buffer0.data; var$4 = $index + 1 | 0; var$3[$index] = var$3[var$4]; $index = var$4; } return $this; } } var$5 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_0(var$5); $rt_throw(var$5); } function jl_StringBuilder_insert0($this, var$1, var$2, var$3, var$4) { jl_AbstractStringBuilder_insert3($this, var$1, var$2, var$3, var$4); return $this; } function jl_StringBuilder_append7($this, var$1, var$2, var$3) { jl_AbstractStringBuilder_append1($this, var$1, var$2, var$3); return $this; } function jl_StringBuilder_length($this) { return $this.$length0; } function jl_StringBuilder_toString($this) { return jl_AbstractStringBuilder_toString($this); } function jl_StringBuilder_ensureCapacity($this, var$1) { jl_AbstractStringBuilder_ensureCapacity($this, var$1); } function jl_StringBuilder_insert1($this, var$1, var$2) { jl_AbstractStringBuilder_insert2($this, var$1, var$2); return $this; } function jl_StringBuilder_insert($this, var$1, var$2) { var var$3, var$4, var$5; if (var$1 >= 0 && var$1 <= $this.$length0) { a: { if (var$2 === null) var$2 = $rt_s(20); else if (jl_String_isEmpty(var$2)) break a; jl_AbstractStringBuilder_ensureCapacity($this, $this.$length0 + jl_String_length(var$2) | 0); var$3 = $this.$length0 - 1 | 0; while (var$3 >= var$1) { $this.$buffer0.data[var$3 + jl_String_length(var$2) | 0] = $this.$buffer0.data[var$3]; var$3 = var$3 + (-1) | 0; } $this.$length0 = $this.$length0 + jl_String_length(var$2) | 0; var$3 = 0; while (var$3 < jl_String_length(var$2)) { var$4 = $this.$buffer0.data; var$5 = var$1 + 1 | 0; var$4[var$1] = jl_String_charAt(var$2, var$3); var$3 = var$3 + 1 | 0; var$1 = var$5; } } return $this; } var$2 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } var jl_IncompatibleClassChangeError = $rt_classWithoutFields(jl_LinkageError); function jl_IncompatibleClassChangeError__init_0() { var var_0 = new jl_IncompatibleClassChangeError(); jl_IncompatibleClassChangeError__init_(var_0); return var_0; } function jl_IncompatibleClassChangeError__init_($this) { jl_Throwable__init_0($this); } var jl_NoSuchFieldError = $rt_classWithoutFields(jl_IncompatibleClassChangeError); function jl_NoSuchFieldError__init_0() { var var_0 = new jl_NoSuchFieldError(); jl_NoSuchFieldError__init_(var_0); return var_0; } function jl_NoSuchFieldError__init_1(var_0) { var var_1 = new jl_NoSuchFieldError(); jl_NoSuchFieldError__init_2(var_1, var_0); return var_1; } function jl_NoSuchFieldError__init_($this) { jl_Throwable__init_0($this); } function jl_NoSuchFieldError__init_2($this, $message) { jl_Throwable__init_($this, $message); } var jl_NoSuchMethodError = $rt_classWithoutFields(jl_IncompatibleClassChangeError); function jl_NoSuchMethodError__init_0() { var var_0 = new jl_NoSuchMethodError(); jl_NoSuchMethodError__init_(var_0); return var_0; } function jl_NoSuchMethodError__init_1(var_0) { var var_1 = new jl_NoSuchMethodError(); jl_NoSuchMethodError__init_2(var_1, var_0); return var_1; } function jl_NoSuchMethodError__init_($this) { jl_Throwable__init_0($this); } function jl_NoSuchMethodError__init_2($this, $message) { jl_Throwable__init_($this, $message); } var otj_JSObject = $rt_classWithoutFields(0); var otjde_EventTarget = $rt_classWithoutFields(0); var otjde_FocusEventTarget = $rt_classWithoutFields(0); var otjde_MouseEventTarget = $rt_classWithoutFields(0); var otjde_KeyboardEventTarget = $rt_classWithoutFields(0); var otjde_LoadEventTarget = $rt_classWithoutFields(0); var otjde_GamepadEventTarget = $rt_classWithoutFields(0); var otjb_WindowEventTarget = $rt_classWithoutFields(0); var otjb_StorageProvider = $rt_classWithoutFields(0); var otjc_JSArrayReader = $rt_classWithoutFields(0); var otjb_Window = $rt_classWithoutFields(); function otjb_Window_get$exported$0(var$0, var$1) { return otji_JSWrapper_javaToJs(var$0.$get0(var$1)); } function otjb_Window_addEventListener$exported$1(var$0, var$1, var$2) { var$0.$addEventListener($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent")); } function otjb_Window_removeEventListener$exported$2(var$0, var$1, var$2) { var$0.$removeEventListener($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent")); } 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); } var nlea_EaglerAdapterImpl2 = $rt_classWithoutFields(); 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_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__init_0() { var var_0 = new nlea_EaglerAdapterImpl2(); nlea_EaglerAdapterImpl2__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2__init_($this) { nlea_EaglerAdapterImpl2_$callClinit(); } function nlea_EaglerAdapterImpl2__wgetShaderHeader() { nlea_EaglerAdapterImpl2_$callClinit(); return $rt_s(30); } function nlea_EaglerAdapterImpl2_loadResourceBytes($path) { nlea_EaglerAdapterImpl2_$callClinit(); if (jl_String_startsWith($path, $rt_s(16))) $path = jl_String_substring($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_5($contents, jnc_Charset_forName($rt_s(31))); } function nlea_EaglerAdapterImpl2_downloadAssetPack($assetPackageURI, $cb) { var $request, var$4; nlea_EaglerAdapterImpl2_$callClinit(); $request = new $rt_globals.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, $st, var$5, $e, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$e = $thread.pop();var$5 = $thread.pop();$st = $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($rootElement.getAttribute("style")); $st = nlea_EaglerAdapterImpl2_parent; if ($s === null) $s = $rt_s(6); var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(var$5, $s), $rt_s(32)); var$5 = jl_AbstractStringBuilder_toString(var$5); $st.setAttribute("style", $rt_ustr(var$5)); $st = $rt_globals.window; nlea_EaglerAdapterImpl2_win = $st; $e = $st.document; nlea_EaglerAdapterImpl2_doc = $e; nlea_EaglerAdapterImpl2_canvas = $e.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); $rootElement = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); nlea_EaglerAdapterImpl2_canvasBack = $rootElement; $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(); $rootElement = $rootElement.getContext("webgl2", $e); nlea_EaglerAdapterImpl2_webgl = $rootElement; if ($rootElement === null) { $rootElement = new jl_RuntimeException; $assetPackageURI = $rt_str($rt_globals.window.navigator.userAgent); $st = new jl_StringBuilder; jl_AbstractStringBuilder__init_($st); jl_AbstractStringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($st, $rt_s(33)), $assetPackageURI), 41); jl_Throwable__init_($rootElement, jl_AbstractStringBuilder_toString($st)); $rt_throw($rootElement); } nlea_EaglerAdapterImpl2_setContextVar$js_body$_13($rootElement); nlea_EaglerAdapterImpl2_webgl.getExtension("EXT_texture_filter_anisotropic"); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$2; nlea_EaglerAdapterImpl2_contextmenu = $e; $rootElement.addEventListener("contextmenu", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$3; nlea_EaglerAdapterImpl2_mousedown = $e; $rootElement.addEventListener("mousedown", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$4; nlea_EaglerAdapterImpl2_mouseup = $e; $rootElement.addEventListener("mouseup", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$5; nlea_EaglerAdapterImpl2_mousemove = $e; $rootElement.addEventListener("mousemove", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$6; nlea_EaglerAdapterImpl2_keydown = $e; $rootElement.addEventListener("keydown", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$7; nlea_EaglerAdapterImpl2_keyup = $e; $rootElement.addEventListener("keyup", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$8; nlea_EaglerAdapterImpl2_keypress = $e; $rootElement.addEventListener("keypress", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$9; nlea_EaglerAdapterImpl2_wheel = $e; $rootElement.addEventListener("wheel", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$10; $rootElement.addEventListener("blur", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$11; $rootElement.addEventListener("focus", otji_JS_function($e, "handleEvent")); nlea_EaglerAdapterImpl2_onBeforeCloseRegister$js_body$_9(); $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem_initialize(); if ($rt_suspending()) { break main; } $st = $tmp; nleat_IndexedDBFilesystem$OpenState_$callClinit(); if ($st !== nleat_IndexedDBFilesystem$OpenState_OPENED) { if ($st === nleat_IndexedDBFilesystem$OpenState_LOCKED) nle_Client_showDatabaseLockedScreen($rt_s(34)); else { $st = nleat_IndexedDBFilesystem_err; $rootElement = new jl_StringBuilder; jl_AbstractStringBuilder__init_($rootElement); jl_StringBuilder_append(jl_StringBuilder_append($rootElement, $rt_s(35)), $st); nle_Client_showDatabaseLockedScreen(jl_AbstractStringBuilder_toString($rootElement)); } $rootElement = new nle_Client$AbortedLaunchException; jl_Throwable__init_0($rootElement); $rt_throw($rootElement); } $ptr = 2; case 2: nlea_EaglerAdapterImpl2_downloadAssetPack$_asyncCall_$($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); } 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, $st, var$5, $e, $ptr); } function nlea_EaglerAdapterImpl2__wglEnable($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enable($p1); } function nlea_EaglerAdapterImpl2__wglDisable($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.disable($p1); } function nlea_EaglerAdapterImpl2__wglCreateProgram() { var var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = new nlea_EaglerAdapterImpl2$ProgramGL; var$1.$obj = 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.$obj0 = 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.$obj; $p2 = $p2.$obj0; var$3.attachShader($p1, $p2); } function nlea_EaglerAdapterImpl2__wglDetachShader($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj; $p2 = $p2.$obj0; var$3.detachShader($p1, $p2); } function nlea_EaglerAdapterImpl2__wglCompileShader($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; var$2.compileShader($p1); } function nlea_EaglerAdapterImpl2__wglLinkProgram($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj; var$2.linkProgram($p1); } function nlea_EaglerAdapterImpl2__wglShaderSource($p1, $p2) { var var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj0; 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.$obj0; 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.$obj; 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.$obj0; 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.$obj; 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.$obj0; var$2.deleteShader($p1); } function nlea_EaglerAdapterImpl2__wglCreateBuffer() { var var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = new nlea_EaglerAdapterImpl2$BufferGL; var$1.$obj1 = 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.$obj1 : null; var$3.bindBuffer($p1, $p2); } function nlea_EaglerAdapterImpl2__wglBufferData($p1, $p2, $p3) { var var$4; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nlea_EaglerAdapterImpl2_webgl; $p2 = otji_JSWrapper_unwrap($p2); var$4.bufferData($p1, $p2, $p3); } function nlea_EaglerAdapterImpl2__wglEnableVertexAttribArray($p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray($p1); } function nlea_EaglerAdapterImpl2__wglGetUniformLocation($p1, $p2) { var $u; nlea_EaglerAdapterImpl2_$callClinit(); $u = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj; $u = $u.getUniformLocation($p1, $rt_ustr($p2)); if ($u === null) $p1 = null; else { $p1 = new nlea_EaglerAdapterImpl2$UniformGL; $p1.$obj2 = $u; } return $p1; } function nlea_EaglerAdapterImpl2__wglBindAttributeLocation($p1, $p2, $p3) { var var$4; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj; 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.$obj2; var$3.uniform1f($p1, $p2); } } function nlea_EaglerAdapterImpl2__wglUniform3f($p1, $p2, $p3, $p4) { var var$5; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null) { var$5 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj2; 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.$obj2; 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.$obj2; 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.$obj2; $p1 = nlea_EaglerAdapterImpl2_mat4; var$3.uniformMatrix4fv(var$4, !!0, $p1); } } function nlea_EaglerAdapterImpl2__wglUseProgram($p1) { var var$2, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 !== null) { var$2 = nlea_EaglerAdapterImpl2_currentProgram; var$3 = $p1.$hashcode; if (var$2 != var$3) { nlea_EaglerAdapterImpl2_currentProgram = var$3; var$4 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1.$obj; var$4.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.$obj3 = nlea_EaglerAdapterImpl2_webgl.createVertexArray(); var$1.$isQuadBufferBound = 0; return var$1; } function nlea_EaglerAdapterImpl2__wglBindVertexArray($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl; $p1 = $p1 !== null ? $p1.$obj3 : 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 $rt_globals.ArrayBuffer($data.data.length); (new $rt_globals.Uint8Array($arr)).set($data.data); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$($arr); if ($rt_suspending()) { break main; } $arr = $tmp; return $arr; default: $rt_invalidPointer(); }} $rt_nativeThread().push($data, $arr, $ptr); } function nlea_EaglerAdapterImpl2_loadPNG0($data, $ret) { var var$3, $src, var$5; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_doc.createElement("img"); $src = new nlea_EaglerAdapterImpl2$12; $src.$val$toLoad = var$3; $src.$val$ret = $ret; var$3.addEventListener("load", otji_JS_function($src, "handleEvent")); var$5 = new nlea_EaglerAdapterImpl2$13; var$5.$val$toLoad0 = var$3; var$5.$val$ret0 = $ret; var$3.addEventListener("error", otji_JS_function(var$5, "handleEvent")); $src = $rt_str(nlea_EaglerAdapterImpl2_getDataURL$js_body$_119($data, "image/png")); if ($src === null) otpp_AsyncCallbackWrapper_complete($ret, null); else { $data = $rt_ustr($src); var$3.src = $data; } } function nlea_EaglerAdapterImpl2_forceMouseGrabbed() { nlea_EaglerAdapterImpl2_$callClinit(); if (Long_gt(Long_sub(jl_System_currentTimeMillis(), nlea_EaglerAdapterImpl2_mouseUngrabTimer), Long_fromInt(3000)) && nlea_EaglerAdapterImpl2_needsPointerLock && !($rt_globals.document.pointerLockElement != null ? 1 : 0)) { nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); if ($rt_globals.document.pointerLockElement != null ? 1 : 0) nlea_EaglerAdapterImpl2_needsPointerLock = 0; } } function nlea_EaglerAdapterImpl2_getEventKey() { var var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEventK; return var$1 === null ? (-1) : nlea_EaglerAdapterImpl2_remapKey(var$1.which); } function nlea_EaglerAdapterImpl2_getEventKeyState() { var var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEventK; return var$1 === null ? 0 : jl_String_equals($rt_str(var$1.type), $rt_s(36)) ? 0 : 1; } function nlea_EaglerAdapterImpl2_isKeyDown($p1) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_unpressCTRL) { var$2 = nlea_EaglerAdapterImpl2_keyStates.data; var$2[28] = 0; var$2[29] = 0; var$2[157] = 0; var$2[219] = 0; var$2[220] = 0; } return nlea_EaglerAdapterImpl2_keyStates.data[$p1]; } 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$_151(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_enableRepeatEvents0($b) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = $b; } function nlea_EaglerAdapterImpl2_isFocused() { var $yee, $dee; nlea_EaglerAdapterImpl2_$callClinit(); $yee = $rt_globals.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_loadLocalStorage($key) { var $s, var$3, var$4, var$5; nlea_EaglerAdapterImpl2_$callClinit(); $s = nlea_EaglerAdapterImpl2_win.localStorage; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append(jl_StringBuilder_append(var$3, $rt_s(37)), $key); var$3 = jl_AbstractStringBuilder_toString(var$3); $s = $rt_str($s.getItem($rt_ustr(var$3))); if ($s === null) return null; $key = nle_Base64__init_0(); $s = jnc_Charset_encode(jnc_Charset_forName($rt_s(31)), jn_CharBuffer_wrap($s.$characters)); if (!$s.$position && $s.$limit == $s.$capacity) var$4 = $s.$array0; else { var$4 = $rt_createByteArray(jn_Buffer_remaining($s)); jn_ByteBuffer_get($s, var$4, 0, var$4.data.length); } if (var$4 !== null) { var$5 = var$4.data.length; if (var$5) { $s = new nle_BaseNCodec$Context; nle_Base64_decode($key, var$4, 0, var$5, $s); nle_Base64_decode($key, var$4, 0, (-1), $s); var$4 = $rt_createByteArray($s.$pos); nle_BaseNCodec_readResults($key, var$4, 0, var$4.data.length, $s); } } return var$4; } function nlea_EaglerAdapterImpl2_saveLocalStorage($key, $data) { var var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_win.localStorage; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(37)), $key); var$4 = jl_AbstractStringBuilder_toString(var$4); $key = new jl_String; if ($data !== null) { var$5 = $data.data.length; if (var$5) { var$6 = nle_Base64__init_1(0, nle_BaseNCodec_CHUNK_SEPARATOR, 0); var$7 = var$6.$unencodedBlockSize; var$8 = Long_mul(Long_fromInt(((var$5 + var$7 | 0) - 1 | 0) / var$7 | 0), Long_fromInt(var$6.$encodedBlockSize)); var$7 = var$6.$lineLength; if (var$7 > 0) { var$9 = Long_fromInt(var$7); var$8 = Long_add(var$8, Long_mul(Long_div(Long_sub(Long_add(var$8, var$9), Long_fromInt(1)), var$9), Long_fromInt(var$6.$chunkSeparatorLength))); } if (Long_gt(var$8, Long_fromInt(2147483647))) { $key = new jl_IllegalArgumentException; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(var$3, $rt_s(38)), var$8), $rt_s(39)), 2147483647); jl_Throwable__init_($key, jl_AbstractStringBuilder_toString(var$3)); $rt_throw($key); } if (var$5 && var$5) { var$10 = new nle_BaseNCodec$Context; nle_Base64_encode(var$6, $data, 0, var$5, var$10); nle_Base64_encode(var$6, $data, 0, (-1), var$10); $data = $rt_createByteArray(var$10.$pos - var$10.$readPos | 0); nle_BaseNCodec_readResults(var$6, $data, 0, $data.data.length, var$10); } } } jl_String__init_6($key, $data, jnc_Charset_forName($rt_s(31))); var$3.setItem($rt_ustr(var$4), $rt_ustr($key)); } function nlea_EaglerAdapterImpl2_maxMemory() { nlea_EaglerAdapterImpl2_$callClinit(); return Long_fromInt(1073741824); } function nlea_EaglerAdapterImpl2_totalMemory() { nlea_EaglerAdapterImpl2_$callClinit(); return Long_fromInt(1073741824); } function nlea_EaglerAdapterImpl2_freeMemory() { nlea_EaglerAdapterImpl2_$callClinit(); return Long_ZERO; } function nlea_EaglerAdapterImpl2__wArrayByteLength($obj) { nlea_EaglerAdapterImpl2_$callClinit(); return (otji_JSWrapper_unwrap($obj)).byteLength; } function nlea_EaglerAdapterImpl2_remapKey($k) { var var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; return $k <= var$2.length && $k >= 0 ? var$2[$k] : (-1); } function nlea_EaglerAdapterImpl2_writeFile($path, $data) { var var$3, 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();var$3 = $thread.pop();$data = $thread.pop();$path = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nleat_IndexedDBFilesystem_$callClinit(); var$3 = jl_String_lastIndexOf($path, 47); if (var$3 > 0) { var$4 = jl_String_substring0($path, 0, var$3); $ptr = 2; continue main; } var$5 = new $rt_globals.Uint8Array($data.data.length); var$5.set($data.data); var$4 = nleat_IndexedDBFilesystem_db; var$3 = 0; var$5 = var$5.buffer; $ptr = 1; case 1: nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile(var$4, $path, var$3, var$5); if ($rt_suspending()) { break main; } return; case 2: nleat_IndexedDBFilesystem_mkdir(var$4); if ($rt_suspending()) { break main; } var$5 = new $rt_globals.Uint8Array($data.data.length); var$5.set($data.data); var$4 = nleat_IndexedDBFilesystem_db; var$3 = 0; var$5 = var$5.buffer; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($path, $data, var$3, var$4, var$5, $ptr); } function nlea_EaglerAdapterImpl2_readFile($path) { var var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$path = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nleat_IndexedDBFilesystem_$callClinit(); var$2 = nleat_IndexedDBFilesystem_db; $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile(var$2, $path); if ($rt_suspending()) { break main; } $path = $tmp; if ($path === null) var$3 = null; else { var$3 = $rt_createByteArray($path.byteLength); var$4 = var$3.data; $path = new $rt_globals.Uint8Array($path); var$5 = 0; var$6 = var$4.length; while (var$5 < var$6) { var$4[var$5] = $path[var$5] << 24 >> 24; var$5 = var$5 + 1 | 0; } } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($path, var$2, var$3, var$4, var$5, var$6, $ptr); } function nlea_EaglerAdapterImpl2_getFileSize($path) { var var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$path = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nleat_IndexedDBFilesystem_$callClinit(); var$2 = nleat_IndexedDBFilesystem_db; $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile(var$2, $path); if ($rt_suspending()) { break main; } $path = $tmp; return $path === null ? (-1) : $path.byteLength; default: $rt_invalidPointer(); }} $rt_nativeThread().push($path, var$2, $ptr); } function nlea_EaglerAdapterImpl2_renameFile($oldPath, $newPath) { var var$3, 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();var$3 = $thread.pop();$newPath = $thread.pop();$oldPath = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nleat_IndexedDBFilesystem_$callClinit(); var$3 = nleat_IndexedDBFilesystem_db; $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile(var$3, $oldPath); if ($rt_suspending()) { break main; } var$3 = $tmp; var$4 = jl_String_lastIndexOf($newPath, 47); if (var$4 <= 0) { var$5 = nleat_IndexedDBFilesystem_db; var$4 = 0; $ptr = 2; continue main; } var$5 = jl_String_substring0($newPath, 0, var$4); $ptr = 4; continue main; case 2: nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile(var$5, $newPath, var$4, var$3); if ($rt_suspending()) { break main; } $newPath = nleat_IndexedDBFilesystem_db; $ptr = 3; case 3: nleat_IndexedDBFilesystem$AsyncHandlers_deleteFile($newPath, $oldPath); if ($rt_suspending()) { break main; } return; case 4: nleat_IndexedDBFilesystem_mkdir(var$5); if ($rt_suspending()) { break main; } var$5 = nleat_IndexedDBFilesystem_db; var$4 = 0; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($oldPath, $newPath, var$3, var$4, var$5, $ptr); } function nlea_EaglerAdapterImpl2_deleteFile($path) { var var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$path = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nleat_IndexedDBFilesystem_$callClinit(); var$2 = nleat_IndexedDBFilesystem_db; $ptr = 1; case 1: nleat_IndexedDBFilesystem$AsyncHandlers_deleteFile(var$2, $path); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($path, var$2, $ptr); } function nlea_EaglerAdapterImpl2__clinit_() { 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_0(); nlea_EaglerAdapterImpl2_keyEvents = ju_LinkedList__init_0(); 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 $rt_globals.Uint8Array(new $rt_globals.ArrayBuffer(4194304)); nlea_EaglerAdapterImpl2_mat2 = new $rt_globals.Float32Array(4); nlea_EaglerAdapterImpl2_mat3 = new $rt_globals.Float32Array(9); nlea_EaglerAdapterImpl2_mat4 = new $rt_globals.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_0($rt_s(40)); nlea_EaglerAdapterImpl2_playbackId = 0; nlea_EaglerAdapterImpl2_loadedSoundFiles = ju_HashMap__init_0(); nlea_EaglerAdapterImpl2_audioctx = null; nlea_EaglerAdapterImpl2_playbackOffsetDelay = 0.029999999329447746; nlea_EaglerAdapterImpl2_activeSoundEffects = ju_HashMap__init_0(); nlea_EaglerAdapterImpl2_connected = 0; nlea_EaglerAdapterImpl2_LWJGLKeyNames = $rt_createArrayFromData(jl_String, [$rt_s(41), $rt_s(42), $rt_s(43), $rt_s(44), $rt_s(45), $rt_s(46), $rt_s(47), $rt_s(48), $rt_s(49), $rt_s(50), $rt_s(51), $rt_s(1), $rt_s(52), $rt_s(53), $rt_s(54), $rt_s(55), $rt_s(56), $rt_s(57), $rt_s(58), $rt_s(59), $rt_s(60), $rt_s(61), $rt_s(62), $rt_s(63), $rt_s(64), $rt_s(65), $rt_s(66), $rt_s(67), $rt_s(68), $rt_s(69), $rt_s(70), $rt_s(71), $rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75), $rt_s(76), $rt_s(77), $rt_s(78), $rt_s(79), $rt_s(80), $rt_s(81), $rt_s(82), $rt_s(83), $rt_s(84), $rt_s(85), $rt_s(86), $rt_s(87), $rt_s(88), $rt_s(89), $rt_s(90), $rt_s(91), $rt_s(92), $rt_s(93), $rt_s(94), $rt_s(95), $rt_s(96), $rt_s(97), $rt_s(98), $rt_s(99), $rt_s(100), $rt_s(101), $rt_s(102), $rt_s(103), $rt_s(104), $rt_s(105), $rt_s(106), $rt_s(107), $rt_s(108), $rt_s(109), $rt_s(110), $rt_s(111), $rt_s(112), $rt_s(113), $rt_s(114), $rt_s(115), $rt_s(116), $rt_s(117), $rt_s(118), $rt_s(119), $rt_s(120), $rt_s(121), $rt_s(122), $rt_s(123), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(124), $rt_s(125), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(126), $rt_s(127), $rt_s(128), $rt_s(129), $rt_s(130), $rt_s(131), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(132), $rt_s(133), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(134), $rt_s(20), $rt_s(135), $rt_s(20), $rt_s(136), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(137), $rt_s(20), $rt_s(20), $rt_s(138), $rt_s(139), $rt_s(140), $rt_s(141), $rt_s(142), $rt_s(143), $rt_s(144), $rt_s(145), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(146), $rt_s(147), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(148), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(149), $rt_s(20), $rt_s(150), $rt_s(20), $rt_s(151), $rt_s(152), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(153), $rt_s(154), $rt_s(20), $rt_s(155), $rt_s(156), $rt_s(157), $rt_s(20), $rt_s(158), $rt_s(20), $rt_s(159), $rt_s(20), $rt_s(160), $rt_s(161), $rt_s(162), $rt_s(163), $rt_s(164), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(165), $rt_s(166), $rt_s(167), $rt_s(168), $rt_s(169), $rt_s(170), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20), $rt_s(20)]); nlea_EaglerAdapterImpl2_LWJGLKeyCodes = $rt_createIntArrayFromData([(-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 14, 15, (-1), (-1), (-1), 28, (-1), (-1), 42, 29, 56, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 1, (-1), (-1), (-1), (-1), 57, 210, 201, 207, 199, 203, 200, 205, 208, 205, 208, (-1), (-1), 210, 211, 211, 11, 2, 3, 4, 5, 6, 7, 8, 9, 10, (-1), (-1), (-1), (-1), (-1), (-1), (-1), 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 21, 44, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 12, 52, 53, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 39, 13, 51, 12, 52, 53, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 26, 43, 27, 40]); nlea_EaglerAdapterImpl2_appendbufferindex = 0; nlea_EaglerAdapterImpl2_appendbuffer = new $rt_globals.Int32Array(new $rt_globals.ArrayBuffer(2100000)); nlea_EaglerAdapterImpl2_unpressCTRL = 0; } function nlea_EaglerAdapterImpl2_downloadAssetPack$_asyncCall_$(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); thread.suspend(function() { try { nlea_EaglerAdapterImpl2_downloadAssetPack(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(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); thread.suspend(function() { try { nlea_EaglerAdapterImpl2_loadPNG0(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nlea_EaglerAdapterImpl2_onBeforeCloseRegister$js_body$_9() { $rt_globals.window.addEventListener('beforeunload', function(event) { event.preventDefault(); return ''; }); } function nlea_EaglerAdapterImpl2_setContextVar$js_body$_13(var$1) { $rt_globals.window.currentContext = var$1; } 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$_119(var$1, var$2) { return $rt_globals.URL.createObjectURL(new $rt_globals.Blob([var$1], { type : var$2 })); } function nlea_EaglerAdapterImpl2_commitContext$js_body$_151(var$1) { if (var$1.commit) var$1.commit(); } var nle_Client$AbortedLaunchException = $rt_classWithoutFields(jl_RuntimeException); function nle_Client$AbortedLaunchException__init_0() { var var_0 = new nle_Client$AbortedLaunchException(); nle_Client$AbortedLaunchException__init_(var_0); return var_0; } function nle_Client$AbortedLaunchException__init_($this) { jl_Throwable__init_0($this); } var jl_AutoCloseable = $rt_classWithoutFields(0); var ji_Closeable = $rt_classWithoutFields(0); var ji_Flushable = $rt_classWithoutFields(0); function ji_Writer() { jl_Object.call(this); this.$lock = null; } function ji_Writer__init_($this) { $this.$lock = $this; } function ji_StringWriter() { ji_Writer.call(this); this.$buf = null; } function ji_StringWriter__init_() { var var_0 = new ji_StringWriter(); ji_StringWriter__init_0(var_0); return var_0; } function ji_StringWriter__init_0($this) { var var$1; ji_Writer__init_($this); var$1 = new jl_StringBuffer; jl_AbstractStringBuilder__init_2(var$1, 16); $this.$buf = var$1; $this.$lock = var$1; } function ji_StringWriter_close($this) {} function ji_StringWriter_flush($this) {} 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_AbstractStringBuilder_append1($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.$out0 = null; a.$ioError = 0; a.$autoflush = 0; } function ji_PrintWriter__init_(var_0, var_1) { var var_2 = new ji_PrintWriter(); ji_PrintWriter__init_0(var_2, var_0, var_1); return var_2; } function ji_PrintWriter__init_0($this, $wr, $autoflush) { if ($wr !== null) { $this.$lock = $wr; $this.$autoflush = $autoflush; $this.$out0 = $wr; return; } $wr = new jl_NullPointerException; jl_Throwable__init_0($wr); $rt_throw($wr); } function ji_PrintWriter_flush($this) { var var$1, $$je; a: { var$1 = $this.$out0; if (var$1 === null) ji_PrintWriter_setError($this); else { try { var$1.$flush(); 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) { var var$2, var$3, $$je; if ($str === null) $str = jl_String_valueOf(null); a: { var$2 = jl_String_toCharArray($str); var$3 = var$2.data.length; $str = $this.$out0; if ($str === null) ji_PrintWriter_setError($this); else { try { $str.$write(var$2, 0, var$3); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } ji_PrintWriter_setError($this); } } } function ji_PrintWriter_println($this) { ji_PrintWriter_print($this, $rt_s(171)); if ($this.$autoflush) ji_PrintWriter_flush($this); } function ji_PrintWriter_println0($this, $str) { ji_PrintWriter_print($this, $str); ji_PrintWriter_println($this); } function ji_PrintWriter_setError($this) { $this.$ioError = 1; } var jl_System = $rt_classWithoutFields(); var jl_System_outCache = null; var jl_System_errCache = null; function jl_System__init_0() { var var_0 = new jl_System(); jl_System__init_(var_0); return var_0; } function jl_System__init_($this) {} function jl_System_out() { if (jl_System_outCache === null) jl_System_outCache = ji_PrintStream__init_(otcic_StdoutOutputStream_INSTANCE, 0); return jl_System_outCache; } function jl_System_err() { if (jl_System_errCache === null) jl_System_errCache = ji_PrintStream__init_(otcic_StderrOutputStream_INSTANCE, 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, $elem, var$14; 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; $elem = var$11[var$10]; var$14 = $targetType.$platformClass; if (!($elem !== null && !(typeof $elem.constructor.$meta === 'undefined' ? 1 : 0) && otp_Platform_isAssignable($elem.constructor, var$14) ? 1 : 0)) { 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(172)); $rt_throw($dest); } function jl_System_fastArraycopy($src, $srcPos, $dest, $destPos, $length) { if ($srcPos >= 0 && $destPos >= 0 && $length >= 0 && ($srcPos + $length | 0) <= jlr_Array_getLength($src) && ($destPos + $length | 0) <= jlr_Array_getLength($dest)) { jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $length); return; } $src = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($src); $rt_throw($src); } function jl_System_doArrayCopy(var$1, var$2, var$3, var$4, var$5) { if (var$5 === 0) { return; } else if (typeof var$1.data.buffer !== 'undefined') { var$3.data.set(var$1.data.subarray(var$2, var$2 + var$5), var$4); } else if (var$1 !== var$3 || var$4 < var$2) { for (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($rt_globals.performance.now() * 1000000.0); } var otci_IntegerUtil = $rt_classWithoutFields(); function otci_IntegerUtil__init_0() { var var_0 = new otci_IntegerUtil(); otci_IntegerUtil__init_(var_0); return var_0; } function otci_IntegerUtil__init_($this) {} function otji_JSWrapper() { jl_Object.call(this); this.$js = null; } var otji_JSWrapper_hashCodes = null; var otji_JSWrapper_wrappers = null; var otji_JSWrapper_stringWrappers = null; var otji_JSWrapper_numberWrappers = null; var otji_JSWrapper_undefinedWrapper = null; var otji_JSWrapper_stringFinalizationRegistry = null; var otji_JSWrapper_numberFinalizationRegistry = null; function otji_JSWrapper_$callClinit() { otji_JSWrapper_$callClinit = $rt_eraseClinit(otji_JSWrapper); otji_JSWrapper__clinit_(); } function otji_JSWrapper__init_(var_0) { var var_1 = new otji_JSWrapper(); otji_JSWrapper__init_0(var_1, var_0); return var_1; } function otji_JSWrapper__init_0($this, $js) { otji_JSWrapper_$callClinit(); $this.$js = $js; } function otji_JSWrapper_wrap($o) { var $jsNumber, $type, $isObject, $existingRef, $existing, $wrapper, $wrapperAsJs; otji_JSWrapper_$callClinit(); if ($o === null) return null; $jsNumber = $o; $type = $rt_str(typeof $jsNumber); $isObject = !jl_String_equals($type, $rt_s(173)) && !jl_String_equals($type, $rt_s(174)) ? 0 : 1; if ($isObject && $o[$rt_jso_marker] === true) return $o; $o = otji_JSWrapper_wrappers; if ($o !== null) { if ($isObject) { $existingRef = $o.get($jsNumber); $existing = (typeof $existingRef === 'undefined' ? 1 : 0) ? void 0 : $existingRef.deref(); if (!(typeof $existing === 'undefined' ? 1 : 0)) return $existing; $wrapper = otji_JSWrapper__init_($jsNumber); otji_JSWrapper_wrappers.set($jsNumber, new $rt_globals.WeakRef($wrapper)); return $wrapper; } if (jl_String_equals($type, $rt_s(175))) { $existingRef = otji_JSWrapper_stringWrappers.get($jsNumber); $existing = (typeof $existingRef === 'undefined' ? 1 : 0) ? void 0 : $existingRef.deref(); if (!(typeof $existing === 'undefined' ? 1 : 0)) return $existing; $wrapper = otji_JSWrapper__init_($jsNumber); $wrapperAsJs = $wrapper; otji_JSWrapper_stringWrappers.set($jsNumber, new $rt_globals.WeakRef($wrapperAsJs)); otji_JSWrapper_register$js_body$_4(otji_JSWrapper_stringFinalizationRegistry, $wrapperAsJs, $jsNumber); return $wrapper; } if (jl_String_equals($type, $rt_s(176))) { $existingRef = otji_JSWrapper_numberWrappers.get($jsNumber); $existing = (typeof $existingRef === 'undefined' ? 1 : 0) ? void 0 : $existingRef.deref(); if (!(typeof $existing === 'undefined' ? 1 : 0)) return $existing; $wrapper = otji_JSWrapper__init_($jsNumber); $wrapperAsJs = $wrapper; otji_JSWrapper_numberWrappers.set($jsNumber, new $rt_globals.WeakRef($wrapperAsJs)); otji_JSWrapper_register$js_body$_4(otji_JSWrapper_numberFinalizationRegistry, $wrapperAsJs, $jsNumber); return $wrapper; } if (jl_String_equals($type, $rt_s(177))) { $existingRef = otji_JSWrapper_undefinedWrapper; $existing = $existingRef === null ? void 0 : $existingRef.deref(); if (!(typeof $existing === 'undefined' ? 1 : 0)) return $existing; $wrapper = otji_JSWrapper__init_($jsNumber); otji_JSWrapper_undefinedWrapper = new $rt_globals.WeakRef($wrapper); return $wrapper; } } return otji_JSWrapper__init_($jsNumber); } function otji_JSWrapper_unwrap($o) { otji_JSWrapper_$callClinit(); if ($o === null) return null; return $o[$rt_jso_marker] === true ? $o : $o.$js; } function otji_JSWrapper_javaToJs($o) { otji_JSWrapper_$callClinit(); if ($o === null) return null; return $o instanceof $rt_objcls() && $o instanceof otji_JSWrapper ? otji_JSWrapper_unwrap($o) : $o; } function otji_JSWrapper_jsToJava($o) { otji_JSWrapper_$callClinit(); if ($o === null) return null; return $o instanceof $rt_objcls() ? $o : otji_JSWrapper_wrap($o); } function otji_JSWrapper__clinit_() { otji_JSWrapper_hashCodes = new $rt_globals.WeakMap(); otji_JSWrapper_wrappers = !(typeof $rt_globals.WeakRef !== 'undefined' ? 1 : 0) ? null : new $rt_globals.WeakMap(); otji_JSWrapper_stringWrappers = !(typeof $rt_globals.WeakRef !== 'undefined' ? 1 : 0) ? null : new $rt_globals.Map(); otji_JSWrapper_numberWrappers = !(typeof $rt_globals.WeakRef !== 'undefined' ? 1 : 0) ? null : new $rt_globals.Map(); otji_JSWrapper_stringFinalizationRegistry = otji_JSWrapper_stringWrappers === null ? null : new $rt_globals.FinalizationRegistry(otji_JS_function(new otji_JSWrapper$_clinit_$lambda$_30_0, "accept")); otji_JSWrapper_numberFinalizationRegistry = otji_JSWrapper_numberWrappers === null ? null : new $rt_globals.FinalizationRegistry(otji_JS_function(new otji_JSWrapper$_clinit_$lambda$_30_1, "accept")); } function otji_JSWrapper_register$js_body$_4(var$1, var$2, var$3) { return var$1.register(var$2, var$3); } var otjc_JSString = $rt_classWithoutFields(); var jl_Runnable = $rt_classWithoutFields(0); function nmc_Minecraft() { var a = this; jl_Object.call(a); a.$field_6327_b = null; a.$displayWidth = 0; a.$displayHeight = 0; a.$timer = null; a.$theWorld = null; a.$field_6323_f = null; a.$thePlayer = null; a.$field_6321_h = null; a.$field_6320_i = null; a.$field_6317_l = 0; a.$field_6316_m = 0; a.$renderEngine = null; a.$fontRenderer = null; a.$currentScreen = null; a.$loadingScreen = null; a.$field_9243_r = null; a.$ticksRan = 0; a.$field_6282_S = 0; a.$field_6310_s = null; a.$field_6309_t = 0; a.$ingameGUI = null; a.$field_6307_v = 0; a.$field_9242_w = null; a.$objectMouseOver = null; a.$gameSettings = null; a.$mouseHelper = null; a.$field_9232_X = null; a.$field_9231_Y = null; a.$running = 0; a.$field_6292_I = null; a.$field_6291_J = 0; a.$field_6290_K = Long_ZERO; a.$field_6289_L = 0; a.$field_6302_aa = 0; a.$field_6288_M = 0; a.$field_6287_N = Long_ZERO; a.$field_6300_ab = 0; } var nmc_Minecraft_field_9240_E = null; var nmc_Minecraft_field_9239_F = null; var nmc_Minecraft_field_9238_G = 0; var nmc_Minecraft_mc = null; function nmc_Minecraft__init_() { var var_0 = new nmc_Minecraft(); nmc_Minecraft__init_0(var_0); return var_0; } function nmc_Minecraft__init_0($this) { var var$1, var$2; var$1 = new nms_Timer; var$1.$timerSpeed = 1.0; var$1.$elapsedPartialTicks = 0.0; var$1.$timeSyncAdjustment = 1.0; var$1.$ticksPerSecond = 20.0; var$1.$lastSyncSysClock = jl_System_currentTimeMillis(); var$1.$lastSyncHRClock = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); $this.$timer = var$1; $this.$field_6320_i = null; $this.$field_6317_l = 1; $this.$field_6316_m = 0; $this.$currentScreen = null; var$1 = new nms_LoadingScreenRenderer; var$1.$field_1004_a = $rt_s(6); var$1.$field_1007_c = $rt_s(6); var$1.$field_1006_d = jl_System_currentTimeMillis(); var$1.$field_1005_e = 0; var$1.$mc = $this; $this.$loadingScreen = var$1; var$1 = new nms_EntityRenderer; var$1.$field_1387_i = 0.0; var$1.$field_1385_k = null; var$1.$field_1384_l = jl_System_currentTimeMillis(); var$1.$field_1383_m = new ju_Random; var$1.$field_1394_b = 0; var$1.$field_1393_c = 0; var$1.$field_1392_d = nms_GLAllocation_createDirectFloatBuffer(16); var$1.$mc0 = $this; var$1.$field_1395_a = nms_ItemRenderer__init_($this); $this.$field_9243_r = var$1; $this.$ticksRan = 0; $this.$field_6282_S = 0; $this.$field_6310_s = null; $this.$field_6309_t = 0; $this.$field_6307_v = 0; $this.$field_9242_w = nms_ModelBiped__init_0(0.0); $this.$objectMouseOver = null; $this.$field_9232_X = nms_TextureWaterFX__init_0(); $this.$field_9231_Y = nms_TextureLavaFX__init_0(); $this.$running = 1; $this.$field_6292_I = $rt_s(6); $this.$field_6291_J = 0; $this.$field_6290_K = Long_fromInt(-1); $this.$field_6289_L = 0; $this.$field_6302_aa = 0; $this.$field_6288_M = 0; $this.$field_6287_N = jl_System_currentTimeMillis(); $this.$field_6300_ab = 0; var$1 = new nms_ThreadSleepForever; jl_Thread__init_0(var$1, $rt_s(178)); var$1.$mc1 = $this; var$1.$daemon = 1; var$2 = new jl_Thread$start$lambda$_4_0; var$2.$_01 = var$1; otp_Platform_startThread(var$2); $this.$displayWidth = nlea_EaglerAdapterImpl2_getCanvasWidth(); $this.$displayHeight = nlea_EaglerAdapterImpl2_getCanvasHeight(); nmc_Minecraft_mc = $this; } function nmc_Minecraft_startGame($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderManager_$callClinit(); nms_RenderManager_instance.$field_4236_f = nms_ItemRenderer__init_($this); var$1 = new nms_GameSettings; $ptr = 1; case 1: nms_GameSettings__init_0(var$1, $this); if ($rt_suspending()) { break main; } $this.$gameSettings = var$1; var$2 = new nms_RenderEngine; nms_RenderEngine_textureMap = ju_HashMap__init_0(); var$2.$textureNameToImageMap = ju_HashMap__init_0(); var$2.$singleIntBuffer = nms_GLAllocation_createDirectIntBuffer(1); var$2.$imageDataB1 = nms_GLAllocation_createDirectByteBuffer(1048576); var$2.$imageDataB2 = nms_GLAllocation_createDirectByteBuffer(1048576); var$2.$textureList = ju_ArrayList__init_0(); var$2.$clampTexture = 0; var$2.$blurTexture = 0; var$2.$options = var$1; $this.$renderEngine = var$2; var$3 = new nms_FontRenderer; var$4 = $this.$gameSettings; var$1 = $rt_s(179); $ptr = 2; case 2: nms_FontRenderer__init_(var$3, var$4, var$1, var$2); if ($rt_suspending()) { break main; } $this.$fontRenderer = var$3; $ptr = 3; case 3: nmc_Minecraft_loadScreen($this); if ($rt_suspending()) { break main; } $this.$mouseHelper = new nms_MouseHelper; nmc_Minecraft_checkGLError($this, $rt_s(180)); olo_EaglerAdapterGL30_glEnable(3553); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clearDepth((-1.0)); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glDepthFunc(515); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glAlphaFunc(516, 0.10000000149011612); olo_EaglerAdapterGL30_glCullFace(1029); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glMatrixMode(5888); nmc_Minecraft_checkGLError($this, $rt_s(181)); nms_RenderEngine_registerTextureFX($this.$renderEngine, $this.$field_9231_Y); nms_RenderEngine_registerTextureFX($this.$renderEngine, $this.$field_9232_X); nms_RenderEngine_registerTextureFX($this.$renderEngine, nms_TexturePortalFX__init_0()); var$1 = $this.$renderEngine; var$2 = new nms_TextureCompassFX; nms_Item_$callClinit(); nms_TextureFX__init_(var$2, nms_Item_compass.$iconIndex); var$2.$angleDelta = 0.0; var$2.$currentAngle = 0.0; var$2.$field_1128_f = 1; var$5 = nlea_EaglerAdapterImpl2_loadResourceBytes($rt_s(182)); $ptr = 4; case 4: $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; var$5 = var$3.$data; var$6 = var$5.data; var$2.$compassSpriteSheet = var$5; var$2.$compassSpriteSheetLength = var$6.length / 256 | 0; nms_RenderEngine_registerTextureFX(var$1, var$2); nms_RenderEngine_registerTextureFX($this.$renderEngine, nms_TexureWaterFlowFX__init_0()); nms_RenderEngine_registerTextureFX($this.$renderEngine, nms_TextureLavaFlowFX__init_0()); nms_RenderEngine_registerTextureFX($this.$renderEngine, nms_TextureFlamesFX__init_(0)); nms_RenderEngine_registerTextureFX($this.$renderEngine, nms_TextureFlamesFX__init_(1)); $this.$field_6323_f = nms_RenderGlobal__init_($this, $this.$renderEngine); olo_EaglerAdapterGL30_glViewport(0, 0, $this.$displayWidth, $this.$displayHeight); var$1 = new nms_EffectRenderer; var$2 = $this.$theWorld; var$3 = $this.$renderEngine; var$1.$field_1728_b = $rt_createArray(ju_List, 4); var$1.$rand = new ju_Random; if (var$2 !== null) var$1.$worldObj = var$2; var$1.$field_1731_c = var$3; var$7 = 0; while (var$7 < 4) { var$1.$field_1728_b.data[var$7] = ju_ArrayList__init_0(); var$7 = var$7 + 1 | 0; } $this.$field_6321_h = var$1; nmc_Minecraft_checkGLError($this, $rt_s(183)); var$1 = new nms_GuiIngame; nms_Gui__init_(var$1); var$1.$chatMessageList = ju_ArrayList__init_0(); var$1.$rand0 = new ju_Random; var$1.$field_933_a = null; var$1.$updateCounter = 0; var$1.$field_9420_i = $rt_s(6); var$1.$field_9419_j = 0; var$1.$field_931_c = 1.0; var$1.$mc2 = $this; $this.$ingameGUI = var$1; var$1 = nms_GuiMainMenu__init_0(); $ptr = 5; case 5: nmc_Minecraft_displayGuiScreen($this, var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nmc_Minecraft_loadScreen($this) { var var$1, var$2, $tessellator, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$tessellator = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); var$1 = $this.$displayWidth; var$2 = $this.$displayHeight; $tessellator = olo_EaglerAdapterGL30_getMatrix(); var$4 = var$1 - 0.0; $tessellator.$m00 = 2.0 / var$4; $tessellator.$m01 = 0.0; $tessellator.$m02 = 0.0; $tessellator.$m03 = 0.0; $tessellator.$m10 = 0.0; var$5 = 0.0 - var$2; $tessellator.$m11 = 2.0 / var$5; $tessellator.$m12 = 0.0; $tessellator.$m13 = 0.0; $tessellator.$m20 = 0.0; $tessellator.$m21 = 0.0; $tessellator.$m22 = 0.0010000000474974513; $tessellator.$m23 = 0.0; $tessellator.$m30 = -(var$1 + 0.0) / var$4; $tessellator.$m31 = -(0.0 + var$2) / var$5; $tessellator.$m32 = 2.0; $tessellator.$m33 = 1.0; olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-2000.0)); olo_EaglerAdapterGL30_glViewport(0, 0, $this.$displayWidth, $this.$displayHeight); olo_EaglerAdapterGL30_glClearColor(0.0, 0.0, 0.0, 0.0); nms_Tessellator_$callClinit(); $tessellator = nms_Tessellator_instance; olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(2912); var$6 = 3553; var$7 = $this.$renderEngine; var$8 = $rt_s(184); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture(var$7, var$8); if ($rt_suspending()) { break main; } var$9 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$6, var$9); nms_Tessellator_startDrawingQuads($tessellator); nms_Tessellator_setColorOpaque_I($tessellator, 16777215); nms_Tessellator_addVertexWithUV($tessellator, 0.0, $this.$displayHeight, 0.0, 0.0, 0.0); nms_Tessellator_addVertexWithUV($tessellator, $this.$displayWidth, $this.$displayHeight, 0.0, 0.0, 0.0); nms_Tessellator_addVertexWithUV($tessellator, $this.$displayWidth, 0.0, 0.0, 0.0, 0.0); nms_Tessellator_addVertexWithUV($tessellator, 0.0, 0.0, 0.0, 0.0, 0.0); nms_Tessellator_draw($tessellator); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_Tessellator_startDrawingQuads($tessellator); nms_Tessellator_setColorOpaque_I($tessellator, 16777215); nms_Tessellator_addVertexWithUV($tessellator, 0.0, $this.$displayHeight, 0.0, 0.0, 1.0); nms_Tessellator_addVertexWithUV($tessellator, $this.$displayWidth, $this.$displayHeight, 0.0, 1.0, 1.0); nms_Tessellator_addVertexWithUV($tessellator, $this.$displayWidth, 0.0, 0.0, 1.0, 0.0); nms_Tessellator_addVertexWithUV($tessellator, 0.0, 0.0, 0.0, 0.0, 0.0); nms_Tessellator_draw($tessellator); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2912); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glAlphaFunc(516, 0.10000000149011612); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.flush(); $ptr = 2; case 2: nlea_EaglerAdapterImpl2_updateDisplay(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $tessellator, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); } function nmc_Minecraft_displayGuiScreen($this, $var1) { var $var2, $var4, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$currentScreen; if ($var2 instanceof nms_GuiUnused) return; if ($var2 !== null) { $ptr = 1; continue main; } if ($var1 === null && $this.$theWorld === null) $var1 = nms_GuiMainMenu__init_0(); else if ($var1 === null && $this.$thePlayer.$health <= 0) { $var1 = new nms_GuiGameOver; nms_GuiScreen__init_($var1); } $this.$currentScreen = $var1; if ($var1 === null) { $ptr = 2; continue main; } if ($this.$field_6289_L) { $var2 = $this.$thePlayer; if ($var2 !== null) { $var2 = $var2.$field_787_a; $var4 = 0; while ($var4 < 10) { $var2.$field_1179_f.data[$var4] = 0; $var4 = $var4 + 1 | 0; } } $this.$field_6289_L = 0; oli_Mouse_setGrabbed(0); } $var2 = nms_ScaledResolution__init_($this.$displayWidth, $this.$displayHeight); $var3 = $var2.$scaledWidth; $var4 = $var2.$scaledHeight; $ptr = 3; continue main; case 1: $var2.$onGuiClosed(); if ($rt_suspending()) { break main; } if ($var1 === null && $this.$theWorld === null) $var1 = nms_GuiMainMenu__init_0(); else if ($var1 === null && $this.$thePlayer.$health <= 0) { $var1 = new nms_GuiGameOver; nms_GuiScreen__init_($var1); } $this.$currentScreen = $var1; if ($var1 === null) { $ptr = 2; continue main; } if ($this.$field_6289_L) { $var2 = $this.$thePlayer; if ($var2 !== null) { $var2 = $var2.$field_787_a; $var4 = 0; while ($var4 < 10) { $var2.$field_1179_f.data[$var4] = 0; $var4 = $var4 + 1 | 0; } } $this.$field_6289_L = 0; oli_Mouse_setGrabbed(0); } $var2 = nms_ScaledResolution__init_($this.$displayWidth, $this.$displayHeight); $var3 = $var2.$scaledWidth; $var4 = $var2.$scaledHeight; $ptr = 3; continue main; case 2: nmc_Minecraft_func_6259_e($this); if ($rt_suspending()) { break main; } return; case 3: nms_GuiScreen_setWorldAndResolution($var1, $this, $var3, $var4); if ($rt_suspending()) { break main; } $this.$field_6307_v = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var3, $ptr); } function nmc_Minecraft_checkGLError($this, $var1) { var $var2, $var3, var$4, var$5; olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var2 = nlea_EaglerAdapterImpl2_webgl.getError(); if ($var2 == 37442) $var2 = (-144); if ($var2) { a: { switch ($var2) { case -144: break; case 1280: $var3 = $rt_s(185); break a; case 1281: $var3 = $rt_s(186); break a; case 1282: $var3 = $rt_s(187); break a; case 1285: $var3 = $rt_s(188); break a; default: $var3 = $rt_s(189); break a; } $var3 = $rt_s(190); } ji_PrintStream_println(jl_System_out(), $rt_s(191)); var$4 = jl_System_out(); var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(192)), $var1); ji_PrintStream_println(var$4, jl_AbstractStringBuilder_toString(var$5)); $var1 = jl_System_out(); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append1(var$4, $var2), $rt_s(17)), $var3); ji_PrintStream_println($var1, jl_AbstractStringBuilder_toString(var$4)); } } function nmc_Minecraft_run($this) { var $var1, $var3, var$3, $e, $var4, $var19, $var6, $var20, var$9, var$10, var$11, var$12, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var20 = $thread.pop();$var6 = $thread.pop();$var19 = $thread.pop();$var4 = $thread.pop();$e = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$running = 1; $ptr = 1; case 1: nmc_Minecraft_startGame($this); if ($rt_suspending()) { break main; } $var1 = jl_System_currentTimeMillis(); $var3 = 0; var$3 = null; if (!$this.$running) return; nms_AxisAlignedBB_numBoundingBoxesInUse = 0; nms_Vec3D_nextVector = 0; if ($this.$field_6316_m && $this.$theWorld !== null) { $e = $this.$timer; $var4 = $e.$renderPartialTicks; nms_Timer_updateTimer($e); $this.$timer.$renderPartialTicks = $var4; } else nms_Timer_updateTimer($this.$timer); $var19 = jl_System_nanoTime(); $var6 = 0; if ($var6 < $this.$timer.$elapsedTicks) { $this.$ticksRan = $this.$ticksRan + 1 | 0; try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_MinecraftException) { } else { throw $$e; } } $this.$theWorld = null; $ptr = 5; continue main; } $var20 = Long_sub(jl_System_nanoTime(), $var19); nmc_Minecraft_checkGLError($this, $rt_s(193)); olo_EaglerAdapterGL30_glEnable(3553); if ($this.$theWorld !== null) { $e = $this.$theWorld; $ptr = 2; continue main; } if ($this.$gameSettings.$limitFramerate) { try { $var19 = Long_fromInt(5); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; continue main; case 2: $tmp = nms_World_func_6465_g($e); if ($rt_suspending()) { break main; } var$11 = $tmp; if (var$11) { $e = $this.$theWorld; continue main; } if ($this.$gameSettings.$limitFramerate) { try { $var19 = Long_fromInt(5); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; continue main; case 3: a: { try { nmc_Minecraft_runTick($this); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_MinecraftException) { break a; } else { throw $$e; } } $var6 = $var6 + 1 | 0; if ($var6 >= $this.$timer.$elapsedTicks) { $var20 = Long_sub(jl_System_nanoTime(), $var19); nmc_Minecraft_checkGLError($this, $rt_s(193)); olo_EaglerAdapterGL30_glEnable(3553); if ($this.$theWorld !== null) { $e = $this.$theWorld; $ptr = 2; continue main; } if ($this.$gameSettings.$limitFramerate) { try { $var19 = Long_fromInt(5); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; continue main; } $this.$ticksRan = $this.$ticksRan + 1 | 0; try { continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_MinecraftException) { } else { throw $$e; } } } $this.$theWorld = null; $ptr = 5; continue main; case 4: b: { try { jl_Thread_sleep($var19); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; continue main; case 5: nmc_Minecraft_func_6261_a($this, var$3); if ($rt_suspending()) { break main; } $e = nms_GuiConflictWarning__init_0(); $ptr = 6; case 6: nmc_Minecraft_displayGuiScreen($this, $e); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 < $this.$timer.$elapsedTicks) { $this.$ticksRan = $this.$ticksRan + 1 | 0; try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_MinecraftException) { } else { throw $$e; } } $this.$theWorld = null; $ptr = 5; continue main; } $var20 = Long_sub(jl_System_nanoTime(), $var19); nmc_Minecraft_checkGLError($this, $rt_s(193)); olo_EaglerAdapterGL30_glEnable(3553); if ($this.$theWorld !== null) { $e = $this.$theWorld; $ptr = 2; continue main; } if ($this.$gameSettings.$limitFramerate) { try { $var19 = Long_fromInt(5); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; case 7: nlea_EaglerAdapterImpl2_updateDisplay(); if ($rt_suspending()) { break main; } if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; case 8: b: { try { jl_Thread_sleep($var19); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; case 9: nms_EntityRenderer_func_4136_b($e, $var4); if ($rt_suspending()) { break main; } if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; case 10: jl_Thread_yield(); if ($rt_suspending()) { break main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { $ptr = 11; continue main; } if (!(nlea_EaglerAdapterImpl2_getCanvasWidth() == $this.$displayWidth && nlea_EaglerAdapterImpl2_getCanvasHeight() == $this.$displayHeight)) { $this.$displayWidth = nlea_EaglerAdapterImpl2_getCanvasWidth(); var$11 = nlea_EaglerAdapterImpl2_getCanvasHeight(); $this.$displayHeight = var$11; if ($this.$displayWidth <= 0) $this.$displayWidth = 1; if (var$11 <= 0) $this.$displayHeight = 1; var$11 = $this.$displayWidth; var$12 = $this.$displayHeight; if (var$11 <= 0) var$11 = 1; if (var$12 <= 0) var$12 = 1; $this.$displayWidth = var$11; $this.$displayHeight = var$12; if ($this.$currentScreen !== null) { $e = nms_ScaledResolution__init_(var$11, var$12); var$12 = $e.$scaledWidth; var$11 = $e.$scaledHeight; $e = $this.$currentScreen; $ptr = 12; continue main; } } nmc_Minecraft_checkGLError($this, $rt_s(194)); $var3 = $var3 + 1 | 0; $e = $this.$currentScreen; $this.$field_6316_m = $e !== null && $e.$doesGuiPauseGame() ? 1 : 0; while (true) { $var20 = jl_System_currentTimeMillis(); $var19 = Long_add($var1, Long_fromInt(1000)); if (Long_lt($var20, $var19)) break; nms_WorldRenderer_$callClinit(); var$11 = nms_WorldRenderer_field_1762_b; $e = new jl_StringBuilder; jl_AbstractStringBuilder__init_($e); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1($e, $var3), $rt_s(195)), var$11), $rt_s(196)); $this.$field_6292_I = jl_AbstractStringBuilder_toString($e); nms_WorldRenderer_field_1762_b = 0; $var3 = 0; $var1 = $var19; } if (!$this.$running) return; nms_AxisAlignedBB_numBoundingBoxesInUse = 0; nms_Vec3D_nextVector = 0; if ($this.$field_6316_m && $this.$theWorld !== null) { $e = $this.$timer; $var4 = $e.$renderPartialTicks; nms_Timer_updateTimer($e); $this.$timer.$renderPartialTicks = $var4; } else nms_Timer_updateTimer($this.$timer); $var19 = jl_System_nanoTime(); $var6 = 0; if ($var6 < $this.$timer.$elapsedTicks) { $this.$ticksRan = $this.$ticksRan + 1 | 0; try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_MinecraftException) { } else { throw $$e; } } $this.$theWorld = null; $ptr = 5; continue main; } $var20 = Long_sub(jl_System_nanoTime(), $var19); nmc_Minecraft_checkGLError($this, $rt_s(193)); olo_EaglerAdapterGL30_glEnable(3553); if ($this.$theWorld !== null) { $e = $this.$theWorld; $ptr = 2; continue main; } if ($this.$gameSettings.$limitFramerate) { try { $var19 = Long_fromInt(5); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; continue main; case 11: nlea_EaglerAdapterImpl2_updateDisplay(); if ($rt_suspending()) { break main; } if (!(nlea_EaglerAdapterImpl2_getCanvasWidth() == $this.$displayWidth && nlea_EaglerAdapterImpl2_getCanvasHeight() == $this.$displayHeight)) { $this.$displayWidth = nlea_EaglerAdapterImpl2_getCanvasWidth(); var$11 = nlea_EaglerAdapterImpl2_getCanvasHeight(); $this.$displayHeight = var$11; if ($this.$displayWidth <= 0) $this.$displayWidth = 1; if (var$11 <= 0) $this.$displayHeight = 1; var$11 = $this.$displayWidth; var$12 = $this.$displayHeight; if (var$11 <= 0) var$11 = 1; if (var$12 <= 0) var$12 = 1; $this.$displayWidth = var$11; $this.$displayHeight = var$12; if ($this.$currentScreen !== null) { $e = nms_ScaledResolution__init_(var$11, var$12); var$12 = $e.$scaledWidth; var$11 = $e.$scaledHeight; $e = $this.$currentScreen; $ptr = 12; continue main; } } nmc_Minecraft_checkGLError($this, $rt_s(194)); $var3 = $var3 + 1 | 0; $e = $this.$currentScreen; $this.$field_6316_m = $e !== null && $e.$doesGuiPauseGame() ? 1 : 0; while (true) { $var20 = jl_System_currentTimeMillis(); $var19 = Long_add($var1, Long_fromInt(1000)); if (Long_lt($var20, $var19)) break; nms_WorldRenderer_$callClinit(); var$11 = nms_WorldRenderer_field_1762_b; $e = new jl_StringBuilder; jl_AbstractStringBuilder__init_($e); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1($e, $var3), $rt_s(195)), var$11), $rt_s(196)); $this.$field_6292_I = jl_AbstractStringBuilder_toString($e); nms_WorldRenderer_field_1762_b = 0; $var3 = 0; $var1 = $var19; } if (!$this.$running) return; nms_AxisAlignedBB_numBoundingBoxesInUse = 0; nms_Vec3D_nextVector = 0; if ($this.$field_6316_m && $this.$theWorld !== null) { $e = $this.$timer; $var4 = $e.$renderPartialTicks; nms_Timer_updateTimer($e); $this.$timer.$renderPartialTicks = $var4; } else nms_Timer_updateTimer($this.$timer); $var19 = jl_System_nanoTime(); $var6 = 0; if ($var6 < $this.$timer.$elapsedTicks) { $this.$ticksRan = $this.$ticksRan + 1 | 0; try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_MinecraftException) { } else { throw $$e; } } $this.$theWorld = null; $ptr = 5; continue main; } $var20 = Long_sub(jl_System_nanoTime(), $var19); nmc_Minecraft_checkGLError($this, $rt_s(193)); olo_EaglerAdapterGL30_glEnable(3553); if ($this.$theWorld !== null) { $e = $this.$theWorld; $ptr = 2; continue main; } if ($this.$gameSettings.$limitFramerate) { try { $var19 = Long_fromInt(5); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; continue main; case 12: nms_GuiScreen_setWorldAndResolution($e, $this, var$12, var$11); if ($rt_suspending()) { break main; } nmc_Minecraft_checkGLError($this, $rt_s(194)); $var3 = $var3 + 1 | 0; $e = $this.$currentScreen; $this.$field_6316_m = $e !== null && $e.$doesGuiPauseGame() ? 1 : 0; while (true) { $var20 = jl_System_currentTimeMillis(); $var19 = Long_add($var1, Long_fromInt(1000)); if (Long_lt($var20, $var19)) break; nms_WorldRenderer_$callClinit(); var$11 = nms_WorldRenderer_field_1762_b; $e = new jl_StringBuilder; jl_AbstractStringBuilder__init_($e); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1($e, $var3), $rt_s(195)), var$11), $rt_s(196)); $this.$field_6292_I = jl_AbstractStringBuilder_toString($e); nms_WorldRenderer_field_1762_b = 0; $var3 = 0; $var1 = $var19; } if (!$this.$running) return; nms_AxisAlignedBB_numBoundingBoxesInUse = 0; nms_Vec3D_nextVector = 0; if ($this.$field_6316_m && $this.$theWorld !== null) { $e = $this.$timer; $var4 = $e.$renderPartialTicks; nms_Timer_updateTimer($e); $this.$timer.$renderPartialTicks = $var4; } else nms_Timer_updateTimer($this.$timer); $var19 = jl_System_nanoTime(); $var6 = 0; if ($var6 < $this.$timer.$elapsedTicks) { $this.$ticksRan = $this.$ticksRan + 1 | 0; try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_MinecraftException) { } else { throw $$e; } } $this.$theWorld = null; $ptr = 5; continue main; } $var20 = Long_sub(jl_System_nanoTime(), $var19); nmc_Minecraft_checkGLError($this, $rt_s(193)); olo_EaglerAdapterGL30_glEnable(3553); if ($this.$theWorld !== null) { $e = $this.$theWorld; $ptr = 2; continue main; } if ($this.$gameSettings.$limitFramerate) { try { $var19 = Long_fromInt(5); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(8)) { if ($this.$field_6307_v) { if (!nlea_EaglerAdapterImpl2_isFocused()) { try { $var19 = Long_fromInt(10); $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { $e = $$je; } else { throw $$e; } } $e.$printStackTrace1(); } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) nmc_Minecraft_func_6238_a($this, $var20); else $this.$field_6290_K = jl_System_nanoTime(); $ptr = 10; continue main; } $e = $this.$field_6327_b; if ($e !== null) { $var4 = $this.$timer.$renderPartialTicks; var$9 = $e.$field_1071_f; if (var$9 <= 0.0) { $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = 0.0; $e.$field_6323_f.$field_1450_i = 0.0; } else { var$10 = $e.$field_1070_g; $var4 = var$10 + (var$9 - var$10) * $var4; $e = $e.$mc3; $e.$ingameGUI.$field_6446_b = $var4; $e.$field_6323_f.$field_1450_i = $var4; } } $e = $this.$field_9243_r; $var4 = $this.$timer.$renderPartialTicks; $ptr = 9; continue main; } $ptr = 7; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, var$3, $e, $var4, $var19, $var6, $var20, var$9, var$10, var$11, var$12, $ptr); } function nmc_Minecraft_func_6238_a($this, $var1) { var $var5, var$3, $var8, var$5, $var12, $var7, $var9, $var11, $var13, $var14, $var16, $var18, var$14; if (Long_eq($this.$field_6290_K, Long_fromInt(-1))) $this.$field_6290_K = jl_System_nanoTime(); $var5 = jl_System_nanoTime(); var$3 = nmc_Minecraft_field_9239_F.data; $var8 = nmc_Minecraft_field_9238_G; var$5 = nmc_Minecraft_field_9240_E.data; $var12 = $var8 & (var$5.length - 1 | 0); var$3[$var12] = $var1; nmc_Minecraft_field_9238_G = $var8 + 1 | 0; var$5[$var12] = Long_sub($var5, $this.$field_6290_K); $this.$field_6290_K = $var5; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glOrtho(0.0, $this.$displayWidth, $this.$displayHeight, 0.0, 1000.0, 3000.0); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-2000.0)); olo_EaglerAdapterGL30_glDisable(3553); nms_Tessellator_$callClinit(); $var7 = nms_Tessellator_instance; nms_Tessellator_startDrawing($var7, 7); nms_Tessellator_setColorOpaque_I($var7, 536870912); nms_Tessellator_addVertex($var7, 0.0, $this.$displayHeight - 83 | 0, 0.0); nms_Tessellator_addVertex($var7, 0.0, $this.$displayHeight, 0.0); nms_Tessellator_addVertex($var7, nmc_Minecraft_field_9240_E.data.length, $this.$displayHeight, 0.0); nms_Tessellator_addVertex($var7, nmc_Minecraft_field_9240_E.data.length, $this.$displayHeight - 83 | 0, 0.0); nms_Tessellator_setColorOpaque_I($var7, 538968064); nms_Tessellator_addVertex($var7, 0.0, $this.$displayHeight - 166 | 0, 0.0); nms_Tessellator_addVertex($var7, 0.0, $this.$displayHeight - 83 | 0, 0.0); nms_Tessellator_addVertex($var7, nmc_Minecraft_field_9240_E.data.length, $this.$displayHeight - 83 | 0, 0.0); nms_Tessellator_addVertex($var7, nmc_Minecraft_field_9240_E.data.length, $this.$displayHeight - 166 | 0, 0.0); nms_Tessellator_draw($var7); $var9 = Long_ZERO; $var11 = 0; while (true) { var$5 = nmc_Minecraft_field_9240_E.data; $var8 = var$5.length; if ($var11 >= $var8) break; $var9 = Long_add($var9, var$5[$var11]); $var11 = $var11 + 1 | 0; } $var8 = Long_lo(Long_div(Long_div($var9, Long_fromInt(200000)), Long_fromInt($var8))); nms_Tessellator_startDrawing($var7, 7); nms_Tessellator_setColorOpaque_I($var7, 541065216); nms_Tessellator_addVertex($var7, 0.0, $this.$displayHeight - $var8 | 0, 0.0); nms_Tessellator_addVertex($var7, 0.0, $this.$displayHeight, 0.0); nms_Tessellator_addVertex($var7, nmc_Minecraft_field_9240_E.data.length, $this.$displayHeight, 0.0); nms_Tessellator_addVertex($var7, nmc_Minecraft_field_9240_E.data.length, $this.$displayHeight - $var8 | 0, 0.0); nms_Tessellator_draw($var7); nms_Tessellator_startDrawing($var7, 1); $var12 = 0; while (true) { var$5 = nmc_Minecraft_field_9240_E.data; $var8 = var$5.length; if ($var12 >= $var8) break; $var13 = ((($var12 - nmc_Minecraft_field_9238_G | 0) & ($var8 - 1 | 0)) * 255 | 0) / $var8 | 0; $var14 = $rt_imul($var13, $var13) / 255 | 0; $var8 = $rt_imul($var14, $var14) / 255 | 0; if (Long_le(var$5[$var12], Long_fromInt(16666666))) nms_Tessellator_setColorOpaque_I($var7, (-16777216) + ($var8 * 256 | 0) | 0); else nms_Tessellator_setColorOpaque_I($var7, (-16777216) + ($var8 * 65536 | 0) | 0); $var16 = Long_div(nmc_Minecraft_field_9240_E.data[$var12], Long_fromInt(200000)); $var18 = Long_div(nmc_Minecraft_field_9239_F.data[$var12], Long_fromInt(200000)); var$14 = $var12 + 0.5; nms_Tessellator_addVertex($var7, var$14, Long_toNumber(Long_sub(Long_fromInt($this.$displayHeight), $var16)) + 0.5, 0.0); nms_Tessellator_addVertex($var7, var$14, $this.$displayHeight + 0.5, 0.0); nms_Tessellator_setColorOpaque_I($var7, (((-16777216) + ($var8 * 65536 | 0) | 0) + ($var8 * 256 | 0) | 0) + ($var8 * 1 | 0) | 0); nms_Tessellator_addVertex($var7, var$14, Long_toNumber(Long_sub(Long_fromInt($this.$displayHeight), $var16)) + 0.5, 0.0); nms_Tessellator_addVertex($var7, var$14, Long_toNumber(Long_sub(Long_fromInt($this.$displayHeight), Long_sub($var16, $var18))) + 0.5, 0.0); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var7); olo_EaglerAdapterGL30_glEnable(3553); } function nmc_Minecraft_func_6259_e($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: if (nlea_EaglerAdapterImpl2_isFocused() && !$this.$field_6289_L) { $this.$field_6289_L = 1; var$1 = $this.$mouseHelper; oli_Mouse_setGrabbed(1); var$1.$field_1114_a = 0; var$1.$field_1113_b = 0; var$1 = null; $ptr = 1; continue main; } return; case 1: nmc_Minecraft_displayGuiScreen($this, var$1); if ($rt_suspending()) { break main; } $this.$field_6302_aa = $this.$ticksRan + 10000 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function nmc_Minecraft_func_6252_g($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: if ($this.$currentScreen !== null) return; var$1 = nms_GuiIngameMenu__init_0(); $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen($this, var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function nmc_Minecraft_func_6254_a($this, $var1, $var2) { var var$3, var$4, $var3, $var4, $var5, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$field_6327_b; if (!var$3.$field_1064_b && !(!$var1 && $this.$field_6282_S > 0)) { if ($var2) { var$4 = $this.$objectMouseOver; if (var$4 !== null && !var$4.$typeOfHit && !$var1) { $var3 = var$4.$blockX; $var4 = var$4.$blockY; $var5 = var$4.$blockZ; $var2 = var$4.$sideHit; $var1 = var$3.$field_1068_i; if ($var1 > 0) var$3.$field_1068_i = $var1 - 1 | 0; else { if ($var3 == var$3.$field_1074_c && $var4 == var$3.$field_1073_d && $var5 == var$3.$field_1072_e) { var$4 = var$3.$mc3.$theWorld; $ptr = 2; continue main; } var$3.$field_1071_f = 0.0; var$3.$field_1070_g = 0.0; var$3.$field_1069_h = 0.0; var$3.$field_1074_c = $var3; var$3.$field_1073_d = $var4; var$3.$field_1072_e = $var5; } var$3 = $this.$field_6321_h; $var1 = $this.$objectMouseOver.$sideHit; var$4 = var$3.$worldObj; $ptr = 1; continue main; } } var$3.$field_1071_f = 0.0; var$3.$field_1068_i = 0; } return; case 1: $tmp = nms_World_getBlockId(var$4, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; if (!$var2) return; nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data[$var2]; var$8 = $var3; var$9 = ju_Random_nextDouble(var$3.$rand); var$10 = var$4.$maxX; var$11 = var$4.$field_370_bf; var$11 = var$8 + var$9 * (var$10 - var$11 - 0.20000000298023224) + 0.10000000149011612 + var$11; var$12 = $var4; var$13 = ju_Random_nextDouble(var$3.$rand); var$14 = var$4.$maxY; var$9 = var$4.$minY; var$9 = var$12 + var$13 * (var$14 - var$9 - 0.20000000298023224) + 0.10000000149011612 + var$9; var$14 = $var5; var$13 = ju_Random_nextDouble(var$3.$rand); var$15 = var$4.$maxZ; var$16 = var$4.$minZ; var$17 = var$14 + var$13 * (var$15 - var$16 - 0.20000000298023224) + 0.10000000149011612 + var$16; if (!$var1) var$9 = var$12 + var$4.$minY - 0.10000000149011612; if ($var1 == 1) var$9 = var$12 + var$4.$maxY + 0.10000000149011612; if ($var1 == 2) var$17 = var$14 + var$16 - 0.10000000149011612; if ($var1 == 3) var$17 = var$14 + var$15 + 0.10000000149011612; if ($var1 == 4) var$11 = var$8 + var$4.$field_370_bf - 0.10000000149011612; if ($var1 == 5) var$11 = var$8 + var$4.$maxX + 0.10000000149011612; var$18 = nms_EntityDiggingFX__init_(var$3.$worldObj, var$11, var$9, var$17, 0.0, 0.0, 0.0, var$4); $ptr = 5; continue main; case 2: $tmp = nms_World_getBlockId(var$4, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var1 = $tmp; if (!$var1) { var$3 = $this.$field_6321_h; $var1 = $this.$objectMouseOver.$sideHit; var$4 = var$3.$worldObj; $ptr = 1; continue main; } nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data[$var1]; var$19 = var$3.$field_1071_f; var$18 = var$3.$mc3.$thePlayer; $ptr = 3; case 3: $tmp = nms_Block_func_225_a(var$4, var$18); if ($rt_suspending()) { break main; } var$20 = $tmp; var$19 = var$19 + var$20; var$3.$field_1071_f = var$19; var$3.$field_1069_h = var$3.$field_1069_h + 1.0; if (var$19 >= 1.0) { $ptr = 4; continue main; } var$3 = $this.$field_6321_h; $var1 = $this.$objectMouseOver.$sideHit; var$4 = var$3.$worldObj; $ptr = 1; continue main; case 4: nms_PlayerControllerSP_sendBlockRemoved(var$3, $var3, $var4, $var5, $var2); if ($rt_suspending()) { break main; } var$3.$field_1071_f = 0.0; var$3.$field_1070_g = 0.0; var$3.$field_1069_h = 0.0; var$3.$field_1068_i = 5; var$3 = $this.$field_6321_h; $var1 = $this.$objectMouseOver.$sideHit; var$4 = var$3.$worldObj; $ptr = 1; continue main; case 5: $tmp = nms_EntityDiggingFX_func_4041_a(var$18, $var3, $var4, $var5); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4.$motionX = var$4.$motionX * 0.20000000298023224; var$4.$motionY = (var$4.$motionY - 0.10000000149011612) * 0.20000000298023224 + 0.10000000149011612; var$4.$motionZ = var$4.$motionZ * 0.20000000298023224; nms_Entity_setSize(var$4, 0.12000000476837158, 0.12000000476837158); var$4.$field_665_g = var$4.$field_665_g * 0.6000000238418579; nms_EffectRenderer_func_1192_a(var$3, var$4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $var3, $var4, $var5, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); } function nmc_Minecraft_clickMouse($this, $var1) { var $var2, $var8, $var9, $var3, $var4, $var5, $var6, var$9, $var10, var$11, $var7, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var7 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!(!$var1 && $this.$field_6282_S > 0)) { if (!$var1) nms_EntityPlayer_func_457_w($this.$thePlayer); a: { $var2 = 1; $var8 = $this.$objectMouseOver; if ($var8 !== null) { $var9 = $var8.$typeOfHit; if ($var9 != 1) { if ($var9) break a; $var3 = $var8.$blockX; $var4 = $var8.$blockY; $var5 = $var8.$blockZ; $var6 = $var8.$sideHit; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data; $var10 = $this.$theWorld; $ptr = 1; continue main; } if (!$var1) { $var10 = $this.$thePlayer; $var8 = $var8.$entityHit; var$11 = $var10.$inventory0; var$11 = nms_InventoryPlayer_getStackInSlot(var$11, var$11.$currentItem); if (var$11 === null) $var6 = 1; else { nms_Item_$callClinit(); $var6 = nms_Item_itemsList.data[var$11.$itemID].$getDamageVsEntity($var8); } if ($var6 > 0) { $ptr = 4; continue main; } } if ($var1 == 1) { $var10 = $this.$thePlayer; $var8 = $this.$objectMouseOver.$entityHit; $ptr = 2; continue main; } } else if (!$var1 && !($this.$field_6327_b instanceof nms_PlayerControllerTest)) $this.$field_6282_S = 10; } if ($var2 && $var1 == 1) { $var10 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); if ($var10 !== null) { $var8 = $this.$thePlayer; var$11 = $this.$theWorld; $var1 = $var10.$stackSize; $var7 = nms_ItemStack_getItem($var10); $ptr = 5; continue main; } } } return; case 1: $tmp = nms_World_getBlockId($var10, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var9 = $tmp; $var7 = var$9[$var9]; if ($var1) { $var8 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); $var9 = $var8 === null ? 0 : $var8.$stackSize; $var10 = $this.$field_6327_b; var$11 = $this.$thePlayer; $var7 = $this.$theWorld; $ptr = 3; continue main; } $var10 = $this.$theWorld; $var6 = $this.$objectMouseOver.$sideHit; var$13 = $var6 ? $var4 : $var4 + (-1) | 0; if ($var6 == 1) var$13 = var$13 + 1 | 0; $var9 = $var6 != 2 ? $var5 : $var5 + (-1) | 0; if ($var6 == 3) $var9 = $var9 + 1 | 0; var$14 = $var6 != 4 ? $var3 : $var3 + (-1) | 0; if ($var6 == 5) var$14 = var$14 + 1 | 0; $ptr = 6; continue main; case 2: $tmp = $var8.$interact($var10); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6) { var$11 = nms_EntityPlayer_getCurrentEquippedItem($var10); if (var$11 !== null && $var8 instanceof nms_EntityLiving) { $var8 = $var8; nms_Item_$callClinit(); nms_Item_itemsList.data[var$11.$itemID].$func_4019_b(var$11, $var8); if (var$11.$stackSize <= 0) nms_EntityPlayer_destroyCurrentEquippedItem($var10); } } if ($var2 && $var1 == 1) { $var10 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); if ($var10 !== null) { $var8 = $this.$thePlayer; var$11 = $this.$theWorld; $var1 = $var10.$stackSize; $var7 = nms_ItemStack_getItem($var10); $ptr = 5; continue main; } } return; case 3: $tmp = nms_PlayerController_sendPlaceBlock($var10, var$11, $var7, $var8, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var2 = 0; nms_EntityPlayer_func_457_w($this.$thePlayer); } if ($var8 === null) return; $var6 = $var8.$stackSize; if (!$var6) { $var10 = $this.$thePlayer.$inventory0; $var10.$mainInventory.data[$var10.$currentItem] = null; } else if ($var6 != $var9) $this.$field_9243_r.$field_1395_a.$field_9453_c = 0.0; if ($var2 && $var1 == 1) { $var10 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); if ($var10 !== null) { $var8 = $this.$thePlayer; var$11 = $this.$theWorld; $var1 = $var10.$stackSize; $var7 = nms_ItemStack_getItem($var10); $ptr = 5; continue main; } } return; case 4: $var8.$canAttackEntity($var10, $var6); if ($rt_suspending()) { break main; } var$11 = nms_EntityPlayer_getCurrentEquippedItem($var10); if (var$11 !== null && $var8 instanceof nms_EntityLiving) { $var8 = $var8; nms_Item_$callClinit(); nms_Item_itemsList.data[var$11.$itemID].$hitEntity(var$11, $var8); if (var$11.$stackSize <= 0) nms_EntityPlayer_destroyCurrentEquippedItem($var10); } if ($var1 == 1) { $var10 = $this.$thePlayer; $var8 = $this.$objectMouseOver.$entityHit; $ptr = 2; continue main; } if ($var2 && $var1 == 1) { $var10 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); if ($var10 !== null) { $var8 = $this.$thePlayer; var$11 = $this.$theWorld; $var1 = $var10.$stackSize; $var7 = nms_ItemStack_getItem($var10); $ptr = 5; continue main; } } return; case 5: $tmp = $var7.$onItemRightClick($var10, var$11, $var8); if ($rt_suspending()) { break main; } var$11 = $tmp; if (var$11 === $var10 && !(var$11 !== null && var$11.$stackSize != $var1)) $var1 = 0; else { $var10 = $var8.$inventory0; var$9 = $var10.$mainInventory.data; $var1 = $var10.$currentItem; var$9[$var1] = var$11; if (!var$11.$stackSize) var$9[$var1] = null; $var1 = 1; } if ($var1) $this.$field_9243_r.$field_1395_a.$field_9453_c = 0.0; return; case 6: $tmp = nms_World_getBlockId($var10, var$14, var$13, $var9); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 == nms_Block_fire.$blockID) { nms_World_playSoundEffect($var10, var$14 + 0.5, var$13 + 0.5, $var9 + 0.5, $rt_s(197), 0.5, 2.5999999046325684 + (ju_Random_nextFloat($var10.$rand1) - ju_Random_nextFloat($var10.$rand1)) * 0.800000011920929); $var6 = 0; $ptr = 7; continue main; } if ($var7 === nms_Block_bedrock && $this.$thePlayer.$field_9371_f < 100) { if ($var2 && $var1 == 1) { $var10 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); if ($var10 !== null) { $var8 = $this.$thePlayer; var$11 = $this.$theWorld; $var1 = $var10.$stackSize; $var7 = nms_ItemStack_getItem($var10); $ptr = 5; continue main; } } return; } $var10 = $this.$field_6327_b; $var6 = $this.$objectMouseOver.$sideHit; $ptr = 8; continue main; case 7: nms_World_setBlockWithNotify($var10, var$14, var$13, $var9, $var6); if ($rt_suspending()) { break main; } if ($var7 === nms_Block_bedrock && $this.$thePlayer.$field_9371_f < 100) { if ($var2 && $var1 == 1) { $var10 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); if ($var10 !== null) { $var8 = $this.$thePlayer; var$11 = $this.$theWorld; $var1 = $var10.$stackSize; $var7 = nms_ItemStack_getItem($var10); $ptr = 5; continue main; } } return; } $var10 = $this.$field_6327_b; $var6 = $this.$objectMouseOver.$sideHit; $ptr = 8; case 8: nms_PlayerControllerSP_clickBlock($var10, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } if ($var2 && $var1 == 1) { $var10 = nms_InventoryPlayer_getCurrentItem($this.$thePlayer.$inventory0); if ($var10 !== null) { $var8 = $this.$thePlayer; var$11 = $this.$theWorld; $var1 = $var10.$stackSize; $var7 = nms_ItemStack_getItem($var10); $ptr = 5; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var8, $var9, $var3, $var4, $var5, $var6, var$9, $var10, var$11, $var7, var$13, var$14, $ptr); } function nmc_Minecraft_clickMiddleMouseButton($this) { var var$1, var$2, $var1, 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();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$objectMouseOver; if (var$1 === null) return; var$2 = $this.$theWorld; $var1 = var$1.$blockX; var$4 = var$1.$blockY; var$5 = var$1.$blockZ; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$2, $var1, var$4, var$5); if ($rt_suspending()) { break main; } $var1 = $tmp; nms_Block_$callClinit(); if ($var1 == nms_Block_grass.$blockID) $var1 = nms_Block_dirt.$blockID; if ($var1 == nms_Block_stairDouble.$blockID) $var1 = nms_Block_stairSingle.$blockID; if ($var1 == nms_Block_bedrock.$blockID) $var1 = nms_Block_stone.$blockID; var$1 = $this.$thePlayer.$inventory0; $var1 = nms_InventoryPlayer_getInventorySlotContainItem(var$1, $var1); if ($var1 >= 0 && $var1 < 9) var$1.$currentItem = $var1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, var$4, var$5, $ptr); } function nmc_Minecraft_runTick($this) { var var$1, var$2, $var3, var$4, $var4, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiIngame_func_555_a($this.$ingameGUI); var$1 = $this.$field_9243_r; var$2 = 1.0; $ptr = 1; case 1: nms_EntityRenderer_func_910_a(var$1, var$2); if ($rt_suspending()) { break main; } var$1 = $this.$thePlayer; if (var$1 !== null) nms_EntityPlayerSP_func_6420_o(var$1); if (!$this.$field_6316_m && $this.$theWorld !== null) nms_PlayerControllerSP_func_6474_c($this.$field_6327_b); $var3 = 3553; var$4 = $this.$renderEngine; var$1 = $rt_s(198); $ptr = 2; case 2: $tmp = nms_RenderEngine_getTexture(var$4, var$1); if ($rt_suspending()) { break main; } $var4 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var3, $var4); if (!$this.$field_6316_m) { var$1 = $this.$renderEngine; $ptr = 3; continue main; } if ($this.$currentScreen === null) { var$1 = $this.$thePlayer; if (var$1 !== null && var$1.$health <= 0) { var$1 = null; $ptr = 5; continue main; } } var$1 = $this.$currentScreen; if (var$1 !== null) $this.$field_6302_aa = $this.$ticksRan + 10000 | 0; if (var$1 !== null) { $ptr = 4; continue main; } var$1 = $this.$currentScreen; if (var$1 !== null && !var$1.$field_948_f) { var$1 = $this.$theWorld; if (var$1 !== null) { var$4 = $this.$thePlayer; if (var$4 !== null) { $var3 = $this.$field_6300_ab + 1 | 0; $this.$field_6300_ab = $var3; if ($var3 == 30) { $this.$field_6300_ab = 0; $ptr = 8; continue main; } } $this.$theWorld.$difficultySetting = $this.$gameSettings.$difficulty; if (!$this.$field_6316_m) { var$1 = $this.$field_9243_r; $ptr = 7; continue main; } if (!$this.$field_6316_m) nms_RenderGlobal_func_945_d($this.$field_6323_f); if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 13; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if (!$this.$field_6316_m) { var$1 = $this.$field_6321_h; $ptr = 23; continue main; } } $this.$field_6287_N = jl_System_currentTimeMillis(); return; } while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) { $ptr = 10; continue main; } if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() == 2 && oli_Mouse_getEventButtonState()) break; } $ptr = 20; continue main; case 3: nms_RenderEngine_func_1067_a(var$1); if ($rt_suspending()) { break main; } if ($this.$currentScreen === null) { var$1 = $this.$thePlayer; if (var$1 !== null && var$1.$health <= 0) { var$1 = null; $ptr = 5; continue main; } } var$1 = $this.$currentScreen; if (var$1 !== null) $this.$field_6302_aa = $this.$ticksRan + 10000 | 0; if (var$1 !== null) { $ptr = 4; continue main; } var$1 = $this.$currentScreen; if (var$1 !== null && !var$1.$field_948_f) { var$1 = $this.$theWorld; if (var$1 !== null) { var$4 = $this.$thePlayer; if (var$4 !== null) { $var3 = $this.$field_6300_ab + 1 | 0; $this.$field_6300_ab = $var3; if ($var3 == 30) { $this.$field_6300_ab = 0; $ptr = 8; continue main; } } $this.$theWorld.$difficultySetting = $this.$gameSettings.$difficulty; if (!$this.$field_6316_m) { var$1 = $this.$field_9243_r; $ptr = 7; continue main; } if (!$this.$field_6316_m) nms_RenderGlobal_func_945_d($this.$field_6323_f); if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 13; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if (!$this.$field_6316_m) { var$1 = $this.$field_6321_h; $ptr = 23; continue main; } } $this.$field_6287_N = jl_System_currentTimeMillis(); return; } while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) { $ptr = 10; continue main; } if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() == 2 && oli_Mouse_getEventButtonState()) break; } $ptr = 20; continue main; case 4: nms_GuiScreen_handleInput(var$1); if ($rt_suspending()) { break main; } var$1 = $this.$currentScreen; if (var$1 !== null) var$1.$updateScreen(); var$1 = $this.$currentScreen; if (var$1 !== null && !var$1.$field_948_f) { var$1 = $this.$theWorld; if (var$1 !== null) { var$4 = $this.$thePlayer; if (var$4 !== null) { $var3 = $this.$field_6300_ab + 1 | 0; $this.$field_6300_ab = $var3; if ($var3 == 30) { $this.$field_6300_ab = 0; $ptr = 8; continue main; } } $this.$theWorld.$difficultySetting = $this.$gameSettings.$difficulty; if (!$this.$field_6316_m) { var$1 = $this.$field_9243_r; $ptr = 7; continue main; } if (!$this.$field_6316_m) nms_RenderGlobal_func_945_d($this.$field_6323_f); if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 13; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if (!$this.$field_6316_m) { var$1 = $this.$field_6321_h; $ptr = 23; continue main; } } $this.$field_6287_N = jl_System_currentTimeMillis(); return; } while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) { $ptr = 10; continue main; } if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() == 2 && oli_Mouse_getEventButtonState()) break; } $ptr = 20; continue main; case 5: nmc_Minecraft_displayGuiScreen($this, var$1); if ($rt_suspending()) { break main; } var$1 = $this.$currentScreen; if (var$1 !== null) $this.$field_6302_aa = $this.$ticksRan + 10000 | 0; if (var$1 !== null) { $ptr = 4; continue main; } var$1 = $this.$currentScreen; if (var$1 !== null && !var$1.$field_948_f) { var$1 = $this.$theWorld; if (var$1 !== null) { var$4 = $this.$thePlayer; if (var$4 !== null) { $var3 = $this.$field_6300_ab + 1 | 0; $this.$field_6300_ab = $var3; if ($var3 == 30) { $this.$field_6300_ab = 0; $ptr = 8; continue main; } } $this.$theWorld.$difficultySetting = $this.$gameSettings.$difficulty; if (!$this.$field_6316_m) { var$1 = $this.$field_9243_r; $ptr = 7; continue main; } if (!$this.$field_6316_m) nms_RenderGlobal_func_945_d($this.$field_6323_f); if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 13; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if (!$this.$field_6316_m) { var$1 = $this.$field_6321_h; $ptr = 23; continue main; } } $this.$field_6287_N = jl_System_currentTimeMillis(); return; } while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) { $ptr = 10; continue main; } if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() == 2 && oli_Mouse_getEventButtonState()) break; } $ptr = 20; continue main; case 6: nms_GuiScreen_handleMouseInput(var$1); if ($rt_suspending()) { break main; } while (true) { while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; else break; } $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) { $ptr = 10; continue main; } if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() != 2) continue; if (!oli_Mouse_getEventButtonState()) continue; else break; } $ptr = 20; continue main; case 7: nms_EntityRenderer_func_911_a(var$1); if ($rt_suspending()) { break main; } if (!$this.$field_6316_m) nms_RenderGlobal_func_945_d($this.$field_6323_f); if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 13; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if ($this.$field_6316_m) { $this.$field_6287_N = jl_System_currentTimeMillis(); return; } var$1 = $this.$field_6321_h; $ptr = 23; continue main; case 8: nms_World_func_705_f(var$1, var$4); if ($rt_suspending()) { break main; } $this.$theWorld.$difficultySetting = $this.$gameSettings.$difficulty; if (!$this.$field_6316_m) { var$1 = $this.$field_9243_r; $ptr = 7; continue main; } if (!$this.$field_6316_m) nms_RenderGlobal_func_945_d($this.$field_6323_f); if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 13; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if ($this.$field_6316_m) { $this.$field_6287_N = jl_System_currentTimeMillis(); return; } var$1 = $this.$field_6321_h; $ptr = 23; continue main; case 9: nms_GuiScreen_handleKeyboardInput(var$1); if ($rt_suspending()) { break main; } while (true) { $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 == var$1.$keyBindToggleFog.$keyCode) { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; else break; } var$1 = $this.$currentScreen; if (var$1 !== null) { continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() != $this.$gameSettings.$keyBindDrop.$keyCode) continue; else { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } } $ptr = 11; continue main; case 10: nmc_Minecraft_func_6259_e($this); if ($rt_suspending()) { break main; } while (true) { while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; else break; } $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) { continue main; } if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() != 2) continue; if (!oli_Mouse_getEventButtonState()) continue; else break; } $ptr = 20; continue main; case 11: nmc_Minecraft_func_6252_g($this); if ($rt_suspending()) { break main; } while (true) { if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 == var$1.$keyBindToggleFog.$keyCode) { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; else break; } var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() != 1) continue; else break; } continue main; case 12: nmc_Minecraft_func_6254_a($this, $var3, $var4); if ($rt_suspending()) { break main; } var$1 = $this.$theWorld; if (var$1 !== null) { var$4 = $this.$thePlayer; if (var$4 !== null) { $var3 = $this.$field_6300_ab + 1 | 0; $this.$field_6300_ab = $var3; if ($var3 == 30) { $this.$field_6300_ab = 0; $ptr = 8; continue main; } } $this.$theWorld.$difficultySetting = $this.$gameSettings.$difficulty; if (!$this.$field_6316_m) { var$1 = $this.$field_9243_r; $ptr = 7; continue main; } if (!$this.$field_6316_m) nms_RenderGlobal_func_945_d($this.$field_6323_f); if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 13; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if (!$this.$field_6316_m) { var$1 = $this.$field_6321_h; $ptr = 23; continue main; } } $this.$field_6287_N = jl_System_currentTimeMillis(); return; case 13: nms_World_func_633_c(var$1); if ($rt_suspending()) { break main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; $ptr = 16; continue main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if ($this.$field_6316_m) { $this.$field_6287_N = jl_System_currentTimeMillis(); return; } var$1 = $this.$field_6321_h; $ptr = 23; continue main; case 14: nmc_Minecraft_clickMouse($this, $var3); if ($rt_suspending()) { break main; } $this.$field_6302_aa = $this.$ticksRan; while (true) { if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() == 2 && oli_Mouse_getEventButtonState()) { $ptr = 20; continue main; } while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; else break; } $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) break; if (oli_Mouse_getEventButton()) continue; if (!oli_Mouse_getEventButtonState()) continue; else { $var3 = 0; continue main; } } $ptr = 10; continue main; case 15: nmc_Minecraft_clickMouse($this, $var3); if ($rt_suspending()) { break main; } $this.$field_6302_aa = $this.$ticksRan; if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; case 16: nms_World_tick(var$1); if ($rt_suspending()) { break main; } if (!$this.$field_6316_m) { var$1 = $this.$theWorld; if (var$1 !== null) { $var3 = nms_MathHelper_floor_double($this.$thePlayer.$posX); $var4 = nms_MathHelper_floor_double($this.$thePlayer.$posY); var$6 = nms_MathHelper_floor_double($this.$thePlayer.$posZ); $ptr = 24; continue main; } } if ($this.$field_6316_m) { $this.$field_6287_N = jl_System_currentTimeMillis(); return; } var$1 = $this.$field_6321_h; $ptr = 23; continue main; case 17: nmc_Minecraft_clickMouse($this, $var3); if ($rt_suspending()) { break main; } $this.$field_6302_aa = $this.$ticksRan; while (true) { if (oli_Mouse_getEventButton() == 2 && oli_Mouse_getEventButtonState()) { $ptr = 20; continue main; } while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; else break; } $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) break; if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() != 1) continue; if (!oli_Mouse_getEventButtonState()) continue; else { $var3 = 1; continue main; } } $ptr = 10; continue main; case 18: nmc_Minecraft_displayGuiScreen($this, var$1); if ($rt_suspending()) { break main; } while (true) { if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 == var$1.$keyBindToggleFog.$keyCode) { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; else break; } var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() != $this.$gameSettings.$keyBindInventory.$keyCode) continue; else { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); continue main; } } $ptr = 11; continue main; case 19: nmc_Minecraft_clickMouse($this, $var3); if ($rt_suspending()) { break main; } $this.$field_6302_aa = $this.$ticksRan; $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; case 20: nmc_Minecraft_clickMiddleMouseButton($this); if ($rt_suspending()) { break main; } while (true) { while (true) { if (!oli_Mouse_next()) { $var3 = $this.$field_6282_S; if ($var3 > 0) $this.$field_6282_S = $var3 - 1 | 0; while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } } $ptr = 11; continue main; } if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_6287_N), Long_fromInt(200))) continue; else break; } $var3 = oli_Mouse_getEventDWheel(); if ($var3) nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory0, $var3); var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 6; continue main; } if (!$this.$field_6289_L && oli_Mouse_getEventButtonState()) { $ptr = 10; continue main; } if (!oli_Mouse_getEventButton() && oli_Mouse_getEventButtonState()) { $var3 = 0; $ptr = 14; continue main; } if (oli_Mouse_getEventButton() == 1 && oli_Mouse_getEventButtonState()) { $var3 = 1; $ptr = 17; continue main; } if (oli_Mouse_getEventButton() != 2) continue; if (!oli_Mouse_getEventButtonState()) continue; else break; } continue main; case 21: $tmp = nms_InventoryPlayer_decrStackSize(var$4, $var4, $var3); if ($rt_suspending()) { break main; } var$4 = $tmp; $var3 = 0; $ptr = 22; case 22: nms_EntityPlayer_dropPlayerItemWithRandomChoice(var$1, var$4, $var3); if ($rt_suspending()) { break main; } while (true) { $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 == var$1.$keyBindToggleFog.$keyCode) { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); $ptr = 25; continue main; } while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; else break; } var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() != $this.$gameSettings.$keyBindDrop.$keyCode) continue; else { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } } $ptr = 11; continue main; case 23: nms_EffectRenderer_func_1193_a(var$1); if ($rt_suspending()) { break main; } $this.$field_6287_N = jl_System_currentTimeMillis(); return; case 24: nms_World_randomDisplayUpdates(var$1, $var3, $var4, var$6); if ($rt_suspending()) { break main; } if ($this.$field_6316_m) { $this.$field_6287_N = jl_System_currentTimeMillis(); return; } var$1 = $this.$field_6321_h; $ptr = 23; continue main; case 25: nms_GameSettings_setOptionValue(var$1, $var3, $var4); if ($rt_suspending()) { break main; } while (true) { if (!oli_Keyboard_next()) { if ($this.$currentScreen === null) { if (oli_Mouse_isButtonDown(0) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 0; $ptr = 15; continue main; } if (oli_Mouse_isButtonDown(1) && ($this.$ticksRan - $this.$field_6302_aa | 0) >= $this.$timer.$ticksPerSecond / 4.0 && $this.$field_6289_L) { $var3 = 1; $ptr = 19; continue main; } } $var3 = 0; $var4 = $this.$currentScreen === null && oli_Mouse_isButtonDown(0) && $this.$field_6289_L ? 1 : 0; $ptr = 12; continue main; } nms_EntityPlayerSP_func_460_a($this.$thePlayer, nlea_EaglerAdapterImpl2_getEventKey(), nlea_EaglerAdapterImpl2_getEventKeyState()); if (!nlea_EaglerAdapterImpl2_getEventKeyState()) continue; var$1 = $this.$currentScreen; if (var$1 !== null) { $ptr = 9; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 1) break; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(6)) { var$1 = $this.$gameSettings; var$1.$thirdPersonView = var$1.$thirdPersonView ? 0 : 1; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindInventory.$keyCode) { var$1 = new nms_GuiInventory; var$4 = $this.$thePlayer.$inventory0; nms_GuiInventory__init_(var$1, var$4, var$4.$craftingInventory); $ptr = 18; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == $this.$gameSettings.$keyBindDrop.$keyCode) { var$1 = $this.$thePlayer; var$4 = var$1.$inventory0; $var4 = var$4.$currentItem; $var3 = 1; $ptr = 21; continue main; } $var4 = 0; while ($var4 < 9) { if (nlea_EaglerAdapterImpl2_getEventKey() == (2 + $var4 | 0)) $this.$thePlayer.$inventory0.$currentItem = $var4; $var4 = $var4 + 1 | 0; } $var3 = nlea_EaglerAdapterImpl2_getEventKey(); var$1 = $this.$gameSettings; if ($var3 != var$1.$keyBindToggleFog.$keyCode) continue; else { $var3 = 4; $var4 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 1 : (-1); continue main; } } $ptr = 11; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var3, var$4, $var4, var$6, $ptr); } function nmc_Minecraft_func_6237_k($this) { var $var7, $var1, $var3, var$4, var$5, $var7_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7_0 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$var7 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $this.$thePlayer; if ($var7.$dimension != (-1)) $var7.$dimension = (-1); else $var7.$dimension = 0; nms_World_setEntityDead($this.$theWorld, $var7); $var7 = $this.$thePlayer; $var7.$isDead = 0; $var1 = $var7.$posX; $var3 = $var7.$posZ; if ($var7.$dimension != (-1)) { $var1 = $var1 * 8.0; $var3 = $var3 * 8.0; nms_Entity_setLocationAndAngles($var7, $var1, $var7.$posY, $var3, $var7.$rotationYaw, $var7.$rotationPitch); $var7 = $this.$theWorld; var$4 = $this.$thePlayer; var$5 = 0; $ptr = 1; continue main; } $var1 = $var1 / 8.0; $var3 = $var3 / 8.0; nms_Entity_setLocationAndAngles($var7, $var1, $var7.$posY, $var3, $var7.$rotationYaw, $var7.$rotationPitch); $var7 = $this.$theWorld; var$4 = $this.$thePlayer; var$5 = 0; $ptr = 3; continue main; case 1: nms_World_func_4084_a($var7, var$4, var$5); if ($rt_suspending()) { break main; } $var7_0 = nms_World__init_($this.$theWorld, nms_WorldProvider__init_0()); $var7 = $rt_s(199); var$4 = $this.$thePlayer; $ptr = 2; case 2: nmc_Minecraft_func_6256_a($this, $var7_0, $var7, var$4); if ($rt_suspending()) { break main; } $var7 = $this.$thePlayer; $var7.$worldObj0 = $this.$theWorld; nms_Entity_setLocationAndAngles($var7, $var1, $var7.$posY, $var3, $var7.$rotationYaw, $var7.$rotationPitch); $var7 = $this.$theWorld; var$4 = $this.$thePlayer; var$5 = 0; $ptr = 5; continue main; case 3: nms_World_func_4084_a($var7, var$4, var$5); if ($rt_suspending()) { break main; } $var7 = new nms_World; var$4 = $this.$theWorld; $var7_0 = new nms_WorldProviderHell; nms_WorldProvider__init_($var7_0); nms_World__init_0($var7, var$4, $var7_0); var$4 = $rt_s(200); $var7_0 = $this.$thePlayer; $ptr = 4; case 4: nmc_Minecraft_func_6256_a($this, $var7, var$4, $var7_0); if ($rt_suspending()) { break main; } $var7 = $this.$thePlayer; $var7.$worldObj0 = $this.$theWorld; nms_Entity_setLocationAndAngles($var7, $var1, $var7.$posY, $var3, $var7.$rotationYaw, $var7.$rotationPitch); $var7 = $this.$theWorld; var$4 = $this.$thePlayer; var$5 = 0; $ptr = 5; case 5: nms_World_func_4084_a($var7, var$4, var$5); if ($rt_suspending()) { break main; } $var7 = nms_Teleporter__init_0(); var$4 = $this.$theWorld; $var7_0 = $this.$thePlayer; $ptr = 6; case 6: $tmp = nms_Teleporter_func_4106_b($var7, var$4, $var7_0); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return; $ptr = 7; case 7: nms_Teleporter_func_4108_c($var7, var$4, $var7_0); if ($rt_suspending()) { break main; } $ptr = 8; case 8: nms_Teleporter_func_4106_b($var7, var$4, $var7_0); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var7, $var1, $var3, var$4, var$5, $var7_0, $ptr); } function nmc_Minecraft_func_6261_a($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 = $rt_s(6); $ptr = 1; case 1: nmc_Minecraft_func_6263_a($this, $var1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nmc_Minecraft_func_6263_a($this, $var1, $var2) { var 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: var$3 = null; $ptr = 1; case 1: nmc_Minecraft_func_6256_a($this, $var1, $var2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nmc_Minecraft_func_6256_a($this, $var1, $var2, $var3) { var var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_LoadingScreenRenderer_func_596_a($this.$loadingScreen, $var2); var$4 = $this.$loadingScreen; var$5 = $rt_s(6); $ptr = 1; case 1: nms_LoadingScreenRenderer_displayLoadingString(var$4, var$5); if ($rt_suspending()) { break main; } var$5 = $this.$theWorld; if (var$5 !== null) { var$4 = $this.$loadingScreen; $ptr = 2; continue main; } $this.$theWorld = $var1; var$6 = jl_System_out(); var$7 = $this.$thePlayer; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(201)), var$7); ji_PrintStream_println(var$6, jl_AbstractStringBuilder_toString(var$4)); if ($var1 === null) { $this.$thePlayer = null; $this.$field_6287_N = Long_ZERO; return; } if ($var3 === null) $this.$thePlayer = null; $ptr = 3; continue main; case 2: nms_World_func_651_a(var$5, var$4); if ($rt_suspending()) { break main; } $this.$theWorld = $var1; var$6 = jl_System_out(); var$7 = $this.$thePlayer; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(201)), var$7); ji_PrintStream_println(var$6, jl_AbstractStringBuilder_toString(var$4)); if ($var1 === null) { $this.$thePlayer = null; $this.$field_6287_N = Long_ZERO; return; } if ($var3 === null) $this.$thePlayer = null; $ptr = 3; case 3: nmc_Minecraft_func_6255_d($this, $var2); if ($rt_suspending()) { break main; } $var2 = jl_System_out(); var$4 = $this.$thePlayer; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(202)), var$4); ji_PrintStream_println($var2, jl_AbstractStringBuilder_toString(var$5)); if ($this.$thePlayer === null) { $var2 = nms_PlayerController_func_4087_b($this.$field_6327_b, $var1); $this.$thePlayer = $var2; $ptr = 4; continue main; } $this.$thePlayer.$field_787_a = nms_MovementInputFromOptions__init_($this.$gameSettings); $var2 = $this.$field_6323_f; if ($var2 !== null) { var$4 = $var2.$worldObj1; if (var$4 !== null) ju_ArrayList_remove0(var$4.$worldAccesses, $var2); $var2.$field_1453_f = (-9999.0); $var2.$field_1452_g = (-9999.0); $var2.$field_1451_h = (-9999.0); nms_RenderManager_$callClinit(); nms_RenderManager_instance.$worldObj2 = $var1; $var2.$worldObj1 = $var1; $var2.$field_1438_u = nms_RenderBlocks__init_0($var1); ju_ArrayList_add($var1.$worldAccesses, $var2); nms_RenderGlobal_func_958_a($var2); } $var2 = $this.$field_6321_h; if ($var2 !== null) { $var2.$worldObj = $var1; var$8 = 0; while (var$8 < 4) { ju_ArrayList_clear($var2.$field_1728_b.data[var$8]); var$8 = var$8 + 1 | 0; } } $var2 = $this.$thePlayer; $ptr = 5; continue main; case 4: nms_EntityPlayer_preparePlayerToSpawn($var2); if ($rt_suspending()) { break main; } nms_PlayerControllerSP_flipPlayer($this.$field_6327_b, $this.$thePlayer); $this.$thePlayer.$field_787_a = nms_MovementInputFromOptions__init_($this.$gameSettings); $var2 = $this.$field_6323_f; if ($var2 !== null) { var$4 = $var2.$worldObj1; if (var$4 !== null) ju_ArrayList_remove0(var$4.$worldAccesses, $var2); $var2.$field_1453_f = (-9999.0); $var2.$field_1452_g = (-9999.0); $var2.$field_1451_h = (-9999.0); nms_RenderManager_$callClinit(); nms_RenderManager_instance.$worldObj2 = $var1; $var2.$worldObj1 = $var1; $var2.$field_1438_u = nms_RenderBlocks__init_0($var1); ju_ArrayList_add($var1.$worldAccesses, $var2); nms_RenderGlobal_func_958_a($var2); } $var2 = $this.$field_6321_h; if ($var2 !== null) { $var2.$worldObj = $var1; var$8 = 0; while (var$8 < 4) { ju_ArrayList_clear($var2.$field_1728_b.data[var$8]); var$8 = var$8 + 1 | 0; } } $var2 = $this.$thePlayer; $ptr = 5; case 5: nms_World_func_608_a($var1, $var2); if ($rt_suspending()) { break main; } if (!$var1.$field_1033_r) { $this.$field_6287_N = Long_ZERO; return; } $var2 = $this.$loadingScreen; $ptr = 6; case 6: nms_World_func_651_a($var1, $var2); if ($rt_suspending()) { break main; } $this.$field_6287_N = Long_ZERO; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, var$7, var$8, $ptr); } function nmc_Minecraft_func_6255_d($this, $var1) { var var$2, $var2, var$4, var$5, $var5, $var6, $var7, $var8, var$10, $var3, 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();$var3 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_LoadingScreenRenderer_func_596_a($this.$loadingScreen, $var1); $var1 = $this.$loadingScreen; var$2 = $rt_s(203); $ptr = 1; case 1: nms_LoadingScreenRenderer_displayLoadingString($var1, var$2); if ($rt_suspending()) { break main; } $var2 = 128; var$4 = 289; var$5 = (-128); $var5 = var$5; while ($var5 <= $var2) { $var1 = $this.$theWorld; $var6 = $var1.$spawnX; $var7 = $var1.$spawnZ; $var1 = $this.$thePlayer; if ($var1 !== null) { $var6 = $var1.$posX | 0; $var7 = $var1.$posZ | 0; } $var8 = var$5; if ($var8 <= $var2) { $var1 = $this.$loadingScreen; var$10 = 0 + 1 | 0; $var3 = (0 * 100 | 0) / var$4 | 0; $ptr = 3; continue main; } $var5 = $var5 + 16 | 0; } $var1 = $this.$loadingScreen; var$2 = $rt_s(204); $ptr = 2; case 2: nms_LoadingScreenRenderer_displayLoadingString($var1, var$2); if ($rt_suspending()) { break main; } $var1 = $this.$theWorld; while (nms_ChunkProviderLoadOrGenerate_func_532_a($var1.$chunkProvider)) { } return; case 3: nms_LoadingScreenRenderer_setLoadingProgress($var1, $var3); if ($rt_suspending()) { break main; } $var1 = $this.$theWorld; $var3 = $var6 + $var5 | 0; var$12 = 64; var$13 = $var7 + $var8 | 0; $ptr = 4; case 4: nms_World_getBlockId($var1, $var3, var$12, var$13); if ($rt_suspending()) { break main; } $var1 = $this.$theWorld; $ptr = 5; case 5: $tmp = nms_World_func_6465_g($var1); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3) { $var1 = $this.$theWorld; continue main; } $var8 = $var8 + 16 | 0; $var3 = var$10; while (true) { if ($var8 <= $var2) { $var1 = $this.$loadingScreen; var$10 = $var3 + 1 | 0; $var3 = ($var3 * 100 | 0) / var$4 | 0; $ptr = 3; continue main; } $var5 = $var5 + 16 | 0; if ($var5 > $var2) break; $var1 = $this.$theWorld; $var6 = $var1.$spawnX; $var7 = $var1.$spawnZ; $var1 = $this.$thePlayer; if ($var1 !== null) { $var6 = $var1.$posX | 0; $var7 = $var1.$posZ | 0; } $var8 = var$5; } $var1 = $this.$loadingScreen; var$2 = $rt_s(204); $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var2, var$4, var$5, $var5, $var6, $var7, $var8, var$10, $var3, var$12, var$13, $ptr); } function nmc_Minecraft_func_6241_m($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$field_6323_f; var$2 = var$1.$field_1417_P; var$3 = var$1.$field_1420_M; var$4 = var$1.$field_1419_N; var$5 = var$1.$field_1418_O; var$6 = var$1.$field_1416_Q; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7); var$1 = jl_StringBuilder_append1(jl_StringBuilder_append(var$7, $rt_s(205)), var$2); jl_AbstractStringBuilder_append(var$1, 47); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(var$1, var$3), $rt_s(206)), var$4), $rt_s(207)), var$5), $rt_s(208)), var$6); return jl_AbstractStringBuilder_toString(var$7); } function nmc_Minecraft_func_6262_n($this) { var var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$field_6323_f; var$2 = var$1.$field_1422_K; var$3 = var$1.$field_1423_J; var$4 = var$1.$field_1421_L; var$5 = (var$3 - var$4 | 0) - var$2 | 0; var$1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$1); var$6 = jl_StringBuilder_append1(jl_StringBuilder_append(var$1, $rt_s(209)), var$2); jl_AbstractStringBuilder_append(var$6, 47); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(var$6, var$3), $rt_s(210)), var$4), $rt_s(211)), var$5); return jl_AbstractStringBuilder_toString(var$1); } function nmc_Minecraft_func_6245_o($this) { var var$1, var$2, var$3, var$4, var$5; var$1 = $this.$field_6321_h.$field_1728_b.data; var$2 = (var$1[0].$size + var$1[1].$size | 0) + var$1[2].$size | 0; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append1(var$3, var$2); var$3 = jl_AbstractStringBuilder_toString(var$3); var$2 = $this.$theWorld.$loadedEntityList.$size; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append1(jl_StringBuilder_append(var$4, $rt_s(212)), var$2); var$5 = jl_AbstractStringBuilder_toString(var$4); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(213)), var$3), $rt_s(214)), var$5); return jl_AbstractStringBuilder_toString(var$4); } function nmc_Minecraft_setLighting($this, $var1) { if (!$var1) { olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(16384); } else { olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(16384); olo_EaglerAdapterGL30_glEnable(2903); } } function nmc_Minecraft__clinit_() { nmc_Minecraft_field_9240_E = $rt_createLongArray(512); nmc_Minecraft_field_9239_F = $rt_createLongArray(512); nmc_Minecraft_field_9238_G = 0; } function nms_Session() { jl_Object.call(this); this.$inventory = null; } var nms_Session_registeredBlocksList = null; function nms_Session_$callClinit() { nms_Session_$callClinit = $rt_eraseClinit(nms_Session); nms_Session__clinit_(); } function nms_Session__clinit_() { var var$1, var$2; var$1 = ju_ArrayList__init_0(); nms_Session_registeredBlocksList = var$1; nms_Block_$callClinit(); ju_ArrayList_add(var$1, nms_Block_stone); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_cobblestone); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_brick); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_dirt); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_planks); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_wood); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_leaves); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_torchWood); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_stairSingle); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_glass); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_cobblestoneMossy); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_sapling); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_plantYellow); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_plantRed); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_mushroomBrown); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_mushroomRed); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_sand); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_gravel); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_sponge); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_cloth); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_oreCoal); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_oreIron); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_oreGold); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_blockSteel); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_blockGold); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_bookShelf); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_tnt); ju_ArrayList_add(nms_Session_registeredBlocksList, nms_Block_obsidian); var$1 = jl_System_out(); var$2 = nms_Session_registeredBlocksList.$size; jl_AbstractStringBuilder_append(jl_StringBuilder_append1(var$1.$sb, var$2), 10); ji_PrintStream_printSB(var$1); } var nPs_LocalStorageManager = $rt_classWithoutFields(); var nPs_LocalStorageManager_gameSettingsStorage = null; var nPs_LocalStorageManager_levelSettingsStorage = null; function nPs_LocalStorageManager__init_0() { var var_0 = new nPs_LocalStorageManager(); nPs_LocalStorageManager__init_(var_0); return var_0; } function nPs_LocalStorageManager__init_($this) {} function nPs_LocalStorageManager__clinit_() { nPs_LocalStorageManager_gameSettingsStorage = null; nPs_LocalStorageManager_levelSettingsStorage = null; } var otjde_EventListener = $rt_classWithoutFields(0); var nlea_EaglerAdapterImpl2$2 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$2__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$2(); nlea_EaglerAdapterImpl2$2__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$2__init_($this) {} function nlea_EaglerAdapterImpl2$2_handleEvent$exported$0(var$0, var$1) { var$1.preventDefault(); var$1.stopPropagation(); } var nlea_EaglerAdapterImpl2$3 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$3__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$3(); nlea_EaglerAdapterImpl2$3__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$3__init_($this) {} function nlea_EaglerAdapterImpl2$3_handleEvent$exported$0(var$0, var$1) { var var$2, var$3; var$2 = var$1.button; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_buttonStates; if (var$2 == 1) var$2 = 2; else if (var$2 == 2) var$2 = 1; var$3.data[var$2] = 1; ju_AbstractList_add(nlea_EaglerAdapterImpl2_mouseEvents, otji_JSWrapper_wrap(var$1)); var$1.preventDefault(); var$1.stopPropagation(); nlea_EaglerAdapterImpl2_forceMouseGrabbed(); } var nlea_EaglerAdapterImpl2$4 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$4__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$4(); nlea_EaglerAdapterImpl2$4__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$4__init_($this) {} function nlea_EaglerAdapterImpl2$4_handleEvent$exported$0(var$0, var$1) { var var$2, var$3; var$2 = var$1.button; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_buttonStates; if (var$2 == 1) var$2 = 2; else if (var$2 == 2) var$2 = 1; var$3.data[var$2] = 0; ju_AbstractList_add(nlea_EaglerAdapterImpl2_mouseEvents, otji_JSWrapper_wrap(var$1)); var$1.preventDefault(); var$1.stopPropagation(); } var nlea_EaglerAdapterImpl2$5 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$5__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$5(); nlea_EaglerAdapterImpl2$5__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$5__init_($this) {} function nlea_EaglerAdapterImpl2$5_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2_mouseX = var$1.offsetX; nlea_EaglerAdapterImpl2_mouseY = nlea_EaglerAdapterImpl2_canvas.clientHeight - var$1.offsetY | 0; nlea_EaglerAdapterImpl2_mouseDX = nlea_EaglerAdapterImpl2_mouseDX + var$1.movementX; nlea_EaglerAdapterImpl2_mouseDY = nlea_EaglerAdapterImpl2_mouseDY + -var$1.movementY; var$1.preventDefault(); var$1.stopPropagation(); } var nlea_EaglerAdapterImpl2$6 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$6__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$6(); nlea_EaglerAdapterImpl2$6__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$6__init_($this) {} function nlea_EaglerAdapterImpl2$6_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_keyStates.data[nlea_EaglerAdapterImpl2_remapKey(var$1.which)] = 1; ju_AbstractList_add(nlea_EaglerAdapterImpl2_keyEvents, otji_JSWrapper_wrap(var$1)); var$1.preventDefault(); var$1.stopPropagation(); nlea_EaglerAdapterImpl2_forceMouseGrabbed(); } var nlea_EaglerAdapterImpl2$7 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$7__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$7(); nlea_EaglerAdapterImpl2$7__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$7__init_($this) {} function nlea_EaglerAdapterImpl2$7_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_keyStates.data[nlea_EaglerAdapterImpl2_remapKey(var$1.which)] = 0; ju_AbstractList_add(nlea_EaglerAdapterImpl2_keyEvents, otji_JSWrapper_wrap(var$1)); var$1.preventDefault(); var$1.stopPropagation(); } var nlea_EaglerAdapterImpl2$8 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$8__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$8(); nlea_EaglerAdapterImpl2$8__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$8__init_($this) {} function nlea_EaglerAdapterImpl2$8_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_enableRepeatEvents && (var$1.repeat ? 1 : 0)) ju_AbstractList_add(nlea_EaglerAdapterImpl2_keyEvents, otji_JSWrapper_wrap(var$1)); var$1.preventDefault(); var$1.stopPropagation(); } var nlea_EaglerAdapterImpl2$9 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$9__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$9(); nlea_EaglerAdapterImpl2$9__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$9__init_($this) {} function nlea_EaglerAdapterImpl2$9_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2_$callClinit(); ju_AbstractList_add(nlea_EaglerAdapterImpl2_mouseEvents, otji_JSWrapper_wrap(var$1)); var$1.preventDefault(); var$1.stopPropagation(); } var nlea_EaglerAdapterImpl2$10 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$10__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$10(); nlea_EaglerAdapterImpl2$10__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$10__init_($this) {} function nlea_EaglerAdapterImpl2$10_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_isWindowFocused = 0; } var nlea_EaglerAdapterImpl2$11 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$11__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$11(); nlea_EaglerAdapterImpl2$11__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$11__init_($this) {} function nlea_EaglerAdapterImpl2$11_handleEvent$exported$0(var$0, var$1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_isWindowFocused = 1; nlea_EaglerAdapterImpl2_forceMouseGrabbed(); } var nleat_IndexedDBFilesystem = $rt_classWithoutFields(); var nleat_IndexedDBFilesystem_err = null; var nleat_IndexedDBFilesystem_db = null; function nleat_IndexedDBFilesystem_$callClinit() { nleat_IndexedDBFilesystem_$callClinit = $rt_eraseClinit(nleat_IndexedDBFilesystem); nleat_IndexedDBFilesystem__clinit_(); } function nleat_IndexedDBFilesystem__init_0() { var var_0 = new nleat_IndexedDBFilesystem(); nleat_IndexedDBFilesystem__init_(var_0); return var_0; } function nleat_IndexedDBFilesystem__init_($this) { nleat_IndexedDBFilesystem_$callClinit(); } function nleat_IndexedDBFilesystem_initialize() { var var$1, $dbo, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$dbo = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleat_IndexedDBFilesystem_$callClinit(); var$1 = $rt_s(215); $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_openDB$_asyncCall_$(var$1); if ($rt_suspending()) { break main; } var$1 = $tmp; $dbo = var$1; if ($dbo === null) { nleat_IndexedDBFilesystem_err = $rt_s(189); nleat_IndexedDBFilesystem$OpenState_$callClinit(); return nleat_IndexedDBFilesystem$OpenState_ERROR; } if ($dbo.$failedLocked) { nleat_IndexedDBFilesystem$OpenState_$callClinit(); return nleat_IndexedDBFilesystem$OpenState_LOCKED; } if (!$dbo.$failedInit) { var$1 = $dbo.$database; if (var$1 !== null) { nleat_IndexedDBFilesystem_db = var$1; nleat_IndexedDBFilesystem$OpenState_$callClinit(); return nleat_IndexedDBFilesystem$OpenState_OPENED; } } var$1 = $dbo.$failedError; if (var$1 === null) var$1 = $rt_s(216); nleat_IndexedDBFilesystem_err = var$1; nleat_IndexedDBFilesystem$OpenState_$callClinit(); return nleat_IndexedDBFilesystem$OpenState_ERROR; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, $dbo, $ptr); } function nleat_IndexedDBFilesystem_mkdir($dir) { var var$2, var$3, $i, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$i = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$dir = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleat_IndexedDBFilesystem_$callClinit(); var$2 = nleat_IndexedDBFilesystem_db; $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_fileGetType$_asyncCall_$(var$2, $dir); if ($rt_suspending()) { break main; } var$2 = $tmp; var$3 = var$2; nleat_IndexedDBFilesystem$FileExists_$callClinit(); if (var$3 !== nleat_IndexedDBFilesystem$FileExists_DIRECTORY ? 0 : 1) return; $i = jl_String_lastIndexOf($dir, 47); if ($i > 0) { var$2 = jl_String_substring0($dir, 0, $i); $ptr = 3; continue main; } var$2 = nleat_IndexedDBFilesystem_db; $i = 1; var$3 = new $rt_globals.ArrayBuffer(0); $ptr = 2; case 2: nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile(var$2, $dir, $i, var$3); if ($rt_suspending()) { break main; } return; case 3: nleat_IndexedDBFilesystem_mkdir(var$2); if ($rt_suspending()) { break main; } var$2 = nleat_IndexedDBFilesystem_db; $i = 1; var$3 = new $rt_globals.ArrayBuffer(0); $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($dir, var$2, var$3, $i, $ptr); } function nleat_IndexedDBFilesystem__clinit_() { nleat_IndexedDBFilesystem_err = $rt_s(6); nleat_IndexedDBFilesystem_db = null; } function jl_Enum() { var a = this; jl_Object.call(a); a.$name0 = null; a.$ordinal = 0; } function jl_Enum__init_($this, $name, $ordinal) { $this.$name0 = $name; $this.$ordinal = $ordinal; } function jl_Enum_ordinal($this) { return $this.$ordinal; } function jl_Enum_toString($this) { return $this.$name0; } function jl_Enum_equals($this, $other) { return $this !== $other ? 0 : 1; } function jl_Enum_hashCode($this) { return jl_Object_identity($this); } function jl_Enum_getDeclaringClass($this) { var $result; $result = jl_Object_getClass($this); if (!jl_Object_equals(jl_Class_getSuperclass($result), $rt_cls(jl_Enum))) $result = jl_Class_getSuperclass($result); return $result; } function jl_Enum_compareTo($this, $o) { var var$2, var$3, var$4; if (jl_Enum_getDeclaringClass($o) === jl_Enum_getDeclaringClass($this)) return $rt_compare($this.$ordinal, $o.$ordinal); var$2 = new jl_IllegalArgumentException; var$3 = jl_Enum_getDeclaringClass($this); $o = jl_Enum_getDeclaringClass($o); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(217)), var$3), $rt_s(218)), $o); jl_Throwable__init_(var$2, jl_AbstractStringBuilder_toString(var$4)); $rt_throw(var$2); } function jl_Enum_compareTo0($this, var$1) { return jl_Enum_compareTo($this, var$1); } var nleat_IndexedDBFilesystem$OpenState = $rt_classWithoutFields(jl_Enum); 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_$callClinit() { nleat_IndexedDBFilesystem$OpenState_$callClinit = $rt_eraseClinit(nleat_IndexedDBFilesystem$OpenState); nleat_IndexedDBFilesystem$OpenState__clinit_(); } function nleat_IndexedDBFilesystem$OpenState__init_(var_0, var_1) { var var_2 = new nleat_IndexedDBFilesystem$OpenState(); nleat_IndexedDBFilesystem$OpenState__init_0(var_2, var_0, var_1); return var_2; } function nleat_IndexedDBFilesystem$OpenState__init_0($this, var$1, var$2) { nleat_IndexedDBFilesystem$OpenState_$callClinit(); jl_Enum__init_($this, var$1, var$2); } function nleat_IndexedDBFilesystem$OpenState__clinit_() { var var$1; nleat_IndexedDBFilesystem$OpenState_OPENED = nleat_IndexedDBFilesystem$OpenState__init_($rt_s(219), 0); nleat_IndexedDBFilesystem$OpenState_LOCKED = nleat_IndexedDBFilesystem$OpenState__init_($rt_s(220), 1); var$1 = nleat_IndexedDBFilesystem$OpenState__init_($rt_s(221), 2); nleat_IndexedDBFilesystem$OpenState_ERROR = var$1; nleat_IndexedDBFilesystem$OpenState_$VALUES = $rt_createArrayFromData(nleat_IndexedDBFilesystem$OpenState, [nleat_IndexedDBFilesystem$OpenState_OPENED, nleat_IndexedDBFilesystem$OpenState_LOCKED, var$1]); } var otjw_AudioContext = $rt_classWithoutFields(); function otjw_AudioContext_create$js_body$_44() { var Context = $rt_globals.window.AudioContext || $rt_globals.window.webkitAudioContext; return new Context(); } var nle_AssetRepository = $rt_classWithoutFields(); var nle_AssetRepository_filePool = null; function nle_AssetRepository__init_0() { var var_0 = new nle_AssetRepository(); nle_AssetRepository__init_(var_0); return var_0; } function nle_AssetRepository__init_($this) {} function nle_AssetRepository_install($pkg) { var $in2, $in, $header, var$5, $dg, var$7, $path, $digest, $digest2, $len, $file, var$13, var$14, var$15; $in2 = ji_ByteArrayInputStream__init_($pkg); $in = ji_DataInputStream__init_($in2); $header = $rt_createByteArray(8); ji_DataInputStream_read($in, $header); if (!jl_String_equals($rt_s(222), jl_String__init_5($header, jnc_Charset_forName($rt_s(31))))) { $in2 = new ji_IOException; jl_Throwable__init_($in2, $rt_s(223)); $rt_throw($in2); } ji_DataInputStream_readUTF($in); var$5 = new ji_DataInputStream; $in = new cjj_InflaterInputStream; $dg = new cjj_Inflater; cjj_ZStream__init_($dg); $dg.$finished = 0; var$7 = cjj_Inflater_init($dg, 15, 0); if (var$7) { $in2 = new cjj_GZIPException; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_Throwable__init_($in2, jl_AbstractStringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder_append0(jl_StringBuilder_append1(var$5, var$7), $rt_s(17)), $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.$buf0 = $rt_createByteArray(512); $in.$close_in = 1; $in.$myinflater = 1; ji_DataInputStream__init_0(var$5, $in); $dg = nle_SHA1Digest__init_0(); while (true) { $in = ji_DataInputStream_readUTF(var$5); if (!jl_String_equals($rt_s(224), $in)) { if (var$5.$in.$available() <= 0 && jl_String_equals($rt_s(225), $in)) return; $in2 = new ji_IOException; jl_Throwable__init_($in2, $rt_s(223)); $rt_throw($in2); } $path = ji_DataInputStream_readUTF(var$5); $digest = $rt_createByteArray(20); $digest2 = $rt_createByteArray(20); ji_DataInputStream_read(var$5, $digest); $len = ji_DataInputStream_readInt(var$5); $file = $rt_createByteArray($len); ji_DataInputStream_read(var$5, $file); if (ju_HashMap_containsKey(nle_AssetRepository_filePool, $path)) continue; $header = $file.data; var$13 = 0; a: { while ($dg.$xBufOff) { if ($len <= 0) break a; nle_GeneralDigest_update($dg, $header[var$13]); var$13 = var$13 + 1 | 0; $len = $len + (-1) | 0; } } while ($len > $dg.$xBuf.data.length) { nle_SHA1Digest_processWord($dg, $file, var$13); var$7 = $dg.$xBuf.data.length; var$13 = var$13 + var$7 | 0; $len = $len - var$7 | 0; $dg.$byteCount = Long_add($dg.$byteCount, Long_fromInt(var$7)); } while ($len > 0) { nle_GeneralDigest_update($dg, $header[var$13]); var$13 = var$13 + 1 | 0; $len = $len + (-1) | 0; } var$14 = Long_shl($dg.$byteCount, 3); nle_GeneralDigest_update($dg, (-128)); while ($dg.$xBufOff) { nle_GeneralDigest_update($dg, 0); } if ($dg.$xOff > 14) nle_SHA1Digest_processBlock($dg); b: { $pkg = $dg.$X.data; $pkg[14] = Long_hi(var$14); $pkg[15] = Long_lo(Long_and(var$14, Long_fromInt(-1))); nle_SHA1Digest_processBlock($dg); nle_SHA1Digest_unpackWord($dg, $dg.$H1, $digest2, 0); nle_SHA1Digest_unpackWord($dg, $dg.$H2, $digest2, 4); nle_SHA1Digest_unpackWord($dg, $dg.$H3, $digest2, 8); nle_SHA1Digest_unpackWord($dg, $dg.$H4, $digest2, 12); nle_SHA1Digest_unpackWord($dg, $dg.$H5, $digest2, 16); nle_SHA1Digest_reset($dg); if ($digest === $digest2) var$7 = 1; else { if ($digest !== null && $digest2 !== null) { $pkg = $digest.data; $header = $digest2.data; var$15 = $pkg.length; if (var$15 == $header.length) { $len = 0; c: { while (true) { if ($len >= var$15) { $len = (-1); break c; } var$13 = $len + 0 | 0; if ($pkg[var$13] != $header[var$13]) break; $len = $len + 1 | 0; } } var$7 = $len >= 0 ? 0 : 1; break b; } } var$7 = 0; } } if (!var$7) { $in2 = new ji_IOException; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(226)), $path); jl_Throwable__init_($in2, jl_AbstractStringBuilder_toString(var$5)); $rt_throw($in2); } ju_HashMap_put(nle_AssetRepository_filePool, $path, $file); if (!jl_String_equals($rt_s(227), ji_DataInputStream_readUTF(var$5))) break; } $in2 = new ji_IOException; jl_Throwable__init_($in2, $rt_s(223)); $rt_throw($in2); } function nle_AssetRepository__clinit_() { nle_AssetRepository_filePool = ju_HashMap__init_0(); } var ji_IOException = $rt_classWithoutFields(jl_Exception); function ji_IOException__init_0() { var var_0 = new ji_IOException(); ji_IOException__init_(var_0); return var_0; } function ji_IOException__init_($this) { jl_Throwable__init_0($this); } var jl_StringBuffer = $rt_classWithoutFields(jl_AbstractStringBuilder); function jl_StringBuffer__init_0() { var var_0 = new jl_StringBuffer(); jl_StringBuffer__init_(var_0); return var_0; } function jl_StringBuffer__init_($this) { jl_AbstractStringBuilder__init_($this); } function jl_StringBuffer_insert($this, var$1, var$2, var$3, var$4) { jl_AbstractStringBuilder_insert3($this, var$1, var$2, var$3, var$4); return $this; } function jl_StringBuffer_append($this, var$1, var$2, var$3) { jl_AbstractStringBuilder_append1($this, var$1, var$2, var$3); return $this; } function jl_StringBuffer_ensureCapacity($this, var$1) { jl_AbstractStringBuilder_ensureCapacity($this, var$1); } function jl_StringBuffer_insert0($this, var$1, var$2) { jl_AbstractStringBuilder_insert2($this, var$1, var$2); return $this; } var ju_Comparator = $rt_classWithoutFields(0); var jl_String$_clinit_$lambda$_93_0 = $rt_classWithoutFields(); function jl_String$_clinit_$lambda$_93_0__init_0() { var var_0 = new jl_String$_clinit_$lambda$_93_0(); jl_String$_clinit_$lambda$_93_0__init_(var_0); return var_0; } function jl_String$_clinit_$lambda$_93_0__init_(var$0) {} var jl_IndexOutOfBoundsException = $rt_classWithoutFields(jl_RuntimeException); function jl_IndexOutOfBoundsException__init_0() { var var_0 = new jl_IndexOutOfBoundsException(); jl_IndexOutOfBoundsException__init_(var_0); return var_0; } function jl_IndexOutOfBoundsException__init_($this) { jl_Throwable__init_0($this); } var jlr_Array = $rt_classWithoutFields(); function jlr_Array__init_0() { var var_0 = new jlr_Array(); jlr_Array__init_(var_0); return var_0; } function jlr_Array__init_($this) {} function jlr_Array_getLength(var$1) { if (var$1 === null || var$1.constructor.$meta.item === undefined) { $rt_throw(jl_IllegalArgumentException__init_0()); } return var$1.data.length; } 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) } } var jl_NullPointerException = $rt_classWithoutFields(jl_RuntimeException); 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); } var jl_ArrayStoreException = $rt_classWithoutFields(jl_RuntimeException); function jl_ArrayStoreException__init_0() { var var_0 = new jl_ArrayStoreException(); jl_ArrayStoreException__init_(var_0); return var_0; } function jl_ArrayStoreException__init_($this) { jl_Throwable__init_0($this); } function jl_Character() { jl_Object.call(this); this.$value0 = 0; } var jl_Character_TYPE = null; var jl_Character_digitMapping = null; var jl_Character_upperCaseMapping = null; var jl_Character_lowerCaseMapping = null; var jl_Character_classMapping = null; var jl_Character_characterCache = null; var jl_Character_$$metadata$$0 = null; var jl_Character_$$metadata$$1 = null; var jl_Character_$$metadata$$3 = null; var jl_Character_$$metadata$$4 = null; function jl_Character__init_(var_0) { var var_1 = new jl_Character(); jl_Character__init_0(var_1, var_0); return var_1; } function jl_Character__init_0($this, $value) { $this.$value0 = $value; } function jl_Character_valueOf($value) { var var$2, $result; var$2 = jl_Character_characterCache.data; if ($value >= var$2.length) return jl_Character__init_($value); $result = var$2[$value]; if ($result === null) { $result = jl_Character__init_($value); jl_Character_characterCache.data[$value] = $result; } return $result; } function jl_Character_equals($this, $other) { if ($this === $other) return 1; return $other instanceof jl_Character && $other.$value0 == $this.$value0 ? 1 : 0; } function jl_Character_hashCode($this) { return $this.$value0; } function jl_Character_toString($c) { var var$2, var$3; var$2 = new jl_String; var$3 = $rt_createCharArray(1); var$3.data[0] = $c; jl_String__init_2(var$2, var$3); return var$2; } function jl_Character_isSupplementaryCodePoint($codePoint) { return $codePoint >= 65536 && $codePoint <= 1114111 ? 1 : 0; } 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_isSurrogatePair($high, $low) { return jl_Character_isHighSurrogate($high) && jl_Character_isLowSurrogate($low) ? 1 : 0; } 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 jl_Character_toLowerCase0($ch) & 65535; } function jl_Character_toLowerCase0($ch) { if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } return jl_Character_mapChar(jl_Character_lowerCaseMapping, $ch); } function jl_Character_toUpperCase($ch) { return jl_Character_toUpperCase0($ch) & 65535; } function jl_Character_toUpperCase0($codePoint) { if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } return jl_Character_mapChar(jl_Character_upperCaseMapping, $codePoint); } function jl_Character_mapChar($table, $codePoint) { var $binSearchTable, var$4, var$5, var$6, $index, var$8; $binSearchTable = $table.$fastTable.data; if ($codePoint < $binSearchTable.length) return $codePoint + $binSearchTable[$codePoint] | 0; $binSearchTable = $table.$binarySearchTable.data; var$4 = 0; var$5 = $binSearchTable.length; var$6 = (var$5 / 2 | 0) - 1 | 0; a: { while (true) { $index = (var$4 + var$6 | 0) / 2 | 0; var$8 = $rt_compare($binSearchTable[$index * 2 | 0], $codePoint); if (!var$8) break; if (var$8 <= 0) { var$4 = $index + 1 | 0; if (var$4 > var$6) break a; } else { $index = $index - 1 | 0; if ($index < var$4) break a; var$6 = $index; } } } if ($index >= 0) { $index = $index * 2 | 0; if ($index < var$5) return $codePoint + $binSearchTable[$index + 1 | 0] | 0; } return 0; } function jl_Character_digit($ch, $radix) { if ($radix >= 2 && $radix <= 36) { $ch = jl_Character_getNumericValue($ch); if ($ch >= $radix) $ch = (-1); } else $ch = (-1); return $ch; } function jl_Character_getNumericValue($codePoint) { var var$2, var$3, var$4, var$5, $digitMapping, $u, $idx, $val, var$10, $l; if (jl_Character_digitMapping === null) { if (jl_Character_$$metadata$$3 === null) jl_Character_$$metadata$$3 = jl_Character_obtainDigitMapping$$create(); var$2 = (jl_Character_$$metadata$$3.value !== null ? $rt_str(jl_Character_$$metadata$$3.value) : null); var$3 = otci_CharFlow__init_(jl_String_toCharArray(var$2)); var$4 = otci_Base46_decodeUnsigned(var$3); var$5 = $rt_createIntArray(var$4 * 2 | 0); $digitMapping = var$5.data; $u = 0; $idx = 0; $val = 0; var$10 = 0; while (var$10 < var$4) { $idx = $idx + otci_Base46_decode(var$3) | 0; $val = $val + otci_Base46_decode(var$3) | 0; $l = $u + 1 | 0; $digitMapping[$u] = $idx; $u = $l + 1 | 0; $digitMapping[$l] = $val; var$10 = var$10 + 1 | 0; } jl_Character_digitMapping = var$5; } $digitMapping = jl_Character_digitMapping.data; $l = 0; $u = ($digitMapping.length / 2 | 0) - 1 | 0; while ($u >= $l) { $idx = ($l + $u | 0) / 2 | 0; var$4 = $idx * 2 | 0; $val = $rt_compare($codePoint, $digitMapping[var$4]); if ($val > 0) $l = $idx + 1 | 0; else { if ($val >= 0) return $digitMapping[var$4 + 1 | 0]; $u = $idx - 1 | 0; } } return (-1); } function jl_Character_forDigit($digit, $radix) { if ($radix >= 2 && $radix <= 36 && $digit >= 0 && $digit < $radix) return $digit < 10 ? (48 + $digit | 0) & 65535 : ((97 + $digit | 0) - 10 | 0) & 65535; return 0; } function jl_Character_toChars($codePoint) { var var$2; if ($codePoint < 65536) { var$2 = $rt_createCharArray(1); var$2.data[0] = $codePoint & 65535; return var$2; } return $rt_createCharArrayFromData([jl_Character_highSurrogate($codePoint), jl_Character_lowSurrogate($codePoint)]); } function jl_Character_getType($codePoint) { var $u, $range, $classes, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $l, $i; $u = $codePoint > 0 && $codePoint <= 65535 ? 1 : 0; if ($u && jl_Character_isSurrogate($codePoint & 65535)) return 19; if (jl_Character_classMapping === null) { if (jl_Character_$$metadata$$4 === null) jl_Character_$$metadata$$4 = jl_Character_obtainClasses$$create(); $range = (jl_Character_$$metadata$$4.value !== null ? $rt_str(jl_Character_$$metadata$$4.value) : null); $classes = $rt_createArray(otciu_UnicodeHelper$Range, 16384); var$5 = $classes.data; var$6 = $rt_createByteArray(16384); var$7 = var$6.data; var$8 = 0; var$9 = 0; var$10 = 0; var$11 = 0; while (var$11 < jl_String_length($range)) { var$12 = otciu_UnicodeHelper_decodeByte(jl_String_charAt($range, var$11)); if (var$12 == 64) { var$11 = var$11 + 1 | 0; var$12 = otciu_UnicodeHelper_decodeByte(jl_String_charAt($range, var$11)); var$13 = 0; $u = 1; $l = 0; while ($l < 3) { var$11 = var$11 + 1 | 0; var$13 = var$13 | $rt_imul($u, otciu_UnicodeHelper_decodeByte(jl_String_charAt($range, var$11))); $u = $u * 64 | 0; $l = $l + 1 | 0; } } else if (var$12 < 32) var$13 = 1; else { var$12 = (var$12 - 32 | 0) << 24 >> 24; var$11 = var$11 + 1 | 0; var$13 = otciu_UnicodeHelper_decodeByte(jl_String_charAt($range, var$11)); } if (!var$12 && var$13 >= 128) { if (var$8 > 0) { $u = var$9 + 1 | 0; var$5[var$9] = otciu_UnicodeHelper$Range__init_(var$10, var$10 + var$8 | 0, ju_Arrays_copyOf1(var$6, var$8)); var$9 = $u; } var$10 = var$10 + (var$8 + var$13 | 0) | 0; var$8 = 0; } else { $u = var$8 + var$13 | 0; if ($u < var$7.length) $l = var$9; else { $l = var$9 + 1 | 0; var$5[var$9] = otciu_UnicodeHelper$Range__init_(var$10, var$10 + var$8 | 0, ju_Arrays_copyOf1(var$6, var$8)); var$10 = var$10 + $u | 0; var$8 = 0; } while (true) { $u = var$13 + (-1) | 0; if (var$13 <= 0) break; $i = var$8 + 1 | 0; var$7[var$8] = var$12; var$8 = $i; var$13 = $u; } var$9 = $l; } var$11 = var$11 + 1 | 0; } jl_Character_classMapping = ju_Arrays_copyOf($classes, var$9); } $classes = jl_Character_classMapping.data; $l = 0; $u = $classes.length - 1 | 0; while ($l <= $u) { $i = ($l + $u | 0) / 2 | 0; $range = $classes[$i]; if ($codePoint >= $range.$end0) $l = $i + 1 | 0; else { $u = $range.$start2; if ($codePoint >= $u) return $range.$data0.data[$codePoint - $u | 0]; $u = $i - 1 | 0; } } return 0; } function jl_Character_isLetterOrDigit($codePoint) { a: { switch (jl_Character_getType($codePoint)) { case 1: case 2: case 3: case 4: case 5: case 9: break; case 6: case 7: case 8: break a; default: break a; } return 1; } return 0; } function jl_Character_isIdentifierIgnorable($codePoint) { a: { if (!($codePoint >= 0 && $codePoint <= 8) && !($codePoint >= 14 && $codePoint <= 27)) { if ($codePoint < 127) break a; if ($codePoint > 159) break a; } return 1; } return jl_Character_getType($codePoint) != 16 ? 0 : 1; } function jl_Character_isSpaceChar($codePoint) { switch (jl_Character_getType($codePoint)) { case 12: case 13: case 14: break; default: return 0; } return 1; } function jl_Character_isWhitespace($codePoint) { switch ($codePoint) { case 9: case 10: case 11: case 12: case 13: case 28: case 29: case 30: case 31: break; case 160: case 8199: case 8239: return 0; default: return jl_Character_isSpaceChar($codePoint); } return 1; } function jl_Character_compareTo($this, var$1) { var$1 = var$1; return $this.$value0 - var$1.$value0 | 0; } function jl_Character__clinit_() { jl_Character_TYPE = $rt_cls($rt_charcls()); jl_Character_characterCache = $rt_createArray(jl_Character, 128); } function jl_Character_acquireLowerCaseMapping$$create() { return {"value" : ">W H#F#U 4%F#O #F#/ d%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #a1# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #<+#%# #%# #%# \'.3#%# #%# #{1#%# #w1%%# %J\'#k1#o1#%# #w1#!3# #23#*3#%# \'23#:3# #>3#%# #%# #%# #N3#%# #N3# %%# #N3#%# #J3%%# #%# #R3#%# \'%# /)#%# #)#%# #)#%# #%# #%# #%# #%# #%# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%# #%# %)#%# #%# #8)#L%#%# #%# #%# #" + "%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #a+# #%# #%# #%# #%# #%# #%# #%# #%# #%# /B45#%# #,/#645# %%# #P1#!\'#*\'#%# #%# #%# #%# #%# <-%# #%# \'%# 1&++ %_## #Z#)k%%g%% #F#W hA# 1%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# +]%# %%# #?#%# %a+\'N\'AF#b &#%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 3%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #^#%# #%# #%# #%# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%" + "# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# %*%r iB#oq-&# _?gejg#A1 o$#mo%&# {-%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 3,4/# #%# #%# #%" + "# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 3C1 1C1 1C1 1C1 1C1 3C/ 1C1 QC1 1C1 1C1 1C%8\'%G# 7i\')G# 7C%D)\' 7C%u)%?# 7X+%P+%G# L-q*/# \'Pw/#8m/# -6## |bA G%# kC.#U !r*%&# &#%# #,05#qX\'#H.5# %%# #%# #%# #e25#D05#q25#m25# #%# %%# 1865%%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# " + "#%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 1%# #%# )%# (a=%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# G%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# y%%# #%# #%# #%# #%# #%# #%# \'%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 5%# #%# #4Fd#%# #%# #%# #%# #%# )%# #<{p# %%# #%# \'%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #P}p#}}p#m}p#D}p#P}p# #@yp#D{p#Lyp#Br#%# #%# #%# #%" + "# #%# #%# #%# #%# #,%#L}p#LJd#%# #%# -%# +%# #%# Y%# ,T5F#U TUg#r {%g#r >\'c#p Lnk%F# *J#F#b o@5F#b Jo=N#f "}; } function jl_Character_acquireUpperCaseMapping$$create() { return {"value" : "b# vH#O #H#/:+# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #,5# #\'# #\'# #\'# %\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'# #\'# #\'#(;#N1# %\'# #\'# %\'# \'\'# +\'# %6)# \'\'#*/# \'_+# %\'# #\'# #\'# %\'# )\'# %\'# \'\'# #\'# %\'# \'\'# #J%# +\'#+# #\'#+# #\'#+# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#L\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'#+# #\'# \'\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#" + " #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# \'\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# 1\'# %665% #\'# )\'# #\'# #\'# #\'# #\'#o25#c25#k25#03#}1# #y1% #m1# #q1#{}p# \'y1#k}p# #$3# #:{p#N}p# #,3#43#N}p#*05#B}p# %43# #B05#<3# %@3# /F.5# %P3# #J}p#P3# \'B{p#P3#$\'#L3%,\'# +T3# 5Jyp#>yp# Z\'_\'# x\'# #\'# \'\'\' #_+\' !#a##]#\' #H#CD##H#3m%#i%% #e%#P%# \'(%#D%#C# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#i\'#P\'#=#(+# #4)# %\'# %\'# .#H#bP\'A #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# 3\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# " + "#\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'# #\'# #\'# #\'# #\'# #\'# #\'#`# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'% &#,%n mB#ko%x %ko%\' RAC1 >$#yu+#uu+#Pu+#Hu+%Lu+#0u+#io+#>@d1 (+2Fd# \'oX\'# AJJd# N%\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #" + "\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# +X%# +\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#A1 1A1 1A1 1A1 1A1 3A# #A# #A# #A% /A1 16\'%g\')B)%V+%s)%N+)A1 1A1 1A1 1A% #E# 5-G%%%%%%%%%%%%%%%%%%.9G%%%%%%%%%%%%%%%%%%w=G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%>AG%%%%%%%%%%%%%%%%%%N)G%%%%%%%%%%%%%%%%%%N)G%%%%%%%%%%%%%%%%%%FEG%%%%%%%%%%%%%%%%%%N)G%%%%%%%%%%%%%%%%%%!dG%%%%%%%%%%%%%%%%%%g5G%%%%%%%%%%%%%%%%%%*\'G%%%%%%%%%%%%%%%%%%FEG%%%%%%%%%%%%%%%%%%*0EG%%%%%%%%%%%%%%%%%%k\'G%%%%%%%%%%%%%%%%%%s+G%%%%%%%%%%%%%%%%%%28UG%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%" + "%%%!8%G%%%%%%%%%%%%%%%%%%FEG%%%%%%%%%%%%%%%%%%sKG%%%%%%%%%%%%%%%%%%>&#G%%%%%%%%%%%%%%%%%%wN)G%%%%%%%%%%%%%%%%%%"}; } function jl_Character_obtainClasses$$create() { return {"value" : "PA-Y$;Y$679:95Y#J+Y#Z$Y#B;697<8:1=<=:L#<#Y#<,&?L$9B8:B(C9:C)!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!C#!#!#!#!#!#!#!#!C#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#B##!#!C$B##!#B##B$C#B%#B##B$C$B##B##!#!#B##!C#!#B##B$#!#B#C#&!C$F%!$#!$#!$#!#!#!#!#!#!#!#!C#!#!#!#!#!#!#!#!#!C#!$#!#B$#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!C(B##B#C#!#B%#!#!#!#!Cg&C?6_#?6>Y)./Q&-Y*>?Y%X#Y$:67Y,:98Y+-Q& Q+,%A#L\'Z$67%L+Z$67 E.A$[BA0G." + "H%\'H$G-A0^#!^%!^##B$C#B$#=!^#:B&^\'!=!=!=B%=#B%#F%#^#C#B#Z&!C%=:^##=L1KD!#K%,^#A%Z&^&Z#^%:^#:^#:^(:^@Z#^#:=:^@b:-% ^)6767^5Z#^(67b=2! :^?Z:^IZ\'^gA:^,A6L^^pL7b=X# :^*:^WZ)b=P! :b=Y$ 67676767676767L?^MZ&67Z@6767676767Z1b= % b:$# 6767676767676767676767Za6767ZA67b:#% ^QZ6^#Z\'^HA#^A b=J! BQCQ!#B$C#!#!#!#B%#!C#!C\'E#B$#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!C#^\'!#!#G$!#A&Y%,Y#CG #A&#A#FYA(%9A/\'F8A*F( F( F( F( F( F( F( F( GAY#>?>?Y$>?9>?Y*5Y#59>?Y#>?67676767Y" + "&%Y+U#Y%596Y.^#Y$676767675AC^; b=:! A-b=7$ A;^1-Y$=%&+6767676767^#6767676756W#=K*G%I#5E&^#K$%&9^# b&7! A#G#]#E#&5b&;! 9E$&A&FL b&?! ^#L%^+FA^EA,=F1^@ L+^?L)=L0^AL+^HL0b= & &b `G!&^b&b %b `(!F7%b&X2 A$^XA*FIE\'Y#b&-% %Y$F1J+F#A5!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#&\'H$9G+9%!#!#!#!#!#!#!#!#!#!#!#!#!#!#E#G#FhK+G#Y\'A)]8E*]#!#!#!#!#!#!#!C$!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#%C)!#!#B##!#!#!#!#%]#!#!#&!#!C$!#!#!#!#!#!#!#!#!#!#B&#B&#!#!#!#!#!#!#!#B%#!#A&!# # #!#!#A9E$!#&E##F(\'F$" + "\'F%\'F8I#G#)^%\'A$L\'^#;=A\'FUY%A)I#FSI1G#A)Y#J+A\'G3F\'Y$&9F#\'J+F=G)Y#F8G,I#A,9F>A$G$)FP\'I#G%I#G#I$Y. %J+A%Y#F&\'%F*J+F& FJG\'I#G#I#G#A*F$\'F)\')A#J+A#Y%F1%F\'^$&)\')FS\'&G$F#G#F&G#&\'&A9F#%Y#F,)G#I#Y#&E#)\'A+F\'A#F\'A#F\'A*F( F( CLA$FRA0\'LA#G$A%\'L*A(Y*A(F>L#9F>L$AAF)=F=G#A%L&Y(A*FWA$Y(F7A#L)F4A&L)F3A(Y%A-L(b 1! FkAXBTA.CTA(L\'FEG%A)J+b G% L@ FK G#5A#F#AmG$F>L+&A)F7G,L%Y&A7F3G%Y%AGF6L(A5F8A*)\')FVG0Y(A%L5J+\'F#G#&A*G$)FNI$G%I#G#Y#1Y%\'A+1A#F:A(J+A" + "\'G$FEG&)G) J+Y%&I#&A)FD\'Y#&A*G#)FQI$G*I#F%Y%G%9)\'J+&9&Y$ L5A,F3 F:I$G$I#\')G#Y\'\'F#\'A`F( & F% F0 F+9A\'FP\'I$G)A&J+A\'G#I# F)A#F#A#F7 F( F# F& G#&I#\'I%A#I#A#I$A#&A\')A&F&I#A#G(A$G&b ,# FVI$G)I#G$)\'F%Y&J+Y# 9\'F$A?FQI$G\')\'I%G#)G#F#9&A)J+b G# FPI$G%A#I%G#)G#Y8F%G#ACFQI$G)I#\')G#Y$&A,J+A\'Y.A4FL\')\'I#G\')\'&9A\'J+AWFF$A#&A/F%A)b&-\' b %E b&L! A&F.A$F*A(F+A#=G#9Q%b =*!GOA#G8A*b=U! A^b=W$ A+^HA#^^I#G$^$I\'Q)G)^#G(^?G%^_A6^dG$=b [! L5A-L5A-b=8! A*L:b (# B;C;B;C( C3B;C;! B#A#!A#B#A#B% B)C% # C( C,B;C;B# B%A#B) B" + "( C;B# B% B& !A$B( C;B;C;B;C;B;C;B;C;B;C;B;C=A#B::C::C\'B::C::C\'B::C::C\'B::C::C\'B::C::C\'!#A#JSb= ) GX^%GS^)\'^/\'^#Y&A0G& G0b 12 C+&C5A\'C\'b 6$ G( G2A#G( G# G&A&E`AB\'b Q! FNA$G(E(A#J+A%&=b & F?\'A2FMG%J+A&;b 1( F<%G%J+b G, F( F% F# F0 b&&$ A#L*G(AJBCCCG(%A%J+A%Y#b 2- L]=L$;L%AnLN=L0b #$ F% F< F# &A#& F+ F% & &A\'&A%& & & F$ F# &A#& & & & & F# &A#F% F( F% F% & F+ F2A&F$ F& F2AUZ#b /% ^MA%b=E! A-^0A#^0 ^0 ^FA+L.b=B# AY^>A.^MA%^*A(^#A/^\'b ;# b=]$ ]&b=9, A%^2A$^.A$b=X! A%b=@! A\'^-A%=A0^-A%^YA)^+A\'^IA)^?A#^#Apb=5& A-" + "^/A#^.A$^*A(^O ^(A)^/A%^*A(^*A(b=4# ^XAFJ+b \'1 &b %b %b ?<#&AA&b Y !&A\'&b =$ &A#&b ;!&A/&b PU!&A0&b M* &b CG b&?) b C8 &b *.!&A&&b ?!!&b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b 2R!1A?b1A! b # b\'Q$ b %b %b %b 1Y$3b %b %b %b ^a$3A#3b %b %b %b ^a$3"}; } var ji_OutputStream = $rt_classWithoutFields(); function ji_OutputStream_write($this, $b) { $this.$write0($b, 0, $b.data.length); } function ji_OutputStream_close($this) {} function ji_OutputStream_flush($this) {} function ji_FilterOutputStream() { ji_OutputStream.call(this); this.$out1 = null; } function ji_FilterOutputStream__init_(var_0) { var var_1 = new ji_FilterOutputStream(); ji_FilterOutputStream__init_0(var_1, var_0); return var_1; } function ji_FilterOutputStream__init_0($this, $out) { $this.$out1 = $out; } function ji_FilterOutputStream_close($this) { var $$je; a: { try { $this.$out1.$flush(); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $this.$out1.$close(); } function ji_PrintStream() { var a = this; ji_FilterOutputStream.call(a); a.$autoFlush = 0; a.$errorState = 0; a.$sb = null; a.$buffer = 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) { ji_FilterOutputStream__init_0($this, $out); $out = new jl_StringBuilder; jl_AbstractStringBuilder__init_($out); $this.$sb = $out; $this.$buffer = $rt_createCharArray(32); $this.$autoFlush = $autoFlush; jnci_UTF8Charset_$callClinit(); $this.$charset = jnci_UTF8Charset_INSTANCE; } function ji_PrintStream_write($this, $b, $off, $len) { var var$4, $$je; var$4 = $this.$out1; if (var$4 === null) $this.$errorState = 1; if (!($this.$errorState ? 0 : 1)) return; a: { try { var$4.$write0($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 $src, $destBytes, $dest, $encoder, $overflow; $end = $end - $begin | 0; $src = jn_CharBuffer_wrap0($s, $begin, $end); $destBytes = $rt_createByteArray(jl_Math_max(16, jl_Math_min($end, 1024))); $dest = jn_ByteBuffer_wrap0($destBytes); $encoder = jnci_UTF8Charset_newEncoder($this.$charset); jnc_CodingErrorAction_$callClinit(); $encoder = jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput($encoder, 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_print($this, $s) { jl_StringBuilder_append0($this.$sb, $s); ji_PrintStream_printSB($this); } function ji_PrintStream_println($this, $s) { jl_AbstractStringBuilder_append(jl_StringBuilder_append0($this.$sb, $s), 10); ji_PrintStream_printSB($this); } function ji_PrintStream_printSB($this) { var var$1, var$2, $buffer, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$sb; var$2 = var$1.$length0; $buffer = $this.$buffer; if (var$2 > $buffer.data.length) $buffer = $rt_createCharArray(var$2); var$4 = 0; var$5 = 0; if (var$4 > var$2) { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1, $rt_s(228)); $rt_throw(var$1); } while (var$4 < var$2) { var$6 = $buffer.data; var$7 = var$5 + 1 | 0; var$8 = var$1.$buffer0.data; var$9 = var$4 + 1 | 0; var$6[var$5] = var$8[var$4]; var$5 = var$7; var$4 = var$9; } ji_PrintStream_print0($this, $buffer, 0, var$2); $this.$sb.$length0 = 0; } function otcic_ConsoleOutputStream() { ji_OutputStream.call(this); this.$buffer1 = null; } function otcic_ConsoleOutputStream__init_($this) { $this.$buffer1 = $rt_createByteArray(1); } function otcic_ConsoleOutputStream_write($this, $b) { var var$2; var$2 = $this.$buffer1; var$2.data[0] = $b << 24 >> 24; ji_OutputStream_write($this, var$2); } var otcic_StdoutOutputStream = $rt_classWithoutFields(otcic_ConsoleOutputStream); var otcic_StdoutOutputStream_INSTANCE = null; function otcic_StdoutOutputStream__init_0() { var var_0 = new otcic_StdoutOutputStream(); otcic_StdoutOutputStream__init_(var_0); return var_0; } function otcic_StdoutOutputStream__init_($this) { otcic_ConsoleOutputStream__init_($this); } function otcic_StdoutOutputStream_write($this, $b, $off, $len) { var var$4; var$4 = 0; while (var$4 < $len) { $rt_putStdout($b.data[var$4 + $off | 0] & 255); var$4 = var$4 + 1 | 0; } } function otcic_StdoutOutputStream__clinit_() { var var$1; var$1 = new otcic_StdoutOutputStream; otcic_ConsoleOutputStream__init_(var$1); otcic_StdoutOutputStream_INSTANCE = var$1; } function nms_Timer() { var a = this; jl_Object.call(a); a.$ticksPerSecond = 0.0; a.$lastHRTime = 0.0; a.$elapsedTicks = 0; a.$renderPartialTicks = 0.0; a.$timerSpeed = 0.0; a.$elapsedPartialTicks = 0.0; a.$lastSyncSysClock = Long_ZERO; a.$lastSyncHRClock = Long_ZERO; a.$timeSyncAdjustment = 0.0; } function nms_Timer_updateTimer($this) { var $var1, $var3, $var5, $var9, $var11, var$6, var$7; $var1 = jl_System_currentTimeMillis(); $var3 = Long_sub($var1, $this.$lastSyncSysClock); $var5 = Long_div(jl_System_nanoTime(), Long_fromInt(1000000)); if (Long_gt($var3, Long_fromInt(1000))) { $var9 = Long_toNumber($var3) / Long_toNumber(Long_sub($var5, $this.$lastSyncHRClock)); $var11 = $this.$timeSyncAdjustment; $this.$timeSyncAdjustment = $var11 + ($var9 - $var11) * 0.20000000298023224; $this.$lastSyncSysClock = $var1; $this.$lastSyncHRClock = $var5; } if (Long_lt($var3, Long_ZERO)) { $this.$lastSyncSysClock = $var1; $this.$lastSyncHRClock = $var5; } $var11 = Long_toNumber($var5) / 1000.0; $var9 = ($var11 - $this.$lastHRTime) * $this.$timeSyncAdjustment; $this.$lastHRTime = $var11; if ($var9 < 0.0) $var9 = 0.0; if ($var9 > 1.0) $var9 = 1.0; var$6 = $this.$elapsedPartialTicks + $var9 * $this.$timerSpeed * $this.$ticksPerSecond; $this.$elapsedPartialTicks = var$6; var$7 = var$6 | 0; $this.$elapsedTicks = var$7; var$6 = var$6 - var$7; $this.$elapsedPartialTicks = var$6; if (var$7 > 10) $this.$elapsedTicks = 10; $this.$renderPartialTicks = var$6; } var nms_IProgressUpdate = $rt_classWithoutFields(0); function nms_LoadingScreenRenderer() { var a = this; jl_Object.call(a); a.$field_1004_a = null; a.$mc = null; a.$field_1007_c = null; a.$field_1006_d = Long_ZERO; a.$field_1005_e = 0; } function nms_LoadingScreenRenderer_func_596_a($this, $var1) { $this.$field_1005_e = 0; nms_LoadingScreenRenderer_func_597_c($this, $var1); } function nms_LoadingScreenRenderer_func_597_c($this, $var1) { var var$2, $var2, $var3, $var4; a: { var$2 = $this.$mc; if (!var$2.$running) { if ($this.$field_1005_e) break a; $var1 = new nms_MinecraftError; jl_Throwable__init_0($var1); $rt_throw($var1); } $this.$field_1007_c = $var1; $var2 = nms_ScaledResolution__init_(var$2.$displayWidth, var$2.$displayHeight); $var3 = $var2.$scaledWidth; $var4 = $var2.$scaledHeight; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glOrtho(0.0, $var3, $var4, 0.0, 100.0, 300.0); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-200.0)); } } function nms_LoadingScreenRenderer_displayLoadingString($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.$mc.$running) { if ($this.$field_1005_e) return; $var1 = new nms_MinecraftError; jl_Throwable__init_0($var1); $rt_throw($var1); } $this.$field_1006_d = Long_ZERO; $this.$field_1004_a = $var1; var$2 = (-1); $ptr = 1; case 1: nms_LoadingScreenRenderer_setLoadingProgress($this, var$2); if ($rt_suspending()) { break main; } $this.$field_1006_d = Long_ZERO; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_LoadingScreenRenderer_setLoadingProgress($this, $var1) { var $var4, $var2, var$4, $var5, $var6, var$7, var$8, $var7, $var8, var$11, var$12, $var12, $var13, var$15, var$16, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$mc.$running) { if ($this.$field_1005_e) break a; $var4 = new nms_MinecraftError; jl_Throwable__init_0($var4); $rt_throw($var4); } $var2 = jl_System_currentTimeMillis(); if (Long_ge(Long_sub($var2, $this.$field_1006_d), Long_fromInt(20))) { $this.$field_1006_d = $var2; $var4 = new nms_ScaledResolution; var$4 = $this.$mc; nms_ScaledResolution__init_0($var4, var$4.$displayWidth, var$4.$displayHeight); $var5 = $var4.$scaledWidth; $var6 = $var4.$scaledHeight; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); var$7 = $var5; var$8 = $var6; olo_EaglerAdapterGL30_glOrtho(0.0, var$7, var$8, 0.0, 100.0, 300.0); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-200.0)); olo_EaglerAdapterGL30_glClear(16640); nms_Tessellator_$callClinit(); $var7 = nms_Tessellator_instance; $var4 = $this.$mc.$renderEngine; var$4 = $rt_s(229); $ptr = 1; continue main; } } return; case 1: $tmp = nms_RenderEngine_getTexture($var4, var$4); if ($rt_suspending()) { break main; } $var8 = $tmp; olo_EaglerAdapterGL30_glBindTexture(3553, $var8); nms_Tessellator_startDrawingQuads($var7); nms_Tessellator_setColorOpaque_I($var7, 4210752); var$11 = $var6 / 32.0; nms_Tessellator_addVertexWithUV($var7, 0.0, var$8, 0.0, 0.0, var$11); var$12 = $var5 / 32.0; nms_Tessellator_addVertexWithUV($var7, var$7, var$8, 0.0, var$12, var$11); nms_Tessellator_addVertexWithUV($var7, var$7, 0.0, 0.0, var$12, 0.0); nms_Tessellator_addVertexWithUV($var7, 0.0, 0.0, 0.0, 0.0, 0.0); nms_Tessellator_draw($var7); if ($var1 >= 0) { $var12 = ($var5 / 2 | 0) - 50 | 0; $var13 = ($var6 / 2 | 0) + 16 | 0; olo_EaglerAdapterGL30_glDisable(3553); nms_Tessellator_startDrawingQuads($var7); nms_Tessellator_setColorOpaque_I($var7, 8421504); var$15 = $var12; var$12 = $var13; nms_Tessellator_addVertex($var7, var$15, var$12, 0.0); var$16 = $var13 + 2 | 0; nms_Tessellator_addVertex($var7, var$15, var$16, 0.0); var$11 = $var12 + 100 | 0; nms_Tessellator_addVertex($var7, var$11, var$16, 0.0); nms_Tessellator_addVertex($var7, var$11, var$12, 0.0); nms_Tessellator_setColorOpaque_I($var7, 8454016); nms_Tessellator_addVertex($var7, var$15, var$12, 0.0); nms_Tessellator_addVertex($var7, var$15, var$16, 0.0); var$15 = $var12 + $var1 | 0; nms_Tessellator_addVertex($var7, var$15, var$16, 0.0); nms_Tessellator_addVertex($var7, var$15, var$12, 0.0); nms_Tessellator_draw($var7); olo_EaglerAdapterGL30_glEnable(3553); } $var4 = $this.$mc.$fontRenderer; var$4 = $this.$field_1007_c; $var1 = ($var5 - nms_FontRenderer_getStringWidth($var4, var$4) | 0) / 2 | 0; $var8 = ($var6 / 2 | 0) - 4 | 0; nms_FontRenderer_drawStringWithShadow($var4, var$4, $var1, $var8 - 16 | 0, 16777215); $var4 = $this.$mc.$fontRenderer; var$4 = $this.$field_1004_a; nms_FontRenderer_drawStringWithShadow($var4, var$4, ($var5 - nms_FontRenderer_getStringWidth($var4, var$4) | 0) / 2 | 0, $var8 + 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: b: { try { jl_Thread_yield(); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var4, $var2, var$4, $var5, $var6, var$7, var$8, $var7, $var8, var$11, var$12, $var12, $var13, var$15, var$16, $ptr); } function nms_EntityRenderer() { var a = this; jl_Object.call(a); a.$mc0 = null; a.$field_1387_i = 0.0; a.$field_1395_a = null; a.$field_1386_j = 0; a.$field_1385_k = null; a.$field_1384_l = Long_ZERO; a.$field_1383_m = null; a.$field_1394_b = 0; a.$field_1393_c = 0; a.$field_1392_d = null; a.$field_4270_e = 0.0; a.$field_4269_f = 0.0; a.$field_4268_g = 0.0; a.$field_1382_n = 0.0; a.$field_1381_o = 0.0; } function nms_EntityRenderer_func_911_a($this) { var var$1, var$2, var$3, var$4, var$5, $var1, $var2, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_1382_n = $this.$field_1381_o; var$1 = $this.$mc0; var$2 = var$1.$theWorld; var$3 = nms_MathHelper_floor_double(var$1.$thePlayer.$posX); var$4 = nms_MathHelper_floor_double($this.$mc0.$thePlayer.$posY); var$5 = nms_MathHelper_floor_double($this.$mc0.$thePlayer.$posZ); $ptr = 1; case 1: $tmp = nms_World_getLightBrightness(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } $var1 = $tmp; $var2 = (3 - $this.$mc0.$gameSettings.$renderDistance | 0) / 3.0; $var3 = $var1 * (1.0 - $var2) + $var2; $var1 = $this.$field_1381_o; $this.$field_1381_o = $var1 + ($var3 - $var1) * 0.10000000149011612; $this.$field_1386_j = $this.$field_1386_j + 1 | 0; var$1 = $this.$field_1395_a; var$1.$field_9452_d = var$1.$field_9453_c; var$2 = nms_InventoryPlayer_getCurrentItem(var$1.$mc4.$thePlayer.$inventory0); $var1 = 0.4000000059604645; $var2 = var$2 !== var$1.$field_9451_b ? 0.0 : 1.0; $var3 = var$1.$field_9453_c; $var2 = $var2 - $var3; var$9 = (-0.4000000059604645); if ($var2 >= var$9) var$9 = $var2; if (var$9 <= $var1) $var1 = var$9; $var1 = $var3 + $var1; var$1.$field_9453_c = $var1; if ($var1 < 0.10000000149011612) var$1.$field_9451_b = var$2; var$1 = $this.$mc0; if (var$1.$field_6288_M && var$1.$gameSettings.$fancyGraphics) { var$2 = var$1.$thePlayer; var$1 = var$1.$theWorld; var$5 = nms_MathHelper_floor_double(var$2.$posX); var$4 = nms_MathHelper_floor_double(var$2.$posY); var$10 = nms_MathHelper_floor_double(var$2.$posZ); var$11 = 16; var$12 = 0; var$13 = var$4 + 16 | 0; var$14 = var$4 - 16 | 0; if (var$12 < 150) { var$15 = (var$5 + ju_Random_nextInt($this.$field_1383_m, var$11) | 0) - ju_Random_nextInt($this.$field_1383_m, var$11) | 0; var$16 = (var$10 + ju_Random_nextInt($this.$field_1383_m, var$11) | 0) - ju_Random_nextInt($this.$field_1383_m, var$11) | 0; $ptr = 2; continue main; } } return; case 2: $tmp = nms_World_getChunkFromBlockCoords(var$1, var$15, var$16); if ($rt_suspending()) { break main; } var$2 = $tmp; var$4 = nms_Chunk_getHeightValue(var$2, var$15 & 15, var$16 & 15); var$3 = var$4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId(var$1, var$15, var$3, var$16); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$4 <= var$13 && var$4 >= var$14) { $var1 = ju_Random_nextFloat($this.$field_1383_m); $var2 = ju_Random_nextFloat($this.$field_1383_m); if (var$3 > 0) { var$2 = $this.$mc0.$field_6321_h; var$17 = new nms_EntityRainFX; var$18 = var$15 + $var1; var$19 = var$4 + 0.10000000149011612; nms_Block_$callClinit(); nms_EntityRainFX__init_(var$17, var$1, var$18, var$19 - nms_Block_blocksList.data[var$3].$minY, var$16 + $var2); nms_EffectRenderer_func_1192_a(var$2, var$17); } } var$12 = var$12 + 1 | 0; if (var$12 >= 150) return; var$15 = (var$5 + ju_Random_nextInt($this.$field_1383_m, var$11) | 0) - ju_Random_nextInt($this.$field_1383_m, var$11) | 0; var$16 = (var$10 + ju_Random_nextInt($this.$field_1383_m, var$11) | 0) - ju_Random_nextInt($this.$field_1383_m, var$11) | 0; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $var1, $var2, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); } function nms_EntityRenderer_func_910_a($this, $var1) { var $var6, $var10, $var2, $var14, $var16, $var7, $var8, $var11, $var13, $var15, $var17, var$13, $var18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var18 = $thread.pop();var$13 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var2 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $this.$mc0; $var10 = $var6.$thePlayer; if ($var10 === null) return; $var2 = 4.0; $var14 = nms_EntityLiving_getPosition($var10, $var1); $var16 = nms_EntityLiving_getLook($var10, $var1); $var16 = nms_Vec3D_addVector($var14, $var16.$xCoord * $var2, $var16.$yCoord * $var2, $var16.$zCoord * $var2); $var10 = $var10.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks($var10, $var14, $var16); if ($rt_suspending()) { break main; } $var10 = $tmp; $var6.$objectMouseOver = $var10; $var6 = nms_EntityLiving_getPosition($this.$mc0.$thePlayer, $var1); $var10 = $this.$mc0.$objectMouseOver; if ($var10 !== null) $var2 = nms_Vec3D_distanceTo($var10.$hitVec, $var6); $var10 = $this.$mc0; if ($var10.$field_6327_b instanceof nms_PlayerControllerTest) $var2 = 32.0; else if ($var2 > 3.0) $var2 = 3.0; $var7 = nms_EntityLiving_getLook($var10.$thePlayer, $var1); $var8 = nms_Vec3D_addVector($var6, $var7.$xCoord * $var2, $var7.$yCoord * $var2, $var7.$zCoord * $var2); $this.$field_1385_k = null; $var10 = $this.$mc0; $var14 = $var10.$theWorld; $var10 = $var10.$thePlayer; $var16 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_addCoord($var10.$boundingBox, $var7.$xCoord * $var2, $var7.$yCoord * $var2, $var7.$zCoord * $var2), 1.0, 1.0, 1.0); $ptr = 2; case 2: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var14, $var10, $var16); if ($rt_suspending()) { break main; } $var10 = $tmp; $var11 = 0.0; $var13 = 0; while ($var13 < $var10.$size) { $var14 = ju_ArrayList_get($var10, $var13); if ($var14.$canBeCollidedWith()) { $var15 = $var14.$func_4035_j_(); $var16 = $var14.$boundingBox; $var2 = $var15; $var16 = nms_AxisAlignedBB_expands($var16, $var2, $var2, $var2); $var17 = nms_AxisAlignedBB_func_1169_a($var16, $var6, $var8); $var2 = $var6.$xCoord; if ($var2 > $var16.$minX && $var2 < $var16.$maxX0) { $var2 = $var6.$yCoord; if ($var2 > $var16.$minY0 && $var2 < $var16.$maxY0) { $var2 = $var6.$zCoord; var$13 = $var2 > $var16.$minZ0 && $var2 < $var16.$maxZ0 ? 1 : 0; } else var$13 = 0; } else var$13 = 0; if (var$13) { if (!(0.0 >= $var11 && $var11 !== 0.0)) { $this.$field_1385_k = $var14; $var11 = 0.0; } } else if ($var17 !== null) { $var18 = nms_Vec3D_distanceTo($var6, $var17.$hitVec); if (!($var18 >= $var11 && $var11 !== 0.0)) { $this.$field_1385_k = $var14; $var11 = $var18; } } } $var13 = $var13 + 1 | 0; } $var6 = $this.$field_1385_k; if ($var6 !== null) { $var10 = $this.$mc0; if (!($var10.$field_6327_b instanceof nms_PlayerControllerTest)) $var10.$objectMouseOver = nms_MovingObjectPosition__init_($var6); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var6, $var10, $var2, $var14, $var16, $var7, $var8, $var11, $var13, $var15, $var17, var$13, $var18, $ptr); } function nms_EntityRenderer_hurtCameraEffect($this, $var1) { var $var2, $var3, $var4; $var2 = $this.$mc0.$thePlayer; $var3 = $var2.$hurtTime - $var1; if ($var2.$health <= 0) olo_EaglerAdapterGL30_glRotatef(40.0 - 8000.0 / ($var2.$deathTime + $var1 + 200.0), 0.0, 0.0, 1.0); if ($var3 >= 0.0) { $var1 = $var3 / $var2.$field_9332_M; $var1 = nms_MathHelper_sin($var1 * $var1 * $var1 * $var1 * 3.1415927410125732); $var4 = $var2.$field_9331_N; olo_EaglerAdapterGL30_glRotatef( -$var4, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var1 * 14.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef($var4, 0.0, 1.0, 0.0); } } function nms_EntityRenderer_func_917_f($this, $var1) { var $var2, $var4, $var3, $var5, $var6; $var2 = $this.$mc0; if (!$var2.$gameSettings.$thirdPersonView) { $var2 = $var2.$thePlayer; $var4 = $var2.$field_9290_aS; $var4 = $var4 + ($var4 - $var2.$field_9291_aR) * $var1; $var3 = $var2.$field_775_e; $var5 = $var3 + ($var2.$field_774_f - $var3) * $var1; $var3 = $var2.$field_9329_Q; $var6 = $var3 + ($var2.$field_9328_R - $var3) * $var1; $var4 = $var4 * 3.1415927410125732; olo_EaglerAdapterGL30_glTranslatef(nms_MathHelper_sin($var4) * $var5 * 0.5, -jl_Math_abs(nms_MathHelper_cos($var4) * $var5), 0.0); olo_EaglerAdapterGL30_glRotatef(nms_MathHelper_sin($var4) * $var5 * 3.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef(jl_Math_abs(nms_MathHelper_cos($var4 + 0.20000000298023224) * $var5) * 5.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var6, 1.0, 0.0, 0.0); } } function nms_EntityRenderer_orientCamera($this, $var1) { var $var23, $var2, $var17, $var13, $var15, $var3, $var5, $var7, $var9, $var11, $var12, $var20, $var22, var$15, $var19, $var21, $var24, var$19, var$20, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var24 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();var$15 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var17 = $thread.pop();$var2 = $thread.pop();$var23 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var23 = $this.$mc0; $var2 = $var23.$thePlayer; $var17 = $var2.$prevPosX; $var13 = $var2.$posX - $var17; $var15 = $var1; $var3 = $var17 + $var13 * $var15; $var17 = $var2.$prevPosY; $var5 = $var17 + ($var2.$posY - $var17) * $var15; $var17 = $var2.$prevPosZ; $var7 = $var17 + ($var2.$posZ - $var17) * $var15; if (!$var23.$gameSettings.$thirdPersonView) olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.10000000149011612)); else { $var9 = 4.0; $var11 = $var2.$rotationYaw; $var12 = $var2.$rotationPitch; if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(2)) { $var12 = $var12 + 180.0; $var9 = 6.0; } $var20 = $var11 / 180.0 * 3.1415927410125732; $var22 = -nms_MathHelper_sin($var20); var$15 = $var12 / 180.0 * 3.1415927410125732; $var13 = $var22 * nms_MathHelper_cos(var$15) * $var9; $var15 = nms_MathHelper_cos($var20) * nms_MathHelper_cos(var$15) * $var9; $var17 = -nms_MathHelper_sin(var$15) * $var9; $var19 = 0; $var13 = $var3 - $var13; $var17 = $var5 - $var17; $var15 = $var7 - $var15; if ($var19 < 8) { $var20 = (($var19 & 1) * 2 | 0) - 1 | 0; $var21 = (($var19 >> 1 & 1) * 2 | 0) - 1 | 0; $var22 = (($var19 >> 2 & 1) * 2 | 0) - 1 | 0; $var20 = $var20 * 0.10000000149011612; var$15 = $var21 * 0.10000000149011612; $var22 = $var22 * 0.10000000149011612; $var23 = $this.$mc0.$theWorld; $var24 = $var20; var$19 = $var3 + $var24; var$20 = var$15; var$21 = $var5 + var$20; var$22 = $var22; var$23 = nms_Vec3D_createVector(var$19, var$21, $var7 + var$22); var$24 = nms_Vec3D_createVector($var13 + $var24 + var$22, $var17 + var$20, $var15 + var$22); $ptr = 1; continue main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(2)) olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var2.$rotationPitch - $var12, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var2.$rotationYaw - $var11, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, -$var9); olo_EaglerAdapterGL30_glRotatef($var11 - $var2.$rotationYaw, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var12 - $var2.$rotationPitch, 1.0, 0.0, 0.0); } $var20 = $var2.$prevRotationPitch; olo_EaglerAdapterGL30_glRotatef($var20 + ($var2.$rotationPitch - $var20) * $var1, 1.0, 0.0, 0.0); $var20 = $var2.$prevRotationYaw; olo_EaglerAdapterGL30_glRotatef($var20 + ($var2.$rotationYaw - $var20) * $var1 + 180.0, 0.0, 1.0, 0.0); return; case 1: $tmp = nms_World_rayTraceBlocks($var23, var$23, var$24); if ($rt_suspending()) { break main; } $var23 = $tmp; if ($var23 !== null) { $var24 = nms_Vec3D_distanceTo($var23.$hitVec, nms_Vec3D_createVector($var3, $var5, $var7)); if ($var24 < $var9) $var9 = $var24; } $var19 = $var19 + 1 | 0; if ($var19 >= 8) { if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(2)) olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var2.$rotationPitch - $var12, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var2.$rotationYaw - $var11, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, -$var9); olo_EaglerAdapterGL30_glRotatef($var11 - $var2.$rotationYaw, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef($var12 - $var2.$rotationPitch, 1.0, 0.0, 0.0); $var20 = $var2.$prevRotationPitch; olo_EaglerAdapterGL30_glRotatef($var20 + ($var2.$rotationPitch - $var20) * $var1, 1.0, 0.0, 0.0); $var20 = $var2.$prevRotationYaw; olo_EaglerAdapterGL30_glRotatef($var20 + ($var2.$rotationYaw - $var20) * $var1 + 180.0, 0.0, 1.0, 0.0); return; } $var20 = (($var19 & 1) * 2 | 0) - 1 | 0; $var21 = (($var19 >> 1 & 1) * 2 | 0) - 1 | 0; $var22 = (($var19 >> 2 & 1) * 2 | 0) - 1 | 0; $var20 = $var20 * 0.10000000149011612; var$15 = $var21 * 0.10000000149011612; $var22 = $var22 * 0.10000000149011612; $var23 = $this.$mc0.$theWorld; $var24 = $var20; var$19 = $var3 + $var24; var$20 = var$15; var$21 = $var5 + var$20; var$22 = $var22; var$23 = nms_Vec3D_createVector(var$19, var$21, $var7 + var$22); var$24 = nms_Vec3D_createVector($var13 + $var24 + var$22, $var17 + var$20, $var15 + var$22); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var23, $var2, $var17, $var13, $var15, $var3, $var5, $var7, $var9, $var11, $var12, $var20, $var22, var$15, $var19, $var21, $var24, var$19, var$20, var$21, var$22, var$23, var$24, $ptr); } function nms_EntityRenderer_setupCameraTransform($this, $var1, $var2) { var var$3, $var5, var$5, var$6, $var3, $var4, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_1387_i = 256 >> $this.$mc0.$gameSettings.$renderDistance; olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); if ($this.$mc0.$gameSettings.$anaglyph) olo_EaglerAdapterGL30_glTranslatef(( -(($var2 * 2 | 0) - 1 | 0) | 0) * 0.07000000029802322, 0.0, 0.0); var$3 = $this.$mc0.$thePlayer; $var5 = 70.0; nms_Material_$callClinit(); var$5 = nms_Material_water; $ptr = 1; case 1: $tmp = nms_Entity_isInsideOfMaterial(var$3, var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6) $var5 = 60.0; if (var$3.$health <= 0) $var5 = $var5 / ((1.0 - 500.0 / (var$3.$deathTime + $var1 + 500.0)) * 2.0 + 1.0); var$5 = $this.$mc0; olo_EaglerAdapterGL30_gluPerspective($var5, var$5.$displayWidth / var$5.$displayHeight, 0.05000000074505806, $this.$field_1387_i); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); if ($this.$mc0.$gameSettings.$anaglyph) olo_EaglerAdapterGL30_glTranslatef((($var2 * 2 | 0) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); nms_EntityRenderer_hurtCameraEffect($this, $var1); if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_func_917_f($this, $var1); var$5 = $this.$mc0.$thePlayer; $var3 = var$5.$field_4133_d; $var4 = $var3 + (var$5.$field_4134_c - $var3) * $var1; if ($var4 > 0.0) { var$9 = $var4 * $var4; $var5 = 5.0 / (var$9 + 5.0) - $var4 * 0.03999999910593033; $var3 = $var5 * $var5; olo_EaglerAdapterGL30_glRotatef(var$9 * 1500.0, 0.0, 1.0, 1.0); olo_EaglerAdapterGL30_glScalef(1.0 / $var3, 1.0, 1.0); olo_EaglerAdapterGL30_glRotatef( -$var4 * $var4 * 1500.0, 0.0, 1.0, 1.0); } $ptr = 2; case 2: nms_EntityRenderer_orientCamera($this, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var5, var$5, var$6, $var3, $var4, var$9, $ptr); } function nms_EntityRenderer_func_4135_b($this, $var1, $var2) { var var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glLoadIdentity(); if ($this.$mc0.$gameSettings.$anaglyph) olo_EaglerAdapterGL30_glTranslatef((($var2 * 2 | 0) - 1 | 0) * 0.10000000149011612, 0.0, 0.0); olo_EaglerAdapterGL30_glPushMatrix(); nms_EntityRenderer_hurtCameraEffect($this, $var1); if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_func_917_f($this, $var1); a: { if (!$this.$mc0.$gameSettings.$thirdPersonView) { if (nlea_EaglerAdapterImpl2_getEventKey() != 33) break a; if (!nlea_EaglerAdapterImpl2_isKeyDown(2)) break a; } olo_EaglerAdapterGL30_glPopMatrix(); if ($this.$mc0.$gameSettings.$thirdPersonView) { if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_func_917_f($this, $var1); return; } var$3 = $this.$field_1395_a; olo_EaglerAdapterGL30_glDisable(3008); var$4 = var$3.$mc4; var$5 = var$4.$thePlayer; if (var$5.$fire <= 0 && !var$5.$field_9299_bv) { var$4 = var$3.$mc4.$thePlayer; $ptr = 3; continue main; } var$5 = var$4.$renderEngine; var$4 = $rt_s(198); $ptr = 2; continue main; } var$3 = $this.$field_1395_a; $ptr = 1; case 1: nms_ItemRenderer_renderItemInFirstPerson(var$3, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPopMatrix(); if ($this.$mc0.$gameSettings.$thirdPersonView) { if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_func_917_f($this, $var1); return; } var$3 = $this.$field_1395_a; olo_EaglerAdapterGL30_glDisable(3008); var$4 = var$3.$mc4; var$5 = var$4.$thePlayer; if (var$5.$fire <= 0 && !var$5.$field_9299_bv) { var$4 = var$3.$mc4.$thePlayer; $ptr = 3; continue main; } var$5 = var$4.$renderEngine; var$4 = $rt_s(198); $ptr = 2; case 2: $tmp = nms_RenderEngine_getTexture(var$5, var$4); if ($rt_suspending()) { break main; } $var2 = $tmp; olo_EaglerAdapterGL30_glBindTexture(3553, $var2); nms_Tessellator_$callClinit(); var$4 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 0.8999999761581421); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var2 = 0; while ($var2 < 2) { olo_EaglerAdapterGL30_glPushMatrix(); nms_Block_$callClinit(); var$6 = nms_Block_fire.$blockIndexInTexture + ($var2 * 16 | 0) | 0; var$7 = (var$6 & 15) << 4; var$6 = var$6 & 240; var$8 = var$7; var$9 = var$8 / 256.0; var$10 = (var$8 + 15.989999771118164) / 256.0; var$11 = var$6; var$8 = var$11 / 256.0; var$11 = (var$11 + 15.989999771118164) / 256.0; var$6 = ($var2 * 2 | 0) - 1 | 0; olo_EaglerAdapterGL30_glTranslatef(( -var$6 | 0) * 0.23999999463558197, (-0.30000001192092896), 0.0); olo_EaglerAdapterGL30_glRotatef(var$6 * 10.0, 0.0, 1.0, 0.0); nms_Tessellator_startDrawingQuads(var$4); var$12 = var$10; var$13 = var$11; nms_Tessellator_addVertexWithUV(var$4, (-0.5), (-0.5), (-0.5), var$12, var$13); var$14 = var$9; nms_Tessellator_addVertexWithUV(var$4, 0.5, (-0.5), (-0.5), var$14, var$13); var$13 = var$8; nms_Tessellator_addVertexWithUV(var$4, 0.5, 0.5, (-0.5), var$14, var$13); nms_Tessellator_addVertexWithUV(var$4, (-0.5), 0.5, (-0.5), var$12, var$13); nms_Tessellator_draw(var$4); olo_EaglerAdapterGL30_glPopMatrix(); $var2 = $var2 + 1 | 0; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); var$4 = var$3.$mc4.$thePlayer; $ptr = 3; case 3: $tmp = nms_Entity_func_345_I(var$4); if ($rt_suspending()) { break main; } $var2 = $tmp; if (!$var2) { var$4 = var$3.$mc4.$thePlayer; nms_Material_$callClinit(); var$5 = nms_Material_water; $ptr = 4; continue main; } $var2 = nms_MathHelper_floor_double(var$3.$mc4.$thePlayer.$posX); var$6 = nms_MathHelper_floor_double(var$3.$mc4.$thePlayer.$posY); var$7 = nms_MathHelper_floor_double(var$3.$mc4.$thePlayer.$posZ); var$4 = var$3.$mc4.$renderEngine; var$5 = $rt_s(198); $ptr = 5; continue main; case 4: $tmp = nms_Entity_isInsideOfMaterial(var$4, var$5); if ($rt_suspending()) { break main; } $var2 = $tmp; if (!$var2) { olo_EaglerAdapterGL30_glEnable(3008); nms_EntityRenderer_hurtCameraEffect($this, $var1); if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_func_917_f($this, $var1); return; } var$4 = var$3.$mc4.$renderEngine; var$5 = $rt_s(230); $ptr = 7; continue main; case 5: $tmp = nms_RenderEngine_getTexture(var$4, var$5); if ($rt_suspending()) { break main; } var$15 = $tmp; olo_EaglerAdapterGL30_glBindTexture(3553, var$15); var$4 = var$3.$mc4.$theWorld; $ptr = 6; case 6: $tmp = nms_World_getBlockId(var$4, $var2, var$6, var$7); if ($rt_suspending()) { break main; } $var2 = $tmp; nms_Block_$callClinit(); var$16 = nms_Block_blocksList.data; if (var$16[$var2] === null) { var$4 = var$3.$mc4.$thePlayer; nms_Material_$callClinit(); var$5 = nms_Material_water; $ptr = 4; continue main; } $var2 = var$16[$var2].$getBlockTextureFromSide(2); nms_Tessellator_$callClinit(); var$4 = nms_Tessellator_instance; var$5 = var$3.$mc4.$thePlayer; $ptr = 9; continue main; case 7: $tmp = nms_RenderEngine_getTexture(var$4, var$5); if ($rt_suspending()) { break main; } $var2 = $tmp; olo_EaglerAdapterGL30_glBindTexture(3553, $var2); $ptr = 8; case 8: nms_ItemRenderer_renderWarpedTextureOverlay(var$3, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(3008); nms_EntityRenderer_hurtCameraEffect($this, $var1); if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_func_917_f($this, $var1); return; case 9: nms_Entity_getEntityBrightness(var$5, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glColor4f(0.10000000149011612, 0.10000000149011612, 0.10000000149011612, 0.5); olo_EaglerAdapterGL30_glPushMatrix(); var$9 = $var2 % 16 | 0; var$10 = var$9 / 256.0 - 0.0078125; var$9 = (var$9 + 15.989999771118164) / 256.0 + 0.0078125; var$11 = $var2 / 16 | 0; var$17 = var$11 / 256.0 - 0.0078125; var$8 = (var$11 + 15.989999771118164) / 256.0 + 0.0078125; nms_Tessellator_startDrawingQuads(var$4); var$18 = var$9; var$19 = var$8; nms_Tessellator_addVertexWithUV(var$4, (-1.0), (-1.0), (-0.5), var$18, var$19); var$20 = var$10; nms_Tessellator_addVertexWithUV(var$4, 1.0, (-1.0), (-0.5), var$20, var$19); var$19 = var$17; nms_Tessellator_addVertexWithUV(var$4, 1.0, 1.0, (-0.5), var$20, var$19); nms_Tessellator_addVertexWithUV(var$4, (-1.0), 1.0, (-0.5), var$18, var$19); nms_Tessellator_draw(var$4); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); var$4 = var$3.$mc4.$thePlayer; nms_Material_$callClinit(); var$5 = nms_Material_water; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); } function nms_EntityRenderer_func_4136_b($this, $var1) { var var$2, $var7, var$4, $var8, $var6, $var2, $var3, $var4, $var5, $var9, $var10, var$13, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();var$4 = $thread.pop();$var7 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nlea_EaglerAdapterImpl2_isFocused()) $this.$field_1384_l = jl_System_currentTimeMillis(); else if (Long_gt(Long_sub(jl_System_currentTimeMillis(), $this.$field_1384_l), Long_fromInt(500))) { var$2 = $this.$mc0; $ptr = 1; continue main; } var$2 = $this.$mc0; if (var$2.$field_6289_L) { $var7 = var$2.$mouseHelper; var$4 = nlea_EaglerAdapterImpl2_mouseDX; nlea_EaglerAdapterImpl2_mouseDX = 0.0; $var8 = var$4 | 0; $var7.$field_1114_a = $var8; var$4 = nlea_EaglerAdapterImpl2_mouseDY; nlea_EaglerAdapterImpl2_mouseDY = 0.0; $var6 = var$4 | 0; $var7.$field_1113_b = $var6; $var7 = var$2.$gameSettings; $var2 = $var7.$mouseSensitivity * 0.6000000238418579 + 0.20000000298023224; $var3 = $var2 * $var2 * $var2 * 8.0; $var4 = $var8 * $var3; $var5 = $var6 * $var3; $var6 = 1; if ($var7.$invertMouse) $var6 = (-1); $var7 = var$2.$thePlayer; $var3 = $var5 * $var6; $var5 = $var7.$rotationPitch; $var2 = $var7.$rotationYaw; $var4 = $var2 + $var4 * 0.15; $var7.$rotationYaw = $var4; $var3 = $var5 - $var3 * 0.15; $var7.$rotationPitch = $var3; if ($var3 < (-90.0)) $var7.$rotationPitch = (-90.0); if ($var7.$rotationPitch > 90.0) $var7.$rotationPitch = 90.0; $var7.$prevRotationPitch = $var7.$prevRotationPitch + $var7.$rotationPitch - $var5; $var7.$prevRotationYaw = $var7.$prevRotationYaw + $var4 - $var2; } if (!var$2.$field_6307_v) { $var7 = nms_ScaledResolution__init_(var$2.$displayWidth, var$2.$displayHeight); $var8 = $var7.$scaledWidth; $var9 = $var7.$scaledHeight; $var6 = $rt_imul(nlea_EaglerAdapterImpl2_mouseX, $var8); var$2 = $this.$mc0; $var8 = var$2.$displayWidth; $var10 = $var6 / $var8 | 0; $var6 = $rt_imul(nlea_EaglerAdapterImpl2_mouseY, $var9); var$13 = var$2.$displayHeight; $var11 = ($var9 - ($var6 / var$13 | 0) | 0) - 1 | 0; if (var$2.$theWorld !== null) { $ptr = 2; continue main; } olo_EaglerAdapterGL30_glViewport(0, 0, $var8, var$13); 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(); nms_EntityRenderer_func_905_b($this); if ($this.$mc0.$currentScreen !== null) { olo_EaglerAdapterGL30_glClear(256); var$2 = $this.$mc0.$currentScreen; $ptr = 3; continue main; } } return; case 1: nmc_Minecraft_func_6252_g(var$2); if ($rt_suspending()) { break main; } var$2 = $this.$mc0; if (var$2.$field_6289_L) { $var7 = var$2.$mouseHelper; var$4 = nlea_EaglerAdapterImpl2_mouseDX; nlea_EaglerAdapterImpl2_mouseDX = 0.0; $var8 = var$4 | 0; $var7.$field_1114_a = $var8; var$4 = nlea_EaglerAdapterImpl2_mouseDY; nlea_EaglerAdapterImpl2_mouseDY = 0.0; $var6 = var$4 | 0; $var7.$field_1113_b = $var6; $var7 = var$2.$gameSettings; $var2 = $var7.$mouseSensitivity * 0.6000000238418579 + 0.20000000298023224; $var3 = $var2 * $var2 * $var2 * 8.0; $var4 = $var8 * $var3; $var5 = $var6 * $var3; $var6 = 1; if ($var7.$invertMouse) $var6 = (-1); $var7 = var$2.$thePlayer; $var3 = $var5 * $var6; $var5 = $var7.$rotationPitch; $var2 = $var7.$rotationYaw; $var4 = $var2 + $var4 * 0.15; $var7.$rotationYaw = $var4; $var3 = $var5 - $var3 * 0.15; $var7.$rotationPitch = $var3; if ($var3 < (-90.0)) $var7.$rotationPitch = (-90.0); if ($var7.$rotationPitch > 90.0) $var7.$rotationPitch = 90.0; $var7.$prevRotationPitch = $var7.$prevRotationPitch + $var7.$rotationPitch - $var5; $var7.$prevRotationYaw = $var7.$prevRotationYaw + $var4 - $var2; } if (!var$2.$field_6307_v) { $var7 = nms_ScaledResolution__init_(var$2.$displayWidth, var$2.$displayHeight); $var8 = $var7.$scaledWidth; $var9 = $var7.$scaledHeight; $var6 = $rt_imul(nlea_EaglerAdapterImpl2_mouseX, $var8); var$2 = $this.$mc0; $var8 = var$2.$displayWidth; $var10 = $var6 / $var8 | 0; $var6 = $rt_imul(nlea_EaglerAdapterImpl2_mouseY, $var9); var$13 = var$2.$displayHeight; $var11 = ($var9 - ($var6 / var$13 | 0) | 0) - 1 | 0; if (var$2.$theWorld !== null) { $ptr = 2; continue main; } olo_EaglerAdapterGL30_glViewport(0, 0, $var8, var$13); 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(); nms_EntityRenderer_func_905_b($this); if ($this.$mc0.$currentScreen !== null) { olo_EaglerAdapterGL30_glClear(256); var$2 = $this.$mc0.$currentScreen; $ptr = 3; continue main; } } return; case 2: nms_EntityRenderer_func_4134_c($this, $var1); if ($rt_suspending()) { break main; } if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(2)) { if ($this.$mc0.$currentScreen === null) return; olo_EaglerAdapterGL30_glClear(256); var$2 = $this.$mc0.$currentScreen; $ptr = 3; continue main; } var$2 = $this.$mc0; $var7 = var$2.$ingameGUI; $var6 = var$2.$currentScreen === null ? 0 : 1; $ptr = 4; continue main; case 3: var$2.$drawScreen($var10, $var11, $var1); if ($rt_suspending()) { break main; } return; case 4: nms_GuiIngame_renderGameOverlay($var7, $var1, $var6, $var10, $var11); if ($rt_suspending()) { break main; } if ($this.$mc0.$currentScreen === null) return; olo_EaglerAdapterGL30_glClear(256); var$2 = $this.$mc0.$currentScreen; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var7, var$4, $var8, $var6, $var2, $var3, $var4, $var5, $var9, $var10, var$13, $var11, $ptr); } function nms_EntityRenderer_func_4134_c($this, $var1) { var $var12, $var2, $var3, $var4, $var7, $var9, var$8, $var5, $var11, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var12 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityRenderer_func_910_a($this, $var1); if ($rt_suspending()) { break main; } $var12 = $this.$mc0; $var2 = $var12.$thePlayer; $var3 = $var12.$field_6323_f; $var4 = $var12.$field_6321_h; $var7 = $var2.$lastTickPosX; $var9 = $var2.$posX - $var7; var$8 = $var1; $var5 = $var7 + $var9 * var$8; $var7 = $var2.$lastTickPosY; $var7 = $var7 + ($var2.$posY - $var7) * var$8; $var9 = $var2.$lastTickPosZ; $var9 = $var9 + ($var2.$posZ - $var9) * var$8; $var11 = 0; if ($var11 >= 2) { olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); return; } if ($this.$mc0.$gameSettings.$anaglyph) { if ($var11) olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); else olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } $var12 = $this.$mc0; olo_EaglerAdapterGL30_glViewport(0, 0, $var12.$displayWidth, $var12.$displayHeight); $ptr = 2; case 2: nms_EntityRenderer_updateFogColor($this, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glClear(16640); olo_EaglerAdapterGL30_glEnable(2884); $ptr = 3; case 3: nms_EntityRenderer_setupCameraTransform($this, $var1, $var11); if ($rt_suspending()) { break main; } nms_ClippingHelperImplementation_func_1155_a(); if ($this.$mc0.$gameSettings.$renderDistance < 2) { var$11 = (-1); $ptr = 5; continue main; } olo_EaglerAdapterGL30_glEnable(2912); var$11 = 1; $ptr = 4; case 4: nms_EntityRenderer_func_4140_a($this, var$11); if ($rt_suspending()) { break main; } $var12 = nms_Frustrum__init_0(); $var12.$field_592_b = $var5; $var12.$field_595_c = $var7; $var12.$field_594_d = $var9; var$12 = $this.$mc0.$field_6323_f; var$13 = 0; while (true) { var$14 = var$12.$field_1444_o.data; if (var$13 >= var$14.length) break; var$15 = var$14[var$13]; if (!var$15.$field_1739_E) var$11 = 0; else { var$16 = var$15.$field_1748_p.data; var$11 = var$16[0] && var$16[1] ? 1 : 0; } if (!var$11 && !(var$14[var$13].$field_1749_o && (var$13 + var$12.$field_1449_j | 0) & 15)) { var$15 = var$14[var$13]; var$15.$field_1749_o = nms_Frustrum_func_342_a($var12, var$15.$field_1736_v); } var$13 = var$13 + 1 | 0; } var$12.$field_1449_j = var$12.$field_1449_j + 1 | 0; var$12 = $this.$mc0.$field_6323_f; var$11 = 0; $ptr = 7; continue main; case 5: nms_EntityRenderer_func_4140_a($this, var$11); if ($rt_suspending()) { break main; } $ptr = 6; case 6: nms_RenderGlobal_func_4142_a($var3, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(2912); var$11 = 1; $ptr = 4; continue main; case 7: nms_RenderGlobal_func_948_a(var$12, $var2, var$11); if ($rt_suspending()) { break main; } var$11 = 0; $ptr = 8; case 8: nms_EntityRenderer_func_4140_a($this, var$11); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(2912); var$11 = 3553; var$12 = $this.$mc0.$renderEngine; var$15 = $rt_s(198); $ptr = 9; case 9: $tmp = nms_RenderEngine_getTexture(var$12, var$15); if ($rt_suspending()) { break main; } var$13 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$11, var$13); nms_RenderHelper_disableStandardItemLighting(); nms_RenderGlobal_func_943_a($var3, $var2, 0, var$8); nms_RenderHelper_enableStandardItemLighting(); var$12 = nms_EntityLiving_getPosition($var2, $var1); $ptr = 10; case 10: nms_RenderGlobal_func_951_a($var3, var$12, $var12, $var1); if ($rt_suspending()) { break main; } var$11 = 3; if (ju_ArrayList_size($var4.$field_1728_b.data[var$11])) { nms_Tessellator_$callClinit(); $var12 = nms_Tessellator_instance; var$13 = 0; if (var$13 < ju_ArrayList_size($var4.$field_1728_b.data[var$11])) { var$12 = ju_ArrayList_get($var4.$field_1728_b.data[var$11], var$13); var$17 = 0.0; var$18 = 0.0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 19; continue main; } } nms_RenderHelper_disableStandardItemLighting(); var$11 = 0; $ptr = 11; case 11: nms_EntityRenderer_func_4140_a($this, var$11); if ($rt_suspending()) { break main; } $ptr = 12; case 12: nms_EffectRenderer_func_1189_a($var4, $var2, $var1); if ($rt_suspending()) { break main; } if ($this.$mc0.$objectMouseOver !== null) { nms_Material_$callClinit(); $var12 = nms_Material_water; $ptr = 15; continue main; } olo_EaglerAdapterGL30_glBlendFunc(770, 771); var$11 = 0; $ptr = 13; case 13: nms_EntityRenderer_func_4140_a($this, var$11); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glDisable(2884); var$11 = 3553; $var12 = $this.$mc0.$renderEngine; var$12 = $rt_s(198); $ptr = 14; case 14: $tmp = nms_RenderEngine_getTexture($var12, var$12); if ($rt_suspending()) { break main; } var$13 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$11, var$13); nms_RenderGlobal_func_943_a($var3, $var2, 1, var$8); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glDisable(3042); if ($this.$mc0.$objectMouseOver !== null) { nms_Material_$callClinit(); $var12 = nms_Material_water; $ptr = 16; continue main; } olo_EaglerAdapterGL30_glDisable(2912); var$11 = 0; $ptr = 20; continue main; case 15: $tmp = nms_Entity_isInsideOfMaterial($var2, $var12); if ($rt_suspending()) { break main; } var$11 = $tmp; if (!var$11) { olo_EaglerAdapterGL30_glBlendFunc(770, 771); var$11 = 0; $ptr = 13; continue main; } olo_EaglerAdapterGL30_glDisable(3008); $var12 = $this.$mc0.$objectMouseOver; var$11 = 0; var$12 = nms_InventoryPlayer_getCurrentItem($var2.$inventory0); $ptr = 17; continue main; case 16: $tmp = nms_Entity_isInsideOfMaterial($var2, $var12); if ($rt_suspending()) { break main; } var$11 = $tmp; if (var$11) { olo_EaglerAdapterGL30_glDisable(2912); var$11 = 0; $ptr = 20; continue main; } olo_EaglerAdapterGL30_glDisable(3008); $var12 = $this.$mc0.$objectMouseOver; var$11 = 0; var$12 = nms_InventoryPlayer_getCurrentItem($var2.$inventory0); $ptr = 24; continue main; case 17: nms_RenderGlobal_func_959_a($var3, $var2, $var12, var$11, var$12, $var1); if ($rt_suspending()) { break main; } $var12 = $this.$mc0.$objectMouseOver; var$11 = 0; var$12 = nms_InventoryPlayer_getCurrentItem($var2.$inventory0); $ptr = 18; case 18: nms_RenderGlobal_drawSelectionBox($var3, $var2, $var12, var$11, var$12, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glBlendFunc(770, 771); var$11 = 0; $ptr = 13; continue main; case 19: var$12.$func_406_a($var12, $var1, var$17, var$18, var$19, var$20, var$21); if ($rt_suspending()) { break main; } var$13 = var$13 + 1 | 0; if (var$13 >= ju_ArrayList_size($var4.$field_1728_b.data[var$11])) { nms_RenderHelper_disableStandardItemLighting(); var$11 = 0; $ptr = 11; continue main; } var$12 = ju_ArrayList_get($var4.$field_1728_b.data[var$11], var$13); var$17 = 0.0; var$18 = 0.0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; continue main; case 20: nms_EntityRenderer_func_4140_a($this, var$11); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(2912); $ptr = 21; case 21: nms_RenderGlobal_func_4141_b($var3, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glDisable(2912); var$11 = 1; $ptr = 22; case 22: nms_EntityRenderer_func_4140_a($this, var$11); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glClear(256); $ptr = 23; case 23: nms_EntityRenderer_func_4135_b($this, $var1, $var11); if ($rt_suspending()) { break main; } if (!$this.$mc0.$gameSettings.$anaglyph) return; $var11 = $var11 + 1 | 0; if ($var11 >= 2) { olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); return; } if ($this.$mc0.$gameSettings.$anaglyph) { if ($var11) olo_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); else olo_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } $var12 = $this.$mc0; olo_EaglerAdapterGL30_glViewport(0, 0, $var12.$displayWidth, $var12.$displayHeight); $ptr = 2; continue main; case 24: nms_RenderGlobal_func_959_a($var3, $var2, $var12, var$11, var$12, $var1); if ($rt_suspending()) { break main; } $var12 = $this.$mc0.$objectMouseOver; var$11 = 0; var$12 = nms_InventoryPlayer_getCurrentItem($var2.$inventory0); $ptr = 25; case 25: nms_RenderGlobal_drawSelectionBox($var3, $var2, $var12, var$11, var$12, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glDisable(2912); var$11 = 0; $ptr = 20; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var12, $var2, $var3, $var4, $var7, $var9, var$8, $var5, $var11, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); } function nms_EntityRenderer_func_905_b($this) { var $var1, var$2, $var2, $var3; $var1 = new nms_ScaledResolution; var$2 = $this.$mc0; nms_ScaledResolution__init_0($var1, var$2.$displayWidth, var$2.$displayHeight); $var2 = $var1.$scaledWidth; $var3 = $var1.$scaledHeight; olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glOrtho(0.0, $var2, $var3, 0.0, 1000.0, 3000.0); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-2000.0)); } function nms_EntityRenderer_updateFogColor($this, $var1) { var $var5, $var2, $var3, $var12, $var6, $var7, $var8, $var4, $var9, $var10, $var11, var$13, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var4 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var12 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var5 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$mc0; $var2 = $var5.$theWorld; $var3 = $var5.$thePlayer; $var12 = 1.0 - jl_Math_pow(1.0 / (4 - $var5.$gameSettings.$renderDistance | 0), 0.25); $var5 = nms_World_func_4079_a($var2, $this.$mc0.$thePlayer, $var1); $var6 = $var5.$xCoord; $var7 = $var5.$yCoord; $var8 = $var5.$zCoord; $var4 = nms_World_getCelestialAngle($var2, $var1); $var9 = $var2.$worldProvider.$func_4096_a($var4, $var1); $var4 = $var9.$xCoord; $this.$field_4270_e = $var4; $var10 = $var9.$yCoord; $this.$field_4269_f = $var10; $var11 = $var9.$zCoord; $this.$field_4268_g = $var11; $this.$field_4270_e = $var4 + ($var6 - $var4) * $var12; $this.$field_4269_f = $var10 + ($var7 - $var10) * $var12; $this.$field_4268_g = $var11 + ($var8 - $var11) * $var12; nms_Material_$callClinit(); $var5 = nms_Material_water; $ptr = 1; case 1: $tmp = nms_Entity_isInsideOfMaterial($var3, $var5); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) { $this.$field_4270_e = 0.019999999552965164; $this.$field_4269_f = 0.019999999552965164; $this.$field_4268_g = 0.20000000298023224; $var6 = $this.$field_1382_n; $var10 = $var6 + ($this.$field_1381_o - $var6) * $var1; $var1 = $this.$field_4270_e * $var10; $this.$field_4270_e = $var1; $var6 = $this.$field_4269_f * $var10; $this.$field_4269_f = $var6; $var7 = $this.$field_4268_g * $var10; $this.$field_4268_g = $var7; if ($this.$mc0.$gameSettings.$anaglyph) { $var1 = $var1 * 30.0; $var11 = ($var1 + $var6 * 59.0 + $var7 * 11.0) / 100.0; $var12 = ($var1 + $var6 * 70.0) / 100.0; $var13 = ($var1 + $var7 * 70.0) / 100.0; $this.$field_4270_e = $var11; $this.$field_4269_f = $var12; $this.$field_4268_g = $var13; } olo_EaglerAdapterGL30_glClearColor($this.$field_4270_e, $this.$field_4269_f, $this.$field_4268_g, 0.0); return; } $var5 = nms_Material_lava; $ptr = 2; case 2: $tmp = nms_Entity_isInsideOfMaterial($var3, $var5); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) { $this.$field_4270_e = 0.6000000238418579; $this.$field_4269_f = 0.10000000149011612; $this.$field_4268_g = 0.0; } $var6 = $this.$field_1382_n; $var10 = $var6 + ($this.$field_1381_o - $var6) * $var1; $var1 = $this.$field_4270_e * $var10; $this.$field_4270_e = $var1; $var6 = $this.$field_4269_f * $var10; $this.$field_4269_f = $var6; $var7 = $this.$field_4268_g * $var10; $this.$field_4268_g = $var7; if ($this.$mc0.$gameSettings.$anaglyph) { $var1 = $var1 * 30.0; $var11 = ($var1 + $var6 * 59.0 + $var7 * 11.0) / 100.0; $var12 = ($var1 + $var6 * 70.0) / 100.0; $var13 = ($var1 + $var7 * 70.0) / 100.0; $this.$field_4270_e = $var11; $this.$field_4269_f = $var12; $this.$field_4268_g = $var13; } olo_EaglerAdapterGL30_glClearColor($this.$field_4270_e, $this.$field_4269_f, $this.$field_4268_g, 0.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var5, $var2, $var3, $var12, $var6, $var7, $var8, $var4, $var9, $var10, $var11, var$13, $var13, $ptr); } function nms_EntityRenderer_func_4140_a($this, $var1) { var $var2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$mc0.$thePlayer; var$3 = $this.$field_4270_e; var$4 = $this.$field_4269_f; var$5 = $this.$field_4268_g; jn_Buffer_clear($this.$field_1392_d); jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put($this.$field_1392_d, var$3), var$4), var$5), 1.0); jn_Buffer_flip($this.$field_1392_d); var$6 = $this.$field_1392_d; olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_fogColorR = jn_FloatBufferImpl_get(var$6); olo_EaglerAdapterGL30_fogColorG = jn_FloatBufferImpl_get(var$6); olo_EaglerAdapterGL30_fogColorB = jn_FloatBufferImpl_get(var$6); olo_EaglerAdapterGL30_fogColorA = jn_FloatBufferImpl_get(var$6); olo_EaglerAdapterGL30_glNormal3f(0.0, (-1.0), 0.0); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_Material_$callClinit(); var$6 = nms_Material_water; $ptr = 1; case 1: $tmp = nms_Entity_isInsideOfMaterial($var2, var$6); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) { olo_EaglerAdapterGL30_glFogi(2917, 2048); olo_EaglerAdapterGL30_glFogf(2914, 0.10000000149011612); olo_EaglerAdapterGL30_glEnable(2903); return; } var$6 = nms_Material_lava; $ptr = 2; case 2: $tmp = nms_Entity_isInsideOfMaterial($var2, var$6); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) { olo_EaglerAdapterGL30_glFogi(2917, 2048); olo_EaglerAdapterGL30_glFogf(2914, 2.0); } else { olo_EaglerAdapterGL30_glFogi(2917, 9729); olo_EaglerAdapterGL30_glFogf(2915, $this.$field_1387_i * 0.25); olo_EaglerAdapterGL30_glFogf(2916, $this.$field_1387_i); if ($var1 < 0) { olo_EaglerAdapterGL30_glFogf(2915, 0.0); olo_EaglerAdapterGL30_glFogf(2916, $this.$field_1387_i * 0.800000011920929); } if ($this.$mc0.$theWorld.$worldProvider.$field_4220_c) olo_EaglerAdapterGL30_glFogf(2915, 0.0); } olo_EaglerAdapterGL30_glEnable(2903); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_ModelBase() { var a = this; jl_Object.call(a); a.$field_1244_k = 0.0; a.$field_1243_l = 0; } function nms_ModelBase__init_($this) { $this.$field_1243_l = 0; } function nms_ModelBiped() { var a = this; nms_ModelBase.call(a); a.$bipedHead = null; a.$field_1285_b = null; a.$field_1284_c = null; a.$bipedRightArm = null; a.$bipedLeftArm = null; a.$bipedRightLeg = null; a.$bipedLeftLeg = null; a.$field_1279_h = 0; a.$field_1278_i = 0; a.$field_1277_j = 0; } function nms_ModelBiped__init_1() { var var_0 = new nms_ModelBiped(); nms_ModelBiped__init_(var_0); return var_0; } function nms_ModelBiped__init_0(var_0) { var var_1 = new nms_ModelBiped(); nms_ModelBiped__init_2(var_1, var_0); return var_1; } function nms_ModelBiped__init_3(var_0, var_1) { var var_2 = new nms_ModelBiped(); nms_ModelBiped__init_4(var_2, var_0, var_1); return var_2; } function nms_ModelBiped__init_($this) { nms_ModelBiped__init_2($this, 0.0); } function nms_ModelBiped__init_2($this, $var1) { nms_ModelBiped__init_4($this, $var1, 0.0); } function nms_ModelBiped__init_4($this, $var1, $var2) { var var$3, var$4; nms_ModelBase__init_($this); $this.$field_1279_h = 0; $this.$field_1278_i = 0; $this.$field_1277_j = 0; var$3 = nms_ModelRenderer__init_(0, 0); $this.$bipedHead = var$3; nms_ModelRenderer_addBox(var$3, (-4.0), (-8.0), (-4.0), 8, 8, 8, $var1); var$3 = $this.$bipedHead; var$4 = 0.0 + $var2; nms_ModelRenderer_setPosition(var$3, 0.0, var$4, 0.0); var$3 = nms_ModelRenderer__init_(32, 0); $this.$field_1285_b = var$3; nms_ModelRenderer_addBox(var$3, (-4.0), (-8.0), (-4.0), 8, 8, 8, $var1 + 0.5); nms_ModelRenderer_setPosition($this.$field_1285_b, 0.0, var$4, 0.0); var$3 = nms_ModelRenderer__init_(16, 16); $this.$field_1284_c = var$3; nms_ModelRenderer_addBox(var$3, (-4.0), 0.0, (-2.0), 8, 12, 4, $var1); nms_ModelRenderer_setPosition($this.$field_1284_c, 0.0, var$4, 0.0); var$3 = nms_ModelRenderer__init_(40, 16); $this.$bipedRightArm = var$3; nms_ModelRenderer_addBox(var$3, (-3.0), (-2.0), (-2.0), 4, 12, 4, $var1); var$3 = $this.$bipedRightArm; var$4 = 2.0 + $var2; nms_ModelRenderer_setPosition(var$3, (-5.0), var$4, 0.0); var$3 = nms_ModelRenderer__init_(40, 16); $this.$bipedLeftArm = var$3; var$3.$mirror = 1; nms_ModelRenderer_addBox(var$3, (-1.0), (-2.0), (-2.0), 4, 12, 4, $var1); nms_ModelRenderer_setPosition($this.$bipedLeftArm, 5.0, var$4, 0.0); var$3 = nms_ModelRenderer__init_(0, 16); $this.$bipedRightLeg = var$3; nms_ModelRenderer_addBox(var$3, (-2.0), 0.0, (-2.0), 4, 12, 4, $var1); var$3 = $this.$bipedRightLeg; $var2 = 12.0 + $var2; nms_ModelRenderer_setPosition(var$3, (-2.0), $var2, 0.0); var$3 = nms_ModelRenderer__init_(0, 16); $this.$bipedLeftLeg = var$3; var$3.$mirror = 1; nms_ModelRenderer_addBox(var$3, (-2.0), 0.0, (-2.0), 4, 12, 4, $var1); nms_ModelRenderer_setPosition($this.$bipedLeftLeg, 2.0, $var2, 0.0); } function nms_ModelBiped_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { $this.$setRotationAngles($var1, $var2, $var3, $var4, $var5, $var6); nms_ModelRenderer_render($this.$bipedHead, $var6); nms_ModelRenderer_render($this.$field_1284_c, $var6); nms_ModelRenderer_render($this.$bipedRightArm, $var6); nms_ModelRenderer_render($this.$bipedLeftArm, $var6); nms_ModelRenderer_render($this.$bipedRightLeg, $var6); nms_ModelRenderer_render($this.$bipedLeftLeg, $var6); nms_ModelRenderer_render($this.$field_1285_b, $var6); } function nms_ModelBiped_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8, var$9, $var7, $var8, $var9; var$7 = $this.$bipedHead; $var4 = $var4 / 57.2957763671875; var$7.$rotateAngleY = $var4; $var5 = $var5 / 57.2957763671875; var$7.$rotateAngleX = $var5; var$7 = $this.$field_1285_b; var$7.$rotateAngleY = $var4; var$7.$rotateAngleX = $var5; var$7 = $this.$bipedRightArm; $var1 = $var1 * 0.6661999821662903; $var4 = $var1 + 3.1415927410125732; var$7.$rotateAngleX = nms_MathHelper_cos($var4) * 2.0 * $var2 * 0.5; $this.$bipedLeftArm.$rotateAngleX = nms_MathHelper_cos($var1) * 2.0 * $var2 * 0.5; $this.$bipedRightArm.$rotateAngleZ = 0.0; $this.$bipedLeftArm.$rotateAngleZ = 0.0; $this.$bipedRightLeg.$rotateAngleX = nms_MathHelper_cos($var1) * 1.399999976158142 * $var2; $this.$bipedLeftLeg.$rotateAngleX = nms_MathHelper_cos($var4) * 1.399999976158142 * $var2; var$8 = $this.$bipedRightLeg; var$8.$rotateAngleY = 0.0; var$9 = $this.$bipedLeftLeg; var$9.$rotateAngleY = 0.0; if ($this.$field_1243_l) { var$7 = $this.$bipedRightArm; var$7.$rotateAngleX = var$7.$rotateAngleX + (-0.6283185482025146); var$7 = $this.$bipedLeftArm; var$7.$rotateAngleX = var$7.$rotateAngleX + (-0.6283185482025146); var$8.$rotateAngleX = (-1.2566370964050293); var$9.$rotateAngleX = (-1.2566370964050293); var$8.$rotateAngleY = 0.3141592741012573; var$9.$rotateAngleY = (-0.3141592741012573); } if ($this.$field_1279_h) { var$7 = $this.$bipedLeftArm; var$7.$rotateAngleX = var$7.$rotateAngleX * 0.5 - 0.3141592741012573; } if ($this.$field_1278_i) { var$7 = $this.$bipedRightArm; var$7.$rotateAngleX = var$7.$rotateAngleX * 0.5 - 0.3141592741012573; } $this.$bipedRightArm.$rotateAngleY = 0.0; $this.$bipedLeftArm.$rotateAngleY = 0.0; $var7 = $this.$field_1244_k; if ($var7 > (-9990.0)) { $this.$field_1284_c.$rotateAngleY = nms_MathHelper_sin(nms_MathHelper_sqrt_float($var7) * 3.1415927410125732 * 2.0) * 0.20000000298023224; $this.$bipedRightArm.$offsetZ = nms_MathHelper_sin($this.$field_1284_c.$rotateAngleY) * 5.0; $this.$bipedRightArm.$offsetX = -nms_MathHelper_cos($this.$field_1284_c.$rotateAngleY) * 5.0; $this.$bipedLeftArm.$offsetZ = -nms_MathHelper_sin($this.$field_1284_c.$rotateAngleY) * 5.0; $this.$bipedLeftArm.$offsetX = nms_MathHelper_cos($this.$field_1284_c.$rotateAngleY) * 5.0; var$7 = $this.$bipedRightArm; $var1 = var$7.$rotateAngleY; var$8 = $this.$field_1284_c; var$7.$rotateAngleY = $var1 + var$8.$rotateAngleY; var$7 = $this.$bipedLeftArm; var$7.$rotateAngleY = var$7.$rotateAngleY + var$8.$rotateAngleY; var$7.$rotateAngleX = var$7.$rotateAngleX + var$8.$rotateAngleY; $var1 = 1.0 - $this.$field_1244_k; $var1 = $var1 * $var1; $var8 = nms_MathHelper_sin((1.0 - $var1 * $var1) * 3.1415927410125732); $var9 = nms_MathHelper_sin($this.$field_1244_k * 3.1415927410125732) * -($this.$bipedHead.$rotateAngleX - 0.699999988079071) * 0.75; var$7 = $this.$bipedRightArm; var$7.$rotateAngleX = var$7.$rotateAngleX - ($var8 * 1.2 + $var9); var$7.$rotateAngleY = var$7.$rotateAngleY + $this.$field_1284_c.$rotateAngleY * 2.0; var$7.$rotateAngleZ = nms_MathHelper_sin($this.$field_1244_k * 3.1415927410125732) * (-0.4000000059604645); } if (!$this.$field_1277_j) { $this.$field_1284_c.$rotateAngleX = 0.0; var$7 = $this.$bipedRightLeg; var$7.$offsetZ = 0.0; var$8 = $this.$bipedLeftLeg; var$8.$offsetZ = 0.0; var$7.$offsetY = 12.0; var$8.$offsetY = 12.0; $this.$bipedHead.$offsetY = 0.0; } else { $this.$field_1284_c.$rotateAngleX = 0.5; var$7 = $this.$bipedRightLeg; var$7.$rotateAngleX = var$7.$rotateAngleX - 0.0; var$8 = $this.$bipedLeftLeg; var$8.$rotateAngleX = var$8.$rotateAngleX - 0.0; var$9 = $this.$bipedRightArm; var$9.$rotateAngleX = var$9.$rotateAngleX + 0.4000000059604645; var$9 = $this.$bipedLeftArm; var$9.$rotateAngleX = var$9.$rotateAngleX + 0.4000000059604645; var$7.$offsetZ = 4.0; var$8.$offsetZ = 4.0; var$7.$offsetY = 9.0; var$8.$offsetY = 9.0; $this.$bipedHead.$offsetY = 1.0; } var$7 = $this.$bipedRightArm; $var2 = var$7.$rotateAngleZ; $var1 = $var3 * 0.09000000357627869; var$7.$rotateAngleZ = $var2 + nms_MathHelper_cos($var1) * 0.05000000074505806 + 0.05000000074505806; var$7 = $this.$bipedLeftArm; var$7.$rotateAngleZ = var$7.$rotateAngleZ - (nms_MathHelper_cos($var1) * 0.05000000074505806 + 0.05000000074505806); var$7 = $this.$bipedRightArm; $var1 = var$7.$rotateAngleX; $var2 = $var3 * 0.06700000166893005; var$7.$rotateAngleX = $var1 + nms_MathHelper_sin($var2) * 0.05000000074505806; var$7 = $this.$bipedLeftArm; var$7.$rotateAngleX = var$7.$rotateAngleX - nms_MathHelper_sin($var2) * 0.05000000074505806; } function nms_TextureFX() { var a = this; jl_Object.call(a); a.$field_1127_a = null; a.$field_1126_b = 0; a.$field_1131_c = 0; a.$field_1130_d = 0; a.$field_1129_e = 0; a.$field_1128_f = 0; } function nms_TextureFX__init_0(var_0) { var var_1 = new nms_TextureFX(); nms_TextureFX__init_(var_1, var_0); return var_1; } function nms_TextureFX__init_($this, $var1) { $this.$field_1127_a = $rt_createByteArray(1024); $this.$field_1131_c = 0; $this.$field_1130_d = 0; $this.$field_1129_e = 1; $this.$field_1128_f = 0; $this.$field_1126_b = $var1; } function nms_TextureFX_func_782_a($this, $var1) { var 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();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$field_1128_f; if (!var$2) { var$3 = 3553; var$4 = $rt_s(198); $ptr = 1; continue main; } if (var$2 != 1) return; var$3 = 3553; var$4 = $rt_s(182); $ptr = 2; continue main; case 1: $tmp = nms_RenderEngine_getTexture($var1, var$4); if ($rt_suspending()) { break main; } var$2 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$3, var$2); return; case 2: $tmp = nms_RenderEngine_getTexture($var1, var$4); if ($rt_suspending()) { break main; } var$2 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$3, var$2); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $ptr); } function nms_TextureWaterFX() { var a = this; nms_TextureFX.call(a); a.$field_1158_g = null; a.$field_1157_h = null; a.$field_1156_i = null; a.$field_1155_j = null; a.$tickCounter = 0; } function nms_TextureWaterFX__init_0() { var var_0 = new nms_TextureWaterFX(); nms_TextureWaterFX__init_(var_0); return var_0; } function nms_TextureWaterFX__init_($this) { nms_Block_$callClinit(); nms_TextureFX__init_($this, nms_Block_waterStill.$blockIndexInTexture); $this.$field_1158_g = $rt_createFloatArray(256); $this.$field_1157_h = $rt_createFloatArray(256); $this.$field_1156_i = $rt_createFloatArray(256); $this.$field_1155_j = $rt_createFloatArray(256); $this.$tickCounter = 0; } function nms_TextureWaterFX_func_783_a($this) { var $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var10, $var2_0, $var12, $var13, $var9, $var11, $var8; $this.$tickCounter = $this.$tickCounter + 1 | 0; $var1 = 0; while ($var1 < 16) { $var2 = 0; while ($var2 < 16) { $var3 = 0.0; $var4 = $var1 - 1 | 0; while ($var4 <= ($var1 + 1 | 0)) { $var5 = $var4 & 15; $var6 = $var2 & 15; $var3 = $var3 + $this.$field_1158_g.data[$var5 + ($var6 * 16 | 0) | 0]; $var4 = $var4 + 1 | 0; } var$7 = $this.$field_1157_h.data; $var10 = $var1 + ($var2 * 16 | 0) | 0; var$7[$var10] = $var3 / 3.299999952316284 + $this.$field_1156_i.data[$var10] * 0.800000011920929; $var2 = $var2 + 1 | 0; } $var1 = $var1 + 1 | 0; } $var2 = 0; while ($var2 < 16) { $var2_0 = 0; while ($var2_0 < 16) { $var12 = $this.$field_1156_i.data; $var1 = $var2 + ($var2_0 * 16 | 0) | 0; $var3 = $var12[$var1]; var$7 = $this.$field_1155_j.data; $var12[$var1] = $var3 + var$7[$var1] * 0.05000000074505806; if ($var12[$var1] < 0.0) $var12[$var1] = 0.0; var$7[$var1] = var$7[$var1] - 0.10000000149011612; if (jl_Math_random() < 0.05) $this.$field_1155_j.data[$var1] = 0.5; $var2_0 = $var2_0 + 1 | 0; } $var2 = $var2 + 1 | 0; } $var12 = $this.$field_1157_h; $this.$field_1157_h = $this.$field_1158_g; $this.$field_1158_g = $var12; $var2 = 0; while ($var2 < 256) { $var3 = $var12.data[$var2]; if ($var3 > 1.0) $var3 = 1.0; if ($var3 < 0.0) $var3 = 0.0; $var13 = $var3 * $var3; $var9 = 32.0 + $var13 * 32.0 | 0; $var10 = 50.0 + $var13 * 64.0 | 0; $var11 = 255; $var8 = 146.0 + $var13 * 50.0 | 0; if ($this.$field_1131_c) { $var1 = $var9 * 30 | 0; $var9 = (($var1 + ($var10 * 59 | 0) | 0) + 2805 | 0) / 100 | 0; $var10 = ($var1 + ($var10 * 70 | 0) | 0) / 100 | 0; $var11 = ($var1 + 17850 | 0) / 100 | 0; } var$7 = $this.$field_1127_a.data; $var1 = $var2 * 4 | 0; var$7[$var1 + 0 | 0] = $var9 << 24 >> 24; var$7[$var1 + 1 | 0] = $var10 << 24 >> 24; var$7[$var1 + 2 | 0] = $var11 << 24 >> 24; var$7[$var1 + 3 | 0] = $var8 << 24 >> 24; $var2 = $var2 + 1 | 0; } } function nms_TextureLavaFX() { var a = this; nms_TextureFX.call(a); a.$field_1147_g = null; a.$field_1146_h = null; a.$field_1145_i = null; a.$field_1144_j = null; } function nms_TextureLavaFX__init_0() { var var_0 = new nms_TextureLavaFX(); nms_TextureLavaFX__init_(var_0); return var_0; } function nms_TextureLavaFX__init_($this) { nms_Block_$callClinit(); nms_TextureFX__init_($this, nms_Block_lavaStill.$blockIndexInTexture); $this.$field_1147_g = $rt_createFloatArray(256); $this.$field_1146_h = $rt_createFloatArray(256); $this.$field_1145_i = $rt_createFloatArray(256); $this.$field_1144_j = $rt_createFloatArray(256); } function nms_TextureLavaFX_func_783_a($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $var9, $var7, $var8, var$10, $var10, $var11, var$13; $var1 = 0; while ($var1 < 16) { $var2 = 0; while ($var2 < 16) { $var3 = 0.0; $var4 = nms_MathHelper_sin($var2 * 3.1415927410125732 * 2.0 / 16.0) * 1.2000000476837158 | 0; $var5 = nms_MathHelper_sin($var1 * 3.1415927410125732 * 2.0 / 16.0) * 1.2000000476837158 | 0; $var6 = $var1 - 1 | 0; while (true) { $var9 = $var1 + 1 | 0; if ($var6 > $var9) break; $var7 = $var2 - 1 | 0; while ($var7 <= ($var2 + 1 | 0)) { $var8 = ($var6 + $var4 | 0) & 15; $var9 = ($var7 + $var5 | 0) & 15; $var3 = $var3 + $this.$field_1147_g.data[$var8 + ($var9 * 16 | 0) | 0]; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } var$10 = $this.$field_1146_h.data; $var10 = $var1 + ($var2 * 16 | 0) | 0; $var3 = $var3 / 10.0; $var11 = $this.$field_1145_i.data; $var5 = ($var1 + 0 | 0) & 15; $var4 = (($var2 + 0 | 0) & 15) * 16 | 0; var$13 = $var11[$var5 + $var4 | 0]; $var9 = $var9 & 15; var$13 = var$13 + $var11[$var9 + $var4 | 0]; $var2 = $var2 + 1 | 0; $var4 = ($var2 & 15) * 16 | 0; var$10[$var10] = $var3 + (var$13 + $var11[$var9 + $var4 | 0] + $var11[$var5 + $var4 | 0]) / 4.0 * 0.800000011920929; $var3 = $var11[$var10]; var$10 = $this.$field_1144_j.data; $var11[$var10] = $var3 + var$10[$var10] * 0.009999999776482582; if ($var11[$var10] < 0.0) $var11[$var10] = 0.0; var$10[$var10] = var$10[$var10] - 0.05999999865889549; if (jl_Math_random() < 0.005) $this.$field_1144_j.data[$var10] = 1.5; } $var1 = $var1 + 1 | 0; } $var11 = $this.$field_1146_h; $this.$field_1146_h = $this.$field_1147_g; $this.$field_1147_g = $var11; $var2 = 0; while ($var2 < 256) { $var3 = $var11.data[$var2] * 2.0; if ($var3 > 1.0) $var3 = 1.0; if ($var3 < 0.0) $var3 = 0.0; $var8 = $var3 * 100.0 + 155.0 | 0; var$13 = $var3 * $var3; $var9 = var$13 * 255.0 | 0; $var10 = var$13 * $var3 * $var3 * 128.0 | 0; if ($this.$field_1131_c) { $var5 = $var8 * 30 | 0; $var8 = (($var5 + ($var9 * 59 | 0) | 0) + ($var10 * 11 | 0) | 0) / 100 | 0; $var9 = ($var5 + ($var9 * 70 | 0) | 0) / 100 | 0; $var10 = ($var5 + ($var10 * 70 | 0) | 0) / 100 | 0; } var$10 = $this.$field_1127_a.data; $var1 = $var2 * 4 | 0; var$10[$var1 + 0 | 0] = $var8 << 24 >> 24; var$10[$var1 + 1 | 0] = $var9 << 24 >> 24; var$10[$var1 + 2 | 0] = $var10 << 24 >> 24; var$10[$var1 + 3 | 0] = (-1); $var2 = $var2 + 1 | 0; } } function jl_Thread() { var a = this; jl_Object.call(a); a.$uncaughtExceptionHandler = null; a.$id = 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 = 0; var jl_Thread_activeCount = 0; var jl_Thread_defaultUncaughtExceptionHandler = null; function jl_Thread_$callClinit() { jl_Thread_$callClinit = $rt_eraseClinit(jl_Thread); jl_Thread__clinit_(); } function jl_Thread__init_1() { var var_0 = new jl_Thread(); jl_Thread__init_(var_0); return var_0; } function jl_Thread__init_2(var_0) { var var_1 = new jl_Thread(); jl_Thread__init_0(var_1, var_0); return var_1; } function jl_Thread__init_3(var_0, var_1) { var var_2 = new jl_Thread(); jl_Thread__init_4(var_2, var_0, var_1); return var_2; } function jl_Thread__init_($this) { jl_Thread_$callClinit(); jl_Thread__init_4($this, null, null); } function jl_Thread__init_0($this, $name) { jl_Thread_$callClinit(); jl_Thread__init_4($this, null, $name); } function jl_Thread__init_4($this, $target, $name) { var var$3; jl_Thread_$callClinit(); $this.$finishedLock = new jl_Object; $this.$alive = 1; $this.$name1 = $name; $this.$target = $target; var$3 = jl_Thread_nextId; jl_Thread_nextId = var$3 + 1 | 0; $this.$id = Long_fromInt(var$3); } function jl_Thread_setCurrentThread($thread_0) { jl_Thread_$callClinit(); if (jl_Thread_currentThread0 !== $thread_0) jl_Thread_currentThread0 = $thread_0; jl_Thread_currentThread0.$timeSliceStart = jl_System_currentTimeMillis(); } function jl_Thread_currentThread() { jl_Thread_$callClinit(); return jl_Thread_currentThread0; } 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: jl_Thread_$callClinit(); $currentThread = jl_Thread_currentThread(); var$2 = $currentThread.$yieldCount + 1 | 0; $currentThread.$yieldCount = var$2; if (var$2 < 30) return; (jl_Thread_currentThread()).$yieldCount = 0; if (Long_ge(Long_add($currentThread.$timeSliceStart, Long_fromInt(100)), jl_System_currentTimeMillis())) return; $ptr = 1; case 1: jl_Thread_switchContext$_asyncCall_$($currentThread); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($currentThread, var$2, $ptr); } function jl_Thread_switchContext($thread_0, $callback) { var var$3; jl_Thread_$callClinit(); var$3 = new jl_Thread$switchContext$lambda$_19_0; var$3.$_02 = $thread_0; var$3.$_10 = $callback; otp_Platform_postpone(var$3); } function jl_Thread_sleep(var$1) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: jl_Thread_$callClinit(); $ptr = 1; case 1: jl_Thread_sleep$_asyncCall_$(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, $ptr); } function jl_Thread_sleep0($millis, $callback) { var $current, $handler; jl_Thread_$callClinit(); $current = jl_Thread_currentThread(); $handler = new jl_Thread$SleepHandler; $handler.$thread = $current; $handler.$callback = $callback; $handler.$scheduleId = otp_Platform_schedule($handler, Long_ge($millis, Long_fromInt(2147483647)) ? 2147483647 : Long_lo($millis)); $current.$interruptHandler = $handler; } function jl_Thread_getUncaughtExceptionHandler($this) { var var$1; var$1 = $this.$uncaughtExceptionHandler; if (var$1 !== null) return var$1; jl_Thread_$callClinit(); return jl_Thread_defaultUncaughtExceptionHandler; } function jl_Thread__clinit_() { var var$1; var$1 = jl_Thread__init_2($rt_s(231)); jl_Thread_mainThread = var$1; jl_Thread_currentThread0 = var$1; jl_Thread_nextId = 1; jl_Thread_activeCount = 1; jl_Thread_defaultUncaughtExceptionHandler = new jl_DefaultUncaughtExceptionHandler; } function jl_Thread_switchContext$_asyncCall_$(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); thread.suspend(function() { try { jl_Thread_switchContext(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function jl_Thread_sleep$_asyncCall_$(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); thread.suspend(function() { try { jl_Thread_sleep0(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nms_ThreadSleepForever() { jl_Thread.call(this); this.$mc1 = null; } function nms_ThreadSleepForever_run($this) { var var$1, $$je, $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: while ($this.$mc1.$running) { try { var$1 = Long_fromInt(2147483647); $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$1); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { } else { throw $$e; } } } while ($this.$mc1.$running) { try { var$1 = Long_fromInt(2147483647); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InterruptedException) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } var olo_EaglerAdapterGL30 = $rt_classWithoutFields(nlea_EaglerAdapterImpl2); 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__init_0() { var var_0 = new olo_EaglerAdapterGL30(); olo_EaglerAdapterGL30__init_(var_0); return var_0; } function olo_EaglerAdapterGL30__init_($this) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__init_($this); } 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_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) { var var$5; olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$5 = nlea_EaglerAdapterImpl2_viewportCache.data; var$5[0] = $p1; var$5[1] = $p2; var$5[2] = $p3; var$5[3] = $p4; nlea_EaglerAdapterImpl2_webgl.viewport($p1, $p2, $p3, $p4); } function olo_EaglerAdapterGL30_glClear($p1) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear($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, var$5, var$6, var$7, var$8, var$9; olo_EaglerAdapterGL30_$callClinit(); nPgv_Vector3f_set(olo_EaglerAdapterGL30_deevis, $p1, $p2, $p3); var$4 = olo_EaglerAdapterGL30_getMatrix(); var$5 = olo_EaglerAdapterGL30_deevis; if (var$4 !== null) var$6 = var$4; else { var$6 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$6); } $p1 = var$6.$m30; $p2 = var$4.$m00; $p3 = var$5.$x; $p2 = $p2 * $p3; var$7 = var$4.$m10; var$8 = var$5.$y; var$7 = $p2 + var$7 * var$8; $p2 = var$4.$m20; var$9 = var$5.$z; var$6.$m30 = $p1 + var$7 + $p2 * var$9; var$6.$m31 = var$6.$m31 + var$4.$m01 * $p3 + var$4.$m11 * var$8 + var$4.$m21 * var$9; var$6.$m32 = var$6.$m32 + var$4.$m02 * $p3 + var$4.$m12 * var$8 + var$4.$m22 * var$9; var$6.$m33 = var$6.$m33 + var$4.$m03 * $p3 + var$4.$m13 * var$8 + var$4.$m23 * var$9; if (!olo_EaglerAdapterGL30_isCompilingDisplayList) return; var$4 = new jl_IllegalArgumentException; jl_Throwable__init_(var$4, $rt_s(232)); $rt_throw(var$4); } function olo_EaglerAdapterGL30_glClearColor($p1, $p2, $p3, $p4) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clearColor($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_glTexImage2D($p1, $p2, $p3, $p4, $p5, $p6, $p7, $p8, $p9) { var var$10, var$11, var$12, var$13, var$14, var$15; 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$13 = nlea_EaglerAdapterImpl2_uploadBuffer; var$14 = 0; while (var$14 < var$12) { var$15 = (jn_ByteBufferImpl_get($p9) & 255) << 16 >> 16; var$14; var$13[var$14] = var$15; var$14 = var$14 + 1 | 0; } $p9 = new $rt_globals.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() { var var$1, var$2, var$3; olo_EaglerAdapterGL30_$callClinit(); a: { switch (olo_EaglerAdapterGL30_matrixMode) { case 5888: break; case 5889: var$1 = olo_EaglerAdapterGL30_matProjPointer; var$2 = olo_EaglerAdapterGL30_matProjV.data; if (var$1 >= (var$2.length - 1 | 0)) { ji_PrintStream_println(jl_System_err(), $rt_s(233)); break a; } var$1 = var$1 + 1 | 0; olo_EaglerAdapterGL30_matProjPointer = var$1; nPgv_Matrix4f_load(var$2[var$1], var$2[var$1 - 1 | 0]); break a; case 5890: var$1 = olo_EaglerAdapterGL30_matTexPointer; var$2 = olo_EaglerAdapterGL30_matTexV.data; if (var$1 >= (var$2.length - 1 | 0)) { ji_PrintStream_println(jl_System_err(), $rt_s(234)); break a; } var$1 = var$1 + 1 | 0; olo_EaglerAdapterGL30_matTexPointer = var$1; nPgv_Matrix4f_load(var$2[var$1], var$2[var$1 - 1 | 0]); break a; default: } var$3 = olo_EaglerAdapterGL30_matModelPointer; var$2 = olo_EaglerAdapterGL30_matModelV.data; if (var$3 >= (var$2.length - 1 | 0)) ji_PrintStream_println(jl_System_err(), $rt_s(235)); else { var$3 = var$3 + 1 | 0; olo_EaglerAdapterGL30_matModelPointer = var$3; nPgv_Matrix4f_load(var$2[var$3], var$2[var$3 - 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($p1 * 0.01745329238474369, olo_EaglerAdapterGL30_deevis, var$5, var$5); if (!olo_EaglerAdapterGL30_isCompilingDisplayList) return; var$5 = new jl_IllegalArgumentException; jl_Throwable__init_(var$5, $rt_s(232)); $rt_throw(var$5); } function olo_EaglerAdapterGL30_glPopMatrix() { var var$1; olo_EaglerAdapterGL30_$callClinit(); a: { switch (olo_EaglerAdapterGL30_matrixMode) { case 5888: break; case 5889: var$1 = olo_EaglerAdapterGL30_matProjPointer; if (var$1 <= 0) { ji_PrintStream_println(jl_System_err(), $rt_s(236)); break a; } olo_EaglerAdapterGL30_matProjPointer = var$1 - 1 | 0; break a; case 5890: var$1 = olo_EaglerAdapterGL30_matTexPointer; if (var$1 <= 0) { ji_PrintStream_println(jl_System_err(), $rt_s(237)); break a; } olo_EaglerAdapterGL30_matTexPointer = var$1 - 1 | 0; break a; default: } var$1 = olo_EaglerAdapterGL30_matModelPointer; if (var$1 <= 0) ji_PrintStream_println(jl_System_err(), $rt_s(238)); else olo_EaglerAdapterGL30_matModelPointer = var$1 - 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, var$5, var$6; olo_EaglerAdapterGL30_$callClinit(); nPgv_Vector3f_set(olo_EaglerAdapterGL30_deevis, $p1, $p2, $p3); var$4 = olo_EaglerAdapterGL30_getMatrix(); var$5 = olo_EaglerAdapterGL30_deevis; if (var$4 !== null) var$6 = var$4; else { var$6 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$6); } $p1 = var$4.$m00; $p2 = var$5.$x; var$6.$m00 = $p1 * $p2; var$6.$m01 = var$4.$m01 * $p2; var$6.$m02 = var$4.$m02 * $p2; var$6.$m03 = var$4.$m03 * $p2; $p1 = var$4.$m10; $p2 = var$5.$y; var$6.$m10 = $p1 * $p2; var$6.$m11 = var$4.$m11 * $p2; var$6.$m12 = var$4.$m12 * $p2; var$6.$m13 = var$4.$m13 * $p2; $p1 = var$4.$m20; $p2 = var$5.$z; var$6.$m20 = $p1 * $p2; var$6.$m21 = var$4.$m21 * $p2; var$6.$m22 = var$4.$m22 * $p2; var$6.$m23 = var$4.$m23 * $p2; if (!olo_EaglerAdapterGL30_isCompilingDisplayList) return; var$4 = new jl_IllegalArgumentException; jl_Throwable__init_(var$4, $rt_s(232)); $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) { var $t, var$4; olo_EaglerAdapterGL30_$callClinit(); $t = olo_EaglerAdapterGL30_texObjects; $t = $p2 < $t.$size1 && $p2 >= 0 ? $t.$values.data[$p2] : null; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nlea_EaglerAdapterImpl2_webgl; $t = $t !== null ? $t.$obj4 : null; var$4.bindTexture(3553, $t); } function olo_EaglerAdapterGL30_glTexParameteri($p1, $p2, $p3) { olo_EaglerAdapterGL30_$callClinit(); if (!($p3 != 33071 && $p3 != 10496)) $p3 = 33071; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texParameteri($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__wglBindVertexArray0($p1) { olo_EaglerAdapterGL30_$callClinit(); olo_EaglerAdapterGL30_currentArray = $p1; nlea_EaglerAdapterImpl2__wglBindVertexArray($p1); } function olo_EaglerAdapterGL30_glCallList($p1) { var $d, var$3, var$4; 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); var$3 = olo_EaglerAdapterGL30_vertexDrawn; var$4 = $d.$listLength; olo_EaglerAdapterGL30_vertexDrawn = var$3 + ((var$4 * 6 | 0) / 4 | 0) | 0; olo_EaglerAdapterGL30_triangleDrawn = olo_EaglerAdapterGL30_triangleDrawn + (var$4 / 2 | 0) | 0; } } } function olo_EaglerAdapterGL30_glNewList($p1, $p2) { var var$3; olo_EaglerAdapterGL30_$callClinit(); if (!olo_EaglerAdapterGL30_isCompilingDisplayList) { var$3 = ju_HashMap_get(olo_EaglerAdapterGL30_displayLists, jl_Integer_valueOf($p1)); olo_EaglerAdapterGL30_compilingDisplayList = var$3; if (var$3 !== null) { var$3.$shaderMode = (-1); var$3.$listLength = 0; olo_EaglerAdapterGL30_isCompilingDisplayList = 1; } } } function olo_EaglerAdapterGL30_glEndList() { var $f, var$2, $upload, $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; $f = new $rt_globals.Int32Array($f, 0, var$2); nlea_EaglerAdapterImpl2_appendbufferindex = 0; $upload = otji_JSWrapper_wrap($f); $l = nlea_EaglerAdapterImpl2__wArrayByteLength($upload); if ($l > 0) { $f = olo_EaglerAdapterGL30_compilingDisplayList; if ($f.$glbuffer === null) { ju_HashMap_put(olo_EaglerAdapterGL30_displayListsInitialized, jl_Integer_valueOf($f.$id0), 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, $upload, 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_glPolygonOffset($p1, $p2) { olo_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.polygonOffset($p1, $p2); } 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, var$3, var$4, var$5, var$6, var$7, var$8; olo_EaglerAdapterGL30_$callClinit(); $s = nPg_FixedFunctionShader_instance($mode); olo_EaglerAdapterGL30_shader = $s; nlea_EaglerAdapterImpl2__wglUseProgram($s.$globject); if (olo_EaglerAdapterGL30_enableAlphaTest) { var$3 = olo_EaglerAdapterGL30_alphaThresh; if ($s.$alphaTestValue !== var$3) { $s.$alphaTestValue = var$3; nlea_EaglerAdapterImpl2__wglUniform1f($s.$u_alphaTestF, var$3); } } var$4 = olo_EaglerAdapterGL30_colorR; var$3 = olo_EaglerAdapterGL30_colorG; var$5 = olo_EaglerAdapterGL30_colorB; var$6 = olo_EaglerAdapterGL30_colorA; if (!($s.$colorUniformR === var$4 && $s.$colorUniformG === var$3 && $s.$colorUniformB === var$5 && $s.$colorUniformA === var$6)) { $s.$colorUniformR = var$4; $s.$colorUniformG = var$3; $s.$colorUniformB = var$5; $s.$colorUniformA = var$6; nlea_EaglerAdapterImpl2__wglUniform4f($s.$u_colorUniform, var$4, var$3, var$5, var$6); } if (olo_EaglerAdapterGL30_fogEnabled) { $mode = (!olo_EaglerAdapterGL30_fogPremultiply ? 0 : 2) + olo_EaglerAdapterGL30_fogMode | 0; if ($s.$fogMode != $mode) { $s.$fogMode = $mode; nlea_EaglerAdapterImpl2__wglUniform1i($s.$u_fogMode, $mode % 2 | 0); nlea_EaglerAdapterImpl2__wglUniform1f($s.$u_fogPremultiply, $mode / 2 | 0); } var$3 = olo_EaglerAdapterGL30_fogColorR; var$5 = olo_EaglerAdapterGL30_fogColorG; var$6 = olo_EaglerAdapterGL30_fogColorB; var$4 = olo_EaglerAdapterGL30_fogColorA; if (!($s.$fogColorR === var$3 && $s.$fogColorG === var$5 && $s.$fogColorB === var$6 && $s.$fogColorA === var$4)) { $s.$fogColorR = var$3; $s.$fogColorG = var$5; $s.$fogColorB = var$6; $s.$fogColorA = var$4; nlea_EaglerAdapterImpl2__wglUniform4f($s.$u_fogColor, var$3, var$5, var$6, var$4); } var$3 = olo_EaglerAdapterGL30_fogDensity; if ($s.$fogDensity !== var$3) { $s.$fogDensity = var$3; nlea_EaglerAdapterImpl2__wglUniform1f($s.$u_fogDensity, var$3); } var$3 = olo_EaglerAdapterGL30_fogStart; var$5 = olo_EaglerAdapterGL30_fogEnd; if (!($s.$fogStart === var$3 && $s.$fogEnd === var$5)) { $s.$fogStart = var$3; $s.$fogEnd = var$5; nlea_EaglerAdapterImpl2__wglUniform1f($s.$u_fogStart, var$3); nlea_EaglerAdapterImpl2__wglUniform1f($s.$u_fogEnd, $s.$fogEnd); } } var$7 = olo_EaglerAdapterGL30_matModelV.data[olo_EaglerAdapterGL30_matModelPointer]; if (!nPgv_Matrix4f_equals(var$7, $s.$modelMatrix)) { nPgv_Matrix4f_store0(nPgv_Matrix4f_load($s.$modelMatrix, var$7), $s.$modelBuffer); nlea_EaglerAdapterImpl2__wglUniformMat4fv($s.$u_matrix_m, $s.$modelBuffer); } var$7 = olo_EaglerAdapterGL30_matProjV.data[olo_EaglerAdapterGL30_matProjPointer]; if (!nPgv_Matrix4f_equals(var$7, $s.$projectionMatrix)) { nPgv_Matrix4f_store0(nPgv_Matrix4f_load($s.$projectionMatrix, var$7), $s.$projectionBuffer); nlea_EaglerAdapterImpl2__wglUniformMat4fv($s.$u_matrix_p, $s.$projectionBuffer); } var$7 = olo_EaglerAdapterGL30_matTexV.data[olo_EaglerAdapterGL30_matTexPointer]; if (!nPgv_Matrix4f_equals(var$7, $s.$textureMatrix)) { nPgv_Matrix4f_store0(nPgv_Matrix4f_load($s.$textureMatrix, var$7), $s.$textureBuffer); nlea_EaglerAdapterImpl2__wglUniformMat4fv($s.$u_matrix_t, $s.$textureBuffer); } if (olo_EaglerAdapterGL30_enableColorMaterial && olo_EaglerAdapterGL30_enableLighting) { var$3 = olo_EaglerAdapterGL30_normalX; var$5 = olo_EaglerAdapterGL30_normalY; var$6 = olo_EaglerAdapterGL30_normalZ; if (!($s.$normalUniformX === var$3 && $s.$normalUniformY === var$5 && $s.$normalUniformZ === var$6)) { $s.$normalUniformX = var$3; $s.$normalUniformY = var$5; $s.$normalUniformZ = var$6; nlea_EaglerAdapterImpl2__wglUniform3f($s.$u_normalUniform, var$3, var$5, var$6); } var$7 = olo_EaglerAdapterGL30_lightPos0vec; var$8 = olo_EaglerAdapterGL30_lightPos1vec; if (!(nPgv_Vector4f_equals(var$7, $s.$light0Pos) && nPgv_Vector4f_equals(var$8, $s.$light1Pos))) { nPgv_Vector4f_set($s.$light0Pos, var$7); nPgv_Vector4f_set($s.$light1Pos, var$8); var$7 = $s.$u_light0Pos; var$8 = $s.$light0Pos; nlea_EaglerAdapterImpl2__wglUniform3f(var$7, var$8.$x0, var$8.$y0, var$8.$z0); var$7 = $s.$u_light1Pos; var$8 = $s.$light1Pos; nlea_EaglerAdapterImpl2__wglUniform3f(var$7, var$8.$x0, var$8.$y0, var$8.$z0); } } var$3 = olo_EaglerAdapterGL30_tex0X; var$5 = olo_EaglerAdapterGL30_tex0Y; if (!($s.$tex0x === var$3 && $s.$tex0y === var$5)) { $s.$tex0x = var$3; $s.$tex0y = var$5; $s = $s.$u_texCoordV0; if ($s !== null) { var$7 = nlea_EaglerAdapterImpl2_webgl; $s = $s.$obj2; var$7.uniform2f($s, var$3, var$5); } } } 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(239)); else { var$5 = olo_EaglerAdapterGL30_compilingDisplayList; $p1 = var$5.$shaderMode; if ($p1 == (-1)) var$5.$shaderMode = olo_EaglerAdapterGL30_getShaderModeFlag0(); else if ($p1 != olo_EaglerAdapterGL30_getShaderModeFlag0()) ji_PrintStream_println(jl_System_err(), $rt_s(240)); var$5 = olo_EaglerAdapterGL30_compilingDisplayList; var$5.$listLength = var$5.$listLength + $p3 | 0; nlea_EaglerAdapterImpl2_$callClinit(); var$5 = otji_JSWrapper_unwrap($buffer); if ((nlea_EaglerAdapterImpl2_appendbufferindex + var$5.length | 0) < nlea_EaglerAdapterImpl2_appendbuffer.length) { $buffer = nlea_EaglerAdapterImpl2_appendbuffer; $p1 = nlea_EaglerAdapterImpl2_appendbufferindex; $buffer.set(var$5, $p1); nlea_EaglerAdapterImpl2_appendbufferindex = nlea_EaglerAdapterImpl2_appendbufferindex + var$5.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); var$5 = olo_EaglerAdapterGL30_shader; if (!var$5.$bufferIsInitialized) { var$5.$bufferIsInitialized = 1; nlea_EaglerAdapterImpl2__wglBufferData(34962, olo_EaglerAdapterGL30_blankUploadArray, 35048); } var$5 = nlea_EaglerAdapterImpl2_webgl; $buffer = otji_JSWrapper_unwrap($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_webgl.drawArrays($p1, $p2, $p3); } } } function olo_EaglerAdapterGL30__wglDrawQuadArrays($p2, $p3) { var $upload, var$4, $v4, $i, $v1, $v2, $v3, var$10; olo_EaglerAdapterGL30_$callClinit(); if (olo_EaglerAdapterGL30_quadsToTrianglesBuffer === null) { if (olo_EaglerAdapterGL30_isWebGL) $upload = jn_IntBuffer_wrap($rt_createIntArray(49200)); else { var$4 = jn_ByteBufferImpl__init_(196800, 1); var$4.$order = jn_ByteOrder_nativeOrder(); $v4 = jn_Buffer_remaining(var$4) / 4 | 0; if (var$4.$order !== jn_ByteOrder_BIG_ENDIAN) { $upload = new jn_IntBufferOverByteBufferLittleEndian; jn_IntBufferOverByteBuffer__init_($upload, var$4.$start3 + var$4.$position | 0, $v4, var$4, 0, $v4, var$4.$readOnly); } else { $upload = new jn_IntBufferOverByteBufferBigEndian; jn_IntBufferOverByteBuffer__init_($upload, var$4.$start3 + var$4.$position | 0, $v4, var$4, 0, $v4, var$4.$readOnly); } } $i = 0; while ($i < 16384) { $v1 = $i * 4 | 0; $v2 = $v1 + 1 | 0; $v3 = $v1 + 2 | 0; $v4 = $v1 + 3 | 0; var$10 = $v2 << 16; jn_IntBufferImpl_put($upload, $v1 | var$10); jn_IntBufferImpl_put($upload, $v4 | var$10); jn_IntBufferImpl_put($upload, $v3 | $v4 << 16); $i = $i + 1 | 0; } jn_Buffer_flip($upload); var$4 = nlea_EaglerAdapterImpl2__wglCreateBuffer(); olo_EaglerAdapterGL30_quadsToTrianglesBuffer = var$4; nlea_EaglerAdapterImpl2__wglBindBuffer(34963, var$4); $v3 = jn_Buffer_remaining($upload); var$4 = new $rt_globals.Int32Array(nlea_EaglerAdapterImpl2_uploadBuffer.buffer); $v4 = 0; while ($v4 < $v3) { var$10 = jn_IntBufferImpl_get($upload); $v4; var$4[$v4] = var$10; $v4 = $v4 + 1 | 0; } $upload = nlea_EaglerAdapterImpl2_uploadBuffer.buffer; $v3 = $v3 * 4 | 0; var$4 = new $rt_globals.Uint8Array($upload, 0, $v3); nlea_EaglerAdapterImpl2_webgl.bufferData(34963, var$4, 35044); } $upload = olo_EaglerAdapterGL30_currentArray; if (!$upload.$isQuadBufferBound) { $upload.$isQuadBufferBound = 1; nlea_EaglerAdapterImpl2__wglBindBuffer(34963, olo_EaglerAdapterGL30_quadsToTrianglesBuffer); } $v3 = ($p3 * 6 | 0) / 4 | 0; $p2 = ($p2 * 6 | 0) / 4 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.drawElements(4, $v3, 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, var$2, var$3; 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 (true) { var$2 = olo_EaglerAdapterGL30_matModelV.data; if ($i >= var$2.length) break; var$3 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$3); var$2[$i] = var$3; $i = $i + 1 | 0; } $i = 0; while (true) { var$2 = olo_EaglerAdapterGL30_matProjV.data; if ($i >= var$2.length) break; var$3 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$3); var$2[$i] = var$3; $i = $i + 1 | 0; } $i = 0; while (true) { var$2 = olo_EaglerAdapterGL30_matTexV.data; if ($i >= var$2.length) break; var$3 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$3); var$2[$i] = var$3; $i = $i + 1 | 0; } olo_EaglerAdapterGL30_quadsToTrianglesBuffer = null; olo_EaglerAdapterGL30_currentArray = null; olo_EaglerAdapterGL30_displayLists = ju_HashMap__init_0(); olo_EaglerAdapterGL30_displayListsInitialized = ju_HashMap__init_0(); 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 = otji_JSWrapper_wrap(new $rt_globals.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); var$3 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$3); olo_EaglerAdapterGL30_cachedOcclusionP = nPgv_Matrix4f_setZero(var$3); olo_EaglerAdapterGL30_occlusionModel = $rt_createFloatArray(16); olo_EaglerAdapterGL30_occlusionProj = $rt_createFloatArray(16); var$3 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$3); olo_EaglerAdapterGL30_unprojA = var$3; var$3 = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity(var$3); olo_EaglerAdapterGL30_unprojB = var$3; olo_EaglerAdapterGL30_unprojC = new nPgv_Vector4f; olo_EaglerAdapterGL30_lastBandwidthReset = Long_ZERO; olo_EaglerAdapterGL30_lastBandwidth = 0; } var olo_GL11 = $rt_classWithoutFields(olo_EaglerAdapterGL30); function olo_GL11__init_0() { var var_0 = new olo_GL11(); olo_GL11__init_(var_0); return var_0; } function olo_GL11__init_($this) { olo_EaglerAdapterGL30__init_($this); } var ji_InputStream = $rt_classWithoutFields(); 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_close($this) { $this.$in.$close(); } var ji_DataInput = $rt_classWithoutFields(0); 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_readByte($this) { var $temp, var$2; $temp = $this.$in.$read1(); if ($temp >= 0) return $temp << 24 >> 24; var$2 = new ji_EOFException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } 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_readDouble($this) { return $rt_longBitsToDouble((ji_DataInputStream_readLong($this))); } function ji_DataInputStream_readFloat($this) { return $rt_intBitsToFloat(ji_DataInputStream_readInt($this)); } function ji_DataInputStream_readFully($this, $buffer) { ji_DataInputStream_readFully0($this, $buffer, 0, $buffer.data.length); } function ji_DataInputStream_readFully0($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, var$2; if (ji_DataInputStream_readToBuff($this, 4) < 0) { var$1 = new ji_EOFException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } var$2 = $this.$buff.data; return (var$2[0] & 255) << 24 | (var$2[1] & 255) << 16 | (var$2[2] & 255) << 8 | var$2[3] & 255; } function ji_DataInputStream_readLong($this) { var var$1, var$2; if (ji_DataInputStream_readToBuff($this, 8) < 0) { var$1 = new ji_EOFException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } var$2 = $this.$buff.data; return Long_or(Long_shl(Long_and(Long_fromInt((var$2[0] & 255) << 24 | (var$2[1] & 255) << 16 | (var$2[2] & 255) << 8 | var$2[3] & 255), Long_create(4294967295, 0)), 32), Long_and(Long_fromInt((var$2[4] & 255) << 24 | (var$2[5] & 255) << 16 | (var$2[6] & 255) << 8 | var$2[7] & 255), Long_create(4294967295, 0))); } function ji_DataInputStream_readShort($this) { var var$1, var$2; if (ji_DataInputStream_readToBuff($this, 2) < 0) { var$1 = new ji_EOFException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } var$2 = $this.$buff.data; return ((var$2[0] & 255) << 24 >> 16 | var$2[1] & 255) << 16 >> 16; } function ji_DataInputStream_readUTF($this) { var var$1, var$2, var$3, var$4; if (ji_DataInputStream_readToBuff($this, 2) < 0) { var$1 = new ji_EOFException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } var$2 = $this.$buff.data; var$3 = ((var$2[0] & 255) << 8 | var$2[1] & 255) & 65535; var$2 = $rt_createByteArray(var$3); var$4 = $rt_createCharArray(var$3); ji_DataInputStream_readFully0($this, var$2, 0, var$3); return ji_DataInputStream_convertUTF8WithBuf(var$2, var$4, 0, var$3); } 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(241)); $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(242)); $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(242)); $rt_throw(var$12); } $count = $b + 1 | 0; if ($count >= $utfSize) { var$12 = new ji_UTFDataFormatException; jl_Throwable__init_(var$12, $rt_s(242)); $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_3($out, 0, $s); } var$12 = new ji_UTFDataFormatException; jl_Throwable__init_(var$12, $rt_s(242)); $rt_throw(var$12); } function ji_ByteArrayInputStream() { var a = this; ji_InputStream.call(a); a.$buf1 = null; a.$pos0 = 0; a.$mark = 0; a.$count0 = 0; } function ji_ByteArrayInputStream__init_(var_0) { var var_1 = new ji_ByteArrayInputStream(); ji_ByteArrayInputStream__init_0(var_1, var_0); return var_1; } function ji_ByteArrayInputStream__init_0($this, $buf) { var var$2; var$2 = $buf.data.length; $this.$buf1 = $buf; $this.$pos0 = 0; $this.$mark = 0; $this.$count0 = 0 + var$2 | 0; } function ji_ByteArrayInputStream_read($this) { var var$1, var$2, var$3; var$1 = $this.$pos0; if (var$1 >= $this.$count0) var$2 = (-1); else { var$3 = $this.$buf1.data; $this.$pos0 = var$1 + 1 | 0; var$2 = var$3[var$1] & 255; } return var$2; } function ji_ByteArrayInputStream_read0($this, $b, $off, $len) { var $bytesToRead, $i, var$6, var$7, var$8; $bytesToRead = jl_Math_min($len, $this.$count0 - $this.$pos0 | 0); $i = 0; while ($i < $bytesToRead) { var$6 = $b.data; $len = $off + 1 | 0; var$7 = $this.$buf1.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.$count0 - $this.$pos0 | 0; } function ji_ByteArrayInputStream_close($this) {} function nPn_NBTBase() { jl_Object.call(this); this.$key = null; } function nPn_NBTBase__init_($this) { $this.$key = null; } function nPn_NBTBase_getKey($this) { var var$1; var$1 = $this.$key; if (var$1 !== null) return var$1; return $rt_s(6); } function nPn_NBTBase_readTag($datainput) { var $byte0, $nbtbase; $byte0 = ji_DataInputStream_readByte($datainput); if (!$byte0) { $datainput = new nPn_NBTTagEnd; nPn_NBTBase__init_($datainput); return $datainput; } $nbtbase = nPn_NBTBase_createTagOfType($byte0); $nbtbase.$key = ji_DataInputStream_readUTF($datainput); $nbtbase.$readTagContents($datainput); return $nbtbase; } function nPn_NBTBase_writeTag($nbtbase, $dataoutput) { ji_DataOutputStream_writeByte($dataoutput, $nbtbase.$getType0()); if (!$nbtbase.$getType0()) return; ji_DataOutputStream_writeUTF($dataoutput, nPn_NBTBase_getKey($nbtbase)); $nbtbase.$writeTagContents($dataoutput); } function nPn_NBTBase_createTagOfType($byte0) { var var$2; switch ($byte0) { case 0: var$2 = new nPn_NBTTagEnd; nPn_NBTBase__init_(var$2); return var$2; case 1: var$2 = new nPn_NBTTagByte; nPn_NBTBase__init_(var$2); return var$2; case 2: var$2 = new nPn_NBTTagShort; nPn_NBTBase__init_(var$2); return var$2; case 3: var$2 = new nPn_NBTTagInt; nPn_NBTBase__init_(var$2); return var$2; case 4: var$2 = new nPn_NBTTagLong; nPn_NBTBase__init_(var$2); return var$2; case 5: var$2 = new nPn_NBTTagFloat; nPn_NBTBase__init_(var$2); return var$2; case 6: var$2 = new nPn_NBTTagDouble; nPn_NBTBase__init_(var$2); return var$2; case 7: var$2 = new nPn_NBTTagByteArray; nPn_NBTBase__init_(var$2); return var$2; case 8: var$2 = new nPn_NBTTagString; nPn_NBTBase__init_(var$2); return var$2; case 9: return nPn_NBTTagList__init_0(); case 10: return nPn_NBTTagCompound__init_(); default: } return null; } function nPn_NBTTagCompound() { nPn_NBTBase.call(this); this.$tagMap = null; } function nPn_NBTTagCompound__init_() { var var_0 = new nPn_NBTTagCompound(); nPn_NBTTagCompound__init_0(var_0); return var_0; } function nPn_NBTTagCompound__init_0($this) { nPn_NBTBase__init_($this); $this.$tagMap = ju_HashMap__init_0(); } function nPn_NBTTagCompound_writeTagContents($this, $dataoutput) { var $iterator; $iterator = ju_HashMap$2_iterator(ju_HashMap_values($this.$tagMap)); while (ju_HashMap$AbstractMapIterator_hasNext($iterator)) { nPn_NBTBase_writeTag(ju_HashMap$ValueIterator_next($iterator), $dataoutput); } ji_DataOutputStream_writeByte($dataoutput, 0); } function nPn_NBTTagCompound_readTagContents($this, $datainput) { var var$2; ju_HashMap_clear($this.$tagMap); while (true) { var$2 = nPn_NBTBase_readTag($datainput); if (!var$2.$getType0()) break; ju_HashMap_put($this.$tagMap, nPn_NBTBase_getKey(var$2), var$2); } } function nPn_NBTTagCompound_getType($this) { return 10; } var jl_Iterable = $rt_classWithoutFields(0); var ju_Collection = $rt_classWithoutFields(0); var ju_AbstractCollection = $rt_classWithoutFields(); function ju_AbstractCollection_isEmpty($this) { return $this.$size0() ? 0 : 1; } function ju_AbstractCollection_contains($this, $o) { var $iter; $iter = $this.$iterator(); while ($iter.$hasNext()) { if (ju_Objects_equals($iter.$next0(), $o)) return 1; } return 0; } function ju_AbstractCollection_toArray($this, $a) { var var$2, $i, $i_0, $iter, var$6, var$7; var$2 = $a.data; $i = $this.$size; $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$6 = $a.data; var$7 = $i_0 + 1 | 0; var$6[$i_0] = ju_AbstractList$1_next($iter); $i_0 = var$7; } return $a; } function ju_AbstractCollection_addAll($this, $c) { var $changed, $iter; $changed = 0; $iter = $c.$iterator(); while ($iter.$hasNext()) { if (!$this.$add($iter.$next0())) continue; $changed = 1; } return $changed; } function ju_AbstractCollection_removeAll($this, $c) { var $changed, $iter, var$4; $changed = 0; $iter = ju_AbstractList_iterator($this); while (ju_AbstractList$1_hasNext($iter)) { if ($c.$contains(ju_AbstractList$1_next($iter))) { if ($iter.$removeIndex < 0) { $c = new jl_IllegalStateException; jl_Throwable__init_0($c); $rt_throw($c); } ju_AbstractList$1_checkConcurrentModification($iter); ju_ArrayList_remove($iter.$this$0, $iter.$removeIndex); $iter.$modCount = $iter.$this$0.$modCount0; $changed = $iter.$removeIndex; var$4 = $iter.$index; if ($changed < var$4) $iter.$index = var$4 - 1 | 0; $iter.$size2 = $iter.$size2 - 1 | 0; $iter.$removeIndex = (-1); $changed = 1; } } return $changed; } var ju_SequencedCollection = $rt_classWithoutFields(0); var ju_List = $rt_classWithoutFields(0); function ju_AbstractList() { ju_AbstractCollection.call(this); this.$modCount0 = 0; } function ju_AbstractList_add($this, $e) { var var$2, var$3, var$4, var$5; var$2 = $this.$size3; if (var$2 < 0) { $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($e); $rt_throw($e); } var$3 = ju_LinkedList_listIterator($this, var$2); ju_LinkedList$SequentialListIterator_checkConcurrentModification(var$3); var$4 = new ju_LinkedList$Entry; var$4.$item = $e; $e = var$3.$prevEntry; var$4.$previous = $e; var$5 = var$3.$nextEntry; var$4.$next1 = var$5; if ($e !== null) $e.$next1 = var$4; else var$3.$this$00.$firstEntry = var$4; if (var$5 !== null) var$5.$previous = var$4; else var$3.$this$00.$lastEntry = var$4; var$3.$prevEntry = var$4; $e = var$3.$this$00; $e.$size3 = $e.$size3 + 1 | 0; var$2 = $e.$modCount0 + 1 | 0; $e.$modCount0 = var$2; var$3.$version = var$2; var$3.$currentEntry = null; return 1; } function ju_AbstractList_iterator($this) { var var$1; var$1 = new ju_AbstractList$1; var$1.$this$0 = $this; var$1.$modCount = $this.$modCount0; var$1.$size2 = $this.$size; var$1.$removeIndex = (-1); return var$1; } var ju_AbstractSequentialList = $rt_classWithoutFields(ju_AbstractList); function ju_AbstractSequentialList_remove($this, $index) { var $iter, $elem, var$4, var$5, var$6, var$7; if ($index < 0) { $iter = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($iter); $rt_throw($iter); } $iter = ju_LinkedList_listIterator($this, $index); $elem = ju_LinkedList$SequentialListIterator_next($iter); var$4 = $iter.$currentEntry; if (var$4 === null) { $iter = new jl_IllegalStateException; jl_Throwable__init_0($iter); $rt_throw($iter); } var$5 = $iter.$this$00; var$6 = var$4.$previous; if (var$6 === null) var$5.$firstEntry = var$4.$next1; else var$6.$next1 = var$4.$next1; var$7 = var$4.$next1; if (var$7 === null) var$5.$lastEntry = var$6; else var$7.$previous = var$6; var$5.$size3 = var$5.$size3 - 1 | 0; var$5.$modCount0 = var$5.$modCount0 + 1 | 0; var$5 = $iter.$prevEntry; if (var$4 === var$5) { $iter.$prevEntry = !ju_LinkedList$SequentialListIterator_hasNext($iter) ? null : $iter.$nextEntry.$previous; $iter.$index0 = $iter.$index0 - 1 | 0; } else if (var$4 === $iter.$nextEntry) $iter.$nextEntry = !(var$5 === null ? 0 : 1) ? null : var$5.$next1; $iter.$version = $iter.$this$00.$modCount0; $iter.$currentEntry = null; return $elem; } function ju_AbstractSequentialList_iterator($this) { return ju_LinkedList$SequentialListIterator__init_($this, $this.$firstEntry, null, 0); } var ju_Queue = $rt_classWithoutFields(0); var ju_Deque = $rt_classWithoutFields(0); function ju_LinkedList() { var a = this; ju_AbstractSequentialList.call(a); a.$firstEntry = null; a.$lastEntry = null; a.$size3 = 0; } function ju_LinkedList__init_0() { var var_0 = new ju_LinkedList(); ju_LinkedList__init_(var_0); return var_0; } function ju_LinkedList__init_($this) {} function ju_LinkedList_size($this) { return $this.$size3; } function ju_LinkedList_clear($this) { $this.$firstEntry = null; $this.$lastEntry = null; $this.$size3 = 0; $this.$modCount0 = $this.$modCount0 + 1 | 0; } function ju_LinkedList_listIterator($this, $index) { var $prev, var$3, $next, $i; if ($index < 0) { $prev = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($prev); $rt_throw($prev); } var$3 = $this.$size3; if ($index <= (var$3 / 2 | 0)) { $next = $this.$firstEntry; $i = 0; while ($i < $index) { $next = $next.$next1; $i = $i + 1 | 0; } return ju_LinkedList$SequentialListIterator__init_($this, $next, $next === null ? null : $next.$previous, $index); } if ($index > var$3) { $prev = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($prev); $rt_throw($prev); } $prev = $this.$lastEntry; $i = $index; while ($i < var$3) { $prev = $prev.$previous; $i = $i + 1 | 0; } return ju_LinkedList$SequentialListIterator__init_($this, $prev === null ? null : $prev.$next1, $prev, $index); } var otjt_ArrayBuffer = $rt_classWithoutFields(); var otjt_ArrayBufferView = $rt_classWithoutFields(); var otjt_Uint8Array = $rt_classWithoutFields(otjt_ArrayBufferView); var otjt_Float32Array = $rt_classWithoutFields(otjt_ArrayBufferView); var jl_Cloneable = $rt_classWithoutFields(0); var jt_Format = $rt_classWithoutFields(); 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.$pattern0 = null; a.$locale = null; } function jt_SimpleDateFormat__init_1() { var var_0 = new jt_SimpleDateFormat(); jt_SimpleDateFormat__init_(var_0); return var_0; } function jt_SimpleDateFormat__init_0(var_0) { var var_1 = new jt_SimpleDateFormat(); jt_SimpleDateFormat__init_2(var_1, var_0); return var_1; } function jt_SimpleDateFormat__init_($this) { var var$1, var$2, var$3, var$4; var$1 = ju_Locale_getDefault(); var$2 = var$1.$languageCode; var$3 = var$1.$countryCode; if (otciu_CLDRHelper_$$metadata$$14 === null) otciu_CLDRHelper_$$metadata$$14 = otciu_CLDRHelper_getDateFormatMap$$create(); var$4 = otciu_CLDRHelper_$$metadata$$14; var$1 = otciu_CLDRHelper_getCode(var$2, var$3); jt_SimpleDateFormat__init_2($this, ((var$4.hasOwnProperty($rt_ustr(var$1)) ? var$4[$rt_ustr(var$1)] : var$4.hasOwnProperty($rt_ustr(var$2)) ? var$4[$rt_ustr(var$2)] : var$4.root).mediumFormat !== null ? $rt_str((var$4.hasOwnProperty($rt_ustr(var$1)) ? var$4[$rt_ustr(var$1)] : var$4.hasOwnProperty($rt_ustr(var$2)) ? var$4[$rt_ustr(var$2)] : var$4.root).mediumFormat) : null)); } function jt_SimpleDateFormat__init_2($this, $pattern) { var var$2, var$3, var$4, var$5, var$6, var$7; var$2 = ju_Locale_getDefault(); var$3 = jt_DateFormatSymbols__init_0(var$2); $this.$calendar = ju_Calendar_getInstance(); var$4 = jt_DateFormatSymbols__init_0(var$3.$locale0); var$5 = var$3.$ampms; if (var$5 !== null) var$4.$ampms = ju_Arrays_copyOf(var$5, var$5.data.length); var$6 = var$3.$eras; if (var$6 !== null) var$4.$eras = ju_Arrays_copyOf(var$6, var$6.data.length); var$6 = var$3.$months; if (var$6 !== null) var$4.$months = ju_Arrays_copyOf(var$6, var$6.data.length); var$6 = var$3.$shortMonths; if (var$6 !== null) var$4.$shortMonths = ju_Arrays_copyOf(var$6, var$6.data.length); var$6 = var$3.$shortWeekdays; if (var$6 !== null) { var$5 = var$6.data; var$4.$shortWeekdays = ju_Arrays_copyOf(var$6.$clone(), var$5.length); } var$6 = var$3.$weekdays; if (var$6 !== null) var$4.$weekdays = ju_Arrays_copyOf(var$6, var$6.data.length); a: { var$6 = var$3.$zoneStrings; if (var$6 !== null) { var$4.$zoneStrings = $rt_createArray($rt_arraycls(jl_String), var$6.data.length); var$7 = 0; while (true) { var$6 = var$3.$zoneStrings.data; if (var$7 >= var$6.length) break a; var$4.$zoneStrings.data[var$7] = ju_Arrays_copyOf(var$6[var$7], var$6[var$7].data.length); var$7 = var$7 + 1 | 0; } } } $this.$dateFormatSymbols = var$4; var$3 = ju_Locale_getDefault(); $this.$locale = var$3; $this.$pattern0 = $pattern; $pattern = new jt_SimpleDatePatternParser; var$4 = $this.$dateFormatSymbols; $pattern.$elements0 = ju_ArrayList__init_0(); $pattern.$symbols = var$4; $pattern.$locale1 = var$3; jt_SimpleDatePatternParser_parsePattern($pattern, $this.$pattern0); $this.$elements = ju_AbstractCollection_toArray($pattern.$elements0, $rt_createArray(jt_DateFormatElement, 0)); $this.$locale = var$2; } var ju_Map = $rt_classWithoutFields(0); function ju_AbstractMap() { var a = this; jl_Object.call(a); a.$cachedKeySet = null; a.$cachedValues = null; } 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_0() { var var_0 = new ju_HashMap(); ju_HashMap__init_(var_0); return var_0; } function ju_HashMap__init_($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_clear($this) { var var$1; if ($this.$elementCount > 0) { $this.$elementCount = 0; var$1 = $this.$elementData; ju_Arrays_fill0(var$1, 0, var$1.data.length, null); $this.$modCount1 = $this.$modCount1 + 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_entryByKey($this, $key) === null ? 0 : 1; } function ju_HashMap_get($this, $key) { var $m; $m = ju_HashMap_entryByKey($this, $key); if ($m === null) return null; return $m.$value1; } function ju_HashMap_entryByKey($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.$next2; } return $m; } function ju_HashMap_findNullKeyEntry($this) { var $m; $m = $this.$elementData.data[0]; while ($m !== null && $m.$key0 !== null) { $m = $m.$next2; } return $m; } function ju_HashMap_put($this, $key, $value) { var var$3, var$4, var$5; if ($key === null) { var$3 = ju_HashMap_findNullKeyEntry($this); if (var$3 === null) { $this.$modCount1 = $this.$modCount1 + 1 | 0; var$3 = ju_HashMap_createHashedEntry($this, null, 0, 0); var$4 = $this.$elementCount + 1 | 0; $this.$elementCount = var$4; if (var$4 > $this.$threshold) ju_HashMap_rehash($this); } } else { var$4 = $key.$hashCode0(); var$5 = var$4 & ($this.$elementData.data.length - 1 | 0); var$3 = ju_HashMap_findNonNullKeyEntry($this, $key, var$5, var$4); if (var$3 === null) { $this.$modCount1 = $this.$modCount1 + 1 | 0; var$3 = ju_HashMap_createHashedEntry($this, $key, var$5, var$4); var$4 = $this.$elementCount + 1 | 0; $this.$elementCount = var$4; if (var$4 > $this.$threshold) ju_HashMap_rehash($this); } } $key = var$3.$value1; var$3.$value1 = $value; return $key; } function ju_HashMap_createHashedEntry($this, $key, $index, $hash) { var $entry, var$5, var$6; $entry = new ju_HashMap$HashEntry; var$5 = null; $entry.$key0 = $key; $entry.$value1 = var$5; $entry.$origKeyHash = $hash; var$6 = $this.$elementData.data; $entry.$next2 = var$6[$index]; var$6[$index] = $entry; return $entry; } function ju_HashMap_rehash($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$elementData.data.length; var$1 = ju_HashMap_calculateCapacity(!var$1 ? 1 : var$1 << 1); var$2 = $rt_createArray(ju_HashMap$HashEntry, var$1); var$3 = var$2.data; var$4 = 0; var$5 = var$1 - 1 | 0; while (true) { var$6 = $this.$elementData.data; if (var$4 >= var$6.length) break; var$7 = var$6[var$4]; var$6[var$4] = null; while (var$7 !== null) { var$1 = var$7.$origKeyHash & var$5; var$8 = var$7.$next2; var$7.$next2 = var$3[var$1]; var$3[var$1] = var$7; var$7 = var$8; } var$4 = var$4 + 1 | 0; } $this.$elementData = var$2; ju_HashMap_computeThreshold($this); } function ju_HashMap_remove($this, $key) { var var$2, var$3, $entry, var$5, var$6, var$7; a: { var$2 = 0; var$3 = null; if ($key === null) { $entry = $this.$elementData.data[0]; while ($entry !== null) { if ($entry.$key0 === null) break a; $key = $entry.$next2; var$3 = $entry; $entry = $key; } } else { var$5 = $key.$hashCode0(); var$6 = $this.$elementData.data; var$2 = var$5 & (var$6.length - 1 | 0); $entry = var$6[var$2]; while ($entry !== null && !($entry.$origKeyHash == var$5 && ju_HashMap_areEqualKeys($key, $entry.$key0))) { var$7 = $entry.$next2; var$3 = $entry; $entry = var$7; } } } if ($entry === null) $entry = null; else { if (var$3 !== null) var$3.$next2 = $entry.$next2; else $this.$elementData.data[var$2] = $entry.$next2; $this.$modCount1 = $this.$modCount1 + 1 | 0; $this.$elementCount = $this.$elementCount - 1 | 0; } if ($entry === null) return null; return $entry.$value1; } function ju_HashMap_values($this) { var var$1; if ($this.$cachedValues === null) { var$1 = new ju_HashMap$2; var$1.$this$01 = $this; $this.$cachedValues = var$1; } return $this.$cachedValues; } function ju_HashMap_areEqualKeys($key1, $key2) { return $key1 !== $key2 && !$key1.$equals($key2) ? 0 : 1; } var otjt_Int32Array = $rt_classWithoutFields(otjt_ArrayBufferView); var nleat_IndexedDBFilesystem$AsyncHandlers = $rt_classWithoutFields(); function nleat_IndexedDBFilesystem$AsyncHandlers__init_0() { var var_0 = new nleat_IndexedDBFilesystem$AsyncHandlers(); nleat_IndexedDBFilesystem$AsyncHandlers__init_(var_0); return var_0; } function nleat_IndexedDBFilesystem$AsyncHandlers__init_($this) {} function nleat_IndexedDBFilesystem$AsyncHandlers_openDB($name, $cb) { var $i, $f; $i = typeof $rt_globals.indexedDB !== 'undefined' ? $rt_globals.indexedDB : null; if ($i === null) { otpp_AsyncCallbackWrapper_complete($cb, nleat_IndexedDBFilesystem$DatabaseOpen__init_(0, 0, $rt_s(243), 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$AsyncHandlers_deleteFile(var$1, var$2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_deleteFile$_asyncCall_$(var$1, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, var$2, $ptr); } function nleat_IndexedDBFilesystem$AsyncHandlers_deleteFile0($db, $name, $cb) { var $r; $db = $db.transaction("filesystem", "readwrite").objectStore("filesystem"); $name = nleat_IndexedDBFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_8($rt_ustr($name)); $r = $db.delete($name); $db = new nleat_IndexedDBFilesystem$AsyncHandlers$5; $db.$val$cb3 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleat_IndexedDBFilesystem$AsyncHandlers$6; $db.$val$cb4 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; } function nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile(var$1, var$2) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile$_asyncCall_$(var$1, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; return otji_JSWrapper_unwrap(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, var$2, $ptr); } function nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile0($db, $name, $cb) { var $r; $db = $db.transaction("filesystem", "readonly").objectStore("filesystem"); $name = nleat_IndexedDBFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_8($rt_ustr($name)); $r = $db.get($name); $db = new nleat_IndexedDBFilesystem$AsyncHandlers$7; $db.$val$cb5 = $cb; $db.$val$r = $r; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleat_IndexedDBFilesystem$AsyncHandlers$8; $db.$val$cb6 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; } function nleat_IndexedDBFilesystem$AsyncHandlers_iterateFiles($db, $prefix, $listDirs, $recursiveDirs, $lst, $cb) { var $r, $res; $r = ($db.transaction("filesystem", "readonly").objectStore("filesystem")).openCursor(); $res = $rt_createIntArray(1); $db = new nleat_IndexedDBFilesystem$AsyncHandlers$11; $db.$val$r0 = $r; $db.$val$cb7 = $cb; $db.$val$res = $res; $db.$val$prefix = $prefix; $db.$val$recursiveDirs = $recursiveDirs; $db.$val$listDirs = $listDirs; $db.$val$lst = $lst; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleat_IndexedDBFilesystem$AsyncHandlers$12; $db.$val$cb8 = $cb; $db.$val$res0 = $res; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; } function nleat_IndexedDBFilesystem$AsyncHandlers_fileGetType($db, $name, $cb) { var $r; $db = $db.transaction("filesystem", "readonly").objectStore("filesystem"); $name = nleat_IndexedDBFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_8($rt_ustr($name)); $r = $db.get($name); $db = new nleat_IndexedDBFilesystem$AsyncHandlers$17; $db.$val$cb9 = $cb; $db.$val$r1 = $r; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleat_IndexedDBFilesystem$AsyncHandlers$18; $db.$val$cb10 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; } function nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile(var$1, var$2, var$3, var$4) { var $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();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile$_asyncCall_$(var$1, var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$1 = $tmp; return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, var$2, var$3, var$4, $ptr); } function nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile0($db, $name, $directory, $data, $cb) { var $tx, var$7, $r; $tx = $db.transaction("filesystem", "readwrite").objectStore("filesystem"); var$7 = Long_lo(Long_sub(jl_System_currentTimeMillis(), Long_create(596067632, 383))); $db = nleat_IndexedDBFilesystem$AsyncHandlers_writeRow$js_body$_22($rt_ustr($name), !!$directory, var$7, $data); $r = $tx.put($db); $name = new nleat_IndexedDBFilesystem$AsyncHandlers$19; $name.$val$cb11 = $cb; $db = otji_JS_function($name, "handleEvent"); $r.onsuccess = $db; $db = new nleat_IndexedDBFilesystem$AsyncHandlers$20; $db.$val$cb12 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; } function nleat_IndexedDBFilesystem$AsyncHandlers_openDB$_asyncCall_$(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); thread.suspend(function() { try { nleat_IndexedDBFilesystem$AsyncHandlers_openDB(var$1, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nleat_IndexedDBFilesystem$AsyncHandlers_deleteFile$_asyncCall_$(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); thread.suspend(function() { try { nleat_IndexedDBFilesystem$AsyncHandlers_deleteFile0(var$1, var$2, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile$_asyncCall_$(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); thread.suspend(function() { try { nleat_IndexedDBFilesystem$AsyncHandlers_readWholeFile0(var$1, var$2, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nleat_IndexedDBFilesystem$AsyncHandlers_iterateFiles$_asyncCall_$(var$1, var$2, var$3, var$4, var$5) { 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); thread.suspend(function() { try { nleat_IndexedDBFilesystem$AsyncHandlers_iterateFiles(var$1, var$2, var$3, var$4, var$5, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nleat_IndexedDBFilesystem$AsyncHandlers_fileGetType$_asyncCall_$(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); thread.suspend(function() { try { nleat_IndexedDBFilesystem$AsyncHandlers_fileGetType(var$1, var$2, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile$_asyncCall_$(var$1, var$2, var$3, var$4) { 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); thread.suspend(function() { try { nleat_IndexedDBFilesystem$AsyncHandlers_writeWholeFile0(var$1, var$2, var$3, var$4, callback); } catch($e) { callback.$error($rt_exception($e)); } }); return null; } function nleat_IndexedDBFilesystem$AsyncHandlers_readRow$js_body$_5(var$1) { return typeof var$1 === 'undefined' ? null : typeof var$1.data === 'undefined' ? null : var$1.data; } function nleat_IndexedDBFilesystem$AsyncHandlers_isRowDirectory$js_body$_6(var$1) { return typeof var$1 === 'undefined' ? false : typeof var$1.directory === 'undefined' ? false : var$1.directory; } function nleat_IndexedDBFilesystem$AsyncHandlers_readLastModified$js_body$_7(var$1) { return typeof var$1 === 'undefined' ? -1 : typeof var$1.lastModified === 'undefined' ? -1 : var$1.lastModified; } function nleat_IndexedDBFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_8(var$1) { return [var$1]; } function nleat_IndexedDBFilesystem$AsyncHandlers_readKey$js_body$_13(var$1) { return typeof var$1 === "string" ? var$1 : typeof var$1 === "undefined" ? null : typeof var$1[0] === "string" ? var$1[0] : null; } function nleat_IndexedDBFilesystem$AsyncHandlers_writeRow$js_body$_22(var$1, var$2, var$3, var$4) { return { path : var$1, directory : var$2, lastModified : var$3, data : var$4 }; } 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 jnc_Charset() { var a = this; jl_Object.call(a); a.$canonicalName = null; a.$aliases = null; } function jnc_Charset__init_($this, $canonicalName, $aliases) { var var$3, var$4, var$5; var$3 = $aliases.data; jnc_Charset_checkCanonicalName($canonicalName); var$4 = var$3.length; var$5 = 0; while (var$5 < var$4) { jnc_Charset_checkCanonicalName(var$3[var$5]); var$5 = var$5 + 1 | 0; } $this.$canonicalName = $canonicalName; $this.$aliases = $aliases.$clone(); } 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) { a: { b: { if (!($c >= 48 && $c <= 57) && !($c >= 97 && $c <= 122)) { if ($c < 65) break b; if ($c > 90) break b; } $c = 1; break a; } $c = 0; } return $c; } function jnc_Charset_forName($charsetName) { var $charset, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if ($charsetName === null) { $charsetName = new jl_IllegalArgumentException; jl_Throwable__init_($charsetName, $rt_s(244)); $rt_throw($charsetName); } jnc_Charset_checkCanonicalName($charsetName); jnc_Charset$Charsets_$callClinit(); $charset = jnc_Charset$Charsets_value; if (jl_String_isEmpty($charsetName)) var$3 = $charsetName; else { var$4 = 0; var$5 = 0; var$6 = $charsetName.$characters.data; var$7 = var$6.length; var$8 = 0; a: { while (var$8 < var$7) { var$9 = var$6[var$8]; if (jl_Character_toUpperCase(var$9) != var$9) { var$4 = 1; break a; } if (jl_Character_isSurrogate(var$9)) var$5 = 1; var$8 = var$8 + 1 | 0; } } if (!var$4) var$3 = $charsetName; else if (!var$5) { var$6 = $rt_createCharArray($charsetName.$characters.data.length); var$10 = var$6.data; var$4 = 0; while (true) { var$11 = $charsetName.$characters.data; if (var$4 >= var$11.length) break; var$10[var$4] = jl_Character_toUpperCase(var$11[var$4]); var$4 = var$4 + 1 | 0; } var$3 = jl_String__init_(var$6); } else { var$6 = $rt_createIntArray($charsetName.$characters.data.length); var$10 = var$6.data; var$5 = 0; var$4 = 0; while (true) { var$11 = $charsetName.$characters.data; var$9 = var$11.length; if (var$4 >= var$9) break; b: { if (var$4 != (var$9 - 1 | 0) && jl_Character_isHighSurrogate(var$11[var$4])) { var$11 = $charsetName.$characters.data; var$12 = var$4 + 1 | 0; if (jl_Character_isLowSurrogate(var$11[var$12])) { var$9 = var$5 + 1 | 0; var$11 = $charsetName.$characters.data; var$10[var$5] = jl_Character_toUpperCase0(jl_Character_toCodePoint(var$11[var$4], var$11[var$12])); var$4 = var$12; break b; } } var$9 = var$5 + 1 | 0; var$10[var$5] = jl_Character_toUpperCase($charsetName.$characters.data[var$4]); } var$4 = var$4 + 1 | 0; var$5 = var$9; } var$3 = jl_String__init_7(var$6, 0, var$5); } } $charset = ju_HashMap_get($charset, var$3); if ($charset !== null) return $charset; $charset = new jnc_UnsupportedCharsetException; jl_Throwable__init_0($charset); $charset.$charsetName = $charsetName; $rt_throw($charset); } function jnc_Charset_name($this) { return $this.$canonicalName; } function jnc_Charset_decode($this, $bb) { var var$2, $e, $$je; a: { try { var$2 = $this.$newDecoder(); jnc_CodingErrorAction_$callClinit(); $bb = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$2, 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_0($rt_s(245), $e)); } function jnc_Charset_encode($this, $cb) { var var$2, $e, $$je; a: { try { var$2 = $this.$newEncoder(); jnc_CodingErrorAction_$callClinit(); $cb = jnc_CharsetEncoder_encode0(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(var$2, 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_0($rt_s(245), $e)); } function jnc_Charset_compareTo($this, $that) { var var$2, var$3, var$4, var$5; a: { var$2 = $this.$canonicalName; $that = $that.$canonicalName; if (var$2 === $that) var$3 = 0; else { var$4 = jl_Math_min(jl_String_length(var$2), jl_String_length($that)); var$5 = 0; while (true) { if (var$5 >= var$4) { var$3 = jl_String_length(var$2) - jl_String_length($that) | 0; break a; } var$3 = jl_Character_toLowerCase(jl_String_charAt(var$2, var$5)) - jl_Character_toLowerCase(jl_String_charAt($that, var$5)) | 0; if (var$3) break; var$5 = var$5 + 1 | 0; } } } return var$3; } function jnc_Charset_compareTo0($this, var$1) { return jnc_Charset_compareTo($this, var$1); } function cjj_InflaterInputStream() { var a = this; ji_FilterInputStream.call(a); a.$inflater = null; a.$buf0 = 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) { var var$1; if ($this.$closed) { var$1 = new ji_IOException; jl_Throwable__init_(var$1, $rt_s(246)); $rt_throw(var$1); } return cjj_InflaterInputStream_read0($this, $this.$byte1, 0, 1) == (-1) ? (-1) : $this.$byte1.data[0] & 255; } function cjj_InflaterInputStream_read0($this, $b, $off, $len) { var var$4, $n, var$6, var$7, $err, var$9; if ($this.$closed) { var$4 = new ji_IOException; jl_Throwable__init_(var$4, $rt_s(246)); $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; var$4 = $this.$inflater; var$4.$next_out = $b; var$4.$next_out_index = $off; var$4.$avail_out = $len; a: { b: { while (!$this.$eof) { if (!$this.$inflater.$avail_in) { if ($this.$closed) { var$4 = new ji_IOException; jl_Throwable__init_(var$4, $rt_s(246)); $rt_throw(var$4); } var$4 = $this.$in; $b = $this.$buf0; var$6 = var$4.$read0($b, 0, $b.data.length); if (var$6 == (-1)) { var$4 = $this.$inflater.$istate; if (var$4.$wrap5) break a; if (var$4.$mode1 != 12 ? 0 : 1) break a; $this.$buf0.data[0] = 0; var$6 = 1; } var$4 = $this.$inflater; var$7 = $this.$buf0; if (!(var$6 <= 0 && var$4.$next_in !== null)) { $err = var$4.$avail_in; if ($err <= 0) { var$4.$next_in = var$7; var$4.$next_in_index = 0; var$4.$avail_in = var$6; } else { $b = $rt_createByteArray($err + var$6 | 0); jl_System_fastArraycopy(var$4.$next_in, var$4.$next_in_index, $b, 0, $err); jl_System_fastArraycopy(var$7, 0, $b, var$4.$avail_in, var$6); var$4.$next_in = $b; var$4.$next_in_index = 0; var$4.$avail_in = var$4.$avail_in + var$6 | 0; } } } var$9 = $this.$inflater; var$4 = var$9.$istate; if (var$4 === null) $err = (-2); else { $err = cjj_Inflate_inflate(var$4, 0); if ($err == 1) var$9.$finished = 1; } c: { var$4 = $this.$inflater; $len = var$4.$next_out_index; $n = $n + ($len - $off | 0) | 0; switch ($err) { case -3: var$9 = new ji_IOException; jl_Throwable__init_(var$9, var$4.$msg); $rt_throw(var$9); case 1: case 2: break; default: break c; } $this.$eof = 1; if ($err == 2) return (-1); } if (!var$4.$avail_out) break b; $off = $len; } } return $n; } if (Long_ne(var$4.$was, Long_fromInt(-1))) { var$4 = new ji_IOException; jl_Throwable__init_(var$4, $rt_s(247)); $rt_throw(var$4); } var$4 = new ji_EOFException; jl_Throwable__init_(var$4, $rt_s(248)); $rt_throw(var$4); } 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(246)); $rt_throw(var$1); } function cjj_InflaterInputStream_close($this) { var var$1; if (!$this.$closed) { if ($this.$myinflater) { var$1 = $this.$inflater; var$1.$finished = 1; var$1 = var$1.$istate; if (var$1 !== null) cjj_Inflate_inflateEnd(var$1); } if ($this.$close_in) $this.$in.$close(); $this.$closed = 1; } } function nle_GeneralDigest() { var a = this; jl_Object.call(a); a.$xBuf = null; a.$xBufOff = 0; a.$byteCount = Long_ZERO; } function nle_GeneralDigest_update($this, $in) { var var$2, var$3, var$4, var$5; var$2 = $this.$xBuf; var$3 = var$2.data; var$4 = $this.$xBufOff; var$5 = var$4 + 1 | 0; $this.$xBufOff = var$5; var$3[var$4] = $in; if (var$5 == var$3.length) { nle_SHA1Digest_processWord($this, var$2, 0); $this.$xBufOff = 0; } $this.$byteCount = Long_add($this.$byteCount, Long_fromInt(1)); } 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__init_0() { var var_0 = new nle_SHA1Digest(); nle_SHA1Digest__init_(var_0); return var_0; } function nle_SHA1Digest__init_($this) { $this.$xBuf = $rt_createByteArray(4); $this.$xBufOff = 0; $this.$X = $rt_createIntArray(80); nle_SHA1Digest_reset($this); } function nle_SHA1Digest_processWord($this, $in, $inOff) { var var$3, var$4, var$5; var$3 = $in.data; $in = $this.$X.data; var$4 = $this.$xOff; var$5 = var$4 + 1 | 0; $this.$xOff = var$5; $in[var$4] = (var$3[$inOff] & 255) << 24 | (var$3[$inOff + 1 | 0] & 255) << 16 | (var$3[$inOff + 2 | 0] & 255) << 8 | var$3[$inOff + 3 | 0] & 255; if (var$5 == 16) nle_SHA1Digest_processBlock($this); } function nle_SHA1Digest_unpackWord($this, $word, $out, $outOff) { $out = $out.data; $out[$outOff] = ($word >>> 24 | 0) << 24 >> 24; $out[$outOff + 1 | 0] = ($word >>> 16 | 0) << 24 >> 24; $out[$outOff + 2 | 0] = ($word >>> 8 | 0) << 24 >> 24; $out[$outOff + 3 | 0] = $word << 24 >> 24; } function nle_SHA1Digest_reset($this) { var $i, var$2; $this.$byteCount = Long_ZERO; $this.$xBufOff = 0; $i = 0; while (true) { var$2 = $this.$xBuf.data; if ($i >= var$2.length) break; var$2[$i] = 0; $i = $i + 1 | 0; } $this.$H1 = 1732584193; $this.$H2 = (-271733879); $this.$H3 = (-1732584194); $this.$H4 = 271733878; $this.$H5 = (-1009589776); $this.$xOff = 0; $i = 0; while (true) { var$2 = $this.$X.data; if ($i == var$2.length) break; var$2[$i] = 0; $i = $i + 1 | 0; } } 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) | 0); } function nle_SHA1Digest_processBlock($this) { var $i, var$2, $A, $B, $C, $D, $E, $j, $t, $j_0; $i = 16; while ($i <= 79) { var$2 = $this.$X.data; var$2[$i] = nle_SHA1Digest_rotateLeft($this, var$2[$i - 3 | 0] ^ var$2[$i - 8 | 0] ^ var$2[$i - 14 | 0] ^ var$2[$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 (true) { var$2 = $this.$X.data; if ($i == var$2.length) break; var$2[$i] = 0; $i = $i + 1 | 0; } } var ju_Arrays = $rt_classWithoutFields(); function ju_Arrays__init_0() { var var_0 = new ju_Arrays(); ju_Arrays__init_(var_0); return var_0; } function ju_Arrays__init_($this) {} function ju_Arrays_copyOf0($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_copyOf1($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_copyOf($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_fill1($a, $fromIndex, $toIndex, $val) { var var$5, var$6, var$7; if ($fromIndex > $toIndex) { var$5 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$5); $rt_throw(var$5); } while ($fromIndex < $toIndex) { var$6 = $a.data; var$7 = $fromIndex + 1 | 0; var$6[$fromIndex] = $val; $fromIndex = var$7; } } function ju_Arrays_fill($a, $val) { ju_Arrays_fill1($a, 0, $a.data.length, $val); } function ju_Arrays_fill2($a, $fromIndex, $toIndex, $val) { var var$5, var$6, var$7; if ($fromIndex > $toIndex) { var$5 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$5); $rt_throw(var$5); } while ($fromIndex < $toIndex) { var$6 = $a.data; var$7 = $fromIndex + 1 | 0; var$6[$fromIndex] = $val; $fromIndex = var$7; } } function ju_Arrays_fill0($a, $fromIndex, $toIndex, $val) { var var$5, var$6; if ($fromIndex > $toIndex) { $val = new jl_IllegalArgumentException; jl_Throwable__init_0($val); $rt_throw($val); } while ($fromIndex < $toIndex) { var$5 = $a.data; var$6 = $fromIndex + 1 | 0; var$5[$fromIndex] = $val; $fromIndex = 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; if ($c === null) $c = ju_Comparator$NaturalOrder_INSTANCE; $second = $rt_createArray(jl_Object, var$3); $chunkSize = 1; var$6 = $a; while ($chunkSize < var$3) { $i = 0; while (true) { var$8 = var$6.data; 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_equals($a, $a2) { var var$3, var$4, var$5; if ($a === $a2) return 1; if ($a !== null && $a2 !== null) { $a = $a.data; $a2 = $a2.data; var$3 = $a.length; if (var$3 == $a2.length) { var$4 = 0; a: { while (true) { if (var$4 >= var$3) { var$4 = (-1); break a; } var$5 = var$4 + 0 | 0; if (!ju_Objects_equals($a[var$5], $a2[var$5])) break; var$4 = var$4 + 1 | 0; } } return var$4 >= 0 ? 0 : 1; } } return 0; } function ju_Arrays_hashCode($a) { var $hash, $i, var$4; if ($a === null) return 0; $hash = 1; $i = 0; while (true) { var$4 = $a.data; if ($i >= var$4.length) break; $hash = (31 * $hash | 0) + ju_Objects_hashCode(var$4[$i]) | 0; $i = $i + 1 | 0; } return $hash; } var otjc_JSWeakMap = $rt_classWithoutFields(); var otjc_JSWeakRef = $rt_classWithoutFields(); var otjc_JSMap = $rt_classWithoutFields(); var otjc_JSFinalizationRegistryConsumer = $rt_classWithoutFields(0); var otji_JSWrapper$_clinit_$lambda$_30_0 = $rt_classWithoutFields(); function otji_JSWrapper$_clinit_$lambda$_30_0__init_0() { var var_0 = new otji_JSWrapper$_clinit_$lambda$_30_0(); otji_JSWrapper$_clinit_$lambda$_30_0__init_(var_0); return var_0; } function otji_JSWrapper$_clinit_$lambda$_30_0__init_(var$0) {} function otji_JSWrapper$_clinit_$lambda$_30_0_accept$exported$0(var$0, var$1) { var var$2; var$1 = otji_JSWrapper_jsToJava(var$1); var$2 = otji_JSWrapper_stringWrappers; var$1 = otji_JSWrapper_unwrap(var$1); var$2.delete(var$1); } var otjc_JSFinalizationRegistry = $rt_classWithoutFields(); var otji_JSWrapper$_clinit_$lambda$_30_1 = $rt_classWithoutFields(); function otji_JSWrapper$_clinit_$lambda$_30_1__init_0() { var var_0 = new otji_JSWrapper$_clinit_$lambda$_30_1(); otji_JSWrapper$_clinit_$lambda$_30_1__init_(var_0); return var_0; } function otji_JSWrapper$_clinit_$lambda$_30_1__init_(var$0) {} function otji_JSWrapper$_clinit_$lambda$_30_1_accept$exported$0(var$0, var$1) { var var$2; var$1 = otji_JSWrapper_jsToJava(var$1); var$2 = otji_JSWrapper_numberWrappers; var$1 = otji_JSWrapper_unwrap(var$1); var$2.delete(var$1); } var jnci_UTF8Charset = $rt_classWithoutFields(jnc_Charset); var jnci_UTF8Charset_INSTANCE = null; function jnci_UTF8Charset_$callClinit() { jnci_UTF8Charset_$callClinit = $rt_eraseClinit(jnci_UTF8Charset); jnci_UTF8Charset__clinit_(); } function jnci_UTF8Charset__init_0() { var var_0 = new jnci_UTF8Charset(); jnci_UTF8Charset__init_(var_0); return var_0; } function jnci_UTF8Charset__init_($this) { jnci_UTF8Charset_$callClinit(); jnc_Charset__init_($this, $rt_s(31), $rt_createArray(jl_String, 0)); } function jnci_UTF8Charset_newDecoder($this) { var var$1; var$1 = new jnci_UTF8Decoder; jnci_BufferedDecoder__init_(var$1, $this, 0.3333333432674408, 0.5); return var$1; } function jnci_UTF8Charset_newEncoder($this) { var var$1; var$1 = new jnci_UTF8Encoder; jnci_BufferedEncoder__init_(var$1, $this, 2.0, 4.0); return var$1; } function jnci_UTF8Charset__clinit_() { jnci_UTF8Charset_INSTANCE = jnci_UTF8Charset__init_0(); } var jur_RandomGenerator = $rt_classWithoutFields(0); function jur_RandomGenerator_nextBoolean($this) { return ju_Random_nextInt0($this) >= 0 ? 0 : 1; } function ju_Random() { var a = this; jl_Object.call(a); a.$storedGaussian = 0.0; a.$haveStoredGaussian = 0; } function ju_Random__init_0() { var var_0 = new ju_Random(); ju_Random__init_(var_0); return var_0; } function ju_Random__init_1(var_0) { var var_1 = new ju_Random(); ju_Random__init_2(var_1, var_0); return var_1; } function ju_Random__init_($this) {} function ju_Random__init_2($this, $seed) {} function ju_Random_setSeed($this, $seed) {} function ju_Random_nextInt0($this) { return 4.294967296E9 * ju_Random_nextDouble($this) + (-2.147483648E9) | 0; } function ju_Random_nextInt($this, $n) { var var$2; if ($n > 0) return ju_Random_nextDouble($this) * $n | 0; var$2 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } function ju_Random_nextLong($this) { return Long_or(Long_shl(Long_fromInt(ju_Random_nextInt0($this)), 32), Long_fromInt(ju_Random_nextInt0($this))); } function ju_Random_nextFloat($this) { return ju_Random_nextDouble($this); } function ju_Random_nextDouble($this) { return $rt_globals.Math.random(); } function ju_Random_nextGaussian($this) { var var$1, var$2, var$3, var$4, var$5, $pair; if ($this.$haveStoredGaussian) { $this.$haveStoredGaussian = 0; return $this.$storedGaussian; } var$1 = new ju_Random$nextGaussian$lambda$_9_0; var$1.$_03 = $this; while (true) { while (true) { var$2 = 2.0 * ju_Random$nextGaussian$lambda$_9_0_getAsDouble(var$1) - 1.0; var$3 = 2.0 * ju_Random$nextGaussian$lambda$_9_0_getAsDouble(var$1) - 1.0; var$4 = var$2 * var$2 + var$3 * var$3; if (var$4 >= 1.0) continue; else break; } if (var$4 === 0.0) continue; else break; } var$5 = jl_Math_sqrt((-2.0) * jl_Math_log(var$4) / var$4); $pair = $rt_createDoubleArray(2).data; $pair[0] = var$2 * var$5; $pair[1] = var$3 * var$5; $this.$haveStoredGaussian = 1; $this.$storedGaussian = $pair[1]; return $pair[0]; } var nms_GLAllocation = $rt_classWithoutFields(); var nms_GLAllocation_displayLists = null; var nms_GLAllocation_textureNames = null; function nms_GLAllocation__init_0() { var var_0 = new nms_GLAllocation(); nms_GLAllocation__init_(var_0); return var_0; } function nms_GLAllocation__init_($this) {} function nms_GLAllocation_generateDisplayLists($i) { var $j, var$3, var$4, var$5, var$6, var$7; jl_Object_monitorEnterSync($rt_cls(nms_GLAllocation)); try { olo_EaglerAdapterGL30_$callClinit(); $j = olo_EaglerAdapterGL30_displayListId + 1 | 0; var$3 = 0; while (var$3 < $i) { var$4 = olo_EaglerAdapterGL30_displayListId + 1 | 0; olo_EaglerAdapterGL30_displayListId = var$4; var$5 = olo_EaglerAdapterGL30_displayLists; var$6 = jl_Integer_valueOf(var$4); var$7 = new olo_EaglerAdapterGL30$DisplayList; var$7.$id0 = var$4; var$7.$glarray = null; var$7.$glbuffer = null; var$7.$shaderMode = (-1); var$7.$listLength = 0; ju_HashMap_put(var$5, var$6, var$7); var$3 = var$3 + 1 | 0; } ju_ArrayList_add(nms_GLAllocation_displayLists, jl_Integer_valueOf($j)); ju_ArrayList_add(nms_GLAllocation_displayLists, jl_Integer_valueOf($i)); return $j; } finally { jl_Object_monitorExitSync($rt_cls(nms_GLAllocation)); } } function nms_GLAllocation_generateTextureNames($intbuffer) { var $i, var$3, var$4, var$5, $tx, var$7; jl_Object_monitorEnterSync($rt_cls(nms_GLAllocation)); try { $i = $intbuffer.$position; a: { while ($i < $intbuffer.$limit) { olo_EaglerAdapterGL30_$callClinit(); var$3 = olo_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = new nlea_EaglerAdapterImpl2$TextureGL; var$5 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$4.$w = (-1); var$4.$h0 = (-1); var$4.$nearest = 1; var$4.$anisotropic = 0; var$4.$obj4 = var$5; $tx = nPg_GLObjectMap_register(var$3, var$4); if ($intbuffer.$readOnly0()) { $intbuffer = new jn_ReadOnlyBufferException; jl_Throwable__init_0($intbuffer); $rt_throw($intbuffer); } if ($i < 0) break a; if ($i >= $intbuffer.$limit) break a; jn_IntBufferOverArray_putElement($intbuffer, $i, $tx); ju_ArrayList_add(nms_GLAllocation_textureNames, jl_Integer_valueOf($tx)); $i = $i + 1 | 0; } return; } var$3 = new jl_IndexOutOfBoundsException; var$7 = $intbuffer.$limit; $intbuffer = new jl_StringBuilder; jl_AbstractStringBuilder__init_($intbuffer); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append($intbuffer, $rt_s(249)), $i), $rt_s(250)), var$7), 41); jl_Throwable__init_(var$3, jl_AbstractStringBuilder_toString($intbuffer)); $rt_throw(var$3); } finally { jl_Object_monitorExitSync($rt_cls(nms_GLAllocation)); } } function nms_GLAllocation_createDirectByteBuffer($par0) { var var$2; var$2 = jn_ByteBuffer_wrap0($rt_createByteArray($par0)); var$2.$order = jn_ByteOrder_nativeOrder(); return var$2; } function nms_GLAllocation_createDirectIntBuffer($par0) { return jn_IntBuffer_wrap($rt_createIntArray($par0)); } function nms_GLAllocation_createDirectFloatBuffer($par0) { var var$2, var$3, var$4, var$5; var$2 = $rt_createFloatArray($par0); var$3 = var$2.data.length; var$4 = new jn_FloatBufferOverArray; var$5 = 0 + var$3 | 0; jn_Buffer__init_(var$4, var$3); var$4.$position = 0; var$4.$limit = var$5; var$4.$start4 = 0; var$4.$readOnly1 = 0; var$4.$array1 = var$2; return var$4; } function nms_GLAllocation__clinit_() { nms_GLAllocation_displayLists = ju_ArrayList__init_0(); nms_GLAllocation_textureNames = ju_ArrayList__init_0(); } function nms_ItemRenderer() { var a = this; jl_Object.call(a); a.$mc4 = null; a.$field_9451_b = null; a.$field_9453_c = 0.0; a.$field_9452_d = 0.0; a.$field_1357_e = null; } function nms_ItemRenderer__init_(var_0) { var var_1 = new nms_ItemRenderer(); nms_ItemRenderer__init_0(var_1, var_0); return var_1; } function nms_ItemRenderer__init_0($this, $var1) { $this.$field_9451_b = null; $this.$field_9453_c = 0.0; $this.$field_9452_d = 0.0; $this.$field_1357_e = nms_RenderBlocks__init_1(); $this.$mc4 = $var1; } function nms_ItemRenderer_renderItem($this, $var1) { var $var12, var$3, $var2, var$5, $var3, $var4, $var5, $var6, var$10, var$11, var$12, var$13, var$14, $var13, $var14, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var12 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glPushMatrix(); $var12 = $var1.$itemID; if ($var12 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_func_1219_a(nms_Block_blocksList.data[$var12].$getRenderType())) { var$3 = 3553; $var2 = $this.$mc4.$renderEngine; var$5 = $rt_s(198); $ptr = 3; continue main; } } if ($var1.$itemID >= 256) { var$3 = 3553; var$5 = $this.$mc4.$renderEngine; $var2 = $rt_s(182); $ptr = 1; continue main; } var$3 = 3553; $var2 = $this.$mc4.$renderEngine; var$5 = $rt_s(198); $ptr = 2; continue main; case 1: $tmp = nms_RenderEngine_getTexture(var$5, $var2); if ($rt_suspending()) { break main; } $var12 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$3, $var12); nms_Tessellator_$callClinit(); $var2 = nms_Tessellator_instance; $var3 = (((nms_ItemStack_getIconIndex($var1) % 16 | 0) * 16 | 0) + 0.0) / 256.0; $var4 = (((nms_ItemStack_getIconIndex($var1) % 16 | 0) * 16 | 0) + 15.989999771118164) / 256.0; $var5 = (((nms_ItemStack_getIconIndex($var1) / 16 | 0) * 16 | 0) + 0.0) / 256.0; $var6 = (((nms_ItemStack_getIconIndex($var1) / 16 | 0) * 16 | 0) + 15.989999771118164) / 256.0; olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glTranslatef(-0.0, (-0.30000001192092896), 0.0); olo_EaglerAdapterGL30_glScalef(1.5, 1.5, 1.5); olo_EaglerAdapterGL30_glRotatef(50.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef(335.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glTranslatef((-0.9375), (-0.0625), 0.0); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, 1.0); var$10 = $var4; var$11 = $var6; nms_Tessellator_addVertexWithUV($var2, 0.0, 0.0, 0.0, var$10, var$11); var$12 = $var3; nms_Tessellator_addVertexWithUV($var2, 1.0, 0.0, 0.0, var$12, var$11); var$13 = $var5; nms_Tessellator_addVertexWithUV($var2, 1.0, 1.0, 0.0, var$12, var$13); nms_Tessellator_addVertexWithUV($var2, 0.0, 1.0, 0.0, var$10, var$13); nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, (-1.0)); nms_Tessellator_addVertexWithUV($var2, 0.0, 1.0, (-0.0625), var$10, var$13); nms_Tessellator_addVertexWithUV($var2, 1.0, 1.0, (-0.0625), var$12, var$13); nms_Tessellator_addVertexWithUV($var2, 1.0, 0.0, (-0.0625), var$12, var$11); nms_Tessellator_addVertexWithUV($var2, 0.0, 0.0, (-0.0625), var$10, var$11); nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f((-1.0), 0.0, 0.0); $var12 = 0; var$14 = $var3 - $var4; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var4 + var$14 * $var13 - 0.001953125; var$17 = 1.0 * $var13; var$18 = $var14; nms_Tessellator_addVertexWithUV($var2, var$17, 0.0, (-0.0625), var$18, var$11); nms_Tessellator_addVertexWithUV($var2, var$17, 0.0, 0.0, var$18, var$11); nms_Tessellator_addVertexWithUV($var2, var$17, 1.0, 0.0, var$18, var$13); nms_Tessellator_addVertexWithUV($var2, var$17, 1.0, (-0.0625), var$18, var$13); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(1.0, 0.0, 0.0); $var12 = 0; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var4 + var$14 * $var13 - 0.001953125; var$19 = 1.0 * $var13 + 0.0625; var$18 = $var14; nms_Tessellator_addVertexWithUV($var2, var$19, 1.0, (-0.0625), var$18, var$13); nms_Tessellator_addVertexWithUV($var2, var$19, 1.0, 0.0, var$18, var$13); nms_Tessellator_addVertexWithUV($var2, var$19, 0.0, 0.0, var$18, var$11); nms_Tessellator_addVertexWithUV($var2, var$19, 0.0, (-0.0625), var$18, var$11); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); $var12 = 0; $var5 = $var5 - $var6; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var6 + $var5 * $var13 - 0.001953125; var$17 = 1.0 * $var13 + 0.0625; var$20 = $var14; nms_Tessellator_addVertexWithUV($var2, 0.0, var$17, 0.0, var$10, var$20); nms_Tessellator_addVertexWithUV($var2, 1.0, var$17, 0.0, var$12, var$20); nms_Tessellator_addVertexWithUV($var2, 1.0, var$17, (-0.0625), var$12, var$20); nms_Tessellator_addVertexWithUV($var2, 0.0, var$17, (-0.0625), var$10, var$20); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, (-1.0), 0.0); $var12 = 0; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var6 + $var5 * $var13 - 0.001953125; var$19 = 1.0 * $var13; var$18 = $var14; nms_Tessellator_addVertexWithUV($var2, 1.0, var$19, 0.0, var$12, var$18); nms_Tessellator_addVertexWithUV($var2, 0.0, var$19, 0.0, var$10, var$18); nms_Tessellator_addVertexWithUV($var2, 0.0, var$19, (-0.0625), var$10, var$18); nms_Tessellator_addVertexWithUV($var2, 1.0, var$19, (-0.0625), var$12, var$18); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; case 2: $tmp = nms_RenderEngine_getTexture($var2, var$5); if ($rt_suspending()) { break main; } $var12 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$3, $var12); nms_Tessellator_$callClinit(); $var2 = nms_Tessellator_instance; $var3 = (((nms_ItemStack_getIconIndex($var1) % 16 | 0) * 16 | 0) + 0.0) / 256.0; $var4 = (((nms_ItemStack_getIconIndex($var1) % 16 | 0) * 16 | 0) + 15.989999771118164) / 256.0; $var5 = (((nms_ItemStack_getIconIndex($var1) / 16 | 0) * 16 | 0) + 0.0) / 256.0; $var6 = (((nms_ItemStack_getIconIndex($var1) / 16 | 0) * 16 | 0) + 15.989999771118164) / 256.0; olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glTranslatef(-0.0, (-0.30000001192092896), 0.0); olo_EaglerAdapterGL30_glScalef(1.5, 1.5, 1.5); olo_EaglerAdapterGL30_glRotatef(50.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef(335.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glTranslatef((-0.9375), (-0.0625), 0.0); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, 1.0); var$10 = $var4; var$11 = $var6; nms_Tessellator_addVertexWithUV($var2, 0.0, 0.0, 0.0, var$10, var$11); var$12 = $var3; nms_Tessellator_addVertexWithUV($var2, 1.0, 0.0, 0.0, var$12, var$11); var$13 = $var5; nms_Tessellator_addVertexWithUV($var2, 1.0, 1.0, 0.0, var$12, var$13); nms_Tessellator_addVertexWithUV($var2, 0.0, 1.0, 0.0, var$10, var$13); nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, (-1.0)); nms_Tessellator_addVertexWithUV($var2, 0.0, 1.0, (-0.0625), var$10, var$13); nms_Tessellator_addVertexWithUV($var2, 1.0, 1.0, (-0.0625), var$12, var$13); nms_Tessellator_addVertexWithUV($var2, 1.0, 0.0, (-0.0625), var$12, var$11); nms_Tessellator_addVertexWithUV($var2, 0.0, 0.0, (-0.0625), var$10, var$11); nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f((-1.0), 0.0, 0.0); $var12 = 0; var$14 = $var3 - $var4; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var4 + var$14 * $var13 - 0.001953125; var$17 = 1.0 * $var13; var$18 = $var14; nms_Tessellator_addVertexWithUV($var2, var$17, 0.0, (-0.0625), var$18, var$11); nms_Tessellator_addVertexWithUV($var2, var$17, 0.0, 0.0, var$18, var$11); nms_Tessellator_addVertexWithUV($var2, var$17, 1.0, 0.0, var$18, var$13); nms_Tessellator_addVertexWithUV($var2, var$17, 1.0, (-0.0625), var$18, var$13); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(1.0, 0.0, 0.0); $var12 = 0; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var4 + var$14 * $var13 - 0.001953125; var$19 = 1.0 * $var13 + 0.0625; var$18 = $var14; nms_Tessellator_addVertexWithUV($var2, var$19, 1.0, (-0.0625), var$18, var$13); nms_Tessellator_addVertexWithUV($var2, var$19, 1.0, 0.0, var$18, var$13); nms_Tessellator_addVertexWithUV($var2, var$19, 0.0, 0.0, var$18, var$11); nms_Tessellator_addVertexWithUV($var2, var$19, 0.0, (-0.0625), var$18, var$11); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); $var12 = 0; $var5 = $var5 - $var6; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var6 + $var5 * $var13 - 0.001953125; var$17 = 1.0 * $var13 + 0.0625; var$20 = $var14; nms_Tessellator_addVertexWithUV($var2, 0.0, var$17, 0.0, var$10, var$20); nms_Tessellator_addVertexWithUV($var2, 1.0, var$17, 0.0, var$12, var$20); nms_Tessellator_addVertexWithUV($var2, 1.0, var$17, (-0.0625), var$12, var$20); nms_Tessellator_addVertexWithUV($var2, 0.0, var$17, (-0.0625), var$10, var$20); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); nms_Tessellator_startDrawingQuads($var2); olo_EaglerAdapterGL30_glNormal3f(0.0, (-1.0), 0.0); $var12 = 0; while ($var12 < 16) { $var13 = $var12 / 16.0; $var14 = $var6 + $var5 * $var13 - 0.001953125; var$19 = 1.0 * $var13; var$18 = $var14; nms_Tessellator_addVertexWithUV($var2, 1.0, var$19, 0.0, var$12, var$18); nms_Tessellator_addVertexWithUV($var2, 0.0, var$19, 0.0, var$10, var$18); nms_Tessellator_addVertexWithUV($var2, 0.0, var$19, (-0.0625), var$10, var$18); nms_Tessellator_addVertexWithUV($var2, 1.0, var$19, (-0.0625), var$12, var$18); $var12 = $var12 + 1 | 0; } nms_Tessellator_draw($var2); olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; case 3: $tmp = nms_RenderEngine_getTexture($var2, var$5); if ($rt_suspending()) { break main; } $var12 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$3, $var12); nms_RenderBlocks_func_1227_a($this.$field_1357_e, nms_Block_blocksList.data[$var1.$itemID]); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var12, var$3, $var2, var$5, $var3, $var4, $var5, $var6, var$10, var$11, var$12, var$13, var$14, $var13, $var14, var$17, var$18, var$19, var$20, $ptr); } function nms_ItemRenderer_renderItemInFirstPerson($this, $var1) { var $var7, $var2, $var3, $var10, var$6, var$7, var$8, $var4, $var5, $var8, $var8_0, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var8_0 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var10 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var7 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $this.$field_9452_d; $var2 = $var7 + ($this.$field_9453_c - $var7) * $var1; $var3 = $this.$mc4.$thePlayer; olo_EaglerAdapterGL30_glPushMatrix(); $var7 = $var3.$prevRotationPitch; olo_EaglerAdapterGL30_glRotatef($var7 + ($var3.$rotationPitch - $var7) * $var1, 1.0, 0.0, 0.0); $var7 = $var3.$prevRotationYaw; olo_EaglerAdapterGL30_glRotatef($var7 + ($var3.$rotationYaw - $var7) * $var1, 0.0, 1.0, 0.0); nms_RenderHelper_enableStandardItemLighting(); olo_EaglerAdapterGL30_glPopMatrix(); $var10 = $this.$mc4.$theWorld; var$6 = nms_MathHelper_floor_double($var3.$posX); var$7 = nms_MathHelper_floor_double($var3.$posY); var$8 = nms_MathHelper_floor_double($var3.$posZ); $ptr = 1; case 1: $tmp = nms_World_getLightBrightness($var10, var$6, var$7, var$8); if ($rt_suspending()) { break main; } $var4 = $tmp; olo_EaglerAdapterGL30_glColor4f($var4, $var4, $var4, 1.0); $var5 = $this.$field_9451_b; if ($var3.$fishEntity !== null) { $var5 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_($var5, nms_Item_stick.$shiftedIndex); } if ($var5 === null) { olo_EaglerAdapterGL30_glPushMatrix(); $var7 = nms_EntityLiving_getSwingProgress($var3, $var1); $var8 = nms_MathHelper_sin($var7 * 3.1415927410125732); olo_EaglerAdapterGL30_glTranslatef( -nms_MathHelper_sin(nms_MathHelper_sqrt_float($var7) * 3.1415927410125732) * 0.30000001192092896, nms_MathHelper_sin(nms_MathHelper_sqrt_float($var7) * 3.1415927410125732 * 2.0) * 0.4000000059604645, -$var8 * 0.4000000059604645); olo_EaglerAdapterGL30_glTranslatef(0.64000004529953, (-0.6000000238418579) - (1.0 - $var2) * 0.6000000238418579, (-0.7199999690055847)); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(32826); $var1 = nms_EntityLiving_getSwingProgress($var3, $var1); $var7 = nms_MathHelper_sin($var1 * $var1 * 3.1415927410125732); olo_EaglerAdapterGL30_glRotatef(nms_MathHelper_sin(nms_MathHelper_sqrt_float($var1) * 3.1415927410125732) * 70.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var7 * 20.0, 0.0, 0.0, 1.0); var$6 = 3553; $var3 = $this.$mc4; $var10 = $var3.$renderEngine; $var3 = $var3.$thePlayer.$texture; $ptr = 2; continue main; } olo_EaglerAdapterGL30_glPushMatrix(); $var7 = nms_EntityLiving_getSwingProgress($var3, $var1); $var8_0 = nms_MathHelper_sin($var7 * 3.1415927410125732); olo_EaglerAdapterGL30_glTranslatef( -nms_MathHelper_sin(nms_MathHelper_sqrt_float($var7) * 3.1415927410125732) * 0.4000000059604645, nms_MathHelper_sin(nms_MathHelper_sqrt_float($var7) * 3.1415927410125732 * 2.0) * 0.20000000298023224, -$var8_0 * 0.20000000298023224); olo_EaglerAdapterGL30_glTranslatef(0.5600000023841858, (-0.5199999809265137) - (1.0 - $var2) * 0.6000000238418579, (-0.7199999690055847)); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(32826); $var1 = nms_EntityLiving_getSwingProgress($var3, $var1); $var7 = nms_MathHelper_sin($var1 * $var1 * 3.1415927410125732); $var1 = nms_MathHelper_sin(nms_MathHelper_sqrt_float($var1) * 3.1415927410125732); olo_EaglerAdapterGL30_glRotatef( -$var7 * 20.0, 0.0, 1.0, 0.0); $var1 = -$var1; olo_EaglerAdapterGL30_glRotatef($var1 * 20.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef($var1 * 80.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.4000000059604645, 0.4000000059604645, 0.4000000059604645); if ((nms_ItemStack_getItem($var5)).$shouldRotateAroundWhenRendering()) olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 1.0, 0.0); $ptr = 3; continue main; case 2: $tmp = nms_RenderEngine_getTexture($var10, $var3); if ($rt_suspending()) { break main; } var$7 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$6, var$7); olo_EaglerAdapterGL30_glTranslatef((-1.0), 3.5999999046325684, 3.5); olo_EaglerAdapterGL30_glRotatef(120.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef(200.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef((-135.0), 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glTranslatef(5.599999904632568, 0.0, 0.0); nms_RenderManager_$callClinit(); $var11 = nms_RenderManager_func_855_a(nms_RenderManager_instance, $this.$mc4.$thePlayer); olo_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0); $var3 = $var11.$field_209_f; $var3.$field_1244_k = 0.0; $var3.$setRotationAngles(0.0, 0.0, 0.0, 0.0, 0.0, 0.0625); nms_ModelRenderer_render($var11.$field_209_f.$bipedRightArm, 0.0625); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glDisable(32826); nms_RenderHelper_disableStandardItemLighting(); return; case 3: nms_ItemRenderer_renderItem($this, $var5); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glDisable(32826); nms_RenderHelper_disableStandardItemLighting(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var7, $var2, $var3, $var10, var$6, var$7, var$8, $var4, $var5, $var8, $var8_0, $var11, $ptr); } function nms_ItemRenderer_renderWarpedTextureOverlay($this, $var1) { var $var2, var$3, $var3, $var10, $var11, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Tessellator_$callClinit(); $var2 = nms_Tessellator_instance; var$3 = $this.$mc4.$thePlayer; $ptr = 1; case 1: $tmp = nms_Entity_getEntityBrightness(var$3, $var1); if ($rt_suspending()) { break main; } $var3 = $tmp; olo_EaglerAdapterGL30_glColor4f($var3, $var3, $var3, 0.5); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glPushMatrix(); var$3 = $this.$mc4.$thePlayer; $var10 = -var$3.$rotationYaw / 64.0; $var11 = var$3.$rotationPitch / 64.0; nms_Tessellator_startDrawingQuads($var2); var$7 = 4.0 + $var10; var$8 = 4.0 + $var11; nms_Tessellator_addVertexWithUV($var2, (-1.0), (-1.0), (-0.5), var$7, var$8); var$9 = 0.0 + $var10; nms_Tessellator_addVertexWithUV($var2, 1.0, (-1.0), (-0.5), var$9, var$8); var$8 = 0.0 + $var11; nms_Tessellator_addVertexWithUV($var2, 1.0, 1.0, (-0.5), var$9, var$8); nms_Tessellator_addVertexWithUV($var2, (-1.0), 1.0, (-0.5), var$7, var$8); nms_Tessellator_draw($var2); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, $var10, $var11, var$7, var$8, var$9, $ptr); } function nms_Block() { var a = this; jl_Object.call(a); a.$blockIndexInTexture = 0; a.$blockID = 0; a.$blockHardness = 0.0; a.$blockResistance = 0.0; a.$field_370_bf = 0.0; a.$minY = 0.0; a.$minZ = 0.0; a.$maxX = 0.0; a.$maxY = 0.0; a.$maxZ = 0.0; a.$stepSound = null; a.$field_357_bm = 0.0; a.$blockMaterial = null; a.$slipperiness = 0.0; } var nms_Block_soundPowderFootstep = null; var nms_Block_soundWoodFootstep = null; var nms_Block_soundGravelFootstep = null; var nms_Block_soundGrassFootstep = null; var nms_Block_soundStoneFootstep = null; var nms_Block_soundMetalFootstep = null; var nms_Block_soundGlassFootstep = null; var nms_Block_soundClothFootstep = null; var nms_Block_soundSandFootstep = null; var nms_Block_blocksList = null; var nms_Block_tickOnLoad = null; var nms_Block_opaqueCubeLookup = null; var nms_Block_isBlockContainer = null; var nms_Block_lightOpacity = null; var nms_Block_field_340_s = null; var nms_Block_lightValue = null; var nms_Block_stone = null; var nms_Block_grass = null; var nms_Block_dirt = null; var nms_Block_cobblestone = null; var nms_Block_planks = null; var nms_Block_sapling = null; var nms_Block_bedrock = null; var nms_Block_waterStill = null; var nms_Block_waterMoving = null; var nms_Block_lavaStill = null; var nms_Block_lavaMoving = null; var nms_Block_sand = null; var nms_Block_gravel = null; var nms_Block_oreGold = null; var nms_Block_oreIron = null; var nms_Block_oreCoal = null; var nms_Block_wood = null; var nms_Block_leaves = null; var nms_Block_sponge = null; var nms_Block_glass = null; var nms_Block_field_9267_N = null; var nms_Block_field_9266_O = null; var nms_Block_field_9265_P = null; var nms_Block_field_9264_Q = null; var nms_Block_field_9263_R = null; var nms_Block_field_9262_S = null; var nms_Block_field_9261_T = null; var nms_Block_field_9260_U = null; var nms_Block_field_9259_V = null; var nms_Block_field_9258_W = null; var nms_Block_field_9257_X = null; var nms_Block_field_9256_Y = null; var nms_Block_field_9255_Z = null; var nms_Block_field_9269_aa = null; var nms_Block_cloth = null; var nms_Block_field_9268_ac = null; var nms_Block_plantYellow = null; var nms_Block_plantRed = null; var nms_Block_mushroomBrown = null; var nms_Block_mushroomRed = null; var nms_Block_blockGold = null; var nms_Block_blockSteel = null; var nms_Block_stairDouble = null; var nms_Block_stairSingle = null; var nms_Block_brick = null; var nms_Block_tnt = null; var nms_Block_bookShelf = null; var nms_Block_cobblestoneMossy = null; var nms_Block_obsidian = null; var nms_Block_torchWood = null; var nms_Block_fire = null; var nms_Block_mobSpawner = null; var nms_Block_stairCompactPlanks = null; var nms_Block_crate = null; var nms_Block_redstoneWire = null; var nms_Block_oreDiamond = null; var nms_Block_blockDiamond = null; var nms_Block_workbench = null; var nms_Block_crops = null; var nms_Block_tilledField = null; var nms_Block_stoneOvenIdle = null; var nms_Block_stoneOvenActive = null; var nms_Block_signPost = null; var nms_Block_doorWood = null; var nms_Block_ladder = null; var nms_Block_minecartTrack = null; var nms_Block_stairCompactCobblestone = null; var nms_Block_signWall = null; var nms_Block_lever = null; var nms_Block_pressurePlateStone = null; var nms_Block_doorSteel = null; var nms_Block_pressurePlatePlanks = null; var nms_Block_oreRedstone = null; var nms_Block_oreRedstoneGlowing = null; var nms_Block_torchRedstoneIdle = null; var nms_Block_torchRedstoneActive = null; var nms_Block_button = null; var nms_Block_snow = null; var nms_Block_blockIce = null; var nms_Block_blockSnow = null; var nms_Block_cactus = null; var nms_Block_blockClay = null; var nms_Block_reed = null; var nms_Block_jukebox = null; var nms_Block_fence = null; var nms_Block_pumpkin = null; var nms_Block_bloodStone = null; var nms_Block_slowSand = null; var nms_Block_lightStone = null; var nms_Block_portal = null; var nms_Block_pumpkinLantern = null; function nms_Block_$callClinit() { nms_Block_$callClinit = $rt_eraseClinit(nms_Block); nms_Block__clinit_(); } function nms_Block__init_(var_0, var_1) { var var_2 = new nms_Block(); nms_Block__init_0(var_2, var_0, var_1); return var_2; } function nms_Block__init_1(var_0, var_1, var_2) { var var_3 = new nms_Block(); nms_Block__init_2(var_3, var_0, var_1, var_2); return var_3; } function nms_Block__init_0($this, $var1, $var2) { var var$3, var$4, var$5, var$6; nms_Block_$callClinit(); $this.$stepSound = nms_Block_soundPowderFootstep; $this.$field_357_bm = 1.0; $this.$slipperiness = 0.6000000238418579; var$3 = nms_Block_blocksList.data; if (var$3[$var1] !== null) { $var2 = new jl_IllegalArgumentException; var$4 = var$3[$var1]; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$5, $rt_s(251)), $var1), $rt_s(252)), var$4), $rt_s(253)), $this); jl_Throwable__init_($var2, jl_AbstractStringBuilder_toString(var$5)); $rt_throw($var2); } $this.$blockMaterial = $var2; var$3[$var1] = $this; $this.$blockID = $var1; nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); nms_Block_opaqueCubeLookup.data[$var1] = $this.$isOpaqueCube(); var$3 = nms_Block_lightOpacity; var$6 = !$this.$isOpaqueCube() ? 0 : 255; var$3.data[$var1] = var$6; nms_Block_field_340_s.data[$var1] = 0; nms_Block_isBlockContainer.data[$var1] = 0; } function nms_Block__init_2($this, $var1, $var2, $var3) { nms_Block_$callClinit(); nms_Block__init_0($this, $var1, $var3); $this.$blockIndexInTexture = $var2; } function nms_Block_setStepSound($this, $var1) { $this.$stepSound = $var1; return $this; } function nms_Block_setLightOpacity($this, $var1) { nms_Block_$callClinit(); nms_Block_lightOpacity.data[$this.$blockID] = $var1; return $this; } function nms_Block_setLightValue($this, $var1) { nms_Block_$callClinit(); nms_Block_lightValue.data[$this.$blockID] = 15.0 * $var1 | 0; return $this; } function nms_Block_setResistance($this, $var1) { $this.$blockResistance = $var1 * 3.0; return $this; } function nms_Block_renderAsNormalBlock($this) { return 1; } function nms_Block_getRenderType($this) { return 0; } function nms_Block_setHardness($this, $var1) { var var$2; $this.$blockHardness = $var1; var$2 = $this.$blockResistance; $var1 = $var1 * 5.0; if (var$2 < $var1) $this.$blockResistance = $var1; return $this; } function nms_Block_setTickOnLoad($this, $var1) { nms_Block_$callClinit(); nms_Block_tickOnLoad.data[$this.$blockID] = $var1; } function nms_Block_setBlockBounds($this, $var1, $var2, $var3, $var4, $var5, $var6) { $this.$field_370_bf = $var1; $this.$minY = $var2; $this.$minZ = $var3; $this.$maxX = $var4; $this.$maxY = $var5; $this.$maxZ = $var6; } function nms_Block_getBlockBrightness($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getLightBrightness($var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$var5 && $this.$minY > 0.0) $var2 = 1; else if ($var5 == 1 && $this.$maxY < 1.0) $var2 = 1; else if ($var5 == 2 && $this.$minZ > 0.0) $var2 = 1; else if ($var5 == 3 && $this.$maxZ < 1.0) $var2 = 1; else if ($var5 == 4 && $this.$field_370_bf > 0.0) $var2 = 1; else { if ($var5 != 5) break a; if ($this.$maxX >= 1.0) break a; $var2 = 1; } return $var2; } $ptr = 1; case 1: $tmp = $var1.$isBlockOpaqueCube($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_Block_getBlockTexture($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $this.$getBlockTextureFromSideAndMetadata($var5, $var2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_Block_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { return $this.$getBlockTextureFromSide($var1); } function nms_Block_getBlockTextureFromSide($this, $var1) { return $this.$blockIndexInTexture; } function nms_Block_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, var$8, var$9; var$5 = $var2; var$6 = var$5 + $this.$field_370_bf; var$7 = $var3; var$8 = var$7 + $this.$minY; var$9 = $var4; return nms_AxisAlignedBB_getBoundingBoxFromPool(var$6, var$8, var$9 + $this.$minZ, var$5 + $this.$maxX, var$7 + $this.$maxY, var$9 + $this.$maxZ); } function nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$getCollisionBoundingBoxFromPool($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 !== null && nms_AxisAlignedBB_intersectsWith($var5, $var7)) ju_ArrayList_add($var6, $var7); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_Block_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, var$8, var$9; var$5 = $var2; var$6 = var$5 + $this.$field_370_bf; var$7 = $var3; var$8 = var$7 + $this.$minY; var$9 = $var4; return nms_AxisAlignedBB_getBoundingBoxFromPool(var$6, var$8, var$9 + $this.$minZ, var$5 + $this.$maxX, var$7 + $this.$maxY, var$9 + $this.$maxZ); } function nms_Block_isOpaqueCube($this) { return 1; } function nms_Block_canCollideCheck($this, $var1, $var2) { return $this.$isCollidable(); } function nms_Block_isCollidable($this) { return 1; } function nms_Block_updateTick($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_onBlockDestroyedByPlayer($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_tickRate($this) { return 10; } function nms_Block_onBlockAdded($this, $var1, $var2, $var3, $var4) {} function nms_Block_onBlockRemoval($this, $var1, $var2, $var3, $var4) {} function nms_Block_quantityDropped($this, $var1) { return 1; } function nms_Block_idDropped($this, $var1, $var2) { return $this.$blockID; } function nms_Block_func_225_a($this, $var1) { var var$2, var$3, 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();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$blockHardness < 0.0) var$2 = 0.0; else { if (nms_EntityPlayer_canHarvestBlock($var1, $this)) { var$3 = $var1.$inventory0; var$2 = 1.0; var$4 = var$3.$mainInventory.data; var$5 = var$3.$currentItem; if (var$4[var$5] !== null) { var$3 = var$4[var$5]; var$2 = var$2 * (nms_ItemStack_getItem(var$3)).$getStrVsBlock(var$3, $this); } nms_Material_$callClinit(); var$3 = nms_Material_water; $ptr = 1; continue main; } var$2 = 1.0 / $this.$blockHardness / 100.0; } return var$2; case 1: $tmp = nms_Entity_isInsideOfMaterial($var1, var$3); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) var$2 = var$2 / 5.0; if (!$var1.$onGround) var$2 = var$2 / 5.0; return var$2 / $this.$blockHardness / 30.0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, $ptr); } function nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = 1.0; $ptr = 1; case 1: $this.$dropBlockAsItemWithChance($var1, $var2, $var3, $var4, $var5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_Block_dropBlockAsItemWithChance($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8, var$9, var$10, var$11, var$12, $var9, $var17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var17 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$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: $var7 = $this.$quantityDropped($var1.$rand1); $var8 = 0; var$9 = 0.15000000596046448; var$10 = $var2; var$11 = $var3; var$12 = $var4; while ($var8 < $var7) { if (ju_Random_nextFloat($var1.$rand1) <= $var6) { $var9 = $this.$idDropped($var5, $var1.$rand1); if ($var9 > 0) { $var17 = nms_EntityItem__init_($var1, var$10 + ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + var$9, var$11 + ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + var$9, var$12 + ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + var$9, nms_ItemStack__init_0($var9)); $var17.$field_805_c = 10; $ptr = 1; continue main; } } $var8 = $var8 + 1 | 0; } return; case 1: nms_World_entityJoinedWorld($var1, $var17); if ($rt_suspending()) { break main; } while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= $var7) break; if (ju_Random_nextFloat($var1.$rand1) > $var6) continue; $var9 = $this.$idDropped($var5, $var1.$rand1); if ($var9 <= 0) continue; else { $var17 = nms_EntityItem__init_($var1, var$10 + ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + var$9, var$11 + ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + var$9, var$12 + ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + var$9, nms_ItemStack__init_0($var9)); $var17.$field_805_c = 10; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, var$12, $var9, $var17, $ptr); } function nms_Block_func_227_a($this, $var1) { return $this.$blockResistance / 5.0; } function nms_Block_collisionRayTrace($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8, var$9, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$setBlockBoundsBasedOnState($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = -$var2 | 0; var$8 = -$var3 | 0; var$9 = -$var4 | 0; $var1 = nms_Vec3D_addVector($var5, var$7, var$8, var$9); $var5 = nms_Vec3D_addVector($var6, var$7, var$8, var$9); $var7 = nms_Vec3D_getIntermediateWithXValue($var1, $var5, $this.$field_370_bf); $var8 = nms_Vec3D_getIntermediateWithXValue($var1, $var5, $this.$maxX); $var9 = nms_Vec3D_getIntermediateWithYValue($var1, $var5, $this.$minY); $var10 = nms_Vec3D_getIntermediateWithYValue($var1, $var5, $this.$maxY); $var11 = nms_Vec3D_getIntermediateWithZValue($var1, $var5, $this.$minZ); $var12 = nms_Vec3D_getIntermediateWithZValue($var1, $var5, $this.$maxZ); if (!nms_Block_isVecInsideYZBounds($this, $var7)) $var7 = null; if (!nms_Block_isVecInsideYZBounds($this, $var8)) $var8 = null; if (!nms_Block_isVecInsideXZBounds($this, $var9)) $var9 = null; if (!nms_Block_isVecInsideXZBounds($this, $var10)) $var10 = null; if (!nms_Block_isVecInsideXYBounds($this, $var11)) $var11 = null; if (!nms_Block_isVecInsideXYBounds($this, $var12)) $var12 = null; $var13 = null; if ($var7 !== null) $var13 = $var7; if ($var8 !== null && !($var13 !== null && nms_Vec3D_distanceTo($var1, $var8) >= nms_Vec3D_distanceTo($var1, $var13))) $var13 = $var8; if ($var9 !== null && !($var13 !== null && nms_Vec3D_distanceTo($var1, $var9) >= nms_Vec3D_distanceTo($var1, $var13))) $var13 = $var9; if ($var10 !== null && !($var13 !== null && nms_Vec3D_distanceTo($var1, $var10) >= nms_Vec3D_distanceTo($var1, $var13))) $var13 = $var10; if ($var11 !== null && !($var13 !== null && nms_Vec3D_distanceTo($var1, $var11) >= nms_Vec3D_distanceTo($var1, $var13))) $var13 = $var11; if ($var12 !== null && !($var13 !== null && nms_Vec3D_distanceTo($var1, $var12) >= nms_Vec3D_distanceTo($var1, $var13))) $var13 = $var12; if ($var13 === null) return null; $var14 = (-1); if ($var13 === $var7) $var14 = 4; if ($var13 === $var8) $var14 = 5; if ($var13 === $var9) $var14 = 0; if ($var13 === $var10) $var14 = 1; if ($var13 === $var11) $var14 = 2; if ($var13 === $var12) $var14 = 3; return nms_MovingObjectPosition__init_0($var2, $var3, $var4, $var14, nms_Vec3D_addVector($var13, $var2, $var3, $var4)); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, var$8, var$9, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $ptr); } function nms_Block_isVecInsideYZBounds($this, $var1) { var var$2, var$3; a: { if ($var1 === null) var$2 = 0; else { var$3 = $var1.$yCoord; if (var$3 >= $this.$minY && var$3 <= $this.$maxY) { var$3 = $var1.$zCoord; if (var$3 >= $this.$minZ && var$3 <= $this.$maxZ) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; } function nms_Block_isVecInsideXZBounds($this, $var1) { var var$2, var$3; a: { if ($var1 === null) var$2 = 0; else { var$3 = $var1.$xCoord; if (var$3 >= $this.$field_370_bf && var$3 <= $this.$maxX) { var$3 = $var1.$zCoord; if (var$3 >= $this.$minZ && var$3 <= $this.$maxZ) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; } function nms_Block_isVecInsideXYBounds($this, $var1) { var var$2, var$3; a: { if ($var1 === null) var$2 = 0; else { var$3 = $var1.$xCoord; if (var$3 >= $this.$field_370_bf && var$3 <= $this.$maxX) { var$3 = $var1.$yCoord; if (var$3 >= $this.$minY && var$3 <= $this.$maxY) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; } function nms_Block_onBlockDestroyedByExplosion($this, $var1, $var2, $var3, $var4) {} function nms_Block_func_234_g($this) { return 0; } function nms_Block_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: a: { $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var5].$blockMaterial.$getIsLiquid()) { $var2 = 0; break a; } } $var2 = 1; } return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_Block_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { return 0; } function nms_Block_onEntityWalking($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_onBlockPlaced($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_onBlockClicked($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_velocityToAddToEntity($this, $var1, $var2, $var3, $var4, $var5, $var6) {} function nms_Block_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) {} function nms_Block_colorMultiplier($this, $var1, $var2, $var3, $var4) { return 16777215; } function nms_Block_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { return 0; } function nms_Block_canProvidePower($this) { return 0; } function nms_Block_onEntityCollidedWithBlock($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block_isIndirectlyPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { return 0; } function nms_Block_func_237_e($this) {} function nms_Block_harvestBlock($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $this.$dropBlockAsItem($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_Block_canBlockStay($this, $var1, $var2, $var3, $var4) { return 1; } function nms_Block_onBlockPlacedBy($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Block__clinit_() { var var$1, var$2, $var0; nms_Block_soundPowderFootstep = nms_StepSound__init_($rt_s(254), 1.0, 1.0); nms_Block_soundWoodFootstep = nms_StepSound__init_($rt_s(255), 1.0, 1.0); nms_Block_soundGravelFootstep = nms_StepSound__init_($rt_s(256), 1.0, 1.0); nms_Block_soundGrassFootstep = nms_StepSound__init_($rt_s(257), 1.0, 1.0); nms_Block_soundStoneFootstep = nms_StepSound__init_($rt_s(254), 1.0, 1.0); nms_Block_soundMetalFootstep = nms_StepSound__init_($rt_s(254), 1.0, 1.5); nms_Block_soundGlassFootstep = nms_StepSoundStone__init_($rt_s(254), 1.0, 1.0); nms_Block_soundClothFootstep = nms_StepSound__init_($rt_s(258), 1.0, 1.0); nms_Block_soundSandFootstep = nms_StepSoundSand__init_($rt_s(259), 1.0, 1.0); nms_Block_blocksList = $rt_createArray(nms_Block, 256); nms_Block_tickOnLoad = $rt_createBooleanArray(256); nms_Block_opaqueCubeLookup = $rt_createBooleanArray(256); nms_Block_isBlockContainer = $rt_createBooleanArray(256); nms_Block_lightOpacity = $rt_createIntArray(256); nms_Block_field_340_s = $rt_createBooleanArray(256); nms_Block_lightValue = $rt_createIntArray(256); nms_Block_stone = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockStone__init_(1, 1), 1.5), 10.0), nms_Block_soundStoneFootstep); nms_Block_grass = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockGrass__init_(2), 0.6000000238418579), nms_Block_soundGrassFootstep); nms_Block_dirt = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDirt__init_(3, 2), 0.5), nms_Block_soundGravelFootstep); var$1 = new nms_Block; nms_Material_$callClinit(); nms_Block__init_2(var$1, 4, 16, nms_Material_rock); nms_Block_cobblestone = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(var$1, 2.0), 10.0), nms_Block_soundStoneFootstep); nms_Block_planks = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_1(5, 4, nms_Material_wood), 2.0), 5.0), nms_Block_soundWoodFootstep); nms_Block_sapling = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSapling__init_(6, 15), 0.0), nms_Block_soundGrassFootstep); nms_Block_bedrock = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_1(7, 17, nms_Material_rock), (-1.0)), 6000000.0), nms_Block_soundStoneFootstep); nms_Block_waterStill = nms_Block_setLightOpacity(nms_Block_setHardness(nms_BlockFlowing__init_(8, nms_Material_water), 100.0), 3); nms_Block_waterMoving = nms_Block_setLightOpacity(nms_Block_setHardness(nms_BlockStationary__init_(9, nms_Material_water), 100.0), 3); nms_Block_lavaStill = nms_Block_setLightOpacity(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockFlowing__init_(10, nms_Material_lava), 0.0), 1.0), 255); nms_Block_lavaMoving = nms_Block_setLightOpacity(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockStationary__init_(11, nms_Material_lava), 100.0), 1.0), 255); nms_Block_sand = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSand__init_(12, 18), 0.5), nms_Block_soundSandFootstep); nms_Block_gravel = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockGravel__init_(13, 19), 0.6000000238418579), nms_Block_soundGravelFootstep); nms_Block_oreGold = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(14, 32), 3.0), 5.0), nms_Block_soundStoneFootstep); nms_Block_oreIron = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(15, 33), 3.0), 5.0), nms_Block_soundStoneFootstep); nms_Block_oreCoal = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(16, 34), 3.0), 5.0), nms_Block_soundStoneFootstep); nms_Block_wood = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLog__init_(17), 2.0), nms_Block_soundWoodFootstep); nms_Block_leaves = nms_Block_setStepSound(nms_Block_setLightOpacity(nms_Block_setHardness(nms_BlockLeaves__init_(18, 52), 0.20000000298023224), 1), nms_Block_soundGrassFootstep); nms_Block_sponge = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSponge__init_(19), 0.6000000238418579), nms_Block_soundGrassFootstep); nms_Block_glass = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockGlass__init_(20, 49, nms_Material_glass, 0), 0.30000001192092896), nms_Block_soundGlassFootstep); nms_Block_field_9267_N = null; nms_Block_field_9266_O = null; nms_Block_field_9265_P = null; nms_Block_field_9264_Q = null; nms_Block_field_9263_R = null; nms_Block_field_9262_S = null; nms_Block_field_9261_T = null; nms_Block_field_9260_U = null; nms_Block_field_9259_V = null; nms_Block_field_9258_W = null; nms_Block_field_9257_X = null; nms_Block_field_9256_Y = null; nms_Block_field_9255_Z = null; nms_Block_field_9269_aa = null; nms_Block_cloth = nms_Block_setStepSound(nms_Block_setHardness(nms_Block__init_1(35, 64, nms_Material_cloth), 0.800000011920929), nms_Block_soundClothFootstep); nms_Block_field_9268_ac = null; nms_Block_plantYellow = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFlower__init_(37, 13), 0.0), nms_Block_soundGrassFootstep); nms_Block_plantRed = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFlower__init_(38, 12), 0.0), nms_Block_soundGrassFootstep); nms_Block_mushroomBrown = nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMushroom__init_(39, 29), 0.0), nms_Block_soundGrassFootstep), 0.125); nms_Block_mushroomRed = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMushroom__init_(40, 28), 0.0), nms_Block_soundGrassFootstep); nms_Block_blockGold = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOreBlock__init_(41, 39), 3.0), 10.0), nms_Block_soundMetalFootstep); nms_Block_blockSteel = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOreBlock__init_(42, 38), 5.0), 10.0), nms_Block_soundMetalFootstep); nms_Block_stairDouble = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockStep__init_(43, 1), 2.0), 10.0), nms_Block_soundStoneFootstep); nms_Block_stairSingle = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockStep__init_(44, 0), 2.0), 10.0), nms_Block_soundStoneFootstep); nms_Block_brick = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_1(45, 7, nms_Material_rock), 2.0), 10.0), nms_Block_soundStoneFootstep); nms_Block_tnt = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockTNT__init_(46, 8), 0.0), nms_Block_soundGrassFootstep); nms_Block_bookShelf = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockBookshelf__init_(47, 35), 1.5), nms_Block_soundWoodFootstep); nms_Block_cobblestoneMossy = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_1(48, 36, nms_Material_rock), 2.0), 10.0), nms_Block_soundStoneFootstep); nms_Block_obsidian = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockObsidian__init_(49, 37), 10.0), 2000.0), nms_Block_soundStoneFootstep); nms_Block_torchWood = nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockTorch__init_(50, 80), 0.0), 0.9375), nms_Block_soundWoodFootstep); nms_Block_fire = nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockFire__init_(51, 31), 0.0), 1.0), nms_Block_soundWoodFootstep); nms_Block_mobSpawner = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMobSpawner__init_(52, 65), 5.0), nms_Block_soundMetalFootstep); nms_Block_stairCompactPlanks = nms_BlockStairs__init_(53, nms_Block_planks); nms_Block_crate = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockChest__init_(54), 2.5), nms_Block_soundWoodFootstep); nms_Block_redstoneWire = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRedstoneWire__init_(55, 84), 0.0), nms_Block_soundPowderFootstep); nms_Block_oreDiamond = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(56, 50), 3.0), 5.0), nms_Block_soundStoneFootstep); nms_Block_blockDiamond = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOreBlock__init_(57, 40), 5.0), 10.0), nms_Block_soundMetalFootstep); nms_Block_workbench = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockWorkbench__init_(58), 2.5), nms_Block_soundWoodFootstep); nms_Block_crops = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockCrops__init_(59, 88), 0.0), nms_Block_soundGrassFootstep); nms_Block_tilledField = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSoil__init_(60), 0.6000000238418579), nms_Block_soundGravelFootstep); nms_Block_stoneOvenIdle = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFurnace__init_(61, 0), 3.5), nms_Block_soundStoneFootstep); nms_Block_stoneOvenActive = nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFurnace__init_(62, 1), 3.5), nms_Block_soundStoneFootstep), 0.875); nms_Block_signPost = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSign__init_(63, $rt_cls(nms_TileEntitySign), 1), 1.0), nms_Block_soundWoodFootstep); nms_Block_doorWood = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDoor__init_(64, nms_Material_wood), 3.0), nms_Block_soundWoodFootstep); nms_Block_ladder = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLadder__init_(65, 83), 0.4000000059604645), nms_Block_soundWoodFootstep); nms_Block_minecartTrack = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMinecartTrack__init_(66, 128), 0.699999988079071), nms_Block_soundMetalFootstep); nms_Block_stairCompactCobblestone = nms_BlockStairs__init_(67, nms_Block_cobblestone); nms_Block_signWall = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSign__init_(68, $rt_cls(nms_TileEntitySign), 0), 1.0), nms_Block_soundWoodFootstep); nms_Block_lever = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLever__init_(69, 96), 0.5), nms_Block_soundWoodFootstep); var$1 = new nms_BlockPressurePlate; var$2 = nms_Block_stone.$blockIndexInTexture; nms_EnumMobType_$callClinit(); nms_BlockPressurePlate__init_(var$1, 70, var$2, nms_EnumMobType_mobs); nms_Block_pressurePlateStone = nms_Block_setStepSound(nms_Block_setHardness(var$1, 0.5), nms_Block_soundStoneFootstep); nms_Block_doorSteel = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDoor__init_(71, nms_Material_iron), 5.0), nms_Block_soundMetalFootstep); nms_Block_pressurePlatePlanks = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPressurePlate__init_0(72, nms_Block_planks.$blockIndexInTexture, nms_EnumMobType_everything), 0.5), nms_Block_soundWoodFootstep); nms_Block_oreRedstone = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockRedstoneOre__init_(73, 51, 0), 3.0), 5.0), nms_Block_soundStoneFootstep); nms_Block_oreRedstoneGlowing = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block_setLightValue(nms_BlockRedstoneOre__init_(74, 51, 1), 0.625), 3.0), 5.0), nms_Block_soundStoneFootstep); nms_Block_torchRedstoneIdle = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRedstoneTorch__init_(75, 115, 0), 0.0), nms_Block_soundWoodFootstep); nms_Block_torchRedstoneActive = nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockRedstoneTorch__init_(76, 99, 1), 0.0), 0.5), nms_Block_soundWoodFootstep); nms_Block_button = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockButton__init_(77, nms_Block_stone.$blockIndexInTexture), 0.5), nms_Block_soundStoneFootstep); nms_Block_snow = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSnow__init_(78, 66), 0.10000000149011612), nms_Block_soundClothFootstep); nms_Block_blockIce = nms_Block_setStepSound(nms_Block_setLightOpacity(nms_Block_setHardness(nms_BlockIce__init_(79, 67), 0.5), 3), nms_Block_soundGlassFootstep); nms_Block_blockSnow = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSnowBlock__init_(80, 66), 0.20000000298023224), nms_Block_soundClothFootstep); nms_Block_cactus = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockCactus__init_(81, 70), 0.4000000059604645), nms_Block_soundClothFootstep); nms_Block_blockClay = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockClay__init_(82, 72), 0.6000000238418579), nms_Block_soundGravelFootstep); nms_Block_reed = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockReed__init_(83, 73), 0.0), nms_Block_soundGrassFootstep); nms_Block_jukebox = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockJukeBox__init_(84, 74), 2.0), 10.0), nms_Block_soundStoneFootstep); nms_Block_fence = nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockFence__init_(85, 4), 2.0), 5.0), nms_Block_soundWoodFootstep); nms_Block_pumpkin = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPumpkin__init_(86, 102, 0), 1.0), nms_Block_soundWoodFootstep); nms_Block_bloodStone = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockBloodStone__init_(87, 103), 0.4000000059604645), nms_Block_soundStoneFootstep); nms_Block_slowSand = nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSlowSand__init_(88, 104), 0.5), nms_Block_soundSandFootstep); nms_Block_lightStone = nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLightStone__init_(89, 105, nms_Material_glass), 0.30000001192092896), nms_Block_soundGlassFootstep), 1.0); nms_Block_portal = nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPortal__init_(90, 14), (-1.0)), nms_Block_soundGlassFootstep), 0.75); nms_Block_pumpkinLantern = nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPumpkin__init_(91, 102, 1), 1.0), nms_Block_soundWoodFootstep), 1.0); $var0 = 0; while ($var0 < 256) { if (nms_Block_blocksList.data[$var0] !== null) { nms_Item_$callClinit(); nms_Item_itemsList.data[$var0] = nms_ItemBlock__init_($var0 - 256 | 0); } $var0 = $var0 + 1 | 0; } } var ju_RandomAccess = $rt_classWithoutFields(0); function ju_ArrayList() { var a = this; ju_AbstractList.call(a); a.$array2 = null; a.$size = 0; } function ju_ArrayList__init_0() { var var_0 = new ju_ArrayList(); ju_ArrayList__init_(var_0); return var_0; } function ju_ArrayList__init_($this) { $this.$array2 = $rt_createArray(jl_Object, 10); } function ju_ArrayList_ensureCapacity($this, $minCapacity) { var var$2, $newLength; var$2 = $this.$array2.data.length; if (var$2 < $minCapacity) { $newLength = var$2 >= 1073741823 ? 2147483647 : jl_Math_max($minCapacity, jl_Math_max(var$2 * 2 | 0, 5)); $this.$array2 = ju_Arrays_copyOf($this.$array2, $newLength); } } function ju_ArrayList_get($this, $index) { ju_ArrayList_checkIndex($this, $index); return $this.$array2.data[$index]; } function ju_ArrayList_size($this) { return $this.$size; } function ju_ArrayList_set($this, $index, $element) { var var$3, $old; ju_ArrayList_checkIndex($this, $index); var$3 = $this.$array2.data; $old = var$3[$index]; var$3[$index] = $element; return $old; } function ju_ArrayList_add($this, $element) { var var$2, var$3; ju_ArrayList_ensureCapacity($this, $this.$size + 1 | 0); var$2 = $this.$array2.data; var$3 = $this.$size; $this.$size = var$3 + 1 | 0; var$2[var$3] = $element; $this.$modCount0 = $this.$modCount0 + 1 | 0; return 1; } function ju_ArrayList_remove($this, $i) { var var$2, $old, var$4, $i_0; ju_ArrayList_checkIndex($this, $i); var$2 = $this.$array2.data; $old = var$2[$i]; var$4 = $this.$size - 1 | 0; $this.$size = var$4; while ($i < var$4) { $i_0 = $i + 1 | 0; var$2[$i] = var$2[$i_0]; $i = $i_0; } var$2[var$4] = null; $this.$modCount0 = $this.$modCount0 + 1 | 0; return $old; } function ju_ArrayList_remove0($this, $o) { var var$2, $index; var$2 = $this.$size; $index = 0; a: { while (true) { if ($index >= var$2) { $index = (-1); break a; } if (ju_Objects_equals($o, ju_ArrayList_get($this, $index))) break; $index = $index + 1 | 0; } } if ($index < 0) return 0; ju_ArrayList_remove($this, $index); return 1; } function ju_ArrayList_clear($this) { ju_Arrays_fill0($this.$array2, 0, $this.$size, null); $this.$size = 0; $this.$modCount0 = $this.$modCount0 + 1 | 0; } function ju_ArrayList_checkIndex($this, $index) { var var$2; if ($index >= 0 && $index < $this.$size) return; var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } 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_ensureBufferSize($this, $size, $context) { var var$3, var$4, var$5, var$6, var$7; var$3 = $context.$buffer2; if (var$3 === null) { $context.$buffer2 = $rt_createByteArray(jl_Math_max($size, 8192)); $context.$pos = 0; $context.$readPos = 0; } else { var$3 = var$3.data; $size = $context.$pos + $size | 0; var$4 = var$3.length; if (($size - var$4 | 0) > 0) { var$4 = var$4 * 2 | 0; if (nle_BaseNCodec_compareUnsigned(var$4, $size) < 0) var$4 = $size; if (nle_BaseNCodec_compareUnsigned(var$4, 2147483639) <= 0) $size = var$4; else { if ($size < 0) { $context = new jl_OutOfMemoryError; var$5 = Long_and(Long_fromInt($size), Long_create(4294967295, 0)); var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6); jl_StringBuilder_append2(jl_StringBuilder_append(var$6, $rt_s(260)), var$5); jl_Throwable__init_($context, jl_AbstractStringBuilder_toString(var$6)); $rt_throw($context); } if ($size <= 2147483639) $size = 2147483639; } var$3 = $rt_createByteArray($size); var$7 = $context.$buffer2; jl_System_fastArraycopy(var$7, 0, var$3, 0, var$7.data.length); $context.$buffer2 = var$3; return var$3; } } return $context.$buffer2; } function nle_BaseNCodec_isStrictDecoding($this) { var var$1; var$1 = $this.$decodingPolicy; nle_BaseNCodec$CodecPolicy_$callClinit(); return var$1 !== nle_BaseNCodec$CodecPolicy_STRICT ? 0 : 1; } function nle_BaseNCodec_readResults($this, $b, $bPos, $bAvail, $context) { var $len; if ($context.$buffer2 === null) return !$context.$eof0 ? 0 : (-1); $len = jl_Math_min($context.$pos - $context.$readPos | 0, $bAvail); jl_System_fastArraycopy($context.$buffer2, $context.$readPos, $b, $bPos, $len); $bPos = $context.$readPos + $len | 0; $context.$readPos = $bPos; if ($bPos >= $context.$pos) $context.$buffer2 = null; return $len; } function nle_BaseNCodec__clinit_() { nle_BaseNCodec_CHUNK_SEPARATOR = $rt_createByteArrayFromData([13, 10]); } 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__init_0() { var var_0 = new nle_Base64(); nle_Base64__init_(var_0); return var_0; } function nle_Base64__init_1(var_0, var_1, var_2) { var var_3 = new nle_Base64(); nle_Base64__init_2(var_3, var_0, var_1, var_2); return var_3; } function nle_Base64__init_($this) { nle_Base64__init_2($this, 0, nle_BaseNCodec_CHUNK_SEPARATOR, 0); } function nle_Base64__init_2($this, $lineLength, $lineSeparator, $urlSafe) { var var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; nle_BaseNCodec$CodecPolicy_$callClinit(); var$4 = nle_BaseNCodec$CodecPolicy_LENIANT; var$5 = $lineSeparator === null ? 0 : $lineSeparator.data.length; $this.$PAD = 61; $this.$unencodedBlockSize = 3; $this.$encodedBlockSize = 4; $this.$lineLength = !($lineLength > 0 && var$5 > 0 ? 1 : 0) ? 0 : ($lineLength / 4 | 0) * 4 | 0; $this.$chunkSeparatorLength = var$5; $this.$pad = 61; $this.$decodingPolicy = var$4; var$6 = nle_Base64_DECODE_TABLE; $this.$decodeTable = var$6; if ($lineSeparator === null) { $this.$encodeSize = 4; $this.$lineSeparator = null; } else { var$7 = $lineSeparator.data; var$5 = var$7.length; var$8 = 0; a: { b: { while (var$8 < var$5) { var$9 = var$7[var$8]; if (61 == var$9) break b; c: { if (var$9 >= 0) { var$10 = var$6.data; if (var$9 < var$10.length && var$10[var$9] != (-1)) { var$9 = 1; break c; } } var$9 = 0; } if (var$9) break b; var$8 = var$8 + 1 | 0; } var$9 = 0; break a; } var$9 = 1; } if (var$9) { var$4 = jl_String__init_5($lineSeparator, jnc_Charset_forName($rt_s(31))); var$11 = new jl_IllegalArgumentException; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12); jl_AbstractStringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$12, $rt_s(261)), var$4), 93); jl_Throwable__init_(var$11, jl_AbstractStringBuilder_toString(var$12)); $rt_throw(var$11); } if ($lineLength <= 0) { $this.$encodeSize = 4; $this.$lineSeparator = null; } else { $this.$encodeSize = 4 + var$5 | 0; var$6 = $rt_createByteArray(var$5); $this.$lineSeparator = var$6; jl_System_fastArraycopy($lineSeparator, 0, var$6, 0, var$5); } } $this.$decodeSize = $this.$encodeSize - 1 | 0; $this.$encodeTable = !$urlSafe ? nle_Base64_STANDARD_ENCODE_TABLE : nle_Base64_URL_SAFE_ENCODE_TABLE; } function nle_Base64_decode($this, $in, $inPos, $inAvail, $context) { var $i, var$6, $buffer, var$8, $b, $result, var$11, var$12; if ($context.$eof0) return; if ($inAvail < 0) $context.$eof0 = 1; $i = 0; a: { while (true) { if ($i >= $inAvail) break a; 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) { var$6 = nle_Base64_DECODE_TABLE.data; if ($b < var$6.length) { $result = var$6[$b]; if ($result >= 0) { $inPos = ($context.$modulus + 1 | 0) % 4 | 0; $context.$modulus = $inPos; $b = ($context.$ibitWorkArea << 6) + $result | 0; $context.$ibitWorkArea = $b; if (!$inPos) { $buffer = $buffer.data; $inPos = $context.$pos; $result = $inPos + 1 | 0; $context.$pos = $result; $buffer[$inPos] = ($b >> 16 & 255) << 24 >> 24; var$11 = $result + 1 | 0; $context.$pos = var$11; $buffer[$result] = ($b >> 8 & 255) << 24 >> 24; $context.$pos = var$11 + 1 | 0; $buffer[var$11] = ($b & 255) << 24 >> 24; } } } } $i = $i + 1 | 0; $inPos = var$8; } $context.$eof0 = 1; } b: { if ($context.$eof0 && $context.$modulus) { $buffer = nle_BaseNCodec_ensureBufferSize($this, $this.$decodeSize, $context); $inPos = $context.$modulus; switch ($inPos) { case 1: break; case 2: $in = $buffer.data; nle_Base64_validateCharacter($this, 15, $context); $inAvail = $context.$ibitWorkArea >> 4; $context.$ibitWorkArea = $inAvail; var$8 = $context.$pos; $context.$pos = var$8 + 1 | 0; $in[var$8] = ($inAvail & 255) << 24 >> 24; break b; case 3: $in = $buffer.data; nle_Base64_validateCharacter($this, 3, $context); $b = $context.$ibitWorkArea >> 2; $context.$ibitWorkArea = $b; $result = $context.$pos; $inPos = $result + 1 | 0; $context.$pos = $inPos; $in[$result] = ($b >> 8 & 255) << 24 >> 24; $context.$pos = $inPos + 1 | 0; $in[$inPos] = ($b & 255) << 24 >> 24; break b; default: $context = new jl_IllegalStateException; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12); jl_StringBuilder_append1(jl_StringBuilder_append(var$12, $rt_s(262)), $inPos); jl_Throwable__init_($context, jl_AbstractStringBuilder_toString(var$12)); $rt_throw($context); } if (nle_BaseNCodec_isStrictDecoding($this)) { var$12 = new jl_IllegalArgumentException; jl_Throwable__init_(var$12, $rt_s(263)); $rt_throw(var$12); } } } } function nle_Base64_encode($this, $in, $inPos, $inAvail, $context) { var $i, $buffer, $buffer_0, var$8, var$9, $b, var$11, $savedPos, var$13; if ($context.$eof0) return; a: { if ($inAvail >= 0) { $i = 0; while (true) { if ($i >= $inAvail) break a; $buffer = $in.data; $buffer_0 = nle_BaseNCodec_ensureBufferSize($this, $this.$encodeSize, $context); var$8 = ($context.$modulus + 1 | 0) % 3 | 0; $context.$modulus = var$8; var$9 = $inPos + 1 | 0; $b = $buffer[$inPos]; if ($b < 0) $b = $b + 256 | 0; $inPos = ($context.$ibitWorkArea << 8) + $b | 0; $context.$ibitWorkArea = $inPos; if (0 == var$8) { var$11 = $buffer_0.data; $b = $context.$pos; $savedPos = $b + 1 | 0; $context.$pos = $savedPos; $buffer = $this.$encodeTable.data; var$11[$b] = $buffer[$inPos >> 18 & 63]; $b = $savedPos + 1 | 0; $context.$pos = $b; var$11[$savedPos] = $buffer[$inPos >> 12 & 63]; var$8 = $b + 1 | 0; $context.$pos = var$8; var$11[$b] = $buffer[$inPos >> 6 & 63]; $b = var$8 + 1 | 0; $context.$pos = $b; var$11[var$8] = $buffer[$inPos & 63]; $inPos = $context.$currentLinePos + 4 | 0; $context.$currentLinePos = $inPos; $savedPos = $this.$lineLength; if ($savedPos > 0 && $savedPos <= $inPos) { $buffer = $this.$lineSeparator; jl_System_fastArraycopy($buffer, 0, $buffer_0, $b, $buffer.data.length); $context.$pos = $context.$pos + $this.$lineSeparator.data.length | 0; $context.$currentLinePos = 0; } } $i = $i + 1 | 0; $inPos = var$9; } } $context.$eof0 = 1; if (0 == $context.$modulus && !$this.$lineLength) return; b: { c: { $buffer = nle_BaseNCodec_ensureBufferSize($this, $this.$encodeSize, $context); $savedPos = $context.$pos; $inPos = $context.$modulus; switch ($inPos) { case 0: break b; case 1: $buffer_0 = $buffer.data; $inPos = $savedPos + 1 | 0; $context.$pos = $inPos; $in = $this.$encodeTable; var$11 = $in.data; $inAvail = $context.$ibitWorkArea; $buffer_0[$savedPos] = var$11[$inAvail >> 2 & 63]; $b = $inPos + 1 | 0; $context.$pos = $b; $buffer_0[$inPos] = var$11[$inAvail << 4 & 63]; if ($in !== nle_Base64_STANDARD_ENCODE_TABLE) break b; $inPos = $b + 1 | 0; $context.$pos = $inPos; $inAvail = $this.$pad; $buffer_0[$b] = $inAvail; $context.$pos = $inPos + 1 | 0; $buffer_0[$inPos] = $inAvail; break b; case 2: break c; default: } $context = new jl_IllegalStateException; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13); jl_StringBuilder_append1(jl_StringBuilder_append(var$13, $rt_s(262)), $inPos); jl_Throwable__init_($context, jl_AbstractStringBuilder_toString(var$13)); $rt_throw($context); } $buffer_0 = $buffer.data; $inPos = $savedPos + 1 | 0; $context.$pos = $inPos; $in = $this.$encodeTable; var$11 = $in.data; $inAvail = $context.$ibitWorkArea; $buffer_0[$savedPos] = var$11[$inAvail >> 10 & 63]; $b = $inPos + 1 | 0; $context.$pos = $b; $buffer_0[$inPos] = var$11[$inAvail >> 4 & 63]; $inPos = $b + 1 | 0; $context.$pos = $inPos; $buffer_0[$b] = var$11[$inAvail << 2 & 63]; if ($in === nle_Base64_STANDARD_ENCODE_TABLE) { $context.$pos = $inPos + 1 | 0; $buffer_0[$inPos] = $this.$pad; } } $inPos = $context.$currentLinePos; $inAvail = $context.$pos; $inPos = $inPos + ($inAvail - $savedPos | 0) | 0; $context.$currentLinePos = $inPos; if ($this.$lineLength > 0 && $inPos > 0) { $in = $this.$lineSeparator; jl_System_fastArraycopy($in, 0, $buffer, $inAvail, $in.data.length); $context.$pos = $context.$pos + $this.$lineSeparator.data.length | 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(264)); $rt_throw(var$3); } } function nle_Base64__clinit_() { nle_Base64_STANDARD_ENCODE_TABLE = $rt_createByteArrayFromData([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47]); nle_Base64_URL_SAFE_ENCODE_TABLE = $rt_createByteArrayFromData([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 45, 95]); nle_Base64_DECODE_TABLE = $rt_createByteArrayFromData([(-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 62, (-1), 62, (-1), 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, (-1), (-1), (-1), (-1), (-1), (-1), (-1), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, (-1), (-1), (-1), (-1), 63, (-1), 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51]); } var nPn_NBTTagEnd = $rt_classWithoutFields(nPn_NBTBase); function nPn_NBTTagEnd__init_0() { var var_0 = new nPn_NBTTagEnd(); nPn_NBTTagEnd__init_(var_0); return var_0; } function nPn_NBTTagEnd__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagEnd_readTagContents($this, $datainput) {} function nPn_NBTTagEnd_writeTagContents($this, $dataoutput) {} function nPn_NBTTagEnd_getType($this) { return 0; } 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_$callClinit() { ju_Locale_$callClinit = $rt_eraseClinit(ju_Locale); ju_Locale__clinit_(); } 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_$callClinit(); ju_Locale__init_2($this, $language, $country, $rt_s(6)); } function ju_Locale__init_2($this, $language, $country, $variant) { ju_Locale_$callClinit(); if ($language !== null && $country !== null && $variant !== null) { if (!jl_String_length($language) && !jl_String_length($country)) { $this.$languageCode = $rt_s(6); $this.$countryCode = $rt_s(6); $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_getDefault() { ju_Locale_$callClinit(); return ju_Locale_defaultLocale; } function ju_Locale_hashCode($this) { return (jl_String_hashCode($this.$countryCode) + jl_String_hashCode($this.$languageCode) | 0) + jl_String_hashCode($this.$variantCode) | 0; } function ju_Locale__clinit_() { var $localeName, $countryIndex; ju_Locale_CANADA = ju_Locale__init_($rt_s(265), $rt_s(266)); ju_Locale_CANADA_FRENCH = ju_Locale__init_($rt_s(267), $rt_s(266)); ju_Locale_CHINA = ju_Locale__init_($rt_s(268), $rt_s(269)); ju_Locale_CHINESE = ju_Locale__init_($rt_s(268), $rt_s(6)); ju_Locale_ENGLISH = ju_Locale__init_($rt_s(265), $rt_s(6)); ju_Locale_FRANCE = ju_Locale__init_($rt_s(267), $rt_s(270)); ju_Locale_FRENCH = ju_Locale__init_($rt_s(267), $rt_s(6)); ju_Locale_GERMAN = ju_Locale__init_($rt_s(271), $rt_s(6)); ju_Locale_GERMANY = ju_Locale__init_($rt_s(271), $rt_s(272)); ju_Locale_ITALIAN = ju_Locale__init_($rt_s(273), $rt_s(6)); ju_Locale_ITALY = ju_Locale__init_($rt_s(273), $rt_s(274)); ju_Locale_JAPAN = ju_Locale__init_($rt_s(275), $rt_s(276)); ju_Locale_JAPANESE = ju_Locale__init_($rt_s(275), $rt_s(6)); ju_Locale_KOREA = ju_Locale__init_($rt_s(277), $rt_s(278)); ju_Locale_KOREAN = ju_Locale__init_($rt_s(277), $rt_s(6)); ju_Locale_PRC = ju_Locale__init_($rt_s(268), $rt_s(269)); ju_Locale_SIMPLIFIED_CHINESE = ju_Locale__init_($rt_s(268), $rt_s(269)); ju_Locale_TAIWAN = ju_Locale__init_($rt_s(268), $rt_s(279)); ju_Locale_TRADITIONAL_CHINESE = ju_Locale__init_($rt_s(268), $rt_s(279)); ju_Locale_UK = ju_Locale__init_($rt_s(265), $rt_s(280)); ju_Locale_US = ju_Locale__init_($rt_s(265), $rt_s(281)); ju_Locale_ROOT = ju_Locale__init_($rt_s(6), $rt_s(6)); 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_substring0($localeName, 0, $countryIndex), jl_String_substring($localeName, $countryIndex + 1 | 0), $rt_s(6)); } var oti_AsyncCallback = $rt_classWithoutFields(0); 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); } var otja_XMLHttpRequest = $rt_classWithoutFields(); function otja_XMLHttpRequest_addEventListener$exported$0(var$0, var$1, var$2) { var$0.$addEventListener($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent")); } function otja_XMLHttpRequest_removeEventListener$exported$1(var$0, var$1, var$2) { var$0.$removeEventListener($rt_str(var$1), otji_JS_functionAsObject(var$2, "handleEvent")); } function otja_XMLHttpRequest_removeEventListener$exported$2(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 otja_XMLHttpRequest_dispatchEvent$exported$3(var$0, var$1) { return !!var$0.$dispatchEvent(var$1); } function otja_XMLHttpRequest_addEventListener$exported$4(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); } var otja_ReadyStateChangeHandler = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$1() { var a = this; jl_Object.call(a); a.$val$request = null; a.$val$cb = null; } function nlea_EaglerAdapterImpl2$1_stateChanged$exported$0(var$0) { var var$1, var$2, var$3; if (var$0.$val$request.readyState == 4) { var$1 = new $rt_globals.Uint8Array(var$0.$val$request.response); var$2 = $rt_createByteArray(var$1.byteLength); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_loadedPackage = var$2; var$3 = 0; while (true) { var$2 = nlea_EaglerAdapterImpl2_loadedPackage.data; if (var$3 >= var$2.length) break; var$2[var$3] = var$1[var$3] << 24 >> 24; var$3 = var$3 + 1 | 0; } otpp_AsyncCallbackWrapper_complete(var$0.$val$cb, $rt_s(282)); } } var jnc_Charset$Charsets = $rt_classWithoutFields(); var jnc_Charset$Charsets_value = null; function jnc_Charset$Charsets_$callClinit() { jnc_Charset$Charsets_$callClinit = $rt_eraseClinit(jnc_Charset$Charsets); jnc_Charset$Charsets__clinit_(); } function jnc_Charset$Charsets__init_0() { var var_0 = new jnc_Charset$Charsets(); jnc_Charset$Charsets__init_(var_0); return var_0; } function jnc_Charset$Charsets__init_($this) { jnc_Charset$Charsets_$callClinit(); } function jnc_Charset$Charsets__clinit_() { var $charsets, var$2, var$3, $charset; jnc_Charset$Charsets_value = ju_HashMap__init_0(); $charsets = $rt_createArray(jnc_Charset, 6).data; jnc_StandardCharsets_$callClinit(); $charsets[0] = jnc_StandardCharsets_UTF_8; $charsets[1] = jnc_StandardCharsets_US_ASCII; $charsets[2] = jnc_StandardCharsets_ISO_8859_1; $charsets[3] = jnc_StandardCharsets_UTF_16; $charsets[4] = jnc_StandardCharsets_UTF_16BE; $charsets[5] = jnc_StandardCharsets_UTF_16LE; var$2 = $charsets.length; var$3 = 0; while (var$3 < var$2) { $charset = $charsets[var$3]; ju_HashMap_put(jnc_Charset$Charsets_value, $charset.$canonicalName, $charset); var$3 = var$3 + 1 | 0; } } var jl_IllegalArgumentException = $rt_classWithoutFields(jl_RuntimeException); function jl_IllegalArgumentException__init_0() { var var_0 = new jl_IllegalArgumentException(); jl_IllegalArgumentException__init_(var_0); return var_0; } function jl_IllegalArgumentException__init_1(var_0) { var var_1 = new jl_IllegalArgumentException(); jl_IllegalArgumentException__init_2(var_1, var_0); return var_1; } function jl_IllegalArgumentException__init_($this) { jl_Throwable__init_0($this); } function jl_IllegalArgumentException__init_2($this, $message) { jl_Throwable__init_($this, $message); } function jnc_UnsupportedCharsetException() { jl_IllegalArgumentException.call(this); this.$charsetName = null; } var otjb_Performance = $rt_classWithoutFields(); function otjb_Performance__init_0() { var var_0 = new otjb_Performance(); otjb_Performance__init_(var_0); return var_0; } function otjb_Performance__init_($this) {} 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_($this, $capacity) { $this.$mark0 = (-1); $this.$capacity = $capacity; $this.$limit = $capacity; } function jn_Buffer_position($this) { return $this.$position; } function jn_Buffer_position0($this, $newPosition) { var var$2, var$3, var$4; if ($newPosition >= 0 && $newPosition <= $this.$limit) { $this.$position = $newPosition; if ($newPosition < $this.$mark0) $this.$mark0 = 0; return $this; } var$2 = new jl_IllegalArgumentException; var$3 = $this.$limit; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$4, $rt_s(283)), $newPosition), $rt_s(250)), var$3), 93); jl_Throwable__init_(var$2, jl_AbstractStringBuilder_toString(var$4)); $rt_throw(var$2); } function jn_Buffer_limit($this, $newLimit) { var var$2, var$3, var$4; if ($newLimit >= 0 && $newLimit <= $this.$capacity) { if ($this.$mark0 > $newLimit) $this.$mark0 = (-1); $this.$limit = $newLimit; if ($this.$position > $newLimit) $this.$position = $newLimit; return $this; } var$2 = new jl_IllegalArgumentException; var$3 = $this.$capacity; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$4, $rt_s(284)), $newLimit), $rt_s(250)), var$3), 93); jl_Throwable__init_(var$2, jl_AbstractStringBuilder_toString(var$4)); $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; } var jn_FloatBuffer = $rt_classWithoutFields(jn_Buffer); function jn_FloatBuffer_get($this, $dst) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $dst = $dst.data; var$2 = 0; var$3 = $dst.length; if (var$2 > var$3) { var$4 = new jl_IndexOutOfBoundsException; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$5, $rt_s(285)), var$2), $rt_s(250)), var$3), 41); jl_Throwable__init_(var$4, jl_AbstractStringBuilder_toString(var$5)); $rt_throw(var$4); } var$6 = var$2 + var$3 | 0; if (var$6 > var$3) { var$5 = new jl_IndexOutOfBoundsException; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$7, $rt_s(286)), var$6), $rt_s(287)), var$3); jl_Throwable__init_(var$5, jl_AbstractStringBuilder_toString(var$7)); $rt_throw(var$5); } if (jn_Buffer_remaining($this) < var$3) { var$4 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } if (var$3 < 0) { var$4 = new jl_IndexOutOfBoundsException; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$5, $rt_s(288)), var$3), $rt_s(289)); jl_Throwable__init_(var$4, jl_AbstractStringBuilder_toString(var$5)); $rt_throw(var$4); } var$8 = $this.$position; var$9 = 0; while (var$9 < var$3) { var$10 = var$2 + 1 | 0; var$6 = var$8 + 1 | 0; $dst[var$2] = jn_FloatBufferOverArray_getElement($this, var$8); var$9 = var$9 + 1 | 0; var$2 = var$10; var$8 = var$6; } $this.$position = $this.$position + var$3 | 0; return $this; } function jn_FloatBuffer_clear($this) { jn_Buffer_clear($this); return $this; } function jn_FloatBuffer_flip($this) { jn_Buffer_flip($this); return $this; } function jn_FloatBuffer_limit($this, $newLimit) { jn_Buffer_limit($this, $newLimit); return $this; } function nms_RenderBlocks() { var a = this; jl_Object.call(a); a.$blockAccess = null; a.$overrideBlockTexture = 0; a.$flipTexture = 0; a.$renderAllFaces = 0; } function nms_RenderBlocks__init_0(var_0) { var var_1 = new nms_RenderBlocks(); nms_RenderBlocks__init_2(var_1, var_0); return var_1; } function nms_RenderBlocks__init_1() { var var_0 = new nms_RenderBlocks(); nms_RenderBlocks__init_(var_0); return var_0; } function nms_RenderBlocks__init_2($this, $var1) { $this.$overrideBlockTexture = (-1); $this.$flipTexture = 0; $this.$renderAllFaces = 0; $this.$blockAccess = $var1; } function nms_RenderBlocks__init_($this) { $this.$overrideBlockTexture = (-1); $this.$flipTexture = 0; $this.$renderAllFaces = 0; } function nms_RenderBlocks_renderBlockByRenderType($this, $var1, $var2, $var3, $var4) { var $var5, var$6, var$7, var$8, var$9, 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();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $var1.$getRenderType(); var$6 = $this.$blockAccess; $ptr = 1; case 1: $var1.$setBlockBoundsBasedOnState(var$6, $var2, $var3, $var4); if ($rt_suspending()) { break main; } if (!$var5) { $ptr = 2; continue main; } if ($var5 == 4) { $ptr = 3; continue main; } if ($var5 == 13) { var$6 = $this.$blockAccess; $ptr = 4; continue main; } if ($var5 == 1) { nms_Tessellator_$callClinit(); var$6 = nms_Tessellator_instance; var$7 = $this.$blockAccess; $ptr = 6; continue main; } if ($var5 == 6) { nms_Tessellator_$callClinit(); var$6 = nms_Tessellator_instance; var$7 = $this.$blockAccess; $ptr = 8; continue main; } if ($var5 == 2) { var$6 = $this.$blockAccess; $ptr = 10; continue main; } if ($var5 == 3) { $ptr = 12; continue main; } if ($var5 == 5) { $ptr = 13; continue main; } if ($var5 == 8) { $ptr = 14; continue main; } if ($var5 == 7) { $ptr = 15; continue main; } if ($var5 == 9) { $ptr = 16; continue main; } if ($var5 == 10) { var$8 = 0; var$6 = $this.$blockAccess; $ptr = 17; continue main; } if ($var5 == 11) { $ptr = 18; continue main; } if ($var5 != 12) { var$8 = 0; return var$8; } $ptr = 21; continue main; case 2: $tmp = nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 3: $tmp = nms_RenderBlocks_renderBlockFluids($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 4: $tmp = $var1.$colorMultiplier(var$6, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; var$9 = (var$8 >> 16 & 255) / 255.0; var$10 = (var$8 >> 8 & 255) / 255.0; var$11 = (var$8 & 255) / 255.0; $ptr = 5; case 5: $tmp = nms_RenderBlocks_func_1230_b($this, $var1, $var2, $var3, $var4, var$9, var$10, var$11); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 6: $tmp = $var1.$getBlockBrightness(var$7, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; nms_Tessellator_setColorOpaque_F(var$6, var$9, var$9, var$9); var$6 = $this.$blockAccess; $ptr = 7; case 7: $tmp = var$6.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_RenderBlocks_func_1239_a($this, $var1, var$8, $var2, $var3, $var4); var$8 = 1; return var$8; case 8: $tmp = $var1.$getBlockBrightness(var$7, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; nms_Tessellator_setColorOpaque_F(var$6, var$9, var$9, var$9); var$6 = $this.$blockAccess; $ptr = 9; case 9: $tmp = var$6.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_RenderBlocks_func_1245_b($this, $var1, var$8, $var2, $var3 - 0.0625, $var4); var$8 = 1; return var$8; case 10: $tmp = var$6.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_Tessellator_$callClinit(); var$6 = nms_Tessellator_instance; var$7 = $this.$blockAccess; $ptr = 11; case 11: $tmp = $var1.$getBlockBrightness(var$7, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (nms_Block_lightValue.data[$var1.$blockID] > 0) var$9 = 1.0; nms_Tessellator_setColorOpaque_F(var$6, var$9, var$9, var$9); if (var$8 == 1) nms_RenderBlocks_renderTorchAtAngle($this, $var1, $var2 - 0.09999999403953552, $var3 + 0.20000000298023224, $var4, (-0.4000000059604645), 0.0); else if (var$8 == 2) nms_RenderBlocks_renderTorchAtAngle($this, $var1, $var2 + 0.09999999403953552, $var3 + 0.20000000298023224, $var4, 0.4000000059604645, 0.0); else if (var$8 == 3) nms_RenderBlocks_renderTorchAtAngle($this, $var1, $var2, $var3 + 0.20000000298023224, $var4 - 0.09999999403953552, 0.0, (-0.4000000059604645)); else if (var$8 != 4) nms_RenderBlocks_renderTorchAtAngle($this, $var1, $var2, $var3, $var4, 0.0, 0.0); else nms_RenderBlocks_renderTorchAtAngle($this, $var1, $var2, $var3 + 0.20000000298023224, $var4 + 0.09999999403953552, 0.0, 0.4000000059604645); var$8 = 1; return var$8; case 12: $tmp = nms_RenderBlocks_renderBlockFire($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 13: $tmp = nms_RenderBlocks_renderBlockRedstoneWire($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 14: $tmp = nms_RenderBlocks_renderBlockLadder($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 15: $tmp = nms_RenderBlocks_renderBlockDoor($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 16: $tmp = nms_RenderBlocks_renderBlockMinecartTrack($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 17: $tmp = var$6.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 0.5, 0.5, 1.0); $ptr = 19; continue main; } if ($var5 == 1) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 0.5, 1.0, 1.0); $ptr = 22; continue main; } if ($var5 == 2) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 0.5, 0.5); $ptr = 24; continue main; } if ($var5 != 3) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return var$8; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 0.5); $ptr = 26; continue main; case 18: $tmp = nms_RenderBlocks_renderBlockFence($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 19: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.5, 0.0, 0.0, 1.0, 1.0, 1.0); $ptr = 20; case 20: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return var$8; case 21: $tmp = nms_RenderBlocks_renderBlockLever($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; case 22: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.5, 0.0, 0.0, 1.0, 0.5, 1.0); $ptr = 23; case 23: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return var$8; case 24: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.5, 1.0, 1.0, 1.0); $ptr = 25; case 25: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return var$8; case 26: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.5, 1.0, 0.5, 1.0); $ptr = 27; case 27: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return var$8; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); } function nms_RenderBlocks_renderBlockLever($this, $var1, $var2, $var3, $var4) { var $var30, $var5, $var6, $var7, $var8, $var9, $var29, $var13, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var25, var$22, var$23, var$24, var$25, var$26, $var26, $var27, $var28, var$30, $var12, var$32, var$33, var$34, var$35, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();$var12 = $thread.pop();var$30 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var25 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var29 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var30 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var30 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var30.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = $var5 & 7; $var7 = ($var5 & 8) <= 0 ? 0 : 1; nms_Tessellator_$callClinit(); $var8 = nms_Tessellator_instance; $var9 = $this.$overrideBlockTexture < 0 ? 0 : 1; if (!$var9) { nms_Block_$callClinit(); $this.$overrideBlockTexture = nms_Block_cobblestone.$blockIndexInTexture; } $var29 = $rt_compare($var6, 5); if (!$var29) nms_Block_setBlockBounds($var1, 0.3125, 0.0, 0.25, 0.6875, 0.1875, 0.75); else if ($var6 == 6) nms_Block_setBlockBounds($var1, 0.25, 0.0, 0.3125, 0.75, 0.1875, 0.6875); else if ($var6 == 4) nms_Block_setBlockBounds($var1, 0.3125, 0.25, 0.8125, 0.6875, 0.75, 1.0); else if ($var6 == 3) nms_Block_setBlockBounds($var1, 0.3125, 0.25, 0.0, 0.6875, 0.75, 0.1875); else if ($var6 == 2) nms_Block_setBlockBounds($var1, 0.8125, 0.25, 0.3125, 1.0, 0.75, 0.6875); else if ($var6 == 1) nms_Block_setBlockBounds($var1, 0.0, 0.25, 0.3125, 0.1875, 0.75, 0.6875); $ptr = 2; case 2: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } if (!$var9) $this.$overrideBlockTexture = (-1); $var30 = $this.$blockAccess; $ptr = 3; case 3: $tmp = $var1.$getBlockBrightness($var30, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var13 = $tmp; if (nms_Block_lightValue.data[$var1.$blockID] > 0) $var13 = 1.0; nms_Tessellator_setColorOpaque_F($var8, $var13, $var13, $var13); $var14 = $var1.$getBlockTextureFromSide(0); $var5 = $this.$overrideBlockTexture; if ($var5 < 0) $var5 = $var14; $var15 = ($var5 & 15) << 4; $var16 = $var5 & 240; $var13 = $var15; $var17 = $var13 / 256.0; $var18 = ($var13 + 15.989999771118164) / 256.0; $var13 = $var16; $var19 = $var13 / 256.0; $var20 = ($var13 + 15.989999771118164) / 256.0; $var21 = $rt_createArray(nms_Vec3D, 8).data; $var21[0] = nms_Vec3D_createVector((-0.0625), 0.0, (-0.0625)); $var21[1] = nms_Vec3D_createVector(0.0625, 0.0, (-0.0625)); $var21[2] = nms_Vec3D_createVector(0.0625, 0.0, 0.0625); $var21[3] = nms_Vec3D_createVector((-0.0625), 0.0, 0.0625); $var21[4] = nms_Vec3D_createVector((-0.0625), 0.625, (-0.0625)); $var21[5] = nms_Vec3D_createVector(0.0625, 0.625, (-0.0625)); $var21[6] = nms_Vec3D_createVector(0.0625, 0.625, 0.0625); $var21[7] = nms_Vec3D_createVector((-0.0625), 0.625, 0.0625); $var25 = 0; $var14 = $rt_compare($var6, 6); $var9 = $rt_compare($var6, 4); $var5 = $rt_compare($var6, 3); var$22 = $rt_compare($var6, 2); $var6 = $rt_compare($var6, 1); var$23 = $var2 + 0.5; $var13 = $var3; var$24 = $var13 + 0.5; var$25 = $var4 + 0.5; var$26 = $var13 + 0.125; while ($var25 < 8) { if (!$var7) { $var1 = $var21[$var25]; $var1.$zCoord = $var1.$zCoord + 0.0625; nms_Vec3D_rotateAroundX($var21[$var25], (-0.6981317400932312)); } else { $var1 = $var21[$var25]; $var1.$zCoord = $var1.$zCoord - 0.0625; nms_Vec3D_rotateAroundX($var21[$var25], 0.6981317400932312); } if (!$var14) nms_Vec3D_rotateAroundY($var21[$var25], 1.5707963705062866); if ($var29 >= 0) { $var1 = $var21[$var25]; $var1.$xCoord = $var1.$xCoord + var$23; $var1 = $var21[$var25]; $var1.$yCoord = $var1.$yCoord + var$26; $var1 = $var21[$var25]; $var1.$zCoord = $var1.$zCoord + var$25; } else { $var1 = $var21[$var25]; $var1.$yCoord = $var1.$yCoord - 0.375; nms_Vec3D_rotateAroundX($var21[$var25], 1.5707963705062866); if (!$var9) nms_Vec3D_rotateAroundY($var21[$var25], 0.0); if (!$var5) nms_Vec3D_rotateAroundY($var21[$var25], 3.1415927410125732); if (!var$22) nms_Vec3D_rotateAroundY($var21[$var25], 1.5707963705062866); if (!$var6) nms_Vec3D_rotateAroundY($var21[$var25], (-1.5707963705062866)); $var1 = $var21[$var25]; $var1.$xCoord = $var1.$xCoord + var$23; $var1 = $var21[$var25]; $var1.$yCoord = $var1.$yCoord + var$24; $var1 = $var21[$var25]; $var1.$zCoord = $var1.$zCoord + var$25; } $var25 = $var25 + 1 | 0; } $var30 = null; $var26 = null; $var27 = null; $var28 = null; $var29 = 0; var$30 = ($var15 + 7 | 0) / 256.0; $var12 = (($var15 + 9 | 0) - 0.009999999776482582) / 256.0; var$32 = ($var16 + 6 | 0) / 256.0; var$33 = (($var16 + 8 | 0) - 0.009999999776482582) / 256.0; $var13 = (($var16 + 16 | 0) - 0.009999999776482582) / 256.0; while ($var29 < 6) { if (!$var29) { $var17 = var$30; $var18 = $var12; $var19 = var$32; $var20 = var$33; } else if ($var29 == 2) { $var17 = var$30; $var18 = $var12; $var19 = var$32; $var20 = $var13; } if (!$var29) { $var30 = $var21[0]; $var26 = $var21[1]; $var27 = $var21[2]; $var28 = $var21[3]; } else if ($var29 == 1) { $var30 = $var21[7]; $var26 = $var21[6]; $var27 = $var21[5]; $var28 = $var21[4]; } else if ($var29 == 2) { $var30 = $var21[1]; $var26 = $var21[0]; $var27 = $var21[4]; $var28 = $var21[5]; } else if ($var29 == 3) { $var30 = $var21[2]; $var26 = $var21[1]; $var27 = $var21[5]; $var28 = $var21[6]; } else if ($var29 == 4) { $var30 = $var21[3]; $var26 = $var21[2]; $var27 = $var21[6]; $var28 = $var21[7]; } else if ($var29 == 5) { $var30 = $var21[0]; $var26 = $var21[3]; $var27 = $var21[7]; $var28 = $var21[4]; } var$34 = $var30.$xCoord; var$24 = $var30.$yCoord; var$25 = $var30.$zCoord; var$26 = $var17; var$23 = $var20; nms_Tessellator_addVertexWithUV($var8, var$34, var$24, var$25, var$26, var$23); var$34 = $var26.$xCoord; var$24 = $var26.$yCoord; var$25 = $var26.$zCoord; var$35 = $var18; nms_Tessellator_addVertexWithUV($var8, var$34, var$24, var$25, var$35, var$23); var$23 = $var27.$xCoord; var$34 = $var27.$yCoord; var$24 = $var27.$zCoord; var$25 = $var19; nms_Tessellator_addVertexWithUV($var8, var$23, var$34, var$24, var$35, var$25); nms_Tessellator_addVertexWithUV($var8, $var28.$xCoord, $var28.$yCoord, $var28.$zCoord, var$26, var$25); $var29 = $var29 + 1 | 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var30, $var5, $var6, $var7, $var8, $var9, $var29, $var13, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var25, var$22, var$23, var$24, var$25, var$26, $var26, $var27, $var28, var$30, $var12, var$32, var$33, var$34, var$35, $ptr); } function nms_RenderBlocks_renderBlockFire($this, $var1, $var2, $var3, $var4) { var $var5, $var6, var$7, var$8, $var7, $var8, $var9, $var10, $var12, $var14, var$15, $var16, $var18, $var27, $var19, $var21, $var23, $var23_0, $var25, $var27_0, $var29, $var31, $var33, var$28, var$29, var$30, var$31, var$32, var$33, var$34, $var37, $var20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var20 = $thread.pop();$var37 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();$var33 = $thread.pop();$var31 = $thread.pop();$var29 = $thread.pop();$var27_0 = $thread.pop();$var25 = $thread.pop();$var23_0 = $thread.pop();$var23 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var27 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();var$15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Tessellator_$callClinit(); $var5 = nms_Tessellator_instance; $var6 = $var1.$getBlockTextureFromSide(0); var$7 = $this.$overrideBlockTexture; if (var$7 < 0) var$7 = $var6; var$8 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var1.$getBlockBrightness(var$8, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; nms_Tessellator_setColorOpaque_F($var5, $var7, $var7, $var7); $var8 = (var$7 & 15) << 4; $var9 = var$7 & 240; $var7 = $var8; $var10 = $var7 / 256.0; $var12 = ($var7 + 15.989999771118164) / 256.0; $var7 = $var9; $var14 = $var7 / 256.0; var$15 = $var7 + 15.989999771118164; $var16 = var$15 / 256.0; $var18 = 1.399999976158142; $var1 = $this.$blockAccess; $var6 = $var3 - 1 | 0; $ptr = 2; case 2: $tmp = $var1.$isBlockOpaqueCube($var2, $var6, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) { $var27 = $var2 + 0.5; $var19 = $var27 + 0.2; $var21 = $var27 - 0.2; $var23 = $var4 + 0.5; $var23_0 = $var23 + 0.2; $var25 = $var23 - 0.2; $var27_0 = $var27 - 0.3; $var29 = $var27 + 0.3; $var31 = $var23 - 0.3; $var33 = $var23 + 0.3; var$28 = $var3 + $var18; var$29 = $var4 + 1 | 0; nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, var$29, $var12, $var14); var$30 = $var3 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var19, var$30, var$29, $var12, $var16); var$31 = $var4 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var19, var$30, var$31, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, var$31, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var29, var$28, var$31, $var12, $var14); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, var$31, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, var$29, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var29, var$28, var$29, $var10, $var14); $var29 = ($var9 + 16 | 0) / 256.0; $var19 = (var$15 + 16.0) / 256.0; $var21 = $var2 + 1 | 0; nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var33, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, $var25, $var12, $var19); $var27_0 = $var2 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, $var25, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var33, $var10, $var29); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var31, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, $var23_0, $var12, $var19); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, $var23_0, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var31, $var10, $var29); $var23_0 = $var27 - 0.5; $var31 = $var27 + 0.5; $var33 = $var23 - 0.5; var$32 = $var23 + 0.5; var$33 = $var27 - 0.4; var$34 = $var27 + 0.4; $var27 = $var23 - 0.4; $var25 = $var23 + 0.4; nms_Tessellator_addVertexWithUV($var5, var$33, var$28, var$31, $var10, $var29); nms_Tessellator_addVertexWithUV($var5, $var23_0, var$30, var$31, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var23_0, var$30, var$29, $var12, $var19); nms_Tessellator_addVertexWithUV($var5, var$33, var$28, var$29, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, var$34, var$28, var$29, $var10, $var29); nms_Tessellator_addVertexWithUV($var5, $var31, var$30, var$29, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var31, var$30, var$31, $var12, $var19); nms_Tessellator_addVertexWithUV($var5, var$34, var$28, var$31, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var25, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, var$32, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, var$32, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var25, $var12, $var14); nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var27, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, $var33, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, $var33, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var27, $var12, $var14); return 1; } $var1 = nms_Block_fire; var$8 = $this.$blockAccess; $ptr = 3; case 3: $tmp = nms_BlockFire_canBlockCatchFire($var1, var$8, $var2, $var6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var27 = $var2 + 0.5; $var19 = $var27 + 0.2; $var21 = $var27 - 0.2; $var23 = $var4 + 0.5; $var23_0 = $var23 + 0.2; $var25 = $var23 - 0.2; $var27_0 = $var27 - 0.3; $var29 = $var27 + 0.3; $var31 = $var23 - 0.3; $var33 = $var23 + 0.3; var$28 = $var3 + $var18; var$29 = $var4 + 1 | 0; nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, var$29, $var12, $var14); var$30 = $var3 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var19, var$30, var$29, $var12, $var16); var$31 = $var4 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var19, var$30, var$31, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, var$31, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var29, var$28, var$31, $var12, $var14); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, var$31, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, var$29, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var29, var$28, var$29, $var10, $var14); $var29 = ($var9 + 16 | 0) / 256.0; $var19 = (var$15 + 16.0) / 256.0; $var21 = $var2 + 1 | 0; nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var33, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, $var25, $var12, $var19); $var27_0 = $var2 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, $var25, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var33, $var10, $var29); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var31, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, $var23_0, $var12, $var19); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, $var23_0, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var31, $var10, $var29); $var23_0 = $var27 - 0.5; $var31 = $var27 + 0.5; $var33 = $var23 - 0.5; var$32 = $var23 + 0.5; var$33 = $var27 - 0.4; var$34 = $var27 + 0.4; $var27 = $var23 - 0.4; $var25 = $var23 + 0.4; nms_Tessellator_addVertexWithUV($var5, var$33, var$28, var$31, $var10, $var29); nms_Tessellator_addVertexWithUV($var5, $var23_0, var$30, var$31, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var23_0, var$30, var$29, $var12, $var19); nms_Tessellator_addVertexWithUV($var5, var$33, var$28, var$29, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, var$34, var$28, var$29, $var10, $var29); nms_Tessellator_addVertexWithUV($var5, $var31, var$30, var$29, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var31, var$30, var$31, $var12, $var19); nms_Tessellator_addVertexWithUV($var5, var$34, var$28, var$31, $var12, $var29); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var25, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, var$32, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, var$32, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var25, $var12, $var14); nms_Tessellator_addVertexWithUV($var5, $var21, var$28, $var27, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var21, var$30, $var33, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$30, $var33, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, $var27_0, var$28, $var27, $var12, $var14); return 1; } $var37 = 0.20000000298023224; $var20 = 0.0625; if (((($var2 + $var3 | 0) + $var4 | 0) & 1) != 1) { $var33 = $var10; var$28 = $var12; $var27_0 = $var14; $var31 = $var16; } else { $var27_0 = ($var9 + 16 | 0) / 256.0; $var31 = (var$15 + 16.0) / 256.0; $var33 = $var10; var$28 = $var12; } if ((((($var2 / 2 | 0) + ($var3 / 2 | 0) | 0) + ($var4 / 2 | 0) | 0) & 1) != 1) { $var27 = $var33; $var33 = var$28; var$28 = $var27; } $var1 = nms_Block_fire; var$8 = $this.$blockAccess; $var6 = $var2 - 1 | 0; $ptr = 4; case 4: $tmp = nms_BlockFire_canBlockCatchFire($var1, var$8, $var6, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var25 = $var2 + $var37; $var19 = $var3 + $var18 + $var20; $var21 = $var4 + 1 | 0; nms_Tessellator_addVertexWithUV($var5, $var25, $var19, $var21, $var33, $var27_0); $var23 = $var2 + 0 | 0; $var23_0 = ($var3 + 0 | 0) + $var20; nms_Tessellator_addVertexWithUV($var5, $var23, $var23_0, $var21, $var33, $var31); $var27 = $var4 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var23, $var23_0, $var27, var$28, $var31); nms_Tessellator_addVertexWithUV($var5, $var25, $var19, $var27, var$28, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var25, $var19, $var27, var$28, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var23, $var23_0, $var27, var$28, $var31); nms_Tessellator_addVertexWithUV($var5, $var23, $var23_0, $var21, $var33, $var31); nms_Tessellator_addVertexWithUV($var5, $var25, $var19, $var21, $var33, $var27_0); } $var1 = nms_Block_fire; var$8 = $this.$blockAccess; var$7 = $var2 + 1 | 0; $ptr = 5; case 5: $tmp = nms_BlockFire_canBlockCatchFire($var1, var$8, var$7, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var27 = var$7 - $var37; $var25 = $var3 + $var18 + $var20; $var19 = $var4 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var27, $var25, $var19, var$28, $var27_0); $var21 = var$7 - 0 | 0; $var23 = ($var3 + 0 | 0) + $var20; nms_Tessellator_addVertexWithUV($var5, $var21, $var23, $var19, var$28, $var31); $var23_0 = $var4 + 1 | 0; nms_Tessellator_addVertexWithUV($var5, $var21, $var23, $var23_0, $var33, $var31); nms_Tessellator_addVertexWithUV($var5, $var27, $var25, $var23_0, $var33, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var27, $var25, $var23_0, $var33, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var21, $var23, $var23_0, $var33, $var31); nms_Tessellator_addVertexWithUV($var5, $var21, $var23, $var19, var$28, $var31); nms_Tessellator_addVertexWithUV($var5, $var27, $var25, $var19, var$28, $var27_0); } $var1 = nms_Block_fire; var$8 = $this.$blockAccess; $var6 = $var4 - 1 | 0; $ptr = 6; case 6: $tmp = nms_BlockFire_canBlockCatchFire($var1, var$8, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var27 = $var2 + 0 | 0; $var25 = $var3 + $var18 + $var20; $var19 = $var4 + $var37; nms_Tessellator_addVertexWithUV($var5, $var27, $var25, $var19, $var33, $var27_0); $var21 = ($var3 + 0 | 0) + $var20; $var23 = $var4 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var27, $var21, $var23, $var33, $var31); $var23_0 = var$7; nms_Tessellator_addVertexWithUV($var5, $var23_0, $var21, $var23, var$28, $var31); nms_Tessellator_addVertexWithUV($var5, $var23_0, $var25, $var19, var$28, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var23_0, $var25, $var19, var$28, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var23_0, $var21, $var23, var$28, $var31); nms_Tessellator_addVertexWithUV($var5, $var27, $var21, $var23, $var33, $var31); nms_Tessellator_addVertexWithUV($var5, $var27, $var25, $var19, $var33, $var27_0); } $var1 = nms_Block_fire; var$8 = $this.$blockAccess; $var8 = $var4 + 1 | 0; $ptr = 7; case 7: $tmp = nms_BlockFire_canBlockCatchFire($var1, var$8, $var2, $var3, $var8); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var21 = var$7; $var23 = $var3 + $var18 + $var20; $var23_0 = $var8 - $var37; nms_Tessellator_addVertexWithUV($var5, $var21, $var23, $var23_0, var$28, $var27_0); $var27 = ($var3 + 0 | 0) + $var20; $var25 = $var8 - 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var21, $var27, $var25, var$28, $var31); $var19 = $var2 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var19, $var27, $var25, $var33, $var31); nms_Tessellator_addVertexWithUV($var5, $var19, $var23, $var23_0, $var33, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var19, $var23, $var23_0, $var33, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var19, $var27, $var25, $var33, $var31); nms_Tessellator_addVertexWithUV($var5, $var21, $var27, $var25, var$28, $var31); nms_Tessellator_addVertexWithUV($var5, $var21, $var23, $var23_0, var$28, $var27_0); } $var1 = nms_Block_fire; var$8 = $this.$blockAccess; $var3 = $var3 + 1 | 0; $ptr = 8; case 8: $tmp = nms_BlockFire_canBlockCatchFire($var1, var$8, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var27 = $var2 + 0.5; $var21 = $var27 + 0.5; $var23 = $var27 - 0.5; $var27 = $var4 + 0.5; $var25 = $var27 + 0.5; $var27 = $var27 - 0.5; if ((($var2 + $var3 | 0) + $var4 | 0) & 1) { $var19 = $var2 + 0 | 0; $var21 = $var3 + (-0.20000000298023224); nms_Tessellator_addVertexWithUV($var5, $var19, $var21, $var25, $var12, $var14); $var23 = $var3 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var19, $var23, $var27, $var12, $var16); $var23_0 = var$7; nms_Tessellator_addVertexWithUV($var5, $var23_0, $var23, $var27, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var23_0, $var21, $var25, $var10, $var14); $var27_0 = ($var9 + 16 | 0) / 256.0; $var31 = (var$15 + 16.0) / 256.0; nms_Tessellator_addVertexWithUV($var5, $var23_0, $var21, $var27, $var12, $var27_0); nms_Tessellator_addVertexWithUV($var5, $var23_0, $var23, $var25, $var12, $var31); nms_Tessellator_addVertexWithUV($var5, $var19, $var23, $var25, $var10, $var31); nms_Tessellator_addVertexWithUV($var5, $var19, $var21, $var27, $var10, $var27_0); } else { $var23_0 = $var3 + (-0.20000000298023224); $var27_0 = $var4 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var23, $var23_0, $var27_0, $var12, $var14); $var31 = $var3 + 0 | 0; nms_Tessellator_addVertexWithUV($var5, $var21, $var31, $var27_0, $var12, $var16); $var27 = $var8; nms_Tessellator_addVertexWithUV($var5, $var21, $var31, $var27, $var10, $var16); nms_Tessellator_addVertexWithUV($var5, $var23, $var23_0, $var27, $var10, $var14); $var25 = ($var9 + 16 | 0) / 256.0; $var19 = (var$15 + 16.0) / 256.0; nms_Tessellator_addVertexWithUV($var5, $var21, $var23_0, $var27, $var12, $var25); nms_Tessellator_addVertexWithUV($var5, $var23, $var31, $var27, $var12, $var19); nms_Tessellator_addVertexWithUV($var5, $var23, $var31, $var27_0, $var10, $var19); nms_Tessellator_addVertexWithUV($var5, $var21, $var23_0, $var27_0, $var10, $var25); } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, var$8, $var7, $var8, $var9, $var10, $var12, $var14, var$15, $var16, $var18, $var27, $var19, $var21, $var23, $var23_0, $var25, $var27_0, $var29, $var31, $var33, var$28, var$29, var$30, var$31, var$32, var$33, var$34, $var37, $var20, $ptr); } function nms_RenderBlocks_renderBlockRedstoneWire($this, $var1, $var2, $var3, $var4) { var $var5, $var6, var$7, $var20, $var7, $var8, $var9, $var18, $var10, $var12, $var14, $var16, $var19, var$18, $var21, var$20, $var22, var$22, $var23, var$24, $var25, $var26, $var27, $var28, $var29, var$30, var$31, var$32, var$33, var$34, $var24, var$36, var$37, var$38, var$39, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();$var24 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();$var29 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();$var25 = $thread.pop();var$24 = $thread.pop();$var23 = $thread.pop();var$22 = $thread.pop();$var22 = $thread.pop();var$20 = $thread.pop();$var21 = $thread.pop();var$18 = $thread.pop();$var19 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var18 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var20 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Tessellator_$callClinit(); $var5 = nms_Tessellator_instance; $var6 = 1; var$7 = $this.$blockAccess; $ptr = 1; case 1: $tmp = var$7.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var20 = $tmp; $var6 = $var1.$getBlockTextureFromSideAndMetadata($var6, $var20); $var20 = $this.$overrideBlockTexture; if ($var20 < 0) $var20 = $var6; var$7 = $this.$blockAccess; $ptr = 2; case 2: $tmp = $var1.$getBlockBrightness(var$7, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; nms_Tessellator_setColorOpaque_F($var5, $var7, $var7, $var7); $var8 = ($var20 & 15) << 4; $var9 = $var20 & 240; $var18 = $var8; $var10 = $var18 / 256.0; $var12 = ($var18 + 15.989999771118164) / 256.0; $var18 = $var9; $var14 = $var18 / 256.0; $var16 = ($var18 + 15.989999771118164) / 256.0; $var18 = 0.0; $var19 = 0.03125; $var1 = $this.$blockAccess; $var6 = $var2 - 1 | 0; $ptr = 3; case 3: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var6, $var3, $var4); if ($rt_suspending()) { break main; } $var20 = $tmp; if (!$var20) { $var1 = $this.$blockAccess; $ptr = 4; continue main; } $var20 = 1; $var1 = $this.$blockAccess; $var9 = $var2 + 1 | 0; $ptr = 5; continue main; case 4: $tmp = $var1.$isBlockOpaqueCube($var6, $var3, $var4); if ($rt_suspending()) { break main; } $var20 = $tmp; if (!$var20) { $var1 = $this.$blockAccess; $var20 = $var3 - 1 | 0; $ptr = 6; continue main; } $var20 = 0; $var1 = $this.$blockAccess; $var9 = $var2 + 1 | 0; $ptr = 5; case 5: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var9, $var3, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; if (!var$18) { $var1 = $this.$blockAccess; $ptr = 7; continue main; } $var21 = 1; $var1 = $this.$blockAccess; var$20 = $var4 - 1 | 0; $ptr = 8; continue main; case 6: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var6, $var20, $var4); if ($rt_suspending()) { break main; } $var20 = $tmp; $var20 = $var20 ? 1 : 0; $var1 = $this.$blockAccess; $var9 = $var2 + 1 | 0; $ptr = 5; continue main; case 7: $tmp = $var1.$isBlockOpaqueCube($var9, $var3, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; if (!var$18) { $var1 = $this.$blockAccess; var$18 = $var3 - 1 | 0; $ptr = 9; continue main; } $var21 = 0; $var1 = $this.$blockAccess; var$20 = $var4 - 1 | 0; $ptr = 8; case 8: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, $var3, var$20); if ($rt_suspending()) { break main; } var$18 = $tmp; if (!var$18) { $var1 = $this.$blockAccess; $ptr = 10; continue main; } $var22 = 1; $var1 = $this.$blockAccess; var$22 = $var4 + 1 | 0; $ptr = 11; continue main; case 9: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var9, var$18, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; $var21 = var$18 ? 1 : 0; $var1 = $this.$blockAccess; var$20 = $var4 - 1 | 0; $ptr = 8; continue main; case 10: $tmp = $var1.$isBlockOpaqueCube($var2, $var3, var$20); if ($rt_suspending()) { break main; } var$18 = $tmp; if (!var$18) { $var1 = $this.$blockAccess; var$18 = $var3 - 1 | 0; $ptr = 12; continue main; } $var22 = 0; $var1 = $this.$blockAccess; var$22 = $var4 + 1 | 0; $ptr = 11; case 11: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, $var3, var$22); if ($rt_suspending()) { break main; } var$18 = $tmp; if (!var$18) { $var1 = $this.$blockAccess; $ptr = 13; continue main; } $var23 = 1; $var1 = $this.$blockAccess; var$24 = $var3 + 1 | 0; $ptr = 14; continue main; case 12: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$18, var$20); if ($rt_suspending()) { break main; } var$18 = $tmp; $var22 = var$18 ? 1 : 0; $var1 = $this.$blockAccess; var$22 = $var4 + 1 | 0; $ptr = 11; continue main; case 13: $tmp = $var1.$isBlockOpaqueCube($var2, $var3, var$22); if ($rt_suspending()) { break main; } var$18 = $tmp; if (!var$18) { $var1 = $this.$blockAccess; var$18 = $var3 - 1 | 0; $ptr = 15; continue main; } $var23 = 0; $var1 = $this.$blockAccess; var$24 = $var3 + 1 | 0; $ptr = 14; case 14: $tmp = $var1.$isBlockOpaqueCube($var2, var$24, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; if (!var$18) { $var1 = $this.$blockAccess; $ptr = 16; continue main; } $var25 = $var2 + 0 | 0; $var26 = $var9; $var27 = $var4 + 0 | 0; $var28 = var$22; $var29 = 0; if (!(!$var20 && !$var21) && !$var22 && !$var23) $var29 = 1; if (!(!$var22 && !$var23) && !$var21 && !$var20) $var29 = 2; if (!$var29) { var$30 = $var14; var$31 = $var16; } else { $var7 = $var8 + 16 | 0; $var10 = $var7 / 256.0; $var12 = ($var7 + 15.989999771118164) / 256.0; var$30 = $var14; var$31 = $var16; } if ($var29) { var$32 = $var25; var$33 = $var26; var$34 = $var27; $var24 = $var28; } else { if (!$var21 && !$var22 && !$var23 && !$var20) { var$32 = $var25; var$33 = $var26; var$34 = $var27; $var24 = $var28; } else { var$32 = !$var20 ? $var25 + 0.3125 : $var25; if (!$var20) $var10 = $var10 + 0.01953125; var$33 = !$var21 ? $var26 - 0.3125 : $var26; if (!$var21) $var12 = $var12 - 0.01953125; var$34 = !$var22 ? $var27 + 0.3125 : $var27; if (!$var22) var$30 = var$30 + 0.01953125; $var24 = !$var23 ? $var28 - 0.3125 : $var28; if (!$var23) var$31 = var$31 - 0.01953125; } var$36 = var$33 + $var18; var$37 = $var3 + $var19; var$38 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$38, $var12, var$31); var$39 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$39, $var12, var$30); var$36 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$39, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$38, $var10, var$31); } if ($var29 == 1) { var$37 = var$33 + $var18; var$38 = $var3 + $var19; var$39 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var12, var$31); var$36 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$36, $var12, var$30); var$37 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$36, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var10, var$31); } if ($var29 == 2) { var$38 = var$33 + $var18; var$39 = $var3 + $var19; var$36 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$36, $var12, var$31); var$37 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$37, $var10, var$31); var$38 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$37, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$36, $var12, var$30); } $var7 = $var8 + 16 | 0; var$36 = $var7 / 256.0; $var10 = ($var7 + 15.989999771118164) / 256.0; $var1 = $this.$blockAccess; $ptr = 24; continue main; case 15: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$18, var$22); if ($rt_suspending()) { break main; } var$18 = $tmp; $var23 = var$18 ? 1 : 0; $var1 = $this.$blockAccess; var$24 = $var3 + 1 | 0; $ptr = 14; continue main; case 16: $tmp = $var1.$isBlockOpaqueCube($var6, $var3, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) { $var1 = $this.$blockAccess; $ptr = 17; continue main; } $var1 = $this.$blockAccess; $ptr = 18; continue main; case 17: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var6, var$24, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) $var20 = 1; $var1 = $this.$blockAccess; $ptr = 18; case 18: $tmp = $var1.$isBlockOpaqueCube($var9, $var3, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) { $var1 = $this.$blockAccess; $ptr = 19; continue main; } $var1 = $this.$blockAccess; $ptr = 20; continue main; case 19: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var9, var$24, $var4); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) $var21 = 1; $var1 = $this.$blockAccess; $ptr = 20; case 20: $tmp = $var1.$isBlockOpaqueCube($var2, $var3, var$20); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) { $var1 = $this.$blockAccess; $ptr = 21; continue main; } $var1 = $this.$blockAccess; $ptr = 22; continue main; case 21: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$24, var$20); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) $var22 = 1; $var1 = $this.$blockAccess; $ptr = 22; case 22: $tmp = $var1.$isBlockOpaqueCube($var2, $var3, var$22); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) { $var1 = $this.$blockAccess; $ptr = 23; continue main; } $var25 = $var2 + 0 | 0; $var26 = $var9; $var27 = $var4 + 0 | 0; $var28 = var$22; $var29 = 0; if (!(!$var20 && !$var21) && !$var22 && !$var23) $var29 = 1; if (!(!$var22 && !$var23) && !$var21 && !$var20) $var29 = 2; if (!$var29) { var$30 = $var14; var$31 = $var16; } else { $var7 = $var8 + 16 | 0; $var10 = $var7 / 256.0; $var12 = ($var7 + 15.989999771118164) / 256.0; var$30 = $var14; var$31 = $var16; } if ($var29) { var$32 = $var25; var$33 = $var26; var$34 = $var27; $var24 = $var28; } else { if (!$var21 && !$var22 && !$var23 && !$var20) { var$32 = $var25; var$33 = $var26; var$34 = $var27; $var24 = $var28; } else { var$32 = !$var20 ? $var25 + 0.3125 : $var25; if (!$var20) $var10 = $var10 + 0.01953125; var$33 = !$var21 ? $var26 - 0.3125 : $var26; if (!$var21) $var12 = $var12 - 0.01953125; var$34 = !$var22 ? $var27 + 0.3125 : $var27; if (!$var22) var$30 = var$30 + 0.01953125; $var24 = !$var23 ? $var28 - 0.3125 : $var28; if (!$var23) var$31 = var$31 - 0.01953125; } var$36 = var$33 + $var18; var$37 = $var3 + $var19; var$38 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$38, $var12, var$31); var$39 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$39, $var12, var$30); var$36 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$39, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$38, $var10, var$31); } if ($var29 == 1) { var$37 = var$33 + $var18; var$38 = $var3 + $var19; var$39 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var12, var$31); var$36 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$36, $var12, var$30); var$37 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$36, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var10, var$31); } if ($var29 == 2) { var$38 = var$33 + $var18; var$39 = $var3 + $var19; var$36 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$36, $var12, var$31); var$37 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$37, $var10, var$31); var$38 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$37, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$36, $var12, var$30); } $var7 = $var8 + 16 | 0; var$36 = $var7 / 256.0; $var10 = ($var7 + 15.989999771118164) / 256.0; $var1 = $this.$blockAccess; $ptr = 24; continue main; case 23: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$24, var$22); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) $var23 = 1; $var25 = $var2 + 0 | 0; $var26 = $var9; $var27 = $var4 + 0 | 0; $var28 = var$22; $var29 = 0; if (!(!$var20 && !$var21) && !$var22 && !$var23) $var29 = 1; if (!(!$var22 && !$var23) && !$var21 && !$var20) $var29 = 2; if (!$var29) { var$30 = $var14; var$31 = $var16; } else { $var7 = $var8 + 16 | 0; $var10 = $var7 / 256.0; $var12 = ($var7 + 15.989999771118164) / 256.0; var$30 = $var14; var$31 = $var16; } if ($var29) { var$32 = $var25; var$33 = $var26; var$34 = $var27; $var24 = $var28; } else { if (!$var21 && !$var22 && !$var23 && !$var20) { var$32 = $var25; var$33 = $var26; var$34 = $var27; $var24 = $var28; } else { var$32 = !$var20 ? $var25 + 0.3125 : $var25; if (!$var20) $var10 = $var10 + 0.01953125; var$33 = !$var21 ? $var26 - 0.3125 : $var26; if (!$var21) $var12 = $var12 - 0.01953125; var$34 = !$var22 ? $var27 + 0.3125 : $var27; if (!$var22) var$30 = var$30 + 0.01953125; $var24 = !$var23 ? $var28 - 0.3125 : $var28; if (!$var23) var$31 = var$31 - 0.01953125; } var$36 = var$33 + $var18; var$37 = $var3 + $var19; var$38 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$38, $var12, var$31); var$39 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$39, $var12, var$30); var$36 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$39, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$36, var$37, var$38, $var10, var$31); } if ($var29 == 1) { var$37 = var$33 + $var18; var$38 = $var3 + $var19; var$39 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var12, var$31); var$36 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$36, $var12, var$30); var$37 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$36, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var10, var$31); } if ($var29 == 2) { var$38 = var$33 + $var18; var$39 = $var3 + $var19; var$36 = $var24 + $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$36, $var12, var$31); var$37 = var$34 - $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$37, $var10, var$31); var$38 = var$32 - $var18; nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$37, $var10, var$30); nms_Tessellator_addVertexWithUV($var5, var$38, var$39, var$36, $var12, var$30); } $var7 = $var8 + 16 | 0; var$36 = $var7 / 256.0; $var10 = ($var7 + 15.989999771118164) / 256.0; $var1 = $this.$blockAccess; $ptr = 24; case 24: $tmp = $var1.$isBlockOpaqueCube($var2, var$24, $var4); if ($rt_suspending()) { break main; } $var20 = $tmp; if ($var20) return 1; $var1 = $this.$blockAccess; $ptr = 25; case 25: $tmp = $var1.$isBlockOpaqueCube($var6, $var3, $var4); if ($rt_suspending()) { break main; } $var20 = $tmp; if (!$var20) { $var1 = $this.$blockAccess; $ptr = 26; continue main; } $var1 = $this.$blockAccess; $ptr = 27; continue main; case 26: $tmp = $var1.$isBlockOpaqueCube($var9, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6) { $var1 = $this.$blockAccess; $ptr = 28; continue main; } $var1 = $this.$blockAccess; $ptr = 29; continue main; case 27: $tmp = $var1.$getBlockId($var6, var$24, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 == nms_Block_redstoneWire.$blockID) { $var12 = $var2 + $var19; var$37 = var$24 + $var18; var$38 = $var28 + $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$37, var$38, $var10, $var14); var$39 = ($var3 + 0 | 0) - $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$39, var$38, var$36, $var14); var$38 = $var27 - $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$39, var$38, var$36, $var16); nms_Tessellator_addVertexWithUV($var5, $var12, var$37, var$38, $var10, $var16); } $var1 = $this.$blockAccess; $ptr = 26; continue main; case 28: $tmp = $var1.$isBlockOpaqueCube($var2, $var3, var$20); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6) { $var1 = $this.$blockAccess; $ptr = 30; continue main; } $var1 = $this.$blockAccess; $ptr = 31; continue main; case 29: $tmp = $var1.$getBlockId($var9, var$24, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 == nms_Block_redstoneWire.$blockID) { $var12 = $var26 - $var19; var$37 = ($var3 + 0 | 0) - $var18; var$38 = $var28 + $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$37, var$38, var$36, $var16); var$39 = var$24 + $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$39, var$38, $var10, $var16); var$38 = $var27 - $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$39, var$38, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var12, var$37, var$38, var$36, $var14); } $var1 = $this.$blockAccess; $ptr = 28; continue main; case 30: $tmp = $var1.$isBlockOpaqueCube($var2, $var3, var$22); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4) return 1; $var1 = $this.$blockAccess; $ptr = 32; continue main; case 31: $tmp = $var1.$getBlockId($var2, var$24, var$20); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 == nms_Block_redstoneWire.$blockID) { $var12 = $var26 + $var18; var$37 = ($var3 + 0 | 0) - $var18; var$38 = $var4 + $var19; nms_Tessellator_addVertexWithUV($var5, $var12, var$37, var$38, var$36, $var16); var$39 = var$24 + $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$39, var$38, $var10, $var16); $var12 = $var25 - $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$39, var$38, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, $var12, var$37, var$38, var$36, $var14); } $var1 = $this.$blockAccess; $ptr = 30; continue main; case 32: $tmp = $var1.$getBlockId($var2, var$24, var$22); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 == nms_Block_redstoneWire.$blockID) { $var12 = $var26 + $var18; var$37 = var$24 + $var18; var$38 = $var28 - $var19; nms_Tessellator_addVertexWithUV($var5, $var12, var$37, var$38, $var10, $var14); var$39 = ($var3 + 0 | 0) - $var18; nms_Tessellator_addVertexWithUV($var5, $var12, var$39, var$38, var$36, $var14); $var14 = $var25 - $var18; nms_Tessellator_addVertexWithUV($var5, $var14, var$39, var$38, var$36, $var16); nms_Tessellator_addVertexWithUV($var5, $var14, var$37, var$38, $var10, $var16); } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var20, $var7, $var8, $var9, $var18, $var10, $var12, $var14, $var16, $var19, var$18, $var21, var$20, $var22, var$22, $var23, var$24, $var25, $var26, $var27, $var28, $var29, var$30, var$31, var$32, var$33, var$34, $var24, var$36, var$37, var$38, var$39, $ptr); } function nms_RenderBlocks_renderBlockMinecartTrack($this, $var1, $var2, $var3, $var4) { var $var5, var$6, $var6, $var7, $var10, $var8, $var9, $var19, $var11, $var13, $var15, $var17, $var20, $var22, $var24, $var25, $var28, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, var$39, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var28 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var19 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var10 = $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: nms_Tessellator_$callClinit(); $var5 = nms_Tessellator_instance; var$6 = $this.$blockAccess; $ptr = 1; case 1: $tmp = var$6.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var1.$getBlockTextureFromSideAndMetadata(0, $var6); $var10 = $this.$overrideBlockTexture; if ($var10 < 0) $var10 = $var7; var$6 = $this.$blockAccess; $ptr = 2; case 2: $tmp = $var1.$getBlockBrightness(var$6, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; nms_Tessellator_setColorOpaque_F($var5, $var8, $var8, $var8); $var9 = ($var10 & 15) << 4; $var10 = $var10 & 240; $var19 = $var9; $var11 = $var19 / 256.0; $var13 = ($var19 + 15.989999771118164) / 256.0; $var19 = $var10; $var15 = $var19 / 256.0; $var17 = ($var19 + 15.989999771118164) / 256.0; $var20 = $var2 + 1 | 0; $var22 = $var2 + 0 | 0; $var24 = $var4 + 0 | 0; $var25 = $var4 + 1 | 0; $var28 = $var3 + 0.0625; if ($var6 != 1 && $var6 != 2 && $var6 != 3 && $var6 != 7) { if ($var6 == 8) { var$22 = $var22; var$23 = $var20; var$24 = $var20; var$25 = $var25; $var19 = $var24; $var8 = $var24; var$26 = $var22; $var20 = var$23; $var22 = var$24; var$27 = $var25; $var24 = $var19; $var25 = $var8; } else if ($var6 != 9) { var$22 = $var20; $var8 = $var22; var$25 = $var24; $var19 = $var25; var$26 = $var20; $var20 = $var8; var$27 = $var24; $var24 = $var19; } else { var$22 = $var20; var$26 = $var22; $var8 = $var20; var$25 = $var25; var$27 = $var24; $var19 = $var24; $var20 = $var22; $var22 = $var8; $var24 = $var25; $var25 = $var19; } } else { var$22 = $var22; var$26 = $var20; var$25 = $var24; var$27 = $var25; } if ($var6 != 2 && $var6 != 4) { if ($var6 != 3 && $var6 != 5) { var$23 = $var28; $var8 = $var28; var$24 = $var28; $var19 = $var28; $var28 = $var8; } else { $var8 = $var28 + 1.0; var$23 = $var8; var$24 = $var28; $var19 = $var28; $var28 = $var8; } } else { $var19 = $var28 + 1.0; var$23 = $var28; var$24 = $var19; } var$28 = var$26; var$29 = var$24; var$30 = var$27; nms_Tessellator_addVertexWithUV($var5, var$28, var$29, var$30, $var13, $var15); var$31 = var$22; var$32 = var$23; var$33 = $var25; nms_Tessellator_addVertexWithUV($var5, var$31, var$32, var$33, $var13, $var17); var$34 = $var22; var$35 = $var28; var$36 = $var24; nms_Tessellator_addVertexWithUV($var5, var$34, var$35, var$36, $var11, $var17); var$37 = $var20; var$38 = $var19; var$39 = var$25; nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var11, $var15); nms_Tessellator_addVertexWithUV($var5, var$37, var$38, var$39, $var11, $var15); nms_Tessellator_addVertexWithUV($var5, var$34, var$35, var$36, $var11, $var17); nms_Tessellator_addVertexWithUV($var5, var$31, var$32, var$33, $var13, $var17); nms_Tessellator_addVertexWithUV($var5, var$28, var$29, var$30, $var13, $var15); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, $var10, $var8, $var9, $var19, $var11, $var13, $var15, $var17, $var20, $var22, $var24, $var25, $var28, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, var$39, $ptr); } function nms_RenderBlocks_renderBlockLadder($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var18, var$8, $var7, $var8, $var9, $var10, $var12, $var14, $var16, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();$var18 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Tessellator_$callClinit(); $var5 = nms_Tessellator_instance; $var6 = $var1.$getBlockTextureFromSide(0); $var18 = $this.$overrideBlockTexture; if ($var18 < 0) $var18 = $var6; var$8 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var1.$getBlockBrightness(var$8, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; nms_Tessellator_setColorOpaque_F($var5, $var7, $var7, $var7); $var8 = ($var18 & 15) << 4; $var9 = $var18 & 240; $var7 = $var8; $var10 = $var7 / 256.0; $var12 = ($var7 + 15.989999771118164) / 256.0; $var7 = $var9; $var14 = $var7 / 256.0; $var16 = ($var7 + 15.989999771118164) / 256.0; $var1 = $this.$blockAccess; $ptr = 2; case 2: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var18 = $tmp; if ($var18 == 5) { var$16 = $var2 + 0.05000000074505806; var$17 = ($var3 + 1 | 0) + 0.0; var$18 = ($var4 + 1 | 0) + 0.0; nms_Tessellator_addVertexWithUV($var5, var$16, var$17, var$18, $var10, $var14); var$19 = ($var3 + 0 | 0) - 0.0; nms_Tessellator_addVertexWithUV($var5, var$16, var$19, var$18, $var10, $var16); var$18 = ($var4 + 0 | 0) - 0.0; nms_Tessellator_addVertexWithUV($var5, var$16, var$19, var$18, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, var$16, var$17, var$18, $var12, $var14); } if ($var18 == 4) { var$19 = ($var2 + 1 | 0) - 0.05000000074505806; var$16 = ($var3 + 0 | 0) - 0.0; var$18 = ($var4 + 1 | 0) + 0.0; nms_Tessellator_addVertexWithUV($var5, var$19, var$16, var$18, $var12, $var16); var$17 = ($var3 + 1 | 0) + 0.0; nms_Tessellator_addVertexWithUV($var5, var$19, var$17, var$18, $var12, $var14); var$18 = ($var4 + 0 | 0) - 0.0; nms_Tessellator_addVertexWithUV($var5, var$19, var$17, var$18, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, var$19, var$16, var$18, $var10, $var16); } if ($var18 == 3) { var$16 = ($var2 + 1 | 0) + 0.0; var$17 = ($var3 + 0 | 0) - 0.0; var$18 = $var4 + 0.05000000074505806; nms_Tessellator_addVertexWithUV($var5, var$16, var$17, var$18, $var12, $var16); var$19 = ($var3 + 1 | 0) + 0.0; nms_Tessellator_addVertexWithUV($var5, var$16, var$19, var$18, $var12, $var14); var$16 = ($var2 + 0 | 0) - 0.0; nms_Tessellator_addVertexWithUV($var5, var$16, var$19, var$18, $var10, $var14); nms_Tessellator_addVertexWithUV($var5, var$16, var$17, var$18, $var10, $var16); } if ($var18 == 2) { var$17 = ($var2 + 1 | 0) + 0.0; var$18 = ($var3 + 1 | 0) + 0.0; var$19 = ($var4 + 1 | 0) - 0.05000000074505806; nms_Tessellator_addVertexWithUV($var5, var$17, var$18, var$19, $var10, $var14); var$16 = ($var3 + 0 | 0) - 0.0; nms_Tessellator_addVertexWithUV($var5, var$17, var$16, var$19, $var10, $var16); var$17 = ($var2 + 0 | 0) - 0.0; nms_Tessellator_addVertexWithUV($var5, var$17, var$16, var$19, $var12, $var16); nms_Tessellator_addVertexWithUV($var5, var$17, var$18, var$19, $var12, $var14); } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var18, var$8, $var7, $var8, $var9, $var10, $var12, $var14, $var16, var$16, var$17, var$18, var$19, $ptr); } function nms_RenderBlocks_renderTorchAtAngle($this, $var1, $var2, $var4, $var6, $var8, $var10) { var $var12, $var13, $var15, $var14, $var19, $var16, $var17, $var18, var$15, $var20, var$17, $var22, $var24, $var26, $var28, $var30, $var32, $var34, var$25, var$26, $var38, var$28, var$29; nms_Tessellator_$callClinit(); $var12 = nms_Tessellator_instance; $var13 = $var1.$getBlockTextureFromSide(0); $var15 = $this.$overrideBlockTexture; if ($var15 < 0) $var15 = $var13; $var14 = ($var15 & 15) << 4; $var15 = $var15 & 240; $var19 = $var14; $var16 = $var19 / 256.0; $var17 = ($var19 + 15.989999771118164) / 256.0; $var19 = $var15; $var18 = $var19 / 256.0; $var19 = ($var19 + 15.989999771118164) / 256.0; var$15 = $var16; $var20 = var$15 + 0.02734375; var$17 = $var18; $var22 = var$17 + 0.0234375; $var24 = var$15 + 0.03515625; $var26 = var$17 + 0.03125; $var2 = $var2 + 0.5; $var6 = $var6 + 0.5; $var28 = $var2 - 0.5; $var30 = $var2 + 0.5; $var32 = $var6 - 0.5; $var34 = $var6 + 0.5; var$25 = $var2 + $var8 * 0.375; var$26 = var$25 - 0.0625; $var38 = $var4 + 0.625; var$28 = $var6 + $var10 * 0.375; var$29 = var$28 - 0.0625; nms_Tessellator_addVertexWithUV($var12, var$26, $var38, var$29, $var20, $var22); var$28 = var$28 + 0.0625; nms_Tessellator_addVertexWithUV($var12, var$26, $var38, var$28, $var20, $var26); var$25 = var$25 + 0.0625; nms_Tessellator_addVertexWithUV($var12, var$25, $var38, var$28, $var24, $var26); nms_Tessellator_addVertexWithUV($var12, var$25, $var38, var$29, $var24, $var22); $var38 = $var2 - 0.0625; var$28 = $var4 + 1.0; nms_Tessellator_addVertexWithUV($var12, $var38, var$28, $var32, var$15, var$17); var$25 = $var38 + $var8; var$26 = $var4 + 0.0; $var4 = $var32 + $var10; var$29 = $var19; nms_Tessellator_addVertexWithUV($var12, var$25, var$26, $var4, var$15, var$29); $var20 = $var34 + $var10; $var22 = $var17; nms_Tessellator_addVertexWithUV($var12, var$25, var$26, $var20, $var22, var$29); nms_Tessellator_addVertexWithUV($var12, $var38, var$28, $var34, $var22, var$17); $var38 = $var2 + 0.0625; nms_Tessellator_addVertexWithUV($var12, $var38, var$28, $var34, var$15, var$17); $var2 = $var2 + $var8 + 0.0625; nms_Tessellator_addVertexWithUV($var12, $var2, var$26, $var20, var$15, var$29); nms_Tessellator_addVertexWithUV($var12, $var2, var$26, $var4, $var22, var$29); nms_Tessellator_addVertexWithUV($var12, $var38, var$28, $var32, $var22, var$17); $var38 = $var6 + 0.0625; nms_Tessellator_addVertexWithUV($var12, $var28, var$28, $var38, var$15, var$17); var$25 = $var28 + $var8; $var2 = $var38 + $var10; nms_Tessellator_addVertexWithUV($var12, var$25, var$26, $var2, var$15, var$29); $var4 = $var30 + $var8; nms_Tessellator_addVertexWithUV($var12, $var4, var$26, $var2, $var22, var$29); nms_Tessellator_addVertexWithUV($var12, $var30, var$28, $var38, $var22, var$17); $var2 = $var6 - 0.0625; nms_Tessellator_addVertexWithUV($var12, $var30, var$28, $var2, var$15, var$17); $var6 = $var2 + $var10; nms_Tessellator_addVertexWithUV($var12, $var4, var$26, $var6, var$15, var$29); nms_Tessellator_addVertexWithUV($var12, var$25, var$26, $var6, $var22, var$29); nms_Tessellator_addVertexWithUV($var12, $var28, var$28, $var2, $var22, var$17); } function nms_RenderBlocks_func_1239_a($this, $var1, $var2, $var3, $var5, $var7) { var $var9, $var10, $var11, $var12, var$10, $var13, $var15, var$13, $var17, $var19, $var21, $var23, $var25, $var27; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var10 = $var1.$getBlockTextureFromSideAndMetadata(0, $var2); $var2 = $this.$overrideBlockTexture; if ($var2 < 0) $var2 = $var10; $var11 = ($var2 & 15) << 4; $var12 = $var2 & 240; var$10 = $var11; $var13 = var$10 / 256.0; $var15 = (var$10 + 15.989999771118164) / 256.0; var$13 = $var12; $var17 = var$13 / 256.0; $var19 = (var$13 + 15.989999771118164) / 256.0; $var3 = $var3 + 0.5; $var21 = $var3 - 0.44999998807907104; $var23 = $var3 + 0.44999998807907104; $var3 = $var7 + 0.5; $var25 = $var3 - 0.44999998807907104; $var27 = $var3 + 0.44999998807907104; $var3 = $var5 + 1.0; nms_Tessellator_addVertexWithUV($var9, $var21, $var3, $var25, $var13, $var17); $var5 = $var5 + 0.0; nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var25, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var27, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, $var3, $var27, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, $var3, $var27, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var27, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var25, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var3, $var25, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var21, $var3, $var27, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var27, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var25, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, $var3, $var25, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, $var3, $var25, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var25, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var27, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var3, $var27, $var15, $var17); } function nms_RenderBlocks_func_1245_b($this, $var1, $var2, $var3, $var5, $var7) { var $var9, $var10, $var11, $var12, var$10, $var13, $var15, var$13, $var17, $var19, $var21, $var23, $var25, $var27, var$20; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var10 = $var1.$getBlockTextureFromSideAndMetadata(0, $var2); $var2 = $this.$overrideBlockTexture; if ($var2 < 0) $var2 = $var10; $var11 = ($var2 & 15) << 4; $var12 = $var2 & 240; var$10 = $var11; $var13 = var$10 / 256.0; $var15 = (var$10 + 15.989999771118164) / 256.0; var$13 = $var12; $var17 = var$13 / 256.0; $var19 = (var$13 + 15.989999771118164) / 256.0; $var3 = $var3 + 0.5; $var21 = $var3 - 0.25; $var23 = $var3 + 0.25; $var7 = $var7 + 0.5; $var25 = $var7 - 0.5; $var27 = $var7 + 0.5; var$20 = $var5 + 1.0; nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var25, $var13, $var17); $var5 = $var5 + 0.0; nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var25, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var27, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var27, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var27, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var27, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var25, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var25, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, var$20, $var27, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var27, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var25, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, var$20, $var25, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, var$20, $var25, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var25, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, $var5, $var27, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var23, var$20, $var27, $var15, $var17); $var21 = $var3 - 0.5; $var3 = $var3 + 0.5; $var23 = $var7 - 0.25; $var7 = $var7 + 0.25; nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var23, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var23, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var3, $var5, $var23, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var3, var$20, $var23, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var3, var$20, $var23, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var3, $var5, $var23, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var23, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var23, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var3, var$20, $var7, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var3, $var5, $var7, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var7, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var7, $var15, $var17); nms_Tessellator_addVertexWithUV($var9, $var21, var$20, $var7, $var13, $var17); nms_Tessellator_addVertexWithUV($var9, $var21, $var5, $var7, $var13, $var19); nms_Tessellator_addVertexWithUV($var9, $var3, $var5, $var7, $var15, $var19); nms_Tessellator_addVertexWithUV($var9, $var3, var$20, $var7, $var15, $var17); } function nms_RenderBlocks_renderBlockFluids($this, $var1, $var2, $var3, $var4) { var $var5, var$6, $var6, $var24, $var7, $var8, $var27, var$12, $var26, var$14, var$15, $var50, $var9, $var10, $var11, $var12, $var13, $var14, $var16, $var18, $var19, $var20, $var21, $var22, $var23, var$30, var$31, $var33, $var33_0, $var34, $var34_0, $var29, $var51, $var25, $var32, $var33_1, $var48, $var36, $var37, $var39, $var47, $var41, $var43, $var45, $var24_0, $var28, $var30, var$52, var$53, var$54, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$54 = $thread.pop();var$53 = $thread.pop();var$52 = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();$var24_0 = $thread.pop();$var45 = $thread.pop();$var43 = $thread.pop();$var41 = $thread.pop();$var47 = $thread.pop();$var39 = $thread.pop();$var37 = $thread.pop();$var36 = $thread.pop();$var48 = $thread.pop();$var33_1 = $thread.pop();$var32 = $thread.pop();$var25 = $thread.pop();$var51 = $thread.pop();$var29 = $thread.pop();$var34_0 = $thread.pop();$var34 = $thread.pop();$var33_0 = $thread.pop();$var33 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var50 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var26 = $thread.pop();var$12 = $thread.pop();$var27 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var24 = $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: nms_Tessellator_$callClinit(); $var5 = nms_Tessellator_instance; var$6 = $this.$blockAccess; $var6 = $var3 + 1 | 0; $var24 = 1; $ptr = 1; case 1: $tmp = $var1.$shouldSideBeRendered(var$6, $var2, $var6, $var4, $var24); if ($rt_suspending()) { break main; } $var6 = $tmp; var$6 = $this.$blockAccess; $var24 = $var3 - 1 | 0; $var7 = 0; $ptr = 2; case 2: $tmp = $var1.$shouldSideBeRendered(var$6, $var2, $var24, $var4, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $var8 = $rt_createBooleanArray(4).data; $var27 = 0; var$6 = $this.$blockAccess; var$12 = $var4 - 1 | 0; $var26 = 2; $ptr = 3; case 3: $tmp = $var1.$shouldSideBeRendered(var$6, $var2, $var3, var$12, $var26); if ($rt_suspending()) { break main; } $var26 = $tmp; $var8[$var27] = $var26; $var26 = 1; var$6 = $this.$blockAccess; var$14 = $var4 + 1 | 0; $var27 = 3; $ptr = 4; case 4: $tmp = $var1.$shouldSideBeRendered(var$6, $var2, $var3, var$14, $var27); if ($rt_suspending()) { break main; } $var27 = $tmp; $var8[$var26] = $var27; $var26 = 2; var$6 = $this.$blockAccess; var$15 = $var2 - 1 | 0; $var27 = 4; $ptr = 5; case 5: $tmp = $var1.$shouldSideBeRendered(var$6, var$15, $var3, $var4, $var27); if ($rt_suspending()) { break main; } $var27 = $tmp; $var8[$var26] = $var27; $var26 = 3; var$6 = $this.$blockAccess; $var50 = $var2 + 1 | 0; $var27 = 5; $ptr = 6; case 6: $tmp = $var1.$shouldSideBeRendered(var$6, $var50, $var3, $var4, $var27); if ($rt_suspending()) { break main; } $var27 = $tmp; $var8[$var26] = $var27; if (!$var6 && !$var7 && !$var8[0] && !$var8[1] && !$var8[2] && !$var8[3]) return 0; $var9 = 0; $var10 = 0.5; $var11 = 1.0; $var12 = 0.800000011920929; $var13 = 0.6000000238418579; $var14 = 0.0; $var16 = 1.0; $var18 = $var1.$blockMaterial; var$6 = $this.$blockAccess; $ptr = 7; case 7: $tmp = var$6.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var19 = $tmp; $ptr = 8; case 8: $tmp = nms_RenderBlocks_func_1224_a($this, $var2, $var3, $var4, $var18); if ($rt_suspending()) { break main; } $var20 = $tmp; $ptr = 9; case 9: $tmp = nms_RenderBlocks_func_1224_a($this, $var2, $var3, var$14, $var18); if ($rt_suspending()) { break main; } $var21 = $tmp; $ptr = 10; case 10: $tmp = nms_RenderBlocks_func_1224_a($this, $var50, $var3, var$14, $var18); if ($rt_suspending()) { break main; } $var22 = $tmp; $ptr = 11; case 11: $tmp = nms_RenderBlocks_func_1224_a($this, $var50, $var3, $var4, $var18); if ($rt_suspending()) { break main; } $var23 = $tmp; if (!$this.$renderAllFaces && !$var6) { if (!$this.$renderAllFaces && !$var7) { $var24 = 0; var$30 = $var3; var$31 = $var3 + 0 | 0; $var33 = $var2; $var33_0 = $var50; $var34 = $var4; $var34_0 = var$14; a: { while ($var24 < 4) { $var6 = !$var24 ? var$12 : $var4; $var26 = $rt_compare($var24, 1); if (!$var26) $var6 = $var6 + 1 | 0; $var27 = $rt_compare($var24, 2); var$14 = !$var27 ? var$15 : $var2; if ($var24 == 3) var$14 = var$14 + 1 | 0; $var50 = $var1.$getBlockTextureFromSideAndMetadata($var24 + 2 | 0, $var19); $var29 = ($var50 & 15) << 4; $var51 = $var50 & 240; if ($this.$renderAllFaces) break a; if ($var8[$var24]) break a; $var24 = $var24 + 1 | 0; } $var1.$minY = $var14; $var1.$maxY = $var16; return $var9; } if (!$var24) { $var25 = $var20; $var32 = $var23; $var33_1 = $var33; $var48 = $var33_0; $var10 = $var34; $var36 = $var34; } else if (!$var26) { $var25 = $var22; $var32 = $var21; $var33_1 = $var33_0; $var48 = $var33; $var10 = $var34_0; $var36 = $var34_0; } else if ($var27) { $var25 = $var23; $var32 = $var22; $var33_1 = $var33_0; $var48 = $var33_0; $var10 = $var34; $var36 = $var34_0; } else { $var25 = $var21; $var32 = $var20; $var33_1 = $var33; $var48 = $var33; $var10 = $var34_0; $var36 = $var34; } $var9 = 1; $var37 = ($var29 + 0 | 0) / 256.0; $var39 = (($var29 + 16 | 0) - 0.01) / 256.0; $var47 = $var51; $var41 = ($var47 + (1.0 - $var25) * 16.0) / 256.0; $var43 = ($var47 + (1.0 - $var32) * 16.0) / 256.0; $var45 = (($var51 + 16 | 0) - 0.01) / 256.0; var$6 = $this.$blockAccess; $ptr = 15; continue main; } var$6 = $this.$blockAccess; $ptr = 13; continue main; } $var9 = 1; $var24_0 = $var1.$getBlockTextureFromSideAndMetadata(1, $var19); var$6 = $this.$blockAccess; $ptr = 12; case 12: $tmp = nms_BlockFluids_func_293_a(var$6, $var2, $var3, $var4, $var18); if ($rt_suspending()) { break main; } $var28 = $tmp; $var25 = $var28; $var6 = $rt_compare($var25, (-999.0)); if ($var6 > 0) $var24_0 = $var1.$getBlockTextureFromSideAndMetadata(2, $var19); $var26 = ($var24_0 & 15) << 4; $var27 = $var24_0 & 240; $var28 = ($var26 + 8.0) / 256.0; $var30 = ($var27 + 8.0) / 256.0; if ($var6 < 0) $var25 = 0.0; else { $var28 = ($var26 + 16 | 0) / 256.0; $var30 = ($var27 + 16 | 0) / 256.0; } $var32 = nms_MathHelper_sin($var25) * 8.0 / 256.0; $var33_1 = nms_MathHelper_cos($var25) * 8.0 / 256.0; var$6 = $this.$blockAccess; $ptr = 14; continue main; case 13: $tmp = $var1.$getBlockBrightness(var$6, $var2, $var24, $var4); if ($rt_suspending()) { break main; } $var48 = $tmp; $var25 = $var10 * $var48; nms_Tessellator_setColorOpaque_F($var5, $var25, $var25, $var25); nms_RenderBlocks_renderBottomFace($this, $var1, $var2, $var3, $var4, $var1.$getBlockTextureFromSide(0)); $var9 = 1; $var24 = 0; var$30 = $var3; var$31 = $var3 + 0 | 0; $var33 = $var2; $var33_0 = $var50; $var34 = $var4; $var34_0 = var$14; b: { while ($var24 < 4) { $var6 = !$var24 ? var$12 : $var4; $var26 = $rt_compare($var24, 1); if (!$var26) $var6 = $var6 + 1 | 0; $var27 = $rt_compare($var24, 2); var$14 = !$var27 ? var$15 : $var2; if ($var24 == 3) var$14 = var$14 + 1 | 0; $var50 = $var1.$getBlockTextureFromSideAndMetadata($var24 + 2 | 0, $var19); $var29 = ($var50 & 15) << 4; $var51 = $var50 & 240; if ($this.$renderAllFaces) break b; if ($var8[$var24]) break b; $var24 = $var24 + 1 | 0; } $var1.$minY = $var14; $var1.$maxY = $var16; return $var9; } if (!$var24) { $var25 = $var20; $var32 = $var23; $var33_1 = $var33; $var48 = $var33_0; $var10 = $var34; $var36 = $var34; } else if (!$var26) { $var25 = $var22; $var32 = $var21; $var33_1 = $var33_0; $var48 = $var33; $var10 = $var34_0; $var36 = $var34_0; } else if ($var27) { $var25 = $var23; $var32 = $var22; $var33_1 = $var33_0; $var48 = $var33_0; $var10 = $var34; $var36 = $var34_0; } else { $var25 = $var21; $var32 = $var20; $var33_1 = $var33; $var48 = $var33; $var10 = $var34_0; $var36 = $var34; } $var9 = 1; $var37 = ($var29 + 0 | 0) / 256.0; $var39 = (($var29 + 16 | 0) - 0.01) / 256.0; $var47 = $var51; $var41 = ($var47 + (1.0 - $var25) * 16.0) / 256.0; $var43 = ($var47 + (1.0 - $var32) * 16.0) / 256.0; $var45 = (($var51 + 16 | 0) - 0.01) / 256.0; var$6 = $this.$blockAccess; $ptr = 15; continue main; case 14: $tmp = $var1.$getBlockBrightness(var$6, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var34 = $tmp; $var25 = $var11 * $var34; nms_Tessellator_setColorOpaque_F($var5, $var25, $var25, $var25); var$52 = $var2 + 0 | 0; $var25 = $var3; $var37 = $var25 + $var20; $var41 = $var4 + 0 | 0; var$53 = $var33_1; var$31 = $var28 - var$53; $var45 = $var32; var$54 = var$31 - $var45; $var39 = $var30 - var$53; nms_Tessellator_addVertexWithUV($var5, var$52, $var37, $var41, var$54, $var39 + $var45); var$54 = $var25 + $var21; $var43 = var$14; var$31 = var$31 + $var45; $var37 = $var30 + var$53; nms_Tessellator_addVertexWithUV($var5, var$52, var$54, $var43, var$31, $var37 + $var45); var$52 = $var50; var$31 = $var25 + $var22; $var28 = $var28 + var$53; nms_Tessellator_addVertexWithUV($var5, var$52, var$31, $var43, $var28 + $var45, $var37 - $var45); nms_Tessellator_addVertexWithUV($var5, var$52, $var25 + $var23, $var41, $var28 - $var45, $var39 - $var45); if (!$this.$renderAllFaces && !$var7) { $var24 = 0; var$30 = $var3; var$31 = $var3 + 0 | 0; $var33 = $var2; $var33_0 = $var50; $var34 = $var4; $var34_0 = var$14; c: { while ($var24 < 4) { $var6 = !$var24 ? var$12 : $var4; $var26 = $rt_compare($var24, 1); if (!$var26) $var6 = $var6 + 1 | 0; $var27 = $rt_compare($var24, 2); var$14 = !$var27 ? var$15 : $var2; if ($var24 == 3) var$14 = var$14 + 1 | 0; $var50 = $var1.$getBlockTextureFromSideAndMetadata($var24 + 2 | 0, $var19); $var29 = ($var50 & 15) << 4; $var51 = $var50 & 240; if ($this.$renderAllFaces) break c; if ($var8[$var24]) break c; $var24 = $var24 + 1 | 0; } $var1.$minY = $var14; $var1.$maxY = $var16; return $var9; } if (!$var24) { $var25 = $var20; $var32 = $var23; $var33_1 = $var33; $var48 = $var33_0; $var10 = $var34; $var36 = $var34; } else if (!$var26) { $var25 = $var22; $var32 = $var21; $var33_1 = $var33_0; $var48 = $var33; $var10 = $var34_0; $var36 = $var34_0; } else if ($var27) { $var25 = $var23; $var32 = $var22; $var33_1 = $var33_0; $var48 = $var33_0; $var10 = $var34; $var36 = $var34_0; } else { $var25 = $var21; $var32 = $var20; $var33_1 = $var33; $var48 = $var33; $var10 = $var34_0; $var36 = $var34; } $var9 = 1; $var37 = ($var29 + 0 | 0) / 256.0; $var39 = (($var29 + 16 | 0) - 0.01) / 256.0; $var47 = $var51; $var41 = ($var47 + (1.0 - $var25) * 16.0) / 256.0; $var43 = ($var47 + (1.0 - $var32) * 16.0) / 256.0; $var45 = (($var51 + 16 | 0) - 0.01) / 256.0; var$6 = $this.$blockAccess; $ptr = 15; continue main; } var$6 = $this.$blockAccess; $ptr = 13; continue main; case 15: $tmp = $var1.$getBlockBrightness(var$6, var$14, $var3, $var6); if ($rt_suspending()) { break main; } $var47 = $tmp; $var47 = $var11 * ($var27 >= 0 ? $var47 * $var13 : $var47 * $var12); nms_Tessellator_setColorOpaque_F($var5, $var47, $var47, $var47); var$54 = $var33_1; $var28 = var$30 + $var25; var$52 = $var10; nms_Tessellator_addVertexWithUV($var5, var$54, $var28, var$52, $var37, $var41); $var28 = $var48; $var41 = var$30 + $var32; var$53 = $var36; nms_Tessellator_addVertexWithUV($var5, $var28, $var41, var$53, $var39, $var43); nms_Tessellator_addVertexWithUV($var5, $var28, var$31, var$53, $var39, $var45); nms_Tessellator_addVertexWithUV($var5, var$54, var$31, var$52, $var37, $var45); c: { while (true) { $var24 = $var24 + 1 | 0; if ($var24 >= 4) break; $var6 = !$var24 ? var$12 : $var4; $var26 = $rt_compare($var24, 1); if (!$var26) $var6 = $var6 + 1 | 0; $var27 = $rt_compare($var24, 2); var$14 = !$var27 ? var$15 : $var2; if ($var24 == 3) var$14 = var$14 + 1 | 0; $var50 = $var1.$getBlockTextureFromSideAndMetadata($var24 + 2 | 0, $var19); $var29 = ($var50 & 15) << 4; $var51 = $var50 & 240; if ($this.$renderAllFaces) break c; if ($var8[$var24]) break c; } $var1.$minY = $var14; $var1.$maxY = $var16; return $var9; } if (!$var24) { $var25 = $var20; $var32 = $var23; $var33_1 = $var33; $var48 = $var33_0; $var10 = $var34; $var36 = $var34; } else if (!$var26) { $var25 = $var22; $var32 = $var21; $var33_1 = $var33_0; $var48 = $var33; $var10 = $var34_0; $var36 = $var34_0; } else if ($var27) { $var25 = $var23; $var32 = $var22; $var33_1 = $var33_0; $var48 = $var33_0; $var10 = $var34; $var36 = $var34_0; } else { $var25 = $var21; $var32 = $var20; $var33_1 = $var33; $var48 = $var33; $var10 = $var34_0; $var36 = $var34; } $var9 = 1; $var37 = ($var29 + 0 | 0) / 256.0; $var39 = (($var29 + 16 | 0) - 0.01) / 256.0; $var47 = $var51; $var41 = ($var47 + (1.0 - $var25) * 16.0) / 256.0; $var43 = ($var47 + (1.0 - $var32) * 16.0) / 256.0; $var45 = (($var51 + 16 | 0) - 0.01) / 256.0; var$6 = $this.$blockAccess; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var24, $var7, $var8, $var27, var$12, $var26, var$14, var$15, $var50, $var9, $var10, $var11, $var12, $var13, $var14, $var16, $var18, $var19, $var20, $var21, $var22, $var23, var$30, var$31, $var33, $var33_0, $var34, $var34_0, $var29, $var51, $var25, $var32, $var33_1, $var48, $var36, $var37, $var39, $var47, $var41, $var43, $var45, $var24_0, $var28, $var30, var$52, var$53, var$54, $ptr); } function nms_RenderBlocks_func_1224_a($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, var$8, $var8, $var10, $var11, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; $var6 = 0.0; $var7 = 0; var$8 = $var2 + 1 | 0; if ($var7 >= 4) return 1.0 - $var6 / $var5; $var8 = $var1 - ($var7 & 1) | 0; $var10 = $var3 - ($var7 >> 1 & 1) | 0; $var11 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var11.$getBlockMaterial($var8, var$8, $var10); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11 === $var4) return 1.0; $var11 = $this.$blockAccess; $ptr = 2; case 2: $tmp = $var11.$getBlockMaterial($var8, $var2, $var10); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11 === $var4) { $var11 = $this.$blockAccess; $ptr = 3; continue main; } if (!$var11.$func_878_a()) { $var6 = $var6 + 1.0; $var5 = $var5 + 1 | 0; } $var7 = $var7 + 1 | 0; if ($var7 >= 4) return 1.0 - $var6 / $var5; $var8 = $var1 - ($var7 & 1) | 0; $var10 = $var3 - ($var7 >> 1 & 1) | 0; $var11 = $this.$blockAccess; $ptr = 1; continue main; case 3: $tmp = $var11.$getBlockMetadata($var8, $var2, $var10); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!($var12 < 8 && $var12)) { $var6 = $var6 + nms_BlockFluids_func_288_b($var12) * 10.0; $var5 = $var5 + 10 | 0; } $var6 = $var6 + nms_BlockFluids_func_288_b($var12); $var5 = $var5 + 1 | 0; $var7 = $var7 + 1 | 0; if ($var7 >= 4) return 1.0 - $var6 / $var5; $var8 = $var1 - ($var7 & 1) | 0; $var10 = $var3 - ($var7 >> 1 & 1) | 0; $var11 = $this.$blockAccess; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var8, $var10, $var11, $var12, $ptr); } function nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4) { var var$5, $var5, $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var1.$colorMultiplier(var$5, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = ($var5 >> 16 & 255) / 255.0; $var7 = ($var5 >> 8 & 255) / 255.0; $var8 = ($var5 & 255) / 255.0; $ptr = 2; case 2: $tmp = nms_RenderBlocks_renderStandardBlockWithColorMultiplier($this, $var1, $var2, $var3, $var4, $var6, $var7, $var8); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var5, $var6, $var7, $var8, $ptr); } function nms_RenderBlocks_renderStandardBlockWithColorMultiplier($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $var9, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var22, $var23, $var24, $var25, var$22, $var26, var$24, var$25, $var27, var$27, var$28, var$29, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var27 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();$var26 = $thread.pop();var$22 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Tessellator_$callClinit(); $var8 = nms_Tessellator_instance; $var9 = 0; $var14 = 1.0 * $var5; $var15 = 1.0 * $var6; $var16 = 1.0 * $var7; nms_Block_$callClinit(); if ($var1 === nms_Block_grass) { $var5 = 1.0; $var7 = $var5; $var6 = $var5; } $var17 = 0.5 * $var5; $var18 = 0.800000011920929 * $var5; $var19 = 0.6000000238418579 * $var5; $var20 = 0.5 * $var6; $var21 = 0.800000011920929 * $var6; $var22 = 0.6000000238418579 * $var6; $var23 = 0.5 * $var7; $var24 = 0.800000011920929 * $var7; $var25 = 0.6000000238418579 * $var7; var$22 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var1.$getBlockBrightness(var$22, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var26 = $tmp; if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var3 - 1 | 0; $ptr = 2; continue main; } var$22 = $this.$blockAccess; var$25 = $var3 - 1 | 0; var$24 = 0; $ptr = 4; continue main; case 2: $tmp = $var1.$getBlockBrightness(var$22, $var2, var$24, $var4); if ($rt_suspending()) { break main; } $var27 = $tmp; nms_Tessellator_setColorOpaque_F($var8, $var17 * $var27, $var20 * $var27, $var23 * $var27); var$27 = $var2; var$28 = $var3; var$29 = $var4; var$22 = $this.$blockAccess; var$24 = 0; $ptr = 3; case 3: $tmp = $var1.$getBlockTexture(var$22, $var2, $var3, $var4, var$24); if ($rt_suspending()) { break main; } var$24 = $tmp; nms_RenderBlocks_renderBottomFace($this, $var1, var$27, var$28, var$29, var$24); $var9 = 1; if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var3 + 1 | 0; $ptr = 5; continue main; } var$22 = $this.$blockAccess; var$24 = $var3 + 1 | 0; var$25 = 1; $ptr = 6; continue main; case 4: $tmp = $var1.$shouldSideBeRendered(var$22, $var2, var$25, $var4, var$24); if ($rt_suspending()) { break main; } var$24 = $tmp; if (var$24) { var$22 = $this.$blockAccess; var$24 = $var3 - 1 | 0; $ptr = 2; continue main; } if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var3 + 1 | 0; $ptr = 5; continue main; } var$22 = $this.$blockAccess; var$24 = $var3 + 1 | 0; var$25 = 1; $ptr = 6; continue main; case 5: $tmp = $var1.$getBlockBrightness(var$22, $var2, var$24, $var4); if ($rt_suspending()) { break main; } $var27 = $tmp; if ($var1.$maxY !== 1.0 && !$var1.$blockMaterial.$getIsLiquid()) $var27 = $var26; nms_Tessellator_setColorOpaque_F($var8, $var14 * $var27, $var15 * $var27, $var16 * $var27); var$27 = $var2; var$28 = $var3; var$29 = $var4; var$22 = $this.$blockAccess; var$24 = 1; $ptr = 7; continue main; case 6: $tmp = $var1.$shouldSideBeRendered(var$22, $var2, var$24, $var4, var$25); if ($rt_suspending()) { break main; } var$24 = $tmp; if (var$24) { var$22 = $this.$blockAccess; var$24 = $var3 + 1 | 0; $ptr = 5; continue main; } if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var4 - 1 | 0; $ptr = 8; continue main; } var$22 = $this.$blockAccess; var$24 = $var4 - 1 | 0; var$25 = 2; $ptr = 9; continue main; case 7: $tmp = $var1.$getBlockTexture(var$22, $var2, $var3, $var4, var$24); if ($rt_suspending()) { break main; } var$24 = $tmp; nms_RenderBlocks_renderTopFace($this, $var1, var$27, var$28, var$29, var$24); $var9 = 1; if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var4 - 1 | 0; $ptr = 8; continue main; } var$22 = $this.$blockAccess; var$24 = $var4 - 1 | 0; var$25 = 2; $ptr = 9; continue main; case 8: $tmp = $var1.$getBlockBrightness(var$22, $var2, $var3, var$24); if ($rt_suspending()) { break main; } $var27 = $tmp; if ($var1.$minZ > 0.0) $var27 = $var26; nms_Tessellator_setColorOpaque_F($var8, $var18 * $var27, $var21 * $var27, $var24 * $var27); var$27 = $var2; var$28 = $var3; var$29 = $var4; var$22 = $this.$blockAccess; var$24 = 2; $ptr = 10; continue main; case 9: $tmp = $var1.$shouldSideBeRendered(var$22, $var2, $var3, var$24, var$25); if ($rt_suspending()) { break main; } var$24 = $tmp; if (var$24) { var$22 = $this.$blockAccess; var$24 = $var4 - 1 | 0; $ptr = 8; continue main; } if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var4 + 1 | 0; $ptr = 11; continue main; } var$22 = $this.$blockAccess; var$24 = $var4 + 1 | 0; var$25 = 3; $ptr = 12; continue main; case 10: $tmp = $var1.$getBlockTexture(var$22, $var2, $var3, $var4, var$24); if ($rt_suspending()) { break main; } var$24 = $tmp; nms_RenderBlocks_renderEastFace($this, $var1, var$27, var$28, var$29, var$24); $var9 = 1; if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var4 + 1 | 0; $ptr = 11; continue main; } var$22 = $this.$blockAccess; var$24 = $var4 + 1 | 0; var$25 = 3; $ptr = 12; continue main; case 11: $tmp = $var1.$getBlockBrightness(var$22, $var2, $var3, var$24); if ($rt_suspending()) { break main; } $var27 = $tmp; if ($var1.$maxZ < 1.0) $var27 = $var26; nms_Tessellator_setColorOpaque_F($var8, $var18 * $var27, $var21 * $var27, $var24 * $var27); var$27 = $var2; var$28 = $var3; var$29 = $var4; var$22 = $this.$blockAccess; var$24 = 3; $ptr = 13; continue main; case 12: $tmp = $var1.$shouldSideBeRendered(var$22, $var2, $var3, var$24, var$25); if ($rt_suspending()) { break main; } var$24 = $tmp; if (var$24) { var$22 = $this.$blockAccess; var$24 = $var4 + 1 | 0; $ptr = 11; continue main; } if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var2 - 1 | 0; $ptr = 14; continue main; } var$22 = $this.$blockAccess; var$24 = $var2 - 1 | 0; var$25 = 4; $ptr = 15; continue main; case 13: $tmp = $var1.$getBlockTexture(var$22, $var2, $var3, $var4, var$24); if ($rt_suspending()) { break main; } var$24 = $tmp; nms_RenderBlocks_renderWestFace($this, $var1, var$27, var$28, var$29, var$24); $var9 = 1; if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var2 - 1 | 0; $ptr = 14; continue main; } var$22 = $this.$blockAccess; var$24 = $var2 - 1 | 0; var$25 = 4; $ptr = 15; continue main; case 14: $tmp = $var1.$getBlockBrightness(var$22, var$24, $var3, $var4); if ($rt_suspending()) { break main; } $var27 = $tmp; if ($var1.$field_370_bf > 0.0) $var27 = $var26; nms_Tessellator_setColorOpaque_F($var8, $var19 * $var27, $var22 * $var27, $var25 * $var27); var$27 = $var2; var$28 = $var3; var$29 = $var4; var$22 = $this.$blockAccess; var$24 = 4; $ptr = 16; continue main; case 15: $tmp = $var1.$shouldSideBeRendered(var$22, var$24, $var3, $var4, var$25); if ($rt_suspending()) { break main; } var$24 = $tmp; if (var$24) { var$22 = $this.$blockAccess; var$24 = $var2 - 1 | 0; $ptr = 14; continue main; } if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var2 + 1 | 0; $ptr = 17; continue main; } var$22 = $this.$blockAccess; var$24 = $var2 + 1 | 0; var$25 = 5; $ptr = 18; continue main; case 16: $tmp = $var1.$getBlockTexture(var$22, $var2, $var3, $var4, var$24); if ($rt_suspending()) { break main; } var$24 = $tmp; nms_RenderBlocks_renderNorthFace($this, $var1, var$27, var$28, var$29, var$24); $var9 = 1; if ($this.$renderAllFaces) { var$22 = $this.$blockAccess; var$24 = $var2 + 1 | 0; $ptr = 17; continue main; } var$22 = $this.$blockAccess; var$24 = $var2 + 1 | 0; var$25 = 5; $ptr = 18; continue main; case 17: $tmp = $var1.$getBlockBrightness(var$22, var$24, $var3, $var4); if ($rt_suspending()) { break main; } $var27 = $tmp; if ($var1.$maxX >= 1.0) $var26 = $var27; nms_Tessellator_setColorOpaque_F($var8, $var19 * $var26, $var22 * $var26, $var25 * $var26); var$27 = $var2; var$28 = $var3; var$29 = $var4; $var8 = $this.$blockAccess; var$24 = 5; $ptr = 19; continue main; case 18: $tmp = $var1.$shouldSideBeRendered(var$22, var$24, $var3, $var4, var$25); if ($rt_suspending()) { break main; } var$24 = $tmp; if (!var$24) return $var9; var$22 = $this.$blockAccess; var$24 = $var2 + 1 | 0; $ptr = 17; continue main; case 19: $tmp = $var1.$getBlockTexture($var8, $var2, $var3, $var4, var$24); if ($rt_suspending()) { break main; } $var2 = $tmp; nms_RenderBlocks_renderSouthFace($this, $var1, var$27, var$28, var$29, $var2); $var9 = 1; return $var9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var22, $var23, $var24, $var25, var$22, $var26, var$24, var$25, $var27, var$27, var$28, var$29, $ptr); } function nms_RenderBlocks_func_1230_b($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $var9, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var22, $var23, $var24, $var25, $var26, var$23, $var27, var$25, var$26, $var28, var$28, var$29, var$30, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();$var28 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var27 = $thread.pop();var$23 = $thread.pop();$var26 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Tessellator_$callClinit(); $var8 = nms_Tessellator_instance; $var9 = 0; $var14 = 0.5 * $var5; $var15 = 1.0 * $var5; $var16 = 0.800000011920929 * $var5; $var17 = 0.6000000238418579 * $var5; $var18 = 0.5 * $var6; $var19 = 1.0 * $var6; $var20 = 0.800000011920929 * $var6; $var21 = 0.6000000238418579 * $var6; $var22 = 0.5 * $var7; $var23 = 1.0 * $var7; $var24 = 0.800000011920929 * $var7; $var25 = 0.6000000238418579 * $var7; $var26 = 0.0625; var$23 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var1.$getBlockBrightness(var$23, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var27 = $tmp; if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var3 - 1 | 0; $ptr = 2; continue main; } var$23 = $this.$blockAccess; var$25 = $var3 - 1 | 0; var$26 = 0; $ptr = 4; continue main; case 2: $tmp = $var1.$getBlockBrightness(var$23, $var2, var$25, $var4); if ($rt_suspending()) { break main; } $var28 = $tmp; nms_Tessellator_setColorOpaque_F($var8, $var14 * $var28, $var18 * $var28, $var22 * $var28); var$28 = $var2; var$29 = $var3; var$30 = $var4; var$23 = $this.$blockAccess; var$25 = 0; $ptr = 3; case 3: $tmp = $var1.$getBlockTexture(var$23, $var2, $var3, $var4, var$25); if ($rt_suspending()) { break main; } var$25 = $tmp; nms_RenderBlocks_renderBottomFace($this, $var1, var$28, var$29, var$30, var$25); $var9 = 1; if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var3 + 1 | 0; $ptr = 5; continue main; } var$23 = $this.$blockAccess; var$25 = $var3 + 1 | 0; var$26 = 1; $ptr = 6; continue main; case 4: $tmp = $var1.$shouldSideBeRendered(var$23, $var2, var$25, $var4, var$26); if ($rt_suspending()) { break main; } var$25 = $tmp; if (var$25) { var$23 = $this.$blockAccess; var$25 = $var3 - 1 | 0; $ptr = 2; continue main; } if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var3 + 1 | 0; $ptr = 5; continue main; } var$23 = $this.$blockAccess; var$25 = $var3 + 1 | 0; var$26 = 1; $ptr = 6; continue main; case 5: $tmp = $var1.$getBlockBrightness(var$23, $var2, var$25, $var4); if ($rt_suspending()) { break main; } $var28 = $tmp; if ($var1.$maxY !== 1.0 && !$var1.$blockMaterial.$getIsLiquid()) $var28 = $var27; nms_Tessellator_setColorOpaque_F($var8, $var15 * $var28, $var19 * $var28, $var23 * $var28); var$30 = $var2; var$28 = $var3; var$29 = $var4; var$23 = $this.$blockAccess; var$25 = 1; $ptr = 7; continue main; case 6: $tmp = $var1.$shouldSideBeRendered(var$23, $var2, var$25, $var4, var$26); if ($rt_suspending()) { break main; } var$25 = $tmp; if (var$25) { var$23 = $this.$blockAccess; var$25 = $var3 + 1 | 0; $ptr = 5; continue main; } if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var4 - 1 | 0; $ptr = 8; continue main; } var$23 = $this.$blockAccess; var$25 = $var4 - 1 | 0; var$26 = 2; $ptr = 9; continue main; case 7: $tmp = $var1.$getBlockTexture(var$23, $var2, $var3, $var4, var$25); if ($rt_suspending()) { break main; } var$25 = $tmp; nms_RenderBlocks_renderTopFace($this, $var1, var$30, var$28, var$29, var$25); $var9 = 1; if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var4 - 1 | 0; $ptr = 8; continue main; } var$23 = $this.$blockAccess; var$25 = $var4 - 1 | 0; var$26 = 2; $ptr = 9; continue main; case 8: $tmp = $var1.$getBlockBrightness(var$23, $var2, $var3, var$25); if ($rt_suspending()) { break main; } $var28 = $tmp; if ($var1.$minZ > 0.0) $var28 = $var27; nms_Tessellator_setColorOpaque_F($var8, $var16 * $var28, $var20 * $var28, $var24 * $var28); nms_Tessellator_setTranslationF($var8, 0.0, 0.0, $var26); var$30 = $var2; var$28 = $var3; var$29 = $var4; var$23 = $this.$blockAccess; var$25 = 2; $ptr = 10; continue main; case 9: $tmp = $var1.$shouldSideBeRendered(var$23, $var2, $var3, var$25, var$26); if ($rt_suspending()) { break main; } var$25 = $tmp; if (var$25) { var$23 = $this.$blockAccess; var$25 = $var4 - 1 | 0; $ptr = 8; continue main; } if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var4 + 1 | 0; $ptr = 11; continue main; } var$23 = $this.$blockAccess; var$25 = $var4 + 1 | 0; var$26 = 3; $ptr = 12; continue main; case 10: $tmp = $var1.$getBlockTexture(var$23, $var2, $var3, $var4, var$25); if ($rt_suspending()) { break main; } var$25 = $tmp; nms_RenderBlocks_renderEastFace($this, $var1, var$30, var$28, var$29, var$25); nms_Tessellator_setTranslationF($var8, 0.0, 0.0, (-0.0625)); $var9 = 1; if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var4 + 1 | 0; $ptr = 11; continue main; } var$23 = $this.$blockAccess; var$25 = $var4 + 1 | 0; var$26 = 3; $ptr = 12; continue main; case 11: $tmp = $var1.$getBlockBrightness(var$23, $var2, $var3, var$25); if ($rt_suspending()) { break main; } $var28 = $tmp; if ($var1.$maxZ < 1.0) $var28 = $var27; nms_Tessellator_setColorOpaque_F($var8, $var16 * $var28, $var20 * $var28, $var24 * $var28); nms_Tessellator_setTranslationF($var8, 0.0, 0.0, (-0.0625)); var$30 = $var2; var$28 = $var3; var$29 = $var4; var$23 = $this.$blockAccess; var$25 = 3; $ptr = 13; continue main; case 12: $tmp = $var1.$shouldSideBeRendered(var$23, $var2, $var3, var$25, var$26); if ($rt_suspending()) { break main; } var$25 = $tmp; if (var$25) { var$23 = $this.$blockAccess; var$25 = $var4 + 1 | 0; $ptr = 11; continue main; } if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var2 - 1 | 0; $ptr = 14; continue main; } var$23 = $this.$blockAccess; var$25 = $var2 - 1 | 0; var$26 = 4; $ptr = 15; continue main; case 13: $tmp = $var1.$getBlockTexture(var$23, $var2, $var3, $var4, var$25); if ($rt_suspending()) { break main; } var$25 = $tmp; nms_RenderBlocks_renderWestFace($this, $var1, var$30, var$28, var$29, var$25); nms_Tessellator_setTranslationF($var8, 0.0, 0.0, $var26); $var9 = 1; if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var2 - 1 | 0; $ptr = 14; continue main; } var$23 = $this.$blockAccess; var$25 = $var2 - 1 | 0; var$26 = 4; $ptr = 15; continue main; case 14: $tmp = $var1.$getBlockBrightness(var$23, var$25, $var3, $var4); if ($rt_suspending()) { break main; } $var28 = $tmp; if ($var1.$field_370_bf > 0.0) $var28 = $var27; nms_Tessellator_setColorOpaque_F($var8, $var17 * $var28, $var21 * $var28, $var25 * $var28); nms_Tessellator_setTranslationF($var8, $var26, 0.0, 0.0); var$30 = $var2; var$28 = $var3; var$29 = $var4; var$23 = $this.$blockAccess; var$25 = 4; $ptr = 16; continue main; case 15: $tmp = $var1.$shouldSideBeRendered(var$23, var$25, $var3, $var4, var$26); if ($rt_suspending()) { break main; } var$25 = $tmp; if (var$25) { var$23 = $this.$blockAccess; var$25 = $var2 - 1 | 0; $ptr = 14; continue main; } if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var2 + 1 | 0; $ptr = 17; continue main; } var$23 = $this.$blockAccess; var$25 = $var2 + 1 | 0; var$26 = 5; $ptr = 18; continue main; case 16: $tmp = $var1.$getBlockTexture(var$23, $var2, $var3, $var4, var$25); if ($rt_suspending()) { break main; } var$25 = $tmp; nms_RenderBlocks_renderNorthFace($this, $var1, var$30, var$28, var$29, var$25); nms_Tessellator_setTranslationF($var8, (-0.0625), 0.0, 0.0); $var9 = 1; if ($this.$renderAllFaces) { var$23 = $this.$blockAccess; var$25 = $var2 + 1 | 0; $ptr = 17; continue main; } var$23 = $this.$blockAccess; var$25 = $var2 + 1 | 0; var$26 = 5; $ptr = 18; continue main; case 17: $tmp = $var1.$getBlockBrightness(var$23, var$25, $var3, $var4); if ($rt_suspending()) { break main; } $var28 = $tmp; if ($var1.$maxX >= 1.0) $var27 = $var28; nms_Tessellator_setColorOpaque_F($var8, $var17 * $var27, $var21 * $var27, $var25 * $var27); nms_Tessellator_setTranslationF($var8, (-0.0625), 0.0, 0.0); var$30 = $var2; var$28 = $var3; var$29 = $var4; var$23 = $this.$blockAccess; var$25 = 5; $ptr = 19; continue main; case 18: $tmp = $var1.$shouldSideBeRendered(var$23, var$25, $var3, $var4, var$26); if ($rt_suspending()) { break main; } var$25 = $tmp; if (!var$25) return $var9; var$23 = $this.$blockAccess; var$25 = $var2 + 1 | 0; $ptr = 17; continue main; case 19: $tmp = $var1.$getBlockTexture(var$23, $var2, $var3, $var4, var$25); if ($rt_suspending()) { break main; } $var2 = $tmp; nms_RenderBlocks_renderSouthFace($this, $var1, var$30, var$28, var$29, $var2); nms_Tessellator_setTranslationF($var8, $var26, 0.0, 0.0); $var9 = 1; return $var9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var22, $var23, $var24, $var25, $var26, var$23, $var27, var$25, var$26, $var28, var$28, var$29, var$30, $ptr); } function nms_RenderBlocks_renderBlockFence($this, $var1, $var2, $var3, $var4) { var $var5, $var8, $var9, var$8, $var11, $var12, $var13, $var10, $var6, $var7, $var14, $var15, $var16, $var17, $var18, $var19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var10 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();$var8 = $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 = 0; nms_Block_setBlockBounds($var1, 0.375, 0.0, 0.375, 0.625, 1.0, 0.625); $ptr = 1; case 1: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = 0; $var9 = 0; var$8 = $this.$blockAccess; $var11 = $var2 - 1 | 0; $ptr = 2; case 2: $tmp = var$8.$getBlockId($var11, $var3, $var4); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 != $var1.$blockID) { var$8 = $this.$blockAccess; $var12 = $var2 + 1 | 0; $ptr = 3; continue main; } $var8 = 1; var$8 = $this.$blockAccess; $var12 = $var4 - 1 | 0; $ptr = 4; continue main; case 3: $tmp = var$8.$getBlockId($var12, $var3, $var4); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 == $var1.$blockID) $var8 = 1; var$8 = $this.$blockAccess; $var12 = $var4 - 1 | 0; $ptr = 4; case 4: $tmp = var$8.$getBlockId($var2, $var3, $var12); if ($rt_suspending()) { break main; } $var13 = $tmp; if ($var13 == $var1.$blockID) { $var9 = 1; var$8 = $this.$blockAccess; $ptr = 6; continue main; } var$8 = $this.$blockAccess; $var13 = $var4 + 1 | 0; $ptr = 5; case 5: $tmp = var$8.$getBlockId($var2, $var3, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; if ($var13 == $var1.$blockID) $var9 = 1; var$8 = $this.$blockAccess; $ptr = 6; case 6: $tmp = var$8.$getBlockId($var11, $var3, $var4); if ($rt_suspending()) { break main; } $var11 = $tmp; $var10 = $var11 != $var1.$blockID ? 0 : 1; var$8 = $this.$blockAccess; $var11 = $var2 + 1 | 0; $ptr = 7; case 7: $tmp = var$8.$getBlockId($var11, $var3, $var4); if ($rt_suspending()) { break main; } $var11 = $tmp; $var11 = $var11 != $var1.$blockID ? 0 : 1; var$8 = $this.$blockAccess; $ptr = 8; case 8: $tmp = var$8.$getBlockId($var2, $var3, $var12); if ($rt_suspending()) { break main; } $var12 = $tmp; $var12 = $var12 != $var1.$blockID ? 0 : 1; var$8 = $this.$blockAccess; $var13 = $var4 + 1 | 0; $ptr = 9; case 9: $tmp = var$8.$getBlockId($var2, $var3, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $var13 = $var13 != $var1.$blockID ? 0 : 1; if (!$var8 && !$var9) $var8 = 1; $var6 = 0.4375; $var7 = 0.5625; $var14 = 0.75; $var15 = 0.9375; $var16 = !$var10 ? $var6 : 0.0; $var17 = !$var11 ? $var7 : 1.0; $var18 = !$var12 ? $var6 : 0.0; $var19 = !$var13 ? $var7 : 1.0; if ($var8) { nms_Block_setBlockBounds($var1, $var16, $var14, $var6, $var17, $var15, $var7); $ptr = 10; continue main; } if ($var9) { nms_Block_setBlockBounds($var1, $var6, $var14, $var18, $var7, $var15, $var19); $ptr = 11; continue main; } $var15 = 0.375; $var14 = 0.5625; if ($var8) { nms_Block_setBlockBounds($var1, $var16, $var15, $var6, $var17, $var14, $var7); $ptr = 12; continue main; } if (!$var9) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return $var5; } nms_Block_setBlockBounds($var1, $var6, $var15, $var18, $var7, $var14, $var19); $ptr = 13; continue main; case 10: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } if ($var9) { nms_Block_setBlockBounds($var1, $var6, $var14, $var18, $var7, $var15, $var19); $ptr = 11; continue main; } $var15 = 0.375; $var14 = 0.5625; if ($var8) { nms_Block_setBlockBounds($var1, $var16, $var15, $var6, $var17, $var14, $var7); $ptr = 12; continue main; } if (!$var9) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return $var5; } nms_Block_setBlockBounds($var1, $var6, $var15, $var18, $var7, $var14, $var19); $ptr = 13; continue main; case 11: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var15 = 0.375; $var14 = 0.5625; if ($var8) { nms_Block_setBlockBounds($var1, $var16, $var15, $var6, $var17, $var14, $var7); $ptr = 12; continue main; } if (!$var9) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return $var5; } nms_Block_setBlockBounds($var1, $var6, $var15, $var18, $var7, $var14, $var19); $ptr = 13; continue main; case 12: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } if (!$var9) { nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return $var5; } nms_Block_setBlockBounds($var1, $var6, $var15, $var18, $var7, $var14, $var19); $ptr = 13; case 13: nms_RenderBlocks_renderStandardBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var8, $var9, var$8, $var11, $var12, $var13, $var10, $var6, $var7, $var14, $var15, $var16, $var17, $var18, $var19, $ptr); } function nms_RenderBlocks_renderBlockDoor($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var8, $var9, $var10, $var11, var$11, $var12, var$13, $var13, var$15, var$16, var$17, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var13 = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Tessellator_$callClinit(); $var5 = nms_Tessellator_instance; $var6 = $var1; $var8 = 0.5; $var9 = 1.0; $var10 = 0.800000011920929; $var11 = 0.6000000238418579; var$11 = $this.$blockAccess; $ptr = 1; case 1: $tmp = $var1.$getBlockBrightness(var$11, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var12 = $tmp; var$11 = $this.$blockAccess; var$13 = $var3 - 1 | 0; $ptr = 2; case 2: $tmp = $var1.$getBlockBrightness(var$11, $var2, var$13, $var4); if ($rt_suspending()) { break main; } $var13 = $tmp; if ($var6.$minY > 0.0) $var13 = $var12; if (nms_Block_lightValue.data[$var1.$blockID] > 0) $var13 = 1.0; $var8 = $var8 * $var13; nms_Tessellator_setColorOpaque_F($var5, $var8, $var8, $var8); var$15 = $var2; var$16 = $var3; var$17 = $var4; var$11 = $this.$blockAccess; var$13 = 0; $ptr = 3; case 3: $tmp = $var1.$getBlockTexture(var$11, $var2, $var3, $var4, var$13); if ($rt_suspending()) { break main; } var$13 = $tmp; nms_RenderBlocks_renderBottomFace($this, $var1, var$15, var$16, var$17, var$13); var$11 = $this.$blockAccess; var$13 = $var3 + 1 | 0; $ptr = 4; case 4: $tmp = $var1.$getBlockBrightness(var$11, $var2, var$13, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var6.$maxY < 1.0) $var8 = $var12; if (nms_Block_lightValue.data[$var1.$blockID] > 0) $var8 = 1.0; $var9 = $var9 * $var8; nms_Tessellator_setColorOpaque_F($var5, $var9, $var9, $var9); var$11 = $this.$blockAccess; var$13 = 1; $ptr = 5; case 5: $tmp = $var1.$getBlockTexture(var$11, $var2, $var3, $var4, var$13); if ($rt_suspending()) { break main; } var$13 = $tmp; nms_RenderBlocks_renderTopFace($this, $var1, var$15, var$16, var$17, var$13); var$11 = $this.$blockAccess; var$13 = $var4 - 1 | 0; $ptr = 6; case 6: $tmp = $var1.$getBlockBrightness(var$11, $var2, $var3, var$13); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var6.$minZ > 0.0) $var9 = $var12; if (nms_Block_lightValue.data[$var1.$blockID] > 0) $var9 = 1.0; $var9 = $var10 * $var9; nms_Tessellator_setColorOpaque_F($var5, $var9, $var9, $var9); var$11 = $this.$blockAccess; var$13 = 2; $ptr = 7; case 7: $tmp = $var1.$getBlockTexture(var$11, $var2, $var3, $var4, var$13); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 < 0) { $this.$flipTexture = 1; $var14 = -$var14 | 0; } nms_RenderBlocks_renderEastFace($this, $var1, var$15, var$16, var$17, $var14); $this.$flipTexture = 0; var$11 = $this.$blockAccess; var$13 = $var4 + 1 | 0; $ptr = 8; case 8: $tmp = $var1.$getBlockBrightness(var$11, $var2, $var3, var$13); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var6.$maxZ < 1.0) $var9 = $var12; if (nms_Block_lightValue.data[$var1.$blockID] > 0) $var9 = 1.0; $var9 = $var10 * $var9; nms_Tessellator_setColorOpaque_F($var5, $var9, $var9, $var9); var$11 = $this.$blockAccess; var$13 = 3; $ptr = 9; case 9: $tmp = $var1.$getBlockTexture(var$11, $var2, $var3, $var4, var$13); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 < 0) { $this.$flipTexture = 1; $var14 = -$var14 | 0; } nms_RenderBlocks_renderWestFace($this, $var1, var$15, var$16, var$17, $var14); $this.$flipTexture = 0; var$11 = $this.$blockAccess; var$13 = $var2 - 1 | 0; $ptr = 10; case 10: $tmp = $var1.$getBlockBrightness(var$11, var$13, $var3, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var6.$field_370_bf > 0.0) $var9 = $var12; if (nms_Block_lightValue.data[$var1.$blockID] > 0) $var9 = 1.0; $var9 = $var11 * $var9; nms_Tessellator_setColorOpaque_F($var5, $var9, $var9, $var9); var$11 = $this.$blockAccess; var$13 = 4; $ptr = 11; case 11: $tmp = $var1.$getBlockTexture(var$11, $var2, $var3, $var4, var$13); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 < 0) { $this.$flipTexture = 1; $var14 = -$var14 | 0; } nms_RenderBlocks_renderNorthFace($this, $var1, var$15, var$16, var$17, $var14); $this.$flipTexture = 0; var$11 = $this.$blockAccess; var$13 = $var2 + 1 | 0; $ptr = 12; case 12: $tmp = $var1.$getBlockBrightness(var$11, var$13, $var3, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var6.$maxX >= 1.0) $var12 = $var9; if (nms_Block_lightValue.data[$var1.$blockID] > 0) $var12 = 1.0; $var9 = $var11 * $var12; nms_Tessellator_setColorOpaque_F($var5, $var9, $var9, $var9); var$11 = $this.$blockAccess; var$13 = 5; $ptr = 13; case 13: $tmp = $var1.$getBlockTexture(var$11, $var2, $var3, $var4, var$13); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 < 0) { $this.$flipTexture = 1; $var2 = -$var2 | 0; } nms_RenderBlocks_renderSouthFace($this, $var1, var$15, var$16, var$17, $var2); $this.$flipTexture = 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var8, $var9, $var10, $var11, var$11, $var12, var$13, $var13, var$15, var$16, var$17, $var14, $ptr); } function nms_RenderBlocks_renderBottomFace($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var11, $var10, $var16, $var20, $var12, $var22, $var14, $var24, $var26, $var28, $var18, var$18; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var11 = $this.$overrideBlockTexture; if ($var11 < 0) $var11 = $var8; $var10 = ($var11 & 15) << 4; $var11 = $var11 & 240; $var16 = $var10; $var20 = $var1.$field_370_bf; $var12 = ($var16 + $var20 * 16.0) / 256.0; $var22 = $var1.$maxX; $var14 = ($var16 + $var22 * 16.0 - 0.01) / 256.0; $var24 = $var11; $var26 = $var1.$minZ; $var16 = ($var24 + $var26 * 16.0) / 256.0; $var28 = $var1.$maxZ; $var18 = ($var24 + $var28 * 16.0 - 0.01) / 256.0; if (!($var20 >= 0.0 && $var22 <= 1.0)) { var$18 = $var10; $var12 = (var$18 + 0.0) / 256.0; $var14 = (var$18 + 15.989999771118164) / 256.0; } if (!($var26 >= 0.0 && $var28 <= 1.0)) { var$18 = $var11; $var16 = (var$18 + 0.0) / 256.0; $var18 = (var$18 + 15.989999771118164) / 256.0; } $var20 = $var2 + $var20; $var22 = $var2 + $var22; $var24 = $var4 + $var1.$minY; $var26 = $var6 + $var26; $var28 = $var6 + $var28; nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var28, $var12, $var18); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var26, $var12, $var16); nms_Tessellator_addVertexWithUV($var9, $var22, $var24, $var26, $var14, $var16); nms_Tessellator_addVertexWithUV($var9, $var22, $var24, $var28, $var14, $var18); } function nms_RenderBlocks_renderTopFace($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var11, $var10, $var16, $var20, $var12, $var22, $var14, $var24, $var26, $var28, $var18, var$18; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var11 = $this.$overrideBlockTexture; if ($var11 < 0) $var11 = $var8; $var10 = ($var11 & 15) << 4; $var11 = $var11 & 240; $var16 = $var10; $var20 = $var1.$field_370_bf; $var12 = ($var16 + $var20 * 16.0) / 256.0; $var22 = $var1.$maxX; $var14 = ($var16 + $var22 * 16.0 - 0.01) / 256.0; $var24 = $var11; $var26 = $var1.$minZ; $var16 = ($var24 + $var26 * 16.0) / 256.0; $var28 = $var1.$maxZ; $var18 = ($var24 + $var28 * 16.0 - 0.01) / 256.0; if (!($var20 >= 0.0 && $var22 <= 1.0)) { var$18 = $var10; $var12 = (var$18 + 0.0) / 256.0; $var14 = (var$18 + 15.989999771118164) / 256.0; } if (!($var26 >= 0.0 && $var28 <= 1.0)) { var$18 = $var11; $var16 = (var$18 + 0.0) / 256.0; $var18 = (var$18 + 15.989999771118164) / 256.0; } $var20 = $var2 + $var20; $var22 = $var2 + $var22; $var24 = $var4 + $var1.$maxY; $var26 = $var6 + $var26; $var28 = $var6 + $var28; nms_Tessellator_addVertexWithUV($var9, $var22, $var24, $var28, $var14, $var18); nms_Tessellator_addVertexWithUV($var9, $var22, $var24, $var26, $var14, $var16); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var26, $var12, $var16); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var28, $var12, $var18); } function nms_RenderBlocks_renderEastFace($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var11, $var10, $var26, $var28, $var12, $var22, $var14, $var20, $var24, $var16, $var18, var$18; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var11 = $this.$overrideBlockTexture; if ($var11 < 0) $var11 = $var8; $var10 = ($var11 & 15) << 4; $var11 = $var11 & 240; $var26 = $var10; $var28 = $var1.$field_370_bf; $var12 = ($var26 + $var28 * 16.0) / 256.0; $var22 = $var1.$maxX; $var14 = ($var26 + $var22 * 16.0 - 0.01) / 256.0; $var20 = $var11; $var24 = $var1.$minY; $var16 = ($var20 + $var24 * 16.0) / 256.0; $var26 = $var1.$maxY; $var18 = ($var20 + $var26 * 16.0 - 0.01) / 256.0; if (!$this.$flipTexture) { $var20 = $var14; $var14 = $var12; $var12 = $var20; } if (!($var28 >= 0.0 && $var22 <= 1.0)) { var$18 = $var10; $var14 = (var$18 + 0.0) / 256.0; $var12 = (var$18 + 15.989999771118164) / 256.0; } if (!($var24 >= 0.0 && $var26 <= 1.0)) { var$18 = $var11; $var16 = (var$18 + 0.0) / 256.0; $var18 = (var$18 + 15.989999771118164) / 256.0; } $var20 = $var2 + $var28; $var22 = $var2 + $var22; $var24 = $var4 + $var24; $var26 = $var4 + $var26; $var28 = $var6 + $var1.$minZ; nms_Tessellator_addVertexWithUV($var9, $var20, $var26, $var28, $var12, $var16); nms_Tessellator_addVertexWithUV($var9, $var22, $var26, $var28, $var14, $var16); nms_Tessellator_addVertexWithUV($var9, $var22, $var24, $var28, $var14, $var18); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var28, $var12, $var18); } function nms_RenderBlocks_renderWestFace($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var11, $var10, $var26, $var28, $var12, $var22, $var14, $var20, $var24, $var16, $var18, var$18; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var11 = $this.$overrideBlockTexture; if ($var11 < 0) $var11 = $var8; $var10 = ($var11 & 15) << 4; $var11 = $var11 & 240; $var26 = $var10; $var28 = $var1.$field_370_bf; $var12 = ($var26 + $var28 * 16.0) / 256.0; $var22 = $var1.$maxX; $var14 = ($var26 + $var22 * 16.0 - 0.01) / 256.0; $var20 = $var11; $var24 = $var1.$minY; $var16 = ($var20 + $var24 * 16.0) / 256.0; $var26 = $var1.$maxY; $var18 = ($var20 + $var26 * 16.0 - 0.01) / 256.0; if (!$this.$flipTexture) { $var20 = $var14; $var14 = $var12; $var12 = $var20; } if (!($var28 >= 0.0 && $var22 <= 1.0)) { var$18 = $var10; $var14 = (var$18 + 0.0) / 256.0; $var12 = (var$18 + 15.989999771118164) / 256.0; } if (!($var24 >= 0.0 && $var26 <= 1.0)) { var$18 = $var11; $var16 = (var$18 + 0.0) / 256.0; $var18 = (var$18 + 15.989999771118164) / 256.0; } $var20 = $var2 + $var28; $var22 = $var2 + $var22; $var24 = $var4 + $var24; $var26 = $var4 + $var26; $var28 = $var6 + $var1.$maxZ; nms_Tessellator_addVertexWithUV($var9, $var20, $var26, $var28, $var14, $var16); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var28, $var14, $var18); nms_Tessellator_addVertexWithUV($var9, $var22, $var24, $var28, $var12, $var18); nms_Tessellator_addVertexWithUV($var9, $var22, $var26, $var28, $var12, $var16); } function nms_RenderBlocks_renderNorthFace($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var11, $var10, $var14, $var26, $var12, $var28, $var24, $var22, $var16, var$16, $var18, var$18, var$19, $var20; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var11 = $this.$overrideBlockTexture; if ($var11 < 0) $var11 = $var8; $var10 = ($var11 & 15) << 4; $var11 = $var11 & 240; $var14 = $var10; $var26 = $var1.$minZ; $var12 = ($var14 + $var26 * 16.0) / 256.0; $var28 = $var1.$maxZ; $var14 = ($var14 + $var28 * 16.0 - 0.01) / 256.0; $var24 = $var11; $var22 = $var1.$minY; $var16 = ($var24 + $var22 * 16.0) / 256.0; var$16 = $var1.$maxY; $var18 = ($var24 + var$16 * 16.0 - 0.01) / 256.0; if (!$this.$flipTexture) { $var24 = $var14; $var14 = $var12; $var12 = $var24; } if (!($var26 >= 0.0 && $var28 <= 1.0)) { var$18 = $var10; $var14 = (var$18 + 0.0) / 256.0; $var12 = (var$18 + 15.989999771118164) / 256.0; } if (!($var22 >= 0.0 && var$16 <= 1.0)) { var$19 = $var11; $var16 = (var$19 + 0.0) / 256.0; $var18 = (var$19 + 15.989999771118164) / 256.0; } $var20 = $var2 + $var1.$field_370_bf; $var22 = $var4 + $var22; $var24 = $var4 + var$16; $var26 = $var6 + $var26; $var28 = $var6 + $var28; nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var28, $var12, $var16); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var26, $var14, $var16); nms_Tessellator_addVertexWithUV($var9, $var20, $var22, $var26, $var14, $var18); nms_Tessellator_addVertexWithUV($var9, $var20, $var22, $var28, $var12, $var18); } function nms_RenderBlocks_renderSouthFace($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var11, $var10, $var14, $var26, $var12, $var28, $var24, $var22, $var16, var$16, $var18, var$18, var$19, $var20; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; $var11 = $this.$overrideBlockTexture; if ($var11 < 0) $var11 = $var8; $var10 = ($var11 & 15) << 4; $var11 = $var11 & 240; $var14 = $var10; $var26 = $var1.$minZ; $var12 = ($var14 + $var26 * 16.0) / 256.0; $var28 = $var1.$maxZ; $var14 = ($var14 + $var28 * 16.0 - 0.01) / 256.0; $var24 = $var11; $var22 = $var1.$minY; $var16 = ($var24 + $var22 * 16.0) / 256.0; var$16 = $var1.$maxY; $var18 = ($var24 + var$16 * 16.0 - 0.01) / 256.0; if (!$this.$flipTexture) { $var24 = $var14; $var14 = $var12; $var12 = $var24; } if (!($var26 >= 0.0 && $var28 <= 1.0)) { var$18 = $var10; $var14 = (var$18 + 0.0) / 256.0; $var12 = (var$18 + 15.989999771118164) / 256.0; } if (!($var22 >= 0.0 && var$16 <= 1.0)) { var$19 = $var11; $var16 = (var$19 + 0.0) / 256.0; $var18 = (var$19 + 15.989999771118164) / 256.0; } $var20 = $var2 + $var1.$maxX; $var22 = $var4 + $var22; $var24 = $var4 + var$16; $var26 = $var6 + $var26; $var28 = $var6 + $var28; nms_Tessellator_addVertexWithUV($var9, $var20, $var22, $var28, $var14, $var18); nms_Tessellator_addVertexWithUV($var9, $var20, $var22, $var26, $var12, $var18); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var26, $var12, $var16); nms_Tessellator_addVertexWithUV($var9, $var20, $var24, $var28, $var14, $var16); } function nms_RenderBlocks_func_1238_a($this, $var1, $var2) { var $var3, $var4; $var3 = $var1.$getRenderType(); nms_Tessellator_$callClinit(); $var4 = nms_Tessellator_instance; if (!$var3) { $var1.$func_237_e(); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nms_Tessellator_startDrawingQuads($var4); nms_Tessellator_setColorRGBA_F($var4, 1.0, 1.0, 1.0, $var2); nms_RenderBlocks_renderBottomFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(0)); nms_Tessellator_setColorRGBA_F($var4, 0.5, 0.5, 0.5, $var2); nms_RenderBlocks_renderTopFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(1)); nms_Tessellator_setColorRGBA_F($var4, 0.800000011920929, 0.800000011920929, 0.800000011920929, $var2); nms_RenderBlocks_renderEastFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(2)); nms_RenderBlocks_renderWestFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(3)); nms_Tessellator_setColorRGBA_F($var4, 0.6000000238418579, 0.6000000238418579, 0.6000000238418579, $var2); nms_RenderBlocks_renderNorthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(4)); nms_RenderBlocks_renderSouthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(5)); nms_Tessellator_draw($var4); olo_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); } } function nms_RenderBlocks_func_1227_a($this, $var1) { var $var3, $var4, $var7; a: { nms_Tessellator_$callClinit(); $var3 = nms_Tessellator_instance; $var4 = $var1.$getRenderType(); if (!$var4) { $var1.$func_237_e(); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderBottomFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(0)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 1.0, 0.0); nms_RenderBlocks_renderTopFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(1)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderEastFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(2)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, 1.0); nms_RenderBlocks_renderWestFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(3)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderNorthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(4)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 1.0, 0.0, 0.0); nms_RenderBlocks_renderSouthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(5)); nms_Tessellator_draw($var3); olo_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); } else if ($var4 == 1) { nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); nms_RenderBlocks_func_1239_a($this, $var1, (-1), (-0.5), (-0.5), (-0.5)); nms_Tessellator_draw($var3); } else if ($var4 == 13) { $var1.$func_237_e(); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderBottomFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(0)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 1.0, 0.0); nms_RenderBlocks_renderTopFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(1)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, (-1.0)); nms_Tessellator_setTranslationF($var3, 0.0, 0.0, 0.0625); nms_RenderBlocks_renderEastFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(2)); nms_Tessellator_setTranslationF($var3, 0.0, 0.0, (-0.0625)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, 1.0); nms_Tessellator_setTranslationF($var3, 0.0, 0.0, (-0.0625)); nms_RenderBlocks_renderWestFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(3)); nms_Tessellator_setTranslationF($var3, 0.0, 0.0, 0.0625); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, (-1.0), 0.0, 0.0); nms_Tessellator_setTranslationF($var3, 0.0625, 0.0, 0.0); nms_RenderBlocks_renderNorthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(4)); nms_Tessellator_setTranslationF($var3, (-0.0625), 0.0, 0.0); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 1.0, 0.0, 0.0); nms_Tessellator_setTranslationF($var3, (-0.0625), 0.0, 0.0); nms_RenderBlocks_renderSouthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(5)); nms_Tessellator_setTranslationF($var3, 0.0625, 0.0, 0.0); nms_Tessellator_draw($var3); olo_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); } else if ($var4 == 6) { nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); nms_RenderBlocks_func_1245_b($this, $var1, (-1), (-0.5), (-0.5), (-0.5)); nms_Tessellator_draw($var3); } else if ($var4 == 2) { nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderTorchAtAngle($this, $var1, (-0.5), (-0.5), (-0.5), 0.0, 0.0); nms_Tessellator_draw($var3); } else { if ($var4 == 10) { $var7 = 0; while (true) { if ($var7 >= 2) break a; if (!$var7) nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 0.5); if ($var7 == 1) nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.5, 1.0, 0.5, 1.0); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderBottomFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(0)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 1.0, 0.0); nms_RenderBlocks_renderTopFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(1)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderEastFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(2)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, 1.0); nms_RenderBlocks_renderWestFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(3)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderNorthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(4)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 1.0, 0.0, 0.0); nms_RenderBlocks_renderSouthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(5)); nms_Tessellator_draw($var3); olo_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); $var7 = $var7 + 1 | 0; } } if ($var4 == 11) { $var7 = 0; while ($var7 < 4) { if (!$var7) nms_Block_setBlockBounds($var1, 0.375, 0.0, 0.0, 0.625, 1.0, 0.25); if ($var7 == 1) nms_Block_setBlockBounds($var1, 0.375, 0.0, 0.75, 0.625, 1.0, 1.0); if ($var7 == 2) nms_Block_setBlockBounds($var1, 0.4375, 0.8125, (-0.125), 0.5625, 0.9375, 1.125); if ($var7 == 3) nms_Block_setBlockBounds($var1, 0.4375, 0.3125, (-0.125), 0.5625, 0.4375, 1.125); olo_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderBottomFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(0)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 1.0, 0.0); nms_RenderBlocks_renderTopFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(1)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderEastFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(2)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 0.0, 0.0, 1.0); nms_RenderBlocks_renderWestFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(3)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderNorthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(4)); nms_Tessellator_draw($var3); nms_Tessellator_startDrawingQuads($var3); nms_Tessellator_setNormal($var3, 1.0, 0.0, 0.0); nms_RenderBlocks_renderSouthFace($this, $var1, 0.0, 0.0, 0.0, $var1.$getBlockTextureFromSide(5)); nms_Tessellator_draw($var3); olo_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); $var7 = $var7 + 1 | 0; } nms_Block_setBlockBounds($var1, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); } } } } function nms_RenderBlocks_func_1219_a($var0) { return !$var0 ? 1 : $var0 == 13 ? 1 : $var0 == 10 ? 1 : $var0 != 11 ? 0 : 1; } function nms_ModelRenderer() { var a = this; jl_Object.call(a); a.$corners = null; a.$faces = null; a.$textureOffsetX = 0; a.$textureOffsetY = 0; a.$offsetX = 0.0; a.$offsetY = 0.0; a.$offsetZ = 0.0; a.$rotateAngleX = 0.0; a.$rotateAngleY = 0.0; a.$rotateAngleZ = 0.0; a.$compiled = 0; a.$displayList = 0; a.$mirror = 0; a.$field_1403_h = 0; a.$field_1402_i = 0; } function nms_ModelRenderer__init_(var_0, var_1) { var var_2 = new nms_ModelRenderer(); nms_ModelRenderer__init_0(var_2, var_0, var_1); return var_2; } function nms_ModelRenderer__init_0($this, $var1, $var2) { $this.$compiled = 0; $this.$displayList = 0; $this.$mirror = 0; $this.$field_1403_h = 1; $this.$field_1402_i = 0; $this.$textureOffsetX = $var1; $this.$textureOffsetY = $var2; } function nms_ModelRenderer_func_921_a($this, $var1, $var2, $var3, $var4, $var5, $var6) { nms_ModelRenderer_addBox($this, $var1, $var2, $var3, $var4, $var5, $var6, 0.0); } function nms_ModelRenderer_addBox($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $var9, $var10, var$11, var$12, $var20, $var12, $var13, $var14, $var15, $var16, $var17, $var18, var$21, var$22, var$23, var$24, $var19, var$26, var$27, var$28; $this.$corners = $rt_createArray(nms_PositionTexureVertex, 8); $this.$faces = $rt_createArray(nms_TexturedQuad, 6); $var8 = $var1 + $var4; $var9 = $var2 + $var5; $var10 = $var3 + $var6; var$11 = $var1 - $var7; $var2 = $var2 - $var7; var$12 = $var3 - $var7; $var3 = $var8 + $var7; $var8 = $var9 + $var7; $var7 = $var10 + $var7; if (!$this.$mirror) { $var1 = var$11; var$11 = $var3; $var3 = $var1; } a: { $var20 = nms_PositionTexureVertex__init_($var3, $var2, var$12, 0.0, 0.0); $var12 = nms_PositionTexureVertex__init_(var$11, $var2, var$12, 0.0, 8.0); $var13 = nms_PositionTexureVertex__init_(var$11, $var8, var$12, 8.0, 8.0); $var14 = nms_PositionTexureVertex__init_($var3, $var8, var$12, 8.0, 0.0); $var15 = nms_PositionTexureVertex__init_($var3, $var2, $var7, 0.0, 0.0); $var16 = nms_PositionTexureVertex__init_(var$11, $var2, $var7, 0.0, 8.0); $var17 = nms_PositionTexureVertex__init_(var$11, $var8, $var7, 8.0, 8.0); $var18 = nms_PositionTexureVertex__init_($var3, $var8, $var7, 8.0, 0.0); var$21 = $this.$corners.data; var$21[0] = $var20; var$21[1] = $var12; var$21[2] = $var13; var$21[3] = $var14; var$21[4] = $var15; var$21[5] = $var16; var$21[6] = $var17; var$21[7] = $var18; var$22 = $this.$faces.data; var$23 = new nms_TexturedQuad; var$24 = $rt_createArrayFromData(nms_PositionTexureVertex, [$var16, $var12, $var13, $var17]); $var19 = ($this.$textureOffsetX + $var6 | 0) + $var4 | 0; var$26 = $this.$textureOffsetY + $var6 | 0; nms_TexturedQuad__init_(var$23, var$24, $var19, var$26, $var19 + $var6 | 0, var$26 + $var5 | 0); var$22[0] = var$23; var$24 = $this.$faces.data; var$23 = new nms_TexturedQuad; var$21 = $rt_createArrayFromData(nms_PositionTexureVertex, [$var20, $var15, $var18, $var14]); var$26 = $this.$textureOffsetX; var$27 = var$26 + 0 | 0; var$28 = $this.$textureOffsetY + $var6 | 0; nms_TexturedQuad__init_(var$23, var$21, var$27, var$28, var$26 + $var6 | 0, var$28 + $var5 | 0); var$24[1] = var$23; var$21 = $this.$faces.data; var$23 = new nms_TexturedQuad; var$22 = $rt_createArrayFromData(nms_PositionTexureVertex, [$var16, $var15, $var20, $var12]); $var19 = $this.$textureOffsetX + $var6 | 0; var$26 = $this.$textureOffsetY; nms_TexturedQuad__init_(var$23, var$22, $var19, var$26 + 0 | 0, $var19 + $var4 | 0, var$26 + $var6 | 0); var$21[2] = var$23; var$24 = $this.$faces.data; var$23 = new nms_TexturedQuad; var$21 = $rt_createArrayFromData(nms_PositionTexureVertex, [$var13, $var14, $var18, $var17]); var$26 = ($this.$textureOffsetX + $var6 | 0) + $var4 | 0; var$27 = $this.$textureOffsetY; nms_TexturedQuad__init_(var$23, var$21, var$26, var$27 + 0 | 0, var$26 + $var4 | 0, var$27 + $var6 | 0); var$24[3] = var$23; var$21 = $this.$faces.data; var$23 = new nms_TexturedQuad; var$22 = $rt_createArrayFromData(nms_PositionTexureVertex, [$var12, $var20, $var14, $var13]); var$26 = $this.$textureOffsetX + $var6 | 0; var$27 = $this.$textureOffsetY + $var6 | 0; nms_TexturedQuad__init_(var$23, var$22, var$26, var$27, var$26 + $var4 | 0, var$27 + $var5 | 0); var$21[4] = var$23; var$24 = $this.$faces.data; var$23 = new nms_TexturedQuad; var$21 = $rt_createArrayFromData(nms_PositionTexureVertex, [$var15, $var16, $var17, $var18]); $var19 = (($this.$textureOffsetX + $var6 | 0) + $var4 | 0) + $var6 | 0; $var6 = $this.$textureOffsetY + $var6 | 0; nms_TexturedQuad__init_(var$23, var$21, $var19, $var6, $var19 + $var4 | 0, $var6 + $var5 | 0); var$24[5] = var$23; if ($this.$mirror) { $var19 = 0; while (true) { var$21 = $this.$faces.data; if ($var19 >= var$21.length) break a; var$23 = var$21[$var19]; var$21 = var$23.$field_1195_a.data; $var4 = var$21.length; var$22 = $rt_createArray(nms_PositionTexureVertex, $var4); var$24 = var$22.data; $var5 = 0; while ($var5 < $var4) { var$24[$var5] = var$21[($var4 - $var5 | 0) - 1 | 0]; $var5 = $var5 + 1 | 0; } var$23.$field_1195_a = var$22; $var19 = $var19 + 1 | 0; } } } } function nms_ModelRenderer_setPosition($this, $var1, $var2, $var3) { $this.$offsetX = $var1; $this.$offsetY = $var2; $this.$offsetZ = $var3; } function nms_ModelRenderer_render($this, $var1) { var var$2; if (!$this.$field_1402_i && $this.$field_1403_h) { if (!$this.$compiled) nms_ModelRenderer_compileDisplayList($this, $var1); if ($this.$rotateAngleX === 0.0 && $this.$rotateAngleY === 0.0 && $this.$rotateAngleZ === 0.0) { var$2 = $this.$offsetX; if (var$2 === 0.0 && $this.$offsetY === 0.0 && $this.$offsetZ === 0.0) olo_EaglerAdapterGL30_glCallList($this.$displayList); else { olo_EaglerAdapterGL30_glTranslatef(var$2 * $var1, $this.$offsetY * $var1, $this.$offsetZ * $var1); olo_EaglerAdapterGL30_glCallList($this.$displayList); olo_EaglerAdapterGL30_glTranslatef( -$this.$offsetX * $var1, -$this.$offsetY * $var1, -$this.$offsetZ * $var1); } } else { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($this.$offsetX * $var1, $this.$offsetY * $var1, $this.$offsetZ * $var1); $var1 = $this.$rotateAngleZ; if ($var1 !== 0.0) olo_EaglerAdapterGL30_glRotatef($var1 * 57.2957763671875, 0.0, 0.0, 1.0); $var1 = $this.$rotateAngleY; if ($var1 !== 0.0) olo_EaglerAdapterGL30_glRotatef($var1 * 57.2957763671875, 0.0, 1.0, 0.0); $var1 = $this.$rotateAngleX; if ($var1 !== 0.0) olo_EaglerAdapterGL30_glRotatef($var1 * 57.2957763671875, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glCallList($this.$displayList); olo_EaglerAdapterGL30_glPopMatrix(); } } } function nms_ModelRenderer_func_926_b($this, $var1) { var var$2; if (!$this.$field_1402_i && $this.$field_1403_h) { if (!$this.$compiled) nms_ModelRenderer_compileDisplayList($this, $var1); if ($this.$rotateAngleX === 0.0 && $this.$rotateAngleY === 0.0 && $this.$rotateAngleZ === 0.0) { var$2 = $this.$offsetX; if (!(var$2 === 0.0 && $this.$offsetY === 0.0 && $this.$offsetZ === 0.0)) olo_EaglerAdapterGL30_glTranslatef(var$2 * $var1, $this.$offsetY * $var1, $this.$offsetZ * $var1); } else { olo_EaglerAdapterGL30_glTranslatef($this.$offsetX * $var1, $this.$offsetY * $var1, $this.$offsetZ * $var1); $var1 = $this.$rotateAngleZ; if ($var1 !== 0.0) olo_EaglerAdapterGL30_glRotatef($var1 * 57.2957763671875, 0.0, 0.0, 1.0); $var1 = $this.$rotateAngleY; if ($var1 !== 0.0) olo_EaglerAdapterGL30_glRotatef($var1 * 57.2957763671875, 0.0, 1.0, 0.0); $var1 = $this.$rotateAngleX; if ($var1 !== 0.0) olo_EaglerAdapterGL30_glRotatef($var1 * 57.2957763671875, 1.0, 0.0, 0.0); } } } function nms_ModelRenderer_compileDisplayList($this, $var1) { var var$2, $var2, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$2 = nms_GLAllocation_generateDisplayLists(1); $this.$displayList = var$2; olo_EaglerAdapterGL30_glNewList(var$2, 4864); nms_Tessellator_$callClinit(); $var2 = nms_Tessellator_instance; $var3 = 0; while (true) { var$5 = $this.$faces.data; if ($var3 >= var$5.length) break; var$6 = var$5[$var3]; var$5 = var$6.$field_1195_a.data; var$7 = nms_Vec3D_func_1262_a(var$5[1].$vector3D, var$5[0].$vector3D); var$5 = var$6.$field_1195_a.data; var$8 = nms_Vec3D_func_1262_a(var$5[1].$vector3D, var$5[2].$vector3D); var$9 = var$8.$yCoord; var$10 = var$7.$zCoord; var$11 = var$9 * var$10; var$12 = var$8.$zCoord; var$13 = var$7.$yCoord; var$11 = var$11 - var$12 * var$13; var$14 = var$7.$xCoord; var$12 = var$12 * var$14; var$15 = var$8.$xCoord; var$7 = nms_Vec3D_normalize(nms_Vec3D_createVector(var$11, var$12 - var$15 * var$10, var$15 * var$13 - var$9 * var$14)); nms_Tessellator_startDrawingQuads($var2); if (!var$6.$field_1196_c) olo_EaglerAdapterGL30_glNormal3f(var$7.$xCoord, var$7.$yCoord, var$7.$zCoord); else olo_EaglerAdapterGL30_glNormal3f( -var$7.$xCoord, -var$7.$yCoord, -var$7.$zCoord); var$2 = 0; while (var$2 < 4) { var$7 = var$6.$field_1195_a.data[var$2]; var$8 = var$7.$vector3D; nms_Tessellator_addVertexWithUV($var2, var$8.$xCoord * $var1, var$8.$yCoord * $var1, var$8.$zCoord * $var1, var$7.$texturePositionX, var$7.$texturePositionY); var$2 = var$2 + 1 | 0; } nms_Tessellator_draw($var2); $var3 = $var3 + 1 | 0; } olo_EaglerAdapterGL30_glEndList(); $this.$compiled = 1; } function nPn_NBTTagByte() { nPn_NBTBase.call(this); this.$byteValue = 0; } function nPn_NBTTagByte__init_0() { var var_0 = new nPn_NBTTagByte(); nPn_NBTTagByte__init_(var_0); return var_0; } function nPn_NBTTagByte__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagByte_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeByte($dataoutput, $this.$byteValue); } function nPn_NBTTagByte_readTagContents($this, $datainput) { $this.$byteValue = ji_DataInputStream_readByte($datainput); } function nPn_NBTTagByte_getType($this) { return 1; } function nPn_NBTTagShort() { nPn_NBTBase.call(this); this.$shortValue = 0; } function nPn_NBTTagShort__init_0() { var var_0 = new nPn_NBTTagShort(); nPn_NBTTagShort__init_(var_0); return var_0; } function nPn_NBTTagShort__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagShort_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeShort($dataoutput, $this.$shortValue); } function nPn_NBTTagShort_readTagContents($this, $datainput) { $this.$shortValue = ji_DataInputStream_readShort($datainput); } function nPn_NBTTagShort_getType($this) { return 2; } function nPn_NBTTagInt() { nPn_NBTBase.call(this); this.$intValue = 0; } function nPn_NBTTagInt__init_0() { var var_0 = new nPn_NBTTagInt(); nPn_NBTTagInt__init_(var_0); return var_0; } function nPn_NBTTagInt__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagInt_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeInt($dataoutput, $this.$intValue); } function nPn_NBTTagInt_readTagContents($this, $datainput) { $this.$intValue = ji_DataInputStream_readInt($datainput); } function nPn_NBTTagInt_getType($this) { return 3; } function nPn_NBTTagLong() { nPn_NBTBase.call(this); this.$longValue = Long_ZERO; } function nPn_NBTTagLong__init_0() { var var_0 = new nPn_NBTTagLong(); nPn_NBTTagLong__init_(var_0); return var_0; } function nPn_NBTTagLong__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagLong_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeLong($dataoutput, $this.$longValue); } function nPn_NBTTagLong_readTagContents($this, $datainput) { $this.$longValue = ji_DataInputStream_readLong($datainput); } function nPn_NBTTagLong_getType($this) { return 4; } function nPn_NBTTagFloat() { nPn_NBTBase.call(this); this.$floatValue = 0.0; } function nPn_NBTTagFloat__init_0() { var var_0 = new nPn_NBTTagFloat(); nPn_NBTTagFloat__init_(var_0); return var_0; } function nPn_NBTTagFloat__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagFloat_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeFloat($dataoutput, $this.$floatValue); } function nPn_NBTTagFloat_readTagContents($this, $datainput) { $this.$floatValue = ji_DataInputStream_readFloat($datainput); } function nPn_NBTTagFloat_getType($this) { return 5; } function nPn_NBTTagDouble() { nPn_NBTBase.call(this); this.$doubleValue = 0.0; } function nPn_NBTTagDouble__init_0() { var var_0 = new nPn_NBTTagDouble(); nPn_NBTTagDouble__init_(var_0); return var_0; } function nPn_NBTTagDouble__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagDouble_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeDouble($dataoutput, $this.$doubleValue); } function nPn_NBTTagDouble_readTagContents($this, $datainput) { $this.$doubleValue = ji_DataInputStream_readDouble($datainput); } function nPn_NBTTagDouble_getType($this) { return 6; } function nPn_NBTTagByteArray() { nPn_NBTBase.call(this); this.$byteArray = null; } function nPn_NBTTagByteArray__init_0() { var var_0 = new nPn_NBTTagByteArray(); nPn_NBTTagByteArray__init_(var_0); return var_0; } function nPn_NBTTagByteArray__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagByteArray_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeInt($dataoutput, $this.$byteArray.data.length); ji_OutputStream_write($dataoutput, $this.$byteArray); } function nPn_NBTTagByteArray_readTagContents($this, $datainput) { var var$2; var$2 = $rt_createByteArray(ji_DataInputStream_readInt($datainput)); $this.$byteArray = var$2; ji_DataInputStream_readFully($datainput, var$2); } function nPn_NBTTagByteArray_getType($this) { return 7; } function nPn_NBTTagString() { nPn_NBTBase.call(this); this.$stringValue = null; } function nPn_NBTTagString__init_0() { var var_0 = new nPn_NBTTagString(); nPn_NBTTagString__init_(var_0); return var_0; } function nPn_NBTTagString__init_($this) { nPn_NBTBase__init_($this); } function nPn_NBTTagString_writeTagContents($this, $dataoutput) { ji_DataOutputStream_writeUTF($dataoutput, $this.$stringValue); } function nPn_NBTTagString_readTagContents($this, $datainput) { $this.$stringValue = ji_DataInputStream_readUTF($datainput); } function nPn_NBTTagString_getType($this) { return 8; } function nPn_NBTTagList() { var a = this; nPn_NBTBase.call(a); a.$tagList = null; a.$tagType = 0; } function nPn_NBTTagList__init_0() { var var_0 = new nPn_NBTTagList(); nPn_NBTTagList__init_(var_0); return var_0; } function nPn_NBTTagList__init_($this) { nPn_NBTBase__init_($this); $this.$tagList = ju_ArrayList__init_0(); } function nPn_NBTTagList_writeTagContents($this, $dataoutput) { var var$2, $i; var$2 = $this.$tagList; if (var$2.$size <= 0) $this.$tagType = 1; else $this.$tagType = (ju_ArrayList_get(var$2, 0)).$getType0(); ji_DataOutputStream_writeByte($dataoutput, $this.$tagType); ji_DataOutputStream_writeInt($dataoutput, $this.$tagList.$size); $i = 0; while (true) { var$2 = $this.$tagList; if ($i >= var$2.$size) break; (ju_ArrayList_get(var$2, $i)).$writeTagContents($dataoutput); $i = $i + 1 | 0; } } function nPn_NBTTagList_readTagContents($this, $datainput) { var $i, $j, $nbtbase; $this.$tagType = ji_DataInputStream_readByte($datainput); $i = ji_DataInputStream_readInt($datainput); $this.$tagList = ju_ArrayList__init_0(); $j = 0; while ($j < $i) { $nbtbase = nPn_NBTBase_createTagOfType($this.$tagType); $nbtbase.$readTagContents($datainput); ju_ArrayList_add($this.$tagList, $nbtbase); $j = $j + 1 | 0; } } function nPn_NBTTagList_getType($this) { return 9; } function jt_DateFormatSymbols() { var a = this; jl_Object.call(a); a.$locale0 = 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_1() { var var_0 = new jt_DateFormatSymbols(); jt_DateFormatSymbols__init_(var_0); return var_0; } function jt_DateFormatSymbols__init_0(var_0) { var var_1 = new jt_DateFormatSymbols(); jt_DateFormatSymbols__init_2(var_1, var_0); return var_1; } function jt_DateFormatSymbols__init_($this) { jt_DateFormatSymbols__init_2($this, ju_Locale_getDefault()); } function jt_DateFormatSymbols__init_2($this, $locale) { $this.$locale0 = $locale; } var otji_EventHandler = $rt_classWithoutFields(0); function nleat_IndexedDBFilesystem$AsyncHandlers$1() { jl_Object.call(this); this.$val$cb0 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$1_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb0, nleat_IndexedDBFilesystem$DatabaseOpen__init_(0, 1, null, null)); } 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$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb1, nleat_IndexedDBFilesystem$DatabaseOpen__init_(0, 0, null, var$0.$val$f.result)); } function nleat_IndexedDBFilesystem$AsyncHandlers$3() { jl_Object.call(this); this.$val$cb2 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$3_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb2, nleat_IndexedDBFilesystem$DatabaseOpen__init_(1, 0, $rt_s(290), null)); } function nleat_IndexedDBFilesystem$AsyncHandlers$4() { jl_Object.call(this); this.$val$f0 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent$exported$0(var$0, var$1) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = var$0.$val$f0.result; var$3 = otji_IDBObjectStoreParameters_create$js_body$_1(); var$4 = $rt_createArray(jl_String, 1).data; var$4[0] = $rt_s(291); var$5 = var$4.length; var$6 = new $rt_globals.Array(var$5); var$7 = 0; while (var$7 < var$5) { var$8 = $rt_ustr(var$4[var$7]); 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 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__init_0() { var var_0 = new cjj_ZStream(); cjj_ZStream__init_(var_0); return var_0; } function cjj_ZStream__init_($this) { $this.$adler = cjj_Adler32__init_0(); } function cjj_Inflater() { cjj_ZStream.call(this); this.$finished = 0; } function cjj_Inflater__init_0() { var var_0 = new cjj_Inflater(); cjj_Inflater__init_(var_0); return var_0; } function cjj_Inflater__init_($this) { cjj_ZStream__init_($this); $this.$finished = 0; cjj_Inflater_init($this, 15, 0); } function cjj_Inflater_init($this, $w, $nowrap) { var var$3, var$4, var$5; $this.$finished = 0; var$3 = new cjj_Inflate; var$3.$was = Long_fromInt(-1); var$3.$need_bytes = (-1); var$3.$crcbuf = $rt_createByteArray(4); var$3.$gheader = null; var$3.$tmp_string = null; var$3.$z1 = $this; $this.$istate = var$3; if ($nowrap) $w = -$w | 0; $this.$msg = null; var$3.$blocks = null; var$3.$wrap5 = 0; if ($w < 0) $w = -$w | 0; else if ($w & 1073741824) { var$3.$wrap5 = 4; $w = $w & (-1073741825); if ($w < 48) $w = $w & 15; } else if ($w & (-32)) { var$3.$wrap5 = 4; $w = $w & 15; } else { var$3.$wrap5 = ($w >> 4) + 1 | 0; if ($w < 48) $w = $w & 15; } if ($w >= 8 && $w <= 15) { var$3.$wbits = $w; var$4 = new cjj_InfBlocks; $nowrap = 1 << $w; var$4.$bb = $rt_createIntArray(1); var$4.$tb = $rt_createIntArray(1); var$4.$bl = $rt_createIntArray(1); var$4.$bd = $rt_createIntArray(1); var$4.$tl = $rt_createArray($rt_arraycls($rt_intcls()), 1); var$4.$td = $rt_createArray($rt_arraycls($rt_intcls()), 1); var$4.$tli = $rt_createIntArray(1); var$4.$tdi = $rt_createIntArray(1); var$4.$inftree = cjj_InfTree__init_0(); var$4.$z2 = $this; var$5 = new cjj_InfCodes; var$5.$tree_index = 0; var$5.$z3 = $this; var$5.$s = var$4; var$4.$codes = var$5; var$4.$hufts = $rt_createIntArray(4320); var$4.$window = $rt_createByteArray($nowrap); var$4.$end1 = $nowrap; var$4.$check = $this.$istate.$wrap5 ? 1 : 0; var$4.$mode2 = 0; cjj_InfBlocks_reset(var$4); var$3.$blocks = var$4; var$5 = var$3.$z1; if (var$5 !== null) { var$5.$total_out = Long_ZERO; var$5.$total_in = Long_ZERO; var$5.$msg = null; var$3.$mode1 = 14; var$3.$need_bytes = (-1); cjj_InfBlocks_reset(var$4); } $w = 0; } else { cjj_Inflate_inflateEnd(var$3); $w = (-2); } return $w; } function nms_StepSound() { var a = this; jl_Object.call(a); a.$field_1678_a = null; a.$field_1677_b = 0.0; a.$field_1679_c = 0.0; } function nms_StepSound__init_(var_0, var_1, var_2) { var var_3 = new nms_StepSound(); nms_StepSound__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_StepSound__init_0($this, $var1, $var2, $var3) { $this.$field_1678_a = $var1; $this.$field_1677_b = $var2; $this.$field_1679_c = $var3; } function nms_StepSound_func_1147_b($this) { return $this.$field_1677_b; } function nms_StepSound_func_1144_c($this) { return $this.$field_1679_c; } function nms_StepSound_func_1145_d($this) { var var$1, var$2; var$1 = $this.$field_1678_a; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append(jl_StringBuilder_append(var$2, $rt_s(292)), var$1); return jl_AbstractStringBuilder_toString(var$2); } var nms_StepSoundStone = $rt_classWithoutFields(nms_StepSound); function nms_StepSoundStone__init_(var_0, var_1, var_2) { var var_3 = new nms_StepSoundStone(); nms_StepSoundStone__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_StepSoundStone__init_0($this, $var1, $var2, $var3) { nms_StepSound__init_0($this, $var1, $var2, $var3); } var nms_StepSoundSand = $rt_classWithoutFields(nms_StepSound); function nms_StepSoundSand__init_(var_0, var_1, var_2) { var var_3 = new nms_StepSoundSand(); nms_StepSoundSand__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_StepSoundSand__init_0($this, $var1, $var2, $var3) { nms_StepSound__init_0($this, $var1, $var2, $var3); } var nms_BlockStone = $rt_classWithoutFields(nms_Block); function nms_BlockStone__init_(var_0, var_1) { var var_2 = new nms_BlockStone(); nms_BlockStone__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockStone__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_rock); } function nms_BlockStone_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_cobblestone.$blockID; } var nms_BlockGrass = $rt_classWithoutFields(nms_Block); function nms_BlockGrass__init_(var_0) { var var_1 = new nms_BlockGrass(); nms_BlockGrass__init_0(var_1, var_0); return var_1; } function nms_BlockGrass__init_0($this, $var1) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_ground); $this.$blockIndexInTexture = 3; nms_Block_setTickOnLoad($this, 1); } function nms_BlockGrass_getBlockTexture($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var5 == 1) return 0; if (!$var5) return 2; $var3 = $var3 + 1 | 0; $ptr = 1; case 1: $tmp = $var1.$getBlockMaterial($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Material_$callClinit(); return $var6 !== nms_Material_snow && $var6 !== nms_Material_builtSnow ? 3 : 68; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockGrass_colorMultiplier($this, $var1, $var2, $var3, $var4) { var $var5, $var7, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var7 = $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: ($var1.$func_4075_a()).$func_4069_a($var2, $var4, 1, 1); $var5 = ($var1.$func_4075_a()).$temperature.data[0]; $var7 = ($var1.$func_4075_a()).$humidity.data[0]; if (nms_ColorizerGrass_field_6540_a !== null) { $var7 = $var7 * $var5; $var2 = (1.0 - $var5) * 255.0 | 0; $var3 = (1.0 - $var7) * 255.0 | 0; return nms_ColorizerGrass_field_6540_a.data[$var3 << 8 | $var2]; } var$7 = nlea_EaglerAdapterImpl2_loadResourceBytes($rt_s(293)); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$7); if ($rt_suspending()) { break main; } $var1 = $tmp; nms_ColorizerGrass_field_6540_a = $var1.$data; $var7 = $var7 * $var5; $var2 = (1.0 - $var5) * 255.0 | 0; $var3 = (1.0 - $var7) * 255.0 | 0; return nms_ColorizerGrass_field_6540_a.data[$var3 << 8 | $var2]; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var7, var$7, $ptr); } function nms_BlockGrass_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var $var7, $var6, $var8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var7 = $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: $var7 = $var3 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockLightValue($var1, $var2, $var7, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 >= 4) { $ptr = 2; continue main; } $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockLightValue($var1, $var2, $var7, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 < 9) return; $var6 = ($var2 + ju_Random_nextInt($var5, 3) | 0) - 1 | 0; $var7 = ($var3 + ju_Random_nextInt($var5, 5) | 0) - 3 | 0; $var8 = ($var4 + ju_Random_nextInt($var5, 3) | 0) - 1 | 0; $ptr = 4; continue main; case 3: $tmp = nms_World_getBlockMaterial($var1, $var2, $var7, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (!var$9.$getCanBlockGrass()) { $ptr = 2; continue main; } if (ju_Random_nextInt($var5, 4)) return; nms_Block_$callClinit(); $var6 = nms_Block_dirt.$blockID; $ptr = 6; continue main; case 4: $tmp = nms_World_getBlockId($var1, $var6, $var7, $var8); if ($rt_suspending()) { break main; } $var2 = $tmp; nms_Block_$callClinit(); if ($var2 != nms_Block_dirt.$blockID) return; $var2 = $var7 + 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockLightValue($var1, $var6, $var2, $var8); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 < 4) return; $ptr = 7; continue main; case 6: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; case 7: $tmp = nms_World_getBlockMaterial($var1, $var6, $var2, $var8); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5.$getCanBlockGrass()) return; $var2 = nms_Block_grass.$blockID; $ptr = 8; case 8: nms_World_setBlockWithNotify($var1, $var6, $var7, $var8, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var7, $var6, $var8, var$9, $ptr); } function nms_BlockGrass_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_dirt.$idDropped(0, $var2); } var nms_BlockDirt = $rt_classWithoutFields(nms_Block); function nms_BlockDirt__init_(var_0, var_1) { var var_2 = new nms_BlockDirt(); nms_BlockDirt__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockDirt__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_ground); } function nms_Material() { jl_Object.call(this); this.$canBurn = 0; } var nms_Material_air = null; var nms_Material_ground = null; var nms_Material_wood = null; var nms_Material_rock = null; var nms_Material_iron = null; var nms_Material_water = null; var nms_Material_lava = null; var nms_Material_leaves = null; var nms_Material_plants = null; var nms_Material_sponge = null; var nms_Material_cloth = null; var nms_Material_fire = null; var nms_Material_sand = null; var nms_Material_circuits = null; var nms_Material_glass = null; var nms_Material_tnt = null; var nms_Material_unused = null; var nms_Material_ice = null; var nms_Material_snow = null; var nms_Material_builtSnow = null; var nms_Material_cactus = null; var nms_Material_clay = null; var nms_Material_pumpkin = null; var nms_Material_field_4260_x = null; function nms_Material_$callClinit() { nms_Material_$callClinit = $rt_eraseClinit(nms_Material); nms_Material__clinit_(); } function nms_Material__init_0() { var var_0 = new nms_Material(); nms_Material__init_(var_0); return var_0; } function nms_Material__init_($this) { nms_Material_$callClinit(); } function nms_Material_getIsLiquid($this) { return 0; } function nms_Material_func_878_a($this) { return 1; } function nms_Material_getCanBlockGrass($this) { return 1; } function nms_Material_func_880_c($this) { return 1; } function nms_Material_setBurning($this) { $this.$canBurn = 1; return $this; } function nms_Material_getBurning($this) { return $this.$canBurn; } function nms_Material__clinit_() { var var$1; var$1 = new nms_MaterialTransparent; nms_Material__init_(var$1); nms_Material_air = var$1; nms_Material_ground = nms_Material__init_0(); nms_Material_wood = nms_Material_setBurning(nms_Material__init_0()); nms_Material_rock = nms_Material__init_0(); nms_Material_iron = nms_Material__init_0(); var$1 = new nms_MaterialLiquid; nms_Material__init_(var$1); nms_Material_water = var$1; var$1 = new nms_MaterialLiquid; nms_Material__init_(var$1); nms_Material_lava = var$1; nms_Material_leaves = nms_Material_setBurning(nms_Material__init_0()); var$1 = new nms_MaterialLogic; nms_Material__init_(var$1); nms_Material_plants = var$1; nms_Material_sponge = nms_Material__init_0(); nms_Material_cloth = nms_Material_setBurning(nms_Material__init_0()); var$1 = new nms_MaterialTransparent; nms_Material__init_(var$1); nms_Material_fire = var$1; nms_Material_sand = nms_Material__init_0(); var$1 = new nms_MaterialLogic; nms_Material__init_(var$1); nms_Material_circuits = var$1; nms_Material_glass = nms_Material__init_0(); nms_Material_tnt = nms_Material_setBurning(nms_Material__init_0()); nms_Material_unused = nms_Material__init_0(); nms_Material_ice = nms_Material__init_0(); var$1 = new nms_MaterialLogic; nms_Material__init_(var$1); nms_Material_snow = var$1; nms_Material_builtSnow = nms_Material__init_0(); nms_Material_cactus = nms_Material__init_0(); nms_Material_clay = nms_Material__init_0(); nms_Material_pumpkin = nms_Material__init_0(); nms_Material_field_4260_x = nms_Material__init_0(); } var nms_BlockFlower = $rt_classWithoutFields(nms_Block); function nms_BlockFlower__init_(var_0, var_1) { var var_2 = new nms_BlockFlower(); nms_BlockFlower__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockFlower__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_plants); $this.$blockIndexInTexture = $var2; nms_Block_setTickOnLoad($this, 1); nms_Block_setBlockBounds($this, 0.30000001192092896, 0.0, 0.30000001192092896, 0.699999988079071, 0.6000000238418579, 0.699999988079071); } function nms_BlockFlower_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $this.$canThisPlantGrowOnThisBlockID($var2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockFlower_canThisPlantGrowOnThisBlockID($this, $var1) { nms_Block_$callClinit(); return $var1 != nms_Block_grass.$blockID && $var1 != nms_Block_dirt.$blockID && $var1 != nms_Block_tilledField.$blockID ? 0 : 1; } function nms_BlockFlower_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockFlower_func_268_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockFlower_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockFlower_func_268_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockFlower_func_268_h($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$canBlockStay($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockFlower_canBlockStay($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockLightValue($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 < 8) { $ptr = 3; continue main; } $var3 = $var3 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return !$this.$canThisPlantGrowOnThisBlockID($var2) ? 0 : 1; case 3: $tmp = nms_World_canBlockSeeTheSky($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) return 0; $var3 = $var3 - 1 | 0; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $ptr); } function nms_BlockFlower_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockFlower_isOpaqueCube($this) { return 0; } function nms_BlockFlower_renderAsNormalBlock($this) { return 0; } function nms_BlockFlower_getRenderType($this) { return 1; } var nms_BlockSapling = $rt_classWithoutFields(nms_BlockFlower); function nms_BlockSapling__init_(var_0, var_1) { var var_2 = new nms_BlockSapling(); nms_BlockSapling__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockSapling__init_0($this, $var1, $var2) { nms_BlockFlower__init_0($this, $var1, $var2); nms_Block_setBlockBounds($this, 0.09999999403953552, 0.0, 0.09999999403953552, 0.8999999761581421, 0.800000011920929, 0.8999999761581421); } function nms_BlockSapling_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFlower_func_268_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $var3 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockLightValue($var1, $var2, $var6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 >= 9 && !ju_Random_nextInt($var5, 5)) { $ptr = 3; continue main; } return; case 3: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 >= 15) { $var6 = 0; $ptr = 4; continue main; } $var6 = $var6 + 1 | 0; $ptr = 5; continue main; case 4: nms_World_setBlock($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var7 = new nms_WorldGenTrees; if (!ju_Random_nextInt($var5, 10)) $var7 = nms_WorldGenBigTree__init_0(); $ptr = 6; continue main; case 5: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; case 6: $tmp = $var7.$generate($var1, $var5, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) return; $var6 = $this.$blockID; $ptr = 7; case 7: nms_World_setBlock($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } var nms_BlockFluids = $rt_classWithoutFields(nms_Block); function nms_BlockFluids__init_($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, (($var2 !== nms_Material_lava ? 12 : 14) * 16 | 0) + 13 | 0, $var2); nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); nms_Block_setTickOnLoad($this, 1); } function nms_BlockFluids_func_288_b($var0) { if ($var0 >= 8) $var0 = 0; return ($var0 + 1 | 0) / 9.0; } function nms_BlockFluids_getBlockTextureFromSide($this, $var1) { return $var1 && $var1 != 1 ? $this.$blockIndexInTexture + 1 | 0 : $this.$blockIndexInTexture; } function nms_BlockFluids_func_290_h($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 !== $this.$blockMaterial) return (-1); $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockFluids_func_289_b($this, $var1, $var2, $var3, $var4) { var var$5, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockMaterial($var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 !== $this.$blockMaterial) return (-1); $ptr = 2; case 2: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 >= 8) $var5 = 0; return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var5, $ptr); } function nms_BlockFluids_renderAsNormalBlock($this) { return 0; } function nms_BlockFluids_isOpaqueCube($this) { return 0; } function nms_BlockFluids_canCollideCheck($this, $var1, $var2) { return $var2 && !$var1 ? 1 : 0; } function nms_BlockFluids_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockMaterial($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 === $this.$blockMaterial) $var2 = 0; else { nms_Material_$callClinit(); if ($var6 === nms_Material_ice) $var2 = 0; else { if ($var5 != 1) { $ptr = 2; continue main; } $var2 = 1; } } return $var2; case 2: $tmp = nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockFluids_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockFluids_getRenderType($this) { return 4; } function nms_BlockFluids_idDropped($this, $var1, $var2) { return 0; } function nms_BlockFluids_quantityDropped($this, $var1) { return 0; } function nms_BlockFluids_func_291_e($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, var$8, var$9, var$10, $var13, var$12, var$13, var$14, $var12, $var11, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var13 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_Vec3D_createVector(0.0, 0.0, 0.0); $ptr = 1; case 1: $tmp = nms_BlockFluids_func_289_b($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = 0; var$8 = $var2 - 1 | 0; var$9 = $var4 - 1 | 0; var$10 = $var3 - 1 | 0; $var13 = $var6 - 8 | 0; var$12 = $var3 - $var3 | 0; if ($var7 >= 4) { $ptr = 2; continue main; } var$13 = !$var7 ? var$8 : $var2; var$14 = $var7 == 1 ? var$9 : $var4; if ($var7 == 2) var$13 = var$13 + 1 | 0; if ($var7 == 3) var$14 = var$14 + 1 | 0; $ptr = 7; continue main; case 2: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13 < 8) return nms_Vec3D_normalize($var5); $var13 = 0; var$13 = 2; $ptr = 3; case 3: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, $var2, $var3, var$9, var$13); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) $var13 = 1; if (!$var13) { var$13 = $var4 + 1 | 0; $var12 = 3; $ptr = 4; continue main; } $var13 = 1; if (!$var13) { var$13 = 4; $ptr = 5; continue main; } $var13 = 1; if (!$var13) { var$13 = $var2 + 1 | 0; $var12 = 5; $ptr = 6; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 2; $ptr = 9; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = $var4 + 1 | 0; var$10 = 3; $ptr = 11; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 4; $ptr = 12; continue main; } $var13 = 1; if ($var13) { $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); } $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; var$13 = 5; $ptr = 13; continue main; case 4: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, $var2, $var3, var$13, $var12); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) $var13 = 1; if (!$var13) { var$13 = 4; $ptr = 5; continue main; } $var13 = 1; if (!$var13) { var$13 = $var2 + 1 | 0; $var12 = 5; $ptr = 6; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 2; $ptr = 9; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = $var4 + 1 | 0; var$10 = 3; $ptr = 11; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 4; $ptr = 12; continue main; } $var13 = 1; if ($var13) { $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); } $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; var$13 = 5; $ptr = 13; continue main; case 5: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, var$8, $var3, $var4, var$13); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) $var13 = 1; if (!$var13) { var$13 = $var2 + 1 | 0; $var12 = 5; $ptr = 6; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 2; $ptr = 9; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = $var4 + 1 | 0; var$10 = 3; $ptr = 11; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 4; $ptr = 12; continue main; } $var13 = 1; if ($var13) { $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); } $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; var$13 = 5; $ptr = 13; continue main; case 6: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, var$13, $var3, $var4, $var12); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 2; $ptr = 9; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = $var4 + 1 | 0; var$10 = 3; $ptr = 11; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 4; $ptr = 12; continue main; } $var13 = 1; if ($var13) { $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); } $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; var$13 = 5; $ptr = 13; continue main; case 7: $tmp = nms_BlockFluids_func_289_b($this, $var1, var$13, $var3, var$14); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11 < 0) { $ptr = 8; continue main; } if ($var11 >= 0) { $var12 = $var11 - $var6 | 0; $var5 = nms_Vec3D_addVector($var5, $rt_imul(var$13 - $var2 | 0, $var12), $rt_imul(var$12, $var12), $rt_imul(var$14 - $var4 | 0, $var12)); } $var7 = $var7 + 1 | 0; if ($var7 >= 4) { $ptr = 2; continue main; } var$13 = !$var7 ? var$8 : $var2; var$14 = $var7 == 1 ? var$9 : $var4; if ($var7 == 2) var$13 = var$13 + 1 | 0; if ($var7 == 3) var$14 = var$14 + 1 | 0; continue main; case 8: $tmp = $var1.$getBlockMaterial(var$13, $var3, var$14); if ($rt_suspending()) { break main; } var$17 = $tmp; if (!var$17.$func_880_c()) { $ptr = 10; continue main; } $var7 = $var7 + 1 | 0; if ($var7 >= 4) { $ptr = 2; continue main; } var$13 = !$var7 ? var$8 : $var2; var$14 = $var7 == 1 ? var$9 : $var4; if ($var7 == 2) var$13 = var$13 + 1 | 0; if ($var7 == 3) var$14 = var$14 + 1 | 0; $ptr = 7; continue main; case 9: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, $var2, var$13, var$9, $var12); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = $var4 + 1 | 0; var$10 = 3; $ptr = 11; continue main; } $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 4; $ptr = 12; continue main; } $var13 = 1; if ($var13) { $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); } $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; var$13 = 5; $ptr = 13; continue main; case 10: $tmp = nms_BlockFluids_func_289_b($this, $var1, var$13, var$10, var$14); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 >= 0) { $var12 = $var12 - $var13 | 0; $var5 = nms_Vec3D_addVector($var5, $rt_imul(var$13 - $var2 | 0, $var12), $rt_imul(var$12, $var12), $rt_imul(var$14 - $var4 | 0, $var12)); } $var7 = $var7 + 1 | 0; if ($var7 >= 4) { $ptr = 2; continue main; } var$13 = !$var7 ? var$8 : $var2; var$14 = $var7 == 1 ? var$9 : $var4; if ($var7 == 2) var$13 = var$13 + 1 | 0; if ($var7 == 3) var$14 = var$14 + 1 | 0; $ptr = 7; continue main; case 11: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, $var2, var$13, $var12, var$10); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) $var13 = 1; if (!$var13) { var$13 = $var3 + 1 | 0; $var12 = 4; $ptr = 12; continue main; } $var13 = 1; if ($var13) { $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); } $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; var$13 = 5; $ptr = 13; continue main; case 12: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, var$8, var$13, $var4, $var12); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13) $var13 = 1; if ($var13) { $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); } $var2 = $var2 + 1 | 0; $var3 = $var3 + 1 | 0; var$13 = 5; $ptr = 13; case 13: $tmp = nms_BlockFluids_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, var$13); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2) $var13 = 1; if ($var13) $var5 = nms_Vec3D_addVector(nms_Vec3D_normalize($var5), 0.0, (-6.0), 0.0); return nms_Vec3D_normalize($var5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $var13, var$12, var$13, var$14, $var12, $var11, var$17, $ptr); } function nms_BlockFluids_velocityToAddToEntity($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockFluids_func_291_e($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var6.$xCoord = $var6.$xCoord + $var7.$xCoord; $var6.$yCoord = $var6.$yCoord + $var7.$yCoord; $var6.$zCoord = $var6.$zCoord + $var7.$zCoord; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockFluids_tickRate($this) { var var$1; var$1 = $this.$blockMaterial; nms_Material_$callClinit(); return var$1 === nms_Material_water ? 5 : var$1 !== nms_Material_lava ? 0 : 30; } function nms_BlockFluids_getBlockBrightness($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getLightBrightness($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var3 = $var3 + 1 | 0; $ptr = 2; case 2: $tmp = $var1.$getLightBrightness($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var5 > $var6) $var6 = $var5; return $var6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockFluids_func_234_g($this) { var var$1; var$1 = $this.$blockMaterial; nms_Material_$callClinit(); return var$1 !== nms_Material_water ? 0 : 1; } function nms_BlockFluids_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $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: var$6 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$6 === nms_Material_water && !ju_Random_nextInt($var5, 64)) { $ptr = 2; continue main; } if ($this.$blockMaterial !== nms_Material_lava) return; $var6 = $var3 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var2, $var6, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 !== nms_Material_air) return; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 > 0 && $var6 < 8) nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(294), ju_Random_nextFloat($var5) * 0.25 + 0.75, ju_Random_nextFloat($var5) * 1.0 + 0.5); if ($this.$blockMaterial !== nms_Material_lava) return; $var6 = $var3 + 1 | 0; $ptr = 1; continue main; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6 && !ju_Random_nextInt($var5, 100)) nms_World_spawnParticle($var1, $rt_s(295), $var2 + ju_Random_nextFloat($var5), $var3 + $this.$maxY, $var4 + ju_Random_nextFloat($var5), 0.0, 0.0, 0.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, var$8, $ptr); } function nms_BlockFluids_func_293_a($var0, $var1, $var2, $var3, $var4) { var $var5, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = null; nms_Material_$callClinit(); if ($var4 === nms_Material_water) { nms_Block_$callClinit(); $var5 = nms_Block_waterStill; $ptr = 1; continue main; } if ($var4 !== nms_Material_lava) { var$7 = $var5.$xCoord; return var$7 === 0.0 && $var5.$zCoord === 0.0 ? (-1000.0) : jl_Math_atan2($var5.$zCoord, var$7) - 1.5707963267948966; } nms_Block_$callClinit(); $var4 = nms_Block_lavaStill; $ptr = 2; continue main; case 1: $tmp = nms_BlockFluids_func_291_e($var5, $var0, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var4 !== nms_Material_lava) { var$7 = $var5.$xCoord; return var$7 === 0.0 && $var5.$zCoord === 0.0 ? (-1000.0) : jl_Math_atan2($var5.$zCoord, var$7) - 1.5707963267948966; } nms_Block_$callClinit(); $var4 = nms_Block_lavaStill; $ptr = 2; case 2: $tmp = nms_BlockFluids_func_291_e($var4, $var0, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; var$7 = $var5.$xCoord; return var$7 === 0.0 && $var5.$zCoord === 0.0 ? (-1000.0) : jl_Math_atan2($var5.$zCoord, var$7) - 1.5707963267948966; default: $rt_invalidPointer(); }} $rt_nativeThread().push($var0, $var1, $var2, $var3, $var4, $var5, var$7, $ptr); } function nms_BlockFluids_onBlockAdded($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFluids_checkForHarden($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockFluids_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockFluids_checkForHarden($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockFluids_checkForHarden($this, $var1, $var2, $var3, $var4) { var $var5, var$6, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == $this.$blockID) { var$6 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$6 === nms_Material_lava) { $var5 = 0; $var6 = $var4 - 1 | 0; $ptr = 2; continue main; } } return; case 2: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 === nms_Material_water) $var5 = 1; if (!$var5) { $var6 = $var4 + 1 | 0; $ptr = 3; continue main; } $var5 = 1; if (!$var5) { $var6 = $var2 - 1 | 0; $ptr = 4; continue main; } $var5 = 1; if (!$var5) { $var6 = $var2 + 1 | 0; $ptr = 5; continue main; } $var5 = 1; if (!$var5) { $var6 = $var3 + 1 | 0; $ptr = 6; continue main; } $var5 = 1; if (!$var5) return; $ptr = 7; continue main; case 3: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 === nms_Material_water) $var5 = 1; if (!$var5) { $var6 = $var2 - 1 | 0; $ptr = 4; continue main; } $var5 = 1; if (!$var5) { $var6 = $var2 + 1 | 0; $ptr = 5; continue main; } $var5 = 1; if (!$var5) { $var6 = $var3 + 1 | 0; $ptr = 6; continue main; } $var5 = 1; if (!$var5) return; $ptr = 7; continue main; case 4: $tmp = nms_World_getBlockMaterial($var1, $var6, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 === nms_Material_water) $var5 = 1; if (!$var5) { $var6 = $var2 + 1 | 0; $ptr = 5; continue main; } $var5 = 1; if (!$var5) { $var6 = $var3 + 1 | 0; $ptr = 6; continue main; } $var5 = 1; if (!$var5) return; $ptr = 7; continue main; case 5: $tmp = nms_World_getBlockMaterial($var1, $var6, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 === nms_Material_water) $var5 = 1; if (!$var5) { $var6 = $var3 + 1 | 0; $ptr = 6; continue main; } $var5 = 1; if (!$var5) return; $ptr = 7; continue main; case 6: $tmp = nms_World_getBlockMaterial($var1, $var2, $var6, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 === nms_Material_water) $var5 = 1; if (!$var5) return; $ptr = 7; case 7: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6) { nms_Block_$callClinit(); $var5 = nms_Block_obsidian.$blockID; $ptr = 8; continue main; } if ($var6 > 4) { nms_BlockFluids_func_292_i($this, $var1, $var2, $var3, $var4); return; } nms_Block_$callClinit(); $var5 = nms_Block_cobblestone.$blockID; $ptr = 9; continue main; case 8: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } nms_BlockFluids_func_292_i($this, $var1, $var2, $var3, $var4); return; case 9: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } nms_BlockFluids_func_292_i($this, $var1, $var2, $var3, $var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $ptr); } function nms_BlockFluids_func_292_i($this, $var1, $var2, $var3, $var4) { var $var5, var$6, var$7, var$8; nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(197), 0.5, 2.5999999046325684 + (ju_Random_nextFloat($var1.$rand1) - ju_Random_nextFloat($var1.$rand1)) * 0.800000011920929); $var5 = 0; var$6 = $var2; var$7 = $var3 + 1.2; var$8 = $var4; while ($var5 < 8) { nms_World_spawnParticle($var1, $rt_s(296), var$6 + jl_Math_random(), var$7, var$8 + jl_Math_random(), 0.0, 0.0, 0.0); $var5 = $var5 + 1 | 0; } } function nms_BlockFlowing() { var a = this; nms_BlockFluids.call(a); a.$field_460_a = 0; a.$field_459_b = null; a.$field_461_c = null; } function nms_BlockFlowing__init_(var_0, var_1) { var var_2 = new nms_BlockFlowing(); nms_BlockFlowing__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockFlowing__init_0($this, $var1, $var2) { nms_BlockFluids__init_($this, $var1, $var2); $this.$field_460_a = 0; $this.$field_459_b = $rt_createBooleanArray(4); $this.$field_461_c = $rt_createIntArray(4); } function nms_BlockFlowing_func_15233_j($this, $var1, $var2, $var3, $var4) { var $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; var$6 = $this.$blockID + 1 | 0; $ptr = 2; case 2: nms_World_setBlockAndMetadata($var1, $var2, $var3, $var4, var$6, $var5); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); nms_World_func_665_h($var1, $var2, $var3, $var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockFlowing_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, $var8, $var9, $var12, var$12, $var11, $var10, var$15, $var13, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();$var13 = $thread.pop();var$15 = $thread.pop();$var10 = $thread.pop();$var11 = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockFluids_func_290_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = 1; var$8 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$8 === nms_Material_lava && !$var1.$worldProvider.$field_6479_d) $var7 = 2; $var8 = 1; if ($var6 <= 0) { $ptr = 2; continue main; } $var9 = (-100); $this.$field_460_a = 0; $var12 = $var2 - 1 | 0; $ptr = 3; continue main; case 2: nms_BlockFlowing_func_15233_j($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 3: $tmp = nms_BlockFlowing_func_296_f($this, $var1, $var12, $var3, $var4, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; $var9 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = nms_BlockFlowing_func_296_f($this, $var1, $var9, $var3, $var4, $var12); if ($rt_suspending()) { break main; } $var9 = $tmp; $var12 = $var4 - 1 | 0; $ptr = 5; case 5: $tmp = nms_BlockFlowing_func_296_f($this, $var1, $var2, $var3, $var12, $var9); if ($rt_suspending()) { break main; } $var9 = $tmp; $var12 = $var4 + 1 | 0; $ptr = 6; case 6: $tmp = nms_BlockFlowing_func_296_f($this, $var1, $var2, $var3, $var12, $var9); if ($rt_suspending()) { break main; } $var9 = $tmp; $var11 = $var9 + $var7 | 0; if (!($var11 < 8 && $var9 >= 0)) $var11 = (-1); $var9 = $var3 + 1 | 0; $ptr = 8; continue main; case 7: $tmp = nms_BlockFlowing_func_298_m($this, $var1, $var2, var$12, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9) { if ($var6 >= 8) { $var3 = $this.$blockID; $ptr = 10; continue main; } $var9 = $this.$blockID; $var3 = $var6 + 8 | 0; $ptr = 9; continue main; } if ($var6 >= 0) { if ($var6) { $ptr = 12; continue main; } $var10 = 0; var$15 = $var2 - 1 | 0; $var8 = $var4 - 1 | 0; if ($var10 < 4) { $this.$field_461_c.data[$var10] = 1000; $var9 = !$var10 ? var$15 : $var2; if ($var10 == 1) $var9 = $var9 + 1 | 0; $var12 = $var10 == 2 ? $var8 : $var4; if ($var10 == 3) $var12 = $var12 + 1 | 0; $ptr = 22; continue main; } $var13 = $this.$field_461_c.data; $var9 = $var13[0]; $var12 = 1; while ($var12 < 4) { if ($var13[$var12] < $var9) $var9 = $var13[$var12]; $var12 = $var12 + 1 | 0; } $var12 = 0; while ($var12 < 4) { var$17 = $this.$field_459_b; var$17.data[$var12] = $var13[$var12] != $var9 ? 0 : 1; $var12 = $var12 + 1 | 0; } $var13 = $this.$field_459_b; $var10 = $var6 + $var7 | 0; if ($var6 >= 8) $var10 = 1; if ($var10 >= 8) return; $var13 = $var13.data; if ($var13[0]) { $ptr = 21; continue main; } if ($var13[1]) { $var9 = $var2 + 1 | 0; $ptr = 23; continue main; } if ($var13[2]) { $ptr = 25; continue main; } if ($var13[3]) { $var4 = $var4 + 1 | 0; $ptr = 28; continue main; } } return; case 8: $tmp = nms_BlockFluids_func_290_h($this, $var1, $var2, $var9, $var4); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 >= 0) { $ptr = 11; continue main; } if ($this.$field_460_a >= 2 && $this.$blockMaterial === nms_Material_water) { $var9 = $var3 - 1 | 0; $ptr = 13; continue main; } if ($this.$blockMaterial === nms_Material_lava && $var6 < 8 && $var11 < 8 && $var11 > $var6 && ju_Random_nextInt($var5, 4)) { $var8 = 0; $var11 = $var6; } if ($var11 != $var6) { if ($var11 >= 0) { $ptr = 17; continue main; } $var9 = 0; $ptr = 20; continue main; } if ($var8) { $ptr = 16; continue main; } $var11 = $var6; $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 9: nms_World_setBlockAndMetadataWithNotify($var1, $var2, var$12, $var4, $var9, $var3); if ($rt_suspending()) { break main; } return; case 10: nms_World_setBlockAndMetadataWithNotify($var1, $var2, var$12, $var4, $var3, $var6); if ($rt_suspending()) { break main; } return; case 11: $tmp = nms_BlockFluids_func_290_h($this, $var1, $var2, $var9, $var4); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11 < 8) $var11 = $var11 + 8 | 0; if ($this.$field_460_a >= 2 && $this.$blockMaterial === nms_Material_water) { $var9 = $var3 - 1 | 0; $ptr = 13; continue main; } if ($this.$blockMaterial === nms_Material_lava && $var6 < 8 && $var11 < 8 && $var11 > $var6 && ju_Random_nextInt($var5, 4)) { $var8 = 0; $var11 = $var6; } if ($var11 != $var6) { if ($var11 >= 0) { $ptr = 17; continue main; } $var9 = 0; $ptr = 20; continue main; } if ($var8) { $ptr = 16; continue main; } $var11 = $var6; $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 12: $tmp = nms_BlockFlowing_func_295_l($this, $var1, $var2, var$12, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9) { $var10 = 0; var$15 = $var2 - 1 | 0; $var8 = $var4 - 1 | 0; if ($var10 < 4) { $this.$field_461_c.data[$var10] = 1000; $var9 = !$var10 ? var$15 : $var2; if ($var10 == 1) $var9 = $var9 + 1 | 0; $var12 = $var10 == 2 ? $var8 : $var4; if ($var10 == 3) $var12 = $var12 + 1 | 0; $ptr = 22; continue main; } $var13 = $this.$field_461_c.data; $var9 = $var13[0]; $var12 = 1; while ($var12 < 4) { if ($var13[$var12] < $var9) $var9 = $var13[$var12]; $var12 = $var12 + 1 | 0; } $var12 = 0; while ($var12 < 4) { var$17 = $this.$field_459_b; var$17.data[$var12] = $var13[$var12] != $var9 ? 0 : 1; $var12 = $var12 + 1 | 0; } $var13 = $this.$field_459_b; $var10 = $var6 + $var7 | 0; if ($var6 >= 8) $var10 = 1; if ($var10 >= 8) return; $var13 = $var13.data; if ($var13[0]) { $ptr = 21; continue main; } if ($var13[1]) { $var9 = $var2 + 1 | 0; $ptr = 23; continue main; } if ($var13[2]) { $ptr = 25; continue main; } if ($var13[3]) { $var4 = $var4 + 1 | 0; $ptr = 28; continue main; } } return; case 13: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var9, $var4); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!$var12) { $ptr = 14; continue main; } $var11 = 0; if ($this.$blockMaterial === nms_Material_lava && $var6 < 8 && $var11 < 8 && $var11 > $var6 && ju_Random_nextInt($var5, 4)) { $var8 = 0; $var11 = $var6; } if ($var11 != $var6) { if ($var11 >= 0) { $ptr = 17; continue main; } $var9 = 0; $ptr = 20; continue main; } if ($var8) { $ptr = 16; continue main; } $var11 = $var6; $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 14: $tmp = nms_World_getBlockMaterial($var1, $var2, $var9, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 === $this.$blockMaterial) { $ptr = 15; continue main; } if ($this.$blockMaterial === nms_Material_lava && $var6 < 8 && $var11 < 8 && $var11 > $var6 && ju_Random_nextInt($var5, 4)) { $var8 = 0; $var11 = $var6; } if ($var11 != $var6) { if ($var11 >= 0) { $ptr = 17; continue main; } $var9 = 0; $ptr = 20; continue main; } if ($var8) { $ptr = 16; continue main; } $var11 = $var6; $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 15: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if (!$var9) $var11 = 0; if ($this.$blockMaterial === nms_Material_lava && $var6 < 8 && $var11 < 8 && $var11 > $var6 && ju_Random_nextInt($var5, 4)) { $var8 = 0; $var11 = $var6; } if ($var11 != $var6) { if ($var11 >= 0) { $ptr = 17; continue main; } $var9 = 0; $ptr = 20; continue main; } if ($var8) { $ptr = 16; continue main; } $var11 = $var6; $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 16: nms_BlockFlowing_func_15233_j($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var11 = $var6; $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 17: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var11); if ($rt_suspending()) { break main; } $var9 = $this.$blockID; $ptr = 18; case 18: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, $var9); if ($rt_suspending()) { break main; } $var9 = $this.$blockID; $ptr = 19; case 19: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var9); if ($rt_suspending()) { break main; } $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 20: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var9); if ($rt_suspending()) { break main; } $var6 = $var11; var$12 = $var3 - 1 | 0; $ptr = 7; continue main; case 21: nms_BlockFlowing_func_299_g($this, $var1, var$15, $var3, $var4, $var10); if ($rt_suspending()) { break main; } if ($var13[1]) { $var9 = $var2 + 1 | 0; $ptr = 23; continue main; } if ($var13[2]) { $ptr = 25; continue main; } if (!$var13[3]) return; $var4 = $var4 + 1 | 0; $ptr = 28; continue main; case 22: $tmp = nms_BlockFlowing_func_295_l($this, $var1, $var9, $var3, $var12); if ($rt_suspending()) { break main; } $var11 = $tmp; if (!$var11) { $ptr = 24; continue main; } $var10 = $var10 + 1 | 0; if ($var10 >= 4) { $var13 = $this.$field_461_c.data; $var9 = $var13[0]; $var12 = 1; while ($var12 < 4) { if ($var13[$var12] < $var9) $var9 = $var13[$var12]; $var12 = $var12 + 1 | 0; } $var12 = 0; while ($var12 < 4) { var$17 = $this.$field_459_b; var$17.data[$var12] = $var13[$var12] != $var9 ? 0 : 1; $var12 = $var12 + 1 | 0; } $var13 = $this.$field_459_b; $var10 = $var6 + $var7 | 0; if ($var6 >= 8) $var10 = 1; if ($var10 >= 8) return; $var13 = $var13.data; if ($var13[0]) { $ptr = 21; continue main; } if ($var13[1]) { $var9 = $var2 + 1 | 0; $ptr = 23; continue main; } if ($var13[2]) { $ptr = 25; continue main; } if (!$var13[3]) return; $var4 = $var4 + 1 | 0; $ptr = 28; continue main; } $this.$field_461_c.data[$var10] = 1000; $var9 = !$var10 ? var$15 : $var2; if ($var10 == 1) $var9 = $var9 + 1 | 0; $var12 = $var10 == 2 ? $var8 : $var4; if ($var10 == 3) $var12 = $var12 + 1 | 0; continue main; case 23: nms_BlockFlowing_func_299_g($this, $var1, $var9, $var3, $var4, $var10); if ($rt_suspending()) { break main; } if ($var13[2]) { $ptr = 25; continue main; } if (!$var13[3]) return; $var4 = $var4 + 1 | 0; $ptr = 28; continue main; case 24: $tmp = nms_World_getBlockMaterial($var1, $var9, $var3, $var12); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 !== $this.$blockMaterial) { $ptr = 26; continue main; } $ptr = 27; continue main; case 25: nms_BlockFlowing_func_299_g($this, $var1, $var2, $var3, $var8, $var10); if ($rt_suspending()) { break main; } if (!$var13[3]) return; $var4 = $var4 + 1 | 0; $ptr = 28; continue main; case 26: $tmp = nms_BlockFlowing_func_295_l($this, $var1, $var9, var$12, $var12); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11) { $var13 = $this.$field_461_c.data; $var11 = 1; $ptr = 29; continue main; } $this.$field_461_c.data[$var10] = 0; $var10 = $var10 + 1 | 0; if ($var10 >= 4) { $var13 = $this.$field_461_c.data; $var9 = $var13[0]; $var12 = 1; while ($var12 < 4) { if ($var13[$var12] < $var9) $var9 = $var13[$var12]; $var12 = $var12 + 1 | 0; } $var12 = 0; while ($var12 < 4) { var$17 = $this.$field_459_b; var$17.data[$var12] = $var13[$var12] != $var9 ? 0 : 1; $var12 = $var12 + 1 | 0; } $var13 = $this.$field_459_b; $var10 = $var6 + $var7 | 0; if ($var6 >= 8) $var10 = 1; if ($var10 >= 8) return; $var13 = $var13.data; if ($var13[0]) { $ptr = 21; continue main; } if ($var13[1]) { $var9 = $var2 + 1 | 0; $ptr = 23; continue main; } if ($var13[2]) { $ptr = 25; continue main; } if (!$var13[3]) return; $var4 = $var4 + 1 | 0; $ptr = 28; continue main; } $this.$field_461_c.data[$var10] = 1000; $var9 = !$var10 ? var$15 : $var2; if ($var10 == 1) $var9 = $var9 + 1 | 0; $var12 = $var10 == 2 ? $var8 : $var4; if ($var10 == 3) $var12 = $var12 + 1 | 0; $ptr = 22; continue main; case 27: $tmp = nms_World_getBlockMetadata($var1, $var9, $var3, $var12); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11) { $ptr = 26; continue main; } $var10 = $var10 + 1 | 0; if ($var10 >= 4) { $var13 = $this.$field_461_c.data; $var9 = $var13[0]; $var12 = 1; while ($var12 < 4) { if ($var13[$var12] < $var9) $var9 = $var13[$var12]; $var12 = $var12 + 1 | 0; } $var12 = 0; while ($var12 < 4) { var$17 = $this.$field_459_b; var$17.data[$var12] = $var13[$var12] != $var9 ? 0 : 1; $var12 = $var12 + 1 | 0; } $var13 = $this.$field_459_b; $var10 = $var6 + $var7 | 0; if ($var6 >= 8) $var10 = 1; if ($var10 >= 8) return; $var13 = $var13.data; if ($var13[0]) { $ptr = 21; continue main; } if ($var13[1]) { $var9 = $var2 + 1 | 0; $ptr = 23; continue main; } if ($var13[2]) { $ptr = 25; continue main; } if (!$var13[3]) return; $var4 = $var4 + 1 | 0; $ptr = 28; continue main; } $this.$field_461_c.data[$var10] = 1000; $var9 = !$var10 ? var$15 : $var2; if ($var10 == 1) $var9 = $var9 + 1 | 0; $var12 = $var10 == 2 ? $var8 : $var4; if ($var10 == 3) $var12 = $var12 + 1 | 0; $ptr = 22; continue main; case 28: nms_BlockFlowing_func_299_g($this, $var1, $var2, $var3, $var4, $var10); if ($rt_suspending()) { break main; } return; case 29: $tmp = nms_BlockFlowing_func_300_a($this, $var1, $var9, $var3, $var12, $var11, $var10); if ($rt_suspending()) { break main; } $var9 = $tmp; $var13[$var10] = $var9; $var10 = $var10 + 1 | 0; if ($var10 >= 4) { $var13 = $this.$field_461_c.data; $var9 = $var13[0]; $var12 = 1; while ($var12 < 4) { if ($var13[$var12] < $var9) $var9 = $var13[$var12]; $var12 = $var12 + 1 | 0; } $var12 = 0; while ($var12 < 4) { var$17 = $this.$field_459_b; var$17.data[$var12] = $var13[$var12] != $var9 ? 0 : 1; $var12 = $var12 + 1 | 0; } $var13 = $this.$field_459_b; $var10 = $var6 + $var7 | 0; if ($var6 >= 8) $var10 = 1; if ($var10 >= 8) return; $var13 = $var13.data; if ($var13[0]) { $ptr = 21; continue main; } if ($var13[1]) { $var9 = $var2 + 1 | 0; $ptr = 23; continue main; } if ($var13[2]) { $ptr = 25; continue main; } if (!$var13[3]) return; $var4 = $var4 + 1 | 0; $ptr = 28; continue main; } $this.$field_461_c.data[$var10] = 1000; $var9 = !$var10 ? var$15 : $var2; if ($var10 == 1) $var9 = $var9 + 1 | 0; $var12 = $var10 == 2 ? $var8 : $var4; if ($var10 == 3) $var12 = $var12 + 1 | 0; $ptr = 22; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var8, $var9, $var12, var$12, $var11, $var10, var$15, $var13, var$17, $ptr); } function nms_BlockFlowing_func_299_g($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockFlowing_func_298_m($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6) return; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 > 0) { var$7 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$7 !== nms_Material_lava) { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$var6]; $ptr = 4; continue main; } nms_BlockFluids_func_292_i($this, $var1, $var2, $var3, $var4); } $var6 = $this.$blockID; $ptr = 3; case 3: nms_World_setBlockAndMetadataWithNotify($var1, $var2, $var3, $var4, $var6, $var5); if ($rt_suspending()) { break main; } return; case 4: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $ptr = 5; case 5: var$7.$dropBlockAsItem($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var6 = $this.$blockID; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockFlowing_func_300_a($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var12, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var12 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = 1000; $var8 = 0; var$9 = $rt_compare($var6, 1); var$10 = $rt_compare($var6, 3); var$11 = $rt_compare($var6, 2); var$12 = $var2 - 1 | 0; var$13 = $var4 - 1 | 0; var$14 = $var3 - 1 | 0; var$15 = $rt_compare($var5, 4); var$16 = $var5 + 1 | 0; a: { while ($var8 < 4) { if (!(!$var8 && !var$9)) { var$17 = $rt_compare($var8, 1); if (!(!var$17 && !$var6)) { var$18 = $rt_compare($var8, 2); if (!(!var$18 && !var$10)) { $var12 = $rt_compare($var8, 3); if ($var12) break a; if (var$11) break a; } } } $var8 = $var8 + 1 | 0; } return $var7; } var$20 = !$var8 ? var$12 : $var2; if (!var$17) var$20 = var$20 + 1 | 0; var$17 = !var$18 ? var$13 : $var4; if (!$var12) var$17 = var$17 + 1 | 0; $ptr = 1; case 1: $tmp = nms_BlockFlowing_func_295_l($this, $var1, var$20, $var3, var$17); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!$var12) { $ptr = 2; continue main; } b: { while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 4) break; if (!$var8 && !var$9) continue; var$17 = $rt_compare($var8, 1); if (!var$17 && !$var6) continue; var$18 = $rt_compare($var8, 2); if (!var$18 && !var$10) continue; $var12 = $rt_compare($var8, 3); if ($var12) break b; if (var$11) break b; } return $var7; } var$20 = !$var8 ? var$12 : $var2; if (!var$17) var$20 = var$20 + 1 | 0; var$17 = !var$18 ? var$13 : $var4; if (!$var12) var$17 = var$17 + 1 | 0; continue main; case 2: $tmp = nms_World_getBlockMaterial($var1, var$20, $var3, var$17); if ($rt_suspending()) { break main; } var$21 = $tmp; if (var$21 !== $this.$blockMaterial) { $ptr = 3; continue main; } $ptr = 4; continue main; case 3: $tmp = nms_BlockFlowing_func_295_l($this, $var1, var$20, var$14, var$17); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!$var12) return $var5; if (var$15 < 0) { $ptr = 5; continue main; } c: { while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 4) break; if (!$var8 && !var$9) continue; var$17 = $rt_compare($var8, 1); if (!var$17 && !$var6) continue; var$18 = $rt_compare($var8, 2); if (!var$18 && !var$10) continue; $var12 = $rt_compare($var8, 3); if ($var12) break c; if (var$11) break c; } return $var7; } var$20 = !$var8 ? var$12 : $var2; if (!var$17) var$20 = var$20 + 1 | 0; var$17 = !var$18 ? var$13 : $var4; if (!$var12) var$17 = var$17 + 1 | 0; $ptr = 1; continue main; case 4: $tmp = nms_World_getBlockMetadata($var1, var$20, $var3, var$17); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12) { $ptr = 3; continue main; } b: { while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 4) break; if (!$var8 && !var$9) continue; var$17 = $rt_compare($var8, 1); if (!var$17 && !$var6) continue; var$18 = $rt_compare($var8, 2); if (!var$18 && !var$10) continue; $var12 = $rt_compare($var8, 3); if ($var12) break b; if (var$11) break b; } return $var7; } var$20 = !$var8 ? var$12 : $var2; if (!var$17) var$20 = var$20 + 1 | 0; var$17 = !var$18 ? var$13 : $var4; if (!$var12) var$17 = var$17 + 1 | 0; $ptr = 1; continue main; case 5: $tmp = nms_BlockFlowing_func_300_a($this, $var1, var$20, $var3, var$17, var$16, $var8); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 < $var7) $var7 = $var12; c: { while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 4) break; if (!$var8 && !var$9) continue; var$17 = $rt_compare($var8, 1); if (!var$17 && !$var6) continue; var$18 = $rt_compare($var8, 2); if (!var$18 && !var$10) continue; $var12 = $rt_compare($var8, 3); if ($var12) break c; if (var$11) break c; } return $var7; } var$20 = !$var8 ? var$12 : $var2; if (!var$17) var$20 = var$20 + 1 | 0; var$17 = !var$18 ? var$13 : $var4; if (!$var12) var$17 = var$17 + 1 | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var12, var$20, var$21, $ptr); } function nms_BlockFlowing_func_295_l($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Block_$callClinit(); if ($var5 != nms_Block_doorWood.$blockID && $var5 != nms_Block_doorSteel.$blockID && $var5 != nms_Block_signPost.$blockID && $var5 != nms_Block_ladder.$blockID && $var5 != nms_Block_reed.$blockID) { if (!$var5) return 0; return nms_Block_blocksList.data[$var5].$blockMaterial.$func_878_a(); } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockFlowing_func_296_f($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockFluids_func_290_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 < 0) return $var5; if (!$var6) $this.$field_460_a = $this.$field_460_a + 1 | 0; if ($var6 >= 8) $var6 = 0; if ($var5 >= 0 && $var6 >= $var5) $var6 = $var5; return $var6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockFlowing_func_298_m($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 === $this.$blockMaterial) $var2 = 0; else { nms_Material_$callClinit(); if ($var5 !== nms_Material_lava) { $ptr = 2; continue main; } $var2 = 0; } return $var2; case 2: $tmp = nms_BlockFlowing_func_295_l($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockFlowing_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFluids_checkForHarden($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; var$6 = $this.$blockID; if (var$5 != var$6) return; $ptr = 3; case 3: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $ptr); } var nms_BlockStationary = $rt_classWithoutFields(nms_BlockFluids); function nms_BlockStationary__init_(var_0, var_1) { var var_2 = new nms_BlockStationary(); nms_BlockStationary__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockStationary__init_0($this, $var1, $var2) { nms_BlockFluids__init_($this, $var1, $var2); nms_Block_setTickOnLoad($this, 0); nms_Material_$callClinit(); if ($var2 === nms_Material_lava) nms_Block_setTickOnLoad($this, 1); } function nms_BlockStationary_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockFluids_checkForHarden($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 != $this.$blockID) return; $ptr = 3; case 3: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; $var1.$field_1043_h = 1; $var5 = $this.$blockID - 1 | 0; $ptr = 4; case 4: nms_World_setBlockAndMetadata($var1, $var2, $var3, $var4, $var5, var$6); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); $var5 = $this.$blockID - 1 | 0; $ptr = 5; case 5: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var1.$field_1043_h = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStationary_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $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: var$6 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$6 === nms_Material_lava) { $var6 = ju_Random_nextInt($var5, 3); $var7 = 0; if ($var7 < $var6) { $var2 = $var2 + (ju_Random_nextInt($var5, 3) - 1 | 0) | 0; $var3 = $var3 + 1 | 0; $var4 = $var4 + (ju_Random_nextInt($var5, 3) - 1 | 0) | 0; $ptr = 1; continue main; } } return; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $var8 = $var2 - 1 | 0; $ptr = 2; continue main; } nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var8].$blockMaterial.$func_880_c()) return; $var7 = $var7 + 1 | 0; if ($var7 >= $var6) return; $var2 = $var2 + (ju_Random_nextInt($var5, 3) - 1 | 0) | 0; $var3 = $var3 + 1 | 0; $var4 = $var4 + (ju_Random_nextInt($var5, 3) - 1 | 0) | 0; continue main; case 2: $tmp = nms_BlockStationary_func_301_k($this, $var1, $var8, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $var8 = $var2 + 1 | 0; $ptr = 4; continue main; } nms_Block_$callClinit(); $var6 = nms_Block_fire.$blockID; $ptr = 3; case 3: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; case 4: $tmp = nms_BlockStationary_func_301_k($this, $var1, $var8, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $var8 = $var4 - 1 | 0; $ptr = 5; continue main; } nms_Block_$callClinit(); $var6 = nms_Block_fire.$blockID; $ptr = 3; continue main; case 5: $tmp = nms_BlockStationary_func_301_k($this, $var1, $var2, $var3, $var8); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $var8 = $var4 + 1 | 0; $ptr = 6; continue main; } nms_Block_$callClinit(); $var6 = nms_Block_fire.$blockID; $ptr = 3; continue main; case 6: $tmp = nms_BlockStationary_func_301_k($this, $var1, $var2, $var3, $var8); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $var8 = $var3 - 1 | 0; $ptr = 7; continue main; } nms_Block_$callClinit(); $var6 = nms_Block_fire.$blockID; $ptr = 3; continue main; case 7: $tmp = nms_BlockStationary_func_301_k($this, $var1, $var2, $var8, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $var8 = $var3 + 1 | 0; $ptr = 8; continue main; } nms_Block_$callClinit(); $var6 = nms_Block_fire.$blockID; $ptr = 3; continue main; case 8: $tmp = nms_BlockStationary_func_301_k($this, $var1, $var2, $var8, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8) { nms_Block_$callClinit(); $var6 = nms_Block_fire.$blockID; $ptr = 3; continue main; } $var7 = $var7 + 1 | 0; if ($var7 >= $var6) return; $var2 = $var2 + (ju_Random_nextInt($var5, 3) - 1 | 0) | 0; $var3 = $var3 + 1 | 0; $var4 = $var4 + (ju_Random_nextInt($var5, 3) - 1 | 0) | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, $var8, $ptr); } function nms_BlockStationary_func_301_k($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1.$canBurn; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } var nms_BlockSand = $rt_classWithoutFields(nms_Block); var nms_BlockSand_fallInstantly = 0; function nms_BlockSand__init_(var_0, var_1) { var var_2 = new nms_BlockSand(); nms_BlockSand__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockSand__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_sand); } function nms_BlockSand_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$blockID; $ptr = 1; case 1: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockSand_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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.$blockID; $ptr = 1; case 1: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockSand_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) var$6 = 1; else { nms_Block_$callClinit(); if (var$6 == nms_Block_fire.$blockID) var$6 = 1; else { $var5 = nms_Block_blocksList.data[var$6].$blockMaterial; nms_Material_$callClinit(); var$6 = $var5 === nms_Material_water ? 1 : $var5 !== nms_Material_lava ? 0 : 1; } } if (var$6 && $var3 >= 0) { $var5 = new nms_EntityFallingSand; var$7 = $var2 + 0.5; var$8 = $var3 + 0.5; var$9 = $var4 + 0.5; $var2 = $this.$blockID; nms_Entity__init_($var5, $var1); $var5.$field_798_b = 0; $var5.$field_799_a = $var2; $var5.$field_618_ad = 1; nms_Entity_setSize($var5, 0.9800000190734863, 0.9800000190734863); $var5.$yOffset = $var5.$height / 2.0; var$10 = var$7; var$11 = var$8; var$12 = var$9; nms_Entity_setPosition($var5, var$10, var$11, var$12); $var5.$motionX = 0.0; $var5.$motionY = 0.0; $var5.$motionZ = 0.0; $var5.$entityWalks = 0; $var5.$prevPosX = var$10; $var5.$prevPosY = var$11; $var5.$prevPosZ = var$12; if (!nms_BlockSand_fallInstantly) { $ptr = 2; continue main; } if (!$var5.$isDead) { $ptr = 3; continue main; } } return; case 2: nms_World_entityJoinedWorld($var1, $var5); if ($rt_suspending()) { break main; } return; case 3: nms_EntityFallingSand_onUpdate($var5); if ($rt_suspending()) { break main; } if ($var5.$isDead) return; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); } function nms_BlockSand_tickRate($this) { return 3; } function nms_BlockSand__clinit_() { nms_BlockSand_fallInstantly = 0; } var nms_BlockGravel = $rt_classWithoutFields(nms_BlockSand); function nms_BlockGravel__init_(var_0, var_1) { var var_2 = new nms_BlockGravel(); nms_BlockGravel__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockGravel__init_0($this, $var1, $var2) { nms_BlockSand__init_0($this, $var1, $var2); } function nms_BlockGravel_idDropped($this, $var1, $var2) { if (ju_Random_nextInt($var2, 10)) $var1 = $this.$blockID; else { nms_Item_$callClinit(); $var1 = nms_Item_flint.$shiftedIndex; } return $var1; } var nms_BlockOre = $rt_classWithoutFields(nms_Block); function nms_BlockOre__init_(var_0, var_1) { var var_2 = new nms_BlockOre(); nms_BlockOre__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockOre__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_rock); } function nms_BlockOre_idDropped($this, $var1, $var2) { $var1 = $this.$blockID; nms_Block_$callClinit(); if ($var1 == nms_Block_oreCoal.$blockID) { nms_Item_$callClinit(); $var1 = nms_Item_coal.$shiftedIndex; } else if ($var1 == nms_Block_oreDiamond.$blockID) { nms_Item_$callClinit(); $var1 = nms_Item_diamond.$shiftedIndex; } return $var1; } function nms_BlockOre_quantityDropped($this, $var1) { return 1; } var nms_BlockLog = $rt_classWithoutFields(nms_Block); function nms_BlockLog__init_(var_0) { var var_1 = new nms_BlockLog(); nms_BlockLog__init_0(var_1, var_0); return var_1; } function nms_BlockLog__init_0($this, $var1) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_wood); $this.$blockIndexInTexture = 20; } function nms_BlockLog_quantityDropped($this, $var1) { return 1; } function nms_BlockLog_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_wood.$blockID; } function nms_BlockLog_getBlockTextureFromSide($this, $var1) { return $var1 == 1 ? 21 : $var1 ? 20 : 21; } function nms_BlockLeavesBase() { nms_Block.call(this); this.$graphicsLevel = 0; } function nms_BlockLeavesBase_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockId($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$this.$graphicsLevel && $var6 == $this.$blockID) return 0; $ptr = 2; case 2: $tmp = nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockLeaves() { var a = this; nms_BlockLeavesBase.call(a); a.$baseIndexInPNG = 0; a.$field_464_c = 0; } function nms_BlockLeaves__init_(var_0, var_1) { var var_2 = new nms_BlockLeaves(); nms_BlockLeaves__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockLeaves__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_leaves); $this.$graphicsLevel = 0; $this.$field_464_c = 0; $this.$baseIndexInPNG = $var2; } function nms_BlockLeaves_colorMultiplier($this, $var1, $var2, $var3, $var4) { var $var5, $var7, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var7 = $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: ($var1.$func_4075_a()).$func_4069_a($var2, $var4, 1, 1); $var5 = ($var1.$func_4075_a()).$temperature.data[0]; $var7 = ($var1.$func_4075_a()).$humidity.data[0]; if (nms_ColorizerFoliage_field_6529_a !== null) { $var7 = $var7 * $var5; $var2 = (1.0 - $var5) * 255.0 | 0; $var3 = (1.0 - $var7) * 255.0 | 0; return nms_ColorizerFoliage_field_6529_a.data[$var3 << 8 | $var2]; } var$7 = nlea_EaglerAdapterImpl2_loadResourceBytes($rt_s(297)); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$7); if ($rt_suspending()) { break main; } $var1 = $tmp; nms_ColorizerFoliage_field_6529_a = $var1.$data; $var7 = $var7 * $var5; $var2 = (1.0 - $var5) * 255.0 | 0; $var3 = (1.0 - $var7) * 255.0 | 0; return nms_ColorizerFoliage_field_6529_a.data[$var3 << 8 | $var2]; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var7, var$7, $ptr); } function nms_BlockLeaves_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockLeaves_func_6361_f($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 != $this.$blockID) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 && $var6 == ($var5 - 1 | 0)) { $ptr = 3; continue main; } return; case 3: nms_BlockLeaves_func_308_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockLeaves_func_308_h($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockLeaves_func_6362_g($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Block_$callClinit(); if ($var6 == nms_Block_wood.$blockID) return 16; if ($var6 != $this.$blockID) return $var5; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 && $var7 > $var5) return $var7; return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockLeaves_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockLeaves_quantityDropped($this, $var1) { return ju_Random_nextInt($var1, 20) ? 0 : 1; } function nms_BlockLeaves_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_sapling.$blockID; } function nms_BlockLeaves_isOpaqueCube($this) { return $this.$graphicsLevel ? 0 : 1; } function nms_BlockLeaves_onEntityWalking($this, $var1, $var2, $var3, $var4, $var5) {} var nms_BlockSponge = $rt_classWithoutFields(nms_Block); function nms_BlockSponge__init_(var_0) { var var_1 = new nms_BlockSponge(); nms_BlockSponge__init_0(var_1, var_0); return var_1; } function nms_BlockSponge__init_0($this, $var1) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_sponge); $this.$blockIndexInTexture = 48; } function nms_BlockSponge_onBlockAdded($this, $var1, $var2, $var3, $var4) { var $var6, var$6, var$7, var$8, $var7, $var8, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $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: $var6 = $var2 - 2 | 0; var$6 = $var2 + 2 | 0; var$7 = $var3 - 2 | 0; $var3 = $var3 + 2 | 0; var$8 = $var4 - 2 | 0; $var4 = $var4 + 2 | 0; while ($var6 <= var$6) { $var7 = var$7; while ($var7 <= $var3) { $var8 = var$8; if ($var8 <= $var4) { $ptr = 1; continue main; } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } return; case 1: $tmp = nms_World_getBlockMaterial($var1, $var6, $var7, $var8); if ($rt_suspending()) { break main; } var$11 = $tmp; nms_Material_$callClinit(); $var8 = $var8 + 1 | 0; a: while (true) { if ($var8 <= $var4) { continue main; } $var7 = $var7 + 1 | 0; while ($var7 > $var3) { $var6 = $var6 + 1 | 0; if ($var6 > var$6) break a; $var7 = var$7; } $var8 = var$8; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var6, var$6, var$7, var$8, $var7, $var8, var$11, $ptr); } function nms_BlockSponge_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var $var6, var$6, var$7, var$8, var$9, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $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: $var6 = $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 ($var6 <= var$6) { $var7 = var$7; while ($var7 <= var$8) { $var8 = var$9; if ($var8 <= $var2) { $ptr = 1; continue main; } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } return; case 1: $tmp = nms_World_getBlockId($var1, $var6, $var7, $var8); if ($rt_suspending()) { break main; } $var3 = $tmp; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var6, $var7, $var8, $var3); if ($rt_suspending()) { break main; } $var8 = $var8 + 1 | 0; a: while (true) { if ($var8 <= $var2) { $ptr = 1; continue main; } $var7 = $var7 + 1 | 0; while ($var7 > var$8) { $var6 = $var6 + 1 | 0; if ($var6 > var$6) break a; $var7 = var$7; } $var8 = var$9; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var6, var$6, var$7, var$8, var$9, $var7, $var8, $ptr); } function nms_BlockBreakable() { nms_Block.call(this); this.$field_6363_a = 0; } function nms_BlockBreakable__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_BlockBreakable(); nms_BlockBreakable__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_BlockBreakable__init_0($this, $var1, $var2, $var3, $var4) { nms_Block__init_2($this, $var1, $var2, $var3); $this.$field_6363_a = $var4; } function nms_BlockBreakable_isOpaqueCube($this) { return 0; } function nms_BlockBreakable_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockId($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$this.$field_6363_a && $var6 == $this.$blockID) return 0; $ptr = 2; case 2: $tmp = nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } var nms_BlockGlass = $rt_classWithoutFields(nms_BlockBreakable); function nms_BlockGlass__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_BlockGlass(); nms_BlockGlass__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_BlockGlass__init_0($this, $var1, $var2, $var3, $var4) { nms_BlockBreakable__init_0($this, $var1, $var2, $var3, $var4); } function nms_BlockGlass_quantityDropped($this, $var1) { return 0; } var nms_BlockMushroom = $rt_classWithoutFields(nms_BlockFlower); function nms_BlockMushroom__init_(var_0, var_1) { var var_2 = new nms_BlockMushroom(); nms_BlockMushroom__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockMushroom__init_0($this, $var1, $var2) { nms_BlockFlower__init_0($this, $var1, $var2); nms_Block_setBlockBounds($this, 0.30000001192092896, 0.0, 0.30000001192092896, 0.699999988079071, 0.4000000059604645, 0.699999988079071); } function nms_BlockMushroom_canThisPlantGrowOnThisBlockID($this, $var1) { nms_Block_$callClinit(); return nms_Block_opaqueCubeLookup.data[$var1]; } function nms_BlockMushroom_canBlockStay($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockLightValue($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 13) return 0; $var3 = $var3 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return !nms_BlockMushroom_canThisPlantGrowOnThisBlockID($this, $var2) ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } var nms_BlockOreBlock = $rt_classWithoutFields(nms_Block); function nms_BlockOreBlock__init_(var_0, var_1) { var var_2 = new nms_BlockOreBlock(); nms_BlockOreBlock__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockOreBlock__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_iron); $this.$blockIndexInTexture = $var2; } function nms_BlockOreBlock_getBlockTextureFromSide($this, $var1) { return $this.$blockIndexInTexture - 16 | 0; } function nms_BlockStep() { nms_Block.call(this); this.$field_469_a = 0; } function nms_BlockStep__init_(var_0, var_1) { var var_2 = new nms_BlockStep(); nms_BlockStep__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockStep__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, 6, nms_Material_rock); $this.$field_469_a = $var2; if (!$var2) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.5, 1.0); nms_Block_setLightOpacity($this, 255); } function nms_BlockStep_getBlockTextureFromSide($this, $var1) { return $var1 > 1 ? 5 : 6; } function nms_BlockStep_isOpaqueCube($this) { return $this.$field_469_a; } function nms_BlockStep_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { nms_Block_$callClinit(); } function nms_BlockStep_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Block_$callClinit(); var$5 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 != nms_Block_stairSingle.$blockID) return; $var5 = 0; $ptr = 2; case 2: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var3 = nms_Block_stairDouble.$blockID; $ptr = 3; case 3: nms_World_setBlockWithNotify($var1, $var2, var$5, $var4, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var5, $ptr); } function nms_BlockStep_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_stairSingle.$blockID; } function nms_BlockStep_renderAsNormalBlock($this) { return $this.$field_469_a; } function nms_BlockStep_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: nms_Block_$callClinit(); if ($this !== nms_Block_stairSingle) { $ptr = 1; continue main; } if ($var5 == 1) return 1; $ptr = 2; continue main; case 1: nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } if ($var5 == 1) return 1; $ptr = 2; case 2: $tmp = nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) $var2 = 0; else { if ($var5) { $ptr = 3; continue main; } $var2 = 1; } return $var2; case 3: $tmp = $var1.$getBlockId($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2 == $this.$blockID ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } var nms_BlockTNT = $rt_classWithoutFields(nms_Block); function nms_BlockTNT__init_(var_0, var_1) { var var_2 = new nms_BlockTNT(); nms_BlockTNT__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockTNT__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_tnt); } function nms_BlockTNT_getBlockTextureFromSide($this, $var1) { return !$var1 ? $this.$blockIndexInTexture + 2 | 0 : $var1 != 1 ? $this.$blockIndexInTexture : $this.$blockIndexInTexture + 1 | 0; } function nms_BlockTNT_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { $ptr = 1; continue main; } } return; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return; $var5 = 0; $ptr = 2; case 2: nms_BlockTNT_onBlockDestroyedByPlayer($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 3; case 3: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockTNT_quantityDropped($this, $var1) { return 0; } function nms_BlockTNT_onBlockDestroyedByExplosion($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = nms_EntityTNTPrimed__init_($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5); $var5.$fuse = ju_Random_nextInt($var1.$rand1, $var5.$fuse / 4 | 0) + ($var5.$fuse / 8 | 0) | 0; $ptr = 1; case 1: nms_World_entityJoinedWorld($var1, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockTNT_onBlockDestroyedByPlayer($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_EntityTNTPrimed__init_($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5); $ptr = 1; case 1: nms_World_entityJoinedWorld($var1, $var6); if ($rt_suspending()) { break main; } nms_World_playSoundAtEntity($var1, $var6, $rt_s(298), 1.0, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } var nms_BlockBookshelf = $rt_classWithoutFields(nms_Block); function nms_BlockBookshelf__init_(var_0, var_1) { var var_2 = new nms_BlockBookshelf(); nms_BlockBookshelf__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockBookshelf__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_wood); } function nms_BlockBookshelf_getBlockTextureFromSide($this, $var1) { return $var1 > 1 ? $this.$blockIndexInTexture : 4; } function nms_BlockBookshelf_quantityDropped($this, $var1) { return 0; } var nms_BlockObsidian = $rt_classWithoutFields(nms_BlockStone); function nms_BlockObsidian__init_(var_0, var_1) { var var_2 = new nms_BlockObsidian(); nms_BlockObsidian__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockObsidian__init_0($this, $var1, $var2) { nms_BlockStone__init_0($this, $var1, $var2); } function nms_BlockObsidian_quantityDropped($this, $var1) { return 1; } function nms_BlockObsidian_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_obsidian.$blockID; } var nms_BlockTorch = $rt_classWithoutFields(nms_Block); function nms_BlockTorch__init_(var_0, var_1) { var var_2 = new nms_BlockTorch(); nms_BlockTorch__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockTorch__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_circuits); nms_Block_setTickOnLoad($this, 1); } function nms_BlockTorch_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockTorch_isOpaqueCube($this) { return 0; } function nms_BlockTorch_renderAsNormalBlock($this) { return 0; } function nms_BlockTorch_getRenderType($this) { return 2; } function nms_BlockTorch_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var4 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $var3 = $var3 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockTorch_onBlockPlaced($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var5 == 1) { var$7 = $var3 - 1 | 0; $ptr = 2; continue main; } if ($var5 == 2) { var$7 = $var4 + 1 | 0; $ptr = 3; continue main; } if ($var5 == 3) { var$7 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var5 == 4) { var$7 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 != 5) { $ptr = 7; continue main; } $var5 = $var2 - 1 | 0; $ptr = 6; continue main; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$7, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) $var6 = 5; if ($var5 == 2) { var$7 = $var4 + 1 | 0; $ptr = 3; continue main; } if ($var5 == 3) { var$7 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var5 == 4) { var$7 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 != 5) { $ptr = 7; continue main; } $var5 = $var2 - 1 | 0; $ptr = 6; continue main; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) $var6 = 4; if ($var5 == 3) { var$7 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var5 == 4) { var$7 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 != 5) { $ptr = 7; continue main; } $var5 = $var2 - 1 | 0; $ptr = 6; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) $var6 = 3; if ($var5 == 4) { var$7 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 != 5) { $ptr = 7; continue main; } $var5 = $var2 - 1 | 0; $ptr = 6; continue main; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) $var6 = 2; if ($var5 != 5) { $ptr = 7; continue main; } $var5 = $var2 - 1 | 0; $ptr = 6; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $var6 = 1; $ptr = 7; case 7: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockTorch_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6) return; $ptr = 2; case 2: $this.$onBlockAdded($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockTorch_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 1; $ptr = 3; continue main; } var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 2; $ptr = 5; continue main; } var$5 = $var4 - 1 | 0; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 3; $ptr = 8; continue main; } var$5 = $var4 + 1 | 0; $ptr = 7; continue main; case 5: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; case 6: nms_BlockTorch_func_271_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; case 7: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 4; $ptr = 10; continue main; } var$5 = $var3 - 1 | 0; $ptr = 9; continue main; case 8: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 9: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { $ptr = 6; continue main; } var$5 = 5; $ptr = 11; continue main; case 10: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 11: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockTorch_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockTorch_func_271_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = 0; $var5 = $var2 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 1) $var7 = 1; $var5 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 2) $var7 = 1; $var5 = $var4 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 3) $var7 = 1; $var5 = $var4 + 1 | 0; $ptr = 6; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 4) $var7 = 1; $var5 = $var3 - 1 | 0; $ptr = 7; case 7: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 5) $var7 = 1; if (!$var7) return; $ptr = 8; case 8: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 9; case 9: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 10; case 10: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockTorch_func_271_h($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockTorch_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockTorch_collisionRayTrace($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; $var7 = var$7 & 7; if ($var7 == 1) nms_Block_setBlockBounds($this, 0.0, 0.20000000298023224, 0.3499999940395355, 0.30000001192092896, 0.800000011920929, 0.6499999761581421); else if ($var7 == 2) nms_Block_setBlockBounds($this, 0.699999988079071, 0.20000000298023224, 0.3499999940395355, 1.0, 0.800000011920929, 0.6499999761581421); else if ($var7 == 3) nms_Block_setBlockBounds($this, 0.3499999940395355, 0.20000000298023224, 0.0, 0.6499999761581421, 0.800000011920929, 0.30000001192092896); else if ($var7 != 4) nms_Block_setBlockBounds($this, 0.4000000059604645, 0.0, 0.4000000059604645, 0.6000000238418579, 0.6000000238418579, 0.6000000238418579); else nms_Block_setBlockBounds($this, 0.3499999940395355, 0.20000000298023224, 0.699999988079071, 0.6499999761581421, 0.800000011920929, 1.0); $ptr = 2; case 2: $tmp = nms_Block_collisionRayTrace($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var7, $ptr); } function nms_BlockTorch_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var9, $var11, $var15, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();$var15 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var2 + 0.5; $var9 = $var3 + 0.699999988079071; $var11 = $var4 + 0.5; if ($var6 == 1) { $var15 = $var7 - 0.27000001072883606; $var13 = $var9 + 0.2199999988079071; nms_World_spawnParticle($var1, $rt_s(299), $var15, $var13, $var11, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), $var15, $var13, $var11, 0.0, 0.0, 0.0); } else if ($var6 == 2) { $var15 = $var7 + 0.27000001072883606; $var13 = $var9 + 0.2199999988079071; nms_World_spawnParticle($var1, $rt_s(299), $var15, $var13, $var11, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), $var15, $var13, $var11, 0.0, 0.0, 0.0); } else if ($var6 == 3) { $var13 = $var9 + 0.2199999988079071; $var15 = $var11 - 0.27000001072883606; nms_World_spawnParticle($var1, $rt_s(299), $var7, $var13, $var15, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), $var7, $var13, $var15, 0.0, 0.0, 0.0); } else if ($var6 != 4) { nms_World_spawnParticle($var1, $rt_s(299), $var7, $var9, $var11, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), $var7, $var9, $var11, 0.0, 0.0, 0.0); } else { $var13 = $var9 + 0.2199999988079071; $var15 = $var11 + 0.27000001072883606; nms_World_spawnParticle($var1, $rt_s(299), $var7, $var13, $var15, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), $var7, $var13, $var15, 0.0, 0.0, 0.0); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var9, $var11, $var15, $var13, $ptr); } function nms_BlockFire() { var a = this; nms_Block.call(a); a.$chanceToEncourageFire = null; a.$abilityToCatchFire = null; } function nms_BlockFire__init_(var_0, var_1) { var var_2 = new nms_BlockFire(); nms_BlockFire__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockFire__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_fire); $this.$chanceToEncourageFire = $rt_createIntArray(256); $this.$abilityToCatchFire = $rt_createIntArray(256); nms_BlockFire_setBurnRate($this, nms_Block_planks.$blockID, 5, 20); nms_BlockFire_setBurnRate($this, nms_Block_wood.$blockID, 5, 5); nms_BlockFire_setBurnRate($this, nms_Block_leaves.$blockID, 30, 60); nms_BlockFire_setBurnRate($this, nms_Block_bookShelf.$blockID, 30, 20); nms_BlockFire_setBurnRate($this, nms_Block_tnt.$blockID, 15, 100); nms_BlockFire_setBurnRate($this, nms_Block_cloth.$blockID, 30, 60); nms_Block_setTickOnLoad($this, 1); } function nms_BlockFire_setBurnRate($this, $var1, $var2, $var3) { $this.$chanceToEncourageFire.data[$var1] = $var2; $this.$abilityToCatchFire.data[$var1] = $var3; } function nms_BlockFire_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockFire_isOpaqueCube($this) { return 0; } function nms_BlockFire_renderAsNormalBlock($this) { return 0; } function nms_BlockFire_getRenderType($this) { return 3; } function nms_BlockFire_quantityDropped($this, $var1) { return 0; } function nms_BlockFire_tickRate($this) { return 10; } function nms_BlockFire_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, $var7, $var12, $var8, var$11, var$12, var$13, var$14, $var9, $var10, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var12 = $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: var$6 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Block_$callClinit(); $var6 = $var6 != nms_Block_bloodStone.$blockID ? 0 : 1; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var12 = $rt_compare($var7, 15); if ($var12 < 0) { $var8 = $var7 + 1 | 0; $ptr = 3; continue main; } if (!$var6) { $ptr = 5; continue main; } if (!$var6) { $ptr = 6; continue main; } if (!($var7 % 2 | 0) && $var7 > 2) { $var6 = $var2 + 1 | 0; $var7 = 300; $ptr = 9; continue main; } return; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 4; case 4: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } if (!$var6) { $ptr = 5; continue main; } if (!$var6) { $ptr = 6; continue main; } if (!($var7 % 2 | 0) && $var7 > 2) { $var6 = $var2 + 1 | 0; $var7 = 300; $ptr = 9; continue main; } return; case 5: $tmp = nms_BlockFire_func_263_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $ptr = 7; continue main; } if (!$var6) { $ptr = 6; continue main; } if (!($var7 % 2 | 0) && $var7 > 2) { $var6 = $var2 + 1 | 0; $var7 = 300; $ptr = 9; continue main; } return; case 6: $tmp = nms_BlockFire_canBlockCatchFire($this, $var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6 && !$var12 && !ju_Random_nextInt($var5, 4)) { $var6 = 0; $ptr = 15; continue main; } if (!($var7 % 2 | 0) && $var7 > 2) { $var6 = $var2 + 1 | 0; $var7 = 300; $ptr = 9; continue main; } return; case 7: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 && $var7 <= 3) return; $var6 = 0; $ptr = 8; case 8: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; case 9: nms_BlockFire_tryToCatchBlockOnFire($this, $var1, $var6, $var3, $var4, $var7, $var5); if ($rt_suspending()) { break main; } $var8 = $var2 - 1 | 0; $var7 = 300; $ptr = 10; case 10: nms_BlockFire_tryToCatchBlockOnFire($this, $var1, $var8, $var3, $var4, $var7, $var5); if ($rt_suspending()) { break main; } $var7 = 250; $ptr = 11; case 11: nms_BlockFire_tryToCatchBlockOnFire($this, $var1, $var2, var$6, $var4, $var7, $var5); if ($rt_suspending()) { break main; } var$11 = $var3 + 1 | 0; $var7 = 250; $ptr = 12; case 12: nms_BlockFire_tryToCatchBlockOnFire($this, $var1, $var2, var$11, $var4, $var7, $var5); if ($rt_suspending()) { break main; } var$12 = $var4 - 1 | 0; $var7 = 300; $ptr = 13; case 13: nms_BlockFire_tryToCatchBlockOnFire($this, $var1, $var2, $var3, var$12, $var7, $var5); if ($rt_suspending()) { break main; } var$13 = $var4 + 1 | 0; $var7 = 300; $ptr = 14; case 14: nms_BlockFire_tryToCatchBlockOnFire($this, $var1, $var2, $var3, var$13, $var7, $var5); if ($rt_suspending()) { break main; } var$14 = $var3 + 4 | 0; a: { while ($var8 <= $var6) { $var9 = var$12; while ($var9 <= var$13) { $var10 = var$6; while ($var10 <= var$14) { if ($var8 != $var2) break a; if ($var10 != $var3) break a; if ($var9 != $var4) break a; $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } return; } $var11 = 100; if ($var10 > var$11) $var11 = $var11 + (($var10 - var$11 | 0) * 100 | 0) | 0; $var7 = 0; $ptr = 16; continue main; case 15: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; case 16: $tmp = nms_World_getBlockId($var1, $var8, $var10, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!$var12) { $var12 = $var8 + 1 | 0; $ptr = 17; continue main; } if (0 > 0 && ju_Random_nextInt($var5, $var11) <= 0) { $var7 = $this.$blockID; $ptr = 23; continue main; } b: { c: while (true) { $var10 = $var10 + 1 | 0; while ($var10 > var$14) { $var9 = $var9 + 1 | 0; while ($var9 > var$13) { $var8 = $var8 + 1 | 0; if ($var8 > $var6) break c; $var9 = var$12; } $var10 = var$6; } if ($var8 != $var2) break b; if ($var10 != $var3) break b; if ($var9 == $var4) continue; else break b; } return; } $var11 = 100; if ($var10 > var$11) $var11 = $var11 + (($var10 - var$11 | 0) * 100 | 0) | 0; $var7 = 0; continue main; case 17: $tmp = nms_BlockFire_getChanceToEncourageFire($this, $var1, $var12, $var10, $var9, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $var12 = $var8 - 1 | 0; $ptr = 18; case 18: $tmp = nms_BlockFire_getChanceToEncourageFire($this, $var1, $var12, $var10, $var9, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $var12 = $var10 - 1 | 0; $ptr = 19; case 19: $tmp = nms_BlockFire_getChanceToEncourageFire($this, $var1, $var8, $var12, $var9, $var7); if ($rt_suspending()) { break main; } $var12 = $tmp; $var7 = $var10 + 1 | 0; $ptr = 20; case 20: $tmp = nms_BlockFire_getChanceToEncourageFire($this, $var1, $var8, $var7, $var9, $var12); if ($rt_suspending()) { break main; } $var7 = $tmp; $var12 = $var9 - 1 | 0; $ptr = 21; case 21: $tmp = nms_BlockFire_getChanceToEncourageFire($this, $var1, $var8, $var10, $var12, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $var12 = $var9 + 1 | 0; $ptr = 22; case 22: $tmp = nms_BlockFire_getChanceToEncourageFire($this, $var1, $var8, $var10, $var12, $var7); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 > 0 && ju_Random_nextInt($var5, $var11) <= $var12) { $var7 = $this.$blockID; $ptr = 23; continue main; } d: { b: while (true) { $var10 = $var10 + 1 | 0; while ($var10 > var$14) { $var9 = $var9 + 1 | 0; while ($var9 > var$13) { $var8 = $var8 + 1 | 0; if ($var8 > $var6) break b; $var9 = var$12; } $var10 = var$6; } if ($var8 != $var2) break d; if ($var10 != $var3) break d; if ($var9 == $var4) continue; else break d; } return; } $var11 = 100; if ($var10 > var$11) $var11 = $var11 + (($var10 - var$11 | 0) * 100 | 0) | 0; $var7 = 0; $ptr = 16; continue main; case 23: nms_World_setBlockWithNotify($var1, $var8, $var10, $var9, $var7); if ($rt_suspending()) { break main; } a: { d: while (true) { $var10 = $var10 + 1 | 0; while ($var10 > var$14) { $var9 = $var9 + 1 | 0; while ($var9 > var$13) { $var8 = $var8 + 1 | 0; if ($var8 > $var6) break d; $var9 = var$12; } $var10 = var$6; } if ($var8 != $var2) break a; if ($var10 != $var3) break a; if ($var9 == $var4) continue; else break a; } return; } $var11 = 100; if ($var10 > var$11) $var11 = $var11 + (($var10 - var$11 | 0) * 100 | 0) | 0; $var7 = 0; $ptr = 16; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, $var12, $var8, var$11, var$12, var$13, var$14, $var9, $var10, $var11, $ptr); } function nms_BlockFire_tryToCatchBlockOnFire($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, $var8, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $this.$abilityToCatchFire.data; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; $var7 = var$7[$var8]; if (ju_Random_nextInt($var6, $var5) >= $var7) return; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Block_$callClinit(); $var8 = $var5 != nms_Block_tnt.$blockID ? 0 : 1; if (ju_Random_nextInt($var6, 2)) { $var5 = 0; $ptr = 3; continue main; } $var5 = $this.$blockID; $ptr = 4; continue main; case 3: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } if (!$var8) return; $var6 = nms_Block_tnt; $var5 = 0; $ptr = 5; continue main; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } if (!$var8) return; $var6 = nms_Block_tnt; $var5 = 0; $ptr = 5; case 5: $var6.$onBlockDestroyedByPlayer($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var8, $var7, $ptr); } function nms_BlockFire_func_263_h($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 + 1 | 0; $ptr = 1; case 1: $tmp = nms_BlockFire_canBlockCatchFire($this, $var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var2 - 1 | 0; $ptr = 2; case 2: $tmp = nms_BlockFire_canBlockCatchFire($this, $var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var3 - 1 | 0; $ptr = 3; case 3: $tmp = nms_BlockFire_canBlockCatchFire($this, $var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var3 + 1 | 0; $ptr = 4; case 4: $tmp = nms_BlockFire_canBlockCatchFire($this, $var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var4 - 1 | 0; $ptr = 5; case 5: $tmp = nms_BlockFire_canBlockCatchFire($this, $var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $var4 = $var4 + 1 | 0; $ptr = 6; case 6: $tmp = nms_BlockFire_canBlockCatchFire($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockFire_isCollidable($this) { return 0; } function nms_BlockFire_canBlockCatchFire($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$chanceToEncourageFire.data; $ptr = 1; case 1: $tmp = $var1.$getBlockId($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return var$5[$var2] <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockFire_getChanceToEncourageFire($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$chanceToEncourageFire.data; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; $var6 = var$6[$var2]; if ($var6 > $var5) $var5 = $var6; return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $ptr); } function nms_BlockFire_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $ptr = 2; case 2: $tmp = nms_BlockFire_func_263_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockFire_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) return; $ptr = 2; case 2: $tmp = nms_BlockFire_func_263_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) return; $var5 = 0; $ptr = 3; case 3: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockFire_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; nms_Block_$callClinit(); if (var$6 != nms_Block_obsidian.$blockID) { $ptr = 2; continue main; } var$7 = nms_Block_portal; $ptr = 3; continue main; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { $ptr = 5; continue main; } var$6 = $this.$blockID; $ptr = 4; continue main; case 3: $tmp = nms_BlockPortal_tryToCreatePortal(var$7, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6) return; $ptr = 2; continue main; case 4: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; case 5: $tmp = nms_BlockFire_func_263_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6) { var$6 = $this.$blockID; $ptr = 4; continue main; } var$6 = 0; $ptr = 6; case 6: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, $ptr); } function nms_BlockFire_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var6_0, $var8, $var7, $var8_0, var$11, $var8_1, $var9, $var9_0, var$15, $var7_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7_0 = $thread.pop();var$15 = $thread.pop();$var9_0 = $thread.pop();$var9 = $thread.pop();$var8_1 = $thread.pop();var$11 = $thread.pop();$var8_0 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var6_0 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!ju_Random_nextInt($var5, 24)) nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(301), 1.0 + ju_Random_nextFloat($var5), ju_Random_nextFloat($var5) * 0.699999988079071 + 0.30000001192092896); $var6 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var6, $var4); if ($rt_suspending()) { break main; } $var6_0 = $tmp; if ($var6_0) { $var6 = 0; $var8 = $var2; $var7 = $var3; $var8_0 = $var4; while ($var6 < 3) { nms_World_spawnParticle($var1, $rt_s(296), $var8 + ju_Random_nextFloat($var5), $var7 + ju_Random_nextFloat($var5) * 0.5 + 0.5, $var8_0 + ju_Random_nextFloat($var5), 0.0, 0.0, 0.0); $var6 = $var6 + 1 | 0; } return; } nms_Block_$callClinit(); var$11 = nms_Block_fire; $ptr = 2; case 2: $tmp = nms_BlockFire_canBlockCatchFire(var$11, $var1, $var2, $var6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var6 = 0; $var8 = $var2; $var7 = $var3; $var8_0 = $var4; while ($var6 < 3) { nms_World_spawnParticle($var1, $rt_s(296), $var8 + ju_Random_nextFloat($var5), $var7 + ju_Random_nextFloat($var5) * 0.5 + 0.5, $var8_0 + ju_Random_nextFloat($var5), 0.0, 0.0, 0.0); $var6 = $var6 + 1 | 0; } return; } var$11 = nms_Block_fire; $var6 = $var2 - 1 | 0; $ptr = 3; case 3: a: { $tmp = nms_BlockFire_canBlockCatchFire(var$11, $var1, $var6, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var6 = 0; $var8 = $var2; $var8_1 = $var3; $var9 = $var4; while (true) { if ($var6 >= 2) break a; $var7 = $var8 + ju_Random_nextFloat($var5) * 0.10000000149011612; $var8_0 = $var8_1 + ju_Random_nextFloat($var5); $var9_0 = $var9 + ju_Random_nextFloat($var5); nms_World_spawnParticle($var1, $rt_s(296), $var7, $var8_0, $var9_0, 0.0, 0.0, 0.0); $var6 = $var6 + 1 | 0; } } } var$11 = nms_Block_fire; $var6_0 = $var2 + 1 | 0; $ptr = 4; case 4: a: { $tmp = nms_BlockFire_canBlockCatchFire(var$11, $var1, $var6_0, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var6 = 0; $var8 = $var6_0; $var8_1 = $var3; $var9 = $var4; while (true) { if ($var6 >= 2) break a; $var7 = $var8 - ju_Random_nextFloat($var5) * 0.10000000149011612; $var8_0 = $var8_1 + ju_Random_nextFloat($var5); $var9_0 = $var9 + ju_Random_nextFloat($var5); nms_World_spawnParticle($var1, $rt_s(296), $var7, $var8_0, $var9_0, 0.0, 0.0, 0.0); $var6 = $var6 + 1 | 0; } } } var$11 = nms_Block_fire; $var6 = $var4 - 1 | 0; $ptr = 5; case 5: a: { $tmp = nms_BlockFire_canBlockCatchFire(var$11, $var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var6 = 0; $var8 = $var2; $var8_0 = $var3; $var9 = $var4; while (true) { if ($var6 >= 2) break a; $var7 = $var8 + ju_Random_nextFloat($var5); $var8_1 = $var8_0 + ju_Random_nextFloat($var5); $var9_0 = $var9 + ju_Random_nextFloat($var5) * 0.10000000149011612; nms_World_spawnParticle($var1, $rt_s(296), $var7, $var8_1, $var9_0, 0.0, 0.0, 0.0); $var6 = $var6 + 1 | 0; } } } var$11 = nms_Block_fire; $var6 = $var4 + 1 | 0; $ptr = 6; case 6: a: { $tmp = nms_BlockFire_canBlockCatchFire(var$11, $var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var6_0 = $tmp; if ($var6_0) { $var6_0 = 0; $var9_0 = $var2; var$15 = $var3; $var7 = $var6; while (true) { if ($var6_0 >= 2) break a; $var7_0 = $var9_0 + ju_Random_nextFloat($var5); $var8 = var$15 + ju_Random_nextFloat($var5); $var9 = $var7 - ju_Random_nextFloat($var5) * 0.10000000149011612; nms_World_spawnParticle($var1, $rt_s(296), $var7_0, $var8, $var9, 0.0, 0.0, 0.0); $var6_0 = $var6_0 + 1 | 0; } } } var$11 = nms_Block_fire; $var3 = $var3 + 1 | 0; $ptr = 7; case 7: a: { $tmp = nms_BlockFire_canBlockCatchFire(var$11, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $var6 = 0; $var8 = $var2; $var7 = $var3; $var9 = $var4; while (true) { if ($var6 >= 2) break a; $var7_0 = $var8 + ju_Random_nextFloat($var5); $var8_0 = $var7 - ju_Random_nextFloat($var5) * 0.10000000149011612; $var9_0 = $var9 + ju_Random_nextFloat($var5); nms_World_spawnParticle($var1, $rt_s(296), $var7_0, $var8_0, $var9_0, 0.0, 0.0, 0.0); $var6 = $var6 + 1 | 0; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var6_0, $var8, $var7, $var8_0, var$11, $var8_1, $var9, $var9_0, var$15, $var7_0, $ptr); } var nms_BlockContainer = $rt_classWithoutFields(nms_Block); function nms_BlockContainer__init_($this, $var1, $var2) { nms_Block__init_0($this, $var1, $var2); nms_Block_isBlockContainer.data[$var1] = 1; } function nms_BlockContainer_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$SetBlockEntity(); $ptr = 1; case 1: nms_World_setBlockTileEntity($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockContainer_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 >> 4; var$6 = $var4 >> 4; $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($var1, var$5, var$6); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 !== null) { var$7 = nms_ChunkPosition__init_($var2 & 15, $var3, $var4 & 15); if ($var1.$isChunkLoaded) ju_ArrayList_remove0($var1.$worldObj3.$loadedTileEntityList, ju_HashMap_remove($var1.$chunkTileEntityMap, var$7)); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, $ptr); } var nms_BlockMobSpawner = $rt_classWithoutFields(nms_BlockContainer); function nms_BlockMobSpawner__init_(var_0, var_1) { var var_2 = new nms_BlockMobSpawner(); nms_BlockMobSpawner__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockMobSpawner__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_rock); } function nms_BlockMobSpawner_SetBlockEntity($this) { return nms_TileEntityMobSpawner__init_0(); } function nms_BlockMobSpawner_idDropped($this, $var1, $var2) { return 0; } function nms_BlockMobSpawner_quantityDropped($this, $var1) { return 0; } function nms_BlockMobSpawner_isOpaqueCube($this) { return 0; } function nms_BlockStairs() { nms_Block.call(this); this.$modelBlock = null; } function nms_BlockStairs__init_(var_0, var_1) { var var_2 = new nms_BlockStairs(); nms_BlockStairs__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockStairs__init_0($this, $var1, $var2) { nms_Block__init_2($this, $var1, $var2.$blockIndexInTexture, $var2.$blockMaterial); $this.$modelBlock = $var2; nms_Block_setHardness($this, $var2.$blockHardness); nms_Block_setResistance($this, $var2.$blockResistance / 3.0); $this.$stepSound = $var2.$stepSound; } function nms_BlockStairs_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); } function nms_BlockStairs_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return nms_Block_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4); } function nms_BlockStairs_isOpaqueCube($this) { return 0; } function nms_BlockStairs_renderAsNormalBlock($this) { return 0; } function nms_BlockStairs_getRenderType($this) { return 10; } function nms_BlockStairs_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockStairs_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if (!$var7) { nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 0.5, 0.5, 1.0); $ptr = 2; continue main; } if ($var7 == 1) { nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 0.5, 1.0, 1.0); $ptr = 4; continue main; } if ($var7 == 2) { nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.5, 0.5); $ptr = 6; continue main; } if ($var7 != 3) { nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return; } nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 0.5); $ptr = 8; continue main; case 2: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.5, 0.0, 0.0, 1.0, 1.0, 1.0); $ptr = 3; case 3: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return; case 4: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.5, 0.0, 0.0, 1.0, 0.5, 1.0); $ptr = 5; case 5: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return; case 6: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.0, 0.0, 0.5, 1.0, 1.0, 1.0); $ptr = 7; case 7: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return; case 8: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.0, 0.0, 0.5, 1.0, 0.5, 1.0); $ptr = 9; case 9: nms_Block_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockStairs_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$randomDisplayTick($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_onBlockClicked($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$onBlockClicked($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_onBlockDestroyedByPlayer($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$onBlockDestroyedByPlayer($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_getBlockBrightness($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$modelBlock; $ptr = 1; case 1: $tmp = var$5.$getBlockBrightness($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; return var$6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $ptr); } function nms_BlockStairs_func_227_a($this, $var1) { return $this.$modelBlock.$func_227_a($var1); } function nms_BlockStairs_func_234_g($this) { return $this.$modelBlock.$func_234_g(); } function nms_BlockStairs_idDropped($this, $var1, $var2) { return $this.$modelBlock.$idDropped($var1, $var2); } function nms_BlockStairs_quantityDropped($this, $var1) { return $this.$modelBlock.$quantityDropped($var1); } function nms_BlockStairs_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { return $this.$modelBlock.$getBlockTextureFromSideAndMetadata($var1, $var2); } function nms_BlockStairs_getBlockTextureFromSide($this, $var1) { return $this.$modelBlock.$getBlockTextureFromSide($var1); } function nms_BlockStairs_getBlockTexture($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: $tmp = var$6.$getBlockTexture($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_tickRate($this) { return $this.$modelBlock.$tickRate(); } function nms_BlockStairs_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$modelBlock; $ptr = 1; case 1: $tmp = var$5.$getSelectedBoundingBoxFromPool($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockStairs_velocityToAddToEntity($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $this.$modelBlock; $ptr = 1; case 1: var$7.$velocityToAddToEntity($var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockStairs_isCollidable($this) { return $this.$modelBlock.$isCollidable(); } function nms_BlockStairs_canCollideCheck($this, $var1, $var2) { return $this.$modelBlock.$canCollideCheck($var1, $var2); } function nms_BlockStairs_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$modelBlock; $ptr = 1; case 1: $tmp = var$5.$canPlaceBlockAt($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockStairs_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$modelBlock; $ptr = 1; case 1: var$5.$onBlockAdded($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockStairs_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$modelBlock; $ptr = 1; case 1: var$5.$onBlockRemoval($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockStairs_dropBlockAsItemWithChance($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $this.$modelBlock; $ptr = 1; case 1: var$7.$dropBlockAsItemWithChance($var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockStairs_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$dropBlockAsItem($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_onEntityWalking($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$onEntityWalking($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$updateTick($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$modelBlock; $ptr = 1; case 1: $tmp = var$6.$blockActivated($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockStairs_onBlockDestroyedByExplosion($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$modelBlock; $ptr = 1; case 1: var$5.$onBlockDestroyedByExplosion($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockStairs_onBlockPlacedBy($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_MathHelper_floor_double($var5.$rotationYaw * 4.0 / 360.0 + 0.5) & 3; if (!$var6) { var$7 = 2; $ptr = 1; continue main; } if ($var6 == 1) { var$7 = 1; $ptr = 2; continue main; } if ($var6 == 2) { var$7 = 3; $ptr = 3; continue main; } if ($var6 != 3) return; $var6 = 0; $ptr = 4; continue main; case 1: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } if ($var6 == 1) { var$7 = 1; $ptr = 2; continue main; } if ($var6 == 2) { var$7 = 3; $ptr = 3; continue main; } if ($var6 != 3) return; $var6 = 0; $ptr = 4; continue main; case 2: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } if ($var6 == 2) { var$7 = 3; $ptr = 3; continue main; } if ($var6 != 3) return; $var6 = 0; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } if ($var6 != 3) return; $var6 = 0; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockChest() { nms_BlockContainer.call(this); this.$field_457_a = null; } function nms_BlockChest__init_(var_0) { var var_1 = new nms_BlockChest(); nms_BlockChest__init_0(var_1, var_0); return var_1; } function nms_BlockChest__init_0($this, $var1) { nms_Material_$callClinit(); nms_BlockContainer__init_($this, $var1, nms_Material_wood); $this.$field_457_a = new ju_Random; $this.$blockIndexInTexture = 26; } function nms_BlockChest_getBlockTexture($this, $var1, $var2, $var3, $var4, $var5) { var $var11, $var6, $var12, $var7, $var13, $var8, $var14, $var9, var$14, $var10, $var11_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11_0 = $thread.pop();$var10 = $thread.pop();var$14 = $thread.pop();$var9 = $thread.pop();$var14 = $thread.pop();$var8 = $thread.pop();$var13 = $thread.pop();$var7 = $thread.pop();$var12 = $thread.pop();$var6 = $thread.pop();$var11 = $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: if ($var5 == 1) return $this.$blockIndexInTexture - 1 | 0; if (!$var5) return $this.$blockIndexInTexture - 1 | 0; $var11 = $var4 - 1 | 0; $ptr = 1; case 1: $tmp = $var1.$getBlockId($var2, $var3, $var11); if ($rt_suspending()) { break main; } $var6 = $tmp; $var12 = $var4 + 1 | 0; $ptr = 2; case 2: $tmp = $var1.$getBlockId($var2, $var3, $var12); if ($rt_suspending()) { break main; } $var7 = $tmp; $var13 = $var2 - 1 | 0; $ptr = 3; case 3: $tmp = $var1.$getBlockId($var13, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; $var14 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = $var1.$getBlockId($var14, $var3, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; $var2 = $this.$blockID; $var4 = $rt_compare($var6, $var2); if ($var4 && $var7 != $var2) { $var4 = $rt_compare($var8, $var2); if ($var4 && $var9 != $var2) { $var14 = 3; nms_Block_$callClinit(); var$14 = nms_Block_opaqueCubeLookup.data; if (var$14[$var6] && !var$14[$var7]) $var14 = 3; if (var$14[$var7] && !var$14[$var6]) $var14 = 2; if (var$14[$var8] && !var$14[$var9]) $var14 = 5; if (var$14[$var9] && !var$14[$var8]) $var14 = 4; return $var5 != $var14 ? $this.$blockIndexInTexture : $this.$blockIndexInTexture + 1 | 0; } if ($var5 != 4 && $var5 != 5) { $var10 = 0; if (!$var4) $var10 = (-1); $var2 = $var4 ? $var14 : $var13; $ptr = 7; continue main; } return $this.$blockIndexInTexture; } if ($var5 != 2 && $var5 != 3) { $var10 = 0; if (!$var4) $var10 = (-1); $var2 = $var4 ? $var12 : $var11; $ptr = 5; continue main; } return $this.$blockIndexInTexture; case 5: $tmp = $var1.$getBlockId($var13, $var3, $var2); if ($rt_suspending()) { break main; } $var11_0 = $tmp; if ($var6 == $this.$blockID) $var12 = $var11; $ptr = 6; case 6: $tmp = $var1.$getBlockId($var14, $var3, $var12); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var5 == 4) $var10 = (-1) - $var10 | 0; $var13 = 5; nms_Block_$callClinit(); var$14 = nms_Block_opaqueCubeLookup.data; if (!(!var$14[$var8] && !var$14[$var11_0]) && !var$14[$var9] && !var$14[$var12]) $var13 = 5; if (!(!var$14[$var9] && !var$14[$var12]) && !var$14[$var8] && !var$14[$var11_0]) $var13 = 4; return ($var5 != $var13 ? $this.$blockIndexInTexture + 32 | 0 : $this.$blockIndexInTexture + 16 | 0) + $var10 | 0; case 7: $tmp = $var1.$getBlockId($var2, $var3, $var11); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var8 == $this.$blockID) $var14 = $var13; $ptr = 8; case 8: $tmp = $var1.$getBlockId($var14, $var3, $var12); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var5 == 3) $var10 = (-1) - $var10 | 0; $var13 = 3; nms_Block_$callClinit(); var$14 = nms_Block_opaqueCubeLookup.data; if (!(!var$14[$var6] && !var$14[$var11]) && !var$14[$var7] && !var$14[$var12]) $var13 = 3; if (!(!var$14[$var7] && !var$14[$var12]) && !var$14[$var6] && !var$14[$var11]) $var13 = 2; return ($var5 != $var13 ? $this.$blockIndexInTexture + 32 | 0 : $this.$blockIndexInTexture + 16 | 0) + $var10 | 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var11, $var6, $var12, $var7, $var13, $var8, $var14, $var9, var$14, $var10, $var11_0, $ptr); } function nms_BlockChest_getBlockTextureFromSide($this, $var1) { return $var1 == 1 ? $this.$blockIndexInTexture - 1 | 0 : !$var1 ? $this.$blockIndexInTexture - 1 | 0 : $var1 != 3 ? $this.$blockIndexInTexture : $this.$blockIndexInTexture + 1 | 0; } function nms_BlockChest_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $var5, var$6, var$7, var$8, var$9, 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();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; var$6 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, var$6, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7 == $this.$blockID) $var5 = 1; var$7 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 == $this.$blockID) $var5 = $var5 + 1 | 0; var$8 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$8); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == $this.$blockID) $var5 = $var5 + 1 | 0; var$10 = $var4 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$10); if ($rt_suspending()) { break main; } var$11 = $tmp; if (var$11 == $this.$blockID) $var5 = $var5 + 1 | 0; if ($var5 > 1) return 0; $ptr = 5; case 5: $tmp = nms_BlockChest_isThereANeighborChest($this, $var1, var$6, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9) return 0; $ptr = 6; case 6: $tmp = nms_BlockChest_isThereANeighborChest($this, $var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) return 0; $ptr = 7; case 7: $tmp = nms_BlockChest_isThereANeighborChest($this, $var1, $var2, $var3, var$8); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) return 0; $ptr = 8; case 8: $tmp = nms_BlockChest_isThereANeighborChest($this, $var1, $var2, $var3, var$10); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); } function nms_BlockChest_isThereANeighborChest($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 != $this.$blockID) return 0; var$5 = $var2 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 == $this.$blockID) return 1; var$5 = $var2 + 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 == $this.$blockID) return 1; var$5 = $var4 - 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 == $this.$blockID) return 1; $var4 = $var4 + 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2 != $this.$blockID ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockChest_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var $var7, $var5, $var6, var$8, var$9, var$10, var$11, $var8, $var9, $var10, var$15, var$16, var$17, $var11, var$19, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();var$19 = $thread.pop();$var11 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var5 = $var7; $var6 = 0; var$8 = 27; var$9 = $var2; var$10 = $var3; var$11 = $var4; while ($var6 < var$8) { $var7 = nms_TileEntityChest_getStackInSlot($var5, $var6); if ($var7 !== null) { $var8 = ju_Random_nextFloat($this.$field_457_a) * 0.800000011920929 + 0.10000000149011612; $var9 = ju_Random_nextFloat($this.$field_457_a) * 0.800000011920929 + 0.10000000149011612; $var10 = ju_Random_nextFloat($this.$field_457_a) * 0.800000011920929 + 0.10000000149011612; var$15 = var$9 + $var8; var$16 = var$10 + $var9; var$17 = var$11 + $var10; if ($var7.$stackSize > 0) { $var11 = ju_Random_nextInt($this.$field_457_a, 21) + 10 | 0; var$19 = $var7.$stackSize; if ($var11 > var$19) $var11 = var$19; $var7.$stackSize = var$19 - $var11 | 0; $var12 = nms_EntityItem__init_($var1, var$15, var$16, var$17, nms_ItemStack__init_1($var7.$itemID, $var11, $var7.$itemDamage)); $var12.$motionX = ju_Random_nextGaussian($this.$field_457_a) * 0.05000000074505806; $var12.$motionY = ju_Random_nextGaussian($this.$field_457_a) * 0.05000000074505806 + 0.20000000298023224; $var12.$motionZ = ju_Random_nextGaussian($this.$field_457_a) * 0.05000000074505806; $ptr = 3; continue main; } } $var6 = $var6 + 1 | 0; } $ptr = 2; case 2: nms_BlockContainer_onBlockRemoval($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; case 3: nms_World_entityJoinedWorld($var1, $var12); if ($rt_suspending()) { break main; } a: while (true) { if ($var7.$stackSize > 0) { $var11 = ju_Random_nextInt($this.$field_457_a, 21) + 10 | 0; var$19 = $var7.$stackSize; if ($var11 > var$19) $var11 = var$19; $var7.$stackSize = var$19 - $var11 | 0; $var12 = nms_EntityItem__init_($var1, var$15, var$16, var$17, nms_ItemStack__init_1($var7.$itemID, $var11, $var7.$itemDamage)); $var12.$motionX = ju_Random_nextGaussian($this.$field_457_a) * 0.05000000074505806; $var12.$motionY = ju_Random_nextGaussian($this.$field_457_a) * 0.05000000074505806 + 0.20000000298023224; $var12.$motionZ = ju_Random_nextGaussian($this.$field_457_a) * 0.05000000074505806; continue main; } while (true) { $var6 = $var6 + 1 | 0; if ($var6 >= var$8) break a; $var7 = nms_TileEntityChest_getStackInSlot($var5, $var6); if ($var7 === null) continue; else break; } $var8 = ju_Random_nextFloat($this.$field_457_a) * 0.800000011920929 + 0.10000000149011612; $var9 = ju_Random_nextFloat($this.$field_457_a) * 0.800000011920929 + 0.10000000149011612; $var10 = ju_Random_nextFloat($this.$field_457_a) * 0.800000011920929 + 0.10000000149011612; var$15 = var$9 + $var8; var$16 = var$10 + $var9; var$17 = var$11 + $var10; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var7, $var5, $var6, var$8, var$9, var$10, var$11, $var8, $var9, $var10, var$15, var$16, var$17, $var11, var$19, $var12, $ptr); } function nms_BlockChest_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $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();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; $var6 = var$6; var$8 = $var3 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$8, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9) return 1; var$10 = $var2 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, var$10, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == $this.$blockID) { $ptr = 5; continue main; } var$11 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockId($var1, var$11, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == $this.$blockID) { $ptr = 7; continue main; } var$12 = $var4 - 1 | 0; $ptr = 6; continue main; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, var$10, var$8, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9) return 1; var$11 = $var2 + 1 | 0; $ptr = 4; continue main; case 6: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$12); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == $this.$blockID) { $ptr = 9; continue main; } var$13 = $var4 + 1 | 0; $ptr = 8; continue main; case 7: $tmp = nms_World_isBlockOpaqueCube($var1, var$11, var$8, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9) return 1; var$12 = $var4 - 1 | 0; $ptr = 6; continue main; case 8: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$13); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 != $this.$blockID) { $ptr = 10; continue main; } $ptr = 11; continue main; case 9: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$8, var$12); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9) return 1; var$13 = $var4 + 1 | 0; $ptr = 8; continue main; case 10: $tmp = nms_World_getBlockId($var1, var$10, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == $this.$blockID) { var$6 = new nms_InventoryLargeChest; var$14 = $rt_s(302); $ptr = 12; continue main; } var$6 = $var6; $ptr = 13; continue main; case 11: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$8, var$13); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9) return 1; $ptr = 10; continue main; case 12: $tmp = nms_World_getBlockTileEntity($var1, var$10, $var3, $var4); if ($rt_suspending()) { break main; } var$15 = $tmp; nms_InventoryLargeChest__init_(var$6, var$14, var$15, $var6); $ptr = 13; case 13: $tmp = nms_World_getBlockId($var1, var$11, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == $this.$blockID) { var$14 = new nms_InventoryLargeChest; var$15 = $rt_s(302); $ptr = 14; continue main; } var$14 = var$6; $ptr = 15; continue main; case 14: $tmp = nms_World_getBlockTileEntity($var1, var$11, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_InventoryLargeChest__init_(var$14, var$15, var$6, $var6); $ptr = 15; case 15: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$12); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 == $this.$blockID) { var$6 = new nms_InventoryLargeChest; var$15 = $rt_s(302); $ptr = 16; continue main; } var$6 = var$14; $ptr = 17; continue main; case 16: $tmp = nms_World_getBlockTileEntity($var1, $var2, $var3, var$12); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_InventoryLargeChest__init_(var$6, var$15, $var6, var$14); $ptr = 17; case 17: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$13); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 == $this.$blockID) { var$14 = new nms_InventoryLargeChest; var$15 = $rt_s(302); $ptr = 18; continue main; } var$14 = var$6; $ptr = 19; continue main; case 18: $tmp = nms_World_getBlockTileEntity($var1, $var2, $var3, var$13); if ($rt_suspending()) { break main; } $var1 = $tmp; nms_InventoryLargeChest__init_(var$14, var$15, var$6, $var1); $ptr = 19; case 19: nms_EntityPlayerSP_displayGUIChest($var5, var$14); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); } function nms_BlockChest_SetBlockEntity($this) { return nms_TileEntityChest__init_0(); } function nms_BlockRedstoneWire() { nms_Block.call(this); this.$wiresProvidePower = 0; } function nms_BlockRedstoneWire__init_(var_0, var_1) { var var_2 = new nms_BlockRedstoneWire(); nms_BlockRedstoneWire__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockRedstoneWire__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_circuits); $this.$wiresProvidePower = 1; nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.0625, 1.0); } function nms_BlockRedstoneWire_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { return $this.$blockIndexInTexture + ($var2 <= 0 ? 0 : 16) | 0; } function nms_BlockRedstoneWire_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockRedstoneWire_isOpaqueCube($this) { return 0; } function nms_BlockRedstoneWire_renderAsNormalBlock($this) { return 0; } function nms_BlockRedstoneWire_getRenderType($this) { return 5; } function nms_BlockRedstoneWire_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockRedstoneWire_updateAndPropagateCurrentStrength($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, $var8, var$9, var$10, var$11, $var11, $var12, $var8_0, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var8_0 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = 0; $this.$wiresProvidePower = 0; $ptr = 2; case 2: $tmp = nms_World_isBlockIndirectlyGettingPowered($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; $this.$wiresProvidePower = 1; if ($var7) $var8 = 15; else { $var8 = 0; var$9 = $var2 - 1 | 0; var$10 = $var4 - 1 | 0; var$11 = $var3 + 1 | 0; $var11 = $var3 - 1 | 0; if ($var8 < 4) { $var7 = !$var8 ? var$9 : $var2; if ($var8 == 1) $var7 = $var7 + 1 | 0; $var12 = $var8 == 2 ? var$10 : $var4; if ($var8 == 3) $var12 = $var12 + 1 | 0; $ptr = 11; continue main; } $var8 = $var6 <= 0 ? 0 : $var6 + (-1) | 0; } if ($var5 == $var8) return; $ptr = 3; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); if ($var8 > 0) $var8 = $var8 + (-1) | 0; $var8_0 = 0; $var11 = $var3 - 1 | 0; var$15 = $var2 - 1 | 0; var$16 = $var4 - 1 | 0; var$11 = $var11 + 2 | 0; if ($var8_0 >= 4) { if ($var5 && $var8) return; $var8 = $this.$blockID; $ptr = 4; continue main; } $var7 = !$var8_0 ? var$15 : $var2; if ($var8_0 == 1) $var7 = $var7 + 1 | 0; var$10 = $var8_0 == 2 ? var$16 : $var4; if ($var8_0 == 3) var$10 = var$10 + 1 | 0; $ptr = 17; continue main; case 4: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 5; case 5: nms_World_notifyBlocksOfNeighborChange($var1, var$15, $var3, $var4, $var8); if ($rt_suspending()) { break main; } $var8 = $var2 + 1 | 0; $var7 = $this.$blockID; $ptr = 6; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var8, $var3, $var4, $var7); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 7; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, var$16, $var8); if ($rt_suspending()) { break main; } $var8 = $var4 + 1 | 0; $var7 = $this.$blockID; $ptr = 8; case 8: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var8, $var7); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 9; case 9: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var11, $var4, $var8); if ($rt_suspending()) { break main; } $var3 = $var3 + 1 | 0; $var8 = $this.$blockID; $ptr = 10; case 10: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } return; case 11: $tmp = nms_BlockRedstoneWire_getMaxCurrentStrength($this, $var1, $var7, $var3, $var12, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; $ptr = 12; case 12: $tmp = nms_World_isBlockOpaqueCube($var1, $var7, $var3, $var12); if ($rt_suspending()) { break main; } $var8_0 = $tmp; if (!$var8_0) { $ptr = 13; continue main; } $ptr = 14; continue main; case 13: $tmp = nms_World_isBlockOpaqueCube($var1, $var7, $var3, $var12); if ($rt_suspending()) { break main; } $var8_0 = $tmp; if (!$var8_0) { $ptr = 15; continue main; } $var8 = $var8 + 1 | 0; if ($var8 >= 4) { $var8 = $var6 <= 0 ? 0 : $var6 + (-1) | 0; if ($var5 == $var8) return; $ptr = 3; continue main; } $var7 = !$var8 ? var$9 : $var2; if ($var8 == 1) $var7 = $var7 + 1 | 0; $var12 = $var8 == 2 ? var$10 : $var4; if ($var8 == 3) $var12 = $var12 + 1 | 0; $ptr = 11; continue main; case 14: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$11, $var4); if ($rt_suspending()) { break main; } $var8_0 = $tmp; if ($var8_0) { $ptr = 13; continue main; } $ptr = 16; continue main; case 15: $tmp = nms_BlockRedstoneWire_getMaxCurrentStrength($this, $var1, $var7, $var11, $var12, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; $var8 = $var8 + 1 | 0; if ($var8 >= 4) { $var8 = $var6 <= 0 ? 0 : $var6 + (-1) | 0; if ($var5 == $var8) return; $ptr = 3; continue main; } $var7 = !$var8 ? var$9 : $var2; if ($var8 == 1) $var7 = $var7 + 1 | 0; $var12 = $var8 == 2 ? var$10 : $var4; if ($var8 == 3) $var12 = $var12 + 1 | 0; $ptr = 11; continue main; case 16: $tmp = nms_BlockRedstoneWire_getMaxCurrentStrength($this, $var1, $var7, var$11, $var12, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; $var8 = $var8 + 1 | 0; if ($var8 >= 4) { $var8 = $var6 <= 0 ? 0 : $var6 + (-1) | 0; if ($var5 == $var8) return; $ptr = 3; continue main; } $var7 = !$var8 ? var$9 : $var2; if ($var8 == 1) $var7 = $var7 + 1 | 0; $var12 = $var8 == 2 ? var$10 : $var4; if ($var8 == 3) $var12 = $var12 + 1 | 0; $ptr = 11; continue main; case 17: $tmp = nms_World_isBlockOpaqueCube($var1, $var7, $var3, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; var$9 = var$9 ? var$11 : $var11; $var6 = (-1); $ptr = 18; case 18: $tmp = nms_BlockRedstoneWire_getMaxCurrentStrength($this, $var1, $var7, $var3, var$10, $var6); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 >= 0 && $var12 != $var8) { $ptr = 20; continue main; } $var6 = (-1); $ptr = 19; case 19: $tmp = nms_BlockRedstoneWire_getMaxCurrentStrength($this, $var1, $var7, var$9, var$10, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 >= 0 && $var6 != $var8) { $ptr = 21; continue main; } $var8_0 = $var8_0 + 1 | 0; if ($var8_0 >= 4) { if ($var5 && $var8) return; $var8 = $this.$blockID; $ptr = 4; continue main; } $var7 = !$var8_0 ? var$15 : $var2; if ($var8_0 == 1) $var7 = $var7 + 1 | 0; var$10 = $var8_0 == 2 ? var$16 : $var4; if ($var8_0 == 3) var$10 = var$10 + 1 | 0; $ptr = 17; continue main; case 20: nms_BlockRedstoneWire_updateAndPropagateCurrentStrength($this, $var1, $var7, $var3, var$10); if ($rt_suspending()) { break main; } $var6 = (-1); $ptr = 19; continue main; case 21: nms_BlockRedstoneWire_updateAndPropagateCurrentStrength($this, $var1, $var7, var$9, var$10); if ($rt_suspending()) { break main; } $var8_0 = $var8_0 + 1 | 0; if ($var8_0 >= 4) { if ($var5 && $var8) return; $var8 = $this.$blockID; $ptr = 4; continue main; } $var7 = !$var8_0 ? var$15 : $var2; if ($var8_0 == 1) $var7 = $var7 + 1 | 0; var$10 = $var8_0 == 2 ? var$16 : $var4; if ($var8_0 == 3) var$10 = var$10 + 1 | 0; $ptr = 17; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $var11, $var12, $var8_0, var$15, var$16, $ptr); } function nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; var$6 = $this.$blockID; if (var$5 != var$6) return; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var2 - 1 | 0; var$6 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, var$5, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var2 + 1 | 0; var$6 = $this.$blockID; $ptr = 4; case 4: nms_World_notifyBlocksOfNeighborChange($var1, var$5, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var4 - 1 | 0; var$6 = $this.$blockID; $ptr = 5; case 5: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, var$5, var$6); if ($rt_suspending()) { break main; } var$5 = $var4 + 1 | 0; var$6 = $this.$blockID; $ptr = 6; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, var$5, var$6); if ($rt_suspending()) { break main; } var$5 = $var3 - 1 | 0; var$6 = $this.$blockID; $ptr = 7; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, var$6); if ($rt_suspending()) { break main; } $var3 = $var3 + 1 | 0; var$5 = $this.$blockID; $ptr = 8; case 8: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $ptr); } function nms_BlockRedstoneWire_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, var$8, var$9, 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();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneWire_updateAndPropagateCurrentStrength($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $var3 + 1 | 0; var$6 = $this.$blockID; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, var$6); if ($rt_suspending()) { break main; } var$6 = $var3 - 1 | 0; var$7 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$6, $var4, var$7); if ($rt_suspending()) { break main; } var$7 = $var2 - 1 | 0; $ptr = 4; case 4: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $var2 + 1 | 0; $ptr = 5; case 5: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$8, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $var4 - 1 | 0; $ptr = 6; case 6: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, $var3, var$9); if ($rt_suspending()) { break main; } var$10 = $var4 + 1 | 0; $ptr = 7; case 7: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, $var3, var$10); if ($rt_suspending()) { break main; } $ptr = 8; case 8: $tmp = nms_World_isBlockOpaqueCube($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$11 = $tmp; if (!var$11) { $ptr = 9; continue main; } $ptr = 10; continue main; case 9: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$7, var$6, $var4); if ($rt_suspending()) { break main; } $ptr = 11; continue main; case 10: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$7, var$5, $var4); if ($rt_suspending()) { break main; } $ptr = 11; case 11: $tmp = nms_World_isBlockOpaqueCube($var1, var$8, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) { $ptr = 12; continue main; } $ptr = 13; continue main; case 12: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$8, var$6, $var4); if ($rt_suspending()) { break main; } $ptr = 14; continue main; case 13: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$8, var$5, $var4); if ($rt_suspending()) { break main; } $ptr = 14; case 14: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$9); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4) { $ptr = 15; continue main; } $ptr = 16; continue main; case 15: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$6, var$9); if ($rt_suspending()) { break main; } $ptr = 17; continue main; case 16: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$5, var$9); if ($rt_suspending()) { break main; } $ptr = 17; case 17: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$10); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { $ptr = 18; continue main; } $ptr = 19; continue main; case 18: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$6, var$10); if ($rt_suspending()) { break main; } return; case 19: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$5, var$10); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); } function nms_BlockRedstoneWire_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, var$8, var$9, 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();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var3 + 1 | 0; var$6 = $this.$blockID; $ptr = 1; case 1: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, var$6); if ($rt_suspending()) { break main; } var$6 = $var3 - 1 | 0; var$7 = $this.$blockID; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$6, $var4, var$7); if ($rt_suspending()) { break main; } $ptr = 3; case 3: nms_BlockRedstoneWire_updateAndPropagateCurrentStrength($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $var2 - 1 | 0; $ptr = 4; case 4: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $var2 + 1 | 0; $ptr = 5; case 5: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$8, $var3, $var4); if ($rt_suspending()) { break main; } var$9 = $var4 - 1 | 0; $ptr = 6; case 6: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, $var3, var$9); if ($rt_suspending()) { break main; } var$10 = $var4 + 1 | 0; $ptr = 7; case 7: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, $var3, var$10); if ($rt_suspending()) { break main; } $ptr = 8; case 8: $tmp = nms_World_isBlockOpaqueCube($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$11 = $tmp; if (!var$11) { $ptr = 9; continue main; } $ptr = 10; continue main; case 9: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$7, var$6, $var4); if ($rt_suspending()) { break main; } $ptr = 11; continue main; case 10: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$7, var$5, $var4); if ($rt_suspending()) { break main; } $ptr = 11; case 11: $tmp = nms_World_isBlockOpaqueCube($var1, var$8, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) { $ptr = 12; continue main; } $ptr = 13; continue main; case 12: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$8, var$6, $var4); if ($rt_suspending()) { break main; } $ptr = 14; continue main; case 13: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, var$8, var$5, $var4); if ($rt_suspending()) { break main; } $ptr = 14; case 14: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$9); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4) { $ptr = 15; continue main; } $ptr = 16; continue main; case 15: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$6, var$9); if ($rt_suspending()) { break main; } $ptr = 17; continue main; case 16: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$5, var$9); if ($rt_suspending()) { break main; } $ptr = 17; case 17: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$10); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { $ptr = 18; continue main; } $ptr = 19; continue main; case 18: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$6, var$10); if ($rt_suspending()) { break main; } return; case 19: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $var1, $var2, var$5, var$10); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); } function nms_BlockRedstoneWire_getMaxCurrentStrength($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 != $this.$blockID) return $var5; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 > $var5) $var5 = $var6; return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $ptr); } function nms_BlockRedstoneWire_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $ptr = 2; case 2: $tmp = nms_BlockRedstoneWire_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) { $ptr = 3; continue main; } $ptr = 4; continue main; case 3: nms_BlockRedstoneWire_updateAndPropagateCurrentStrength($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; case 4: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 5; case 5: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockRedstoneWire_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_redstone.$shiftedIndex; } function nms_BlockRedstoneWire_isIndirectlyPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: if (!$this.$wiresProvidePower) return 0; $ptr = 1; case 1: $tmp = nms_BlockRedstoneWire_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockRedstoneWire_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, $var6, var$9, $var7, var$11, $var8, var$13, $var9, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();$var8 = $thread.pop();var$11 = $thread.pop();$var7 = $thread.pop();var$9 = $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: if (!$this.$wiresProvidePower) return 0; $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) return 0; if ($var5 == 1) return 1; var$7 = $var2 - 1 | 0; $ptr = 2; case 2: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { $ptr = 3; continue main; } $var6 = 1; var$9 = $var2 + 1 | 0; $ptr = 4; continue main; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { var$6 = $var3 - 1 | 0; $ptr = 5; continue main; } $var6 = 0; var$9 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, var$9, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { $ptr = 6; continue main; } $var7 = 1; var$11 = $var4 - 1 | 0; $ptr = 7; continue main; case 5: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, var$7, var$6, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; $var6 = var$6 ? 1 : 0; var$9 = $var2 + 1 | 0; $ptr = 4; continue main; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, var$9, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { var$6 = $var3 - 1 | 0; $ptr = 8; continue main; } $var7 = 0; var$11 = $var4 - 1 | 0; $ptr = 7; case 7: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, $var3, var$11); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { $ptr = 9; continue main; } $var8 = 1; var$13 = $var4 + 1 | 0; $ptr = 10; continue main; case 8: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, var$9, var$6, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; $var7 = var$6 ? 1 : 0; var$11 = $var4 - 1 | 0; $ptr = 7; continue main; case 9: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$11); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { var$6 = $var3 - 1 | 0; $ptr = 11; continue main; } $var8 = 0; var$13 = $var4 + 1 | 0; $ptr = 10; case 10: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, $var3, var$13); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { $ptr = 12; continue main; } $var9 = 1; var$6 = $var3 + 1 | 0; $ptr = 13; continue main; case 11: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$6, var$11); if ($rt_suspending()) { break main; } var$6 = $tmp; $var8 = var$6 ? 1 : 0; var$13 = $var4 + 1 | 0; $ptr = 10; continue main; case 12: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$13); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) { var$6 = $var3 - 1 | 0; $ptr = 14; continue main; } $var9 = 0; var$6 = $var3 + 1 | 0; $ptr = 13; case 13: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15) return !$var8 && !$var7 && !$var6 && !$var9 && $var5 >= 2 && $var5 <= 5 ? 1 : $var5 == 2 && $var8 && !$var6 && !$var7 ? 1 : $var5 == 3 && $var9 && !$var6 && !$var7 ? 1 : $var5 == 4 && $var6 && !$var8 && !$var9 ? 1 : $var5 == 5 && $var7 && !$var8 && !$var9 ? 1 : 0; $ptr = 15; continue main; case 14: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$6, var$13); if ($rt_suspending()) { break main; } var$6 = $tmp; $var9 = var$6 ? 1 : 0; var$6 = $var3 + 1 | 0; $ptr = 13; continue main; case 15: $tmp = nms_World_isBlockOpaqueCube($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15) { $ptr = 16; continue main; } $ptr = 17; continue main; case 16: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, var$7, var$6, $var4); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15) $var6 = 1; $ptr = 17; case 17: $tmp = nms_World_isBlockOpaqueCube($var1, var$9, $var3, $var4); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15) { $ptr = 18; continue main; } $ptr = 19; continue main; case 18: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, var$9, var$6, $var4); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) $var7 = 1; $ptr = 19; case 19: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$11); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) { $ptr = 20; continue main; } $ptr = 21; continue main; case 20: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$6, var$11); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) $var8 = 1; $ptr = 21; case 21: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$13); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) return !$var8 && !$var7 && !$var6 && !$var9 && $var5 >= 2 && $var5 <= 5 ? 1 : $var5 == 2 && $var8 && !$var6 && !$var7 ? 1 : $var5 == 3 && $var9 && !$var6 && !$var7 ? 1 : $var5 == 4 && $var6 && !$var8 && !$var9 ? 1 : $var5 == 5 && $var7 && !$var8 && !$var9 ? 1 : 0; $ptr = 22; case 22: $tmp = nms_BlockRedstoneWire_isPowerProviderOrWire($var1, $var2, var$6, var$13); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2) $var9 = 1; return !$var8 && !$var7 && !$var6 && !$var9 && $var5 >= 2 && $var5 <= 5 ? 1 : $var5 == 2 && $var8 && !$var6 && !$var7 ? 1 : $var5 == 3 && $var9 && !$var6 && !$var7 ? 1 : $var5 == 4 && $var6 && !$var8 && !$var9 ? 1 : $var5 == 5 && $var7 && !$var8 && !$var9 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, $var6, var$9, $var7, var$11, $var8, var$13, $var9, var$15, $ptr); } function nms_BlockRedstoneWire_canProvidePower($this) { return $this.$wiresProvidePower; } function nms_BlockRedstoneWire_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 > 0) nms_World_spawnParticle($var1, $rt_s(303), $var2 + 0.5 + (ju_Random_nextFloat($var5) - 0.5) * 0.2, $var3 + 0.0625, $var4 + 0.5 + (ju_Random_nextFloat($var5) - 0.5) * 0.2, 0.0, 0.0, 0.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockRedstoneWire_isPowerProviderOrWire($var0, $var1, $var2, $var3) { var $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var0.$getBlockId($var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; nms_Block_$callClinit(); return $var4 == nms_Block_redstoneWire.$blockID ? 1 : !$var4 ? 0 : nms_Block_blocksList.data[$var4].$canProvidePower(); default: $rt_invalidPointer(); }} $rt_nativeThread().push($var0, $var1, $var2, $var3, $var4, $ptr); } var nms_BlockWorkbench = $rt_classWithoutFields(nms_Block); function nms_BlockWorkbench__init_(var_0) { var var_1 = new nms_BlockWorkbench(); nms_BlockWorkbench__init_0(var_1, var_0); return var_1; } function nms_BlockWorkbench__init_0($this, $var1) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_wood); $this.$blockIndexInTexture = 59; } function nms_BlockWorkbench_getBlockTextureFromSide($this, $var1) { if ($var1 == 1) $var1 = $this.$blockIndexInTexture - 16 | 0; else if (!$var1) { nms_Block_$callClinit(); $var1 = nms_Block_planks.$getBlockTextureFromSide(0); } else $var1 = $var1 != 2 && $var1 != 4 ? $this.$blockIndexInTexture : $this.$blockIndexInTexture + 1 | 0; return $var1; } function nms_BlockWorkbench_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $var5.$mc5; $var1 = new nms_GuiCrafting; $var5 = $var5.$inventory0; nms_GuiContainer__init_($var1); var$7 = nms_CraftingInventoryWorkbenchCB__init_0(); $var1.$field_979_j = var$7; ju_ArrayList_add($var1.$inventorySlots, nms_SlotCrafting__init_($var1, var$7.$craftMatrix, var$7.$craftResult, 0, 124, 35)); var$8 = 0; while (var$8 < 3) { $var2 = 0; while ($var2 < 3) { ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var1.$field_979_j.$craftMatrix, $var2 + (var$8 * 3 | 0) | 0, 30 + ($var2 * 18 | 0) | 0, 17 + (var$8 * 18 | 0) | 0)); $var2 = $var2 + 1 | 0; } var$8 = var$8 + 1 | 0; } var$9 = 0; while (var$9 < 3) { $var2 = 0; while ($var2 < 9) { ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var5, $var2 + ((var$9 + 1 | 0) * 9 | 0) | 0, 8 + ($var2 * 18 | 0) | 0, 84 + (var$9 * 18 | 0) | 0)); $var2 = $var2 + 1 | 0; } var$9 = var$9 + 1 | 0; } $var4 = 0; while ($var4 < 9) { ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var5, $var4, 8 + ($var4 * 18 | 0) | 0, 142)); $var4 = $var4 + 1 | 0; } $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen(var$6, $var1); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, $ptr); } var nms_BlockCrops = $rt_classWithoutFields(nms_BlockFlower); function nms_BlockCrops__init_(var_0, var_1) { var var_2 = new nms_BlockCrops(); nms_BlockCrops__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockCrops__init_0($this, $var1, $var2) { nms_BlockFlower__init_0($this, $var1, $var2); $this.$blockIndexInTexture = $var2; nms_Block_setTickOnLoad($this, 1); nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.25, 1.0); } function nms_BlockCrops_canThisPlantGrowOnThisBlockID($this, $var1) { nms_Block_$callClinit(); return $var1 != nms_Block_tilledField.$blockID ? 0 : 1; } function nms_BlockCrops_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, $var7, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$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: $ptr = 1; case 1: nms_BlockFlower_func_268_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $var3 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockLightValue($var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 < 9) return; $ptr = 3; case 3: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 >= 7) return; $var7 = 1.0; var$9 = $var4 - 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$9); if ($rt_suspending()) { break main; } var$6 = $tmp; var$10 = $var4 + 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$10); if ($rt_suspending()) { break main; } var$11 = $tmp; var$12 = $var2 - 1 | 0; $ptr = 6; case 6: $tmp = nms_World_getBlockId($var1, var$12, $var3, $var4); if ($rt_suspending()) { break main; } var$13 = $tmp; var$14 = $var2 + 1 | 0; $ptr = 7; case 7: $tmp = nms_World_getBlockId($var1, var$14, $var3, $var4); if ($rt_suspending()) { break main; } var$15 = $tmp; $ptr = 8; case 8: $tmp = nms_World_getBlockId($var1, var$12, $var3, var$9); if ($rt_suspending()) { break main; } var$16 = $tmp; $ptr = 9; case 9: $tmp = nms_World_getBlockId($var1, var$14, $var3, var$9); if ($rt_suspending()) { break main; } var$17 = $tmp; $ptr = 10; case 10: $tmp = nms_World_getBlockId($var1, var$14, $var3, var$10); if ($rt_suspending()) { break main; } var$18 = $tmp; $ptr = 11; case 11: $tmp = nms_World_getBlockId($var1, var$12, $var3, var$10); if ($rt_suspending()) { break main; } var$19 = $tmp; var$20 = $this.$blockID; var$13 = var$13 != var$20 && var$15 != var$20 ? 0 : 1; var$11 = var$6 != var$20 && var$11 != var$20 ? 0 : 1; var$6 = var$16 != var$20 && var$17 != var$20 && var$18 != var$20 && var$19 != var$20 ? 0 : 1; var$15 = $var3 - 1 | 0; while (true) { if (var$12 > var$14) { a: { if (!var$6) { if (!var$13) break a; if (!var$11) break a; } $var7 = $var7 / 2.0; } if (ju_Random_nextInt($var5, 100.0 / $var7 | 0)) return; var$6 = $var6 + 1 | 0; $ptr = 13; continue main; } var$19 = var$9; if (var$19 <= var$10) break; var$12 = var$12 + 1 | 0; } $ptr = 12; case 12: $tmp = nms_World_getBlockId($var1, var$12, var$15, var$19); if ($rt_suspending()) { break main; } var$20 = $tmp; var$21 = 0.0; nms_Block_$callClinit(); if (var$20 == nms_Block_tilledField.$blockID) { var$21 = 1.0; $ptr = 14; continue main; } if (!(var$12 == $var2 && var$19 == $var4)) var$21 = var$21 / 4.0; $var7 = $var7 + var$21; var$19 = var$19 + 1 | 0; while (var$19 > var$10) { var$12 = var$12 + 1 | 0; if (var$12 > var$14) { b: { if (!var$6) { if (!var$13) break b; if (!var$11) break b; } $var7 = $var7 / 2.0; } if (ju_Random_nextInt($var5, 100.0 / $var7 | 0)) return; var$6 = $var6 + 1 | 0; $ptr = 13; continue main; } var$19 = var$9; } continue main; case 13: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; case 14: $tmp = nms_World_getBlockMetadata($var1, var$12, var$15, var$19); if ($rt_suspending()) { break main; } var$20 = $tmp; if (var$20 > 0) var$21 = 3.0; if (!(var$12 == $var2 && var$19 == $var4)) var$21 = var$21 / 4.0; $var7 = $var7 + var$21; var$19 = var$19 + 1 | 0; while (var$19 > var$10) { var$12 = var$12 + 1 | 0; if (var$12 > var$14) { c: { if (!var$6) { if (!var$13) break c; if (!var$11) break c; } $var7 = $var7 / 2.0; } if (ju_Random_nextInt($var5, 100.0 / $var7 | 0)) return; var$6 = $var6 + 1 | 0; $ptr = 13; continue main; } var$19 = var$9; } $ptr = 12; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); } function nms_BlockCrops_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { if ($var2 < 0) $var2 = 7; return $this.$blockIndexInTexture + $var2 | 0; } function nms_BlockCrops_getRenderType($this) { return 6; } function nms_BlockCrops_onBlockDestroyedByPlayer($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, var$8, var$9, $var8, $var9, $var10, $var11, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; var$7 = $var2; var$8 = $var3; var$9 = $var4; while ($var6 < 3) { if (ju_Random_nextInt($var1.$rand1, 15) <= $var5) { $var8 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var9 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var10 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var11 = new nms_EntityItem; var$14 = var$7 + $var8; var$15 = var$8 + $var9; var$16 = var$9 + $var10; var$17 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$17, nms_Item_seeds); nms_EntityItem__init_0($var11, $var1, var$14, var$15, var$16, var$17); $var11.$field_805_c = 10; $ptr = 1; continue main; } $var6 = $var6 + 1 | 0; } return; case 1: nms_World_entityJoinedWorld($var1, $var11); if ($rt_suspending()) { break main; } while (true) { $var6 = $var6 + 1 | 0; if ($var6 >= 3) break; if (ju_Random_nextInt($var1.$rand1, 15) > $var5) continue; else { $var8 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var9 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var10 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var11 = new nms_EntityItem; var$14 = var$7 + $var8; var$15 = var$8 + $var9; var$16 = var$9 + $var10; var$17 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$17, nms_Item_seeds); nms_EntityItem__init_0($var11, $var1, var$14, var$15, var$16, var$17); $var11.$field_805_c = 10; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, var$8, var$9, $var8, $var9, $var10, $var11, var$14, var$15, var$16, var$17, $ptr); } function nms_BlockCrops_idDropped($this, $var1, $var2) { if ($var1 != 7) $var1 = (-1); else { nms_Item_$callClinit(); $var1 = nms_Item_wheat.$shiftedIndex; } return $var1; } function nms_BlockCrops_quantityDropped($this, $var1) { return 1; } var nms_BlockSoil = $rt_classWithoutFields(nms_Block); function nms_BlockSoil__init_(var_0) { var var_1 = new nms_BlockSoil(); nms_BlockSoil__init_0(var_1, var_0); return var_1; } function nms_BlockSoil__init_0($this, $var1) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_ground); $this.$blockIndexInTexture = 87; nms_Block_setTickOnLoad($this, 1); nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.9375, 1.0); nms_Block_setLightOpacity($this, 255); } function nms_BlockSoil_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return nms_AxisAlignedBB_getBoundingBoxFromPool($var2 + 0 | 0, $var3 + 0 | 0, $var4 + 0 | 0, $var2 + 1 | 0, $var3 + 1 | 0, $var4 + 1 | 0); } function nms_BlockSoil_isOpaqueCube($this) { return 0; } function nms_BlockSoil_renderAsNormalBlock($this) { return 0; } function nms_BlockSoil_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { $var1 = $rt_compare($var1, 1); return !$var1 && $var2 > 0 ? $this.$blockIndexInTexture - 1 | 0 : $var1 ? 2 : $this.$blockIndexInTexture; } function nms_BlockSoil_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, var$8, var$9, var$10, 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();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $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: if (ju_Random_nextInt($var5, 5)) return; var$6 = $var2 - 4 | 0; $var6 = $var2 + 4 | 0; var$8 = $var3 + 1 | 0; var$9 = $var4 - 4 | 0; var$10 = $var4 + 4 | 0; a: while (true) { if (var$6 > $var6) { if (!0) { $ptr = 1; continue main; } var$6 = 7; $ptr = 2; continue main; } var$11 = $var3; while (var$11 <= var$8) { var$12 = var$9; if (var$12 <= var$10) break a; var$11 = var$11 + 1 | 0; } var$6 = var$6 + 1 | 0; } $ptr = 4; continue main; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 > 0) { var$6 = $var6 - 1 | 0; $ptr = 3; continue main; } var$6 = $var2 - 0 | 0; $var6 = $var2 + 0 | 0; var$12 = $var4 - 0 | 0; var$9 = $var4 + 0 | 0; while (true) { if (var$6 > $var6) { if (0) return; nms_Block_$callClinit(); var$6 = nms_Block_dirt.$blockID; $ptr = 5; continue main; } var$11 = var$12; if (var$11 <= var$9) break; var$6 = var$6 + 1 | 0; } $ptr = 6; continue main; case 2: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; case 4: $tmp = nms_World_getBlockMaterial($var1, var$6, var$11, var$12); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Material_$callClinit(); if ($var5 === nms_Material_water) var$6 = 1; else { var$12 = var$12 + 1 | 0; b: while (true) { if (var$12 <= var$10) { continue main; } var$11 = var$11 + 1 | 0; while (var$11 > var$8) { var$6 = var$6 + 1 | 0; if (var$6 > $var6) break b; var$11 = $var3; } var$12 = var$9; } var$6 = 0; } if (!var$6) { $ptr = 1; continue main; } var$6 = 7; $ptr = 2; continue main; case 5: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; case 6: $tmp = nms_World_getBlockId($var1, var$6, var$8, var$11); if ($rt_suspending()) { break main; } var$13 = $tmp; nms_Block_$callClinit(); if (var$13 == nms_Block_crops.$blockID) var$6 = 1; else { var$11 = var$11 + 1 | 0; while (true) { if (var$11 <= var$9) { continue main; } var$6 = var$6 + 1 | 0; if (var$6 > $var6) break; var$11 = var$12; } var$6 = 0; } if (var$6) return; nms_Block_$callClinit(); var$6 = nms_Block_dirt.$blockID; $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); } function nms_BlockSoil_onEntityWalking($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: if (ju_Random_nextInt($var1.$rand1, 4)) return; nms_Block_$callClinit(); var$6 = nms_Block_dirt.$blockID; $ptr = 1; case 1: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockSoil_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $var3 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6.$func_878_a()) return; nms_Block_$callClinit(); $var5 = nms_Block_dirt.$blockID; $ptr = 2; case 2: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockSoil_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_dirt.$idDropped(0, $var2); } function nms_BlockFurnace() { nms_BlockContainer.call(this); this.$isActive = 0; } function nms_BlockFurnace__init_(var_0, var_1) { var var_2 = new nms_BlockFurnace(); nms_BlockFurnace__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockFurnace__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_BlockContainer__init_($this, $var1, nms_Material_rock); $this.$isActive = $var2; $this.$blockIndexInTexture = 45; } function nms_BlockFurnace_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_stoneOvenIdle.$blockID; } function nms_BlockFurnace_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockContainer_onBlockAdded($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $var4 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; var$5 = $var4 + 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $var2 - 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockId($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; var$8 = $var2 + 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockId($var1, var$8, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; var$9 = 3; nms_Block_$callClinit(); var$10 = nms_Block_opaqueCubeLookup.data; if (var$10[var$6] && !var$10[var$5]) var$9 = 3; if (var$10[var$5] && !var$10[var$6]) var$9 = 2; if (var$10[var$7] && !var$10[var$8]) var$9 = 5; if (var$10[var$8] && !var$10[var$7]) var$9 = 4; $ptr = 6; case 6: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); } function nms_BlockFurnace_getBlockTexture($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var5 == 1) { nms_Block_$callClinit(); return nms_Block_stone.$blockIndexInTexture; } if (!$var5) { nms_Block_$callClinit(); return nms_Block_stone.$blockIndexInTexture; } $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; return $var5 != $var6 ? $this.$blockIndexInTexture : !$this.$isActive ? $this.$blockIndexInTexture - 1 | 0 : $this.$blockIndexInTexture + 16 | 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockFurnace_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, $var11, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$isActive) return; $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var2 + 0.5; $var8 = $var3 + 0.0 + ju_Random_nextFloat($var5) * 6.0 / 16.0; $var9 = $var4 + 0.5; $var11 = ju_Random_nextFloat($var5) * 0.6000000238418579 - 0.30000001192092896; if ($var6 == 4) { var$11 = $var7 - 0.5199999809265137; var$12 = $var8; var$13 = $var9 + $var11; nms_World_spawnParticle($var1, $rt_s(299), var$11, var$12, var$13, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), var$11, var$12, var$13, 0.0, 0.0, 0.0); } else if ($var6 == 5) { var$11 = $var7 + 0.5199999809265137; var$12 = $var8; var$13 = $var9 + $var11; nms_World_spawnParticle($var1, $rt_s(299), var$11, var$12, var$13, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), var$11, var$12, var$13, 0.0, 0.0, 0.0); } else if ($var6 == 2) { var$11 = $var7 + $var11; var$12 = $var8; var$13 = $var9 - 0.5199999809265137; nms_World_spawnParticle($var1, $rt_s(299), var$11, var$12, var$13, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), var$11, var$12, var$13, 0.0, 0.0, 0.0); } else if ($var6 == 3) { var$14 = $var7 + $var11; var$15 = $var8; var$16 = $var9 + 0.5199999809265137; nms_World_spawnParticle($var1, $rt_s(299), var$14, var$15, var$16, 0.0, 0.0, 0.0); nms_World_spawnParticle($var1, $rt_s(300), var$14, var$15, var$16, 0.0, 0.0, 0.0); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var11, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); } function nms_BlockFurnace_getBlockTextureFromSide($this, $var1) { if ($var1 == 1) { nms_Block_$callClinit(); $var1 = nms_Block_stone.$blockID; } else if (!$var1) { nms_Block_$callClinit(); $var1 = nms_Block_stone.$blockID; } else $var1 = $var1 != 3 ? $this.$blockIndexInTexture : $this.$blockIndexInTexture - 1 | 0; return $var1; } function nms_BlockFurnace_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; $var6 = $var1; var$7 = $var5.$mc5; $var1 = new nms_GuiFurnace; $var5 = $var5.$inventory0; nms_GuiContainer__init_($var1); $var1.$field_978_j = $var6; ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var6, 0, 56, 17)); ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var6, 1, 56, 53)); ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var6, 2, 116, 35)); $var2 = 0; while ($var2 < 3) { $var3 = 0; while ($var3 < 9) { ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var5, $var3 + (($var2 + 1 | 0) * 9 | 0) | 0, 8 + ($var3 * 18 | 0) | 0, 84 + ($var2 * 18 | 0) | 0)); $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } $var2 = 0; while ($var2 < 9) { ju_ArrayList_add($var1.$inventorySlots, nms_SlotInventory__init_($var1, $var5, $var2, 8 + ($var2 * 18 | 0) | 0, 142)); $var2 = $var2 + 1 | 0; } $ptr = 2; case 2: nmc_Minecraft_displayGuiScreen(var$7, $var1); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockFurnace_SetBlockEntity($this) { return nms_TileEntityFurnace__init_0(); } function nms_BlockFurnace_onBlockPlacedBy($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_MathHelper_floor_double($var5.$rotationYaw * 4.0 / 360.0 + 0.5) & 3; if (!$var6) { var$7 = 2; $ptr = 1; continue main; } if ($var6 == 1) { var$7 = 5; $ptr = 2; continue main; } if ($var6 == 2) { var$7 = 3; $ptr = 3; continue main; } if ($var6 != 3) return; $var6 = 4; $ptr = 4; continue main; case 1: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } if ($var6 == 1) { var$7 = 5; $ptr = 2; continue main; } if ($var6 == 2) { var$7 = 3; $ptr = 3; continue main; } if ($var6 != 3) return; $var6 = 4; $ptr = 4; continue main; case 2: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } if ($var6 == 2) { var$7 = 3; $ptr = 3; continue main; } if ($var6 != 3) return; $var6 = 4; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } if ($var6 != 3) return; $var6 = 4; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockSign() { var a = this; nms_BlockContainer.call(a); a.$signEntityClass = null; a.$isFreestanding = 0; } function nms_BlockSign__init_(var_0, var_1, var_2) { var var_3 = new nms_BlockSign(); nms_BlockSign__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_BlockSign__init_0($this, $var1, $var2, $var3) { nms_Material_$callClinit(); nms_BlockContainer__init_($this, $var1, nms_Material_wood); $this.$isFreestanding = $var3; $this.$blockIndexInTexture = 4; $this.$signEntityClass = $var2; nms_Block_setBlockBounds($this, 0.25, 0.0, 0.25, 0.75, 1.0, 0.75); } function nms_BlockSign_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockSign_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockSign_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_Block_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockSign_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: if ($this.$isFreestanding) return; $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); if ($var5 == 2) nms_Block_setBlockBounds($this, 0.0, 0.28125, 0.875, 1.0, 0.78125, 1.0); if ($var5 == 3) nms_Block_setBlockBounds($this, 0.0, 0.28125, 0.0, 1.0, 0.78125, 0.125); if ($var5 == 4) nms_Block_setBlockBounds($this, 0.875, 0.28125, 0.0, 1.0, 0.78125, 1.0); if ($var5 == 5) nms_Block_setBlockBounds($this, 0.0, 0.28125, 0.0, 0.125, 0.78125, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockSign_getRenderType($this) { return (-1); } function nms_BlockSign_renderAsNormalBlock($this) { return 0; } function nms_BlockSign_isOpaqueCube($this) { return 0; } function nms_BlockSign_SetBlockEntity($this) { var $var2, var$2, $$je; a: { try { $var2 = jl_Class_newInstance($this.$signEntityClass); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var2 = $$je; break a; } else { throw $$e; } } return $var2; } var$2 = new jl_RuntimeException; jl_Throwable__init_4(var$2, $var2); $rt_throw(var$2); } function nms_BlockSign_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_sign.$shiftedIndex; } function nms_BlockSign_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; if (!$this.$isFreestanding) { $ptr = 1; continue main; } $var5 = $var3 - 1 | 0; $ptr = 2; continue main; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var6 = 1; if ($var7 == 2) { $var5 = $var4 + 1 | 0; $ptr = 3; continue main; } if ($var7 == 3) { $var5 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var7 == 4) { $var5 = $var2 + 1 | 0; $ptr = 8; continue main; } if ($var7 == 5) { $var5 = $var2 - 1 | 0; $ptr = 9; continue main; } if (!$var6) return; $ptr = 5; continue main; case 2: $tmp = nms_World_getBlockMaterial($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8.$func_878_a()) $var6 = 1; if (!$var6) return; $ptr = 5; continue main; case 3: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8.$func_878_a()) $var6 = 0; if ($var7 == 3) { $var5 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var7 == 4) { $var5 = $var2 + 1 | 0; $ptr = 8; continue main; } if ($var7 == 5) { $var5 = $var2 - 1 | 0; $ptr = 9; continue main; } if (!$var6) return; $ptr = 5; continue main; case 4: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8.$func_878_a()) $var6 = 0; if ($var7 == 4) { $var5 = $var2 + 1 | 0; $ptr = 8; continue main; } if ($var7 == 5) { $var5 = $var2 - 1 | 0; $ptr = 9; continue main; } if (!$var6) return; $ptr = 5; case 5: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 6; case 6: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 7; case 7: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 8: $tmp = nms_World_getBlockMaterial($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8.$func_878_a()) $var6 = 0; if ($var7 == 5) { $var5 = $var2 - 1 | 0; $ptr = 9; continue main; } if (!$var6) return; $ptr = 5; continue main; case 9: $tmp = nms_World_getBlockMaterial($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8.$func_878_a()) $var6 = 0; if (!$var6) return; $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $ptr); } function nms_TileEntity() { var a = this; jl_Object.call(a); a.$worldObj4 = null; a.$xCoord0 = 0; a.$yCoord0 = 0; a.$zCoord0 = 0; } var nms_TileEntity_nameToClassMap = null; var nms_TileEntity_classToNameMap = null; function nms_TileEntity_$callClinit() { nms_TileEntity_$callClinit = $rt_eraseClinit(nms_TileEntity); nms_TileEntity__clinit_(); } function nms_TileEntity__init_0() { var var_0 = new nms_TileEntity(); nms_TileEntity__init_(var_0); return var_0; } function nms_TileEntity__init_($this) { nms_TileEntity_$callClinit(); } function nms_TileEntity_addMapping($var0, $var1) { var var$3; nms_TileEntity_$callClinit(); if (!ju_HashMap_containsKey(nms_TileEntity_classToNameMap, $var1)) { ju_HashMap_put(nms_TileEntity_nameToClassMap, $var1, $var0); ju_HashMap_put(nms_TileEntity_classToNameMap, $var0, $var1); return; } $var0 = new jl_IllegalArgumentException; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append(jl_StringBuilder_append(var$3, $rt_s(304)), $var1); jl_Throwable__init_($var0, jl_AbstractStringBuilder_toString(var$3)); $rt_throw($var0); } function nms_TileEntity_readFromNBT($this, $var1) { $this.$xCoord0 = nms_NBTTagCompound_getInteger($var1, $rt_s(305)); $this.$yCoord0 = nms_NBTTagCompound_getInteger($var1, $rt_s(306)); $this.$zCoord0 = nms_NBTTagCompound_getInteger($var1, $rt_s(307)); } function nms_TileEntity_writeToNBT($this, $var1) { var $var2, var$3; nms_TileEntity_$callClinit(); $var2 = ju_HashMap_get(nms_TileEntity_classToNameMap, jl_Object_getClass($this)); if ($var2 !== null) { nms_NBTTagCompound_setString($var1, $rt_s(308), $var2); nms_NBTTagCompound_setInteger($var1, $rt_s(305), $this.$xCoord0); nms_NBTTagCompound_setInteger($var1, $rt_s(306), $this.$yCoord0); nms_NBTTagCompound_setInteger($var1, $rt_s(307), $this.$zCoord0); return; } $var1 = new jl_RuntimeException; $var2 = jl_Object_getClass($this); var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append(jl_StringBuilder_append(var$3, $var2), $rt_s(309)); jl_Throwable__init_($var1, jl_AbstractStringBuilder_toString(var$3)); $rt_throw($var1); } function nms_TileEntity_updateEntity($this) {} function nms_TileEntity_getBlockMetadata($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj4; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata(var$1, var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_TileEntity_onInventoryChanged($this) { var var$1, var$2, var$3, 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();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj4; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; if (!nms_World_blockExists(var$1, var$2, var$3, var$4)) { var$2 = 0; while (true) { var$5 = var$1.$worldAccesses; if (var$2 >= var$5.$size) break; ju_ArrayList_get(var$5, var$2); var$2 = var$2 + 1 | 0; } return; } $ptr = 1; case 1: $tmp = nms_World_getChunkFromBlockCoords(var$1, var$2, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; nms_Chunk_setChunkModified(var$5); var$2 = 0; while (true) { var$5 = var$1.$worldAccesses; if (var$2 >= var$5.$size) break; ju_ArrayList_get(var$5, var$2); var$2 = var$2 + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $ptr); } function nms_TileEntity_getDistanceFrom($this, $var1, $var3, $var5) { var $var7, $var9, $var11; $var7 = $this.$xCoord0 + 0.5 - $var1; $var9 = $this.$yCoord0 + 0.5 - $var3; $var11 = $this.$zCoord0 + 0.5 - $var5; return $var7 * $var7 + $var9 * $var9 + $var11 * $var11; } function nms_TileEntity_getBlockType($this) { var var$1, var$2, var$3, 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();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data; var$2 = $this.$worldObj4; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$1[var$3]; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $ptr); } function nms_TileEntity_getTileEntity($c) { nms_TileEntity_$callClinit(); if ($c === $rt_cls(nms_TileEntityFurnace)) return nms_TileEntityFurnace__init_0(); if ($c === $rt_cls(nms_TileEntityChest)) return nms_TileEntityChest__init_0(); if ($c === $rt_cls(nms_TileEntitySign)) return nms_TileEntitySign__init_0(); if ($c !== $rt_cls(nms_TileEntityMobSpawner)) return null; return nms_TileEntityMobSpawner__init_0(); } function nms_TileEntity__clinit_() { nms_TileEntity_nameToClassMap = ju_HashMap__init_0(); nms_TileEntity_classToNameMap = ju_HashMap__init_0(); nms_TileEntity_addMapping($rt_cls(nms_TileEntityFurnace), $rt_s(310)); nms_TileEntity_addMapping($rt_cls(nms_TileEntityChest), $rt_s(311)); nms_TileEntity_addMapping($rt_cls(nms_TileEntitySign), $rt_s(312)); nms_TileEntity_addMapping($rt_cls(nms_TileEntityMobSpawner), $rt_s(313)); } function nms_TileEntitySign() { var a = this; nms_TileEntity.call(a); a.$signText = null; a.$lineBeingEdited = 0; } function nms_TileEntitySign__init_0() { var var_0 = new nms_TileEntitySign(); nms_TileEntitySign__init_(var_0); return var_0; } function nms_TileEntitySign__init_($this) { nms_TileEntity_$callClinit(); $this.$signText = $rt_createArrayFromData(jl_String, [$rt_s(6), $rt_s(6), $rt_s(6), $rt_s(6)]); $this.$lineBeingEdited = (-1); } function nms_TileEntitySign_writeToNBT($this, $var1) { nms_TileEntity_writeToNBT($this, $var1); nms_NBTTagCompound_setString($var1, $rt_s(314), $this.$signText.data[0]); nms_NBTTagCompound_setString($var1, $rt_s(315), $this.$signText.data[1]); nms_NBTTagCompound_setString($var1, $rt_s(316), $this.$signText.data[2]); nms_NBTTagCompound_setString($var1, $rt_s(317), $this.$signText.data[3]); } function nms_TileEntitySign_readFromNBT($this, $var1) { var $var2, var$3, $var2_0, var$5; nms_TileEntity_readFromNBT($this, $var1); $var2 = 0; while ($var2 < 4) { var$3 = $this.$signText.data; $var2_0 = $var2 + 1 | 0; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append1(jl_StringBuilder_append(var$5, $rt_s(318)), $var2_0); var$3[$var2] = nms_NBTTagCompound_getString($var1, jl_AbstractStringBuilder_toString(var$5)); if (jl_String_length($this.$signText.data[$var2]) > 15) { var$3 = $this.$signText.data; var$3[$var2] = jl_String_substring0(var$3[$var2], 0, 15); } $var2 = $var2_0; } } var nms_BlockDoor = $rt_classWithoutFields(nms_Block); function nms_BlockDoor__init_(var_0, var_1) { var var_2 = new nms_BlockDoor(); nms_BlockDoor__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockDoor__init_0($this, $var1, $var2) { nms_Block__init_0($this, $var1, $var2); $this.$blockIndexInTexture = 97; nms_Material_$callClinit(); if ($var2 === nms_Material_iron) $this.$blockIndexInTexture = 98; nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); } function nms_BlockDoor_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { var $var3, $var5; if ($var1 && $var1 != 1) { $var3 = nms_BlockDoor_func_312_c($this, $var2); if (($var3 && $var3 != 2 ? 0 : 1) ^ ($var1 > 3 ? 0 : 1)) return $this.$blockIndexInTexture; $var1 = (($var3 / 2 | 0) + ($var1 & 1 ^ $var3) | 0) + (($var2 & 4) / 4 | 0) | 0; $var5 = $this.$blockIndexInTexture - (($var2 & 8) * 2 | 0) | 0; if ($var1 & 1) $var5 = -$var5 | 0; return $var5; } return $this.$blockIndexInTexture; } function nms_BlockDoor_isOpaqueCube($this) { return 0; } function nms_BlockDoor_renderAsNormalBlock($this) { return 0; } function nms_BlockDoor_getRenderType($this) { return 7; } function nms_BlockDoor_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockDoor_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_Block_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockDoor_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockDoor_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_Block_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockDoor_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; $var2 = nms_BlockDoor_func_312_c($this, $var2); nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 2.0, 1.0); if (!$var2) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 0.1875); if ($var2 == 1) nms_Block_setBlockBounds($this, 0.8125, 0.0, 0.0, 1.0, 1.0, 1.0); if ($var2 == 2) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.8125, 1.0, 1.0, 1.0); if ($var2 == 3) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 0.1875, 1.0, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockDoor_onBlockClicked($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockDoor_blockActivated($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockDoor_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $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: var$6 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$6 === nms_Material_iron) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!($var6 & 8)) { var$8 = $var3 + 1 | 0; $ptr = 2; continue main; } $var3 = $var3 - 1 | 0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($var1, $var2, var$8, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 != $this.$blockID) { var$8 = $var6 ^ 4; $ptr = 4; continue main; } var$9 = ($var6 ^ 4) + 8 | 0; $ptr = 5; continue main; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 != $this.$blockID) return 1; $ptr = 6; continue main; case 4: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$8); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3 - 1 | 0, $var4, $var2, $var3, $var4); if (jl_Math_random() >= 0.5) nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(319), 1.0, ju_Random_nextFloat($var1.$rand1) * 0.10000000149011612 + 0.8999999761581421); else nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(320), 1.0, ju_Random_nextFloat($var1.$rand1) * 0.10000000149011612 + 0.8999999761581421); return 1; case 5: nms_World_setBlockMetadataWithNotify($var1, $var2, var$8, $var4, var$9); if ($rt_suspending()) { break main; } var$8 = $var6 ^ 4; $ptr = 4; continue main; case 6: nms_BlockDoor_blockActivated($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, var$8, var$9, $ptr); } function nms_BlockDoor_func_311_a($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!($var6 & 8)) { $ptr = 2; continue main; } $var3 = $var3 - 1 | 0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ((($var7 & 4) <= 0 ? 0 : 1) == $var5) return; var$8 = $var3 + 1 | 0; $ptr = 5; continue main; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 != $this.$blockID) return; $ptr = 4; case 4: nms_BlockDoor_func_311_a($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 5: $tmp = nms_World_getBlockId($var1, $var2, var$8, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 != $this.$blockID) { $var5 = $var6 ^ 4; $ptr = 6; continue main; } $var5 = ($var6 ^ 4) + 8 | 0; $ptr = 7; continue main; case 6: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3 - 1 | 0, $var4, $var2, $var3, $var4); if (jl_Math_random() >= 0.5) nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(319), 1.0, ju_Random_nextFloat($var1.$rand1) * 0.10000000149011612 + 0.8999999761581421); else nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(320), 1.0, ju_Random_nextFloat($var1.$rand1) * 0.10000000149011612 + 0.8999999761581421); return; case 7: nms_World_setBlockMetadataWithNotify($var1, $var2, var$8, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = $var6 ^ 4; $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $ptr); } function nms_BlockDoor_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var8, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 & 8) { $var8 = $var3 - 1 | 0; $ptr = 3; continue main; } $var7 = 0; $var8 = $var3 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var8, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 != $this.$blockID) { $var7 = 0; $ptr = 4; continue main; } var$9 = $var3 - 1 | 0; $ptr = 6; continue main; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var8, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 != $this.$blockID) { $var7 = 0; $ptr = 5; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { $ptr = 9; continue main; } } return; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var7); if ($rt_suspending()) { break main; } $var7 = 1; var$9 = $var3 - 1 | 0; $ptr = 6; continue main; case 5: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var7); if ($rt_suspending()) { break main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { $ptr = 9; continue main; } } return; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$9, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (!var$9) { $var7 = 0; $ptr = 7; continue main; } if ($var7) { $ptr = 11; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { $ptr = 12; continue main; } } return; case 7: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var7); if ($rt_suspending()) { break main; } $var7 = 1; $ptr = 8; case 8: $tmp = nms_World_getBlockId($var1, $var2, $var8, $var4); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == $this.$blockID) { var$9 = 0; $ptr = 10; continue main; } if ($var7) { $ptr = 11; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { $ptr = 12; continue main; } } return; case 9: nms_BlockDoor_onNeighborBlockChange($this, $var1, $var2, $var8, $var4, $var5); if ($rt_suspending()) { break main; } return; case 10: nms_World_setBlockWithNotify($var1, $var2, $var8, $var4, var$9); if ($rt_suspending()) { break main; } if ($var7) { $ptr = 11; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { $ptr = 12; continue main; } } return; case 11: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; case 12: $tmp = nms_World_isBlockIndirectlyGettingPowered($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) { $ptr = 13; continue main; } $var8 = 1; $ptr = 14; continue main; case 13: $tmp = nms_World_isBlockIndirectlyGettingPowered($var1, $var2, $var8, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var8 = $var5 ? 1 : 0; $ptr = 14; case 14: nms_BlockDoor_func_311_a($this, $var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var8, $var7, var$9, $ptr); } function nms_BlockDoor_idDropped($this, $var1, $var2) { if ($var1 & 8) $var1 = 0; else { $var2 = $this.$blockMaterial; nms_Material_$callClinit(); if ($var2 !== nms_Material_iron) { nms_Item_$callClinit(); $var1 = nms_Item_doorWood.$shiftedIndex; } else { nms_Item_$callClinit(); $var1 = nms_Item_doorSteel.$shiftedIndex; } } return $var1; } function nms_BlockDoor_collisionRayTrace($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockDoor_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_Block_collisionRayTrace($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockDoor_func_312_c($this, $var1) { return $var1 & 4 ? $var1 & 3 : ($var1 - 1 | 0) & 3; } function nms_BlockDoor_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var3 >= 127) return 0; var$5 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) return 0; $ptr = 2; case 2: $tmp = nms_Block_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) return 0; $var3 = $var3 + 1 | 0; $ptr = 3; case 3: $tmp = nms_Block_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return !$var2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } var nms_BlockLadder = $rt_classWithoutFields(nms_Block); function nms_BlockLadder__init_(var_0, var_1) { var var_2 = new nms_BlockLadder(); nms_BlockLadder__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockLadder__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_circuits); } function nms_BlockLadder_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == 2) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.875, 1.0, 1.0, 1.0); if ($var5 == 3) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 0.125); if ($var5 == 4) nms_Block_setBlockBounds($this, 0.875, 0.0, 0.0, 1.0, 1.0, 1.0); if ($var5 == 5) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 0.125, 1.0, 1.0); $ptr = 2; case 2: $tmp = nms_Block_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockLadder_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == 2) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.875, 1.0, 1.0, 1.0); if ($var5 == 3) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 0.125); if ($var5 == 4) nms_Block_setBlockBounds($this, 0.875, 0.0, 0.0, 1.0, 1.0, 1.0); if ($var5 == 5) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 0.125, 1.0, 1.0); $ptr = 2; case 2: $tmp = nms_Block_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockLadder_isOpaqueCube($this) { return 0; } function nms_BlockLadder_renderAsNormalBlock($this) { return 0; } function nms_BlockLadder_getRenderType($this) { return 8; } function nms_BlockLadder_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $var4 = $var4 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockLadder_onBlockPlaced($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 && $var5 != 2) { if ($var6 && $var5 != 3) { if ($var6 && $var5 != 4) { if ($var6 && $var5 != 5) { $ptr = 6; continue main; } $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } var$7 = $var2 + 1 | 0; $ptr = 4; continue main; } var$7 = $var4 - 1 | 0; $ptr = 3; continue main; } var$7 = $var4 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) $var6 = 2; if ($var6 && $var5 != 3) { if ($var6 && $var5 != 4) { if ($var6 && $var5 != 5) { $ptr = 6; continue main; } $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } var$7 = $var2 + 1 | 0; $ptr = 4; continue main; } var$7 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) $var6 = 3; if ($var6 && $var5 != 4) { if ($var6 && $var5 != 5) { $ptr = 6; continue main; } $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } var$7 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, var$7, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) $var6 = 4; if ($var6 && $var5 != 5) { $ptr = 6; continue main; } $var5 = $var2 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $var6 = 5; $ptr = 6; case 6: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockLadder_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = 0; if ($var6 == 2) { $var5 = $var4 + 1 | 0; $ptr = 2; continue main; } if ($var6 == 3) { $var5 = $var4 - 1 | 0; $ptr = 3; continue main; } if ($var6 == 4) { $var5 = $var2 + 1 | 0; $ptr = 4; continue main; } if ($var6 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } if ($var7) return; $ptr = 6; continue main; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $var7 = 1; if ($var6 == 3) { $var5 = $var4 - 1 | 0; $ptr = 3; continue main; } if ($var6 == 4) { $var5 = $var2 + 1 | 0; $ptr = 4; continue main; } if ($var6 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } if ($var7) return; $ptr = 6; continue main; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $var7 = 1; if ($var6 == 4) { $var5 = $var2 + 1 | 0; $ptr = 4; continue main; } if ($var6 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } if ($var7) return; $ptr = 6; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $var7 = 1; if ($var6 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } if ($var7) return; $ptr = 6; continue main; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $var7 = 1; if ($var7) return; $ptr = 6; case 6: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 7; case 7: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockLadder_quantityDropped($this, $var1) { return 1; } var nms_BlockMinecartTrack = $rt_classWithoutFields(nms_Block); function nms_BlockMinecartTrack__init_(var_0, var_1) { var var_2 = new nms_BlockMinecartTrack(); nms_BlockMinecartTrack__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockMinecartTrack__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_circuits); nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.125, 1.0); } function nms_BlockMinecartTrack_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockMinecartTrack_isOpaqueCube($this) { return 0; } function nms_BlockMinecartTrack_collisionRayTrace($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockMinecartTrack_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_Block_collisionRayTrace($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockMinecartTrack_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 >= 2 && $var5 <= 5) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.625, 1.0); else nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.125, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockMinecartTrack_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { return $var2 < 6 ? $this.$blockIndexInTexture : $this.$blockIndexInTexture - 16 | 0; } function nms_BlockMinecartTrack_renderAsNormalBlock($this) { return 0; } function nms_BlockMinecartTrack_getRenderType($this) { return 9; } function nms_BlockMinecartTrack_quantityDropped($this, $var1) { return 1; } function nms_BlockMinecartTrack_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockMinecartTrack_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = 15; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_BlockMinecartTrack_func_4031_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockMinecartTrack_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = 0; var$8 = $var3 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$8, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) $var7 = 1; if ($var6 == 2) { var$8 = $var2 + 1 | 0; $ptr = 3; continue main; } if ($var6 == 3) { var$8 = $var2 - 1 | 0; $ptr = 4; continue main; } if ($var6 == 4) { var$8 = $var4 - 1 | 0; $ptr = 5; continue main; } if ($var6 == 5) { var$8 = $var4 + 1 | 0; $ptr = 6; continue main; } if ($var7) { $ptr = 7; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { var$9 = new nms_MinecartTrackLogic; $ptr = 10; continue main; } } return; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, var$8, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) $var7 = 1; if ($var6 == 3) { var$8 = $var2 - 1 | 0; $ptr = 4; continue main; } if ($var6 == 4) { var$8 = $var4 - 1 | 0; $ptr = 5; continue main; } if ($var6 == 5) { var$8 = $var4 + 1 | 0; $ptr = 6; continue main; } if ($var7) { $ptr = 7; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { var$9 = new nms_MinecartTrackLogic; $ptr = 10; continue main; } } return; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, var$8, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) $var7 = 1; if ($var6 == 4) { var$8 = $var4 - 1 | 0; $ptr = 5; continue main; } if ($var6 == 5) { var$8 = $var4 + 1 | 0; $ptr = 6; continue main; } if ($var7) { $ptr = 7; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { var$9 = new nms_MinecartTrackLogic; $ptr = 10; continue main; } } return; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) $var7 = 1; if ($var6 == 5) { var$8 = $var4 + 1 | 0; $ptr = 6; continue main; } if ($var7) { $ptr = 7; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { var$9 = new nms_MinecartTrackLogic; $ptr = 10; continue main; } } return; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) $var7 = 1; if ($var7) { $ptr = 7; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$canProvidePower()) { var$9 = new nms_MinecartTrackLogic; $ptr = 10; continue main; } } return; case 7: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 8; case 8: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 9; case 9: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 10: nms_MinecartTrackLogic__init_(var$9, $this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$8 = 0; $var7 = var$9.$field_1165_c; var$10 = var$9.$field_1164_d; $var5 = var$9.$field_1163_e - 1 | 0; $ptr = 11; case 11: $tmp = nms_MinecartTrackLogic_func_784_a(var$9, $var7, var$10, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) var$8 = 1; $var5 = var$9.$field_1165_c; $var7 = var$9.$field_1164_d; $var6 = var$9.$field_1163_e + 1 | 0; $ptr = 12; case 12: $tmp = nms_MinecartTrackLogic_func_784_a(var$9, $var5, $var7, $var6); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) var$8 = var$8 + 1 | 0; $var5 = var$9.$field_1165_c - 1 | 0; $var7 = var$9.$field_1164_d; $var6 = var$9.$field_1163_e; $ptr = 13; case 13: $tmp = nms_MinecartTrackLogic_func_784_a(var$9, $var5, $var7, $var6); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) var$8 = var$8 + 1 | 0; $var5 = var$9.$field_1165_c + 1 | 0; $var7 = var$9.$field_1164_d; $var6 = var$9.$field_1163_e; $ptr = 14; case 14: $tmp = nms_MinecartTrackLogic_func_784_a(var$9, $var5, $var7, $var6); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) var$8 = var$8 + 1 | 0; if (var$8 != 3) return; $ptr = 15; case 15: nms_BlockMinecartTrack_func_4031_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $ptr); } function nms_BlockMinecartTrack_func_4031_h($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = new nms_MinecartTrackLogic; $ptr = 1; case 1: nms_MinecartTrackLogic__init_(var$5, $this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_World_isBlockIndirectlyGettingPowered($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; $ptr = 3; case 3: nms_MinecartTrackLogic_func_792_a(var$5, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } var nms_BlockLever = $rt_classWithoutFields(nms_Block); function nms_BlockLever__init_(var_0, var_1) { var var_2 = new nms_BlockLever(); nms_BlockLever__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockLever__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_circuits); } function nms_BlockLever_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockLever_isOpaqueCube($this) { return 0; } function nms_BlockLever_renderAsNormalBlock($this) { return 0; } function nms_BlockLever_getRenderType($this) { return 12; } function nms_BlockLever_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var4 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $var3 = $var3 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockLever_onBlockPlaced($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var6 & 8; var$8 = $var6 & 7; if ($var5 == 1) { $var6 = $var3 - 1 | 0; $ptr = 2; continue main; } if ($var5 == 2) { $var6 = $var4 + 1 | 0; $ptr = 3; continue main; } if ($var5 == 3) { $var6 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var5 == 4) { $var6 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 6; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 7; continue main; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var6, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) var$8 = 5 + ju_Random_nextInt($var1.$rand1, 2) | 0; if ($var5 == 2) { $var6 = $var4 + 1 | 0; $ptr = 3; continue main; } if ($var5 == 3) { $var6 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var5 == 4) { $var6 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 6; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 7; continue main; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) var$8 = 4; if ($var5 == 3) { $var6 = $var4 - 1 | 0; $ptr = 4; continue main; } if ($var5 == 4) { $var6 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 6; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 7; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) var$8 = 3; if ($var5 == 4) { $var6 = $var2 + 1 | 0; $ptr = 5; continue main; } if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 6; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 7; continue main; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var6, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) var$8 = 2; if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 6; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 7; continue main; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) var$8 = 1; $var5 = var$8 + $var7 | 0; $ptr = 7; case 7: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $ptr); } function nms_BlockLever_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 1; $ptr = 3; continue main; } var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 2; $ptr = 5; continue main; } var$5 = $var4 - 1 | 0; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 3; $ptr = 8; continue main; } var$5 = $var4 + 1 | 0; $ptr = 7; continue main; case 5: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; case 6: nms_BlockLever_checkIfAttachedToBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; case 7: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 4; $ptr = 10; continue main; } var$5 = $var3 - 1 | 0; $ptr = 9; continue main; case 8: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 9: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { $ptr = 6; continue main; } var$5 = 5 + ju_Random_nextInt($var1.$rand1, 2) | 0; $ptr = 11; continue main; case 10: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 11: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockLever_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockLever_checkIfAttachedToBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = $var5 & 7; $var7 = 0; $var5 = $var2 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 1) $var7 = 1; $var5 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 2) $var7 = 1; $var5 = $var4 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 3) $var7 = 1; $var5 = $var4 + 1 | 0; $ptr = 6; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 4) $var7 = 1; $var5 = $var3 - 1 | 0; $ptr = 7; case 7: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 5) $var7 = 1; if (!$var7) return; $ptr = 8; case 8: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 9; case 9: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 10; case 10: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockLever_checkIfAttachedToBlock($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockLever_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockLever_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; $var5 = $var2 & 7; if ($var5 == 1) nms_Block_setBlockBounds($this, 0.0, 0.20000000298023224, 0.3125, 0.375, 0.800000011920929, 0.6875); else if ($var5 == 2) nms_Block_setBlockBounds($this, 0.625, 0.20000000298023224, 0.3125, 1.0, 0.800000011920929, 0.6875); else if ($var5 == 3) nms_Block_setBlockBounds($this, 0.3125, 0.20000000298023224, 0.0, 0.6875, 0.800000011920929, 0.375); else if ($var5 != 4) nms_Block_setBlockBounds($this, 0.25, 0.0, 0.25, 0.75, 0.6000000238418579, 0.75); else nms_Block_setBlockBounds($this, 0.3125, 0.20000000298023224, 0.625, 0.6875, 0.800000011920929, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockLever_onBlockClicked($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockLever_blockActivated($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockLever_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var6 & 7; $var8 = 8 - ($var6 & 8) | 0; $var6 = $var7 + $var8 | 0; $ptr = 2; case 2: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(321), 0.30000001192092896, $var8 <= 0 ? 0.5 : 0.6000000238418579); $var6 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } if ($var7 == 1) { $var2 = $var2 - 1 | 0; $var6 = $this.$blockID; $ptr = 4; continue main; } if ($var7 == 2) { $var2 = $var2 + 1 | 0; $var6 = $this.$blockID; $ptr = 5; continue main; } if ($var7 == 3) { $var4 = $var4 - 1 | 0; $var6 = $this.$blockID; $ptr = 6; continue main; } if ($var7 != 4) { $var3 = $var3 - 1 | 0; $var6 = $this.$blockID; $ptr = 7; continue main; } $var4 = $var4 + 1 | 0; $var6 = $this.$blockID; $ptr = 8; continue main; case 4: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return 1; case 5: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return 1; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return 1; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return 1; case 8: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_BlockLever_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (($var5 & 8) <= 0) return; $var6 = $this.$blockID; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var6 = $var5 & 7; if ($var6 == 1) { $var2 = $var2 - 1 | 0; $var5 = $this.$blockID; $ptr = 3; continue main; } if ($var6 == 2) { $var2 = $var2 + 1 | 0; $var5 = $this.$blockID; $ptr = 4; continue main; } if ($var6 == 3) { $var4 = $var4 - 1 | 0; $var5 = $this.$blockID; $ptr = 5; continue main; } if ($var6 != 4) { $var3 = $var3 - 1 | 0; $var5 = $this.$blockID; $ptr = 6; continue main; } $var4 = $var4 + 1 | 0; $var5 = $this.$blockID; $ptr = 7; continue main; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 4: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 5: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockLever_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return ($var2 & 8) <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockLever_isIndirectlyPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!($var6 & 8)) return 0; $var7 = $var6 & 7; return $var7 == 5 && $var5 == 1 ? 1 : $var7 == 4 && $var5 == 2 ? 1 : $var7 == 3 && $var5 == 3 ? 1 : $var7 == 2 && $var5 == 4 ? 1 : $var7 == 1 && $var5 == 5 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockLever_canProvidePower($this) { return 1; } function nms_BlockPressurePlate() { nms_Block.call(this); this.$triggerMobType = null; } function nms_BlockPressurePlate__init_0(var_0, var_1, var_2) { var var_3 = new nms_BlockPressurePlate(); nms_BlockPressurePlate__init_(var_3, var_0, var_1, var_2); return var_3; } function nms_BlockPressurePlate__init_($this, $var1, $var2, $var3) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_rock); $this.$triggerMobType = $var3; nms_Block_setTickOnLoad($this, 1); nms_Block_setBlockBounds($this, 0.0625, 0.0, 0.0625, 0.9375, 0.03125, 0.9375); } function nms_BlockPressurePlate_tickRate($this) { return 20; } function nms_BlockPressurePlate_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockPressurePlate_isOpaqueCube($this) { return 0; } function nms_BlockPressurePlate_renderAsNormalBlock($this) { return 0; } function nms_BlockPressurePlate_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockPressurePlate_onBlockAdded($this, $var1, $var2, $var3, $var4) {} function nms_BlockPressurePlate_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; $var5 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) $var6 = 1; if (!$var6) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockPressurePlate_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) return; $ptr = 2; case 2: nms_BlockPressurePlate_setStateIfMobInteractsWithPlate($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockPressurePlate_onEntityCollidedWithBlock($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 == 1) return; $ptr = 2; case 2: nms_BlockPressurePlate_setStateIfMobInteractsWithPlate($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockPressurePlate_setStateIfMobInteractsWithPlate($this, $var1, $var2, $var3, $var4) { var var$5, $var5, $var6, $var7, $var8, var$10, 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();var$10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; $var5 = var$5 != 1 ? 0 : 1; $var6 = 0; $var7 = 0.125; $var8 = null; var$10 = $this.$triggerMobType; nms_EnumMobType_$callClinit(); if (var$10 === nms_EnumMobType_everything) { $var8 = null; var$11 = $var2 + $var7; var$12 = $var3; var$10 = nms_AxisAlignedBB_getBoundingBoxFromPool(var$11, var$12, $var4 + $var7, ($var2 + 1 | 0) - $var7, var$12 + 0.25, ($var4 + 1 | 0) - $var7); $ptr = 2; continue main; } if ($this.$triggerMobType === nms_EnumMobType_mobs) { $var8 = $rt_cls(nms_EntityLiving); var$11 = $var2 + $var7; var$12 = $var3; var$10 = nms_AxisAlignedBB_getBoundingBoxFromPool(var$11, var$12, $var4 + $var7, ($var2 + 1 | 0) - $var7, var$12 + 0.25, ($var4 + 1 | 0) - $var7); $ptr = 3; continue main; } if ($this.$triggerMobType === nms_EnumMobType_players) { $var8 = $rt_cls(nms_EntityPlayer); var$11 = $var2 + $var7; var$12 = $var3; var$10 = nms_AxisAlignedBB_getBoundingBoxFromPool(var$11, var$12, $var4 + $var7, ($var2 + 1 | 0) - $var7, var$12 + 0.25, ($var4 + 1 | 0) - $var7); $ptr = 4; continue main; } if ($var8.$size > 0) $var6 = 1; if ($var6 && !$var5) { var$5 = 1; $ptr = 5; continue main; } if (!$var6 && $var5) { var$5 = 0; $ptr = 9; continue main; } if (!$var6) return; var$5 = $this.$blockID; $ptr = 8; continue main; case 2: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var1, $var8, var$10); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($this.$triggerMobType === nms_EnumMobType_mobs) { $var8 = $rt_cls(nms_EntityLiving); var$11 = $var2 + $var7; var$12 = $var3; var$10 = nms_AxisAlignedBB_getBoundingBoxFromPool(var$11, var$12, $var4 + $var7, ($var2 + 1 | 0) - $var7, var$12 + 0.25, ($var4 + 1 | 0) - $var7); $ptr = 3; continue main; } if ($this.$triggerMobType === nms_EnumMobType_players) { $var8 = $rt_cls(nms_EntityPlayer); var$11 = $var2 + $var7; var$12 = $var3; var$10 = nms_AxisAlignedBB_getBoundingBoxFromPool(var$11, var$12, $var4 + $var7, ($var2 + 1 | 0) - $var7, var$12 + 0.25, ($var4 + 1 | 0) - $var7); $ptr = 4; continue main; } if ($var8.$size > 0) $var6 = 1; if ($var6 && !$var5) { var$5 = 1; $ptr = 5; continue main; } if (!$var6 && $var5) { var$5 = 0; $ptr = 9; continue main; } if (!$var6) return; var$5 = $this.$blockID; $ptr = 8; continue main; case 3: $tmp = nms_World_getEntitiesWithinAABB($var1, $var8, var$10); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($this.$triggerMobType === nms_EnumMobType_players) { $var8 = $rt_cls(nms_EntityPlayer); var$11 = $var2 + $var7; var$12 = $var3; var$10 = nms_AxisAlignedBB_getBoundingBoxFromPool(var$11, var$12, $var4 + $var7, ($var2 + 1 | 0) - $var7, var$12 + 0.25, ($var4 + 1 | 0) - $var7); $ptr = 4; continue main; } if ($var8.$size > 0) $var6 = 1; if ($var6 && !$var5) { var$5 = 1; $ptr = 5; continue main; } if (!$var6 && $var5) { var$5 = 0; $ptr = 9; continue main; } if (!$var6) return; var$5 = $this.$blockID; $ptr = 8; continue main; case 4: $tmp = nms_World_getEntitiesWithinAABB($var1, $var8, var$10); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8.$size > 0) $var6 = 1; if ($var6 && !$var5) { var$5 = 1; $ptr = 5; continue main; } if (!$var6 && $var5) { var$5 = 0; $ptr = 9; continue main; } if (!$var6) return; var$5 = $this.$blockID; $ptr = 8; continue main; case 5: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = $this.$blockID; $ptr = 6; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = $var3 - 1 | 0; var$13 = $this.$blockID; $ptr = 7; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, var$13); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.1, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.6000000238418579); if (!$var6 && $var5) { var$5 = 0; $ptr = 9; continue main; } if (!$var6) return; var$5 = $this.$blockID; $ptr = 8; case 8: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; case 9: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = $this.$blockID; $ptr = 10; case 10: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = $var3 - 1 | 0; $var5 = $this.$blockID; $ptr = 11; case 11: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, $var5); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.1, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.5); if (!$var6) return; var$5 = $this.$blockID; $ptr = 8; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var5, $var6, $var7, $var8, var$10, var$11, var$12, var$13, $ptr); } function nms_BlockPressurePlate_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 <= 0) return; $var5 = $this.$blockID; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var3 = $var3 - 1 | 0; $var5 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockPressurePlate_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if (!($var2 != 1 ? 0 : 1)) nms_Block_setBlockBounds($this, 0.0625, 0.0, 0.0625, 0.9375, 0.0625, 0.9375); else nms_Block_setBlockBounds($this, 0.0625, 0.0, 0.0625, 0.9375, 0.03125, 0.9375); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockPressurePlate_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2 <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockPressurePlate_isIndirectlyPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return !$var2 ? 0 : $var5 != 1 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockPressurePlate_canProvidePower($this) { return 1; } function nms_BlockPressurePlate_func_237_e($this) { nms_Block_setBlockBounds($this, 0.0, 0.375, 0.0, 1.0, 0.625, 1.0); } var nms_EnumMobType = $rt_classWithoutFields(jl_Enum); var nms_EnumMobType_everything = null; var nms_EnumMobType_mobs = null; var nms_EnumMobType_players = null; var nms_EnumMobType_$VALUES = null; function nms_EnumMobType_$callClinit() { nms_EnumMobType_$callClinit = $rt_eraseClinit(nms_EnumMobType); nms_EnumMobType__clinit_(); } function nms_EnumMobType__init_(var_0, var_1) { var var_2 = new nms_EnumMobType(); nms_EnumMobType__init_0(var_2, var_0, var_1); return var_2; } function nms_EnumMobType__init_0($this, var$1, var$2) { nms_EnumMobType_$callClinit(); jl_Enum__init_($this, var$1, var$2); } function nms_EnumMobType__clinit_() { var var$1; nms_EnumMobType_everything = nms_EnumMobType__init_($rt_s(322), 0); nms_EnumMobType_mobs = nms_EnumMobType__init_($rt_s(323), 1); var$1 = nms_EnumMobType__init_($rt_s(324), 2); nms_EnumMobType_players = var$1; nms_EnumMobType_$VALUES = $rt_createArrayFromData(nms_EnumMobType, [nms_EnumMobType_everything, nms_EnumMobType_mobs, var$1]); } function nms_BlockRedstoneOre() { nms_Block.call(this); this.$field_468_a = 0; } function nms_BlockRedstoneOre__init_(var_0, var_1, var_2) { var var_3 = new nms_BlockRedstoneOre(); nms_BlockRedstoneOre__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_BlockRedstoneOre__init_0($this, $var1, $var2, $var3) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_rock); if ($var3) nms_Block_setTickOnLoad($this, 1); $this.$field_468_a = $var3; } function nms_BlockRedstoneOre_tickRate($this) { return 30; } function nms_BlockRedstoneOre_onBlockClicked($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockRedstoneOre_func_320_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockRedstoneOre_onEntityWalking($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockRedstoneOre_func_320_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockRedstoneOre_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockRedstoneOre_func_320_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockRedstoneOre_func_320_h($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneOre_func_319_i($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $this.$blockID; nms_Block_$callClinit(); if (var$5 != nms_Block_oreRedstone.$blockID) return; var$5 = nms_Block_oreRedstoneGlowing.$blockID; $ptr = 2; case 2: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockRedstoneOre_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$6 = $this.$blockID; nms_Block_$callClinit(); if (var$6 != nms_Block_oreRedstoneGlowing.$blockID) return; var$6 = nms_Block_oreRedstone.$blockID; $ptr = 1; case 1: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockRedstoneOre_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_redstone.$shiftedIndex; } function nms_BlockRedstoneOre_quantityDropped($this, $var1) { return 4 + ju_Random_nextInt($var1, 2) | 0; } function nms_BlockRedstoneOre_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: if (!$this.$field_468_a) return; $ptr = 1; case 1: nms_BlockRedstoneOre_func_319_i($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockRedstoneOre_func_319_i($this, $var1, $var2, $var3, $var4) { var $var5, $var8, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $var9, $var11, $var13, var$30, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$30 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var8 = $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 = $var1.$rand1; $var8 = 0; var$7 = $var2; var$8 = $var3; var$9 = $var4; var$10 = $var3 + 1 | 0; var$11 = var$10; var$12 = var$11 + 0.0625; var$13 = $var3 - 1 | 0; var$14 = ($var3 + 0 | 0) - 0.0625; var$15 = $var4 + 1 | 0; var$16 = var$15; var$17 = var$16 + 0.0625; var$18 = $var4 - 1 | 0; var$19 = ($var4 + 0 | 0) - 0.0625; var$20 = $var2 + 1 | 0; var$21 = var$20; var$22 = var$21 + 0.0625; var$23 = $var2 - 1 | 0; var$24 = ($var2 + 0 | 0) - 0.0625; var$25 = $var2; var$26 = $var4; while ($var8 < 6) { $var9 = var$7 + ju_Random_nextFloat($var5); $var11 = var$8 + ju_Random_nextFloat($var5); $var13 = var$9 + ju_Random_nextFloat($var5); if (!$var8) { $ptr = 1; continue main; } if ($var8 == 1) { $ptr = 2; continue main; } if ($var8 == 2) { $ptr = 3; continue main; } if ($var8 == 3) { $ptr = 4; continue main; } if ($var8 == 4) { $ptr = 5; continue main; } if ($var8 == 5) { $ptr = 6; continue main; } if (!($var9 >= var$25 && $var9 <= var$21 && $var11 >= 0.0 && $var11 <= var$11 && $var13 >= var$26 && $var13 <= var$16)) nms_World_spawnParticle($var1, $rt_s(303), $var9, $var11, $var13, 0.0, 0.0, 0.0); $var8 = $var8 + 1 | 0; } return; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$10, $var4); if ($rt_suspending()) { break main; } var$30 = $tmp; if (!var$30) $var11 = var$12; while (true) { if ($var8 == 1) { $ptr = 2; continue main; } if ($var8 == 2) { $ptr = 3; continue main; } if ($var8 == 3) { $ptr = 4; continue main; } if ($var8 == 4) { $ptr = 5; continue main; } if ($var8 == 5) { $ptr = 6; continue main; } if (!($var9 >= var$25 && $var9 <= var$21 && $var11 >= 0.0 && $var11 <= var$11 && $var13 >= var$26 && $var13 <= var$16)) nms_World_spawnParticle($var1, $rt_s(303), $var9, $var11, $var13, 0.0, 0.0, 0.0); $var8 = $var8 + 1 | 0; if ($var8 >= 6) break; $var9 = var$7 + ju_Random_nextFloat($var5); $var11 = var$8 + ju_Random_nextFloat($var5); $var13 = var$9 + ju_Random_nextFloat($var5); if (!$var8) { continue main; } } return; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, var$13, $var4); if ($rt_suspending()) { break main; } var$30 = $tmp; if (!var$30) $var11 = var$14; while (true) { if ($var8 == 2) { $ptr = 3; continue main; } if ($var8 == 3) { $ptr = 4; continue main; } if ($var8 == 4) { $ptr = 5; continue main; } if ($var8 == 5) { $ptr = 6; continue main; } if (!($var9 >= var$25 && $var9 <= var$21 && $var11 >= 0.0 && $var11 <= var$11 && $var13 >= var$26 && $var13 <= var$16)) nms_World_spawnParticle($var1, $rt_s(303), $var9, $var11, $var13, 0.0, 0.0, 0.0); $var8 = $var8 + 1 | 0; if ($var8 >= 6) break; $var9 = var$7 + ju_Random_nextFloat($var5); $var11 = var$8 + ju_Random_nextFloat($var5); $var13 = var$9 + ju_Random_nextFloat($var5); if (!$var8) { $ptr = 1; continue main; } if ($var8 == 1) { continue main; } } return; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$15); if ($rt_suspending()) { break main; } var$30 = $tmp; if (!var$30) $var13 = var$17; while (true) { if ($var8 == 3) { $ptr = 4; continue main; } if ($var8 == 4) { $ptr = 5; continue main; } if ($var8 == 5) { $ptr = 6; continue main; } if (!($var9 >= var$25 && $var9 <= var$21 && $var11 >= 0.0 && $var11 <= var$11 && $var13 >= var$26 && $var13 <= var$16)) nms_World_spawnParticle($var1, $rt_s(303), $var9, $var11, $var13, 0.0, 0.0, 0.0); $var8 = $var8 + 1 | 0; if ($var8 >= 6) break; $var9 = var$7 + ju_Random_nextFloat($var5); $var11 = var$8 + ju_Random_nextFloat($var5); $var13 = var$9 + ju_Random_nextFloat($var5); if (!$var8) { $ptr = 1; continue main; } if ($var8 == 1) { $ptr = 2; continue main; } if ($var8 == 2) { continue main; } } return; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$18); if ($rt_suspending()) { break main; } var$30 = $tmp; if (!var$30) $var13 = var$19; while (true) { if ($var8 == 4) { $ptr = 5; continue main; } if ($var8 == 5) { $ptr = 6; continue main; } if (!($var9 >= var$25 && $var9 <= var$21 && $var11 >= 0.0 && $var11 <= var$11 && $var13 >= var$26 && $var13 <= var$16)) nms_World_spawnParticle($var1, $rt_s(303), $var9, $var11, $var13, 0.0, 0.0, 0.0); $var8 = $var8 + 1 | 0; if ($var8 >= 6) break; $var9 = var$7 + ju_Random_nextFloat($var5); $var11 = var$8 + ju_Random_nextFloat($var5); $var13 = var$9 + ju_Random_nextFloat($var5); if (!$var8) { $ptr = 1; continue main; } if ($var8 == 1) { $ptr = 2; continue main; } if ($var8 == 2) { $ptr = 3; continue main; } if ($var8 == 3) { continue main; } } return; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, var$20, $var3, $var4); if ($rt_suspending()) { break main; } var$30 = $tmp; if (!var$30) $var9 = var$22; while (true) { if ($var8 == 5) { $ptr = 6; continue main; } if (!($var9 >= var$25 && $var9 <= var$21 && $var11 >= 0.0 && $var11 <= var$11 && $var13 >= var$26 && $var13 <= var$16)) nms_World_spawnParticle($var1, $rt_s(303), $var9, $var11, $var13, 0.0, 0.0, 0.0); $var8 = $var8 + 1 | 0; if ($var8 >= 6) break; $var9 = var$7 + ju_Random_nextFloat($var5); $var11 = var$8 + ju_Random_nextFloat($var5); $var13 = var$9 + ju_Random_nextFloat($var5); if (!$var8) { $ptr = 1; continue main; } if ($var8 == 1) { $ptr = 2; continue main; } if ($var8 == 2) { $ptr = 3; continue main; } if ($var8 == 3) { $ptr = 4; continue main; } if ($var8 == 4) { continue main; } } return; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, var$23, $var3, $var4); if ($rt_suspending()) { break main; } var$30 = $tmp; if (!var$30) $var9 = var$24; while (true) { if (!($var9 >= var$25 && $var9 <= var$21 && $var11 >= 0.0 && $var11 <= var$11 && $var13 >= var$26 && $var13 <= var$16)) nms_World_spawnParticle($var1, $rt_s(303), $var9, $var11, $var13, 0.0, 0.0, 0.0); $var8 = $var8 + 1 | 0; if ($var8 >= 6) break; $var9 = var$7 + ju_Random_nextFloat($var5); $var11 = var$8 + ju_Random_nextFloat($var5); $var13 = var$9 + ju_Random_nextFloat($var5); if (!$var8) { $ptr = 1; continue main; } if ($var8 == 1) { $ptr = 2; continue main; } if ($var8 == 2) { $ptr = 3; continue main; } if ($var8 == 3) { $ptr = 4; continue main; } if ($var8 == 4) { $ptr = 5; continue main; } if ($var8 == 5) { continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var8, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $var9, $var11, $var13, var$30, $ptr); } function nms_BlockRedstoneTorch() { nms_BlockTorch.call(this); this.$torchActive = 0; } var nms_BlockRedstoneTorch_torchUpdates = null; function nms_BlockRedstoneTorch__init_(var_0, var_1, var_2) { var var_3 = new nms_BlockRedstoneTorch(); nms_BlockRedstoneTorch__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_BlockRedstoneTorch_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { if ($var1 != 1) $var1 = $this.$getBlockTextureFromSide($var1); else { nms_Block_$callClinit(); $var1 = nms_Block_redstoneWire.$getBlockTextureFromSideAndMetadata($var1, $var2); } return $var1; } function nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, $var5) { var $var8, var$7, var$8, $var6, $var7; if ($var5) { $var8 = nms_BlockRedstoneTorch_torchUpdates; var$7 = new nms_RedstoneUpdateInfo; var$8 = $var1.$worldTime; var$7.$x1 = $var2; var$7.$y1 = $var3; var$7.$z4 = $var4; var$7.$updateTime = var$8; ju_ArrayList_add($var8, var$7); } $var6 = 0; $var7 = 0; while (true) { $var1 = nms_BlockRedstoneTorch_torchUpdates; if ($var7 >= $var1.$size) break; $var8 = ju_ArrayList_get($var1, $var7); if ($var8.$x1 == $var2 && $var8.$y1 == $var3 && $var8.$z4 == $var4) { $var6 = $var6 + 1 | 0; if ($var6 >= 8) return 1; } $var7 = $var7 + 1 | 0; } return 0; } function nms_BlockRedstoneTorch__init_0($this, $var1, $var2, $var3) { nms_BlockTorch__init_0($this, $var1, $var2); $this.$torchActive = 0; $this.$torchActive = $var3; nms_Block_setTickOnLoad($this, 1); } function nms_BlockRedstoneTorch_tickRate($this) { return 2; } function nms_BlockRedstoneTorch_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { $ptr = 2; continue main; } if (!$this.$torchActive) return; var$6 = $var3 - 1 | 0; var$5 = $this.$blockID; $ptr = 3; continue main; case 2: nms_BlockTorch_onBlockAdded($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } if (!$this.$torchActive) return; var$6 = $var3 - 1 | 0; var$5 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$6, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = $var3 + 1 | 0; var$6 = $this.$blockID; $ptr = 4; case 4: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var2 - 1 | 0; var$6 = $this.$blockID; $ptr = 5; case 5: nms_World_notifyBlocksOfNeighborChange($var1, var$5, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var2 + 1 | 0; var$6 = $this.$blockID; $ptr = 6; case 6: nms_World_notifyBlocksOfNeighborChange($var1, var$5, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var4 - 1 | 0; var$6 = $this.$blockID; $ptr = 7; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, var$5, var$6); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; var$5 = $this.$blockID; $ptr = 8; case 8: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $ptr); } function nms_BlockRedstoneTorch_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$torchActive) return; var$5 = $var3 - 1 | 0; var$6 = $this.$blockID; $ptr = 1; case 1: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var3 + 1 | 0; var$6 = $this.$blockID; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$5, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var2 - 1 | 0; var$6 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, var$5, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var2 + 1 | 0; var$6 = $this.$blockID; $ptr = 4; case 4: nms_World_notifyBlocksOfNeighborChange($var1, var$5, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$5 = $var4 - 1 | 0; var$6 = $this.$blockID; $ptr = 5; case 5: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, var$5, var$6); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; var$5 = $this.$blockID; $ptr = 6; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $ptr); } function nms_BlockRedstoneTorch_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$torchActive) return 0; $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; return $var6 == 5 && $var5 == 1 ? 0 : $var6 == 3 && $var5 == 3 ? 0 : $var6 == 4 && $var5 == 2 ? 0 : $var6 == 1 && $var5 == 5 ? 0 : $var6 == 2 && $var5 == 4 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockRedstoneTorch_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, $var7, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 == 5) { $var6 = $var3 - 1 | 0; $var7 = 0; $ptr = 2; continue main; } if (var$6 == 3) { $var6 = $var4 - 1 | 0; $var7 = 2; $ptr = 3; continue main; } if (var$6 == 4) { $var6 = $var4 + 1 | 0; $var7 = 3; $ptr = 4; continue main; } if (var$6 == 1) { $var6 = $var2 - 1 | 0; $var7 = 4; $ptr = 5; continue main; } if (var$6 == 2) { $var6 = $var2 + 1 | 0; $var7 = 5; $ptr = 6; continue main; } while (true) { var$9 = nms_BlockRedstoneTorch_torchUpdates; if (var$9.$size <= 0) break; if (Long_le(Long_sub($var1.$worldTime, (ju_ArrayList_get(var$9, 0)).$updateTime), Long_fromInt(100))) break; ju_ArrayList_remove(nms_BlockRedstoneTorch_torchUpdates, 0); } a: { if ($this.$torchActive) { if (!0) break a; nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneIdle.$blockID; $ptr = 7; continue main; } if (!0 && !nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, 0)) { nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneActive.$blockID; $ptr = 9; continue main; } } return; case 2: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($var1, $var2, $var6, $var4, $var7); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) $var6 = 1; else { if (var$6 == 3) { $var6 = $var4 - 1 | 0; $var7 = 2; $ptr = 3; continue main; } if (var$6 == 4) { $var6 = $var4 + 1 | 0; $var7 = 3; $ptr = 4; continue main; } if (var$6 == 1) { $var6 = $var2 - 1 | 0; $var7 = 4; $ptr = 5; continue main; } if (var$6 == 2) { $var6 = $var2 + 1 | 0; $var7 = 5; $ptr = 6; continue main; } $var6 = 0; } while (true) { var$9 = nms_BlockRedstoneTorch_torchUpdates; if (var$9.$size <= 0) break; if (Long_le(Long_sub($var1.$worldTime, (ju_ArrayList_get(var$9, 0)).$updateTime), Long_fromInt(100))) break; ju_ArrayList_remove(nms_BlockRedstoneTorch_torchUpdates, 0); } b: { if ($this.$torchActive) { if (!$var6) break b; nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneIdle.$blockID; $ptr = 7; continue main; } if (!$var6 && !nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, 0)) { nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneActive.$blockID; $ptr = 9; continue main; } } return; case 3: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($var1, $var2, $var3, $var6, $var7); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) $var6 = 1; else { if (var$6 == 4) { $var6 = $var4 + 1 | 0; $var7 = 3; $ptr = 4; continue main; } if (var$6 == 1) { $var6 = $var2 - 1 | 0; $var7 = 4; $ptr = 5; continue main; } if (var$6 == 2) { $var6 = $var2 + 1 | 0; $var7 = 5; $ptr = 6; continue main; } $var6 = 0; } while (true) { var$9 = nms_BlockRedstoneTorch_torchUpdates; if (var$9.$size <= 0) break; if (Long_le(Long_sub($var1.$worldTime, (ju_ArrayList_get(var$9, 0)).$updateTime), Long_fromInt(100))) break; ju_ArrayList_remove(nms_BlockRedstoneTorch_torchUpdates, 0); } a: { if ($this.$torchActive) { if (!$var6) break a; nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneIdle.$blockID; $ptr = 7; continue main; } if (!$var6 && !nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, 0)) { nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneActive.$blockID; $ptr = 9; continue main; } } return; case 4: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($var1, $var2, $var3, $var6, $var7); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) $var6 = 1; else { if (var$6 == 1) { $var6 = $var2 - 1 | 0; $var7 = 4; $ptr = 5; continue main; } if (var$6 == 2) { $var6 = $var2 + 1 | 0; $var7 = 5; $ptr = 6; continue main; } $var6 = 0; } while (true) { var$9 = nms_BlockRedstoneTorch_torchUpdates; if (var$9.$size <= 0) break; if (Long_le(Long_sub($var1.$worldTime, (ju_ArrayList_get(var$9, 0)).$updateTime), Long_fromInt(100))) break; ju_ArrayList_remove(nms_BlockRedstoneTorch_torchUpdates, 0); } c: { if ($this.$torchActive) { if (!$var6) break c; nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneIdle.$blockID; $ptr = 7; continue main; } if (!$var6 && !nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, 0)) { nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneActive.$blockID; $ptr = 9; continue main; } } return; case 5: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($var1, $var6, $var3, $var4, $var7); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) $var6 = 1; else { if (var$6 == 2) { $var6 = $var2 + 1 | 0; $var7 = 5; $ptr = 6; continue main; } $var6 = 0; } while (true) { var$9 = nms_BlockRedstoneTorch_torchUpdates; if (var$9.$size <= 0) break; if (Long_le(Long_sub($var1.$worldTime, (ju_ArrayList_get(var$9, 0)).$updateTime), Long_fromInt(100))) break; ju_ArrayList_remove(nms_BlockRedstoneTorch_torchUpdates, 0); } d: { if ($this.$torchActive) { if (!$var6) break d; nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneIdle.$blockID; $ptr = 7; continue main; } if (!$var6 && !nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, 0)) { nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneActive.$blockID; $ptr = 9; continue main; } } return; case 6: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($var1, $var6, $var3, $var4, $var7); if ($rt_suspending()) { break main; } $var6 = $tmp; $var6 = !$var6 ? 0 : 1; while (true) { var$9 = nms_BlockRedstoneTorch_torchUpdates; if (var$9.$size <= 0) break; if (Long_le(Long_sub($var1.$worldTime, (ju_ArrayList_get(var$9, 0)).$updateTime), Long_fromInt(100))) break; ju_ArrayList_remove(nms_BlockRedstoneTorch_torchUpdates, 0); } e: { if ($this.$torchActive) { if (!$var6) break e; nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneIdle.$blockID; $ptr = 7; continue main; } if (!$var6 && !nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, 0)) { nms_Block_$callClinit(); $var6 = nms_Block_torchRedstoneActive.$blockID; $ptr = 9; continue main; } } return; case 7: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; $ptr = 8; case 8: nms_World_setBlockAndMetadataWithNotify($var1, $var2, $var3, $var4, $var6, $var7); if ($rt_suspending()) { break main; } if (nms_BlockRedstoneTorch_checkForBurnout($this, $var1, $var2, $var3, $var4, 1)) { nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(197), 0.5, 2.5999999046325684 + (ju_Random_nextFloat($var1.$rand1) - ju_Random_nextFloat($var1.$rand1)) * 0.800000011920929); $var7 = 0; var$10 = $var2; var$11 = $var3; var$12 = $var4; while ($var7 < 5) { nms_World_spawnParticle($var1, $rt_s(299), var$10 + ju_Random_nextDouble($var5) * 0.6 + 0.2, var$11 + ju_Random_nextDouble($var5) * 0.6 + 0.2, var$12 + ju_Random_nextDouble($var5) * 0.6 + 0.2, 0.0, 0.0, 0.0); $var7 = $var7 + 1 | 0; } } return; case 9: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; $ptr = 10; case 10: nms_World_setBlockAndMetadataWithNotify($var1, $var2, $var3, $var4, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, var$9, var$10, var$11, var$12, $ptr); } function nms_BlockRedstoneTorch_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockTorch_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = $this.$blockID; $ptr = 2; case 2: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockRedstoneTorch_isIndirectlyPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: if ($var5) return 0; $ptr = 1; case 1: $tmp = nms_BlockRedstoneTorch_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockRedstoneTorch_idDropped($this, $var1, $var2) { nms_Block_$callClinit(); return nms_Block_torchRedstoneActive.$blockID; } function nms_BlockRedstoneTorch_canProvidePower($this) { return 1; } function nms_BlockRedstoneTorch_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var9, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$torchActive) return; $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var2 + 0.5 + (ju_Random_nextFloat($var5) - 0.5) * 0.2; $var9 = $var3 + 0.699999988079071 + (ju_Random_nextFloat($var5) - 0.5) * 0.2; $var11 = $var4 + 0.5 + (ju_Random_nextFloat($var5) - 0.5) * 0.2; if ($var6 == 1) nms_World_spawnParticle($var1, $rt_s(303), $var7 - 0.27000001072883606, $var9 + 0.2199999988079071, $var11, 0.0, 0.0, 0.0); else if ($var6 == 2) nms_World_spawnParticle($var1, $rt_s(303), $var7 + 0.27000001072883606, $var9 + 0.2199999988079071, $var11, 0.0, 0.0, 0.0); else if ($var6 == 3) nms_World_spawnParticle($var1, $rt_s(303), $var7, $var9 + 0.2199999988079071, $var11 - 0.27000001072883606, 0.0, 0.0, 0.0); else if ($var6 != 4) nms_World_spawnParticle($var1, $rt_s(303), $var7, $var9, $var11, 0.0, 0.0, 0.0); else nms_World_spawnParticle($var1, $rt_s(303), $var7, $var9 + 0.2199999988079071, $var11 + 0.27000001072883606, 0.0, 0.0, 0.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var9, $var11, $ptr); } function nms_BlockRedstoneTorch__clinit_() { nms_BlockRedstoneTorch_torchUpdates = ju_ArrayList__init_0(); } var nms_BlockButton = $rt_classWithoutFields(nms_Block); function nms_BlockButton__init_(var_0, var_1) { var var_2 = new nms_BlockButton(); nms_BlockButton__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockButton__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_circuits); nms_Block_setTickOnLoad($this, 1); } function nms_BlockButton_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockButton_tickRate($this) { return 20; } function nms_BlockButton_isOpaqueCube($this) { return 0; } function nms_BlockButton_renderAsNormalBlock($this) { return 0; } function nms_BlockButton_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $var4 = $var4 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockButton_onBlockPlaced($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var6 & 8; var$8 = $var6 & 7; if ($var5 == 2) { $var6 = $var4 + 1 | 0; $ptr = 2; continue main; } if ($var5 == 3) { $var6 = $var4 - 1 | 0; $ptr = 3; continue main; } if ($var5 == 4) { $var6 = $var2 + 1 | 0; $ptr = 4; continue main; } if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 6; continue main; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) var$8 = 4; if ($var5 == 3) { $var6 = $var4 - 1 | 0; $ptr = 3; continue main; } if ($var5 == 4) { $var6 = $var2 + 1 | 0; $ptr = 4; continue main; } if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 6; continue main; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) var$8 = 3; if ($var5 == 4) { $var6 = $var2 + 1 | 0; $ptr = 4; continue main; } if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 6; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var6, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) var$8 = 2; if ($var5 == 5) { $var5 = $var2 - 1 | 0; $ptr = 5; continue main; } $var5 = var$8 + $var7 | 0; $ptr = 6; continue main; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) var$8 = 1; $var5 = var$8 + $var7 | 0; $ptr = 6; case 6: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $ptr); } function nms_BlockButton_onBlockAdded($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 1; $ptr = 3; continue main; } var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 2; $ptr = 5; continue main; } var$5 = $var4 - 1 | 0; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { var$5 = 3; $ptr = 8; continue main; } var$5 = $var4 + 1 | 0; $ptr = 7; continue main; case 5: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; case 6: nms_BlockButton_func_305_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; case 7: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { $ptr = 6; continue main; } var$5 = 4; $ptr = 9; continue main; case 8: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 9: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockButton_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockButton_func_305_h($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = $var5 & 7; $var7 = 0; $var5 = $var2 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 1) $var7 = 1; $var5 = $var2 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 2) $var7 = 1; $var5 = $var4 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 3) $var7 = 1; $var5 = $var4 + 1 | 0; $ptr = 6; case 6: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5 && $var6 == 4) $var7 = 1; if (!$var7) return; $ptr = 7; case 7: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 8; case 8: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 9; case 9: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockButton_func_305_h($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockButton_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } var$5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockButton_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockMetadata($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = $var5 & 7; $var7 = ($var5 & 8) <= 0 ? 0 : 1; $var11 = 0.125; if ($var7) $var11 = 0.0625; if ($var6 == 1) nms_Block_setBlockBounds($this, 0.0, 0.375, 0.3125, $var11, 0.625, 0.6875); else if ($var6 == 2) nms_Block_setBlockBounds($this, 1.0 - $var11, 0.375, 0.3125, 1.0, 0.625, 0.6875); else if ($var6 == 3) nms_Block_setBlockBounds($this, 0.3125, 0.375, 0.0, 0.6875, 0.625, $var11); else if ($var6 == 4) nms_Block_setBlockBounds($this, 0.3125, 0.375, 1.0 - $var11, 0.6875, 0.625, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var11, $ptr); } function nms_BlockButton_onBlockClicked($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: nms_BlockButton_blockActivated($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockButton_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $var6 & 7; $var8 = 8 - ($var6 & 8) | 0; if (!$var8) return 1; $var8 = $var7 + $var8 | 0; $ptr = 2; case 2: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.6000000238418579); $var8 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } if ($var7 == 1) { $var8 = $var2 - 1 | 0; $var6 = $this.$blockID; $ptr = 4; continue main; } if ($var7 == 2) { $var8 = $var2 + 1 | 0; $var6 = $this.$blockID; $ptr = 5; continue main; } if ($var7 == 3) { $var8 = $var4 - 1 | 0; $var6 = $this.$blockID; $ptr = 7; continue main; } if ($var7 != 4) { $var8 = $var3 - 1 | 0; $var6 = $this.$blockID; $ptr = 8; continue main; } $var8 = $var4 + 1 | 0; $var6 = $this.$blockID; $ptr = 9; continue main; case 4: nms_World_notifyBlocksOfNeighborChange($var1, $var8, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 6; continue main; case 5: nms_World_notifyBlocksOfNeighborChange($var1, $var8, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 6; case 6: nms_World_scheduleBlockUpdate($var1, $var2, $var3, $var4, $var8); if ($rt_suspending()) { break main; } return 1; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var8, $var6); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 6; continue main; case 8: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var8, $var4, $var6); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 6; continue main; case 9: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var8, $var6); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_BlockButton_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (($var5 & 8) <= 0) return; $var6 = $this.$blockID; $ptr = 2; case 2: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } $var6 = $var5 & 7; if ($var6 == 1) { $var2 = $var2 - 1 | 0; $var5 = $this.$blockID; $ptr = 3; continue main; } if ($var6 == 2) { $var2 = $var2 + 1 | 0; $var5 = $this.$blockID; $ptr = 4; continue main; } if ($var6 == 3) { $var4 = $var4 - 1 | 0; $var5 = $this.$blockID; $ptr = 5; continue main; } if ($var6 != 4) { $var3 = $var3 - 1 | 0; $var5 = $this.$blockID; $ptr = 6; continue main; } $var4 = $var4 + 1 | 0; $var5 = $this.$blockID; $ptr = 7; continue main; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 4: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 5: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockButton_isPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return ($var2 & 8) <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockButton_isIndirectlyPoweringTo($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!($var6 & 8)) return 0; $var7 = $var6 & 7; return $var7 == 5 && $var5 == 1 ? 1 : $var7 == 4 && $var5 == 2 ? 1 : $var7 == 3 && $var5 == 3 ? 1 : $var7 == 2 && $var5 == 4 ? 1 : $var7 == 1 && $var5 == 5 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_BlockButton_canProvidePower($this) { return 1; } function nms_BlockButton_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!($var6 & 8)) return; $var6 = $var6 & 7; $ptr = 2; case 2: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } var$7 = $this.$blockID; $ptr = 3; case 3: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } if ($var6 == 1) { $var6 = $var2 - 1 | 0; var$7 = $this.$blockID; $ptr = 4; continue main; } if ($var6 == 2) { $var6 = $var2 + 1 | 0; var$7 = $this.$blockID; $ptr = 5; continue main; } if ($var6 == 3) { $var6 = $var4 - 1 | 0; var$7 = $this.$blockID; $ptr = 6; continue main; } if ($var6 != 4) { var$7 = $var3 - 1 | 0; $var6 = $this.$blockID; $ptr = 7; continue main; } $var6 = $var4 + 1 | 0; var$7 = $this.$blockID; $ptr = 8; continue main; case 4: nms_World_notifyBlocksOfNeighborChange($var1, $var6, $var3, $var4, var$7); if ($rt_suspending()) { break main; } nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.5); nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); return; case 5: nms_World_notifyBlocksOfNeighborChange($var1, $var6, $var3, $var4, var$7); if ($rt_suspending()) { break main; } nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.5); nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); return; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var6, var$7); if ($rt_suspending()) { break main; } nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.5); nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); return; case 7: nms_World_notifyBlocksOfNeighborChange($var1, $var2, var$7, $var4, $var6); if ($rt_suspending()) { break main; } nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.5); nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); return; case 8: nms_World_notifyBlocksOfNeighborChange($var1, $var2, $var3, $var6, var$7); if ($rt_suspending()) { break main; } nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(321), 0.30000001192092896, 0.5); nms_World_func_701_b($var1, $var2, $var3, $var4, $var2, $var3, $var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_BlockButton_func_237_e($this) { nms_Block_setBlockBounds($this, 0.3125, 0.375, 0.375, 0.6875, 0.625, 0.625); } var nms_BlockSnow = $rt_classWithoutFields(nms_Block); function nms_BlockSnow__init_(var_0, var_1) { var var_2 = new nms_BlockSnow(); nms_BlockSnow__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockSnow__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_snow); nms_Block_setBlockBounds($this, 0.0, 0.0, 0.0, 1.0, 0.125, 1.0); nms_Block_setTickOnLoad($this, 1); } function nms_BlockSnow_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockSnow_isOpaqueCube($this) { return 0; } function nms_BlockSnow_renderAsNormalBlock($this) { return 0; } function nms_BlockSnow_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$isOpaqueCube()) { $ptr = 2; continue main; } } return 0; case 2: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1.$func_880_c(); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockSnow_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_BlockSnow_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockSnow_harvestBlock($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var8, $var10, $var12, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); $var6 = nms_Item_snowball.$shiftedIndex; $var8 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var10 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var12 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var14 = nms_EntityItem__init_($var1, $var2 + $var8, $var3 + $var10, $var4 + $var12, nms_ItemStack__init_0($var6)); $var14.$field_805_c = 10; $ptr = 1; case 1: nms_World_entityJoinedWorld($var1, $var14); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 2; case 2: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var8, $var10, $var12, $var14, $ptr); } function nms_BlockSnow_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_snowball.$shiftedIndex; } function nms_BlockSnow_quantityDropped($this, $var1) { return 0; } function nms_BlockSnow_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: nms_EnumSkyBlock_$callClinit(); $var5 = nms_EnumSkyBlock_Block; $ptr = 1; case 1: $tmp = nms_World_getSavedLightValue($var1, $var5, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 <= 11) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$6 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockSnow_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $var1.$getBlockMaterial($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var5 == 1) $var2 = 1; else { if ($var6 !== $this.$blockMaterial) { $ptr = 2; continue main; } $var2 = 0; } return $var2; case 2: $tmp = nms_Block_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } var nms_BlockIce = $rt_classWithoutFields(nms_BlockBreakable); function nms_BlockIce__init_(var_0, var_1) { var var_2 = new nms_BlockIce(); nms_BlockIce__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockIce__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_BlockBreakable__init_0($this, $var1, $var2, nms_Material_ice, 0); $this.$slipperiness = 0.9800000190734863; nms_Block_setTickOnLoad($this, 1); } function nms_BlockIce_func_234_g($this) { return 1; } function nms_BlockIce_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = 1 - $var5 | 0; $ptr = 1; case 1: $tmp = nms_BlockBreakable_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockIce_onBlockRemoval($this, $var1, $var2, $var3, $var4) { var var$5, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5.$func_880_c() && !$var5.$getIsLiquid()) return; nms_Block_$callClinit(); var$5 = nms_Block_waterStill.$blockID; $ptr = 2; case 2: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var5, $ptr); } function nms_BlockIce_quantityDropped($this, $var1) { return 0; } function nms_BlockIce_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: nms_EnumSkyBlock_$callClinit(); $var5 = nms_EnumSkyBlock_Block; $ptr = 1; case 1: $tmp = nms_World_getSavedLightValue($var1, $var5, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; nms_Block_$callClinit(); if (var$6 <= (11 - nms_Block_lightOpacity.data[$this.$blockID] | 0)) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } var$7 = nms_Block_waterMoving.$blockID; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, $ptr); } var nms_BlockSnowBlock = $rt_classWithoutFields(nms_Block); function nms_BlockSnowBlock__init_(var_0, var_1) { var var_2 = new nms_BlockSnowBlock(); nms_BlockSnowBlock__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockSnowBlock__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_builtSnow); nms_Block_setTickOnLoad($this, 1); } function nms_BlockSnowBlock_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_snowball.$shiftedIndex; } function nms_BlockSnowBlock_quantityDropped($this, $var1) { return 4; } function nms_BlockSnowBlock_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: nms_EnumSkyBlock_$callClinit(); $var5 = nms_EnumSkyBlock_Block; $ptr = 1; case 1: $tmp = nms_World_getSavedLightValue($var1, $var5, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 <= 11) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } var$6 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } var nms_BlockCactus = $rt_classWithoutFields(nms_Block); function nms_BlockCactus__init_(var_0, var_1) { var var_2 = new nms_BlockCactus(); nms_BlockCactus__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockCactus__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_cactus); nms_Block_setTickOnLoad($this, 1); } function nms_BlockCactus_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var7, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var7 = $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: var$6 = $var3 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) return; $var6 = 1; $var7 = $var3 - $var6 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var7, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 != $this.$blockID) { if ($var6 >= 3) return; $ptr = 3; continue main; } $var6 = $var6 + 1 | 0; $var7 = $var3 - $var6 | 0; continue main; case 3: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == 15) { $var7 = $this.$blockID; $ptr = 5; continue main; } $var7 = $var7 + 1 | 0; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var7); if ($rt_suspending()) { break main; } return; case 5: nms_World_setBlockWithNotify($var1, $var2, var$6, $var4, $var7); if ($rt_suspending()) { break main; } $var7 = 0; $ptr = 6; case 6: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var7, $var6, $ptr); } function nms_BlockCactus_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return nms_AxisAlignedBB_getBoundingBoxFromPool($var2 + 0.0625, $var3, $var4 + 0.0625, ($var2 + 1 | 0) - 0.0625, ($var3 + 1 | 0) - 0.0625, ($var4 + 1 | 0) - 0.0625); } function nms_BlockCactus_getSelectedBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return nms_AxisAlignedBB_getBoundingBoxFromPool($var2 + 0.0625, $var3, $var4 + 0.0625, ($var2 + 1 | 0) - 0.0625, $var3 + 1 | 0, ($var4 + 1 | 0) - 0.0625); } function nms_BlockCactus_getBlockTextureFromSide($this, $var1) { return $var1 == 1 ? $this.$blockIndexInTexture - 1 | 0 : $var1 ? $this.$blockIndexInTexture : $this.$blockIndexInTexture + 1 | 0; } function nms_BlockCactus_renderAsNormalBlock($this) { return 0; } function nms_BlockCactus_isOpaqueCube($this) { return 0; } function nms_BlockCactus_getRenderType($this) { return 13; } function nms_BlockCactus_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_Block_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) return 0; $ptr = 2; case 2: $tmp = nms_BlockCactus_canBlockStay($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockCactus_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_BlockCactus_canBlockStay($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockCactus_canBlockStay($this, $var1, $var2, $var3, $var4) { var $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $var5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6.$func_878_a()) return 0; $var5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockMaterial($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6.$func_878_a()) return 0; $var5 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6.$func_878_a()) return 0; $var5 = $var4 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockMaterial($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6.$func_878_a()) return 0; $var3 = $var3 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Block_$callClinit(); return $var5 != nms_Block_cactus.$blockID && $var5 != nms_Block_sand.$blockID ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_BlockCactus_onEntityCollidedWithBlock($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $var1 = null; $var2 = 1; $ptr = 1; case 1: $var5.$canAttackEntity($var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } var nms_BlockClay = $rt_classWithoutFields(nms_Block); function nms_BlockClay__init_(var_0, var_1) { var var_2 = new nms_BlockClay(); nms_BlockClay__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockClay__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_clay); } function nms_BlockClay_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_clay.$shiftedIndex; } function nms_BlockClay_quantityDropped($this, $var1) { return 4; } var nms_BlockReed = $rt_classWithoutFields(nms_Block); function nms_BlockReed__init_(var_0, var_1) { var var_2 = new nms_BlockReed(); nms_BlockReed__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockReed__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_plants); $this.$blockIndexInTexture = $var2; nms_Block_setBlockBounds($this, 0.125, 0.0, 0.125, 0.875, 1.0, 0.875); nms_Block_setTickOnLoad($this, 1); } function nms_BlockReed_updateTick($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var7, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var7 = $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: var$6 = $var3 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, var$6, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) return; $var6 = 1; $var7 = $var3 - $var6 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var7, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 != $this.$blockID) { if ($var6 >= 3) return; $ptr = 3; continue main; } $var6 = $var6 + 1 | 0; $var7 = $var3 - $var6 | 0; continue main; case 3: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == 15) { $var7 = $this.$blockID; $ptr = 5; continue main; } $var7 = $var7 + 1 | 0; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var7); if ($rt_suspending()) { break main; } return; case 5: nms_World_setBlockWithNotify($var1, $var2, var$6, $var4, $var7); if ($rt_suspending()) { break main; } $var7 = 0; $ptr = 6; case 6: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var7, $var6, $ptr); } function nms_BlockReed_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, $var5, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var3 - 1 | 0; $ptr = 1; case 1: a: { $tmp = nms_World_getBlockId($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == $this.$blockID) $var2 = 1; else { nms_Block_$callClinit(); if ($var5 == nms_Block_grass.$blockID) break a; if ($var5 == nms_Block_dirt.$blockID) break a; $var2 = 0; } return $var2; } $var3 = $var2 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockMaterial($var1, $var3, var$5, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; nms_Material_$callClinit(); if (var$7 === nms_Material_water) return 1; $var3 = $var2 + 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockMaterial($var1, $var3, var$5, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7 === nms_Material_water) return 1; $var3 = $var4 - 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockMaterial($var1, $var2, var$5, $var3); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7 === nms_Material_water) return 1; $var3 = $var4 + 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockMaterial($var1, $var2, var$5, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1 !== nms_Material_water ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var5, var$7, $ptr); } function nms_BlockReed_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_BlockReed_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) return; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $ptr = 3; case 3: nms_Block_dropBlockAsItem($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockReed_canBlockStay($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockReed_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_BlockReed_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockReed_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_reed.$shiftedIndex; } function nms_BlockReed_isOpaqueCube($this) { return 0; } function nms_BlockReed_renderAsNormalBlock($this) { return 0; } function nms_BlockReed_getRenderType($this) { return 1; } var nms_BlockJukeBox = $rt_classWithoutFields(nms_Block); function nms_BlockJukeBox__init_(var_0, var_1) { var var_2 = new nms_BlockJukeBox(); nms_BlockJukeBox__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockJukeBox__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_wood); } function nms_BlockJukeBox_getBlockTextureFromSide($this, $var1) { return $this.$blockIndexInTexture + ($var1 != 1 ? 0 : 1) | 0; } function nms_BlockJukeBox_blockActivated($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 <= 0) return 0; $ptr = 2; case 2: nms_BlockJukeBox_ejectRecord($this, $var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_BlockJukeBox_ejectRecord($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var8, $var10, $var12, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_World_playRecord($var1, null, $var2, $var3, $var4); $var6 = 0; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } nms_Item_$callClinit(); $var6 = (nms_Item_record13.$shiftedIndex + $var5 | 0) - 1 | 0; $var8 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var10 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.06000000238418579 + 0.6; $var12 = ju_Random_nextFloat($var1.$rand1) * 0.699999988079071 + 0.15000000596046448; $var14 = nms_EntityItem__init_($var1, $var2 + $var8, $var3 + $var10, $var4 + $var12, nms_ItemStack__init_0($var6)); $var14.$field_805_c = 10; $ptr = 2; case 2: nms_World_entityJoinedWorld($var1, $var14); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var8, $var10, $var12, $var14, $ptr); } function nms_BlockJukeBox_dropBlockAsItemWithChance($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var5 <= 0) { $ptr = 1; continue main; } $ptr = 2; continue main; case 1: nms_Block_dropBlockAsItemWithChance($this, $var1, $var2, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } return; case 2: nms_BlockJukeBox_ejectRecord($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } var nms_BlockFence = $rt_classWithoutFields(nms_Block); function nms_BlockFence__init_(var_0, var_1) { var var_2 = new nms_BlockFence(); nms_BlockFence__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockFence__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_wood); } function nms_BlockFence_getCollidingBoundingBoxes($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8; var$7 = $var2; var$8 = $var3; ju_ArrayList_add($var6, nms_AxisAlignedBB_getBoundingBoxFromPool(var$7, var$8, $var4, $var2 + 1 | 0, var$8 + 1.5, $var4 + 1 | 0)); } function nms_BlockFence_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 == $this.$blockID) return 0; $ptr = 2; case 2: $tmp = nms_World_getBlockMaterial($var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7.$func_878_a()) return 0; $ptr = 3; case 3: $tmp = nms_Block_canPlaceBlockAt($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, $ptr); } function nms_BlockFence_isOpaqueCube($this) { return 0; } function nms_BlockFence_renderAsNormalBlock($this) { return 0; } function nms_BlockFence_getRenderType($this) { return 11; } function nms_BlockPumpkin() { nms_Block.call(this); this.$field_4072_a = 0; } function nms_BlockPumpkin__init_(var_0, var_1, var_2) { var var_3 = new nms_BlockPumpkin(); nms_BlockPumpkin__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_BlockPumpkin__init_0($this, $var1, $var2, $var3) { nms_Material_$callClinit(); nms_Block__init_0($this, $var1, nms_Material_pumpkin); $this.$blockIndexInTexture = $var2; nms_Block_setTickOnLoad($this, 1); $this.$field_4072_a = $var3; } function nms_BlockPumpkin_getBlockTextureFromSideAndMetadata($this, $var1, $var2) { var var$3, $var3; if ($var1 == 1) return $this.$blockIndexInTexture; if (!$var1) return $this.$blockIndexInTexture; var$3 = $this.$blockIndexInTexture; $var3 = (var$3 + 1 | 0) + 16 | 0; if ($this.$field_4072_a) $var3 = $var3 + 1 | 0; if (!(!$var2 && $var1 == 2) && !($var2 == 1 && $var1 == 5) && !($var2 == 2 && $var1 == 3) && !($var2 == 3 && $var1 == 4)) $var3 = var$3 + 16 | 0; return $var3; } function nms_BlockPumpkin_getBlockTextureFromSide($this, $var1) { return $var1 == 1 ? $this.$blockIndexInTexture : !$var1 ? $this.$blockIndexInTexture : $var1 != 3 ? $this.$blockIndexInTexture + 16 | 0 : ($this.$blockIndexInTexture + 1 | 0) + 16 | 0; } function nms_BlockPumpkin_onBlockAdded($this, $var1, $var2, $var3, $var4) {} function nms_BlockPumpkin_canPlaceBlockAt($this, $var1, $var2, $var3, $var4) { var $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var5].$blockMaterial.$getIsLiquid()) return 0; } $var3 = $var3 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; return !$var2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_BlockPumpkin_onBlockPlacedBy($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_MathHelper_floor_double($var5.$rotationYaw * 4.0 / 360.0 + 0.5) & 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } var nms_BlockBloodStone = $rt_classWithoutFields(nms_Block); function nms_BlockBloodStone__init_(var_0, var_1) { var var_2 = new nms_BlockBloodStone(); nms_BlockBloodStone__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockBloodStone__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_rock); } var nms_BlockSlowSand = $rt_classWithoutFields(nms_Block); function nms_BlockSlowSand__init_(var_0, var_1) { var var_2 = new nms_BlockSlowSand(); nms_BlockSlowSand__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockSlowSand__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_Block__init_2($this, $var1, $var2, nms_Material_sand); } function nms_BlockSlowSand_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return nms_AxisAlignedBB_getBoundingBoxFromPool($var2, $var3, $var4, $var2 + 1 | 0, ($var3 + 1 | 0) - 0.125, $var4 + 1 | 0); } function nms_BlockSlowSand_onEntityCollidedWithBlock($this, $var1, $var2, $var3, $var4, $var5) { $var5.$motionX = $var5.$motionX * 0.4; $var5.$motionZ = $var5.$motionZ * 0.4; } var nms_BlockLightStone = $rt_classWithoutFields(nms_Block); function nms_BlockLightStone__init_(var_0, var_1, var_2) { var var_3 = new nms_BlockLightStone(); nms_BlockLightStone__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_BlockLightStone__init_0($this, $var1, $var2, $var3) { nms_Block__init_2($this, $var1, $var2, $var3); } function nms_BlockLightStone_idDropped($this, $var1, $var2) { nms_Item_$callClinit(); return nms_Item_lightStoneDust.$shiftedIndex; } var nms_BlockPortal = $rt_classWithoutFields(nms_BlockBreakable); function nms_BlockPortal__init_(var_0, var_1) { var var_2 = new nms_BlockPortal(); nms_BlockPortal__init_0(var_2, var_0, var_1); return var_2; } function nms_BlockPortal__init_0($this, $var1, $var2) { nms_Material_$callClinit(); nms_BlockBreakable__init_0($this, $var1, $var2, nms_Material_field_4260_x, 0); } function nms_BlockPortal_getCollisionBoundingBoxFromPool($this, $var1, $var2, $var3, $var4) { return null; } function nms_BlockPortal_setBlockBoundsBasedOnState($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = $var1.$getBlockId(var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 == $this.$blockID) { nms_Block_setBlockBounds($this, 0.0, 0.0, 0.375, 1.0, 1.0, 0.625); return; } $var2 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = $var1.$getBlockId($var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 == $this.$blockID) nms_Block_setBlockBounds($this, 0.0, 0.0, 0.375, 1.0, 1.0, 0.625); else nms_Block_setBlockBounds($this, 0.375, 0.0, 0.0, 0.625, 1.0, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_BlockPortal_isOpaqueCube($this) { return 0; } function nms_BlockPortal_renderAsNormalBlock($this) { return 0; } function nms_BlockPortal_tryToCreatePortal($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var9, var$8, var$9, var$10, var$11, $var7, $var8, $var10, $var8_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8_0 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; $var6 = 0; $var9 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var9, $var3, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; nms_Block_$callClinit(); if ($var9 != nms_Block_obsidian.$blockID) { $var9 = $var2 + 1 | 0; $ptr = 2; continue main; } $var5 = 1; $var9 = $var4 - 1 | 0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($var1, $var9, $var3, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 == nms_Block_obsidian.$blockID) $var5 = 1; $var9 = $var4 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var9); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 != nms_Block_obsidian.$blockID) { $var9 = $var4 + 1 | 0; $ptr = 4; continue main; } $var6 = 1; var$8 = jl_System_out(); var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(var$9, $var5 << 24 >> 24), $rt_s(325)), $var6 << 24 >> 24); ji_PrintStream_println(var$8, jl_AbstractStringBuilder_toString(var$9)); if ($var5 == $var6) return 0; var$10 = $var2 - $var5 | 0; var$11 = $var4 - $var6 | 0; $ptr = 5; continue main; case 4: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var9); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 == nms_Block_obsidian.$blockID) $var6 = 1; var$8 = jl_System_out(); var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(var$9, $var5 << 24 >> 24), $rt_s(325)), $var6 << 24 >> 24); ji_PrintStream_println(var$8, jl_AbstractStringBuilder_toString(var$9)); if ($var5 == $var6) return 0; var$10 = $var2 - $var5 | 0; var$11 = $var4 - $var6 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockId($var1, var$10, $var3, var$11); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9) { var$10 = $var2; var$11 = $var4; } $var7 = (-1); a: while (true) { $var8 = $rt_compare($var7, 2); if ($var8 > 0) { $var1.$field_1043_h = 1; $var2 = 0; while ($var2 < 2) { $var8 = 0; if ($var8 < 3) { $var4 = var$10 + $rt_imul($var5, $var2) | 0; $var9 = $var3 + $var8 | 0; $var10 = var$11 + $rt_imul($var6, $var2) | 0; $var7 = nms_Block_portal.$blockID; $ptr = 6; continue main; } $var2 = $var2 + 1 | 0; } $var1.$field_1043_h = 0; return 1; } $var8_0 = (-1); while (true) { $var10 = $rt_compare($var8_0, 3); if ($var10 > 0) break; $var2 = $rt_compare($var7, (-1)); $var9 = $var2 && $var8 && $var8_0 != (-1) && $var10 ? 0 : 1; if ($var2 && $var8) break a; if ($var8_0 != (-1) && $var10) break a; $var8_0 = $var8_0 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var2 = var$10 + $rt_imul($var5, $var7) | 0; $var4 = $var3 + $var8_0 | 0; $var10 = var$11 + $rt_imul($var6, $var7) | 0; $ptr = 7; continue main; case 6: nms_World_setBlockWithNotify($var1, $var4, $var9, $var10, $var7); if ($rt_suspending()) { break main; } $var8 = $var8 + 1 | 0; while (true) { if ($var8 < 3) { $var4 = var$10 + $rt_imul($var5, $var2) | 0; $var9 = $var3 + $var8 | 0; $var10 = var$11 + $rt_imul($var6, $var2) | 0; $var7 = nms_Block_portal.$blockID; continue main; } $var2 = $var2 + 1 | 0; if ($var2 >= 2) break; $var8 = 0; } $var1.$field_1043_h = 0; return 1; case 7: b: { $tmp = nms_World_getBlockId($var1, $var2, $var4, $var10); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var9) { if ($var10 == nms_Block_obsidian.$blockID) break b; return 0; } if ($var10 && $var10 != nms_Block_fire.$blockID) return 0; } while (true) { $var8_0 = $var8_0 + 1 | 0; while (true) { $var10 = $rt_compare($var8_0, 3); if ($var10 <= 0) break; $var7 = $var7 + 1 | 0; $var8 = $rt_compare($var7, 2); if ($var8 > 0) { $var1.$field_1043_h = 1; $var2 = 0; while ($var2 < 2) { $var8 = 0; if ($var8 < 3) { $var4 = var$10 + $rt_imul($var5, $var2) | 0; $var9 = $var3 + $var8 | 0; $var10 = var$11 + $rt_imul($var6, $var2) | 0; $var7 = nms_Block_portal.$blockID; $ptr = 6; continue main; } $var2 = $var2 + 1 | 0; } $var1.$field_1043_h = 0; return 1; } $var8_0 = (-1); } $var2 = $rt_compare($var7, (-1)); $var9 = $var2 && $var8 && $var8_0 != (-1) && $var10 ? 0 : 1; if ($var2 && $var8) break; if ($var8_0 == (-1)) continue; if (!$var10) continue; else break; } $var2 = var$10 + $rt_imul($var5, $var7) | 0; $var4 = $var3 + $var8_0 | 0; $var10 = var$11 + $rt_imul($var6, $var7) | 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var9, var$8, var$9, var$10, var$11, $var7, $var8, $var10, $var8_0, $ptr); } function nms_BlockPortal_onNeighborBlockChange($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var11, $var8, $var9, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; $var7 = 1; $var11 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var11, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 != $this.$blockID) { $var5 = $var2 + 1 | 0; $ptr = 2; continue main; } $var6 = 1; $var7 = 0; $var8 = $var3; $var5 = $var8 - 1 | 0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == $this.$blockID) { $var6 = 1; $var7 = 0; } $var8 = $var3; $var5 = $var8 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 != $this.$blockID) { $ptr = 4; continue main; } $var8 = $var8 + (-1) | 0; $var5 = $var8 - 1 | 0; continue main; case 4: $tmp = nms_World_getBlockId($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Block_$callClinit(); if ($var5 != nms_Block_obsidian.$blockID) { $var5 = 0; $ptr = 5; continue main; } $var9 = 1; if ($var9 < 4) { $var5 = $var8 + $var9 | 0; $ptr = 6; continue main; } if ($var9 != 3) { $var5 = 0; $ptr = 7; continue main; } $var5 = $var8 + $var9 | 0; $ptr = 8; continue main; case 5: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 6: $tmp = nms_World_getBlockId($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == $this.$blockID) { $var9 = $var9 + 1 | 0; if ($var9 < 4) { $var5 = $var8 + $var9 | 0; continue main; } } if ($var9 != 3) { $var5 = 0; $ptr = 7; continue main; } $var5 = $var8 + $var9 | 0; $ptr = 8; continue main; case 7: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 8: $tmp = nms_World_getBlockId($var1, $var2, $var5, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == nms_Block_obsidian.$blockID) { $ptr = 9; continue main; } $var5 = 0; $ptr = 7; continue main; case 9: $tmp = nms_World_getBlockId($var1, $var11, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 != $this.$blockID) { $var5 = $var2 + 1 | 0; $ptr = 10; continue main; } $var10 = 1; $var5 = $var4 - 1 | 0; $ptr = 11; continue main; case 10: $tmp = nms_World_getBlockId($var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var10 = $var5 == $this.$blockID ? 1 : 0; $var5 = $var4 - 1 | 0; $ptr = 11; case 11: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 != $this.$blockID) { $var5 = $var4 + 1 | 0; $ptr = 12; continue main; } if ($var10 && 1) { $var5 = 0; $ptr = 16; continue main; } $var9 = $var2 + $var6 | 0; $var10 = $var4 + $var7 | 0; $ptr = 13; continue main; case 12: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; $var11 = $var5 == $this.$blockID ? 1 : 0; if ($var10 && $var11) { $var5 = 0; $ptr = 16; continue main; } $var9 = $var2 + $var6 | 0; $var10 = $var4 + $var7 | 0; $ptr = 13; case 13: $tmp = nms_World_getBlockId($var1, $var9, $var3, $var10); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 != nms_Block_obsidian.$blockID) { $var5 = $var2 - $var6 | 0; $var8 = $var4 - $var7 | 0; $ptr = 14; continue main; } $var5 = $var2 - $var6 | 0; $var8 = $var4 - $var7 | 0; $ptr = 15; continue main; case 14: $tmp = nms_World_getBlockId($var1, $var5, $var3, $var8); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == nms_Block_obsidian.$blockID) { $ptr = 18; continue main; } $var5 = 0; $ptr = 17; continue main; case 15: $tmp = nms_World_getBlockId($var1, $var5, $var3, $var8); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == $this.$blockID) return; $var5 = $var2 - $var6 | 0; $var8 = $var4 - $var7 | 0; $ptr = 14; continue main; case 16: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 17: nms_World_setBlockWithNotify($var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } return; case 18: $tmp = nms_World_getBlockId($var1, $var9, $var3, $var10); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 == $this.$blockID) return; $var5 = 0; $ptr = 17; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var11, $var8, $var9, $var10, $ptr); } function nms_BlockPortal_shouldSideBeRendered($this, $var1, $var2, $var3, $var4, $var5) { return 1; } function nms_BlockPortal_quantityDropped($this, $var1) { return 0; } function nms_BlockPortal_func_234_g($this) { return 1; } function nms_BlockPortal_onEntityCollidedWithBlock($this, $var1, $var2, $var3, $var4, $var5) { $var5.$func_4039_q(); } function nms_BlockPortal_randomDisplayTick($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var7, $var9, $var11, $var19, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var19 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!ju_Random_nextInt($var5, 100)) nms_World_playSoundEffect($var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $rt_s(326), 1.0, ju_Random_nextFloat($var5) * 0.4000000059604645 + 0.800000011920929); $var6 = 0; var$7 = $var2; var$8 = $var3; var$9 = $var4; var$10 = $var2 - 1 | 0; var$11 = $var2 + 1 | 0; var$12 = $var2 + 0.5; var$13 = $var4 + 0.5; if ($var6 >= 4) return; $var7 = var$7 + ju_Random_nextFloat($var5); $var9 = var$8 + ju_Random_nextFloat($var5); $var11 = var$9 + ju_Random_nextFloat($var5); $var19 = (ju_Random_nextInt($var5, 2) * 2 | 0) - 1 | 0; var$18 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; var$19 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; var$20 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, var$10, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 != $this.$blockID) { $ptr = 2; continue main; } $var11 = var$13 + 0.25 * $var19; var$20 = ju_Random_nextFloat($var5) * 2.0 * $var19; nms_World_spawnParticle($var1, $rt_s(327), $var7, $var9, $var11, var$18, var$19, var$20); $var6 = $var6 + 1 | 0; if ($var6 >= 4) return; $var7 = var$7 + ju_Random_nextFloat($var5); $var9 = var$8 + ju_Random_nextFloat($var5); $var11 = var$9 + ju_Random_nextFloat($var5); $var19 = (ju_Random_nextInt($var5, 2) * 2 | 0) - 1 | 0; var$18 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; var$19 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; var$20 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; continue main; case 2: $tmp = nms_World_getBlockId($var1, var$11, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 == $this.$blockID) { $var11 = var$13 + 0.25 * $var19; var$20 = ju_Random_nextFloat($var5) * 2.0 * $var19; } else { $var7 = var$12 + 0.25 * $var19; var$18 = ju_Random_nextFloat($var5) * 2.0 * $var19; } nms_World_spawnParticle($var1, $rt_s(327), $var7, $var9, $var11, var$18, var$19, var$20); $var6 = $var6 + 1 | 0; if ($var6 >= 4) return; $var7 = var$7 + ju_Random_nextFloat($var5); $var9 = var$8 + ju_Random_nextFloat($var5); $var11 = var$9 + ju_Random_nextFloat($var5); $var19 = (ju_Random_nextInt($var5, 2) * 2 | 0) - 1 | 0; var$18 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; var$19 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; var$20 = (ju_Random_nextFloat($var5) - 0.5) * 0.5; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var7, $var9, $var11, $var19, var$18, var$19, var$20, $ptr); } function nms_Item() { var a = this; jl_Object.call(a); a.$shiftedIndex = 0; a.$maxStackSize = 0; a.$maxDamage = 0; a.$iconIndex = 0; a.$bFull3D = 0; } var nms_Item_itemRand = null; var nms_Item_itemsList = null; var nms_Item_shovelSteel = null; var nms_Item_pickaxeSteel = null; var nms_Item_axeSteel = null; var nms_Item_flintAndSteel = null; var nms_Item_appleRed = null; var nms_Item_bow = null; var nms_Item_arrow = null; var nms_Item_coal = null; var nms_Item_diamond = null; var nms_Item_ingotIron = null; var nms_Item_ingotGold = null; var nms_Item_swordSteel = null; var nms_Item_swordWood = null; var nms_Item_shovelWood = null; var nms_Item_pickaxeWood = null; var nms_Item_axeWood = null; var nms_Item_swordStone = null; var nms_Item_shovelStone = null; var nms_Item_pickaxeStone = null; var nms_Item_axeStone = null; var nms_Item_swordDiamond = null; var nms_Item_shovelDiamond = null; var nms_Item_pickaxeDiamond = null; var nms_Item_axeDiamond = null; var nms_Item_stick = null; var nms_Item_bowlEmpty = null; var nms_Item_bowlSoup = null; var nms_Item_swordGold = null; var nms_Item_shovelGold = null; var nms_Item_pickaxeGold = null; var nms_Item_axeGold = null; var nms_Item_silk = null; var nms_Item_feather = null; var nms_Item_gunpowder = null; var nms_Item_hoeWood = null; var nms_Item_hoeStone = null; var nms_Item_hoeSteel = null; var nms_Item_hoeDiamond = null; var nms_Item_hoeGold = null; var nms_Item_seeds = null; var nms_Item_wheat = null; var nms_Item_bread = null; var nms_Item_helmetLeather = null; var nms_Item_plateLeather = null; var nms_Item_legsLeather = null; var nms_Item_bootsLeather = null; var nms_Item_helmetChain = null; var nms_Item_plateChain = null; var nms_Item_legsChain = null; var nms_Item_bootsChain = null; var nms_Item_helmetSteel = null; var nms_Item_plateSteel = null; var nms_Item_legsSteel = null; var nms_Item_bootsSteel = null; var nms_Item_helmetDiamond = null; var nms_Item_plateDiamond = null; var nms_Item_legsDiamond = null; var nms_Item_bootsDiamond = null; var nms_Item_helmetGold = null; var nms_Item_plateGold = null; var nms_Item_legsGold = null; var nms_Item_bootsGold = null; var nms_Item_flint = null; var nms_Item_porkRaw = null; var nms_Item_porkCooked = null; var nms_Item_painting = null; var nms_Item_appleGold = null; var nms_Item_sign = null; var nms_Item_doorWood = null; var nms_Item_bucketEmpty = null; var nms_Item_bucketWater = null; var nms_Item_bucketLava = null; var nms_Item_minecartEmpty = null; var nms_Item_saddle = null; var nms_Item_doorSteel = null; var nms_Item_redstone = null; var nms_Item_snowball = null; var nms_Item_boat = null; var nms_Item_leather = null; var nms_Item_bucketMilk = null; var nms_Item_brick = null; var nms_Item_clay = null; var nms_Item_reed = null; var nms_Item_paper = null; var nms_Item_book = null; var nms_Item_slimeBall = null; var nms_Item_minecartCrate = null; var nms_Item_minecartPowered = null; var nms_Item_egg = null; var nms_Item_compass = null; var nms_Item_fishingRod = null; var nms_Item_pocketSundial = null; var nms_Item_lightStoneDust = null; var nms_Item_fishRaw = null; var nms_Item_fishCooked = null; var nms_Item_record13 = null; var nms_Item_recordCat = null; function nms_Item_$callClinit() { nms_Item_$callClinit = $rt_eraseClinit(nms_Item); nms_Item__clinit_(); } function nms_Item__init_(var_0) { var var_1 = new nms_Item(); nms_Item__init_0(var_1, var_0); return var_1; } function nms_Item__init_0($this, $var1) { var var$2, var$3, var$4; nms_Item_$callClinit(); $this.$maxStackSize = 64; $this.$maxDamage = 32; $this.$bFull3D = 0; var$2 = 256 + $var1 | 0; $this.$shiftedIndex = var$2; if (nms_Item_itemsList.data[var$2] !== null) { var$3 = jl_System_out(); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append1(jl_StringBuilder_append(var$4, $rt_s(328)), $var1); ji_PrintStream_println(var$3, jl_AbstractStringBuilder_toString(var$4)); } nms_Item_itemsList.data[var$2] = $this; } function nms_Item_setIconIndex($this, $var1) { $this.$iconIndex = $var1; return $this; } function nms_Item_getIconIndex($this, $var1) { return $this.$iconIndex; } function nms_Item_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { return 0; } function nms_Item_getStrVsBlock($this, $var1, $var2) { return 1.0; } function nms_Item_onItemRightClick($this, $var1, $var2, $var3) { return $var1; } function nms_Item_getItemStackLimit($this) { return $this.$maxStackSize; } function nms_Item_getMaxDamage($this) { return $this.$maxDamage; } function nms_Item_hitEntity($this, $var1, $var2) {} function nms_Item_hitBlock($this, $var1, $var2, $var3, $var4, $var5) {} function nms_Item_getDamageVsEntity($this, $var1) { return 1; } function nms_Item_canHarvestBlock($this, $var1) { return 0; } function nms_Item_func_4019_b($this, $var1, $var2) {} function nms_Item_setFull3D($this) { $this.$bFull3D = 1; return $this; } function nms_Item_isFull3D($this) { return $this.$bFull3D; } function nms_Item_shouldRotateAroundWhenRendering($this) { return 0; } function nms_Item__clinit_() { var var$1; nms_Item_itemRand = ju_Random__init_0(); nms_Item_itemsList = $rt_createArray(nms_Item, 32000); nms_Item_shovelSteel = nms_Item_setIconIndex(nms_ItemSpade__init_(0, 2), 82); nms_Item_pickaxeSteel = nms_Item_setIconIndex(nms_ItemPickaxe__init_(1, 2), 98); nms_Item_axeSteel = nms_Item_setIconIndex(nms_ItemAxe__init_(2, 2), 114); nms_Item_flintAndSteel = nms_Item_setIconIndex(nms_ItemFlintAndSteel__init_(3), 5); nms_Item_appleRed = nms_Item_setIconIndex(nms_ItemFood__init_(4, 4), 10); nms_Item_bow = nms_Item_setIconIndex(nms_ItemBow__init_(5), 21); nms_Item_arrow = nms_Item_setIconIndex(nms_Item__init_(6), 37); nms_Item_coal = nms_Item_setIconIndex(nms_Item__init_(7), 7); nms_Item_diamond = nms_Item_setIconIndex(nms_Item__init_(8), 55); nms_Item_ingotIron = nms_Item_setIconIndex(nms_Item__init_(9), 23); nms_Item_ingotGold = nms_Item_setIconIndex(nms_Item__init_(10), 39); nms_Item_swordSteel = nms_Item_setIconIndex(nms_ItemSword__init_(11, 2), 66); nms_Item_swordWood = nms_Item_setIconIndex(nms_ItemSword__init_(12, 0), 64); nms_Item_shovelWood = nms_Item_setIconIndex(nms_ItemSpade__init_(13, 0), 80); nms_Item_pickaxeWood = nms_Item_setIconIndex(nms_ItemPickaxe__init_(14, 0), 96); nms_Item_axeWood = nms_Item_setIconIndex(nms_ItemAxe__init_(15, 0), 112); nms_Item_swordStone = nms_Item_setIconIndex(nms_ItemSword__init_(16, 1), 65); nms_Item_shovelStone = nms_Item_setIconIndex(nms_ItemSpade__init_(17, 1), 81); nms_Item_pickaxeStone = nms_Item_setIconIndex(nms_ItemPickaxe__init_(18, 1), 97); nms_Item_axeStone = nms_Item_setIconIndex(nms_ItemAxe__init_(19, 1), 113); nms_Item_swordDiamond = nms_Item_setIconIndex(nms_ItemSword__init_(20, 3), 67); nms_Item_shovelDiamond = nms_Item_setIconIndex(nms_ItemSpade__init_(21, 3), 83); nms_Item_pickaxeDiamond = nms_Item_setIconIndex(nms_ItemPickaxe__init_(22, 3), 99); nms_Item_axeDiamond = nms_Item_setIconIndex(nms_ItemAxe__init_(23, 3), 115); nms_Item_stick = nms_Item_setFull3D(nms_Item_setIconIndex(nms_Item__init_(24), 53)); nms_Item_bowlEmpty = nms_Item_setIconIndex(nms_Item__init_(25), 71); nms_Item_bowlSoup = nms_Item_setIconIndex(nms_ItemSoup__init_(26, 10), 72); nms_Item_swordGold = nms_Item_setIconIndex(nms_ItemSword__init_(27, 0), 68); nms_Item_shovelGold = nms_Item_setIconIndex(nms_ItemSpade__init_(28, 0), 84); nms_Item_pickaxeGold = nms_Item_setIconIndex(nms_ItemPickaxe__init_(29, 0), 100); nms_Item_axeGold = nms_Item_setIconIndex(nms_ItemAxe__init_(30, 0), 116); nms_Item_silk = nms_Item_setIconIndex(nms_Item__init_(31), 8); nms_Item_feather = nms_Item_setIconIndex(nms_Item__init_(32), 24); nms_Item_gunpowder = nms_Item_setIconIndex(nms_Item__init_(33), 40); nms_Item_hoeWood = nms_Item_setIconIndex(nms_ItemHoe__init_(34, 0), 128); nms_Item_hoeStone = nms_Item_setIconIndex(nms_ItemHoe__init_(35, 1), 129); nms_Item_hoeSteel = nms_Item_setIconIndex(nms_ItemHoe__init_(36, 2), 130); nms_Item_hoeDiamond = nms_Item_setIconIndex(nms_ItemHoe__init_(37, 3), 131); nms_Item_hoeGold = nms_Item_setIconIndex(nms_ItemHoe__init_(38, 1), 132); var$1 = new nms_ItemSeeds; nms_Block_$callClinit(); nms_ItemSeeds__init_(var$1, 39, nms_Block_crops.$blockID); nms_Item_seeds = nms_Item_setIconIndex(var$1, 9); nms_Item_wheat = nms_Item_setIconIndex(nms_Item__init_(40), 25); nms_Item_bread = nms_Item_setIconIndex(nms_ItemFood__init_(41, 5), 41); nms_Item_helmetLeather = nms_Item_setIconIndex(nms_ItemArmor__init_(42, 0, 0, 0), 0); nms_Item_plateLeather = nms_Item_setIconIndex(nms_ItemArmor__init_(43, 0, 0, 1), 16); nms_Item_legsLeather = nms_Item_setIconIndex(nms_ItemArmor__init_(44, 0, 0, 2), 32); nms_Item_bootsLeather = nms_Item_setIconIndex(nms_ItemArmor__init_(45, 0, 0, 3), 48); nms_Item_helmetChain = nms_Item_setIconIndex(nms_ItemArmor__init_(46, 1, 1, 0), 1); nms_Item_plateChain = nms_Item_setIconIndex(nms_ItemArmor__init_(47, 1, 1, 1), 17); nms_Item_legsChain = nms_Item_setIconIndex(nms_ItemArmor__init_(48, 1, 1, 2), 33); nms_Item_bootsChain = nms_Item_setIconIndex(nms_ItemArmor__init_(49, 1, 1, 3), 49); nms_Item_helmetSteel = nms_Item_setIconIndex(nms_ItemArmor__init_(50, 2, 2, 0), 2); nms_Item_plateSteel = nms_Item_setIconIndex(nms_ItemArmor__init_(51, 2, 2, 1), 18); nms_Item_legsSteel = nms_Item_setIconIndex(nms_ItemArmor__init_(52, 2, 2, 2), 34); nms_Item_bootsSteel = nms_Item_setIconIndex(nms_ItemArmor__init_(53, 2, 2, 3), 50); nms_Item_helmetDiamond = nms_Item_setIconIndex(nms_ItemArmor__init_(54, 3, 3, 0), 3); nms_Item_plateDiamond = nms_Item_setIconIndex(nms_ItemArmor__init_(55, 3, 3, 1), 19); nms_Item_legsDiamond = nms_Item_setIconIndex(nms_ItemArmor__init_(56, 3, 3, 2), 35); nms_Item_bootsDiamond = nms_Item_setIconIndex(nms_ItemArmor__init_(57, 3, 3, 3), 51); nms_Item_helmetGold = nms_Item_setIconIndex(nms_ItemArmor__init_(58, 1, 4, 0), 4); nms_Item_plateGold = nms_Item_setIconIndex(nms_ItemArmor__init_(59, 1, 4, 1), 20); nms_Item_legsGold = nms_Item_setIconIndex(nms_ItemArmor__init_(60, 1, 4, 2), 36); nms_Item_bootsGold = nms_Item_setIconIndex(nms_ItemArmor__init_(61, 1, 4, 3), 52); nms_Item_flint = nms_Item_setIconIndex(nms_Item__init_(62), 6); nms_Item_porkRaw = nms_Item_setIconIndex(nms_ItemFood__init_(63, 3), 87); nms_Item_porkCooked = nms_Item_setIconIndex(nms_ItemFood__init_(64, 8), 88); nms_Item_painting = nms_Item_setIconIndex(nms_ItemPainting__init_(65), 26); nms_Item_appleGold = nms_Item_setIconIndex(nms_ItemFood__init_(66, 42), 11); nms_Item_sign = nms_Item_setIconIndex(nms_ItemSign__init_(67), 42); var$1 = new nms_ItemDoor; nms_Material_$callClinit(); nms_ItemDoor__init_(var$1, 68, nms_Material_wood); nms_Item_doorWood = nms_Item_setIconIndex(var$1, 43); nms_Item_bucketEmpty = nms_Item_setIconIndex(nms_ItemBucket__init_(69, 0), 74); nms_Item_bucketWater = nms_Item_setIconIndex(nms_ItemBucket__init_(70, nms_Block_waterStill.$blockID), 75); nms_Item_bucketLava = nms_Item_setIconIndex(nms_ItemBucket__init_(71, nms_Block_lavaStill.$blockID), 76); nms_Item_minecartEmpty = nms_Item_setIconIndex(nms_ItemMinecart__init_(72, 0), 135); nms_Item_saddle = nms_Item_setIconIndex(nms_ItemSaddle__init_(73), 104); nms_Item_doorSteel = nms_Item_setIconIndex(nms_ItemDoor__init_0(74, nms_Material_iron), 44); nms_Item_redstone = nms_Item_setIconIndex(nms_ItemRedstone__init_(75), 56); nms_Item_snowball = nms_Item_setIconIndex(nms_ItemSnowball__init_(76), 14); nms_Item_boat = nms_Item_setIconIndex(nms_ItemBoat__init_(77), 136); nms_Item_leather = nms_Item_setIconIndex(nms_Item__init_(78), 103); nms_Item_bucketMilk = nms_Item_setIconIndex(nms_ItemBucket__init_(79, (-1)), 77); nms_Item_brick = nms_Item_setIconIndex(nms_Item__init_(80), 22); nms_Item_clay = nms_Item_setIconIndex(nms_Item__init_(81), 57); nms_Item_reed = nms_Item_setIconIndex(nms_ItemReed__init_(82, nms_Block_reed), 27); nms_Item_paper = nms_Item_setIconIndex(nms_Item__init_(83), 58); nms_Item_book = nms_Item_setIconIndex(nms_Item__init_(84), 59); nms_Item_slimeBall = nms_Item_setIconIndex(nms_Item__init_(85), 30); nms_Item_minecartCrate = nms_Item_setIconIndex(nms_ItemMinecart__init_(86, 1), 151); nms_Item_minecartPowered = nms_Item_setIconIndex(nms_ItemMinecart__init_(87, 2), 167); nms_Item_egg = nms_Item_setIconIndex(nms_Item__init_(88), 12); nms_Item_compass = nms_Item_setIconIndex(nms_Item__init_(89), 54); nms_Item_fishingRod = nms_Item_setIconIndex(nms_ItemFishingRod__init_(90), 69); nms_Item_pocketSundial = nms_Item_setIconIndex(nms_Item__init_(91), 70); nms_Item_lightStoneDust = nms_Item_setIconIndex(nms_Item__init_(92), 73); nms_Item_fishRaw = nms_Item_setIconIndex(nms_ItemFood__init_(93, 2), 89); nms_Item_fishCooked = nms_Item_setIconIndex(nms_ItemFood__init_(94, 5), 90); nms_Item_record13 = nms_Item_setIconIndex(nms_ItemRecord__init_(2000, $rt_s(329)), 240); nms_Item_recordCat = nms_Item_setIconIndex(nms_ItemRecord__init_(2001, $rt_s(330)), 241); } function nms_ItemBlock() { nms_Item.call(this); this.$blockID0 = 0; } function nms_ItemBlock__init_(var_0) { var var_1 = new nms_ItemBlock(); nms_ItemBlock__init_0(var_1, var_0); return var_1; } function nms_ItemBlock__init_0($this, $var1) { nms_Item__init_0($this, $var1); $var1 = $var1 + 256 | 0; $this.$blockID0 = $var1; nms_Block_$callClinit(); $this.$iconIndex = nms_Block_blocksList.data[$var1].$getBlockTextureFromSide(2); } function nms_ItemBlock_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, var$9, var$10, $var8, var$12, var$13, var$14, var$15, $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();var$12 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_Block_$callClinit(); if (var$8 == nms_Block_snow.$blockID) $var7 = 0; else { if (!$var7) $var5 = $var5 + (-1) | 0; if ($var7 == 1) $var5 = $var5 + 1 | 0; if ($var7 == 2) $var6 = $var6 + (-1) | 0; if ($var7 == 3) $var6 = $var6 + 1 | 0; if ($var7 == 4) $var4 = $var4 + (-1) | 0; if ($var7 == 5) $var4 = $var4 + 1 | 0; } if (!$var1.$stackSize) return 0; var$9 = $this.$blockID0; var$8 = 0; $ptr = 2; case 2: $tmp = nms_World_canBlockBePlacedAt($var3, var$9, $var4, $var5, $var6, var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) return 1; var$10 = nms_Block_blocksList.data; var$8 = $this.$blockID0; $var8 = var$10[var$8]; $ptr = 3; case 3: $tmp = nms_World_setBlockWithNotify($var3, $var4, $var5, $var6, var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) return 1; var$12 = nms_Block_blocksList.data[$this.$blockID0]; $ptr = 4; case 4: var$12.$onBlockPlaced($var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } var$12 = nms_Block_blocksList.data[$this.$blockID0]; $ptr = 5; case 5: var$12.$onBlockPlacedBy($var3, $var4, $var5, $var6, $var2); if ($rt_suspending()) { break main; } var$13 = $var4 + 0.5; var$14 = $var5 + 0.5; var$15 = $var6 + 0.5; $var2 = nms_StepSound_func_1145_d($var8.$stepSound); var$12 = $var8.$stepSound; nms_World_playSoundEffect($var3, var$13, var$14, var$15, $var2, (var$12.$field_1677_b + 1.0) / 2.0, var$12.$field_1679_c * 0.800000011920929); $var1.$stackSize = $var1.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $var8, var$12, var$13, var$14, var$15, $ptr); } var jl_Thread$UncaughtExceptionHandler = $rt_classWithoutFields(0); var jl_DefaultUncaughtExceptionHandler = $rt_classWithoutFields(); function jl_DefaultUncaughtExceptionHandler__init_0() { var var_0 = new jl_DefaultUncaughtExceptionHandler(); jl_DefaultUncaughtExceptionHandler__init_(var_0); return var_0; } function jl_DefaultUncaughtExceptionHandler__init_($this) {} function jl_DefaultUncaughtExceptionHandler_uncaughtException($this, $t, $e) { $e.$printStackTrace1(); } var otciu_CLDRHelper = $rt_classWithoutFields(); 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; var otciu_CLDRHelper_$$metadata$$14 = null; function otciu_CLDRHelper__init_0() { var var_0 = new otciu_CLDRHelper(); otciu_CLDRHelper__init_(var_0); return var_0; } function otciu_CLDRHelper__init_($this) {} function otciu_CLDRHelper_getCode($language, $country) { var var$3; if (!jl_String_isEmpty($country)) { var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); $language = jl_StringBuilder_append(var$3, $language); jl_AbstractStringBuilder_append($language, 45); jl_StringBuilder_append($language, $country); $language = jl_AbstractStringBuilder_toString(var$3); } return $language; } 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_lastIndexOf($subtags, 95); $country = $index <= 0 ? $rt_s(6) : jl_String_substring($subtags, $index + 1 | 0); } return $country; } function otciu_CLDRHelper_resolveDateFormatSymbols($map, $language, $country) { var $localeCode, $arrayRes, $result, var$7, $i, var$9; $localeCode = otciu_CLDRHelper_getCode($language, $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"}, "tdu": {"value" : "tdu-Latn-MY"}, "cch": {"value" : "cch-Latn-NG"}, "und-Khar": {"value" : "pra-Khar-PK"}, "gkn": {"value" : "gkn-Latn-ZZ"}, "ksr": {"value" : "ksr-Latn-ZZ"}, "und-Mani": {"value" : "xmn-Mani-CN"}, "gkp": {"value" : "gkp-Latn-ZZ"}, "xmf": {"value" : "xmf-Geor-GE"}, "ccp": {"value" : "ccp-Cakm-BD"}, "ted": {"value" : "ted-Latn-ZZ"}, "und-Mand": {"value" : "myz-Mand-IR"}, "ktb": {"value" : "ktb-Ethi-ZZ"}, "xmn": {"value" : "xmn-Mani-CN"}, "sd-Sind": {"value" : "sd-Sind-IN"}, "xmr": {"value" : "xmr-Merc-SD"}, "tem": {"value" : "tem-Latn-SL"}, "und-Mroo": {"value" : "mro-Mroo-BD"}, "teo": {"value" : "teo-Latn-UG"}, "tet": {"value" : "tet-Latn-TL"}, "ktm": {"value" : "ktm-Latn-ZZ"}, "glk": {"value" : "glk-Arab-IR"}, "kto": {"value" : "kto-Latn-ZZ"}, "ktr": {"value" : "ktr-Latn-MY"}, "und-Soyo": {"value" : "cmg-Soyo-MN"}, "xna": {"value" : "xna-Narb-SA"}, "tfi": {"value" : "tfi-Latn-ZZ"}, "kub": {"value" : "kub-Latn-ZZ"} , "kue": {"value" : "kue-Latn-ZZ"}, "kud": {"value" : "kud-Latn-ZZ"}, "xnr": {"value" : "xnr-Deva-IN"}, "ceb": {"value" : "ceb-Latn-PH"}, "kuj": {"value" : "kuj-Latn-ZZ"}, "kum": {"value" : "kum-Cyrl-RU"}, "kun": {"value" : "kun-Latn-ZZ"}, "gmm": {"value" : "gmm-Latn-ZZ"}, "kup": {"value" : "kup-Latn-ZZ"}, "kus": {"value" : "kus-Latn-ZZ"}, "gmv": {"value" : "gmv-Ethi-ZZ"}, "tgc": {"value" : "tgc-Latn-ZZ"}, "xog": {"value" : "xog-Latn-UG"}, "und-Arab-YT": {"value" : "swb-Arab-YT"}, "und-Latn-ET": {"value" : "en-Latn-ET"}, "xon": {"value" : "xon-Latn-ZZ"}, "ha-CM": {"value" : "ha-Arab-CM"}, "gnd": {"value" : "gnd-Latn-ZZ"}, "kvg": {"value" : "kvg-Latn-ZZ"}, "tgo": {"value" : "tgo-Latn-ZZ"}, "cfa": {"value" : "cfa-Latn-ZZ"}, "gng": {"value" : "gng-Latn-ZZ"}, "tgu": {"value" : "tgu-Latn-ZZ"}, "und-Latn-GE": {"value" : "ku-Latn-GE"}, "kvr": {"value" : "kvr-Latn-ID"}, "kvx": {"value" : "kvx-Arab-PK"}, "und-Gujr": {"value" : "gu-Gujr-IN"}, "thl": {"value" : "thl-Deva-NP"}, "xpr": {"value" : "xpr-Prti-IR"}, "thq": {"value" : "thq-Deva-NP"}, "god": {"value" : "god-Latn-ZZ"}, "gof": {"value" : "gof-Ethi-ZZ"}, "kwj": {"value" : "kwj-Latn-ZZ"}, "ky-Arab": {"value" : "ky-Arab-CN"}, "thr": {"value" : "thr-Deva-NP"}, "goi": {"value" : "goi-Latn-ZZ"}, "cgg": {"value" : "cgg-Latn-UG"}, "kwo": {"value" : "kwo-Latn-ZZ"}, "gom": {"value" : "gom-Deva-IN"}, "kwq": {"value" : "kwq-Latn-ZZ"}, "gon": {"value" : "gon-Telu-IN"}, "gos": {"value" : "gos-Latn-NL"}, "gor": {"value" : "gor-Latn-ID"}, "und-Latn-CY": {"value" : "tr-Latn-CY"}, "got": {"value" : "got-Goth-UA"}, "tif": {"value" : "tif-Latn-ZZ"}, "tig": {"value" : "tig-Ethi-ER"}, "kxa": {"value" : "kxa-Latn-ZZ"}, "kxc": {"value" : "kxc-Ethi-ZZ"}, "pag": {"value" : "pag-Latn-PH"}, "tik": {"value" : "tik-Latn-ZZ"}, "kxe": {"value" : "kxe-Latn-ZZ"}, "tim": {"value" : "tim-Latn-ZZ"}, "pal": {"value" : "pal-Phli-IR"}, "tio": {"value" : "tio-Latn-ZZ"}, "pam": {"value" : "pam-Latn-PH"}, "und-Marc": {"value" : "bo-Marc-CN"}, "pap": {"value" : "pap-Latn-AW"}, "und-Latn-CN": {"value" : "za-Latn-CN"}, "tiv": {"value" : "tiv-Latn-NG"}, "kxm": {"value" : "kxm-Thai-TH"}, "kxp": {"value" : "kxp-Arab-PK"}, "pau": {"value" : "pau-Latn-PW"}, "chk": {"value" : "chk-Latn-FM"}, "chm": {"value" : "chm-Cyrl-RU"}, "xrb": {"value" : "xrb-Latn-ZZ"}, "chp": {"value" : "chp-Latn-CA"}, "cho": {"value" : "cho-Latn-US"}, "kxw": {"value" : "kxw-Latn-ZZ"}, "und-Latn-DZ": {"value" : "fr-Latn-DZ"}, "chr": {"value" : "chr-Cher-US"}, "kxz": {"value" : "kxz-Latn-ZZ"}, "und-Batk": {"value" : "bbc-Batk-ID"} , "und-Bass": {"value" : "bsq-Bass-LR"}, "kye": {"value" : "kye-Latn-ZZ"}, "pbi": {"value" : "pbi-Latn-ZZ"}, "und-Deva-MU": {"value" : "bho-Deva-MU"}, "cic": {"value" : "cic-Latn-US"}, "und-Sgnw": {"value" : "ase-Sgnw-US"}, "xsa": {"value" : "xsa-Sarb-YE"}, "kyx": {"value" : "kyx-Latn-ZZ"}, "xsi": {"value" : "xsi-Latn-ZZ"}, "pcd": {"value" : "pcd-Latn-FR"}, "und-Latn-AM": {"value" : "ku-Latn-AM"}, "xsm": {"value" : "xsm-Latn-ZZ"}, "tkl": {"value" : "tkl-Latn-TK"}, "und-Thai-CN": {"value" : "lcp-Thai-CN"} , "grb": {"value" : "grb-Latn-ZZ"}, "xsr": {"value" : "xsr-Deva-NP"}, "und-Latn-AF": {"value" : "tk-Latn-AF"}, "grc": {"value" : "grc-Cprt-CY"}, "kzj": {"value" : "kzj-Latn-MY"}, "tkr": {"value" : "tkr-Latn-AZ"}, "cja": {"value" : "cja-Arab-KH"}, "pcm": {"value" : "pcm-Latn-NG"}, "tkt": {"value" : "tkt-Deva-NP"}, "und-Olck": {"value" : "sat-Olck-IN"}, "kzr": {"value" : "kzr-Latn-ZZ"}, "kzt": {"value" : "kzt-Latn-MY"}, "cjm": {"value" : "cjm-Cham-VN"}, "grt": {"value" : "grt-Beng-IN"}, "und-Arab-TJ": {"value" : "fa-Arab-TJ"}, "und-Arab-TG": {"value" : "apd-Arab-TG"}, "und-Arab-TH": {"value" : "mfa-Arab-TH"}, "und-Deva-PK": {"value" : "btv-Deva-PK"}, "grw": {"value" : "grw-Latn-ZZ"}, "cjv": {"value" : "cjv-Latn-ZZ"}, "pdc": {"value" : "pdc-Latn-US"}, "tlf": {"value" : "tlf-Latn-ZZ"}, "und-Arab-TR": {"value" : "az-Arab-TR"}, "ckb": {"value" : "ckb-Arab-IQ"}, "tly": {"value" : "tly-Latn-AZ"}, "pdt": {"value" : "pdt-Latn-CA"}, "tlx": {"value" : "tlx-Latn-ZZ"}, "ckl": {"value" : "ckl-Latn-ZZ"}, "cko": {"value" : "cko-Latn-ZZ"}, "gsw": {"value" : "gsw-Latn-CH"}, "ped": {"value" : "ped-Latn-ZZ"}, "tmh": {"value" : "tmh-Latn-NE"}, "cky": {"value" : "cky-Latn-ZZ"}, "kk-Arab": {"value" : "kk-Arab-CN"}, "und-Runr": {"value" : "non-Runr-SE"}, "cla": {"value" : "cla-Latn-ZZ"}, "peo": {"value" : "peo-Xpeo-IR"}, "tmy": {"value" : "tmy-Latn-ZZ"}, "pex": {"value" : "pex-Latn-ZZ"}, "ky-TR": {"value" : "ky-Latn-TR"}, "tnh": {"value" : "tnh-Latn-ZZ"}, "guc": {"value" : "guc-Latn-CO"}, "gub": {"value" : "gub-Latn-BR"} , "gud": {"value" : "gud-Latn-ZZ"}, "pfl": {"value" : "pfl-Latn-DE"}, "cme": {"value" : "cme-Latn-ZZ"}, "cmg": {"value" : "cmg-Soyo-MN"}, "gur": {"value" : "gur-Latn-GH"}, "xwe": {"value" : "xwe-Latn-ZZ"}, "guw": {"value" : "guw-Latn-ZZ"}, "tof": {"value" : "tof-Latn-ZZ"}, "gux": {"value" : "gux-Latn-ZZ"}, "guz": {"value" : "guz-Latn-KE"}, "tog": {"value" : "tog-Latn-MW"}, "gvf": {"value" : "gvf-Latn-ZZ"}, "toq": {"value" : "toq-Latn-ZZ"}, "gvr": {"value" : "gvr-Deva-NP"}, "und-Guru": {"value" : "pa-Guru-IN"} , "gvs": {"value" : "gvs-Latn-ZZ"}, "tpi": {"value" : "tpi-Latn-PG"}, "tpm": {"value" : "tpm-Latn-ZZ"}, "und-Tfng": {"value" : "zgh-Tfng-MA"}, "gwc": {"value" : "gwc-Arab-ZZ"}, "und-Arab-PK": {"value" : "ur-Arab-PK"}, "phl": {"value" : "phl-Arab-ZZ"}, "und-Aghb": {"value" : "lez-Aghb-RU"}, "phn": {"value" : "phn-Phnx-LB"}, "gwi": {"value" : "gwi-Latn-CA"}, "tpz": {"value" : "tpz-Latn-ZZ"}, "cop": {"value" : "cop-Copt-EG"}, "gwt": {"value" : "gwt-Arab-ZZ"}, "lab": {"value" : "lab-Lina-GR"}, "lad": {"value" : "lad-Hebr-IL"}, "lah": {"value" : "lah-Arab-PK"}, "pil": {"value" : "pil-Latn-ZZ"}, "lag": {"value" : "lag-Latn-TZ"}, "tqo": {"value" : "tqo-Latn-ZZ"}, "laj": {"value" : "laj-Latn-UG"}, "pip": {"value" : "pip-Latn-ZZ"}, "und-Khmr": {"value" : "km-Khmr-KH"}, "las": {"value" : "las-Latn-ZZ"}, "sd-Deva": {"value" : "sd-Deva-IN"}, "und-Khoj": {"value" : "sd-Khoj-IN"}, "cps": {"value" : "cps-Latn-PH"}, "kk-AF": {"value" : "kk-Arab-AF"}, "und-Arab-MU": {"value" : "ur-Arab-MU"}, "lbe": {"value" : "lbe-Cyrl-RU"} , "und-Arab-NG": {"value" : "ha-Arab-NG"}, "gyi": {"value" : "gyi-Latn-ZZ"}, "tru": {"value" : "tru-Latn-TR"}, "trw": {"value" : "trw-Arab-ZZ"}, "trv": {"value" : "trv-Latn-TW"}, "lbu": {"value" : "lbu-Latn-ZZ"}, "lbw": {"value" : "lbw-Latn-ID"}, "tsd": {"value" : "tsd-Grek-GR"}, "tsf": {"value" : "tsf-Deva-NP"}, "pka": {"value" : "pka-Brah-IN"}, "tsg": {"value" : "tsg-Latn-PH"}, "tsj": {"value" : "tsj-Tibt-BT"}, "und-Deva-FJ": {"value" : "hif-Deva-FJ"}, "pko": {"value" : "pko-Latn-KE"}, "lcm": {"value" : "lcm-Latn-ZZ"}, "crh": {"value" : "crh-Cyrl-UA"}, "lcp": {"value" : "lcp-Thai-CN"}, "tsw": {"value" : "tsw-Latn-ZZ"}, "crj": {"value" : "crj-Cans-CA"}, "crl": {"value" : "crl-Cans-CA"}, "und-Arab-MN": {"value" : "kk-Arab-MN"}, "crk": {"value" : "crk-Cans-CA"}, "crm": {"value" : "crm-Cans-CA"}, "und-Arab-MM": {"value" : "rhg-Arab-MM"}, "pla": {"value" : "pla-Latn-ZZ"}, "tte": {"value" : "tte-Latn-ZZ"}, "crs": {"value" : "crs-Latn-SC"}, "ttd": {"value" : "ttd-Latn-ZZ"}, "ldb": {"value" : "ldb-Latn-ZZ"} , "ttj": {"value" : "ttj-Latn-UG"}, "kk-CN": {"value" : "kk-Arab-CN"}, "und-Yiii": {"value" : "ii-Yiii-CN"}, "tts": {"value" : "tts-Thai-TH"}, "csb": {"value" : "csb-Latn-PL"}, "ttr": {"value" : "ttr-Latn-ZZ"}, "ttt": {"value" : "ttt-Latn-AZ"}, "csw": {"value" : "csw-Cans-CA"}, "tuh": {"value" : "tuh-Latn-ZZ"}, "led": {"value" : "led-Latn-ZZ"}, "tul": {"value" : "tul-Latn-ZZ"}, "lee": {"value" : "lee-Latn-ZZ"}, "tum": {"value" : "tum-Latn-MW"}, "und-Arab-KH": {"value" : "cja-Arab-KH"}, "tuq": {"value" : "tuq-Latn-ZZ"}, "ctd": {"value" : "ctd-Pauc-MM"}, "lem": {"value" : "lem-Latn-ZZ"}, "lep": {"value" : "lep-Lepc-IN"}, "pms": {"value" : "pms-Latn-IT"}, "leq": {"value" : "leq-Latn-ZZ"}, "und-Pauc": {"value" : "ctd-Pauc-MM"}, "und-Sogo": {"value" : "sog-Sogo-UZ"}, "leu": {"value" : "leu-Latn-ZZ"}, "lez": {"value" : "lez-Cyrl-RU"}, "tvd": {"value" : "tvd-Latn-ZZ"}, "mn-CN": {"value" : "mn-Mong-CN"}, "sr-TR": {"value" : "sr-Latn-TR"}, "png": {"value" : "png-Latn-ZZ"}, "tvl": {"value" : "tvl-Latn-TV"} , "und-Brah": {"value" : "pka-Brah-IN"}, "und-Brai": {"value" : "fr-Brai-FR"}, "pnn": {"value" : "pnn-Latn-ZZ"}, "tvu": {"value" : "tvu-Latn-ZZ"}, "pnt": {"value" : "pnt-Grek-GR"}, "uz-CN": {"value" : "uz-Cyrl-CN"}, "ha-SD": {"value" : "ha-Arab-SD"}, "twh": {"value" : "twh-Latn-ZZ"}, "und-Takr": {"value" : "doi-Takr-IN"}, "lgg": {"value" : "lgg-Latn-ZZ"}, "pon": {"value" : "pon-Latn-FM"}, "twq": {"value" : "twq-Latn-NE"}, "und-Arab-ID": {"value" : "ms-Arab-ID"}, "und-Arab-IN": {"value" : "ur-Arab-IN"} , "ppa": {"value" : "ppa-Deva-IN"}, "txg": {"value" : "txg-Tang-CN"}, "yam": {"value" : "yam-Latn-ZZ"}, "und-Talu": {"value" : "khb-Talu-CN"}, "yao": {"value" : "yao-Latn-MZ"}, "yap": {"value" : "yap-Latn-FM"}, "yas": {"value" : "yas-Latn-ZZ"}, "yat": {"value" : "yat-Latn-ZZ"}, "ppo": {"value" : "ppo-Latn-ZZ"}, "yav": {"value" : "yav-Latn-CM"}, "yay": {"value" : "yay-Latn-ZZ"}, "yaz": {"value" : "yaz-Latn-ZZ"}, "und-Tale": {"value" : "tdd-Tale-CN"}, "ybb": {"value" : "ybb-Latn-CM"}, "yba": {"value" : "yba-Latn-ZZ"}, "tya": {"value" : "tya-Latn-ZZ"}, "lia": {"value" : "lia-Latn-ZZ"}, "lid": {"value" : "lid-Latn-ZZ"}, "und-Latn-TW": {"value" : "trv-Latn-TW"}, "lif": {"value" : "lif-Deva-NP"}, "lih": {"value" : "lih-Latn-ZZ"}, "lig": {"value" : "lig-Latn-ZZ"}, "lij": {"value" : "lij-Latn-IT"}, "hag": {"value" : "hag-Latn-ZZ"}, "und-Latn-TN": {"value" : "fr-Latn-TN"}, "tyv": {"value" : "tyv-Cyrl-RU"}, "yby": {"value" : "yby-Latn-ZZ"}, "und-Arab-GB": {"value" : "ks-Arab-GB"}, "hak": {"value" : "hak-Hans-CN"} , "und-Taml": {"value" : "ta-Taml-IN"}, "ham": {"value" : "ham-Latn-ZZ"}, "lis": {"value" : "lis-Lisu-CN"}, "und-Latn-SY": {"value" : "fr-Latn-SY"}, "ky-Latn": {"value" : "ky-Latn-TR"}, "pra": {"value" : "pra-Khar-PK"}, "haw": {"value" : "haw-Latn-US"}, "haz": {"value" : "haz-Arab-AF"}, "ku-LB": {"value" : "ku-Arab-LB"}, "prd": {"value" : "prd-Arab-IR"}, "prg": {"value" : "prg-Latn-001"}, "tzm": {"value" : "tzm-Latn-MA"}, "hbb": {"value" : "hbb-Latn-ZZ"}, "und-Latn-UA": {"value" : "pl-Latn-UA"}, "ljp": {"value" : "ljp-Latn-ID"}, "und-Tang": {"value" : "txg-Tang-CN"}, "yue-Hans": {"value" : "yue-Hans-CN"}, "und-Latn-RU": {"value" : "krl-Latn-RU"}, "lki": {"value" : "lki-Arab-IR"}, "pss": {"value" : "pss-Latn-ZZ"}, "lkt": {"value" : "lkt-Latn-US"}, "sr-RO": {"value" : "sr-Latn-RO"}, "und-Arab-CN": {"value" : "ug-Arab-CN"}, "lle": {"value" : "lle-Latn-ZZ"}, "und-Cyrl": {"value" : "ru-Cyrl-RU"}, "uz-AF": {"value" : "uz-Arab-AF"}, "yer": {"value" : "yer-Latn-ZZ"}, "und-Beng": {"value" : "bn-Beng-BD"}, "ptp": {"value" : "ptp-Latn-ZZ"}, "lln": {"value" : "lln-Latn-ZZ"}, "sr-RU": {"value" : "sr-Latn-RU"}, "hdy": {"value" : "hdy-Ethi-ZZ"}, "unr-NP": {"value" : "unr-Deva-NP"}, "und-Mend": {"value" : "men-Mend-SL"}, "lmn": {"value" : "lmn-Telu-IN"}, "lmp": {"value" : "lmp-Latn-ZZ"}, "lmo": {"value" : "lmo-Latn-IT"}, "puu": {"value" : "puu-Latn-GA"}, "und-Arab-CC": {"value" : "ms-Arab-CC"}, "pal-Phlp": {"value" : "pal-Phlp-CN"}, "ygr": {"value" : "ygr-Latn-ZZ"}, "ygw": {"value" : "ygw-Latn-ZZ"}, "lns": {"value" : "lns-Latn-ZZ"}, "ky-CN": {"value" : "ky-Arab-CN"}, "lnu": {"value" : "lnu-Latn-ZZ"}, "pwa": {"value" : "pwa-Latn-ZZ"}, "und-Chrs": {"value" : "xco-Chrs-UZ"}, "und-Mahj": {"value" : "hi-Mahj-IN"}, "rif-NL": {"value" : "rif-Latn-NL"}, "loj": {"value" : "loj-Latn-ZZ"}, "lol": {"value" : "lol-Latn-CD"}, "lok": {"value" : "lok-Latn-ZZ"}, "lor": {"value" : "lor-Latn-ZZ"}, "und-Sora": {"value" : "srb-Sora-IN"}, "los": {"value" : "los-Latn-ZZ"}, "loz": {"value" : "loz-Latn-ZM"}, "und-202": {"value" : "en-Latn-NG"} , "und-Latn-MR": {"value" : "fr-Latn-MR"}, "ku-Yezi": {"value" : "ku-Yezi-GE"}, "hhy": {"value" : "hhy-Latn-ZZ"}, "hia": {"value" : "hia-Latn-ZZ"}, "hif": {"value" : "hif-Latn-FJ"}, "dad": {"value" : "dad-Latn-ZZ"}, "hih": {"value" : "hih-Latn-ZZ"}, "hig": {"value" : "hig-Latn-ZZ"}, "daf": {"value" : "daf-Latn-ZZ"}, "ubu": {"value" : "ubu-Latn-ZZ"}, "dah": {"value" : "dah-Latn-ZZ"}, "hil": {"value" : "hil-Latn-PH"}, "dag": {"value" : "dag-Latn-ZZ"}, "und-Mero": {"value" : "xmr-Mero-SD"}, "dak": {"value" : "dak-Latn-US"}, "und-Merc": {"value" : "xmr-Merc-SD"}, "dar": {"value" : "dar-Cyrl-RU"}, "dav": {"value" : "dav-Latn-KE"}, "lrc": {"value" : "lrc-Arab-IR"}, "yko": {"value" : "yko-Latn-ZZ"}, "und-Latn-MK": {"value" : "sq-Latn-MK"}, "und-Latn-MM": {"value" : "kac-Latn-MM"}, "dbd": {"value" : "dbd-Latn-ZZ"}, "und-Latn-MO": {"value" : "pt-Latn-MO"}, "und-Latn-MA": {"value" : "fr-Latn-MA"}, "und-Bali": {"value" : "ban-Bali-ID"}, "und-Tavt": {"value" : "blt-Tavt-VN"}, "dbq": {"value" : "dbq-Latn-ZZ"}, "yle": {"value" : "yle-Latn-ZZ"}, "ylg": {"value" : "ylg-Latn-ZZ"}, "und-Maka": {"value" : "mak-Maka-ID"}, "yll": {"value" : "yll-Latn-ZZ"}, "udm": {"value" : "udm-Cyrl-RU"}, "dcc": {"value" : "dcc-Arab-IN"}, "yml": {"value" : "yml-Latn-ZZ"}, "hla": {"value" : "hla-Latn-ZZ"}, "und-Latn-IR": {"value" : "tk-Latn-IR"}, "ltg": {"value" : "ltg-Latn-LV"}, "und-Latn-KM": {"value" : "fr-Latn-KM"}, "ddn": {"value" : "ddn-Latn-ZZ"}, "hlu": {"value" : "hlu-Hluw-TR"}, "lua": {"value" : "lua-Latn-CD"}, "und-Bamu": {"value" : "bax-Bamu-CM"}, "hmd": {"value" : "hmd-Plrd-CN"}, "ded": {"value" : "ded-Latn-ZZ"}, "luo": {"value" : "luo-Latn-KE"}, "und-142": {"value" : "zh-Hans-CN"}, "und-143": {"value" : "uz-Latn-UZ"}, "den": {"value" : "den-Latn-CA"}, "und-Gran": {"value" : "sa-Gran-IN"}, "hmt": {"value" : "hmt-Latn-ZZ"}, "uga": {"value" : "uga-Ugar-SY"}, "luz": {"value" : "luz-Arab-IR"}, "luy": {"value" : "luy-Latn-KE"}, "und-145": {"value" : "ar-Arab-SA"}, "und-Cakm": {"value" : "ccp-Cakm-BD"}, "und-Dupl": {"value" : "fr-Dupl-FR"} , "yon": {"value" : "yon-Latn-ZZ"}, "ug-MN": {"value" : "ug-Cyrl-MN"}, "hne": {"value" : "hne-Deva-IN"}, "hnd": {"value" : "hnd-Arab-PK"}, "hnj": {"value" : "hnj-Hmng-LA"}, "hno": {"value" : "hno-Arab-PK"}, "hnn": {"value" : "hnn-Latn-PH"}, "ug-KZ": {"value" : "ug-Cyrl-KZ"}, "und-154": {"value" : "en-Latn-GB"}, "und-155": {"value" : "de-Latn-DE"}, "und-150": {"value" : "ru-Cyrl-RU"}, "und-151": {"value" : "ru-Cyrl-RU"}, "und-Sylo": {"value" : "syl-Sylo-BD"}, "hoc": {"value" : "hoc-Deva-IN"}, "dga": {"value" : "dga-Latn-ZZ"}, "lwl": {"value" : "lwl-Thai-TH"}, "und-Ital": {"value" : "ett-Ital-IT"}, "hoj": {"value" : "hoj-Deva-IN"}, "dgh": {"value" : "dgh-Latn-ZZ"}, "dgi": {"value" : "dgi-Latn-ZZ"}, "dgl": {"value" : "dgl-Arab-ZZ"}, "hot": {"value" : "hot-Latn-ZZ"}, "dgr": {"value" : "dgr-Latn-CA"}, "dgz": {"value" : "dgz-Latn-ZZ"}, "yrb": {"value" : "yrb-Latn-ZZ"}, "yre": {"value" : "yre-Latn-ZZ"}, "und-Lyci": {"value" : "xlc-Lyci-TR"}, "und-Cans": {"value" : "cr-Cans-CA"}, "und-Hluw": {"value" : "hlu-Hluw-TR"} , "und-Nand": {"value" : "sa-Nand-IN"}, "yrl": {"value" : "yrl-Latn-BR"}, "dia": {"value" : "dia-Latn-ZZ"}, "und-Grek": {"value" : "el-Grek-GR"}, "und-Mong": {"value" : "mn-Mong-CN"}, "und-Lydi": {"value" : "xld-Lydi-TR"}, "yss": {"value" : "yss-Latn-ZZ"}, "und-Newa": {"value" : "new-Newa-NP"}, "lzh": {"value" : "lzh-Hans-CN"}, "dje": {"value" : "dje-Latn-NE"}, "lzz": {"value" : "lzz-Latn-TR"}, "uli": {"value" : "uli-Latn-FM"}, "hsb": {"value" : "hsb-Latn-DE"}, "und-Xsux": {"value" : "akk-Xsux-IQ"}, "hsn": {"value" : "hsn-Hans-CN"}, "und-Cari": {"value" : "xcr-Cari-TR"}, "und-Syrc": {"value" : "syr-Syrc-IQ"}, "yua": {"value" : "yua-Latn-MX"}, "yue": {"value" : "yue-Hant-HK"}, "umb": {"value" : "umb-Latn-AO"}, "yuj": {"value" : "yuj-Latn-ZZ"}, "yut": {"value" : "yut-Latn-ZZ"}, "yuw": {"value" : "yuw-Latn-ZZ"}, "und-Bopo": {"value" : "zh-Bopo-TW"}, "und-Yezi": {"value" : "ku-Yezi-GE"}, "und": {"value" : "en-Latn-US"}, "und-Egyp": {"value" : "egy-Egyp-EG"}, "und-Tglg": {"value" : "fil-Tglg-PH"}, "unr": {"value" : "unr-Beng-IN"}, "hui": {"value" : "hui-Latn-ZZ"}, "und-Elba": {"value" : "sq-Elba-AL"}, "unx": {"value" : "unx-Beng-IN"}, "und-Narb": {"value" : "xna-Narb-SA"}, "pa-PK": {"value" : "pa-Arab-PK"}, "und-Hebr-CA": {"value" : "yi-Hebr-CA"}, "uok": {"value" : "uok-Latn-ZZ"}, "und-Geor": {"value" : "ka-Geor-GE"}, "und-Shrd": {"value" : "sa-Shrd-IN"}, "dnj": {"value" : "dnj-Latn-CI"}, "und-Diak": {"value" : "dv-Diak-MV"}, "dob": {"value" : "dob-Latn-ZZ"}, "und-Mymr-TH": {"value" : "mnw-Mymr-TH"} , "doi": {"value" : "doi-Arab-IN"}, "dop": {"value" : "dop-Latn-ZZ"}, "und-Sund": {"value" : "su-Sund-ID"}, "dow": {"value" : "dow-Latn-ZZ"}, "sr-ME": {"value" : "sr-Latn-ME"}, "und-Hung": {"value" : "hu-Hung-HU"}, "mad": {"value" : "mad-Latn-ID"}, "mag": {"value" : "mag-Deva-IN"}, "maf": {"value" : "maf-Latn-CM"}, "mai": {"value" : "mai-Deva-IN"}, "mak": {"value" : "mak-Latn-ID"}, "man": {"value" : "man-Latn-GM"}, "mas": {"value" : "mas-Latn-KE"}, "maw": {"value" : "maw-Latn-ZZ"}, "maz": {"value" : "maz-Latn-MX"}, "uri": {"value" : "uri-Latn-ZZ"}, "mbh": {"value" : "mbh-Latn-ZZ"}, "urt": {"value" : "urt-Latn-ZZ"}, "mbo": {"value" : "mbo-Latn-ZZ"}, "urw": {"value" : "urw-Latn-ZZ"}, "mbq": {"value" : "mbq-Latn-ZZ"}, "mbu": {"value" : "mbu-Latn-ZZ"}, "und-Hebr-GB": {"value" : "yi-Hebr-GB"}, "usa": {"value" : "usa-Latn-ZZ"}, "mbw": {"value" : "mbw-Latn-ZZ"}, "mci": {"value" : "mci-Latn-ZZ"}, "dri": {"value" : "dri-Latn-ZZ"}, "mcq": {"value" : "mcq-Latn-ZZ"}, "drh": {"value" : "drh-Mong-CN"}, "mcp": {"value" : "mcp-Latn-ZZ"}, "mcr": {"value" : "mcr-Latn-ZZ"}, "mcu": {"value" : "mcu-Latn-ZZ"}, "drs": {"value" : "drs-Ethi-ZZ"}, "mda": {"value" : "mda-Latn-ZZ"}, "mdf": {"value" : "mdf-Cyrl-RU"}, "mde": {"value" : "mde-Arab-ZZ"}, "mdh": {"value" : "mdh-Latn-PH"}, "dsb": {"value" : "dsb-Latn-DE"}, "mdj": {"value" : "mdj-Latn-ZZ"}, "utr": {"value" : "utr-Latn-ZZ"}, "mdr": {"value" : "mdr-Latn-ID"}, "mdx": {"value" : "mdx-Ethi-ZZ"}, "mee": {"value" : "mee-Latn-ZZ"}, "med": {"value" : "med-Latn-ZZ"}, "mek": {"value" : "mek-Latn-ZZ"}, "men": {"value" : "men-Latn-SL"}, "az-RU": {"value" : "az-Cyrl-RU"}, "mis-Medf": {"value" : "mis-Medf-NG"}, "mer": {"value" : "mer-Latn-KE"}, "dtm": {"value" : "dtm-Latn-ML"}, "meu": {"value" : "meu-Latn-ZZ"}, "met": {"value" : "met-Latn-ZZ"}, "dtp": {"value" : "dtp-Latn-MY"}, "dts": {"value" : "dts-Latn-ZZ"}, "uvh": {"value" : "uvh-Latn-ZZ"}, "dty": {"value" : "dty-Deva-NP"}, "mfa": {"value" : "mfa-Arab-TH"}, "uvl": {"value" : "uvl-Latn-ZZ"}, "mfe": {"value" : "mfe-Latn-MU"} , "dua": {"value" : "dua-Latn-CM"}, "dud": {"value" : "dud-Latn-ZZ"}, "duc": {"value" : "duc-Latn-ZZ"}, "mfn": {"value" : "mfn-Latn-ZZ"}, "dug": {"value" : "dug-Latn-ZZ"}, "mfo": {"value" : "mfo-Latn-ZZ"}, "mfq": {"value" : "mfq-Latn-ZZ"}, "und-Phag": {"value" : "lzh-Phag-CN"}, "dva": {"value" : "dva-Latn-ZZ"}, "mgh": {"value" : "mgh-Latn-MZ"}, "mgl": {"value" : "mgl-Latn-ZZ"}, "mgo": {"value" : "mgo-Latn-CM"}, "mgp": {"value" : "mgp-Deva-NP"}, "mgy": {"value" : "mgy-Latn-TZ"}, "zag": {"value" : "zag-Latn-SD"} , "mhi": {"value" : "mhi-Latn-ZZ"}, "mhl": {"value" : "mhl-Latn-ZZ"}, "dww": {"value" : "dww-Latn-ZZ"}, "mif": {"value" : "mif-Latn-ZZ"}, "und-Mymr-IN": {"value" : "kht-Mymr-IN"}, "min": {"value" : "min-Latn-ID"}, "mis": {"value" : "mis-Hatr-IQ"}, "ian": {"value" : "ian-Latn-ZZ"}, "miw": {"value" : "miw-Latn-ZZ"}, "iar": {"value" : "iar-Latn-ZZ"}, "uz-Arab": {"value" : "uz-Arab-AF"}, "ibb": {"value" : "ibb-Latn-NG"}, "iba": {"value" : "iba-Latn-MY"}, "dyo": {"value" : "dyo-Latn-SN"}, "dyu": {"value" : "dyu-Latn-BF"}, "iby": {"value" : "iby-Latn-ZZ"}, "zdj": {"value" : "zdj-Arab-KM"}, "ica": {"value" : "ica-Latn-ZZ"}, "mki": {"value" : "mki-Arab-ZZ"}, "und-Wcho": {"value" : "nnp-Wcho-IN"}, "ich": {"value" : "ich-Latn-ZZ"}, "mkl": {"value" : "mkl-Latn-ZZ"}, "dzg": {"value" : "dzg-Latn-ZZ"}, "mkp": {"value" : "mkp-Latn-ZZ"}, "zea": {"value" : "zea-Latn-NL"}, "mkw": {"value" : "mkw-Latn-ZZ"}, "mle": {"value" : "mle-Latn-ZZ"}, "idd": {"value" : "idd-Latn-ZZ"}, "idi": {"value" : "idi-Latn-ZZ"}, "lif-Limb": {"value" : "lif-Limb-IN"}, "mlp": {"value" : "mlp-Latn-ZZ"}, "mls": {"value" : "mls-Latn-SD"}, "idu": {"value" : "idu-Latn-ZZ"}, "quc": {"value" : "quc-Latn-GT"}, "qug": {"value" : "qug-Latn-EC"}, "und-Jamo": {"value" : "ko-Jamo-KR"}, "mmo": {"value" : "mmo-Latn-ZZ"}, "mmu": {"value" : "mmu-Latn-ZZ"}, "mmx": {"value" : "mmx-Latn-ZZ"}, "zgh": {"value" : "zgh-Tfng-MA"}, "mna": {"value" : "mna-Latn-ZZ"}, "mnf": {"value" : "mnf-Latn-ZZ"}, "ife": {"value" : "ife-Latn-TG"}, "mni": {"value" : "mni-Beng-IN"} , "mnw": {"value" : "mnw-Mymr-MM"}, "moa": {"value" : "moa-Latn-ZZ"}, "moe": {"value" : "moe-Latn-CA"}, "igb": {"value" : "igb-Latn-ZZ"}, "ige": {"value" : "ige-Latn-ZZ"}, "moh": {"value" : "moh-Latn-CA"}, "und-Hebr-SE": {"value" : "yi-Hebr-SE"}, "zhx": {"value" : "zhx-Nshu-CN"}, "mos": {"value" : "mos-Latn-BF"}, "und-Shaw": {"value" : "en-Shaw-GB"}, "zia": {"value" : "zia-Latn-ZZ"}, "mox": {"value" : "mox-Latn-ZZ"}, "vag": {"value" : "vag-Latn-ZZ"}, "vai": {"value" : "vai-Vaii-LR"}, "van": {"value" : "van-Latn-ZZ"}, "mpp": {"value" : "mpp-Latn-ZZ"}, "mpt": {"value" : "mpt-Latn-ZZ"}, "mps": {"value" : "mps-Latn-ZZ"}, "mpx": {"value" : "mpx-Latn-ZZ"}, "und-Hebr-US": {"value" : "yi-Hebr-US"}, "hi-Latn": {"value" : "hi-Latn-IN"}, "mql": {"value" : "mql-Latn-ZZ"}, "und-Hebr-UA": {"value" : "yi-Hebr-UA"}, "mrd": {"value" : "mrd-Deva-NP"}, "zkt": {"value" : "zkt-Kits-CN"}, "mrj": {"value" : "mrj-Cyrl-RU"}, "ijj": {"value" : "ijj-Latn-ZZ"}, "mro": {"value" : "mro-Mroo-BD"}, "und-Modi": {"value" : "mr-Modi-IN"} , "ebu": {"value" : "ebu-Latn-KE"}, "zlm": {"value" : "zlm-Latn-TG"}, "arc-Palm": {"value" : "arc-Palm-SY"}, "ikk": {"value" : "ikk-Latn-ZZ"}, "ikt": {"value" : "ikt-Latn-CA"}, "ikw": {"value" : "ikw-Latn-ZZ"}, "vec": {"value" : "vec-Latn-IT"}, "ikx": {"value" : "ikx-Latn-ZZ"}, "zmi": {"value" : "zmi-Latn-MY"}, "mtc": {"value" : "mtc-Latn-ZZ"}, "mtf": {"value" : "mtf-Latn-ZZ"}, "vep": {"value" : "vep-Latn-RU"}, "zh-Bopo": {"value" : "zh-Bopo-TW"}, "mti": {"value" : "mti-Latn-ZZ"}, "und-Ethi": {"value" : "am-Ethi-ET"}, "mtr": {"value" : "mtr-Deva-IN"}, "und-Thai-LA": {"value" : "kdt-Thai-LA"}, "ilo": {"value" : "ilo-Latn-PH"}, "zne": {"value" : "zne-Latn-ZZ"}, "mua": {"value" : "mua-Latn-CM"}, "und-Thai-KH": {"value" : "kdt-Thai-KH"}, "imo": {"value" : "imo-Latn-ZZ"}, "mus": {"value" : "mus-Latn-US"}, "mur": {"value" : "mur-Latn-ZZ"}, "mva": {"value" : "mva-Latn-ZZ"}, "inh": {"value" : "inh-Cyrl-RU"}, "mvn": {"value" : "mvn-Latn-ZZ"}, "efi": {"value" : "efi-Latn-NG"}, "mvy": {"value" : "mvy-Arab-PK"} , "und-Java": {"value" : "jv-Java-ID"}, "mwk": {"value" : "mwk-Latn-ML"}, "mwr": {"value" : "mwr-Deva-IN"}, "und-021": {"value" : "en-Latn-US"}, "egl": {"value" : "egl-Latn-IT"}, "mww": {"value" : "mww-Hmnp-US"}, "mwv": {"value" : "mwv-Latn-ID"}, "iou": {"value" : "iou-Latn-ZZ"}, "und-029": {"value" : "es-Latn-CU"}, "vic": {"value" : "vic-Latn-SX"}, "egy": {"value" : "egy-Egyp-EG"}, "und-Ugar": {"value" : "uga-Ugar-SY"}, "mxc": {"value" : "mxc-Latn-ZW"}, "raj": {"value" : "raj-Deva-IN"}, "rai": {"value" : "rai-Latn-ZZ"}, "rao": {"value" : "rao-Latn-ZZ"}, "viv": {"value" : "viv-Latn-ZZ"}, "mxm": {"value" : "mxm-Latn-ZZ"}, "und-034": {"value" : "hi-Deva-IN"}, "und-030": {"value" : "zh-Hans-CN"}, "und-039": {"value" : "it-Latn-IT"}, "und-035": {"value" : "id-Latn-ID"}, "ug-Cyrl": {"value" : "ug-Cyrl-KZ"}, "myk": {"value" : "myk-Latn-ZZ"}, "mym": {"value" : "mym-Ethi-ZZ"}, "aai": {"value" : "aai-Latn-ZZ"}, "aak": {"value" : "aak-Latn-ZZ"}, "myw": {"value" : "myw-Latn-ZZ"}, "myv": {"value" : "myv-Cyrl-RU"} , "myx": {"value" : "myx-Latn-UG"}, "myz": {"value" : "myz-Mand-IR"}, "und-Sinh": {"value" : "si-Sinh-LK"}, "und-Sind": {"value" : "sd-Sind-IN"}, "aau": {"value" : "aau-Latn-ZZ"}, "rcf": {"value" : "rcf-Latn-RE"}, "und-Orkh": {"value" : "otk-Orkh-MN"}, "mzk": {"value" : "mzk-Latn-ZZ"}, "mzn": {"value" : "mzn-Arab-IR"}, "iri": {"value" : "iri-Latn-ZZ"}, "mzm": {"value" : "mzm-Latn-ZZ"}, "mzp": {"value" : "mzp-Latn-ZZ"}, "und-053": {"value" : "en-Latn-AU"}, "abi": {"value" : "abi-Latn-ZZ"}, "und-054": {"value" : "en-Latn-PG"}, "mzw": {"value" : "mzw-Latn-ZZ"}, "mzz": {"value" : "mzz-Latn-ZZ"}, "abr": {"value" : "abr-Latn-GH"}, "abq": {"value" : "abq-Cyrl-ZZ"}, "abt": {"value" : "abt-Latn-ZZ"}, "und-057": {"value" : "en-Latn-GU"}, "aby": {"value" : "aby-Latn-ZZ"}, "eka": {"value" : "eka-Latn-ZZ"}, "vls": {"value" : "vls-Latn-BE"}, "ace": {"value" : "ace-Latn-ID"}, "acd": {"value" : "acd-Latn-ZZ"}, "ach": {"value" : "ach-Latn-UG"}, "vmf": {"value" : "vmf-Latn-DE"}, "eky": {"value" : "eky-Kali-MM"}, "rej": {"value" : "rej-Latn-ID"}, "rel": {"value" : "rel-Latn-ZZ"}, "ada": {"value" : "ada-Latn-GH"}, "res": {"value" : "res-Latn-ZZ"}, "vmw": {"value" : "vmw-Latn-MZ"}, "ade": {"value" : "ade-Latn-ZZ"}, "adj": {"value" : "adj-Latn-ZZ"}, "und-Hira": {"value" : "ja-Hira-JP"}, "adp": {"value" : "adp-Tibt-BT"}, "adz": {"value" : "adz-Latn-ZZ"}, "ady": {"value" : "ady-Cyrl-RU"}, "ema": {"value" : "ema-Latn-ZZ"}, "und-Deva": {"value" : "hi-Deva-IN"}, "aeb": {"value" : "aeb-Arab-TN"}, "emi": {"value" : "emi-Latn-ZZ"} , "und-009": {"value" : "en-Latn-AU"}, "aey": {"value" : "aey-Latn-ZZ"}, "und-002": {"value" : "en-Latn-NG"}, "und-003": {"value" : "en-Latn-US"}, "und-005": {"value" : "pt-Latn-BR"}, "rgn": {"value" : "rgn-Latn-IT"}, "vot": {"value" : "vot-Latn-RU"}, "enn": {"value" : "enn-Latn-ZZ"}, "enq": {"value" : "enq-Latn-ZZ"}, "und-011": {"value" : "en-Latn-NG"}, "rhg": {"value" : "rhg-Arab-MM"}, "und-017": {"value" : "sw-Latn-CD"}, "und-018": {"value" : "en-Latn-ZA"}, "und-019": {"value" : "en-Latn-US"}, "und-013": {"value" : "es-Latn-MX"}, "und-014": {"value" : "sw-Latn-TZ"}, "und-015": {"value" : "ar-Arab-EG"}, "agc": {"value" : "agc-Latn-ZZ"}, "und-Zanb": {"value" : "cmg-Zanb-MN"}, "iwm": {"value" : "iwm-Latn-ZZ"}, "agd": {"value" : "agd-Latn-ZZ"}, "agg": {"value" : "agg-Latn-ZZ"}, "iws": {"value" : "iws-Latn-ZZ"}, "agm": {"value" : "agm-Latn-ZZ"}, "ago": {"value" : "ago-Latn-ZZ"}, "agq": {"value" : "agq-Latn-CM"}, "ria": {"value" : "ria-Latn-IN"}, "rif": {"value" : "rif-Tfng-MA"}, "nac": {"value" : "nac-Latn-ZZ"} , "naf": {"value" : "naf-Latn-ZZ"}, "nak": {"value" : "nak-Latn-ZZ"}, "nan": {"value" : "nan-Hans-CN"}, "aha": {"value" : "aha-Latn-ZZ"}, "nap": {"value" : "nap-Latn-IT"}, "naq": {"value" : "naq-Latn-NA"}, "zza": {"value" : "zza-Latn-TR"}, "nas": {"value" : "nas-Latn-ZZ"}, "ahl": {"value" : "ahl-Latn-ZZ"}, "en-Shaw": {"value" : "en-Shaw-GB"}, "und-Copt": {"value" : "cop-Copt-EG"}, "aho": {"value" : "aho-Ahom-IN"}, "vro": {"value" : "vro-Latn-EE"}, "rjs": {"value" : "rjs-Deva-NP"}, "nca": {"value" : "nca-Latn-ZZ"} , "ncf": {"value" : "ncf-Latn-ZZ"}, "nce": {"value" : "nce-Latn-ZZ"}, "nch": {"value" : "nch-Latn-MX"}, "izh": {"value" : "izh-Latn-RU"}, "izi": {"value" : "izi-Latn-ZZ"}, "rkt": {"value" : "rkt-Beng-BD"}, "nco": {"value" : "nco-Latn-ZZ"}, "eri": {"value" : "eri-Latn-ZZ"}, "ajg": {"value" : "ajg-Latn-ZZ"}, "ncu": {"value" : "ncu-Latn-ZZ"}, "ndc": {"value" : "ndc-Latn-MZ"}, "esg": {"value" : "esg-Gonm-IN"}, "nds": {"value" : "nds-Latn-DE"}, "akk": {"value" : "akk-Xsux-IQ"}, "esu": {"value" : "esu-Latn-US"} , "neb": {"value" : "neb-Latn-ZZ"}, "rmf": {"value" : "rmf-Latn-FI"}, "und-061": {"value" : "sm-Latn-WS"}, "und-Limb": {"value" : "lif-Limb-IN"}, "vun": {"value" : "vun-Latn-TZ"}, "ff-Adlm": {"value" : "ff-Adlm-GN"}, "vut": {"value" : "vut-Latn-ZZ"}, "rmo": {"value" : "rmo-Latn-CH"}, "ala": {"value" : "ala-Latn-ZZ"}, "rmt": {"value" : "rmt-Arab-IR"}, "rmu": {"value" : "rmu-Latn-SE"}, "ali": {"value" : "ali-Latn-ZZ"}, "nex": {"value" : "nex-Latn-ZZ"}, "new": {"value" : "new-Deva-NP"}, "aln": {"value" : "aln-Latn-XK"}, "etr": {"value" : "etr-Latn-ZZ"}, "und-Rohg": {"value" : "rhg-Rohg-MM"}, "ett": {"value" : "ett-Ital-IT"}, "rna": {"value" : "rna-Latn-ZZ"}, "etu": {"value" : "etu-Latn-ZZ"}, "alt": {"value" : "alt-Cyrl-RU"}, "etx": {"value" : "etx-Latn-ZZ"}, "rng": {"value" : "rng-Latn-MZ"}, "und-Linb": {"value" : "grc-Linb-GR"}, "und-Lina": {"value" : "lab-Lina-GR"}, "und-Jpan": {"value" : "ja-Jpan-JP"}, "man-GN": {"value" : "man-Nkoo-GN"}, "nfr": {"value" : "nfr-Latn-ZZ"}, "amm": {"value" : "amm-Latn-ZZ"} , "und-Arab": {"value" : "ar-Arab-EG"}, "amo": {"value" : "amo-Latn-NG"}, "amn": {"value" : "amn-Latn-ZZ"}, "rob": {"value" : "rob-Latn-ID"}, "amp": {"value" : "amp-Latn-ZZ"}, "ngb": {"value" : "ngb-Latn-ZZ"}, "rof": {"value" : "rof-Latn-TZ"}, "nga": {"value" : "nga-Latn-ZZ"}, "ngl": {"value" : "ngl-Latn-MZ"}, "roo": {"value" : "roo-Latn-ZZ"}, "anc": {"value" : "anc-Latn-ZZ"}, "ank": {"value" : "ank-Latn-ZZ"}, "ann": {"value" : "ann-Latn-ZZ"}, "und-Bhks": {"value" : "sa-Bhks-IN"}, "nhb": {"value" : "nhb-Latn-ZZ"} , "nhe": {"value" : "nhe-Latn-MX"}, "any": {"value" : "any-Latn-ZZ"}, "und-Orya": {"value" : "or-Orya-IN"}, "ewo": {"value" : "ewo-Latn-CM"}, "nhw": {"value" : "nhw-Latn-MX"}, "aoj": {"value" : "aoj-Latn-ZZ"}, "aom": {"value" : "aom-Latn-ZZ"}, "zh-Hanb": {"value" : "zh-Hanb-TW"}, "und-Kits": {"value" : "zkt-Kits-CN"}, "jab": {"value" : "jab-Latn-ZZ"}, "nif": {"value" : "nif-Latn-ZZ"}, "aoz": {"value" : "aoz-Latn-ID"}, "nij": {"value" : "nij-Latn-ID"}, "nii": {"value" : "nii-Latn-ZZ"}, "zh-PH": {"value" : "zh-Hant-PH"}, "nin": {"value" : "nin-Latn-ZZ"}, "zh-Hant": {"value" : "zh-Hant-TW"}, "zh-PF": {"value" : "zh-Hant-PF"}, "und-Ahom": {"value" : "aho-Ahom-IN"}, "apd": {"value" : "apd-Arab-TG"}, "apc": {"value" : "apc-Arab-ZZ"}, "ape": {"value" : "ape-Latn-ZZ"}, "jam": {"value" : "jam-Latn-JM"}, "zh-PA": {"value" : "zh-Hant-PA"}, "niu": {"value" : "niu-Latn-NU"}, "niz": {"value" : "niz-Latn-ZZ"}, "niy": {"value" : "niy-Latn-ZZ"}, "ext": {"value" : "ext-Latn-ES"}, "apr": {"value" : "apr-Latn-ZZ"}, "aps": {"value" : "aps-Latn-ZZ"}, "apz": {"value" : "apz-Latn-ZZ"}, "rro": {"value" : "rro-Latn-ZZ"}, "njo": {"value" : "njo-Latn-IN"}, "jbo": {"value" : "jbo-Latn-001"}, "jbu": {"value" : "jbu-Latn-ZZ"}, "zh-MO": {"value" : "zh-Hant-MO"}, "nkg": {"value" : "nkg-Latn-ZZ"}, "zh-MY": {"value" : "zh-Hant-MY"}, "arc": {"value" : "arc-Armi-IR"}, "nko": {"value" : "nko-Latn-ZZ"}, "arh": {"value" : "arh-Latn-ZZ"}, "pa-Arab": {"value" : "pa-Arab-PK"}, "und-Mtei": {"value" : "mni-Mtei-IN"}, "arn": {"value" : "arn-Latn-CL"} , "aro": {"value" : "aro-Latn-BO"}, "und-Cyrl-RO": {"value" : "bg-Cyrl-RO"}, "arq": {"value" : "arq-Arab-DZ"}, "ars": {"value" : "ars-Arab-SA"}, "arz": {"value" : "arz-Arab-EG"}, "ary": {"value" : "ary-Arab-MA"}, "rtm": {"value" : "rtm-Latn-FJ"}, "asa": {"value" : "asa-Latn-TZ"}, "und-Grek-TR": {"value" : "bgx-Grek-TR"}, "ase": {"value" : "ase-Sgnw-US"}, "asg": {"value" : "asg-Latn-ZZ"}, "aso": {"value" : "aso-Latn-ZZ"}, "ast": {"value" : "ast-Latn-ES"}, "rue": {"value" : "rue-Cyrl-UA"}, "rug": {"value" : "rug-Latn-SB"}, "nmg": {"value" : "nmg-Latn-CM"}, "ata": {"value" : "ata-Latn-ZZ"}, "jen": {"value" : "jen-Latn-ZZ"}, "atg": {"value" : "atg-Latn-ZZ"}, "atj": {"value" : "atj-Latn-CA"}, "nmz": {"value" : "nmz-Latn-ZZ"}, "unr-Deva": {"value" : "unr-Deva-NP"}, "nnf": {"value" : "nnf-Latn-ZZ"}, "nnh": {"value" : "nnh-Latn-CM"}, "nnk": {"value" : "nnk-Latn-ZZ"}, "nnm": {"value" : "nnm-Latn-ZZ"}, "nnp": {"value" : "nnp-Wcho-IN"}, "az-IR": {"value" : "az-Arab-IR"}, "und-Adlm": {"value" : "ff-Adlm-GN"}, "az-IQ": {"value" : "az-Arab-IQ"}, "und-Nbat": {"value" : "arc-Nbat-JO"}, "sd-Khoj": {"value" : "sd-Khoj-IN"}, "nod": {"value" : "nod-Lana-TH"}, "auy": {"value" : "auy-Latn-ZZ"}, "noe": {"value" : "noe-Deva-IN"}, "rwk": {"value" : "rwk-Latn-TZ"}, "und-Cyrl-MD": {"value" : "uk-Cyrl-MD"}, "rwo": {"value" : "rwo-Latn-ZZ"}, "non": {"value" : "non-Runr-SE"}, "nop": {"value" : "nop-Latn-ZZ"}, "jgk": {"value" : "jgk-Latn-ZZ"}, "jgo": {"value" : "jgo-Latn-CM"}, "und-Vaii": {"value" : "vai-Vaii-LR"}, "nou": {"value" : "nou-Latn-ZZ"}, "avl": {"value" : "avl-Arab-ZZ"}, "avn": {"value" : "avn-Latn-ZZ"}, "wae": {"value" : "wae-Latn-CH"}, "avt": {"value" : "avt-Latn-ZZ"}, "avu": {"value" : "avu-Latn-ZZ"}, "waj": {"value" : "waj-Latn-ZZ"}, "wal": {"value" : "wal-Ethi-ET"}, "wan": {"value" : "wan-Latn-ZZ"}, "zh-HK": {"value" : "zh-Hant-HK"}, "war": {"value" : "war-Latn-PH"}, "awa": {"value" : "awa-Deva-IN"}, "und-Plrd": {"value" : "hmd-Plrd-CN"}, "awb": {"value" : "awb-Latn-ZZ"}, "awo": {"value" : "awo-Latn-ZZ"}, "und-Knda": {"value" : "kn-Knda-IN"}, "zh-ID": {"value" : "zh-Hant-ID"}, "jib": {"value" : "jib-Latn-ZZ"}, "awx": {"value" : "awx-Latn-ZZ"}, "wbp": {"value" : "wbp-Latn-AU"}, "und-Sidd": {"value" : "sa-Sidd-IN"}, "fab": {"value" : "fab-Latn-ZZ"}, "wbr": {"value" : "wbr-Deva-IN"}, "faa": {"value" : "faa-Latn-ZZ"}, "wbq": {"value" : "wbq-Telu-IN"}, "und-Kali": {"value" : "eky-Kali-MM"}, "fag": {"value" : "fag-Latn-ZZ"}, "nqo": {"value" : "nqo-Nkoo-GN"}, "fai": {"value" : "fai-Latn-ZZ"}, "ryu": {"value" : "ryu-Kana-JP"} , "fan": {"value" : "fan-Latn-GQ"}, "wci": {"value" : "wci-Latn-ZZ"}, "nrb": {"value" : "nrb-Latn-ZZ"}, "und-Phlp": {"value" : "pal-Phlp-CN"}, "ayb": {"value" : "ayb-Latn-ZZ"}, "und-Phli": {"value" : "pal-Phli-IR"}, "cu-Glag": {"value" : "cu-Glag-BG"}, "und-Cyrl-XK": {"value" : "sr-Cyrl-XK"}, "az-Arab": {"value" : "az-Arab-IR"}, "ks-Deva": {"value" : "ks-Deva-IN"}, "und-Thai": {"value" : "th-Thai-TH"}, "nsk": {"value" : "nsk-Cans-CA"}, "nsn": {"value" : "nsn-Latn-ZZ"}, "nso": {"value" : "nso-Latn-ZA"} , "und-Thaa": {"value" : "dv-Thaa-MV"}, "und-Nshu": {"value" : "zhx-Nshu-CN"}, "nss": {"value" : "nss-Latn-ZZ"}, "zh-VN": {"value" : "zh-Hant-VN"}, "und-Hmnp": {"value" : "mww-Hmnp-US"}, "und-Kana": {"value" : "ja-Kana-JP"}, "und-Hmng": {"value" : "hnj-Hmng-LA"}, "wer": {"value" : "wer-Latn-ZZ"}, "zh-TW": {"value" : "zh-Hant-TW"}, "ntm": {"value" : "ntm-Latn-ZZ"}, "ntr": {"value" : "ntr-Latn-ZZ"}, "zh-US": {"value" : "zh-Hant-US"}, "und-Xpeo": {"value" : "peo-Xpeo-IR"}, "jmc": {"value" : "jmc-Latn-TZ"} , "nui": {"value" : "nui-Latn-ZZ"}, "jml": {"value" : "jml-Deva-NP"}, "nup": {"value" : "nup-Latn-ZZ"}, "und-Cyrl-SK": {"value" : "uk-Cyrl-SK"}, "nus": {"value" : "nus-Latn-SS"}, "nuv": {"value" : "nuv-Latn-ZZ"}, "nux": {"value" : "nux-Latn-ZZ"}, "zh-TH": {"value" : "zh-Hant-TH"}, "wgi": {"value" : "wgi-Latn-ZZ"}, "und-Phnx": {"value" : "phn-Phnx-LB"}, "und-Cyrl-TR": {"value" : "kbd-Cyrl-TR"}, "ffi": {"value" : "ffi-Latn-ZZ"}, "und-Elym": {"value" : "arc-Elym-IR"}, "ffm": {"value" : "ffm-Latn-ML"}, "und-Rjng": {"value" : "rej-Rjng-ID"}, "whg": {"value" : "whg-Latn-ZZ"}, "nwb": {"value" : "nwb-Latn-ZZ"}, "zh-SR": {"value" : "zh-Hant-SR"}, "wib": {"value" : "wib-Latn-ZZ"}, "und-Hebr": {"value" : "he-Hebr-IL"}, "saf": {"value" : "saf-Latn-GH"}, "sah": {"value" : "sah-Cyrl-RU"}, "saq": {"value" : "saq-Latn-KE"}, "wiu": {"value" : "wiu-Latn-ZZ"}, "sas": {"value" : "sas-Latn-ID"}, "wiv": {"value" : "wiv-Latn-ZZ"}, "nxq": {"value" : "nxq-Latn-CN"}, "sat": {"value" : "sat-Olck-IN"}, "nxr": {"value" : "nxr-Latn-ZZ"} , "sav": {"value" : "sav-Latn-SN"}, "saz": {"value" : "saz-Saur-IN"}, "wja": {"value" : "wja-Latn-ZZ"}, "sba": {"value" : "sba-Latn-ZZ"}, "sbe": {"value" : "sbe-Latn-ZZ"}, "wji": {"value" : "wji-Latn-ZZ"}, "mn-Mong": {"value" : "mn-Mong-CN"}, "und-419": {"value" : "es-Latn-419"}, "fia": {"value" : "fia-Arab-SD"}, "sbp": {"value" : "sbp-Latn-TZ"}, "und-NO": {"value" : "nb-Latn-NO"}, "nyn": {"value" : "nyn-Latn-UG"}, "nym": {"value" : "nym-Latn-TZ"}, "und-NL": {"value" : "nl-Latn-NL"}, "und-NP": {"value" : "ne-Deva-NP"}, "fil": {"value" : "fil-Latn-PH"}, "bal": {"value" : "bal-Arab-PK"}, "ban": {"value" : "ban-Latn-ID"}, "bap": {"value" : "bap-Deva-NP"}, "fit": {"value" : "fit-Latn-SE"}, "bar": {"value" : "bar-Latn-AT"}, "bas": {"value" : "bas-Latn-CM"}, "bav": {"value" : "bav-Latn-ZZ"}, "bax": {"value" : "bax-Bamu-CM"}, "jra": {"value" : "jra-Latn-ZZ"}, "sck": {"value" : "sck-Deva-IN"}, "nzi": {"value" : "nzi-Latn-GH"}, "scl": {"value" : "scl-Arab-ZZ"}, "sco": {"value" : "sco-Latn-GB"}, "scn": {"value" : "scn-Latn-IT"}, "aa": {"value" : "aa-Latn-ET"}, "bba": {"value" : "bba-Latn-ZZ"}, "und-MN": {"value" : "mn-Cyrl-MN"}, "ab": {"value" : "ab-Cyrl-GE"}, "und-MM": {"value" : "my-Mymr-MM"}, "und-Osma": {"value" : "so-Osma-SO"}, "bbc": {"value" : "bbc-Latn-ID"}, "scs": {"value" : "scs-Latn-CA"}, "und-ML": {"value" : "bm-Latn-ML"}, "bbb": {"value" : "bbb-Latn-ZZ"}, "und-MK": {"value" : "mk-Cyrl-MK"}, "ae": {"value" : "ae-Avst-IR"}, "und-MR": {"value" : "ar-Arab-MR"}, "af": {"value" : "af-Latn-ZA"}, "bbd": {"value" : "bbd-Latn-ZZ"}, "und-MQ": {"value" : "fr-Latn-MQ"}, "und-Wara": {"value" : "hoc-Wara-IN"}, "und-MO": {"value" : "zh-Hant-MO"}, "und-MV": {"value" : "dv-Thaa-MV"}, "und-MU": {"value" : "mfe-Latn-MU"}, "ak": {"value" : "ak-Latn-GH"}, "und-MT": {"value" : "mt-Latn-MT"}, "bbj": {"value" : "bbj-Latn-CM"}, "am": {"value" : "am-Ethi-ET"}, "und-MZ": {"value" : "pt-Latn-MZ"}, "an": {"value" : "an-Latn-ES"}, "und-MY": {"value" : "ms-Latn-MY"}, "und-MX": {"value" : "es-Latn-MX"}, "ar": {"value" : "ar-Arab-EG"} , "bbp": {"value" : "bbp-Latn-ZZ"}, "as": {"value" : "as-Beng-IN"}, "bbr": {"value" : "bbr-Latn-ZZ"}, "sdc": {"value" : "sdc-Latn-IT"}, "und-NC": {"value" : "fr-Latn-NC"}, "av": {"value" : "av-Cyrl-RU"}, "sdh": {"value" : "sdh-Arab-IR"}, "und-NA": {"value" : "af-Latn-NA"}, "ay": {"value" : "ay-Latn-BO"}, "az": {"value" : "az-Latn-AZ"}, "und-NE": {"value" : "ha-Latn-NE"}, "und-NI": {"value" : "es-Latn-NI"}, "ba": {"value" : "ba-Cyrl-RU"}, "wls": {"value" : "wls-Latn-WF"}, "und-Kore": {"value" : "ko-Kore-KR"} , "und-LK": {"value" : "si-Sinh-LK"}, "be": {"value" : "be-Cyrl-BY"}, "bcf": {"value" : "bcf-Latn-ZZ"}, "bg": {"value" : "bg-Cyrl-BG"}, "bch": {"value" : "bch-Latn-ZZ"}, "bi": {"value" : "bi-Latn-VU"}, "und-LU": {"value" : "fr-Latn-LU"}, "bci": {"value" : "bci-Latn-CI"}, "und-LT": {"value" : "lt-Latn-LT"}, "und-LS": {"value" : "st-Latn-LS"}, "bm": {"value" : "bm-Latn-ML"}, "bcn": {"value" : "bcn-Latn-ZZ"}, "bn": {"value" : "bn-Beng-BD"}, "und-LY": {"value" : "ar-Arab-LY"}, "bcm": {"value" : "bcm-Latn-ZZ"} , "bo": {"value" : "bo-Tibt-CN"}, "bco": {"value" : "bco-Latn-ZZ"}, "und-LV": {"value" : "lv-Latn-LV"}, "br": {"value" : "br-Latn-FR"}, "bcq": {"value" : "bcq-Ethi-ZZ"}, "bs": {"value" : "bs-Latn-BA"}, "bcu": {"value" : "bcu-Latn-ZZ"}, "sef": {"value" : "sef-Latn-CI"}, "und-MA": {"value" : "ar-Arab-MA"}, "sei": {"value" : "sei-Latn-MX"}, "seh": {"value" : "seh-Latn-MZ"}, "und-MF": {"value" : "fr-Latn-MF"}, "wmo": {"value" : "wmo-Latn-ZZ"}, "und-ME": {"value" : "sr-Latn-ME"}, "und-MD": {"value" : "ro-Latn-MD"} , "und-MC": {"value" : "fr-Latn-MC"}, "ca": {"value" : "ca-Latn-ES"}, "und-MG": {"value" : "mg-Latn-MG"}, "ses": {"value" : "ses-Latn-ML"}, "ce": {"value" : "ce-Cyrl-RU"}, "und-Cyrl-BA": {"value" : "sr-Cyrl-BA"}, "bdd": {"value" : "bdd-Latn-ZZ"}, "und-KP": {"value" : "ko-Kore-KP"}, "ch": {"value" : "ch-Latn-GU"}, "und-KM": {"value" : "ar-Arab-KM"}, "und-KR": {"value" : "ko-Kore-KR"}, "co": {"value" : "co-Latn-FR"}, "flr": {"value" : "flr-Latn-ZZ"}, "und-KW": {"value" : "ar-Arab-KW"}, "wnc": {"value" : "wnc-Latn-ZZ"}, "und-Dogr": {"value" : "doi-Dogr-IN"}, "cr": {"value" : "cr-Cans-CA"}, "cs": {"value" : "cs-Latn-CZ"}, "cu": {"value" : "cu-Cyrl-RU"}, "und-KZ": {"value" : "ru-Cyrl-KZ"}, "cv": {"value" : "cv-Cyrl-RU"}, "wni": {"value" : "wni-Arab-KM"}, "und-LA": {"value" : "lo-Laoo-LA"}, "cy": {"value" : "cy-Latn-GB"}, "und-LB": {"value" : "ar-Arab-LB"}, "und-LI": {"value" : "de-Latn-LI"}, "da": {"value" : "da-Latn-DK"}, "und-Cyrl-AL": {"value" : "mk-Cyrl-AL"}, "wnu": {"value" : "wnu-Latn-ZZ"}, "de": {"value" : "de-Latn-DE"}, "bef": {"value" : "bef-Latn-ZZ"}, "beh": {"value" : "beh-Latn-ZZ"}, "und-JO": {"value" : "ar-Arab-JO"}, "bej": {"value" : "bej-Arab-SD"}, "fmp": {"value" : "fmp-Latn-ZZ"}, "jut": {"value" : "jut-Latn-DK"}, "bem": {"value" : "bem-Latn-ZM"}, "und-JP": {"value" : "ja-Jpan-JP"}, "wob": {"value" : "wob-Latn-ZZ"}, "sga": {"value" : "sga-Ogam-IE"}, "bet": {"value" : "bet-Latn-ZZ"}, "dv": {"value" : "dv-Thaa-MV"}, "bex": {"value" : "bex-Latn-ZZ"}, "bew": {"value" : "bew-Latn-ID"}, "bez": {"value" : "bez-Latn-TZ"}, "dz": {"value" : "dz-Tibt-BT"}, "ms-ID": {"value" : "ms-Latn-ID"}, "wos": {"value" : "wos-Latn-ZZ"}, "und-KH": {"value" : "km-Khmr-KH"}, "und-KG": {"value" : "ky-Cyrl-KG"}, "sgs": {"value" : "sgs-Latn-LT"}, "und-KE": {"value" : "sw-Latn-KE"}, "ee": {"value" : "ee-Latn-GH"}, "bfd": {"value" : "bfd-Latn-CM"}, "sgw": {"value" : "sgw-Ethi-ZZ"}, "und-IN": {"value" : "hi-Deva-IN"}, "und-IL": {"value" : "he-Hebr-IL"}, "el": {"value" : "el-Grek-GR"}, "sgz": {"value" : "sgz-Latn-ZZ"} , "und-IR": {"value" : "fa-Arab-IR"}, "en": {"value" : "en-Latn-US"}, "und-IQ": {"value" : "ar-Arab-IQ"}, "und-Perm": {"value" : "kv-Perm-RU"}, "eo": {"value" : "eo-Latn-001"}, "bfq": {"value" : "bfq-Taml-IN"}, "es": {"value" : "es-Latn-ES"}, "und-IT": {"value" : "it-Latn-IT"}, "et": {"value" : "et-Latn-EE"}, "und-IS": {"value" : "is-Latn-IS"}, "eu": {"value" : "eu-Latn-ES"}, "bft": {"value" : "bft-Arab-PK"}, "bfy": {"value" : "bfy-Deva-IN"}, "shi": {"value" : "shi-Tfng-MA"}, "shk": {"value" : "shk-Latn-ZZ"} , "shn": {"value" : "shn-Mymr-MM"}, "fod": {"value" : "fod-Latn-ZZ"}, "fa": {"value" : "fa-Arab-IR"}, "bgc": {"value" : "bgc-Deva-IN"}, "ff": {"value" : "ff-Latn-SN"}, "shu": {"value" : "shu-Arab-ZZ"}, "fi": {"value" : "fi-Latn-FI"}, "fj": {"value" : "fj-Latn-FJ"}, "fon": {"value" : "fon-Latn-BJ"}, "und-HM": {"value" : "und-Latn-HM"}, "und-HK": {"value" : "zh-Hant-HK"}, "bgn": {"value" : "bgn-Arab-PK"}, "for": {"value" : "for-Latn-ZZ"}, "fo": {"value" : "fo-Latn-FO"}, "und-HN": {"value" : "es-Latn-HN"} , "fr": {"value" : "fr-Latn-FR"}, "und-HU": {"value" : "hu-Latn-HU"}, "und-HT": {"value" : "ht-Latn-HT"}, "ku-Arab": {"value" : "ku-Arab-IQ"}, "sid": {"value" : "sid-Latn-ET"}, "und-HR": {"value" : "hr-Latn-HR"}, "sig": {"value" : "sig-Latn-ZZ"}, "bgx": {"value" : "bgx-Grek-TR"}, "fy": {"value" : "fy-Latn-NL"}, "sim": {"value" : "sim-Latn-ZZ"}, "sil": {"value" : "sil-Latn-ZZ"}, "fpe": {"value" : "fpe-Latn-ZZ"}, "ga": {"value" : "ga-Latn-IE"}, "bhb": {"value" : "bhb-Deva-IN"}, "gd": {"value" : "gd-Latn-GB"} , "und-ID": {"value" : "id-Latn-ID"}, "und-IC": {"value" : "es-Latn-IC"}, "bhg": {"value" : "bhg-Latn-ZZ"}, "und-GH": {"value" : "ak-Latn-GH"}, "bhi": {"value" : "bhi-Deva-IN"}, "und-GF": {"value" : "fr-Latn-GF"}, "und-GE": {"value" : "ka-Geor-GE"}, "und-GL": {"value" : "kl-Latn-GL"}, "gl": {"value" : "gl-Latn-ES"}, "bhl": {"value" : "bhl-Latn-ZZ"}, "gn": {"value" : "gn-Latn-PY"}, "bho": {"value" : "bho-Deva-IN"}, "und-GP": {"value" : "fr-Latn-GP"}, "und-GN": {"value" : "fr-Latn-GN"}, "und-GT": {"value" : "es-Latn-GT"}, "und-GS": {"value" : "und-Latn-GS"}, "gu": {"value" : "gu-Gujr-IN"}, "und-GR": {"value" : "el-Grek-GR"}, "gv": {"value" : "gv-Latn-IM"}, "und-GQ": {"value" : "es-Latn-GQ"}, "und-Palm": {"value" : "arc-Palm-SY"}, "und-GW": {"value" : "pt-Latn-GW"}, "bhy": {"value" : "bhy-Latn-ZZ"}, "ha": {"value" : "ha-Latn-NG"}, "wrs": {"value" : "wrs-Latn-ZZ"}, "bib": {"value" : "bib-Latn-ZZ"}, "sjr": {"value" : "sjr-Latn-ZZ"}, "he": {"value" : "he-Hebr-IL"}, "big": {"value" : "big-Latn-ZZ"}, "hi": {"value" : "hi-Deva-IN"}, "und-Cyrl-GE": {"value" : "ab-Cyrl-GE"}, "bik": {"value" : "bik-Latn-PH"}, "bin": {"value" : "bin-Latn-NG"}, "und-Cham": {"value" : "cjm-Cham-VN"}, "und-FI": {"value" : "fi-Latn-FI"}, "bim": {"value" : "bim-Latn-ZZ"}, "ho": {"value" : "ho-Latn-PG"}, "tg-PK": {"value" : "tg-Arab-PK"}, "und-FO": {"value" : "fo-Latn-FO"}, "bio": {"value" : "bio-Latn-ZZ"}, "fqs": {"value" : "fqs-Latn-ZZ"}, "hr": {"value" : "hr-Latn-HR"}, "skc": {"value" : "skc-Latn-ZZ"}, "wsg": {"value" : "wsg-Gong-IN"} , "biq": {"value" : "biq-Latn-ZZ"}, "ht": {"value" : "ht-Latn-HT"}, "hu": {"value" : "hu-Latn-HU"}, "und-FR": {"value" : "fr-Latn-FR"}, "wsk": {"value" : "wsk-Latn-ZZ"}, "hy": {"value" : "hy-Armn-AM"}, "hz": {"value" : "hz-Latn-NA"}, "frc": {"value" : "frc-Latn-US"}, "ia": {"value" : "ia-Latn-001"}, "sks": {"value" : "sks-Latn-ZZ"}, "id": {"value" : "id-Latn-ID"}, "skr": {"value" : "skr-Arab-PK"}, "ig": {"value" : "ig-Latn-NG"}, "und-GA": {"value" : "fr-Latn-GA"}, "bji": {"value" : "bji-Ethi-ZZ"}, "ii": {"value" : "ii-Yiii-CN"}, "bjh": {"value" : "bjh-Latn-ZZ"}, "und-EE": {"value" : "et-Latn-EE"}, "ik": {"value" : "ik-Latn-US"}, "bjj": {"value" : "bjj-Deva-IN"}, "und-EC": {"value" : "es-Latn-EC"}, "und-Cprt": {"value" : "grc-Cprt-CY"}, "frp": {"value" : "frp-Latn-FR"}, "in": {"value" : "in-Latn-ID"}, "bjo": {"value" : "bjo-Latn-ZZ"}, "frs": {"value" : "frs-Latn-DE"}, "io": {"value" : "io-Latn-001"}, "und-EH": {"value" : "ar-Arab-EH"}, "bjn": {"value" : "bjn-Latn-ID"}, "frr": {"value" : "frr-Latn-DE"} , "und-EG": {"value" : "ar-Arab-EG"}, "is": {"value" : "is-Latn-IS"}, "sld": {"value" : "sld-Latn-ZZ"}, "bjr": {"value" : "bjr-Latn-ZZ"}, "it": {"value" : "it-Latn-IT"}, "iu": {"value" : "iu-Cans-CA"}, "und-ER": {"value" : "ti-Ethi-ER"}, "bjt": {"value" : "bjt-Latn-SN"}, "iw": {"value" : "iw-Hebr-IL"}, "und-Tirh": {"value" : "mai-Tirh-IN"}, "sli": {"value" : "sli-Latn-PL"}, "und-EU": {"value" : "en-Latn-GB"}, "wtm": {"value" : "wtm-Deva-IN"}, "sll": {"value" : "sll-Latn-ZZ"}, "und-ET": {"value" : "am-Ethi-ET"} , "bjz": {"value" : "bjz-Latn-ZZ"}, "und-ES": {"value" : "es-Latn-ES"}, "und-EZ": {"value" : "de-Latn-EZ"}, "ja": {"value" : "ja-Jpan-JP"}, "zh-GF": {"value" : "zh-Hant-GF"}, "bkc": {"value" : "bkc-Latn-ZZ"}, "zh-GB": {"value" : "zh-Hant-GB"}, "und-Cyrl-GR": {"value" : "mk-Cyrl-GR"}, "ji": {"value" : "ji-Hebr-UA"}, "und-DE": {"value" : "de-Latn-DE"}, "sly": {"value" : "sly-Latn-ID"}, "bkm": {"value" : "bkm-Latn-CM"}, "sma": {"value" : "sma-Latn-SE"}, "bkq": {"value" : "bkq-Latn-ZZ"}, "und-DK": {"value" : "da-Latn-DK"}, "und-DJ": {"value" : "aa-Latn-DJ"}, "bkv": {"value" : "bkv-Latn-ZZ"}, "jv": {"value" : "jv-Latn-ID"}, "bku": {"value" : "bku-Latn-PH"}, "jw": {"value" : "jw-Latn-ID"}, "und-DO": {"value" : "es-Latn-DO"}, "smj": {"value" : "smj-Latn-SE"}, "smn": {"value" : "smn-Latn-FI"}, "ka": {"value" : "ka-Geor-GE"}, "smq": {"value" : "smq-Latn-ZZ"}, "wuu": {"value" : "wuu-Hans-CN"}, "smp": {"value" : "smp-Samr-IL"}, "sms": {"value" : "sms-Latn-FI"}, "wuv": {"value" : "wuv-Latn-ZZ"}, "und-DZ": {"value" : "ar-Arab-DZ"}, "kg": {"value" : "kg-Latn-CD"}, "und-EA": {"value" : "es-Latn-EA"}, "ki": {"value" : "ki-Latn-KE"}, "kj": {"value" : "kj-Latn-NA"}, "kk": {"value" : "kk-Cyrl-KZ"}, "man-Nkoo": {"value" : "man-Nkoo-GN"}, "und-CD": {"value" : "sw-Latn-CD"}, "kl": {"value" : "kl-Latn-GL"}, "und-Telu": {"value" : "te-Telu-IN"}, "km": {"value" : "km-Khmr-KH"}, "kn": {"value" : "kn-Knda-IN"}, "ko": {"value" : "ko-Kore-KR"}, "und-CH": {"value" : "de-Latn-CH"}, "und-CG": {"value" : "fr-Latn-CG"}, "und-CF": {"value" : "fr-Latn-CF"}, "kr": {"value" : "kr-Latn-ZZ"}, "ks": {"value" : "ks-Arab-IN"}, "und-CL": {"value" : "es-Latn-CL"}, "snc": {"value" : "snc-Latn-ZZ"}, "ku": {"value" : "ku-Latn-TR"}, "blt": {"value" : "blt-Tavt-VN"}, "kv": {"value" : "kv-Cyrl-RU"}, "und-CI": {"value" : "fr-Latn-CI"}, "kw": {"value" : "kw-Latn-GB"}, "und-CP": {"value" : "und-Latn-CP"}, "und-CO": {"value" : "es-Latn-CO"}, "ky": {"value" : "ky-Cyrl-KG"}, "und-CN": {"value" : "zh-Hans-CN"}, "und-CM": {"value" : "fr-Latn-CM"}, "snk": {"value" : "snk-Latn-ML"}, "fub": {"value" : "fub-Arab-CM"}, "und-CR": {"value" : "es-Latn-CR"}, "fud": {"value" : "fud-Latn-WF"}, "snp": {"value" : "snp-Latn-ZZ"}, "la": {"value" : "la-Latn-VA"}, "und-CW": {"value" : "pap-Latn-CW"}, "fuf": {"value" : "fuf-Latn-GN"}, "lb": {"value" : "lb-Latn-LU"}, "und-CV": {"value" : "pt-Latn-CV"}, "fue": {"value" : "fue-Latn-ZZ"}, "und-CU": {"value" : "es-Latn-CU"}, "fuh": {"value" : "fuh-Latn-ZZ"}, "und-CZ": {"value" : "cs-Latn-CZ"}, "lg": {"value" : "lg-Latn-UG"}, "und-CY": {"value" : "el-Grek-CY"}, "bmh": {"value" : "bmh-Latn-ZZ"}, "snx": {"value" : "snx-Latn-ZZ"}, "li": {"value" : "li-Latn-NL"}, "sny": {"value" : "sny-Latn-ZZ"}, "wwa": {"value" : "wwa-Latn-ZZ"}, "bmk": {"value" : "bmk-Latn-ZZ"}, "und-Cher": {"value" : "chr-Cher-US"}, "fur": {"value" : "fur-Latn-IT"}, "ln": {"value" : "ln-Latn-CD"}, "und-BA": {"value" : "bs-Latn-BA"}, "fuq": {"value" : "fuq-Latn-NE"}, "lo": {"value" : "lo-Laoo-LA"}, "und-BG": {"value" : "bg-Cyrl-BG"}, "und-BF": {"value" : "fr-Latn-BF"} , "fuv": {"value" : "fuv-Latn-NG"}, "und-BE": {"value" : "nl-Latn-BE"}, "bmq": {"value" : "bmq-Latn-ML"}, "und-BD": {"value" : "bn-Beng-BD"}, "lt": {"value" : "lt-Latn-LT"}, "lu": {"value" : "lu-Latn-CD"}, "und-BJ": {"value" : "fr-Latn-BJ"}, "lv": {"value" : "lv-Latn-LV"}, "ogc": {"value" : "ogc-Latn-ZZ"}, "sog": {"value" : "sog-Sogd-UZ"}, "und-BI": {"value" : "rn-Latn-BI"}, "bmu": {"value" : "bmu-Latn-ZZ"}, "fuy": {"value" : "fuy-Latn-ZZ"}, "und-BH": {"value" : "ar-Arab-BH"}, "und-BO": {"value" : "es-Latn-BO"} , "und-BN": {"value" : "ms-Latn-BN"}, "sok": {"value" : "sok-Latn-ZZ"}, "und-BL": {"value" : "fr-Latn-BL"}, "und-BR": {"value" : "pt-Latn-BR"}, "und-BQ": {"value" : "pap-Latn-BQ"}, "soq": {"value" : "soq-Latn-ZZ"}, "und-BV": {"value" : "und-Latn-BV"}, "und-BT": {"value" : "dz-Tibt-BT"}, "sou": {"value" : "sou-Thai-TH"}, "bng": {"value" : "bng-Latn-ZZ"}, "mg": {"value" : "mg-Latn-MG"}, "und-BY": {"value" : "be-Cyrl-BY"}, "und-Glag": {"value" : "cu-Glag-BG"}, "mh": {"value" : "mh-Latn-MH"}, "mi": {"value" : "mi-Latn-NZ"}, "soy": {"value" : "soy-Latn-ZZ"}, "mk": {"value" : "mk-Cyrl-MK"}, "ml": {"value" : "ml-Mlym-IN"}, "bnm": {"value" : "bnm-Latn-ZZ"}, "mn": {"value" : "mn-Cyrl-MN"}, "mo": {"value" : "mo-Latn-RO"}, "und-Prti": {"value" : "xpr-Prti-IR"}, "fvr": {"value" : "fvr-Latn-SD"}, "und-AF": {"value" : "fa-Arab-AF"}, "bnp": {"value" : "bnp-Latn-ZZ"}, "mr": {"value" : "mr-Deva-IN"}, "und-AE": {"value" : "ar-Arab-AE"}, "ms": {"value" : "ms-Latn-MY"}, "spd": {"value" : "spd-Latn-ZZ"}, "und-AD": {"value" : "ca-Latn-AD"}, "mt": {"value" : "mt-Latn-MT"}, "my": {"value" : "my-Mymr-MM"}, "zh-BN": {"value" : "zh-Hant-BN"}, "und-AM": {"value" : "hy-Armn-AM"}, "spl": {"value" : "spl-Latn-ZZ"}, "und-AL": {"value" : "sq-Latn-AL"}, "und-AR": {"value" : "es-Latn-AR"}, "und-AQ": {"value" : "und-Latn-AQ"}, "na": {"value" : "na-Latn-NR"}, "und-AO": {"value" : "pt-Latn-AO"}, "nb": {"value" : "nb-Latn-NO"}, "nd": {"value" : "nd-Latn-ZW"}, "und-AT": {"value" : "de-Latn-AT"}, "ne": {"value" : "ne-Deva-NP"}, "sps": {"value" : "sps-Latn-ZZ"}, "und-AS": {"value" : "sm-Latn-AS"}, "und-AZ": {"value" : "az-Latn-AZ"}, "ng": {"value" : "ng-Latn-NA"}, "und-AX": {"value" : "sv-Latn-AX"}, "und-AW": {"value" : "nl-Latn-AW"}, "boj": {"value" : "boj-Latn-ZZ"}, "nl": {"value" : "nl-Latn-NL"}, "bon": {"value" : "bon-Latn-ZZ"}, "nn": {"value" : "nn-Latn-NO"}, "bom": {"value" : "bom-Latn-ZZ"}, "no": {"value" : "no-Latn-NO"}, "nr": {"value" : "nr-Latn-ZA"}, "arc-Nbat": {"value" : "arc-Nbat-JO"}, "und-Medf": {"value" : "mis-Medf-NG"}, "nv": {"value" : "nv-Latn-US"}, "kaa": {"value" : "kaa-Cyrl-UZ"}, "ny": {"value" : "ny-Latn-MW"}, "kac": {"value" : "kac-Latn-MM"}, "kab": {"value" : "kab-Latn-DZ"}, "kad": {"value" : "kad-Latn-ZZ"}, "kai": {"value" : "kai-Latn-ZZ"}, "oc": {"value" : "oc-Latn-FR"}, "zh-AU": {"value" : "zh-Hant-AU"}, "kaj": {"value" : "kaj-Latn-NG"}, "kam": {"value" : "kam-Latn-KE"}, "und-Tagb": {"value" : "tbw-Tagb-PH"}, "kao": {"value" : "kao-Latn-ML"}, "und-Ogam": {"value" : "sga-Ogam-IE"}, "om": {"value" : "om-Latn-ET"} , "srb": {"value" : "srb-Sora-IN"}, "or": {"value" : "or-Orya-IN"}, "tg-Arab": {"value" : "tg-Arab-PK"}, "os": {"value" : "os-Cyrl-GE"}, "und-Sogd": {"value" : "sog-Sogd-UZ"}, "bpy": {"value" : "bpy-Beng-IN"}, "kbd": {"value" : "kbd-Cyrl-RU"}, "srn": {"value" : "srn-Latn-SR"}, "pa": {"value" : "pa-Guru-IN"}, "srr": {"value" : "srr-Latn-SN"}, "bqc": {"value" : "bqc-Latn-ZZ"}, "und-Kthi": {"value" : "bho-Kthi-IN"}, "kbm": {"value" : "kbm-Latn-ZZ"}, "kbp": {"value" : "kbp-Latn-ZZ"}, "srx": {"value" : "srx-Deva-IN"} , "bqi": {"value" : "bqi-Arab-IR"}, "kbq": {"value" : "kbq-Latn-ZZ"}, "pl": {"value" : "pl-Latn-PL"}, "bqp": {"value" : "bqp-Latn-ZZ"}, "kbx": {"value" : "kbx-Latn-ZZ"}, "kby": {"value" : "kby-Arab-NE"}, "ps": {"value" : "ps-Arab-AF"}, "pt": {"value" : "pt-Latn-BR"}, "ssd": {"value" : "ssd-Latn-ZZ"}, "und-Nkoo": {"value" : "man-Nkoo-GN"}, "bqv": {"value" : "bqv-Latn-CI"}, "ssg": {"value" : "ssg-Latn-ZZ"}, "und-Mymr": {"value" : "my-Mymr-MM"}, "kcg": {"value" : "kcg-Latn-NG"}, "bra": {"value" : "bra-Deva-IN"} , "kck": {"value" : "kck-Latn-ZW"}, "kcl": {"value" : "kcl-Latn-ZZ"}, "okr": {"value" : "okr-Latn-ZZ"}, "ssy": {"value" : "ssy-Latn-ER"}, "brh": {"value" : "brh-Arab-PK"}, "okv": {"value" : "okv-Latn-ZZ"}, "kct": {"value" : "kct-Latn-ZZ"}, "und-Hani": {"value" : "zh-Hani-CN"}, "und-Bugi": {"value" : "bug-Bugi-ID"}, "und-Hang": {"value" : "ko-Hang-KR"}, "qu": {"value" : "qu-Latn-PE"}, "brx": {"value" : "brx-Deva-IN"}, "und-Samr": {"value" : "smp-Samr-IL"}, "brz": {"value" : "brz-Latn-ZZ"}, "stk": {"value" : "stk-Latn-ZZ"}, "und-Hano": {"value" : "hnn-Hano-PH"}, "kde": {"value" : "kde-Latn-TZ"}, "kdh": {"value" : "kdh-Arab-TG"}, "stq": {"value" : "stq-Latn-DE"}, "kdl": {"value" : "kdl-Latn-ZZ"}, "bsj": {"value" : "bsj-Latn-ZZ"}, "und-Hanb": {"value" : "zh-Hanb-TW"}, "kdt": {"value" : "kdt-Thai-TH"}, "rm": {"value" : "rm-Latn-CH"}, "rn": {"value" : "rn-Latn-BI"}, "ro": {"value" : "ro-Latn-RO"}, "sua": {"value" : "sua-Latn-ZZ"}, "und-Deva-BT": {"value" : "ne-Deva-BT"}, "bsq": {"value" : "bsq-Bass-LR"}, "bst": {"value" : "bst-Ethi-ZZ"}, "sue": {"value" : "sue-Latn-ZZ"}, "bss": {"value" : "bss-Latn-CM"}, "ru": {"value" : "ru-Cyrl-RU"}, "und-Buhd": {"value" : "bku-Buhd-PH"}, "rw": {"value" : "rw-Latn-RW"}, "kea": {"value" : "kea-Latn-CV"}, "suk": {"value" : "suk-Latn-TZ"}, "grc-Linb": {"value" : "grc-Linb-GR"}, "sa": {"value" : "sa-Deva-IN"}, "sc": {"value" : "sc-Latn-IT"}, "sus": {"value" : "sus-Latn-GN"}, "sd": {"value" : "sd-Arab-PK"}, "sur": {"value" : "sur-Latn-ZZ"}, "se": {"value" : "se-Latn-NO"}, "sg": {"value" : "sg-Latn-CF"}, "ken": {"value" : "ken-Latn-CM"}, "si": {"value" : "si-Sinh-LK"}, "und-Hant": {"value" : "zh-Hant-TW"}, "und-Hans": {"value" : "zh-Hans-CN"}, "sk": {"value" : "sk-Latn-SK"}, "sl": {"value" : "sl-Latn-SI"}, "sm": {"value" : "sm-Latn-WS"}, "sn": {"value" : "sn-Latn-ZW"}, "bto": {"value" : "bto-Latn-PH"}, "so": {"value" : "so-Latn-SO"}, "sq": {"value" : "sq-Latn-AL"}, "sr": {"value" : "sr-Cyrl-RS"}, "ss": {"value" : "ss-Latn-ZA"}, "kez": {"value" : "kez-Latn-ZZ"}, "st": {"value" : "st-Latn-ZA"}, "su": {"value" : "su-Latn-ID"}, "btt": {"value" : "btt-Latn-ZZ"}, "sv": {"value" : "sv-Latn-SE"}, "sw": {"value" : "sw-Latn-TZ"}, "btv": {"value" : "btv-Deva-PK"}, "ong": {"value" : "ong-Latn-ZZ"}, "ta": {"value" : "ta-Taml-IN"}, "onn": {"value" : "onn-Latn-ZZ"}, "bua": {"value" : "bua-Cyrl-RU"}, "bud": {"value" : "bud-Latn-ZZ"}, "buc": {"value" : "buc-Latn-YT"}, "te": {"value" : "te-Telu-IN"}, "tg": {"value" : "tg-Cyrl-TJ"}, "th": {"value" : "th-Thai-TH"}, "und-Gong": {"value" : "wsg-Gong-IN"} , "bug": {"value" : "bug-Latn-ID"}, "kfo": {"value" : "kfo-Latn-CI"}, "ons": {"value" : "ons-Latn-ZZ"}, "ti": {"value" : "ti-Ethi-ET"}, "kfr": {"value" : "kfr-Deva-IN"}, "tk": {"value" : "tk-Latn-TM"}, "tl": {"value" : "tl-Latn-PH"}, "und-Lisu": {"value" : "lis-Lisu-CN"}, "buk": {"value" : "buk-Latn-ZZ"}, "tn": {"value" : "tn-Latn-ZA"}, "bum": {"value" : "bum-Latn-CM"}, "to": {"value" : "to-Latn-TO"}, "buo": {"value" : "buo-Latn-ZZ"}, "swc": {"value" : "swc-Latn-CD"}, "tr": {"value" : "tr-Latn-TR"}, "und-Gonm": {"value" : "esg-Gonm-IN"}, "kfy": {"value" : "kfy-Deva-IN"}, "swb": {"value" : "swb-Arab-YT"}, "ts": {"value" : "ts-Latn-ZA"}, "tt": {"value" : "tt-Cyrl-RU"}, "bus": {"value" : "bus-Latn-ZZ"}, "swg": {"value" : "swg-Latn-DE"}, "buu": {"value" : "buu-Latn-ZZ"}, "ty": {"value" : "ty-Latn-PF"}, "kge": {"value" : "kge-Latn-ID"}, "kgf": {"value" : "kgf-Latn-ZZ"}, "swp": {"value" : "swp-Latn-ZZ"}, "bvb": {"value" : "bvb-Latn-GQ"}, "ug": {"value" : "ug-Arab-CN"}, "swv": {"value" : "swv-Deva-IN"} , "kgp": {"value" : "kgp-Latn-BR"}, "uk": {"value" : "uk-Cyrl-UA"}, "ur": {"value" : "ur-Arab-PK"}, "kk-IR": {"value" : "kk-Arab-IR"}, "khb": {"value" : "khb-Talu-CN"}, "kha": {"value" : "kha-Latn-IN"}, "uz": {"value" : "uz-Latn-UZ"}, "sxn": {"value" : "sxn-Latn-ID"}, "xav": {"value" : "xav-Latn-BR"}, "opm": {"value" : "opm-Latn-ZZ"}, "bwd": {"value" : "bwd-Latn-ZZ"}, "und-Mlym": {"value" : "ml-Mlym-IN"}, "ve": {"value" : "ve-Latn-ZA"}, "khn": {"value" : "khn-Deva-IN"}, "sxw": {"value" : "sxw-Latn-ZZ"} , "vi": {"value" : "vi-Latn-VN"}, "khq": {"value" : "khq-Latn-ML"}, "kht": {"value" : "kht-Mymr-IN"}, "khs": {"value" : "khs-Latn-ZZ"}, "vo": {"value" : "vo-Latn-001"}, "khw": {"value" : "khw-Arab-PK"}, "bwr": {"value" : "bwr-Latn-ZZ"}, "khz": {"value" : "khz-Latn-ZZ"}, "und-ZW": {"value" : "sn-Latn-ZW"}, "xbi": {"value" : "xbi-Latn-ZZ"}, "gaa": {"value" : "gaa-Latn-GH"}, "syl": {"value" : "syl-Beng-BD"}, "wa": {"value" : "wa-Latn-BE"}, "gag": {"value" : "gag-Latn-MD"}, "gaf": {"value" : "gaf-Latn-ZZ"} , "kij": {"value" : "kij-Latn-ZZ"}, "syr": {"value" : "syr-Syrc-IQ"}, "und-YE": {"value" : "ar-Arab-YE"}, "gah": {"value" : "gah-Latn-ZZ"}, "gaj": {"value" : "gaj-Latn-ZZ"}, "gam": {"value" : "gam-Latn-ZZ"}, "bxh": {"value" : "bxh-Latn-ZZ"}, "gan": {"value" : "gan-Hans-CN"}, "kiu": {"value" : "kiu-Latn-TR"}, "kiw": {"value" : "kiw-Latn-ZZ"}, "wo": {"value" : "wo-Latn-SN"}, "gaw": {"value" : "gaw-Latn-ZZ"}, "und-Sarb": {"value" : "xsa-Sarb-YE"}, "gay": {"value" : "gay-Latn-ID"}, "und-YT": {"value" : "fr-Latn-YT"} , "kjd": {"value" : "kjd-Latn-ZZ"}, "szl": {"value" : "szl-Latn-PL"}, "xco": {"value" : "xco-Chrs-UZ"}, "xcr": {"value" : "xcr-Cari-TR"}, "gba": {"value" : "gba-Latn-ZZ"}, "und-Mult": {"value" : "skr-Mult-PK"}, "kjg": {"value" : "kjg-Laoo-LA"}, "gbf": {"value" : "gbf-Latn-ZZ"}, "oro": {"value" : "oro-Latn-ZZ"}, "und-Hatr": {"value" : "mis-Hatr-IQ"}, "bye": {"value" : "bye-Latn-ZZ"}, "xh": {"value" : "xh-Latn-ZA"}, "gbm": {"value" : "gbm-Deva-IN"}, "oru": {"value" : "oru-Arab-ZZ"}, "kjs": {"value" : "kjs-Latn-ZZ"} , "byn": {"value" : "byn-Ethi-ER"}, "und-XK": {"value" : "sq-Latn-XK"}, "yue-CN": {"value" : "yue-Hans-CN"}, "und-Lepc": {"value" : "lep-Lepc-IN"}, "byr": {"value" : "byr-Latn-ZZ"}, "kjy": {"value" : "kjy-Latn-ZZ"}, "osa": {"value" : "osa-Osge-US"}, "bys": {"value" : "bys-Latn-ZZ"}, "byv": {"value" : "byv-Latn-CM"}, "gbz": {"value" : "gbz-Arab-IR"}, "gby": {"value" : "gby-Latn-ZZ"}, "byx": {"value" : "byx-Latn-ZZ"}, "kkc": {"value" : "kkc-Latn-ZZ"}, "und-VU": {"value" : "bi-Latn-VU"}, "bza": {"value" : "bza-Latn-ZZ"}, "und-Goth": {"value" : "got-Goth-UA"}, "kkj": {"value" : "kkj-Latn-CM"}, "bze": {"value" : "bze-Latn-ML"}, "und-Avst": {"value" : "ae-Avst-IR"}, "bzf": {"value" : "bzf-Latn-ZZ"}, "yi": {"value" : "yi-Hebr-001"}, "bzh": {"value" : "bzh-Latn-ZZ"}, "und-WF": {"value" : "fr-Latn-WF"}, "yo": {"value" : "yo-Latn-NG"}, "gcr": {"value" : "gcr-Latn-GF"}, "ota": {"value" : "ota-Arab-ZZ"}, "und-WS": {"value" : "sm-Latn-WS"}, "bzw": {"value" : "bzw-Latn-ZZ"}, "und-UZ": {"value" : "uz-Latn-UZ"} , "und-UY": {"value" : "es-Latn-UY"}, "otk": {"value" : "otk-Orkh-MN"}, "xes": {"value" : "xes-Latn-ZZ"}, "za": {"value" : "za-Latn-CN"}, "gde": {"value" : "gde-Latn-ZZ"}, "kln": {"value" : "kln-Latn-KE"}, "und-VA": {"value" : "it-Latn-VA"}, "zh": {"value" : "zh-Hans-CN"}, "gdn": {"value" : "gdn-Latn-ZZ"}, "klq": {"value" : "klq-Latn-ZZ"}, "und-Saur": {"value" : "saz-Saur-IN"}, "klt": {"value" : "klt-Latn-ZZ"}, "und-VE": {"value" : "es-Latn-VE"}, "gdr": {"value" : "gdr-Latn-ZZ"}, "klx": {"value" : "klx-Latn-ZZ"} , "und-VN": {"value" : "vi-Latn-VN"}, "kk-MN": {"value" : "kk-Arab-MN"}, "zu": {"value" : "zu-Latn-ZA"}, "und-Armn": {"value" : "hy-Armn-AM"}, "kmb": {"value" : "kmb-Latn-AO"}, "und-TR": {"value" : "tr-Latn-TR"}, "geb": {"value" : "geb-Latn-ZZ"}, "und-TW": {"value" : "zh-Hant-TW"}, "kmh": {"value" : "kmh-Latn-ZZ"}, "und-TV": {"value" : "tvl-Latn-TV"}, "und-TZ": {"value" : "sw-Latn-TZ"}, "kmo": {"value" : "kmo-Latn-ZZ"}, "gej": {"value" : "gej-Latn-ZZ"}, "und-UA": {"value" : "uk-Cyrl-UA"}, "gel": {"value" : "gel-Latn-ZZ"}, "kms": {"value" : "kms-Latn-ZZ"}, "kmu": {"value" : "kmu-Latn-ZZ"}, "kmw": {"value" : "kmw-Latn-ZZ"}, "und-Tibt": {"value" : "bo-Tibt-CN"}, "und-UG": {"value" : "sw-Latn-UG"}, "und-Armi": {"value" : "arc-Armi-IR"}, "gez": {"value" : "gez-Ethi-ET"}, "und-ST": {"value" : "pt-Latn-ST"}, "knf": {"value" : "knf-Latn-GW"}, "und-SR": {"value" : "nl-Latn-SR"}, "und-SV": {"value" : "es-Latn-SV"}, "und-SY": {"value" : "ar-Arab-SY"}, "knp": {"value" : "knp-Latn-ZZ"}, "gfk": {"value" : "gfk-Latn-ZZ"} , "und-TD": {"value" : "fr-Latn-TD"}, "und-TH": {"value" : "th-Thai-TH"}, "und-TG": {"value" : "fr-Latn-TG"}, "und-TF": {"value" : "fr-Latn-TF"}, "und-TM": {"value" : "tk-Latn-TM"}, "und-TL": {"value" : "pt-Latn-TL"}, "und-TK": {"value" : "tkl-Latn-TK"}, "und-TJ": {"value" : "tg-Cyrl-TJ"}, "und-TO": {"value" : "to-Latn-TO"}, "und-TN": {"value" : "ar-Arab-TN"}, "und-RS": {"value" : "sr-Cyrl-RS"}, "koi": {"value" : "koi-Cyrl-RU"}, "und-RW": {"value" : "rw-Latn-RW"}, "kok": {"value" : "kok-Deva-IN"}, "und-RU": {"value" : "ru-Cyrl-RU"}, "kol": {"value" : "kol-Latn-ZZ"}, "kos": {"value" : "kos-Latn-FM"}, "ggn": {"value" : "ggn-Deva-NP"}, "und-SD": {"value" : "ar-Arab-SD"}, "und-SC": {"value" : "fr-Latn-SC"}, "und-SA": {"value" : "ar-Arab-SA"}, "koz": {"value" : "koz-Latn-ZZ"}, "und-SE": {"value" : "sv-Latn-SE"}, "und-SK": {"value" : "sk-Latn-SK"}, "und-SJ": {"value" : "nb-Latn-SJ"}, "und-SI": {"value" : "sl-Latn-SI"}, "taj": {"value" : "taj-Deva-NP"}, "und-SO": {"value" : "so-Latn-SO"}, "tal": {"value" : "tal-Latn-ZZ"} , "und-SN": {"value" : "fr-Latn-SN"}, "und-Osge": {"value" : "osa-Osge-US"}, "und-SM": {"value" : "it-Latn-SM"}, "kpf": {"value" : "kpf-Latn-ZZ"}, "tan": {"value" : "tan-Latn-ZZ"}, "kpe": {"value" : "kpe-Latn-LR"}, "und-QO": {"value" : "en-Latn-DG"}, "taq": {"value" : "taq-Latn-ZZ"}, "kpo": {"value" : "kpo-Latn-ZZ"}, "kpr": {"value" : "kpr-Latn-ZZ"}, "kpx": {"value" : "kpx-Latn-ZZ"}, "ghs": {"value" : "ghs-Latn-ZZ"}, "und-Lana": {"value" : "nod-Lana-TH"}, "tbc": {"value" : "tbc-Latn-ZZ"}, "und-RE": {"value" : "fr-Latn-RE"}, "tbd": {"value" : "tbd-Latn-ZZ"}, "tbg": {"value" : "tbg-Latn-ZZ"}, "tbf": {"value" : "tbf-Latn-ZZ"}, "und-RO": {"value" : "ro-Latn-RO"}, "kqb": {"value" : "kqb-Latn-ZZ"}, "tbo": {"value" : "tbo-Latn-ZZ"}, "kqf": {"value" : "kqf-Latn-ZZ"}, "und-PT": {"value" : "pt-Latn-PT"}, "und-PS": {"value" : "ar-Arab-PS"}, "cad": {"value" : "cad-Latn-US"}, "und-PR": {"value" : "es-Latn-PR"}, "tbw": {"value" : "tbw-Latn-PH"}, "und-PY": {"value" : "gn-Latn-PY"}, "gim": {"value" : "gim-Latn-ZZ"}, "und-PW": {"value" : "pau-Latn-PW"}, "gil": {"value" : "gil-Latn-KI"}, "kqs": {"value" : "kqs-Latn-ZZ"}, "tbz": {"value" : "tbz-Latn-ZZ"}, "und-Laoo": {"value" : "lo-Laoo-LA"}, "can": {"value" : "can-Latn-ZZ"}, "und-QA": {"value" : "ar-Arab-QA"}, "kqy": {"value" : "kqy-Ethi-ZZ"}, "ms-CC": {"value" : "ms-Arab-CC"}, "tci": {"value" : "tci-Latn-ZZ"}, "krc": {"value" : "krc-Cyrl-RU"}, "krj": {"value" : "krj-Latn-PH"}, "kri": {"value" : "kri-Latn-SL"}, "ozm": {"value" : "ozm-Latn-ZZ"}, "und-OM": {"value" : "ar-Arab-OM"} , "krl": {"value" : "krl-Latn-RU"}, "gjk": {"value" : "gjk-Arab-PK"}, "cbj": {"value" : "cbj-Latn-ZZ"}, "gjn": {"value" : "gjn-Latn-ZZ"}, "tcy": {"value" : "tcy-Knda-IN"}, "xla": {"value" : "xla-Latn-ZZ"}, "krs": {"value" : "krs-Latn-ZZ"}, "xlc": {"value" : "xlc-Lyci-TR"}, "kru": {"value" : "kru-Deva-IN"}, "und-PA": {"value" : "es-Latn-PA"}, "xld": {"value" : "xld-Lydi-TR"}, "gju": {"value" : "gju-Arab-PK"}, "und-PE": {"value" : "es-Latn-PE"}, "tdd": {"value" : "tdd-Tale-CN"}, "tdg": {"value" : "tdg-Deva-NP"} , "tdh": {"value" : "tdh-Deva-NP"}, "und-PH": {"value" : "fil-Latn-PH"}, "und-PG": {"value" : "tpi-Latn-PG"}, "ksb": {"value" : "ksb-Latn-TZ"}, "und-PF": {"value" : "fr-Latn-PF"}, "und-PM": {"value" : "fr-Latn-PM"}, "ksd": {"value" : "ksd-Latn-ZZ"}, "und-PL": {"value" : "pl-Latn-PL"}, "und-PK": {"value" : "ur-Arab-PK"}, "ksf": {"value" : "ksf-Latn-CM"}}; } 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" : 2}, "AS": {"value" : 1}, "AT": {"value" : 2}, "RE": {"value" : 2}, "AU": {"value" : 1}, "AX": {"value" : 2}, "AZ": {"value" : 2}, "RO": {"value" : 2}, "ZW": {"value" : 1}, "BA": {"value" : 2}, "RS": {"value" : 2}, "BD": {"value" : 1}, "BE": {"value" : 2}, "JM": {"value" : 1}, "RU": {"value" : 2}, "BG": {"value" : 2}, "JO": {"value" : 7}, "BH": {"value" : 7}, "JP": {"value" : 1}, "BM": {"value" : 2}, "BN": {"value" : 2}, "SA": {"value" : 1}, "BR": {"value" : 1}, "BS": {"value" : 1}, "SD": {"value" : 7}, "BT": {"value" : 1}, "SE": {"value" : 2}, "SG": {"value" : 1}, "BW": {"value" : 1}, "SI": {"value" : 2}, "BY": {"value" : 2}, "BZ": {"value" : 1}, "SK": {"value" : 2}, "KE": {"value" : 1}, "SM": {"value" : 2}, "KG": {"value" : 2}, "KH": {"value" : 1}, "CA": {"value" : 1}, "SV": {"value" : 1}, "CH": {"value" : 2}, "SY": {"value" : 7}, "KR": {"value" : 1}, "CL": {"value" : 2}, "CM": {"value" : 2}, "CN": {"value" : 1}, "CO": {"value" : 1}, "KW": {"value" : 7}, "CR": {"value" : 2}, "KZ": {"value" : 2}, "TH": {"value" : 1}, "LA": {"value" : 1}, "CY": {"value" : 2}, "LB": {"value" : 2}, "TJ": {"value" : 2}, "CZ": {"value" : 2}, "TM": {"value" : 2}, "LI": {"value" : 2}, "TR": {"value" : 2}, "LK": {"value" : 2}, "TT": {"value" : 1}, "DE": {"value" : 2}, "TW": {"value" : 1}, "DJ": {"value" : 7}, "DK": {"value" : 2}, "LT": {"value" : 2}, "DM": {"value" : 1}, "LU": {"value" : 2}, "LV": {"value" : 2}, "DO": {"value" : 1} , "UA": {"value" : 2}, "LY": {"value" : 7}, "DZ": {"value" : 7}, "MC": {"value" : 2}, "MD": {"value" : 2}, "ME": {"value" : 2}, "UM": {"value" : 1}, "MH": {"value" : 1}, "EC": {"value" : 2}, "MK": {"value" : 2}, "US": {"value" : 1}, "EE": {"value" : 2}, "MM": {"value" : 1}, "MN": {"value" : 2}, "EG": {"value" : 7}, "MO": {"value" : 1}, "MQ": {"value" : 2}, "UY": {"value" : 2}, "UZ": {"value" : 2}, "MT": {"value" : 1}, "MV": {"value" : 6}, "MX": {"value" : 1}, "VA": {"value" : 2}, "MY": {"value" : 2} , "MZ": {"value" : 1}, "ES": {"value" : 2}, "ET": {"value" : 1}, "VE": {"value" : 1}, "GB-alt-variant": {"value" : 1}, "VI": {"value" : 1}, "VN": {"value" : 2}, "NI": {"value" : 1}, "NL": {"value" : 2}, "NO": {"value" : 2}, "NP": {"value" : 1}, "FI": {"value" : 2}, "FJ": {"value" : 2}, "FO": {"value" : 2}, "FR": {"value" : 2}, "NZ": {"value" : 2}, "GB": {"value" : 2}, "WS": {"value" : 1}, "GE": {"value" : 2}, "OM": {"value" : 7}, "GF": {"value" : 2}, "GP": {"value" : 2}, "GR": {"value" : 2}, "GT": {"value" : 1}, "GU": {"value" : 1}, "PA": {"value" : 1}, "XK": {"value" : 2}, "PE": {"value" : 1}, "PH": {"value" : 1}, "PK": {"value" : 1}, "PL": {"value" : 2}}; } function otciu_CLDRHelper_getDateFormatMap$$create() { return {"root": {"fullFormat" : "y MMMM d, EEEE", "mediumFormat" : "y MMM d", "longFormat" : "y MMMM d", "shortFormat" : "y-MM-dd"}, "en": {"fullFormat" : "EEEE, MMMM d, y", "mediumFormat" : "MMM d, y", "longFormat" : "MMMM d, y", "shortFormat" : "M/d/yy"}}; } var otpp_ResourceAccessor = $rt_classWithoutFields(); function otpp_ResourceAccessor__init_0() { var var_0 = new otpp_ResourceAccessor(); otpp_ResourceAccessor__init_(var_0); return var_0; } function otpp_ResourceAccessor__init_($this) {} var jnc_StandardCharsets = $rt_classWithoutFields(); var jnc_StandardCharsets_UTF_8 = null; var jnc_StandardCharsets_US_ASCII = null; var jnc_StandardCharsets_ISO_8859_1 = null; var jnc_StandardCharsets_UTF_16 = null; var jnc_StandardCharsets_UTF_16BE = null; var jnc_StandardCharsets_UTF_16LE = null; function jnc_StandardCharsets_$callClinit() { jnc_StandardCharsets_$callClinit = $rt_eraseClinit(jnc_StandardCharsets); jnc_StandardCharsets__clinit_(); } function jnc_StandardCharsets__init_0() { var var_0 = new jnc_StandardCharsets(); jnc_StandardCharsets__init_(var_0); return var_0; } function jnc_StandardCharsets__init_($this) { jnc_StandardCharsets_$callClinit(); } function jnc_StandardCharsets__clinit_() { jnci_UTF8Charset_$callClinit(); jnc_StandardCharsets_UTF_8 = jnci_UTF8Charset_INSTANCE; jnc_StandardCharsets_US_ASCII = jnci_AsciiCharset__init_0(); jnc_StandardCharsets_ISO_8859_1 = jnci_Iso8859Charset__init_0(); jnc_StandardCharsets_UTF_16 = jnci_UTF16Charset__init_($rt_s(331), 1, 0); jnc_StandardCharsets_UTF_16BE = jnci_UTF16Charset__init_($rt_s(332), 0, 0); jnc_StandardCharsets_UTF_16LE = jnci_UTF16Charset__init_($rt_s(333), 0, 1); } function jn_ByteBuffer() { var a = this; jn_Buffer.call(a); a.$start3 = 0; a.$array0 = null; a.$order = null; } function jn_ByteBuffer_allocate($capacity) { var var$2, var$3; if ($capacity >= 0) return jn_ByteBufferImpl__init_($capacity, 0); var$2 = new jl_IllegalArgumentException; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append1(jl_StringBuilder_append(var$3, $rt_s(334)), $capacity); jl_Throwable__init_(var$2, jl_AbstractStringBuilder_toString(var$3)); $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_get($this, $dst, $offset, $length) { var var$4, var$5, var$6, var$7, var$8, var$9, var$10, $pos, $i, var$13; if ($offset >= 0) { var$4 = $dst.data; var$5 = var$4.length; if ($offset <= var$5) { var$6 = $offset + $length | 0; if (var$6 > var$5) { var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$8, $rt_s(335)), var$6), $rt_s(287)), var$5); jl_Throwable__init_(var$7, jl_AbstractStringBuilder_toString(var$8)); $rt_throw(var$7); } if (jn_Buffer_remaining($this) < $length) { var$9 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$9); $rt_throw(var$9); } if ($length < 0) { var$9 = new jl_IndexOutOfBoundsException; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$10, $rt_s(288)), $length), $rt_s(289)); jl_Throwable__init_(var$9, jl_AbstractStringBuilder_toString(var$10)); $rt_throw(var$9); } var$6 = $this.$position; $pos = var$6 + $this.$start3 | 0; $i = 0; while ($i < $length) { var$13 = $offset + 1 | 0; $dst = $this.$array0.data; var$5 = $pos + 1 | 0; var$4[$offset] = $dst[$pos]; $i = $i + 1 | 0; $offset = var$13; $pos = var$5; } $this.$position = var$6 + $length | 0; return $this; } } $dst = $dst.data; var$9 = new jl_IndexOutOfBoundsException; $length = $dst.length; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$10, $rt_s(285)), $offset), $rt_s(250)), $length), 41); jl_Throwable__init_(var$9, jl_AbstractStringBuilder_toString(var$10)); $rt_throw(var$9); } function jn_ByteBuffer_put($this, $src, $offset, $length) { var var$4, var$5, var$6, var$7, var$8, var$9, $pos, $i, var$12; if (!$length) return $this; if ($this.$readOnly) { 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) { var$7 = $offset + $length | 0; if (var$7 > var$6) { var$8 = new jl_IndexOutOfBoundsException; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$9, $rt_s(336)), var$7), $rt_s(287)), var$6); jl_Throwable__init_(var$8, jl_AbstractStringBuilder_toString(var$9)); $rt_throw(var$8); } if ($length < 0) { var$4 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$8, $rt_s(288)), $length), $rt_s(289)); jl_Throwable__init_(var$4, jl_AbstractStringBuilder_toString(var$8)); $rt_throw(var$4); } var$7 = $this.$position; $pos = var$7 + $this.$start3 | 0; $i = 0; while ($i < $length) { $src = $this.$array0.data; var$12 = $pos + 1 | 0; var$6 = $offset + 1 | 0; $src[$pos] = var$5[$offset]; $i = $i + 1 | 0; $pos = var$12; $offset = var$6; } $this.$position = var$7 + $length | 0; return $this; } } $src = $src.data; var$4 = new jl_IndexOutOfBoundsException; $length = $src.length; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$8, $rt_s(285)), $offset), $rt_s(250)), $length), 41); jl_Throwable__init_(var$4, jl_AbstractStringBuilder_toString(var$8)); $rt_throw(var$4); } function jn_ByteBuffer_put0($this, $src) { return jn_ByteBuffer_put($this, $src, 0, $src.data.length); } function jn_ByteBuffer_clear($this) { jn_Buffer_clear($this); return $this; } var jn_FloatBufferImpl = $rt_classWithoutFields(jn_FloatBuffer); function jn_FloatBufferImpl_get($this) { var var$1, var$2; var$1 = $this.$position; if (var$1 < $this.$limit) { $this.$position = var$1 + 1 | 0; return jn_FloatBufferOverArray_getElement($this, 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); } var$3 = $this.$position; if (var$3 >= $this.$limit) { var$2 = new jn_BufferOverflowException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } $this.$position = var$3 + 1 | 0; $this.$array1.data[var$3 + $this.$start4 | 0] = $b; return $this; } function jn_FloatBufferOverArray() { var a = this; jn_FloatBufferImpl.call(a); a.$readOnly1 = 0; a.$start4 = 0; a.$array1 = null; } function jn_FloatBufferOverArray_getElement($this, $index) { return $this.$array1.data[$index + $this.$start4 | 0]; } function ju_Calendar() { var a = this; jl_Object.call(a); a.$areFieldsSet = 0; a.$fields = null; a.$isSet = null; a.$isTimeSet = 0; a.$time = Long_ZERO; a.$lastTimeFieldSet = 0; a.$lastDateFieldSet = 0; a.$lenient = 0; a.$firstDayOfWeek = 0; a.$minimalDaysInFirstWeek = 0; a.$zone = null; } var ju_Calendar_fieldNames = null; var ju_Calendar_firstDayOfWeekCache = 0; var ju_Calendar_minimalDaysInFirstWeekCache = 0; var ju_Calendar_cacheFor = null; function ju_Calendar_$callClinit() { ju_Calendar_$callClinit = $rt_eraseClinit(ju_Calendar); ju_Calendar__clinit_(); } 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_getInstance() { ju_Calendar_$callClinit(); return ju_GregorianCalendar__init_0(); } function ju_Calendar_getMinimalDaysInFirstWeek($this) { return $this.$minimalDaysInFirstWeek; } function ju_Calendar_isLenient($this) { return $this.$lenient; } function ju_Calendar_setTimeInMillis($this, $milliseconds) { if (!($this.$isTimeSet && $this.$areFieldsSet && Long_eq($this.$time, $milliseconds))) { $this.$time = $milliseconds; $this.$isTimeSet = 1; $this.$areFieldsSet = 0; ju_Calendar_complete($this); } } function ju_Calendar__clinit_() { ju_Calendar_fieldNames = $rt_createArrayFromData(jl_String, [$rt_s(337), $rt_s(338), $rt_s(339), $rt_s(340), $rt_s(341), $rt_s(342), $rt_s(343), $rt_s(344), $rt_s(345), $rt_s(346), $rt_s(347), $rt_s(348), $rt_s(349), $rt_s(350), $rt_s(351), $rt_s(352), $rt_s(353)]); ju_Calendar_firstDayOfWeekCache = (-1); ju_Calendar_minimalDaysInFirstWeekCache = (-1); } function jn_ByteBufferImpl() { var a = this; jn_ByteBuffer.call(a); a.$direct = 0; a.$readOnly = 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_($this, $capacity); jn_ByteOrder_$callClinit(); $this.$order = jn_ByteOrder_BIG_ENDIAN; $this.$start3 = $start; $this.$array0 = $array; $this.$position = $position; $this.$limit = $limit; $this.$direct = $direct; $this.$readOnly = $readOnly; } function jn_ByteBufferImpl_get($this) { var var$1, var$2, var$3, var$4; var$1 = $this.$position; if (var$1 >= $this.$limit) { var$2 = new jn_BufferUnderflowException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } var$3 = $this.$array0.data; var$4 = $this.$start3; $this.$position = var$1 + 1 | 0; return var$3[var$4 + var$1 | 0]; } function jn_ByteBufferImpl_getInt($this, $index) { var var$2, $a, $b, $c, $d, var$7, var$8; if ($index >= 0 && ($index + 3 | 0) < $this.$limit) { var$2 = $this.$array0.data; $index = $this.$start3 + $index | 0; $a = var$2[$index] & 255; $b = var$2[$index + 1 | 0] & 255; $c = var$2[$index + 2 | 0] & 255; $d = var$2[$index + 3 | 0] & 255; var$7 = $this.$order; jn_ByteOrder_$callClinit(); if (var$7 !== jn_ByteOrder_BIG_ENDIAN) return $d << 24 | $c << 16 | $b << 8 | $a; return $a << 24 | $b << 16 | $c << 8 | $d; } var$7 = new jl_IndexOutOfBoundsException; $a = $this.$limit - 3 | 0; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$8, $rt_s(249)), $index), $rt_s(250)), $a), 41); jl_Throwable__init_(var$7, jl_AbstractStringBuilder_toString(var$8)); $rt_throw(var$7); } function jn_ByteBufferImpl_putInt($this, $index, $value) { var var$3, var$4, var$5; if ($this.$readOnly) { var$3 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } if ($index >= 0 && ($index + 3 | 0) < $this.$limit) { var$3 = $this.$order; jn_ByteOrder_$callClinit(); if (var$3 !== jn_ByteOrder_BIG_ENDIAN) { var$4 = $this.$array0.data; $index = $this.$start3 + $index | 0; var$4[$index] = $value << 24 >> 24; var$4[$index + 1 | 0] = $value >> 8 << 24 >> 24; var$4[$index + 2 | 0] = $value >> 16 << 24 >> 24; var$4[$index + 3 | 0] = $value >> 24 << 24 >> 24; } else { var$4 = $this.$array0.data; $index = $this.$start3 + $index | 0; var$4[$index] = $value >> 24 << 24 >> 24; var$4[$index + 1 | 0] = $value >> 16 << 24 >> 24; var$4[$index + 2 | 0] = $value >> 8 << 24 >> 24; var$4[$index + 3 | 0] = $value << 24 >> 24; } return $this; } var$3 = new jl_IndexOutOfBoundsException; $value = $this.$limit - 3 | 0; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$5, $rt_s(249)), $index), $rt_s(250)), $value), 41); jl_Throwable__init_(var$3, jl_AbstractStringBuilder_toString(var$5)); $rt_throw(var$3); } var jl_Readable = $rt_classWithoutFields(0); var jn_CharBuffer = $rt_classWithoutFields(jn_Buffer); function jn_CharBuffer_allocate($capacity) { var var$2, var$3; if ($capacity >= 0) return jn_CharBufferOverArray__init_(0, $capacity, $rt_createCharArray($capacity), 0, $capacity, 0); var$2 = new jl_IllegalArgumentException; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append1(jl_StringBuilder_append(var$3, $rt_s(334)), $capacity); jl_Throwable__init_(var$2, jl_AbstractStringBuilder_toString(var$3)); $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_get($this, $dst, $offset, $length) { var var$4, var$5, $pos, var$7, var$8, $i, var$10, var$11; if ($offset >= 0) { var$4 = $dst.data; var$5 = var$4.length; if ($offset <= var$5) { $pos = $offset + $length | 0; if ($pos > var$5) { var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$8, $rt_s(354)), $pos), $rt_s(287)), var$5); jl_Throwable__init_(var$7, jl_AbstractStringBuilder_toString(var$8)); $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; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$7, $rt_s(288)), $length), $rt_s(289)); jl_Throwable__init_(var$8, jl_AbstractStringBuilder_toString(var$7)); $rt_throw(var$8); } $pos = $this.$position; $i = 0; while ($i < $length) { var$10 = $offset + 1 | 0; var$5 = $pos + 1 | 0; var$4[$offset] = jn_CharBufferOverArray_getChar($this, $pos); $i = $i + 1 | 0; $offset = var$10; $pos = var$5; } $this.$position = $this.$position + $length | 0; return $this; } } $dst = $dst.data; var$8 = new jl_IndexOutOfBoundsException; $length = $dst.length; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$11, $rt_s(285)), $offset), $rt_s(250)), $length), 41); jl_Throwable__init_(var$8, jl_AbstractStringBuilder_toString(var$11)); $rt_throw(var$8); } function jn_CharBuffer_put($this, $src) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = 0; var$3 = jl_String_length($src); if ($this.$readOnly2) { $src = new jn_ReadOnlyBufferException; jl_Throwable__init_0($src); $rt_throw($src); } var$4 = var$3 - var$2 | 0; if (jn_Buffer_remaining($this) < var$4) { $src = new jn_BufferOverflowException; jl_Throwable__init_0($src); $rt_throw($src); } if (var$2 > jl_String_length($src)) { var$5 = new jl_IndexOutOfBoundsException; var$3 = jl_String_length($src); $src = new jl_StringBuilder; jl_AbstractStringBuilder__init_($src); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append($src, $rt_s(355)), var$2), $rt_s(250)), var$3), 41); jl_Throwable__init_(var$5, jl_AbstractStringBuilder_toString($src)); $rt_throw(var$5); } if (var$3 > jl_String_length($src)) { var$5 = new jl_IndexOutOfBoundsException; var$2 = jl_String_length($src); $src = new jl_StringBuilder; jl_AbstractStringBuilder__init_($src); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append($src, $rt_s(356)), var$3), $rt_s(357)), var$2); jl_Throwable__init_(var$5, jl_AbstractStringBuilder_toString($src)); $rt_throw(var$5); } if (var$2 > var$3) { $src = new jl_IndexOutOfBoundsException; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$5, $rt_s(355)), var$2), $rt_s(358)), var$3); jl_Throwable__init_($src, jl_AbstractStringBuilder_toString(var$5)); $rt_throw($src); } var$6 = $this.$position; while (var$2 < var$3) { var$7 = var$6 + 1 | 0; var$8 = var$2 + 1 | 0; jn_CharBufferOverArray_putChar($this, var$6, jl_String_charAt($src, var$2)); var$6 = var$7; var$2 = var$8; } $this.$position = $this.$position + var$4 | 0; return $this; } var cjj_GZIPException = $rt_classWithoutFields(ji_IOException); function cjj_GZIPException__init_0() { var var_0 = new cjj_GZIPException(); cjj_GZIPException__init_(var_0); return var_0; } function cjj_GZIPException__init_($this) { jl_Throwable__init_0($this); } var otjc_JSObjects = $rt_classWithoutFields(); function otjc_JSObjects__init_0() { var var_0 = new otjc_JSObjects(); otjc_JSObjects__init_(var_0); return var_0; } function otjc_JSObjects__init_($this) {} var nms_MaterialTransparent = $rt_classWithoutFields(nms_Material); function nms_MaterialTransparent__init_0() { var var_0 = new nms_MaterialTransparent(); nms_MaterialTransparent__init_(var_0); return var_0; } function nms_MaterialTransparent__init_($this) { nms_Material__init_($this); } function nms_MaterialTransparent_func_878_a($this) { return 0; } function nms_MaterialTransparent_getCanBlockGrass($this) { return 0; } function nms_MaterialTransparent_func_880_c($this) { return 0; } var nms_MaterialLiquid = $rt_classWithoutFields(nms_Material); function nms_MaterialLiquid__init_0() { var var_0 = new nms_MaterialLiquid(); nms_MaterialLiquid__init_(var_0); return var_0; } function nms_MaterialLiquid__init_($this) { nms_Material__init_($this); } function nms_MaterialLiquid_getIsLiquid($this) { return 1; } function nms_MaterialLiquid_func_880_c($this) { return 0; } function nms_MaterialLiquid_func_878_a($this) { return 0; } var nms_MaterialLogic = $rt_classWithoutFields(nms_Material); function nms_MaterialLogic__init_0() { var var_0 = new nms_MaterialLogic(); nms_MaterialLogic__init_(var_0); return var_0; } function nms_MaterialLogic__init_($this) { nms_Material__init_($this); } function nms_MaterialLogic_func_878_a($this) { return 0; } function nms_MaterialLogic_getCanBlockGrass($this) { return 0; } function nms_MaterialLogic_func_880_c($this) { return 0; } function nms_ItemTool() { var a = this; nms_Item.call(a); a.$blocksEffectiveAgainst = null; a.$efficiencyOnProperMaterial = 0.0; a.$damageVsEntity = 0; a.$ingredientQuality = 0; } function nms_ItemTool__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_ItemTool(); nms_ItemTool__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_ItemTool__init_0($this, $var1, $var2, $var3, $var4) { var var$5; nms_Item__init_0($this, $var1); $this.$efficiencyOnProperMaterial = 4.0; $this.$ingredientQuality = $var3; $this.$blocksEffectiveAgainst = $var4; $this.$maxStackSize = 1; var$5 = 32 << $var3; $this.$maxDamage = var$5; if ($var3 == 3) $this.$maxDamage = var$5 * 4 | 0; $this.$efficiencyOnProperMaterial = ($var3 + 1 | 0) * 2 | 0; $this.$damageVsEntity = $var2 + $var3 | 0; } function nms_ItemTool_getStrVsBlock($this, $var1, $var2) { var $var3, var$4; $var3 = 0; while (true) { var$4 = $this.$blocksEffectiveAgainst.data; if ($var3 >= var$4.length) break; if (var$4[$var3] === $var2) return $this.$efficiencyOnProperMaterial; $var3 = $var3 + 1 | 0; } return 1.0; } function nms_ItemTool_hitEntity($this, $var1, $var2) { nms_ItemStack_damageItem($var1, 2); } function nms_ItemTool_hitBlock($this, $var1, $var2, $var3, $var4, $var5) { nms_ItemStack_damageItem($var1, 1); } function nms_ItemTool_getDamageVsEntity($this, $var1) { return $this.$damageVsEntity; } function nms_ItemTool_isFull3D($this) { return 1; } var nms_ItemSpade = $rt_classWithoutFields(nms_ItemTool); var nms_ItemSpade_blocksEffectiveAgainst = null; function nms_ItemSpade_$callClinit() { nms_ItemSpade_$callClinit = $rt_eraseClinit(nms_ItemSpade); nms_ItemSpade__clinit_(); } function nms_ItemSpade__init_(var_0, var_1) { var var_2 = new nms_ItemSpade(); nms_ItemSpade__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemSpade__init_0($this, $var1, $var2) { nms_ItemSpade_$callClinit(); nms_ItemTool__init_0($this, $var1, 1, $var2, nms_ItemSpade_blocksEffectiveAgainst); } function nms_ItemSpade_canHarvestBlock($this, $var1) { nms_Block_$callClinit(); return $var1 === nms_Block_snow ? 1 : $var1 !== nms_Block_blockSnow ? 0 : 1; } function nms_ItemSpade__clinit_() { var var$1, var$2; var$1 = $rt_createArray(nms_Block, 7); var$2 = var$1.data; nms_Block_$callClinit(); var$2[0] = nms_Block_grass; var$2[1] = nms_Block_dirt; var$2[2] = nms_Block_sand; var$2[3] = nms_Block_gravel; var$2[4] = nms_Block_snow; var$2[5] = nms_Block_blockSnow; var$2[6] = nms_Block_blockClay; nms_ItemSpade_blocksEffectiveAgainst = var$1; } function nms_ItemPickaxe() { nms_ItemTool.call(this); this.$field_328_aY = 0; } var nms_ItemPickaxe_blocksEffectiveAgainst = null; function nms_ItemPickaxe_$callClinit() { nms_ItemPickaxe_$callClinit = $rt_eraseClinit(nms_ItemPickaxe); nms_ItemPickaxe__clinit_(); } function nms_ItemPickaxe__init_(var_0, var_1) { var var_2 = new nms_ItemPickaxe(); nms_ItemPickaxe__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemPickaxe__init_0($this, $var1, $var2) { nms_ItemPickaxe_$callClinit(); nms_ItemTool__init_0($this, $var1, 2, $var2, nms_ItemPickaxe_blocksEffectiveAgainst); $this.$field_328_aY = $var2; } function nms_ItemPickaxe_canHarvestBlock($this, $var1) { var var$2; nms_Block_$callClinit(); if ($var1 === nms_Block_obsidian) var$2 = $this.$field_328_aY != 3 ? 0 : 1; else if ($var1 !== nms_Block_blockDiamond && $var1 !== nms_Block_oreDiamond) { if ($var1 !== nms_Block_blockGold && $var1 !== nms_Block_oreGold) { if ($var1 !== nms_Block_blockSteel && $var1 !== nms_Block_oreIron) { if ($var1 !== nms_Block_oreRedstone && $var1 !== nms_Block_oreRedstoneGlowing) { $var1 = $var1.$blockMaterial; nms_Material_$callClinit(); var$2 = $var1 === nms_Material_rock ? 1 : $var1 !== nms_Material_iron ? 0 : 1; } else var$2 = $this.$field_328_aY < 2 ? 0 : 1; } else var$2 = $this.$field_328_aY < 1 ? 0 : 1; } else var$2 = $this.$field_328_aY < 2 ? 0 : 1; } else var$2 = $this.$field_328_aY < 2 ? 0 : 1; return var$2; } function nms_ItemPickaxe__clinit_() { var var$1, var$2; var$1 = $rt_createArray(nms_Block, 14); var$2 = var$1.data; nms_Block_$callClinit(); var$2[0] = nms_Block_cobblestone; var$2[1] = nms_Block_stairDouble; var$2[2] = nms_Block_stairSingle; var$2[3] = nms_Block_stone; var$2[4] = nms_Block_cobblestoneMossy; var$2[5] = nms_Block_oreIron; var$2[6] = nms_Block_blockSteel; var$2[7] = nms_Block_oreCoal; var$2[8] = nms_Block_blockGold; var$2[9] = nms_Block_oreGold; var$2[10] = nms_Block_oreDiamond; var$2[11] = nms_Block_blockDiamond; var$2[12] = nms_Block_blockIce; var$2[13] = nms_Block_bloodStone; nms_ItemPickaxe_blocksEffectiveAgainst = var$1; } var nms_ItemAxe = $rt_classWithoutFields(nms_ItemTool); var nms_ItemAxe_blocksEffectiveAgainst = null; function nms_ItemAxe_$callClinit() { nms_ItemAxe_$callClinit = $rt_eraseClinit(nms_ItemAxe); nms_ItemAxe__clinit_(); } function nms_ItemAxe__init_(var_0, var_1) { var var_2 = new nms_ItemAxe(); nms_ItemAxe__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemAxe__init_0($this, $var1, $var2) { nms_ItemAxe_$callClinit(); nms_ItemTool__init_0($this, $var1, 3, $var2, nms_ItemAxe_blocksEffectiveAgainst); } function nms_ItemAxe__clinit_() { var var$1, var$2; var$1 = $rt_createArray(nms_Block, 4); var$2 = var$1.data; nms_Block_$callClinit(); var$2[0] = nms_Block_planks; var$2[1] = nms_Block_bookShelf; var$2[2] = nms_Block_wood; var$2[3] = nms_Block_crate; nms_ItemAxe_blocksEffectiveAgainst = var$1; } var nms_ItemFlintAndSteel = $rt_classWithoutFields(nms_Item); function nms_ItemFlintAndSteel__init_(var_0) { var var_1 = new nms_ItemFlintAndSteel(); nms_ItemFlintAndSteel__init_0(var_1, var_0); return var_1; } function nms_ItemFlintAndSteel__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; $this.$maxDamage = 64; } function nms_ItemFlintAndSteel_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, var$9, 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();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$var7) $var5 = $var5 + (-1) | 0; if ($var7 == 1) $var5 = $var5 + 1 | 0; if ($var7 == 2) $var6 = $var6 + (-1) | 0; if ($var7 == 3) $var6 = $var6 + 1 | 0; if ($var7 == 4) $var4 = $var4 + (-1) | 0; if ($var7 == 5) $var4 = $var4 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8) { nms_ItemStack_damageItem($var1, 1); return 1; } var$9 = $var4 + 0.5; var$10 = $var5 + 0.5; var$11 = $var6 + 0.5; nms_Item_$callClinit(); nms_World_playSoundEffect($var3, var$9, var$10, var$11, $rt_s(359), 1.0, ju_Random_nextFloat(nms_Item_itemRand) * 0.4000000059604645 + 0.800000011920929); nms_Block_$callClinit(); $var7 = nms_Block_fire.$blockID; $ptr = 2; case 2: nms_World_setBlockWithNotify($var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } nms_ItemStack_damageItem($var1, 1); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $ptr); } function nms_ItemFood() { nms_Item.call(this); this.$healAmount = 0; } function nms_ItemFood__init_(var_0, var_1) { var var_2 = new nms_ItemFood(); nms_ItemFood__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemFood__init_0($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$healAmount = $var2; $this.$maxStackSize = 1; } function nms_ItemFood_onItemRightClick($this, $var1, $var2, $var3) { $var1.$stackSize = $var1.$stackSize - 1 | 0; nms_EntityLiving_heal($var3, $this.$healAmount); return $var1; } var nms_ItemBow = $rt_classWithoutFields(nms_Item); function nms_ItemBow__init_(var_0) { var var_1 = new nms_ItemBow(); nms_ItemBow__init_0(var_1, var_0); return var_1; } function nms_ItemBow__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; } function nms_ItemBow_onItemRightClick($this, $var1, $var2, $var3) { var var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $var3.$inventory0; nms_Item_$callClinit(); var$5 = nms_InventoryPlayer_getInventorySlotContainItem(var$4, nms_Item_arrow.$shiftedIndex); if (var$5 < 0) var$6 = 0; else { var$7 = var$4.$mainInventory.data; var$4 = var$7[var$5]; var$6 = var$4.$stackSize - 1 | 0; var$4.$stackSize = var$6; if (var$6 <= 0) var$7[var$5] = null; var$6 = 1; } if (!var$6) return $var1; nms_World_playSoundAtEntity($var2, $var3, $rt_s(360), 1.0, 1.0 / (ju_Random_nextFloat(nms_Item_itemRand) * 0.4000000059604645 + 0.800000011920929)); var$4 = nms_EntityArrow__init_($var2, $var3); $ptr = 1; case 1: nms_World_entityJoinedWorld($var2, var$4); if ($rt_suspending()) { break main; } return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, var$7, $ptr); } function nms_ItemSword() { nms_Item.call(this); this.$weaponDamage = 0; } function nms_ItemSword__init_(var_0, var_1) { var var_2 = new nms_ItemSword(); nms_ItemSword__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemSword__init_0($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; $var1 = 32 << $var2; $this.$maxDamage = $var1; if ($var2 == 3) $this.$maxDamage = $var1 * 4 | 0; $this.$weaponDamage = 4 + ($var2 * 2 | 0) | 0; } function nms_ItemSword_getStrVsBlock($this, $var1, $var2) { return 1.5; } function nms_ItemSword_hitEntity($this, $var1, $var2) { nms_ItemStack_damageItem($var1, 1); } function nms_ItemSword_hitBlock($this, $var1, $var2, $var3, $var4, $var5) { nms_ItemStack_damageItem($var1, 2); } function nms_ItemSword_getDamageVsEntity($this, $var1) { return $this.$weaponDamage; } function nms_ItemSword_isFull3D($this) { return 1; } var nms_ItemSoup = $rt_classWithoutFields(nms_ItemFood); function nms_ItemSoup__init_(var_0, var_1) { var var_2 = new nms_ItemSoup(); nms_ItemSoup__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemSoup__init_0($this, $var1, $var2) { nms_ItemFood__init_0($this, $var1, $var2); } function nms_ItemSoup_onItemRightClick($this, $var1, $var2, $var3) { nms_ItemFood_onItemRightClick($this, $var1, $var2, $var3); $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bowlEmpty); return $var1; } var nms_ItemHoe = $rt_classWithoutFields(nms_Item); function nms_ItemHoe__init_(var_0, var_1) { var var_2 = new nms_ItemHoe(); nms_ItemHoe__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemHoe__init_0($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; $this.$maxDamage = 32 << $var2; } function nms_ItemHoe_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $var9, $var10, var$11, var$12, $var14, var$14, var$15, var$16, $var17, $var11, $var12, $var16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var16 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var14 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$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: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; $var7 = $var5 + 1 | 0; $ptr = 2; case 2: a: { $tmp = nms_World_getBlockMaterial($var3, $var4, $var7, $var6); if ($rt_suspending()) { break main; } $var9 = $tmp; if (!$var9.$func_878_a()) { nms_Block_$callClinit(); if ($var8 == nms_Block_grass.$blockID) break a; } nms_Block_$callClinit(); if ($var8 != nms_Block_dirt.$blockID) return 0; } nms_Block_$callClinit(); $var10 = nms_Block_tilledField; var$11 = $var4; var$12 = var$11 + 0.5; $var14 = $var5; var$14 = $var14 + 0.5; var$15 = $var6; var$16 = var$15 + 0.5; $var2 = nms_StepSound_func_1145_d($var10.$stepSound); $var17 = $var10.$stepSound; nms_World_playSoundEffect($var3, var$12, var$14, var$16, $var2, ($var17.$field_1677_b + 1.0) / 2.0, $var17.$field_1679_c * 0.800000011920929); $var7 = $var10.$blockID; $ptr = 3; case 3: nms_World_setBlockWithNotify($var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } nms_ItemStack_damageItem($var1, 1); if (!ju_Random_nextInt($var3.$rand1, 8) && $var8 == nms_Block_grass.$blockID) { $var11 = 1; $var12 = 0; var$12 = $var14 + 1.2000000476837158; if ($var12 < $var11) { $var14 = ju_Random_nextFloat($var3.$rand1) * 0.699999988079071 + 0.15000000596046448; $var16 = ju_Random_nextFloat($var3.$rand1) * 0.699999988079071 + 0.15000000596046448; $var17 = new nms_EntityItem; var$16 = var$11 + $var14; var$14 = var$15 + $var16; $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_seeds); nms_EntityItem__init_0($var17, $var3, var$16, var$12, var$14, $var1); $var17.$field_805_c = 10; $ptr = 4; continue main; } } return 1; case 4: nms_World_entityJoinedWorld($var3, $var17); if ($rt_suspending()) { break main; } $var12 = $var12 + 1 | 0; if ($var12 >= $var11) return 1; $var14 = ju_Random_nextFloat($var3.$rand1) * 0.699999988079071 + 0.15000000596046448; $var16 = ju_Random_nextFloat($var3.$rand1) * 0.699999988079071 + 0.15000000596046448; $var17 = new nms_EntityItem; var$16 = var$11 + $var14; var$14 = var$15 + $var16; $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_seeds); nms_EntityItem__init_0($var17, $var3, var$16, var$12, var$14, $var1); $var17.$field_805_c = 10; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$11, var$12, $var14, var$14, var$15, var$16, $var17, $var11, $var12, $var16, $ptr); } function nms_ItemHoe_isFull3D($this) { return 1; } function nms_ItemSeeds() { nms_Item.call(this); this.$field_318_a = 0; } function nms_ItemSeeds__init_0(var_0, var_1) { var var_2 = new nms_ItemSeeds(); nms_ItemSeeds__init_(var_2, var_0, var_1); return var_2; } function nms_ItemSeeds__init_($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$field_318_a = $var2; } function nms_ItemSeeds_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var7 != 1) return 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; nms_Block_$callClinit(); if ($var8 != nms_Block_tilledField.$blockID) return 0; $var5 = $var5 + 1 | 0; $var7 = $this.$field_318_a; $ptr = 2; case 2: nms_World_setBlockWithNotify($var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } $var1.$stackSize = $var1.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_ItemArmor() { var a = this; nms_Item.call(a); a.$armorLevel = 0; a.$armorType = 0; a.$damageReduceAmmount = 0; a.$renderIndex = 0; } var nms_ItemArmor_damageReduceAmmountArray = null; var nms_ItemArmor_maxDamageArray = null; function nms_ItemArmor__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_ItemArmor(); nms_ItemArmor__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_ItemArmor__init_0($this, $var1, $var2, $var3, $var4) { nms_Item__init_0($this, $var1); $this.$armorLevel = $var2; $this.$armorType = $var4; $this.$renderIndex = $var3; $this.$damageReduceAmmount = nms_ItemArmor_damageReduceAmmountArray.data[$var4]; $this.$maxDamage = (nms_ItemArmor_maxDamageArray.data[$var4] * 3 | 0) << $var2; $this.$maxStackSize = 1; } function nms_ItemArmor__clinit_() { nms_ItemArmor_damageReduceAmmountArray = $rt_createIntArrayFromData([3, 8, 6, 3]); nms_ItemArmor_maxDamageArray = $rt_createIntArrayFromData([11, 16, 15, 13]); } var nms_ItemPainting = $rt_classWithoutFields(nms_Item); function nms_ItemPainting__init_(var_0) { var var_1 = new nms_ItemPainting(); nms_ItemPainting__init_0(var_1, var_0); return var_1; } function nms_ItemPainting__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxDamage = 64; } function nms_ItemPainting_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $var9, 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();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$var7) return 0; if ($var7 == 1) return 0; $var8 = 0; if ($var7 == 4) $var8 = 1; if ($var7 == 3) $var8 = 2; if ($var7 == 5) $var8 = 3; $var9 = nms_EntityPainting__init_($var3); $var9.$field_9322_d = $var4; $var9.$field_9321_e = $var5; $var9.$field_9320_f = $var6; $var2 = ju_ArrayList__init_0(); var$10 = (nms_EnumArt_values()).data; $var4 = var$10.length; $var5 = 0; if ($var5 < $var4) { var$11 = var$10[$var5]; $var9.$field_690_b = var$11; nms_EntityPainting_func_412_b($var9, $var8); $ptr = 1; continue main; } $var4 = $var2.$size; if ($var4 > 0) $var9.$field_690_b = ju_ArrayList_get($var2, ju_Random_nextInt($var9.$rand2, $var4)); nms_EntityPainting_func_412_b($var9, $var8); $ptr = 2; continue main; case 1: $tmp = nms_EntityPainting_func_410_i($var9); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) ju_ArrayList_add($var2, var$11); $var5 = $var5 + 1 | 0; if ($var5 < $var4) { var$11 = var$10[$var5]; $var9.$field_690_b = var$11; nms_EntityPainting_func_412_b($var9, $var8); continue main; } $var4 = $var2.$size; if ($var4 > 0) $var9.$field_690_b = ju_ArrayList_get($var2, ju_Random_nextInt($var9.$rand2, $var4)); nms_EntityPainting_func_412_b($var9, $var8); $ptr = 2; case 2: $tmp = nms_EntityPainting_func_410_i($var9); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4) return 1; $ptr = 3; case 3: nms_World_entityJoinedWorld($var3, $var9); if ($rt_suspending()) { break main; } $var1.$stackSize = $var1.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, var$11, $ptr); } var nms_ItemSign = $rt_classWithoutFields(nms_Item); function nms_ItemSign__init_(var_0) { var var_1 = new nms_ItemSign(); nms_ItemSign__init_0(var_1, var_0); return var_1; } function nms_ItemSign__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxDamage = 64; $this.$maxStackSize = 1; } function nms_ItemSign_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$var7) return 0; $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8.$func_878_a()) return 0; var$9 = $rt_compare($var7, 1); if (!var$9) $var5 = $var5 + 1 | 0; if ($var7 == 2) $var6 = $var6 + (-1) | 0; if ($var7 == 3) $var6 = $var6 + 1 | 0; if ($var7 == 4) $var4 = $var4 + (-1) | 0; if ($var7 == 5) $var4 = $var4 + 1 | 0; nms_Block_$callClinit(); $var8 = nms_Block_signPost; $ptr = 2; case 2: $tmp = $var8.$canPlaceBlockAt($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } var$10 = $tmp; if (!var$10) return 0; if (var$9) { var$10 = nms_Block_signWall.$blockID; $ptr = 3; continue main; } $var7 = nms_Block_signPost.$blockID; var$10 = nms_MathHelper_floor_double(($var2.$rotationYaw + 180.0) * 16.0 / 360.0 + 0.5) & 15; $ptr = 4; continue main; case 3: nms_World_setBlockAndMetadataWithNotify($var3, $var4, $var5, $var6, var$10, $var7); if ($rt_suspending()) { break main; } $var1.$stackSize = $var1.$stackSize - 1 | 0; $ptr = 5; continue main; case 4: nms_World_setBlockAndMetadataWithNotify($var3, $var4, $var5, $var6, $var7, var$10); if ($rt_suspending()) { break main; } $var1.$stackSize = $var1.$stackSize - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockTileEntity($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; $var8 = $var1; if ($var8 === null) return 1; $var2 = $var2.$mc5; $var1 = new nms_GuiEditSign; nms_GuiScreen__init_($var1); $var1.$screenTitle = $rt_s(361); $var1.$editLine = 0; $var1.$entitySign = $var8; $ptr = 6; case 6: nmc_Minecraft_displayGuiScreen($var2, $var1); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$9, var$10, $ptr); } function nms_ItemDoor() { nms_Item.call(this); this.$field_321_a = null; } function nms_ItemDoor__init_0(var_0, var_1) { var var_2 = new nms_ItemDoor(); nms_ItemDoor__init_(var_2, var_0, var_1); return var_2; } function nms_ItemDoor__init_($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$field_321_a = $var2; $this.$maxDamage = 64; $this.$maxStackSize = 1; } function nms_ItemDoor_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, $var8, $var9, $var10, $var11, $var16, var$14, var$15, $var12, $var13, $var14, $var15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var16 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var7 != 1) return 0; var$8 = $var5 + 1 | 0; $var8 = $this.$field_321_a; nms_Material_$callClinit(); if ($var8 !== nms_Material_wood) { nms_Block_$callClinit(); $var8 = nms_Block_doorSteel; } else { nms_Block_$callClinit(); $var8 = nms_Block_doorWood; } $ptr = 1; case 1: $tmp = $var8.$canPlaceBlockAt($var3, $var4, var$8, $var6); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return 0; $var9 = nms_MathHelper_floor_double(($var2.$rotationYaw + 180.0) * 4.0 / 360.0 - 0.5) & 3; $var10 = 0; $var11 = 0; if (!$var9) $var11 = 1; if ($var9 == 1) $var10 = (-1); if ($var9 == 2) $var11 = (-1); if ($var9 == 3) $var10 = 1; $var16 = $var4 - $var10 | 0; var$14 = $var6 - $var11 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockOpaqueCube($var3, $var16, var$8, var$14); if ($rt_suspending()) { break main; } $var5 = $tmp; $var5 = !$var5 ? 0 : 1; var$15 = var$8 + 1 | 0; $ptr = 3; case 3: $tmp = nms_World_isBlockOpaqueCube($var3, $var16, var$15, var$14); if ($rt_suspending()) { break main; } $var7 = $tmp; $var12 = $var5 + (!$var7 ? 0 : 1) | 0; $var5 = $var4 + $var10 | 0; $var7 = $var6 + $var11 | 0; $ptr = 4; case 4: $tmp = nms_World_isBlockOpaqueCube($var3, $var5, var$8, $var7); if ($rt_suspending()) { break main; } $var13 = $tmp; $var13 = !$var13 ? 0 : 1; $ptr = 5; case 5: $tmp = nms_World_isBlockOpaqueCube($var3, $var5, var$15, $var7); if ($rt_suspending()) { break main; } $var14 = $tmp; $var13 = $var13 + (!$var14 ? 0 : 1) | 0; $ptr = 6; case 6: $tmp = nms_World_getBlockId($var3, $var16, var$8, var$14); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 != $var8.$blockID) { $ptr = 7; continue main; } $var14 = 1; $ptr = 8; continue main; case 7: $tmp = nms_World_getBlockId($var3, $var16, var$15, var$14); if ($rt_suspending()) { break main; } $var14 = $tmp; $var14 = $var14 == $var8.$blockID ? 1 : 0; $ptr = 8; case 8: $tmp = nms_World_getBlockId($var3, $var5, var$8, $var7); if ($rt_suspending()) { break main; } $var15 = $tmp; if ($var15 != $var8.$blockID) { $ptr = 9; continue main; } $var16 = 0; if ($var14 && !1) $var16 = 1; else if ($var13 > $var12) $var16 = 1; if ($var16) $var9 = (($var9 - 1 | 0) & 3) + 4 | 0; $var5 = $var8.$blockID; $ptr = 10; continue main; case 9: $tmp = nms_World_getBlockId($var3, $var5, var$15, $var7); if ($rt_suspending()) { break main; } $var5 = $tmp; $var15 = $var5 == $var8.$blockID ? 1 : 0; $var16 = 0; if ($var14 && !$var15) $var16 = 1; else if ($var13 > $var12) $var16 = 1; if ($var16) $var9 = (($var9 - 1 | 0) & 3) + 4 | 0; $var5 = $var8.$blockID; $ptr = 10; case 10: nms_World_setBlockWithNotify($var3, $var4, var$8, $var6, $var5); if ($rt_suspending()) { break main; } $ptr = 11; case 11: nms_World_setBlockMetadataWithNotify($var3, $var4, var$8, $var6, $var9); if ($rt_suspending()) { break main; } $var5 = $var8.$blockID; $ptr = 12; case 12: nms_World_setBlockWithNotify($var3, $var4, var$15, $var6, $var5); if ($rt_suspending()) { break main; } $var5 = $var9 + 8 | 0; $ptr = 13; case 13: nms_World_setBlockMetadataWithNotify($var3, $var4, var$15, $var6, $var5); if ($rt_suspending()) { break main; } $var1.$stackSize = $var1.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var8, $var9, $var10, $var11, $var16, var$14, var$15, $var12, $var13, $var14, $var15, $ptr); } function nms_ItemBucket() { nms_Item.call(this); this.$isFull = 0; } function nms_ItemBucket__init_(var_0, var_1) { var var_2 = new nms_ItemBucket(); nms_ItemBucket__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemBucket__init_0($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; $this.$maxDamage = 64; $this.$isFull = $var2; } function nms_ItemBucket_onItemRightClick($this, $var1, $var2, $var3) { var $var15, $var5, $var6, $var7, $var11, $var9, $var13, $var14, $var17, $var16, $var23, var$15, $var24, $var25, $var26, $var27, $var28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();var$15 = $thread.pop();$var23 = $thread.pop();$var16 = $thread.pop();$var17 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var9 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var15 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var15 = $var3.$prevRotationPitch; $var5 = $var15 + ($var3.$rotationPitch - $var15) * 1.0; $var15 = $var3.$prevRotationYaw; $var6 = $var15 + ($var3.$rotationYaw - $var15) * 1.0; $var7 = $var3.$prevPosX; $var7 = $var7 + ($var3.$posX - $var7) * 1.0; $var11 = $var3.$prevPosY; $var9 = $var11 + ($var3.$posY - $var11) * 1.0 + 1.62 - $var3.$yOffset; $var11 = $var3.$prevPosZ; $var11 = $var11 + ($var3.$posZ - $var11) * 1.0; $var13 = nms_Vec3D_createVector($var7, $var9, $var11); $var15 = -$var6 * 0.01745329238474369 - 3.1415927410125732; $var14 = nms_MathHelper_cos($var15); $var15 = nms_MathHelper_sin($var15); $var17 = -$var5 * 0.01745329238474369; $var16 = -nms_MathHelper_cos($var17); $var23 = nms_Vec3D_addVector($var13, $var15 * $var16 * 5.0, nms_MathHelper_sin($var17) * 5.0, $var14 * $var16 * 5.0); var$15 = $this.$isFull ? 0 : 1; $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks0($var2, $var13, $var23, var$15); if ($rt_suspending()) { break main; } $var24 = $tmp; if ($var24 === null) return $var1; if ($var24.$typeOfHit) { if (!$this.$isFull && $var24.$entityHit instanceof nms_EntityCow) { $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bucketMilk); return $var1; } return $var1; } $var25 = $var24.$blockX; $var26 = $var24.$blockY; $var27 = $var24.$blockZ; var$15 = $this.$isFull; if (!var$15) { $ptr = 2; continue main; } if (var$15 < 0) { $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bucketEmpty); return $var1; } $var28 = $var24.$sideHit; if (!$var28) $var26 = $var26 + (-1) | 0; if ($var28 == 1) $var26 = $var26 + 1 | 0; if ($var28 == 2) $var27 = $var27 + (-1) | 0; if ($var28 == 3) $var27 = $var27 + 1 | 0; if ($var28 == 4) $var25 = $var25 + (-1) | 0; if ($var28 == 5) $var25 = $var25 + 1 | 0; $ptr = 8; continue main; case 2: $tmp = nms_World_getBlockMaterial($var2, $var25, $var26, $var27); if ($rt_suspending()) { break main; } $var3 = $tmp; nms_Material_$callClinit(); if ($var3 !== nms_Material_water) { $ptr = 3; continue main; } $ptr = 4; continue main; case 3: $tmp = nms_World_getBlockMaterial($var2, $var25, $var26, $var27); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 !== nms_Material_lava) return $var1; $ptr = 5; continue main; case 4: $tmp = nms_World_getBlockMetadata($var2, $var25, $var26, $var27); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15) { $ptr = 3; continue main; } var$15 = 0; $ptr = 6; continue main; case 5: $tmp = nms_World_getBlockMetadata($var2, $var25, $var26, $var27); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15) return $var1; var$15 = 0; $ptr = 7; continue main; case 6: nms_World_setBlockWithNotify($var2, $var25, $var26, $var27, var$15); if ($rt_suspending()) { break main; } $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bucketWater); return $var1; case 7: nms_World_setBlockWithNotify($var2, $var25, $var26, $var27, var$15); if ($rt_suspending()) { break main; } $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bucketLava); return $var1; case 8: $tmp = nms_World_getBlockId($var2, $var25, $var26, $var27); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15) { $ptr = 9; continue main; } if ($var2.$worldProvider.$field_6479_d) { var$15 = $this.$isFull; nms_Block_$callClinit(); if (var$15 == nms_Block_waterStill.$blockID) { nms_World_playSoundEffect($var2, $var7 + 0.5, $var9 + 0.5, $var11 + 0.5, $rt_s(197), 0.5, 2.5999999046325684 + (ju_Random_nextFloat($var2.$rand1) - ju_Random_nextFloat($var2.$rand1)) * 0.800000011920929); $var28 = 0; while ($var28 < 8) { nms_World_spawnParticle($var2, $rt_s(296), $var25 + jl_Math_random(), $var26 + jl_Math_random(), $var27 + jl_Math_random(), 0.0, 0.0, 0.0); $var28 = $var28 + 1 | 0; } $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bucketEmpty); return $var1; } } var$15 = $this.$isFull; $var28 = 0; $ptr = 10; continue main; case 9: $tmp = nms_World_getBlockMaterial($var2, $var25, $var26, $var27); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3.$func_878_a()) return $var1; if ($var2.$worldProvider.$field_6479_d) { var$15 = $this.$isFull; nms_Block_$callClinit(); if (var$15 == nms_Block_waterStill.$blockID) { nms_World_playSoundEffect($var2, $var7 + 0.5, $var9 + 0.5, $var11 + 0.5, $rt_s(197), 0.5, 2.5999999046325684 + (ju_Random_nextFloat($var2.$rand1) - ju_Random_nextFloat($var2.$rand1)) * 0.800000011920929); $var28 = 0; while ($var28 < 8) { nms_World_spawnParticle($var2, $rt_s(296), $var25 + jl_Math_random(), $var26 + jl_Math_random(), $var27 + jl_Math_random(), 0.0, 0.0, 0.0); $var28 = $var28 + 1 | 0; } $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bucketEmpty); return $var1; } } var$15 = $this.$isFull; $var28 = 0; $ptr = 10; case 10: nms_World_setBlockAndMetadataWithNotify($var2, $var25, $var26, $var27, var$15, $var28); if ($rt_suspending()) { break main; } $var1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2($var1, nms_Item_bucketEmpty); return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var15, $var5, $var6, $var7, $var11, $var9, $var13, $var14, $var17, $var16, $var23, var$15, $var24, $var25, $var26, $var27, $var28, $ptr); } function nms_ItemMinecart() { nms_Item.call(this); this.$field_317_a = 0; } function nms_ItemMinecart__init_(var_0, var_1) { var var_2 = new nms_ItemMinecart(); nms_ItemMinecart__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemMinecart__init_0($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; $this.$field_317_a = $var2; } function nms_ItemMinecart_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, var$9, 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();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; nms_Block_$callClinit(); if ($var8 != nms_Block_minecartTrack.$blockID) return 0; $var2 = new nms_EntityMinecart; var$9 = $var4 + 0.5; var$10 = $var5 + 0.5; var$11 = $var6 + 0.5; $var4 = $this.$field_317_a; nms_EntityMinecart__init_($var2, $var3); nms_Entity_setPosition($var2, var$9, var$10 + $var2.$yOffset, var$11); $var2.$motionX = 0.0; $var2.$motionY = 0.0; $var2.$motionZ = 0.0; $var2.$prevPosX = var$9; $var2.$prevPosY = var$10; $var2.$prevPosZ = var$11; $var2.$d = $var4; $ptr = 2; case 2: nms_World_entityJoinedWorld($var3, $var2); if ($rt_suspending()) { break main; } $var1.$stackSize = $var1.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $ptr); } var nms_ItemSaddle = $rt_classWithoutFields(nms_Item); function nms_ItemSaddle__init_(var_0) { var var_1 = new nms_ItemSaddle(); nms_ItemSaddle__init_0(var_1, var_0); return var_1; } function nms_ItemSaddle__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; $this.$maxDamage = 64; } function nms_ItemSaddle_func_4019_b($this, $var1, $var2) { var $var3; if ($var2 instanceof nms_EntityPig) { $var3 = $var2; if (!$var3.$rideable) { $var3.$rideable = 1; $var1.$stackSize = $var1.$stackSize - 1 | 0; } } } function nms_ItemSaddle_hitEntity($this, $var1, $var2) { nms_ItemSaddle_func_4019_b($this, $var1, $var2); } var nms_ItemRedstone = $rt_classWithoutFields(nms_Item); function nms_ItemRedstone__init_(var_0) { var var_1 = new nms_ItemRedstone(); nms_ItemRedstone__init_0(var_1, var_0); return var_1; } function nms_ItemRedstone__init_0($this, $var1) { nms_Item__init_0($this, $var1); } function nms_ItemRedstone_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$var7) $var5 = $var5 + (-1) | 0; if ($var7 == 1) $var5 = $var5 + 1 | 0; if ($var7 == 2) $var6 = $var6 + (-1) | 0; if ($var7 == 3) $var6 = $var6 + 1 | 0; if ($var7 == 4) $var4 = $var4 + (-1) | 0; if ($var7 == 5) $var4 = $var4 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) return 0; nms_Block_$callClinit(); $var2 = nms_Block_redstoneWire; $ptr = 2; case 2: $tmp = $var2.$canPlaceBlockAt($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; if (!$var7) return 1; $var1.$stackSize = $var1.$stackSize - 1 | 0; $var7 = nms_Block_redstoneWire.$blockID; $ptr = 3; case 3: nms_World_setBlockWithNotify($var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } var nms_ItemSnowball = $rt_classWithoutFields(nms_Item); function nms_ItemSnowball__init_(var_0) { var var_1 = new nms_ItemSnowball(); nms_ItemSnowball__init_0(var_1, var_0); return var_1; } function nms_ItemSnowball__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 16; } function nms_ItemSnowball_onItemRightClick($this, $var1, $var2, $var3) { var var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1.$stackSize = $var1.$stackSize - 1 | 0; nms_Item_$callClinit(); nms_World_playSoundAtEntity($var2, $var3, $rt_s(360), 0.5, 0.4000000059604645 / (ju_Random_nextFloat(nms_Item_itemRand) * 0.4000000059604645 + 0.800000011920929)); var$4 = nms_EntitySnowball__init_($var2, $var3); $ptr = 1; case 1: nms_World_entityJoinedWorld($var2, var$4); if ($rt_suspending()) { break main; } return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $ptr); } var nms_ItemBoat = $rt_classWithoutFields(nms_Item); function nms_ItemBoat__init_(var_0) { var var_1 = new nms_ItemBoat(); nms_ItemBoat__init_0(var_1, var_0); return var_1; } function nms_ItemBoat__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxStackSize = 1; } function nms_ItemBoat_onItemRightClick($this, $var1, $var2, $var3) { var $var6, $var5, $var14, $var7, $var9, $var21, $var13, $var15, $var16, $var17, $var18, $var20, $var23, $var25, $var24, $var26, $var27, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var25 = $thread.pop();$var23 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var21 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var14 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $var3.$prevRotationPitch; $var5 = $var6 + ($var3.$rotationPitch - $var6) * 1.0; $var14 = $var3.$prevRotationYaw; $var6 = $var14 + ($var3.$rotationYaw - $var14) * 1.0; $var7 = $var3.$prevPosX; $var7 = $var7 + ($var3.$posX - $var7) * 1.0; $var9 = $var3.$prevPosY; $var9 = $var9 + ($var3.$posY - $var9) * 1.0 + 1.62 - $var3.$yOffset; $var21 = $var3.$prevPosZ; $var13 = nms_Vec3D_createVector($var7, $var9, $var21 + ($var3.$posZ - $var21) * 1.0); $var6 = -$var6 * 0.01745329238474369 - 3.1415927410125732; $var14 = nms_MathHelper_cos($var6); $var15 = nms_MathHelper_sin($var6); $var6 = -$var5 * 0.01745329238474369; $var16 = -nms_MathHelper_cos($var6); $var17 = nms_MathHelper_sin($var6); $var18 = $var15 * $var16; $var20 = $var14 * $var16; $var23 = nms_Vec3D_addVector($var13, $var18 * 5.0, $var17 * 5.0, $var20 * 5.0); $var25 = 1; $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks0($var2, $var13, $var23, $var25); if ($rt_suspending()) { break main; } $var24 = $tmp; if ($var24 === null) return $var1; if ($var24.$typeOfHit) return $var1; $var25 = $var24.$blockX; $var26 = $var24.$blockY; $var27 = $var24.$blockZ; $var3 = new nms_EntityBoat; $var7 = $var25 + 0.5; $var9 = $var26 + 1.5; $var11 = $var27 + 0.5; nms_EntityBoat__init_($var3, $var2); nms_Entity_setPosition($var3, $var7, $var9 + $var3.$yOffset, $var11); $var3.$motionX = 0.0; $var3.$motionY = 0.0; $var3.$motionZ = 0.0; $var3.$prevPosX = $var7; $var3.$prevPosY = $var9; $var3.$prevPosZ = $var11; $ptr = 2; case 2: nms_World_entityJoinedWorld($var2, $var3); if ($rt_suspending()) { break main; } $var1.$stackSize = $var1.$stackSize - 1 | 0; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var6, $var5, $var14, $var7, $var9, $var21, $var13, $var15, $var16, $var17, $var18, $var20, $var23, $var25, $var24, $var26, $var27, $var11, $ptr); } function nms_ItemReed() { nms_Item.call(this); this.$field_320_a = 0; } function nms_ItemReed__init_(var_0, var_1) { var var_2 = new nms_ItemReed(); nms_ItemReed__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemReed__init_0($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$field_320_a = $var2.$blockID; } function nms_ItemReed_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, var$9, var$10, $var8, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_Block_$callClinit(); if (var$8 == nms_Block_snow.$blockID) $var7 = 0; else { if (!$var7) $var5 = $var5 + (-1) | 0; if ($var7 == 1) $var5 = $var5 + 1 | 0; if ($var7 == 2) $var6 = $var6 + (-1) | 0; if ($var7 == 3) $var6 = $var6 + 1 | 0; if ($var7 == 4) $var4 = $var4 + (-1) | 0; if ($var7 == 5) $var4 = $var4 + 1 | 0; } if (!$var1.$stackSize) return 0; var$8 = $this.$field_320_a; var$9 = 0; $ptr = 2; case 2: $tmp = nms_World_canBlockBePlacedAt($var3, var$8, $var4, $var5, $var6, var$9); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) return 1; var$10 = nms_Block_blocksList.data; var$8 = $this.$field_320_a; $var8 = var$10[var$8]; $ptr = 3; case 3: $tmp = nms_World_setBlockWithNotify($var3, $var4, $var5, $var6, var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) return 1; $var2 = nms_Block_blocksList.data[$this.$field_320_a]; $ptr = 4; case 4: $var2.$onBlockPlaced($var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } var$12 = $var4 + 0.5; var$13 = $var5 + 0.5; var$14 = $var6 + 0.5; $var2 = nms_StepSound_func_1145_d($var8.$stepSound); $var8 = $var8.$stepSound; nms_World_playSoundEffect($var3, var$12, var$13, var$14, $var2, ($var8.$field_1677_b + 1.0) / 2.0, $var8.$field_1679_c * 0.800000011920929); $var1.$stackSize = $var1.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $var8, var$12, var$13, var$14, $ptr); } var nms_ItemFishingRod = $rt_classWithoutFields(nms_Item); function nms_ItemFishingRod__init_(var_0) { var var_1 = new nms_ItemFishingRod(); nms_ItemFishingRod__init_0(var_1, var_0); return var_1; } function nms_ItemFishingRod__init_0($this, $var1) { nms_Item__init_0($this, $var1); $this.$maxDamage = 64; } function nms_ItemFishingRod_isFull3D($this) { return 1; } function nms_ItemFishingRod_shouldRotateAroundWhenRendering($this) { return 1; } function nms_ItemFishingRod_onItemRightClick($this, $var1, $var2, $var3) { var var$4, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $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: var$4 = $var3.$fishEntity; if (var$4 !== null) { $ptr = 2; continue main; } nms_Item_$callClinit(); nms_World_playSoundAtEntity($var2, $var3, $rt_s(360), 0.5, 0.4000000059604645 / (ju_Random_nextFloat(nms_Item_itemRand) * 0.4000000059604645 + 0.800000011920929)); var$4 = nms_EntityFish__init_($var2, $var3); $ptr = 1; case 1: nms_World_entityJoinedWorld($var2, var$4); if ($rt_suspending()) { break main; } nms_EntityPlayer_func_457_w($var3); return $var1; case 2: $tmp = nms_EntityFish_func_4043_i(var$4); if ($rt_suspending()) { break main; } $var4 = $tmp; nms_ItemStack_damageItem($var1, $var4); nms_EntityPlayer_func_457_w($var3); return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var4, $ptr); } function nms_ItemRecord() { nms_Item.call(this); this.$recordName = null; } function nms_ItemRecord__init_(var_0, var_1) { var var_2 = new nms_ItemRecord(); nms_ItemRecord__init_0(var_2, var_0, var_1); return var_2; } function nms_ItemRecord__init_0($this, $var1, $var2) { nms_Item__init_0($this, $var1); $this.$recordName = $var2; $this.$maxStackSize = 1; } function nms_ItemRecord_onItemUse($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; nms_Block_$callClinit(); if ($var7 != nms_Block_jukebox.$blockID) return 0; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) return 0; $var7 = $this.$shiftedIndex; nms_Item_$callClinit(); $var7 = ($var7 - nms_Item_record13.$shiftedIndex | 0) + 1 | 0; $ptr = 3; case 3: nms_World_setBlockMetadataWithNotify($var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } nms_World_playRecord($var3, $this.$recordName, $var4, $var5, $var6); $var1.$stackSize = $var1.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } 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 var_0 = new ju_GregorianCalendar(); ju_GregorianCalendar__init_(var_0); return var_0; } function ju_GregorianCalendar__init_($this) { var var$1, var$2, var$3, var$4, $$je; var$1 = ju_Locale_getDefault(); ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { ju_TimeZone_defaultTz = null; ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$2 = ju_TimeZone_defaultTz; a: { try { var$3 = jl_Object_clone(var$2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$3 = null; } b: { var$3.$rawOffset = var$2.$rawOffset; var$3.$underlyingZone = var$2.$underlyingZone; ju_Calendar_$callClinit(); $this.$fields = $rt_createIntArray(17); $this.$isSet = $rt_createBooleanArray(17); $this.$areFieldsSet = 0; $this.$isTimeSet = 0; $this.$lenient = 1; $this.$zone = var$3; $this.$areFieldsSet = 0; $this.$fields = $rt_createIntArray(17); $this.$isSet = $rt_createBooleanArray(17); $this.$areFieldsSet = 0; $this.$isTimeSet = 0; $this.$lenient = 1; if (var$1 === ju_Calendar_cacheFor) { var$4 = ju_Calendar_firstDayOfWeekCache; if (var$4 >= 0) break b; } var$2 = otciu_CLDRHelper_resolveCountry(var$1.$languageCode, var$1.$countryCode); if (otciu_CLDRHelper_$$metadata$$13 === null) otciu_CLDRHelper_$$metadata$$13 = otciu_CLDRHelper_getFirstDayOfWeek$$create(); var$3 = otciu_CLDRHelper_$$metadata$$13; var$4 = var$3.hasOwnProperty($rt_ustr(var$2)) ? var$3[$rt_ustr(var$2)].value : var$3[$rt_ustr($rt_s(362))].value; ju_Calendar_firstDayOfWeekCache = var$4; } c: { $this.$firstDayOfWeek = var$4; $this.$isCached = 0; if (var$1 === ju_Calendar_cacheFor) { var$4 = ju_Calendar_minimalDaysInFirstWeekCache; if (var$4 >= 0) break c; } var$2 = otciu_CLDRHelper_resolveCountry(var$1.$languageCode, var$1.$countryCode); if (otciu_CLDRHelper_$$metadata$$12 === null) otciu_CLDRHelper_$$metadata$$12 = otciu_CLDRHelper_getMinimalDaysInFirstWeek$$create(); var$3 = otciu_CLDRHelper_$$metadata$$12; var$4 = var$3.hasOwnProperty($rt_ustr(var$2)) ? var$3[$rt_ustr(var$2)].value : var$3[$rt_ustr($rt_s(362))].value; ju_Calendar_minimalDaysInFirstWeekCache = var$4; } $this.$minimalDaysInFirstWeek = var$4; $this.$isCached = 0; ju_Calendar_cacheFor = var$1; $this.$gregorianCutover = Long_create(4184124416, 4294964450); $this.$changeYear = 1582; $this.$julianSkew = ((-1) + ju_GregorianCalendar_julianError($this) | 0) - (($this.$changeYear - 2000 | 0) / 100 | 0) | 0; $this.$cachedFields = $rt_createIntArrayFromData([0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); $this.$currentYearSkew = 10; ju_Calendar_setTimeInMillis($this, jl_System_currentTimeMillis()); } function ju_GregorianCalendar_fullFieldsCalc($this, $timeVal, $millis, $zoneOffset) { var $days, var$5, var$6, $dayOfYear, var$8, $month, $leapYear, $date, $dstOffset, var$13, $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); var$8 = $this.$fields.data; var$8[6] = $dayOfYear; if (var$8[1] == $this.$changeYear && Long_le($this.$gregorianCutover, var$6)) $dayOfYear = $dayOfYear + $this.$currentYearSkew | 0; $month = $dayOfYear / 32 | 0; $leapYear = ju_GregorianCalendar_isLeapYear($this, var$8[1]); $date = $dayOfYear - 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); var$8 = $this.$fields.data; if (var$8[1] > 0) $dstOffset = $dstOffset - $zoneOffset | 0; var$8[16] = $dstOffset; if (!$dstOffset) var$13 = $days; else { $millis = $millis + $dstOffset | 0; if ($millis < 0) { $millis = $millis + 86400000 | 0; var$13 = Long_sub($days, Long_fromInt(1)); } else if ($millis < 86400000) var$13 = $days; else { $millis = $millis - 86400000 | 0; var$13 = Long_add($days, Long_fromInt(1)); } if (Long_ne($days, var$13)) { $days = Long_add(Long_sub($timeVal, var$5), Long_fromInt($dstOffset)); $dstOffset = ju_GregorianCalendar_computeYearAndDay($this, var$13, $days); var$8 = $this.$fields.data; var$8[6] = $dstOffset; if (var$8[1] == $this.$changeYear && Long_le($this.$gregorianCutover, $days)) $dstOffset = $dstOffset + $this.$currentYearSkew | 0; $month = $dstOffset / 32 | 0; $leapYear = ju_GregorianCalendar_isLeapYear($this, var$8[1]); $date = $dstOffset - 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$13, Long_fromInt(3))) + 1 | 0; } } var$8 = $this.$fields.data; var$8[14] = $millis % 1000 | 0; $millis = $millis / 1000 | 0; var$8[13] = $millis % 60 | 0; $millis = $millis / 60 | 0; var$8[12] = $millis % 60 | 0; var$8[11] = ($millis / 60 | 0) % 24 | 0; var$8[9] = var$8[11] <= 11 ? 0 : 1; var$8[10] = var$8[11] % 12 | 0; if (var$8[1] > 0) var$8[0] = 1; else { var$8[0] = 0; var$8[1] = ( -var$8[1] | 0) + 1 | 0; } var$8[2] = $month; var$8[5] = $date; $zoneOffset = $date - 1 | 0; var$8[8] = ($zoneOffset / 7 | 0) + 1 | 0; var$8[4] = (($zoneOffset + ju_GregorianCalendar_mod7($this, Long_sub(Long_sub(Long_sub(var$13, 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$13, 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$8 = $this.$fields.data; $dstOffset = !ju_GregorianCalendar_isLeapYear($this, var$8[1] - 1 | 0) ? 1 : 2; var$8[3] = (7 - ju_GregorianCalendar_mod7($this, Long_fromInt($daysFromStart - $dstOffset | 0)) | 0) < ju_Calendar_getMinimalDaysInFirstWeek($this) ? 52 : 53; } else { $millis = $this.$fields.data[6]; $zoneOffset = !$leapYear ? 366 : 367; $dstOffset = !$leapYear ? 1 : 2; if ($millis < ($zoneOffset - ju_GregorianCalendar_mod7($this, Long_fromInt($daysFromStart + $dstOffset | 0)) | 0)) $this.$fields.data[3] = $week; else { var$8 = $this.$fields; $dstOffset = !$leapYear ? 1 : 2; if ((7 - ju_GregorianCalendar_mod7($this, Long_fromInt($daysFromStart + $dstOffset | 0)) | 0) >= ju_Calendar_getMinimalDaysInFirstWeek($this)) $week = 1; var$8.data[3] = $week; } } } function ju_GregorianCalendar_cachedFieldsCheckAndGet($this, $timeVal, $newTimeMillis, $newTimeMillisAdjusted, $millis, $zoneOffset) { var var$6, $dstOffset, var$8, var$9, var$10; a: { b: { var$6 = $this.$fields.data; $dstOffset = var$6[16]; if ($this.$isCached) { var$8 = $this.$nextMidnightMillis; if (Long_lt($newTimeMillis, var$8)) { var$9 = $this.$lastMidnightMillis; if (Long_gt($newTimeMillis, var$9)) { var$10 = $this.$cachedFields.data; if (var$10[4] == $zoneOffset && !(!$dstOffset && Long_ge($newTimeMillisAdjusted, var$8))) { if (!$dstOffset) break b; if (Long_gt($newTimeMillisAdjusted, var$9)) break b; } } } } ju_GregorianCalendar_fullFieldsCalc($this, $timeVal, $millis, $zoneOffset); $this.$isCached = 0; break a; } var$6[1] = var$10[0]; var$6[2] = var$10[1]; var$6[5] = var$10[2]; var$6[7] = var$10[3]; var$6[0] = var$10[5]; var$6[3] = var$10[6]; var$6[4] = var$10[7]; var$6[6] = var$10[8]; var$6[8] = var$10[9]; } } function ju_GregorianCalendar_getTimeZoneOffset($this, $localTime) { var var$2; var$2 = $this.$zone; return (var$2.$rawOffset + var$2.$diff | 0) + var$2.$underlyingZone.$iWallOffset | 0; } function ju_GregorianCalendar_computeFields($this) { var $zoneOffset, var$2, $millis, var$4, $dstOffset, $offset, $newTime, $i, var$9; $zoneOffset = ju_GregorianCalendar_getTimeZoneOffset($this, $this.$time); if (!$this.$isSet.data[15]) $this.$fields.data[15] = $zoneOffset; var$2 = $this.$time; $millis = Long_lo(Long_rem(var$2, Long_fromInt(86400000))); var$4 = $this.$fields.data; $dstOffset = var$4[16]; $offset = $zoneOffset + $dstOffset | 0; $newTime = Long_add(var$2, Long_fromInt($offset)); $i = Long_compare(var$2, Long_ZERO); if ($i > 0 && Long_lt($newTime, Long_ZERO) && $offset > 0) $newTime = Long_create(4294967295, 2147483647); else if ($i < 0 && Long_gt($newTime, Long_ZERO) && $offset < 0) $newTime = Long_create(0, 2147483648); if (!$this.$isCached) ju_GregorianCalendar_fullFieldsCalc($this, var$2, $millis, $zoneOffset); else { $i = (($millis >= 0 ? $millis : $millis + 86400000 | 0) + $zoneOffset | 0) + $dstOffset | 0; if ($i < 0) $i = $i + 86400000 | 0; else if ($i >= 86400000) $i = $i - 86400000 | 0; var$4[14] = $i % 1000 | 0; $offset = $i / 1000 | 0; var$4[13] = $offset % 60 | 0; $offset = $offset / 60 | 0; var$4[12] = $offset % 60 | 0; var$4[11] = ($offset / 60 | 0) % 24 | 0; var$4[9] = var$4[11] <= 11 ? 0 : 1; var$4[10] = var$4[11] % 12 | 0; $offset = Long_compare($newTime, Long_ZERO); ju_GregorianCalendar_cachedFieldsCheckAndGet($this, var$2, $newTime, $offset > 0 && $offset < 0 && !$dstOffset ? Long_create(4294967295, 2147483647) : $offset >= 0 ? $newTime : $offset <= 0 ? $newTime : $dstOffset ? Long_create(0, 2147483648) : $newTime, $millis, $zoneOffset); } $i = 0; while ($i < 17) { $this.$isSet.data[$i] = 1; $i = $i + 1 | 0; } if (!$this.$isCached && Long_ne($newTime, Long_create(4294967295, 2147483647)) && Long_ne($newTime, Long_create(0, 2147483648))) { var$9 = $this.$cachedFields.data; var$4 = $this.$fields.data; var$9[0] = var$4[1]; var$9[1] = var$4[2]; var$9[2] = var$4[5]; var$9[3] = var$4[7]; var$9[4] = $zoneOffset; var$9[5] = var$4[0]; var$9[6] = var$4[3]; var$9[7] = var$4[4]; var$9[8] = var$4[6]; var$9[9] = var$4[8]; $this.$nextMidnightMillis = Long_add($newTime, Long_fromInt(((0 + ((((23 - var$4[11] | 0) * 60 | 0) * 60 | 0) * 1000 | 0) | 0) + (((59 - var$4[12] | 0) * 60 | 0) * 1000 | 0) | 0) + ((59 - var$4[13] | 0) * 1000 | 0) | 0)); $this.$lastMidnightMillis = Long_sub($newTime, Long_fromInt(((((var$4[11] * 60 | 0) * 60 | 0) * 1000 | 0) + ((var$4[12] * 60 | 0) * 1000 | 0) | 0) + (var$4[13] * 1000 | 0) | 0)); $this.$isCached = 1; } } function ju_GregorianCalendar_computeTime($this) { var var$1, var$2, $hour, $timeVal, $year, $weekMonthSet, $useMonth, $skew, $useWeekYear, $days, $dayOfWeek, $month, $leapYear, $useDate; a: { b: { c: { d: { if (!ju_Calendar_isLenient($this)) { e: { var$1 = $this.$isSet.data; if (var$1[11]) { var$2 = $this.$fields.data; if (var$2[11] >= 0 && var$2[11] <= 23) break e; $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[10]) { var$2 = $this.$fields.data; if (!(var$2[10] >= 0 && var$2[10] <= 11)) $rt_throw(jl_IllegalArgumentException__init_0()); } } if (var$1[12]) { var$2 = $this.$fields.data; if (!(var$2[12] >= 0 && var$2[12] <= 59)) $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[13]) { var$2 = $this.$fields.data; if (!(var$2[13] >= 0 && var$2[13] <= 59)) $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[14]) { var$2 = $this.$fields.data; if (!(var$2[14] >= 0 && var$2[14] <= 999)) $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[3]) { var$2 = $this.$fields.data; if (var$2[3] < 1) break a; if (var$2[3] > 53) break a; } if (var$1[7]) { var$2 = $this.$fields.data; if (!(var$2[7] >= 1 && var$2[7] <= 7)) $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[8]) { var$2 = $this.$fields.data; if (var$2[8] < 1) break b; if (var$2[8] > 6) break b; } if (var$1[4]) { var$2 = $this.$fields.data; if (!(var$2[4] >= 1 && var$2[4] <= 6)) $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[9]) { var$2 = $this.$fields.data; if (var$2[9] && var$2[9] != 1) $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[10]) { var$2 = $this.$fields.data; if (var$2[10] < 0) break c; if (var$2[10] > 11) break c; } if (var$1[1]) { if (var$1[0]) { var$2 = $this.$fields.data; if (!var$2[0] && !(var$2[1] >= 1 && var$2[1] <= 292269054)) $rt_throw(jl_IllegalArgumentException__init_0()); } var$2 = $this.$fields.data; if (!(var$2[1] >= 1 && var$2[1] <= 292278994)) $rt_throw(jl_IllegalArgumentException__init_0()); } if (var$1[2]) { var$1 = $this.$fields.data; if (var$1[2] < 0) break d; if (var$1[2] > 11) break d; } } $hour = Long_ZERO; var$1 = $this.$isSet.data; if (var$1[11] && $this.$lastTimeFieldSet != 10) $hour = Long_fromInt($this.$fields.data[11]); else if (var$1[10]) { var$2 = $this.$fields.data; $hour = Long_fromInt((var$2[9] * 12 | 0) + var$2[10] | 0); } $timeVal = Long_mul($hour, Long_fromInt(3600000)); if (var$1[12]) $timeVal = Long_add($timeVal, Long_mul(Long_fromInt($this.$fields.data[12]), Long_fromInt(60000))); if (var$1[13]) $timeVal = Long_add($timeVal, Long_mul(Long_fromInt($this.$fields.data[13]), Long_fromInt(1000))); if (var$1[14]) $timeVal = Long_add($timeVal, Long_fromInt($this.$fields.data[14])); $year = !var$1[1] ? 1970 : $this.$fields.data[1]; if (var$1[0]) { var$2 = $this.$fields.data; if (var$2[0] && var$2[0] != 1) $rt_throw(jl_IllegalArgumentException__init_0()); if (!var$2[0]) $year = 1 - $year | 0; } $weekMonthSet = !var$1[4] && !var$1[8] ? 0 : 1; $useMonth = !(!var$1[5] && !var$1[2] && !$weekMonthSet) && $this.$lastDateFieldSet != 6 ? 1 : 0; if ($useMonth) { $skew = $this.$lastDateFieldSet; if (!($skew != 7 && $skew != 3)) { if (var$1[3] && var$1[7]) $useMonth = $skew != 3 && $weekMonthSet && var$1[7] ? 1 : 0; else if (var$1[6]) $useMonth = var$1[5] && var$1[2] ? 1 : 0; } } if (!$useMonth) { $useWeekYear = var$1[3] && $this.$lastDateFieldSet != 6 ? 1 : 0; if ($useWeekYear && var$1[6]) $useWeekYear = var$1[7]; $days = ju_GregorianCalendar_daysFromBaseYear($this, $year); if ($useWeekYear) { $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 { var$1 = $this.$isSet.data; if (var$1[6]) { if (!ju_Calendar_isLenient($this)) { var$1 = $this.$fields.data; if (!(var$1[6] >= 1 && var$1[6] <= (365 + (!ju_GregorianCalendar_isLeapYear($this, $year) ? 0 : 1) | 0))) $rt_throw(jl_IllegalArgumentException__init_0()); } $days = Long_add($days, Long_fromInt($this.$fields.data[6] - 1 | 0)); } else if (var$1[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; $useMonth = $month % 12 | 0; if ($useMonth < 0) { $year = $year + (-1) | 0; $useMonth = $useMonth + 12 | 0; } $leapYear = ju_GregorianCalendar_isLeapYear($this, $year); $days = Long_add(ju_GregorianCalendar_daysFromBaseYear($this, $year), Long_fromInt(ju_GregorianCalendar_daysInYear0($this, $leapYear, $useMonth))); var$1 = $this.$isSet.data; $useDate = var$1[5]; if ($useDate) { $skew = $this.$lastDateFieldSet; if (!($skew != 7 && $skew != 4 && $skew != 8)) $useDate = var$1[7] && $weekMonthSet ? 0 : 1; } if ($useDate) { if (!ju_Calendar_isLenient($this)) { var$1 = $this.$fields.data; if (!(var$1[5] >= 1 && var$1[5] <= ju_GregorianCalendar_daysInMonth0($this, $leapYear, $useMonth))) $rt_throw(jl_IllegalArgumentException__init_0()); } $days = Long_add($days, Long_fromInt($this.$fields.data[5] - 1 | 0)); } else { $dayOfWeek = !var$1[7] ? ju_Calendar_getFirstDayOfWeek($this) - 1 | 0 : $this.$fields.data[7] - 1 | 0; var$1 = $this.$isSet.data; if (var$1[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 (var$1[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, $useMonth) + ju_GregorianCalendar_mod7($this, Long_sub(Long_fromInt($dayOfWeek), Long_sub(Long_add($days, Long_fromInt(ju_GregorianCalendar_daysInMonth0($this, $leapYear, $useMonth))), Long_fromInt(3)))) | 0) + ($this.$fields.data[8] * 7 | 0) | 0)); else if (var$1[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.$time = Long_sub($hour, Long_fromInt(ju_GregorianCalendar_getTimeZoneOffset($this, $hour))); return; } $rt_throw(jl_IllegalArgumentException__init_0()); } $rt_throw(jl_IllegalArgumentException__init_0()); } $rt_throw(jl_IllegalArgumentException__init_0()); } $rt_throw(jl_IllegalArgumentException__init_0()); } function ju_GregorianCalendar_computeYearAndDay($this, $dayCount, $localTime) { var $year, var$4, var$5, var$6; $year = 1970; $localTime = Long_ge($localTime, $this.$gregorianCutover) ? $dayCount : Long_sub($dayCount, Long_fromInt($this.$julianSkew)); while (true) { var$4 = Long_lo(Long_div($localTime, Long_fromInt(365))); if (!var$4) break; $year = $year + var$4 | 0; $localTime = Long_sub($dayCount, ju_GregorianCalendar_daysFromBaseYear($this, $year)); } if (Long_lt($localTime, Long_ZERO)) { $year = $year - 1 | 0; var$5 = !ju_GregorianCalendar_isLeapYear($this, $year) ? 365 : 366; var$6 = $this.$changeYear; if ($year == var$6) var$5 = var$5 - $this.$currentYearSkew | 0; if ($year == (var$6 - 1 | 0)) var$5 = var$5 - $this.$lastYearSkew | 0; $localTime = Long_add($localTime, Long_fromInt(var$5)); } $this.$fields.data[1] = $year; return Long_lo($localTime) + 1 | 0; } function ju_GregorianCalendar_daysFromBaseYear($this, $iyear) { var $year, $days, var$4; $year = Long_fromInt($iyear); if (Long_lt($year, Long_fromInt(1970))) { if (Long_le($year, Long_fromInt($this.$changeYear))) return Long_add(Long_add(Long_mul(Long_sub($year, Long_fromInt(1970)), Long_fromInt(365)), Long_div(Long_sub($year, Long_fromInt(1972)), Long_fromInt(4))), Long_fromInt($this.$julianSkew)); $days = Long_add(Long_mul(Long_sub($year, Long_fromInt(1970)), Long_fromInt(365)), Long_div(Long_sub($year, Long_fromInt(1972)), Long_fromInt(4))); $year = Long_sub($year, Long_fromInt(2000)); return Long_add(Long_sub($days, Long_div($year, Long_fromInt(100))), Long_div($year, Long_fromInt(400))); } $days = Long_add(Long_mul(Long_sub($year, Long_fromInt(1970)), Long_fromInt(365)), Long_div(Long_sub($year, Long_fromInt(1969)), Long_fromInt(4))); var$4 = $this.$changeYear; $iyear = Long_compare($year, Long_fromInt(var$4)); return $iyear > 0 ? Long_sub($days, Long_sub(Long_div(Long_sub($year, Long_fromInt(1901)), Long_fromInt(100)), Long_div(Long_sub($year, Long_fromInt(1601)), Long_fromInt(400)))) : !$iyear ? Long_add($days, Long_fromInt($this.$currentYearSkew)) : Long_ne($year, Long_fromInt(var$4 - 1 | 0)) ? Long_add($days, Long_fromInt($this.$julianSkew)) : Long_add($days, Long_fromInt($this.$lastYearSkew)); } 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) { var var$1; var$1 = $this.$changeYear; return ((var$1 / 100 | 0) - (var$1 / 400 | 0) | 0) - 2 | 0; } function ju_GregorianCalendar_mod7($this, $num1) { var $rem; $rem = Long_lo(Long_rem($num1, Long_fromInt(7))); if (Long_lt($num1, Long_ZERO) && $rem < 0) return $rem + 7 | 0; return $rem; } function ju_GregorianCalendar__clinit_() { ju_GregorianCalendar_daysInMonth = $rt_createByteArrayFromData([31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]); ju_GregorianCalendar_daysInYear = $rt_createIntArrayFromData([0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334]); ju_GregorianCalendar_maximums = $rt_createIntArrayFromData([1, 292278994, 11, 53, 6, 31, 366, 7, 6, 1, 11, 23, 59, 59, 999, 50400000, 7200000]); ju_GregorianCalendar_minimums = $rt_createIntArrayFromData([0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, (-46800000), 0]); ju_GregorianCalendar_leastMaximums = $rt_createIntArrayFromData([1, 292269054, 11, 50, 3, 28, 355, 7, 3, 1, 11, 23, 59, 59, 999, 50400000, 1200000]); } var jnci_AsciiCharset = $rt_classWithoutFields(jnc_Charset); function jnci_AsciiCharset__init_0() { var var_0 = new jnci_AsciiCharset(); jnci_AsciiCharset__init_(var_0); return var_0; } function jnci_AsciiCharset__init_($this) { jnc_Charset__init_($this, $rt_s(363), $rt_createArray(jl_String, 0)); } function jnci_AsciiCharset_newDecoder($this) { var var$1; var$1 = new jnci_AsciiDecoder; jnci_BufferedDecoder__init_(var$1, $this, 1.0, 1.0); return var$1; } function jnci_AsciiCharset_newEncoder($this) { var var$1; var$1 = new jnci_AsciiEncoder; jnci_BufferedEncoder__init_(var$1, $this, 1.0, 1.0); return var$1; } var jnci_Iso8859Charset = $rt_classWithoutFields(jnc_Charset); function jnci_Iso8859Charset__init_0() { var var_0 = new jnci_Iso8859Charset(); jnci_Iso8859Charset__init_(var_0); return var_0; } function jnci_Iso8859Charset__init_($this) { jnc_Charset__init_($this, $rt_s(364), $rt_createArray(jl_String, 0)); } function jnci_Iso8859Charset_newDecoder($this) { var var$1; var$1 = new jnci_Iso8859Decoder; jnci_BufferedDecoder__init_(var$1, $this, 1.0, 1.0); return var$1; } function jnci_Iso8859Charset_newEncoder($this) { var var$1; var$1 = new jnci_Iso8859Encoder; jnci_BufferedEncoder__init_(var$1, $this, 1.0, 1.0); return var$1; } function jnci_UTF16Charset() { var a = this; jnc_Charset.call(a); a.$bom = 0; a.$littleEndian = 0; } function jnci_UTF16Charset__init_(var_0, var_1, var_2) { var var_3 = new jnci_UTF16Charset(); jnci_UTF16Charset__init_0(var_3, var_0, var_1, var_2); return var_3; } function jnci_UTF16Charset__init_0($this, $canonicalName, $bom, $littleEndian) { jnc_Charset__init_($this, $canonicalName, $rt_createArray(jl_String, 0)); $this.$bom = $bom; $this.$littleEndian = $littleEndian; } function jnci_UTF16Charset_newDecoder($this) { var var$1, var$2, var$3; var$1 = new jnci_UTF16Decoder; var$2 = $this.$bom; var$3 = $this.$littleEndian; jnci_BufferedDecoder__init_(var$1, $this, 0.5, 0.5); var$1.$bom0 = var$2; var$1.$littleEndian0 = var$3; return var$1; } function jnci_UTF16Charset_newEncoder($this) { var var$1, var$2, var$3; var$1 = new jnci_UTF16Encoder; var$2 = $this.$bom; var$3 = $this.$littleEndian; jnci_BufferedEncoder__init_(var$1, $this, 2.0, 4.0); var$1.$bom1 = var$2; var$1.$littleEndian1 = var$3; return var$1; } var cjj_Checksum = $rt_classWithoutFields(0); function cjj_Adler32() { var a = this; jl_Object.call(a); a.$s1 = Long_ZERO; a.$s2 = Long_ZERO; } function cjj_Adler32__init_0() { var var_0 = new cjj_Adler32(); cjj_Adler32__init_(var_0); return var_0; } function cjj_Adler32__init_($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 var$4, var$5, $len1, $len2, var$8, $k, var$10; if ($len == 1) { $buf = $buf.data; var$4 = Long_add($this.$s1, Long_fromInt($buf[$index] & 255)); $this.$s1 = var$4; var$5 = Long_add($this.$s2, var$4); $this.$s2 = var$5; $this.$s1 = Long_rem(var$4, Long_fromInt(65521)); $this.$s2 = Long_rem(var$5, Long_fromInt(65521)); return; } $len1 = $len / 5552 | 0; $len2 = $len % 5552 | 0; while (true) { var$8 = $len1 + (-1) | 0; if ($len1 <= 0) break; $k = 5552; while (true) { $len1 = $k + (-1) | 0; if ($k <= 0) break; var$10 = $buf.data; var$4 = $this.$s1; $len = $index + 1 | 0; var$4 = Long_add(var$4, Long_fromInt(var$10[$index] & 255)); $this.$s1 = var$4; $this.$s2 = Long_add($this.$s2, var$4); $k = $len1; $index = $len; } $this.$s1 = Long_rem($this.$s1, Long_fromInt(65521)); $this.$s2 = Long_rem($this.$s2, Long_fromInt(65521)); $len1 = var$8; } while (true) { $len = $len2 + (-1) | 0; if ($len2 <= 0) break; var$10 = $buf.data; var$4 = $this.$s1; var$8 = $index + 1 | 0; var$4 = Long_add(var$4, Long_fromInt(var$10[$index] & 255)); $this.$s1 = var$4; $this.$s2 = Long_add($this.$s2, var$4); $len2 = $len; $index = var$8; } $this.$s1 = Long_rem($this.$s1, Long_fromInt(65521)); $this.$s2 = Long_rem($this.$s2, Long_fromInt(65521)); } var jl_CloneNotSupportedException = $rt_classWithoutFields(jl_Exception); function jl_CloneNotSupportedException__init_0() { var var_0 = new jl_CloneNotSupportedException(); jl_CloneNotSupportedException__init_(var_0); return var_0; } function jl_CloneNotSupportedException__init_($this) { jl_Throwable__init_0($this); } var nle_BaseNCodec$CodecPolicy = $rt_classWithoutFields(jl_Enum); var nle_BaseNCodec$CodecPolicy_STRICT = null; var nle_BaseNCodec$CodecPolicy_LENIANT = null; var nle_BaseNCodec$CodecPolicy_$VALUES = null; function nle_BaseNCodec$CodecPolicy_$callClinit() { nle_BaseNCodec$CodecPolicy_$callClinit = $rt_eraseClinit(nle_BaseNCodec$CodecPolicy); nle_BaseNCodec$CodecPolicy__clinit_(); } function nle_BaseNCodec$CodecPolicy__init_(var_0, var_1) { var var_2 = new nle_BaseNCodec$CodecPolicy(); nle_BaseNCodec$CodecPolicy__init_0(var_2, var_0, var_1); return var_2; } function nle_BaseNCodec$CodecPolicy__init_0($this, var$1, var$2) { nle_BaseNCodec$CodecPolicy_$callClinit(); jl_Enum__init_($this, var$1, var$2); } function nle_BaseNCodec$CodecPolicy__clinit_() { var var$1; nle_BaseNCodec$CodecPolicy_STRICT = nle_BaseNCodec$CodecPolicy__init_($rt_s(365), 0); var$1 = nle_BaseNCodec$CodecPolicy__init_($rt_s(366), 1); nle_BaseNCodec$CodecPolicy_LENIANT = var$1; nle_BaseNCodec$CodecPolicy_$VALUES = $rt_createArrayFromData(nle_BaseNCodec$CodecPolicy, [nle_BaseNCodec$CodecPolicy_STRICT, var$1]); } function jn_ByteOrder() { jl_Object.call(this); this.$name2 = null; } var jn_ByteOrder_BIG_ENDIAN = null; var jn_ByteOrder_LITTLE_ENDIAN = null; var jn_ByteOrder_nativeOrder0 = null; function jn_ByteOrder_$callClinit() { jn_ByteOrder_$callClinit = $rt_eraseClinit(jn_ByteOrder); jn_ByteOrder__clinit_(); } 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) { jn_ByteOrder_$callClinit(); $this.$name2 = $name; } function jn_ByteOrder_nativeOrder() { var $buffer, $shortArray; jn_ByteOrder_$callClinit(); if (jn_ByteOrder_nativeOrder0 === null) { $buffer = new $rt_globals.ArrayBuffer(2); $shortArray = new $rt_globals.Int16Array($buffer); 0; $shortArray[0] = 1; jn_ByteOrder_nativeOrder0 = (new $rt_globals.Int8Array($buffer))[0] ? jn_ByteOrder_LITTLE_ENDIAN : jn_ByteOrder_BIG_ENDIAN; } return jn_ByteOrder_nativeOrder0; } function jn_ByteOrder__clinit_() { jn_ByteOrder_BIG_ENDIAN = jn_ByteOrder__init_($rt_s(367)); jn_ByteOrder_LITTLE_ENDIAN = jn_ByteOrder__init_($rt_s(368)); } function ju_TimeZone() { jl_Object.call(this); this.$id1 = null; } var ju_TimeZone_defaultTz = null; var ju_TimeZone_GMT = null; function ju_TimeZone_$callClinit() { ju_TimeZone_$callClinit = $rt_eraseClinit(ju_TimeZone); ju_TimeZone__clinit_(); } function ju_TimeZone__clinit_() { var var$1, var$2, var$3; var$1 = new ju_IANATimeZone; var$2 = new otcit_FixedDateTimeZone; var$2.$iID = $rt_s(369); var$2.$iWallOffset = 0; var$2.$iStandardOffset = 0; ju_TimeZone_$callClinit(); var$1.$id1 = $rt_s(369); var$1.$underlyingZone = var$2; jl_System_currentTimeMillis(); var$3 = var$2.$iStandardOffset; var$1.$rawOffset = var$3; var$1.$diff = -var$3 | 0; ju_TimeZone_GMT = var$1; } function ju_IANATimeZone() { var a = this; ju_TimeZone.call(a); a.$underlyingZone = null; a.$rawOffset = 0; a.$diff = 0; } function otcit_DateTimeZone() { jl_Object.call(this); this.$iID = null; } var otcit_StorableDateTimeZone = $rt_classWithoutFields(otcit_DateTimeZone); function otcit_FixedDateTimeZone() { var a = this; otcit_StorableDateTimeZone.call(a); a.$iWallOffset = 0; a.$iStandardOffset = 0; } var ju_Map$Entry = $rt_classWithoutFields(0); function ju_MapEntry() { var a = this; jl_Object.call(a); a.$key0 = null; a.$value1 = null; } function ju_MapEntry_equals($this, $object) { var $entry; if ($this === $object) return 1; if (!$rt_isInstance($object, ju_Map$Entry)) return 0; $entry = $object; return ju_Objects_equals($this.$key0, $entry.$key0) && ju_Objects_equals($this.$value1, $entry.$value1) ? 1 : 0; } function ju_MapEntry_hashCode($this) { return ju_Objects_hashCode($this.$key0) ^ ju_Objects_hashCode($this.$value1); } function ju_HashMap$HashEntry() { var a = this; ju_MapEntry.call(a); a.$origKeyHash = 0; a.$next2 = null; } var jl_StringIndexOutOfBoundsException = $rt_classWithoutFields(jl_IndexOutOfBoundsException); function jl_StringIndexOutOfBoundsException__init_0() { var var_0 = new jl_StringIndexOutOfBoundsException(); jl_StringIndexOutOfBoundsException__init_(var_0); return var_0; } function jl_StringIndexOutOfBoundsException__init_($this) { jl_Throwable__init_0($this); } function nms_AxisAlignedBB() { var a = this; jl_Object.call(a); a.$minX = 0.0; a.$minY0 = 0.0; a.$minZ0 = 0.0; a.$maxX0 = 0.0; a.$maxY0 = 0.0; a.$maxZ0 = 0.0; } var nms_AxisAlignedBB_boundingBoxes = null; var nms_AxisAlignedBB_numBoundingBoxesInUse = 0; function nms_AxisAlignedBB_getBoundingBox($var0, $var2, $var4, $var6, $var8, $var10) { var var$7; var$7 = new nms_AxisAlignedBB; var$7.$minX = $var0; var$7.$minY0 = $var2; var$7.$minZ0 = $var4; var$7.$maxX0 = $var6; var$7.$maxY0 = $var8; var$7.$maxZ0 = $var10; return var$7; } function nms_AxisAlignedBB_getBoundingBoxFromPool($var0, $var2, $var4, $var6, $var8, $var10) { var var$7, var$8, var$9; var$7 = nms_AxisAlignedBB_numBoundingBoxesInUse; var$8 = nms_AxisAlignedBB_boundingBoxes; if (var$7 >= var$8.$size) ju_ArrayList_add(var$8, nms_AxisAlignedBB_getBoundingBox(0.0, 0.0, 0.0, 0.0, 0.0, 0.0)); var$8 = nms_AxisAlignedBB_boundingBoxes; var$9 = nms_AxisAlignedBB_numBoundingBoxesInUse; nms_AxisAlignedBB_numBoundingBoxesInUse = var$9 + 1 | 0; return nms_AxisAlignedBB_setBounds(ju_ArrayList_get(var$8, var$9), $var0, $var2, $var4, $var6, $var8, $var10); } function nms_AxisAlignedBB_setBounds($this, $var1, $var3, $var5, $var7, $var9, $var11) { $this.$minX = $var1; $this.$minY0 = $var3; $this.$minZ0 = $var5; $this.$maxX0 = $var7; $this.$maxY0 = $var9; $this.$maxZ0 = $var11; return $this; } function nms_AxisAlignedBB_addCoord($this, $var1, $var3, $var5) { var $var7, $var9, $var11, $var13, $var15, $var17, var$10; $var7 = $this.$minX; $var9 = $this.$minY0; $var11 = $this.$minZ0; $var13 = $this.$maxX0; $var15 = $this.$maxY0; $var17 = $this.$maxZ0; var$10 = $rt_compare($var1, 0.0); if (var$10 < 0) $var7 = $var7 + $var1; if (var$10 > 0) $var13 = $var13 + $var1; var$10 = $rt_compare($var3, 0.0); if (var$10 < 0) $var9 = $var9 + $var3; if (var$10 > 0) $var15 = $var15 + $var3; var$10 = $rt_compare($var5, 0.0); if (var$10 < 0) $var11 = $var11 + $var5; if (var$10 > 0) $var17 = $var17 + $var5; return nms_AxisAlignedBB_getBoundingBoxFromPool($var7, $var9, $var11, $var13, $var15, $var17); } function nms_AxisAlignedBB_expands($this, $var1, $var3, $var5) { return nms_AxisAlignedBB_getBoundingBoxFromPool($this.$minX - $var1, $this.$minY0 - $var3, $this.$minZ0 - $var5, $this.$maxX0 + $var1, $this.$maxY0 + $var3, $this.$maxZ0 + $var5); } function nms_AxisAlignedBB_getOffsetBoundingBox($this, $var1, $var3, $var5) { return nms_AxisAlignedBB_getBoundingBoxFromPool($this.$minX + $var1, $this.$minY0 + $var3, $this.$minZ0 + $var5, $this.$maxX0 + $var1, $this.$maxY0 + $var3, $this.$maxZ0 + $var5); } function nms_AxisAlignedBB_func_1163_a($this, $var1, $var2) { var $var4, $var4_0; if ($var1.$maxY0 > $this.$minY0 && $var1.$minY0 < $this.$maxY0) { if ($var1.$maxZ0 > $this.$minZ0 && $var1.$minZ0 < $this.$maxZ0) { if ($var2 <= 0.0) $var4 = $var2; else { $var4 = $var1.$maxX0; $var4_0 = $this.$minX; if ($var4 > $var4_0) $var4 = $var2; else { $var4 = $var4_0 - $var4; if ($var4 >= $var2) $var4 = $var2; } } if ($var4 >= 0.0) $var4_0 = $var4; else { $var2 = $var1.$minX; $var4_0 = $this.$maxX0; if ($var2 < $var4_0) $var4_0 = $var4; else { $var4_0 = $var4_0 - $var2; if ($var4_0 <= $var4) $var4_0 = $var4; } } return $var4_0; } return $var2; } return $var2; } function nms_AxisAlignedBB_func_1172_b($this, $var1, $var2) { var $var4, $var4_0; if ($var1.$maxX0 > $this.$minX && $var1.$minX < $this.$maxX0) { if ($var1.$maxZ0 > $this.$minZ0 && $var1.$minZ0 < $this.$maxZ0) { if ($var2 <= 0.0) $var4 = $var2; else { $var4 = $var1.$maxY0; $var4_0 = $this.$minY0; if ($var4 > $var4_0) $var4 = $var2; else { $var4 = $var4_0 - $var4; if ($var4 >= $var2) $var4 = $var2; } } if ($var4 >= 0.0) $var4_0 = $var4; else { $var2 = $var1.$minY0; $var4_0 = $this.$maxY0; if ($var2 < $var4_0) $var4_0 = $var4; else { $var4_0 = $var4_0 - $var2; if ($var4_0 <= $var4) $var4_0 = $var4; } } return $var4_0; } return $var2; } return $var2; } function nms_AxisAlignedBB_func_1162_c($this, $var1, $var2) { var $var4, $var4_0; if ($var1.$maxX0 > $this.$minX && $var1.$minX < $this.$maxX0) { if ($var1.$maxY0 > $this.$minY0 && $var1.$minY0 < $this.$maxY0) { if ($var2 <= 0.0) $var4 = $var2; else { $var4 = $var1.$maxZ0; $var4_0 = $this.$minZ0; if ($var4 > $var4_0) $var4 = $var2; else { $var4 = $var4_0 - $var4; if ($var4 >= $var2) $var4 = $var2; } } if ($var4 >= 0.0) $var4_0 = $var4; else { $var2 = $var1.$minZ0; $var4_0 = $this.$maxZ0; if ($var2 < $var4_0) $var4_0 = $var4; else { $var4_0 = $var4_0 - $var2; if ($var4_0 <= $var4) $var4_0 = $var4; } } return $var4_0; } return $var2; } return $var2; } function nms_AxisAlignedBB_intersectsWith($this, $var1) { return $var1.$maxX0 > $this.$minX && $var1.$minX < $this.$maxX0 ? ($var1.$maxY0 > $this.$minY0 && $var1.$minY0 < $this.$maxY0 ? ($var1.$maxZ0 > $this.$minZ0 && $var1.$minZ0 < $this.$maxZ0 ? 1 : 0) : 0) : 0; } function nms_AxisAlignedBB_offset($this, $var1, $var3, $var5) { $this.$minX = $this.$minX + $var1; $this.$minY0 = $this.$minY0 + $var3; $this.$minZ0 = $this.$minZ0 + $var5; $this.$maxX0 = $this.$maxX0 + $var1; $this.$maxY0 = $this.$maxY0 + $var3; $this.$maxZ0 = $this.$maxZ0 + $var5; return $this; } function nms_AxisAlignedBB_getAverageEdgeLength($this) { return ($this.$maxX0 - $this.$minX + $this.$maxY0 - $this.$minY0 + $this.$maxZ0 - $this.$minZ0) / 3.0; } function nms_AxisAlignedBB_copy($this) { return nms_AxisAlignedBB_getBoundingBoxFromPool($this.$minX, $this.$minY0, $this.$minZ0, $this.$maxX0, $this.$maxY0, $this.$maxZ0); } function nms_AxisAlignedBB_func_1169_a($this, $var1, $var2) { var $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10; $var3 = nms_Vec3D_getIntermediateWithXValue($var1, $var2, $this.$minX); $var4 = nms_Vec3D_getIntermediateWithXValue($var1, $var2, $this.$maxX0); $var5 = nms_Vec3D_getIntermediateWithYValue($var1, $var2, $this.$minY0); $var6 = nms_Vec3D_getIntermediateWithYValue($var1, $var2, $this.$maxY0); $var7 = nms_Vec3D_getIntermediateWithZValue($var1, $var2, $this.$minZ0); $var8 = nms_Vec3D_getIntermediateWithZValue($var1, $var2, $this.$maxZ0); if (!nms_AxisAlignedBB_isVecInYZ($this, $var3)) $var3 = null; if (!nms_AxisAlignedBB_isVecInYZ($this, $var4)) $var4 = null; if (!nms_AxisAlignedBB_isVecInXZ($this, $var5)) $var5 = null; if (!nms_AxisAlignedBB_isVecInXZ($this, $var6)) $var6 = null; if (!nms_AxisAlignedBB_isVecInXY($this, $var7)) $var7 = null; if (!nms_AxisAlignedBB_isVecInXY($this, $var8)) $var8 = null; $var9 = null; if ($var3 !== null) $var9 = $var3; if ($var4 !== null && !($var9 !== null && nms_Vec3D_squareDistanceTo($var1, $var4) >= nms_Vec3D_squareDistanceTo($var1, $var9))) $var9 = $var4; if ($var5 !== null && !($var9 !== null && nms_Vec3D_squareDistanceTo($var1, $var5) >= nms_Vec3D_squareDistanceTo($var1, $var9))) $var9 = $var5; if ($var6 !== null && !($var9 !== null && nms_Vec3D_squareDistanceTo($var1, $var6) >= nms_Vec3D_squareDistanceTo($var1, $var9))) $var9 = $var6; if ($var7 !== null && !($var9 !== null && nms_Vec3D_squareDistanceTo($var1, $var7) >= nms_Vec3D_squareDistanceTo($var1, $var9))) $var9 = $var7; if ($var8 !== null && !($var9 !== null && nms_Vec3D_squareDistanceTo($var1, $var8) >= nms_Vec3D_squareDistanceTo($var1, $var9))) $var9 = $var8; if ($var9 === null) return null; $var10 = (-1); if ($var9 === $var3) $var10 = 4; if ($var9 === $var4) $var10 = 5; if ($var9 === $var5) $var10 = 0; if ($var9 === $var6) $var10 = 1; if ($var9 === $var7) $var10 = 2; if ($var9 === $var8) $var10 = 3; return nms_MovingObjectPosition__init_0(0, 0, 0, $var10, $var9); } function nms_AxisAlignedBB_isVecInYZ($this, $var1) { var var$2, var$3; a: { if ($var1 === null) var$2 = 0; else { var$3 = $var1.$yCoord; if (var$3 >= $this.$minY0 && var$3 <= $this.$maxY0) { var$3 = $var1.$zCoord; if (var$3 >= $this.$minZ0 && var$3 <= $this.$maxZ0) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; } function nms_AxisAlignedBB_isVecInXZ($this, $var1) { var var$2, var$3; a: { if ($var1 === null) var$2 = 0; else { var$3 = $var1.$xCoord; if (var$3 >= $this.$minX && var$3 <= $this.$maxX0) { var$3 = $var1.$zCoord; if (var$3 >= $this.$minZ0 && var$3 <= $this.$maxZ0) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; } function nms_AxisAlignedBB_isVecInXY($this, $var1) { var var$2, var$3; a: { if ($var1 === null) var$2 = 0; else { var$3 = $var1.$xCoord; if (var$3 >= $this.$minX && var$3 <= $this.$maxX0) { var$3 = $var1.$yCoord; if (var$3 >= $this.$minY0 && var$3 <= $this.$maxY0) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; } function nms_AxisAlignedBB_setBB($this, $var1) { $this.$minX = $var1.$minX; $this.$minY0 = $var1.$minY0; $this.$minZ0 = $var1.$minZ0; $this.$maxX0 = $var1.$maxX0; $this.$maxY0 = $var1.$maxY0; $this.$maxZ0 = $var1.$maxZ0; } function nms_AxisAlignedBB__clinit_() { nms_AxisAlignedBB_boundingBoxes = ju_ArrayList__init_0(); nms_AxisAlignedBB_numBoundingBoxesInUse = 0; } function nms_Vec3D() { var a = this; jl_Object.call(a); a.$xCoord = 0.0; a.$yCoord = 0.0; a.$zCoord = 0.0; } var nms_Vec3D_vectorList = null; var nms_Vec3D_nextVector = 0; function nms_Vec3D_createVectorHelper($var0, $var2, $var4) { var var$4; var$4 = new nms_Vec3D; if ($var0 === -0.0) $var0 = 0.0; if ($var2 === -0.0) $var2 = 0.0; if ($var4 === -0.0) $var4 = 0.0; var$4.$xCoord = $var0; var$4.$yCoord = $var2; var$4.$zCoord = $var4; return var$4; } function nms_Vec3D_createVector($var0, $var2, $var4) { var var$4, var$5, var$6, var$7; var$4 = nms_Vec3D_nextVector; var$5 = nms_Vec3D_vectorList; if (var$4 >= var$5.$size) ju_ArrayList_add(var$5, nms_Vec3D_createVectorHelper(0.0, 0.0, 0.0)); var$6 = nms_Vec3D_vectorList; var$7 = nms_Vec3D_nextVector; nms_Vec3D_nextVector = var$7 + 1 | 0; var$6 = ju_ArrayList_get(var$6, var$7); var$6.$xCoord = $var0; var$6.$yCoord = $var2; var$6.$zCoord = $var4; return var$6; } function nms_Vec3D_func_1262_a($this, $var1) { return nms_Vec3D_createVector($var1.$xCoord - $this.$xCoord, $var1.$yCoord - $this.$yCoord, $var1.$zCoord - $this.$zCoord); } function nms_Vec3D_normalize($this) { var $var1, var$2; $var1 = $this.$xCoord; $var1 = $var1 * $var1; var$2 = $this.$yCoord; $var1 = $var1 + var$2 * var$2; var$2 = $this.$zCoord; $var1 = nms_MathHelper_sqrt_double($var1 + var$2 * var$2); return $var1 < 1.0E-4 ? nms_Vec3D_createVector(0.0, 0.0, 0.0) : nms_Vec3D_createVector($this.$xCoord / $var1, $this.$yCoord / $var1, $this.$zCoord / $var1); } function nms_Vec3D_addVector($this, $var1, $var3, $var5) { return nms_Vec3D_createVector($this.$xCoord + $var1, $this.$yCoord + $var3, $this.$zCoord + $var5); } function nms_Vec3D_distanceTo($this, $var1) { var $var2, $var4, $var6; $var2 = $var1.$xCoord - $this.$xCoord; $var4 = $var1.$yCoord - $this.$yCoord; $var6 = $var1.$zCoord - $this.$zCoord; return nms_MathHelper_sqrt_double($var2 * $var2 + $var4 * $var4 + $var6 * $var6); } function nms_Vec3D_squareDistanceTo($this, $var1) { var $var2, $var4, $var6; $var2 = $var1.$xCoord - $this.$xCoord; $var4 = $var1.$yCoord - $this.$yCoord; $var6 = $var1.$zCoord - $this.$zCoord; return $var2 * $var2 + $var4 * $var4 + $var6 * $var6; } function nms_Vec3D_squareDistanceTo0($this, $var1, $var3, $var5) { var $var7, $var9, $var11; $var7 = $var1 - $this.$xCoord; $var9 = $var3 - $this.$yCoord; $var11 = $var5 - $this.$zCoord; return $var7 * $var7 + $var9 * $var9 + $var11 * $var11; } function nms_Vec3D_lengthVector($this) { var var$1, var$2; var$1 = $this.$xCoord; var$1 = var$1 * var$1; var$2 = $this.$yCoord; var$1 = var$1 + var$2 * var$2; var$2 = $this.$zCoord; return nms_MathHelper_sqrt_double(var$1 + var$2 * var$2); } function nms_Vec3D_getIntermediateWithXValue($this, $var1, $var2) { var $var4, var$4, $var8, var$6, $var6, var$8, $var10; $var4 = $var1.$xCoord; var$4 = $this.$xCoord; $var4 = $var4 - var$4; $var8 = $var1.$yCoord; var$6 = $this.$yCoord; $var6 = $var8 - var$6; $var8 = $var1.$zCoord; var$8 = $this.$zCoord; $var8 = $var8 - var$8; if ($var4 * $var4 < 1.0000000116860974E-7) return null; $var10 = ($var2 - var$4) / $var4; return $var10 >= 0.0 && $var10 <= 1.0 ? nms_Vec3D_createVector(var$4 + $var4 * $var10, var$6 + $var6 * $var10, var$8 + $var8 * $var10) : null; } function nms_Vec3D_getIntermediateWithYValue($this, $var1, $var2) { var $var4, var$4, $var8, var$6, $var6, var$8, $var10; $var4 = $var1.$xCoord; var$4 = $this.$xCoord; $var4 = $var4 - var$4; $var8 = $var1.$yCoord; var$6 = $this.$yCoord; $var6 = $var8 - var$6; $var8 = $var1.$zCoord; var$8 = $this.$zCoord; $var8 = $var8 - var$8; if ($var6 * $var6 < 1.0000000116860974E-7) return null; $var10 = ($var2 - var$6) / $var6; return $var10 >= 0.0 && $var10 <= 1.0 ? nms_Vec3D_createVector(var$4 + $var4 * $var10, var$6 + $var6 * $var10, var$8 + $var8 * $var10) : null; } function nms_Vec3D_getIntermediateWithZValue($this, $var1, $var2) { var $var4, var$4, $var8, var$6, $var6, var$8, $var10; $var4 = $var1.$xCoord; var$4 = $this.$xCoord; $var4 = $var4 - var$4; $var8 = $var1.$yCoord; var$6 = $this.$yCoord; $var6 = $var8 - var$6; $var8 = $var1.$zCoord; var$8 = $this.$zCoord; $var8 = $var8 - var$8; if ($var8 * $var8 < 1.0000000116860974E-7) return null; $var10 = ($var2 - var$8) / $var8; return $var10 >= 0.0 && $var10 <= 1.0 ? nms_Vec3D_createVector(var$4 + $var4 * $var10, var$6 + $var6 * $var10, var$8 + $var8 * $var10) : null; } function nms_Vec3D_rotateAroundX($this, $var1) { var $var2, $var3, $var4, $var8, var$6, var$7, var$8, var$9, $var6; $var2 = nms_MathHelper_cos($var1); $var3 = nms_MathHelper_sin($var1); $var4 = $this.$xCoord; $var8 = $this.$yCoord; var$6 = $var2; var$7 = $var8 * var$6; var$8 = $this.$zCoord; var$9 = $var3; $var6 = var$7 + var$8 * var$9; $var8 = var$8 * var$6 - $var8 * var$9; $this.$xCoord = $var4; $this.$yCoord = $var6; $this.$zCoord = $var8; } function nms_Vec3D_rotateAroundY($this, $var1) { var $var2, $var3, $var8, var$5, $var4, var$7, var$8, $var6; $var2 = nms_MathHelper_cos($var1); $var3 = nms_MathHelper_sin($var1); $var8 = $this.$xCoord; var$5 = $var2; $var4 = $var8 * var$5; var$7 = $this.$zCoord; var$8 = $var3; $var4 = $var4 + var$7 * var$8; $var6 = $this.$yCoord; $var8 = var$7 * var$5 - $var8 * var$8; $this.$xCoord = $var4; $this.$yCoord = $var6; $this.$zCoord = $var8; } function nms_Vec3D__clinit_() { nms_Vec3D_vectorList = ju_ArrayList__init_0(); nms_Vec3D_nextVector = 0; } function nms_GameSettings() { var a = this; jl_Object.call(a); a.$musicVolume = 0.0; a.$soundVolume = 0.0; a.$mouseSensitivity = 0.0; a.$invertMouse = 0; a.$renderDistance = 0; a.$viewBobbing = 0; a.$anaglyph = 0; a.$limitFramerate = 0; a.$fancyGraphics = 0; a.$skin = null; a.$keyBindForward = null; a.$keyBindLeft = null; a.$keyBindBack = null; a.$keyBindRight = null; a.$keyBindJump = null; a.$keyBindInventory = null; a.$keyBindDrop = null; a.$keyBindChat = null; a.$keyBindToggleFog = null; a.$keyBindSneak = null; a.$keyBindings = null; a.$mc6 = null; a.$numberOfOptions = 0; a.$difficulty = 0; a.$thirdPersonView = 0; a.$field_12259_z = null; } var nms_GameSettings_RENDER_DISTANCES = null; var nms_GameSettings_DIFFICULTY_LEVELS = null; function nms_GameSettings_$callClinit() { nms_GameSettings_$callClinit = $rt_eraseClinit(nms_GameSettings); nms_GameSettings__clinit_(); } function nms_GameSettings__init_1(var_0) { var var_1 = new nms_GameSettings(); nms_GameSettings__init_0(var_1, var_0); return var_1; } function nms_GameSettings__init_2() { var var_0 = new nms_GameSettings(); nms_GameSettings__init_(var_0); return var_0; } function nms_GameSettings__init_0($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: nms_GameSettings_$callClinit(); $this.$musicVolume = 1.0; $this.$soundVolume = 1.0; $this.$mouseSensitivity = 0.5; $this.$invertMouse = 0; $this.$renderDistance = 0; $this.$viewBobbing = 1; $this.$anaglyph = 0; $this.$limitFramerate = 0; $this.$fancyGraphics = 1; $this.$skin = $rt_s(370); $this.$keyBindForward = nms_KeyBinding__init_($rt_s(371), 17); $this.$keyBindLeft = nms_KeyBinding__init_($rt_s(372), 30); $this.$keyBindBack = nms_KeyBinding__init_($rt_s(373), 31); $this.$keyBindRight = nms_KeyBinding__init_($rt_s(374), 32); $this.$keyBindJump = nms_KeyBinding__init_($rt_s(375), 57); $this.$keyBindInventory = nms_KeyBinding__init_($rt_s(376), 23); $this.$keyBindDrop = nms_KeyBinding__init_($rt_s(377), 16); $this.$keyBindChat = nms_KeyBinding__init_($rt_s(378), 20); $this.$keyBindToggleFog = nms_KeyBinding__init_($rt_s(379), 33); var$2 = nms_KeyBinding__init_($rt_s(380), 42); $this.$keyBindSneak = var$2; $this.$keyBindings = $rt_createArrayFromData(nms_KeyBinding, [$this.$keyBindForward, $this.$keyBindLeft, $this.$keyBindBack, $this.$keyBindRight, $this.$keyBindJump, var$2, $this.$keyBindDrop, $this.$keyBindInventory, $this.$keyBindChat, $this.$keyBindToggleFog]); $this.$numberOfOptions = 10; $this.$difficulty = 2; $this.$thirdPersonView = 0; $this.$field_12259_z = $rt_s(6); $this.$mc6 = $var1; $ptr = 1; case 1: nms_GameSettings_loadOptions($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_GameSettings__init_($this) { var var$1; nms_GameSettings_$callClinit(); $this.$musicVolume = 1.0; $this.$soundVolume = 1.0; $this.$mouseSensitivity = 0.5; $this.$invertMouse = 0; $this.$renderDistance = 0; $this.$viewBobbing = 1; $this.$anaglyph = 0; $this.$limitFramerate = 0; $this.$fancyGraphics = 1; $this.$skin = $rt_s(370); $this.$keyBindForward = nms_KeyBinding__init_($rt_s(371), 17); $this.$keyBindLeft = nms_KeyBinding__init_($rt_s(372), 30); $this.$keyBindBack = nms_KeyBinding__init_($rt_s(373), 31); $this.$keyBindRight = nms_KeyBinding__init_($rt_s(374), 32); $this.$keyBindJump = nms_KeyBinding__init_($rt_s(375), 57); $this.$keyBindInventory = nms_KeyBinding__init_($rt_s(376), 23); $this.$keyBindDrop = nms_KeyBinding__init_($rt_s(377), 16); $this.$keyBindChat = nms_KeyBinding__init_($rt_s(378), 20); $this.$keyBindToggleFog = nms_KeyBinding__init_($rt_s(379), 33); var$1 = nms_KeyBinding__init_($rt_s(380), 42); $this.$keyBindSneak = var$1; $this.$keyBindings = $rt_createArrayFromData(nms_KeyBinding, [$this.$keyBindForward, $this.$keyBindLeft, $this.$keyBindBack, $this.$keyBindRight, $this.$keyBindJump, var$1, $this.$keyBindDrop, $this.$keyBindInventory, $this.$keyBindChat, $this.$keyBindToggleFog]); $this.$numberOfOptions = 10; $this.$difficulty = 2; $this.$thirdPersonView = 0; $this.$field_12259_z = $rt_s(6); } function nms_GameSettings_getKeyBinding($this, $var1) { var var$2, var$3, var$4, var$5; var$2 = $this.$keyBindings.data; var$3 = var$2[$var1].$keyDescription; $var1 = var$2[$var1].$keyCode; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = $var1 >= 0 && $var1 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[$var1] : $rt_s(20); var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$5, var$3), $rt_s(17)), var$4); return jl_AbstractStringBuilder_toString(var$5); } function nms_GameSettings_setOptionFloatValue($this, $var1, $var2) { if (!$var1) $this.$musicVolume = $var2; if ($var1 == 1) $this.$soundVolume = $var2; if ($var1 == 3) $this.$mouseSensitivity = $var2; } function nms_GameSettings_setOptionValue($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: if ($var1 == 2) $this.$invertMouse = $this.$invertMouse ? 0 : 1; if ($var1 == 4) $this.$renderDistance = ($this.$renderDistance + $var2 | 0) & 3; if ($var1 == 5) $this.$viewBobbing = $this.$viewBobbing ? 0 : 1; if ($var1 == 6) $this.$anaglyph = $this.$anaglyph ? 0 : 1; if ($var1 == 7) $this.$limitFramerate = $this.$limitFramerate ? 0 : 1; if ($var1 == 8) $this.$difficulty = ($this.$difficulty + $var2 | 0) & 3; if ($var1 == 9) { $this.$fancyGraphics = $this.$fancyGraphics ? 0 : 1; nms_RenderGlobal_func_958_a($this.$mc6.$field_6323_f); } $ptr = 1; case 1: nms_GameSettings_saveOptions($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function nms_GameSettings_getOptionDisplayString($this, $var1) { var var$2, var$3, var$4; a: { if (!$var1) { var$2 = $this.$musicVolume; if (var$2 <= 0.0) var$3 = $rt_s(381); else { $var1 = var$2 * 100.0 | 0; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(var$3, $var1), 37); var$3 = jl_AbstractStringBuilder_toString(var$3); } var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(382)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 == 1) { var$2 = $this.$soundVolume; if (var$2 <= 0.0) var$3 = $rt_s(381); else { $var1 = var$2 * 100.0 | 0; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(var$3, $var1), 37); var$3 = jl_AbstractStringBuilder_toString(var$3); } var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(383)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 == 2) { var$3 = !$this.$invertMouse ? $rt_s(381) : $rt_s(384); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(385)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 == 3) { var$2 = $this.$mouseSensitivity; if (var$2 === 0.0) { var$3 = $rt_s(386); break a; } if (var$2 === 1.0) { var$3 = $rt_s(387); break a; } $var1 = var$2 * 200.0 | 0; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$3, $rt_s(388)), $var1), 37); var$3 = jl_AbstractStringBuilder_toString(var$3); break a; } if ($var1 == 4) { nms_GameSettings_$callClinit(); var$3 = nms_GameSettings_RENDER_DISTANCES.data[$this.$renderDistance]; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(389)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 == 5) { var$3 = !$this.$viewBobbing ? $rt_s(381) : $rt_s(384); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(390)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 == 6) { var$3 = !$this.$anaglyph ? $rt_s(381) : $rt_s(384); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(391)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 == 7) { var$3 = !$this.$limitFramerate ? $rt_s(381) : $rt_s(384); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(392)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 == 8) { nms_GameSettings_$callClinit(); var$3 = nms_GameSettings_DIFFICULTY_LEVELS.data[$this.$difficulty]; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(393)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); break a; } if ($var1 != 9) { var$3 = $rt_s(6); break a; } var$3 = !$this.$fancyGraphics ? $rt_s(394) : $rt_s(395); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(396)), var$3); var$3 = jl_AbstractStringBuilder_toString(var$4); } return var$3; } function nms_GameSettings_loadOptions($this) { var $var1, $var5, $fileData, $byteArrayInputStream, $inputStreamReader, $var4, $var3, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();$inputStreamReader = $thread.pop();$byteArrayInputStream = $thread.pop();$fileData = $thread.pop();$var5 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: try { $var1 = $rt_s(397); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; } else { throw $$e; } } ji_PrintStream_println(jl_System_out(), $rt_s(398)); jl_Throwable_printStackTrace0($var5); return; case 1: a: { b: { c: { try { $tmp = nlea_EaglerAdapterImpl2_readFile($var1); if ($rt_suspending()) { break main; } $fileData = $tmp; if ($fileData !== null) break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; break b; } else { throw $$e; } } return; } try { $byteArrayInputStream = ji_ByteArrayInputStream__init_($fileData); $inputStreamReader = ji_InputStreamReader__init_($byteArrayInputStream, $rt_s(31)); $var1 = ji_BufferedReader__init_($inputStreamReader); while (true) { $byteArrayInputStream = ji_BufferedReader_readLine($var1); if ($byteArrayInputStream === null) break; $fileData = (jl_String_split($byteArrayInputStream, $rt_s(399))).data; if (jl_String_equals($fileData[0], $rt_s(400))) $this.$musicVolume = nms_GameSettings_parseFloat($this, $fileData[1]); if (jl_String_equals($fileData[0], $rt_s(401))) $this.$soundVolume = nms_GameSettings_parseFloat($this, $fileData[1]); if (jl_String_equals($fileData[0], $rt_s(402))) $this.$mouseSensitivity = nms_GameSettings_parseFloat($this, $fileData[1]); if (jl_String_equals($fileData[0], $rt_s(403))) $this.$invertMouse = jl_String_equals($fileData[1], $rt_s(29)); if (jl_String_equals($fileData[0], $rt_s(404))) $this.$renderDistance = jl_Integer_parseInt0($fileData[1]); if (jl_String_equals($fileData[0], $rt_s(405))) $this.$viewBobbing = jl_String_equals($fileData[1], $rt_s(29)); if (jl_String_equals($fileData[0], $rt_s(406))) $this.$anaglyph = jl_String_equals($fileData[1], $rt_s(29)); if (jl_String_equals($fileData[0], $rt_s(407))) $this.$limitFramerate = jl_String_equals($fileData[1], $rt_s(29)); if (jl_String_equals($fileData[0], $rt_s(408))) $this.$difficulty = jl_Integer_parseInt0($fileData[1]); if (jl_String_equals($fileData[0], $rt_s(409))) $this.$fancyGraphics = jl_String_equals($fileData[1], $rt_s(29)); if (jl_String_equals($fileData[0], $rt_s(410))) $this.$skin = $fileData[1]; if (jl_String_equals($fileData[0], $rt_s(411))) $this.$field_12259_z = $fileData[1]; $var4 = 0; while (true) { $var3 = $this.$keyBindings.data; if ($var4 >= $var3.length) break; $byteArrayInputStream = $fileData[0]; $inputStreamReader = $var3[$var4].$keyDescription; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var5, $rt_s(412)), $inputStreamReader); if (jl_String_equals($byteArrayInputStream, jl_StringBuilder_toString($var5))) $this.$keyBindings.data[$var4].$keyCode = jl_Integer_parseInt0($fileData[1]); $var4 = $var4 + 1 | 0; } } ji_BufferedReader_close($var1); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; } else { throw $$e; } } } ji_PrintStream_println(jl_System_out(), $rt_s(398)); jl_Throwable_printStackTrace0($var5); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var5, $fileData, $byteArrayInputStream, $inputStreamReader, $var4, $var3, $ptr); } function nms_GameSettings_parseFloat($this, $var1) { return jl_String_equals($var1, $rt_s(29)) ? 1.0 : !jl_String_equals($var1, $rt_s(28)) ? jl_Float_parseFloat($var1) : 0.0; } function nms_GameSettings_saveOptions($this) { var $byteArrayOutputStream, $var1, var$3, var$4, var$5, var$6, $fileData, var$8, var$9, $var2, var$11, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var2 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$fileData = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();$byteArrayOutputStream = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $byteArrayOutputStream = ji_ByteArrayOutputStream__init_0(); $var1 = new ji_PrintWriter; var$3 = new ji_OutputStreamWriter; var$4 = ji_OutputStreamWriter_nullCheck($byteArrayOutputStream); jnci_UTF8Charset_$callClinit(); var$5 = jnci_UTF8Charset_INSTANCE; var$4 = ji_OutputStreamWriter_nullCheck(var$4); var$6 = jnci_UTF8Charset_newEncoder(var$5); jnc_CodingErrorAction_$callClinit(); var$5 = jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(var$6, jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE); ji_Writer__init_(var$3); $fileData = $rt_createByteArray(512); var$3.$bufferData = $fileData; var$3.$buffer3 = jn_ByteBuffer_wrap0($fileData); var$3.$out2 = ji_OutputStreamWriter_nullCheck(var$4); var$3.$encoder = var$5; ji_PrintWriter__init_0($var1, var$3, 0); var$8 = $this.$musicVolume; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append3(jl_StringBuilder_append(var$3, $rt_s(413)), var$8); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$8 = $this.$soundVolume; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append3(jl_StringBuilder_append(var$3, $rt_s(414)), var$8); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$9 = $this.$invertMouse; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append6(jl_StringBuilder_append(var$5, $rt_s(415)), var$9); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$5)); var$8 = $this.$mouseSensitivity; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append3(jl_StringBuilder_append(var$5, $rt_s(416)), var$8); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$5)); var$9 = $this.$renderDistance; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append1(jl_StringBuilder_append(var$3, $rt_s(417)), var$9); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$9 = $this.$viewBobbing; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append6(jl_StringBuilder_append(var$3, $rt_s(418)), var$9); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$9 = $this.$anaglyph; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append6(jl_StringBuilder_append(var$3, $rt_s(419)), var$9); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$9 = $this.$limitFramerate; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append6(jl_StringBuilder_append(var$3, $rt_s(420)), var$9); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$9 = $this.$difficulty; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append1(jl_StringBuilder_append(var$3, $rt_s(421)), var$9); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$9 = $this.$fancyGraphics; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append6(jl_StringBuilder_append(var$3, $rt_s(422)), var$9); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); var$4 = $this.$skin; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append(jl_StringBuilder_append(var$3, $rt_s(423)), var$4); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); $var2 = 0; while (true) { $fileData = $this.$keyBindings.data; if ($var2 >= $fileData.length) break; var$4 = $fileData[$var2].$keyDescription; var$11 = $fileData[$var2].$keyCode; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); var$5 = jl_StringBuilder_append(jl_StringBuilder_append(var$3, $rt_s(412)), var$4); jl_AbstractStringBuilder_append(var$5, 58); jl_StringBuilder_append1(var$5, var$11); ji_PrintWriter_println0($var1, jl_AbstractStringBuilder_toString(var$3)); $var2 = $var2 + 1 | 0; } ji_PrintWriter_flush($var1); $fileData = ji_ByteArrayOutputStream_toByteArray($byteArrayOutputStream); $byteArrayOutputStream = $rt_s(397); $ptr = 1; case 1: nlea_EaglerAdapterImpl2_writeFile($byteArrayOutputStream, $fileData); if ($rt_suspending()) { break main; } $byteArrayOutputStream = $var1.$out0; if ($byteArrayOutputStream !== null) { a: { try { $byteArrayOutputStream.$close(); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } ji_PrintWriter_setError($var1); } $var1.$out0 = null; } b: { try { $byteArrayOutputStream = ji_ByteArrayOutputStream__init_0(); nPn_NBTBase_writeTag(nPs_LocalStorageManager_gameSettingsStorage, ji_DataOutputStream__init_($byteArrayOutputStream)); nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(4), ji_ByteArrayOutputStream_toByteArray($byteArrayOutputStream)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } c: { try { $byteArrayOutputStream = ji_ByteArrayOutputStream__init_0(); nPn_NBTBase_writeTag(nPs_LocalStorageManager_levelSettingsStorage, ji_DataOutputStream__init_($byteArrayOutputStream)); nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(5), ji_ByteArrayOutputStream_toByteArray($byteArrayOutputStream)); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $byteArrayOutputStream, $var1, var$3, var$4, var$5, var$6, $fileData, var$8, var$9, $var2, var$11, $ptr); } function nms_GameSettings__clinit_() { nms_GameSettings_RENDER_DISTANCES = $rt_createArrayFromData(jl_String, [$rt_s(424), $rt_s(425), $rt_s(426), $rt_s(427)]); nms_GameSettings_DIFFICULTY_LEVELS = $rt_createArrayFromData(jl_String, [$rt_s(428), $rt_s(429), $rt_s(430), $rt_s(431)]); } var oli_Keyboard = $rt_classWithoutFields(olo_GL11); function oli_Keyboard__init_0() { var var_0 = new oli_Keyboard(); oli_Keyboard__init_(var_0); return var_0; } function oli_Keyboard__init_($this) { olo_EaglerAdapterGL30__init_($this); } function oli_Keyboard_next() { var var$1, var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_unpressCTRL) a: { nlea_EaglerAdapterImpl2_currentEventK = null; if (!ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_keyEvents)) { var$1 = otji_JSWrapper_unwrap(ju_AbstractSequentialList_remove(nlea_EaglerAdapterImpl2_keyEvents, 0)); nlea_EaglerAdapterImpl2_currentEventK = var$1; if (var$1 !== null) { var$2 = 1; break a; } } var$2 = 0; } else { ju_LinkedList_clear(nlea_EaglerAdapterImpl2_keyEvents); nlea_EaglerAdapterImpl2_currentEventK = null; var$3 = nlea_EaglerAdapterImpl2_keyStates.data; var$3[29] = 0; var$3[157] = 0; var$3[28] = 0; var$3[219] = 0; var$3[220] = 0; nlea_EaglerAdapterImpl2_unpressCTRL = 0; var$2 = 0; } return var$2; } var jl_InterruptedException = $rt_classWithoutFields(jl_Exception); function jl_InterruptedException__init_0() { var var_0 = new jl_InterruptedException(); jl_InterruptedException__init_(var_0); return var_0; } function jl_InterruptedException__init_($this) { jl_Throwable__init_0($this); } function nms_WorldRenderer() { var a = this; jl_Object.call(a); a.$worldObj5 = null; a.$field_1744_C = 0; a.$field_1761_c = 0; a.$field_1760_d = 0; a.$field_1759_e = 0; a.$field_1758_f = 0; a.$field_1757_g = 0; a.$field_1756_h = 0; a.$field_1755_i = 0; a.$field_1754_j = 0; a.$field_1753_k = 0; a.$field_1752_l = 0; a.$field_1751_m = 0; a.$field_1750_n = 0; a.$field_1749_o = 0; a.$field_1748_p = null; a.$field_1746_q = 0; a.$field_1743_r = 0; a.$field_1741_s = 0; a.$field_1740_t = 0.0; a.$needsUpdate = 0; a.$field_1736_v = null; a.$field_1735_w = 0; a.$field_1734_x = 0; a.$field_1733_y = 0; a.$field_1747_A = 0; a.$field_1739_E = 0; a.$field_1745_B = null; a.$field_1737_F = null; } var nms_WorldRenderer_field_1742_D = null; var nms_WorldRenderer_field_1762_b = 0; function nms_WorldRenderer_$callClinit() { nms_WorldRenderer_$callClinit = $rt_eraseClinit(nms_WorldRenderer); nms_WorldRenderer__clinit_(); } function nms_WorldRenderer_func_1197_a($this, $var1, $var2, $var3) { var var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if (!($var1 == $this.$field_1761_c && $var2 == $this.$field_1760_d && $var3 == $this.$field_1759_e)) { nms_WorldRenderer_func_1195_b($this); $this.$field_1761_c = $var1; $this.$field_1760_d = $var2; $this.$field_1759_e = $var3; var$4 = $this.$field_1758_f; $this.$field_1746_q = $var1 + (var$4 / 2 | 0) | 0; var$5 = $this.$field_1757_g; $this.$field_1743_r = $var2 + (var$5 / 2 | 0) | 0; var$6 = $this.$field_1756_h; $this.$field_1741_s = $var3 + (var$6 / 2 | 0) | 0; var$7 = $var1 & 1023; $this.$field_1752_l = var$7; $this.$field_1751_m = $var2; var$8 = $var3 & 1023; $this.$field_1750_n = var$8; $this.$field_1755_i = $var1 - var$7 | 0; $this.$field_1754_j = $var2 - $var2 | 0; $this.$field_1753_k = $var3 - var$8 | 0; $this.$field_1736_v = nms_AxisAlignedBB_getBoundingBox($var1 - 2.0, $var2 - 2.0, $var3 - 2.0, ($var1 + var$4 | 0) + 2.0, ($var2 + var$5 | 0) + 2.0, ($var3 + var$6 | 0) + 2.0); olo_EaglerAdapterGL30_glNewList($this.$field_1744_C + 2 | 0, 4864); $var1 = $this.$field_1752_l; var$9 = $var1 - 2.0; $var2 = $this.$field_1751_m; var$10 = $var2 - 2.0; $var3 = $this.$field_1750_n; var$11 = nms_AxisAlignedBB_getBoundingBoxFromPool(var$9, var$10, $var3 - 2.0, ($var1 + $this.$field_1758_f | 0) + 2.0, ($var2 + $this.$field_1757_g | 0) + 2.0, ($var3 + $this.$field_1756_h | 0) + 2.0); nms_Tessellator_$callClinit(); var$12 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads(var$12); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$maxY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$maxY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$minY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$minY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$minY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$minY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$maxY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$maxY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$minY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$minY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$minY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$minY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$maxY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$maxY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$maxY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$maxY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$minY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$maxY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$maxY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$minX, var$11.$minY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$minY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$maxY0, var$11.$minZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$maxY0, var$11.$maxZ0); nms_Tessellator_addVertex(var$12, var$11.$maxX0, var$11.$minY0, var$11.$maxZ0); nms_Tessellator_draw(var$12); olo_EaglerAdapterGL30_glEndList(); nms_WorldRenderer_MarkDirty($this); } } function nms_WorldRenderer_func_1198_a($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var21, $var9, $var10, $var16, $var17, $var11, $var20, $var12, $var13, $var14, $var15, $var22, $var18, $var24, $var23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var23 = $thread.pop();$var24 = $thread.pop();$var18 = $thread.pop();$var22 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var20 = $thread.pop();$var11 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var21 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$needsUpdate) return; nms_WorldRenderer_$callClinit(); nms_WorldRenderer_field_1762_b = nms_WorldRenderer_field_1762_b + 1 | 0; $var1 = $this.$field_1761_c; $var2 = $this.$field_1760_d; $var3 = $this.$field_1759_e; $var4 = $var1 + $this.$field_1758_f | 0; $var5 = $var2 + $this.$field_1757_g | 0; $var6 = $var3 + $this.$field_1756_h | 0; $var7 = 0; while ($var7 < 2) { $this.$field_1748_p.data[$var7] = 1; $var7 = $var7 + 1 | 0; } nms_Chunk_field_1540_a = 0; $var21 = ju_HashSet__init_0(); ju_AbstractCollection_addAll($var21, $this.$field_1745_B); ju_ArrayList_clear($this.$field_1745_B); $var9 = new nms_ChunkCache; $var10 = $this.$worldObj5; $var16 = $var1 - 1 | 0; $var17 = $var2 - 1 | 0; $var11 = $var3 - 1 | 0; $var20 = $var4 + 1 | 0; $var7 = $var5 + 1 | 0; $var12 = $var6 + 1 | 0; $ptr = 1; case 1: nms_ChunkCache__init_($var9, $var10, $var16, $var17, $var11, $var20, $var7, $var12); if ($rt_suspending()) { break main; } $var10 = nms_RenderBlocks__init_0($var9); $var11 = 0; a: { while (true) { if ($var11 >= 2) break a; $var12 = 0; $var13 = 0; $var14 = 0; $var15 = $var2; while ($var15 < $var5) { $var16 = $var3; while ($var16 < $var6) { $var17 = $var1; if ($var17 < $var4) { $ptr = 2; continue main; } $var16 = $var16 + 1 | 0; } $var15 = $var15 + 1 | 0; } if (!$var14) $var13 = 0; else { nms_Tessellator_draw(nms_WorldRenderer_field_1742_D); olo_EaglerAdapterGL30_glEndList(); nms_Tessellator_setTranslationD(nms_WorldRenderer_field_1742_D, 0.0, 0.0, 0.0); } if ($var13) $this.$field_1748_p.data[$var11] = 0; if (!$var12) break; $var11 = $var11 + 1 | 0; } } $var22 = ju_HashSet__init_0(); ju_AbstractCollection_addAll($var22, $this.$field_1745_B); ju_AbstractSet_removeAll($var22, $var21); ju_AbstractCollection_addAll($this.$field_1737_F, $var22); ju_AbstractSet_removeAll($var21, $this.$field_1745_B); ju_AbstractCollection_removeAll($this.$field_1737_F, $var21); $this.$field_1747_A = nms_Chunk_field_1540_a; $this.$field_1739_E = 1; return; case 2: $tmp = nms_ChunkCache_getBlockId($var9, $var17, $var15, $var16); if ($rt_suspending()) { break main; } $var18 = $tmp; if ($var18 > 0) { if (!$var14) { $var14 = 1; olo_EaglerAdapterGL30_glNewList($this.$field_1744_C + $var11 | 0, 4864); nms_Tessellator_startDrawingQuads(nms_WorldRenderer_field_1742_D); nms_Tessellator_setTranslationD(nms_WorldRenderer_field_1742_D, $this.$field_1752_l - $this.$field_1761_c | 0, $this.$field_1751_m - $this.$field_1760_d | 0, $this.$field_1750_n - $this.$field_1759_e | 0); } if (!$var11) { nms_Block_$callClinit(); if (nms_Block_isBlockContainer.data[$var18]) { $var20 = ($var17 >> 4) - $var9.$field_1060_a | 0; $var7 = ($var16 >> 4) - $var9.$field_1059_b | 0; $var24 = $var9.$field_1062_c.data[$var20].data[$var7]; $var7 = $var17 & 15; $var20 = $var16 & 15; $ptr = 3; continue main; } } nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var18]; $var20 = $rt_compare($var24.$func_234_g(), $var11); if ($var20) $var12 = 1; else if (!$var20) { $ptr = 4; continue main; } } $var17 = $var17 + 1 | 0; b: { c: while (true) { if ($var17 < $var4) { continue main; } $var16 = $var16 + 1 | 0; while ($var16 >= $var6) { $var15 = $var15 + 1 | 0; while ($var15 >= $var5) { if (!$var14) $var13 = 0; else { nms_Tessellator_draw(nms_WorldRenderer_field_1742_D); olo_EaglerAdapterGL30_glEndList(); nms_Tessellator_setTranslationD(nms_WorldRenderer_field_1742_D, 0.0, 0.0, 0.0); } if ($var13) $this.$field_1748_p.data[$var11] = 0; if (!$var12) break c; $var11 = $var11 + 1 | 0; if ($var11 >= 2) break b; $var12 = 0; $var13 = 0; $var14 = 0; $var15 = $var2; } $var16 = $var3; } $var17 = $var1; } } $var22 = ju_HashSet__init_0(); ju_AbstractCollection_addAll($var22, $this.$field_1745_B); ju_AbstractSet_removeAll($var22, $var21); ju_AbstractCollection_addAll($this.$field_1737_F, $var22); ju_AbstractSet_removeAll($var21, $this.$field_1745_B); ju_AbstractCollection_removeAll($this.$field_1737_F, $var21); $this.$field_1747_A = nms_Chunk_field_1540_a; $this.$field_1739_E = 1; return; case 3: $tmp = nms_Chunk_getChunkBlockTileEntity($var24, $var7, $var15, $var20); if ($rt_suspending()) { break main; } $var23 = $tmp; nms_TileEntityRenderer_$callClinit(); if (nms_TileEntityRenderer_getSpecialRendererForEntity(nms_TileEntityRenderer_instance, $var23) === null ? 0 : 1) ju_ArrayList_add($this.$field_1745_B, $var23); nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var18]; $var20 = $rt_compare($var24.$func_234_g(), $var11); if ($var20) $var12 = 1; else if (!$var20) { $ptr = 4; continue main; } $var17 = $var17 + 1 | 0; d: { b: while (true) { if ($var17 < $var4) { $ptr = 2; continue main; } $var16 = $var16 + 1 | 0; while ($var16 >= $var6) { $var15 = $var15 + 1 | 0; while ($var15 >= $var5) { if (!$var14) $var13 = 0; else { nms_Tessellator_draw(nms_WorldRenderer_field_1742_D); olo_EaglerAdapterGL30_glEndList(); nms_Tessellator_setTranslationD(nms_WorldRenderer_field_1742_D, 0.0, 0.0, 0.0); } if ($var13) $this.$field_1748_p.data[$var11] = 0; if (!$var12) break b; $var11 = $var11 + 1 | 0; if ($var11 >= 2) break d; $var12 = 0; $var13 = 0; $var14 = 0; $var15 = $var2; } $var16 = $var3; } $var17 = $var1; } } $var22 = ju_HashSet__init_0(); ju_AbstractCollection_addAll($var22, $this.$field_1745_B); ju_AbstractSet_removeAll($var22, $var21); ju_AbstractCollection_addAll($this.$field_1737_F, $var22); ju_AbstractSet_removeAll($var21, $this.$field_1745_B); ju_AbstractCollection_removeAll($this.$field_1737_F, $var21); $this.$field_1747_A = nms_Chunk_field_1540_a; $this.$field_1739_E = 1; return; case 4: $tmp = nms_RenderBlocks_renderBlockByRenderType($var10, $var24, $var17, $var15, $var16); if ($rt_suspending()) { break main; } $var20 = $tmp; $var13 = $var13 | $var20; $var17 = $var17 + 1 | 0; a: { e: while (true) { if ($var17 < $var4) { $ptr = 2; continue main; } $var16 = $var16 + 1 | 0; while ($var16 >= $var6) { $var15 = $var15 + 1 | 0; while ($var15 >= $var5) { if (!$var14) $var13 = 0; else { nms_Tessellator_draw(nms_WorldRenderer_field_1742_D); olo_EaglerAdapterGL30_glEndList(); nms_Tessellator_setTranslationD(nms_WorldRenderer_field_1742_D, 0.0, 0.0, 0.0); } if ($var13) $this.$field_1748_p.data[$var11] = 0; if (!$var12) break e; $var11 = $var11 + 1 | 0; if ($var11 >= 2) break a; $var12 = 0; $var13 = 0; $var14 = 0; $var15 = $var2; } $var16 = $var3; } $var17 = $var1; } } $var22 = ju_HashSet__init_0(); ju_AbstractCollection_addAll($var22, $this.$field_1745_B); ju_AbstractSet_removeAll($var22, $var21); ju_AbstractCollection_addAll($this.$field_1737_F, $var22); ju_AbstractSet_removeAll($var21, $this.$field_1745_B); ju_AbstractCollection_removeAll($this.$field_1737_F, $var21); $this.$field_1747_A = nms_Chunk_field_1540_a; $this.$field_1739_E = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var21, $var9, $var10, $var16, $var17, $var11, $var20, $var12, $var13, $var14, $var15, $var22, $var18, $var24, $var23, $ptr); } function nms_WorldRenderer_func_1202_a($this, $var1) { var $var2, $var3, $var4; $var2 = $var1.$posX - $this.$field_1746_q; $var3 = $var1.$posY - $this.$field_1743_r; $var4 = $var1.$posZ - $this.$field_1741_s; return $var2 * $var2 + $var3 * $var3 + $var4 * $var4; } function nms_WorldRenderer_func_1195_b($this) { var $var1; $var1 = 0; while ($var1 < 2) { $this.$field_1748_p.data[$var1] = 1; $var1 = $var1 + 1 | 0; } $this.$field_1749_o = 0; $this.$field_1739_E = 0; } function nms_WorldRenderer_func_1200_a($this, $var1) { return !$this.$field_1749_o ? (-1) : $this.$field_1748_p.data[$var1] ? (-1) : $this.$field_1744_C + $var1 | 0; } function nms_WorldRenderer_MarkDirty($this) { $this.$needsUpdate = 1; } function nms_WorldRenderer__clinit_() { nms_Tessellator_$callClinit(); nms_WorldRenderer_field_1742_D = nms_Tessellator_instance; nms_WorldRenderer_field_1762_b = 0; } var nms_MinecraftException = $rt_classWithoutFields(jl_RuntimeException); function nms_MinecraftException__init_(var_0) { var var_1 = new nms_MinecraftException(); nms_MinecraftException__init_0(var_1, var_0); return var_1; } function nms_MinecraftException__init_0($this, $var1) { jl_Throwable__init_($this, $var1); } var nms_IBlockAccess = $rt_classWithoutFields(0); function nms_World() { var a = this; jl_Object.call(a); a.$field_4214_a = 0; a.$field_1051_z = null; a.$loadedEntityList = null; a.$field_1024_A = null; a.$scheduledTickTreeSet = null; a.$scheduledTickSet = null; a.$loadedTileEntityList = null; a.$playerEntities = null; a.$worldTime = Long_ZERO; a.$field_1019_F = Long_ZERO; a.$skylightSubtracted = 0; a.$field_9437_g = 0; a.$field_9436_h = 0; a.$field_1043_h = 0; a.$field_1054_E = Long_ZERO; a.$autosavePeriod = 0; a.$difficultySetting = 0; a.$rand1 = null; a.$spawnX = 0; a.$spawnY = 0; a.$spawnZ = 0; a.$field_1033_r = 0; a.$worldProvider = null; a.$worldAccesses = null; a.$chunkProvider = null; a.$field_9433_s = null; a.$field_9432_t = null; a.$randomSeed = Long_ZERO; a.$nbtCompoundPlayer = null; a.$sizeOnDisk = Long_ZERO; a.$field_9431_w = null; a.$field_9430_x = 0; a.$field_9428_I = null; a.$field_4204_J = 0; a.$field_9427_K = null; a.$field_9426_L = 0; a.$field_1012_M = null; } var nms_World_field_9429_y = 0; function nms_World__init_(var_0, var_1) { var var_2 = new nms_World(); nms_World__init_0(var_2, var_0, var_1); return var_2; } function nms_World__init_1(var_0, var_1, var_2, var_3) { var var_4 = new nms_World(); nms_World__init_2(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_World_func_629_a($var1) { var $var5, $data, $var6, $var7, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$data = $thread.pop();$var5 = $thread.pop();$var1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($var5, $rt_s(432)), $var1), $rt_s(433)); $var1 = jl_AbstractStringBuilder_toString($var5); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_readFile($var1); if ($rt_suspending()) { break main; } $data = $tmp; if ($data !== null) { a: { try { $var6 = nms_NBTTagCompound_getCompoundTag(nms_NBTBase_readTag(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($data))), $rt_s(434)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; break a; } else { throw $$e; } } return $var6; } jl_Throwable_printStackTrace0($var7); } return null; default: $rt_invalidPointer(); }} $rt_nativeThread().push($var1, $var5, $data, $var6, $var7, $ptr); } function nms_World_func_4075_a($this) { return $this.$worldProvider.$worldChunkMgr; } function nms_World__init_0($this, $var1, $var2) { $this.$field_4214_a = 0; $this.$field_1051_z = ju_ArrayList__init_0(); $this.$loadedEntityList = ju_ArrayList__init_0(); $this.$field_1024_A = ju_ArrayList__init_0(); $this.$scheduledTickTreeSet = ju_TreeSet__init_0(); $this.$scheduledTickSet = ju_HashSet__init_0(); $this.$loadedTileEntityList = ju_ArrayList__init_0(); $this.$playerEntities = ju_ArrayList__init_0(); $this.$worldTime = Long_ZERO; $this.$field_1019_F = Long_fromInt(16777215); $this.$skylightSubtracted = 0; $this.$field_9437_g = ju_Random_nextInt0(new ju_Random); $this.$field_9436_h = 1013904223; $this.$field_1043_h = 0; $this.$field_1054_E = jl_System_currentTimeMillis(); $this.$autosavePeriod = 40; $this.$rand1 = new ju_Random; $this.$field_1033_r = 0; $this.$worldAccesses = ju_ArrayList__init_0(); $this.$randomSeed = Long_ZERO; $this.$sizeOnDisk = Long_ZERO; $this.$field_9428_I = ju_ArrayList__init_0(); $this.$field_4204_J = 0; $this.$field_9427_K = ju_HashSet__init_0(); $this.$field_9426_L = ju_Random_nextInt($this.$rand1, 12000); $this.$field_1012_M = ju_ArrayList__init_0(); $this.$field_1054_E = $var1.$field_1054_E; $this.$field_9433_s = $var1.$field_9433_s; $this.$field_9432_t = $var1.$field_9432_t; $this.$field_9431_w = $var1.$field_9431_w; $this.$randomSeed = $var1.$randomSeed; $this.$worldTime = $var1.$worldTime; $this.$spawnX = $var1.$spawnX; $this.$spawnY = $var1.$spawnY; $this.$spawnZ = $var1.$spawnZ; $this.$sizeOnDisk = $var1.$sizeOnDisk; $this.$worldProvider = $var2; nms_WorldProvider_registerWorld($var2, $this); $this.$chunkProvider = nms_World_func_4081_a($this, $this.$field_9432_t); nms_World_calculateInitialSkylight($this); } function nms_World__init_2($this, $var1, $var2, $var3, $var5) { var $var8, $data, $var7, $data_0, $var16, $var17, $var9, $var14, $var19, $var10, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var19 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$data_0 = $thread.pop();$var7 = $thread.pop();$data = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_4214_a = 0; $this.$field_1051_z = ju_ArrayList__init_0(); $this.$loadedEntityList = ju_ArrayList__init_0(); $this.$field_1024_A = ju_ArrayList__init_0(); $this.$scheduledTickTreeSet = ju_TreeSet__init_0(); $this.$scheduledTickSet = ju_HashSet__init_0(); $this.$loadedTileEntityList = ju_ArrayList__init_0(); $this.$playerEntities = ju_ArrayList__init_0(); $this.$worldTime = Long_ZERO; $this.$field_1019_F = Long_fromInt(16777215); $this.$skylightSubtracted = 0; $this.$field_9437_g = ju_Random_nextInt0(new ju_Random); $this.$field_9436_h = 1013904223; $this.$field_1043_h = 0; $this.$field_1054_E = jl_System_currentTimeMillis(); $this.$autosavePeriod = 40; $this.$rand1 = new ju_Random; $this.$field_1033_r = 0; $this.$worldAccesses = ju_ArrayList__init_0(); $this.$randomSeed = Long_ZERO; $this.$sizeOnDisk = Long_ZERO; $this.$field_9428_I = ju_ArrayList__init_0(); $this.$field_4204_J = 0; $this.$field_9427_K = ju_HashSet__init_0(); $this.$field_9426_L = ju_Random_nextInt($this.$rand1, 12000); $this.$field_1012_M = ju_ArrayList__init_0(); $this.$field_9433_s = $var1; $this.$field_9431_w = $var2; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8); $var1 = jl_StringBuilder_append($var8, $var1); jl_AbstractStringBuilder_append($var1, 47); jl_StringBuilder_append($var1, $var2); $this.$field_9432_t = jl_AbstractStringBuilder_toString($var8); try { $data = ji_ByteArrayOutputStream__init_0(); $var7 = ji_DataOutputStream__init_($data); a: { try { ji_DataOutputStream_writeLong($var7, $this.$field_1054_E); } catch ($$e) { $$je = $rt_wrapException($$e); $var1 = $$je; break a; } ji_DataOutputStream_flush($var7); $var2 = $this.$field_9432_t; $var1 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var1, $var2), $rt_s(435)); $var1 = jl_StringBuilder_toString($var1); $data_0 = ji_ByteArrayOutputStream_toByteArray($data); $ptr = 2; continue main; } ji_DataOutputStream_flush($var7); $var2 = $this.$field_9432_t; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var5, $var2), $rt_s(435)); $var2 = jl_StringBuilder_toString($var5); $data_0 = ji_ByteArrayOutputStream_toByteArray($data); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var16 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var16); $var1 = new jl_RuntimeException; jl_Throwable__init_($var1, $rt_s(436)); $rt_throw($var1); case 1: try { nlea_EaglerAdapterImpl2_writeFile($var2, $data_0); if ($rt_suspending()) { break main; } ji_FilterOutputStream_close($var7); $rt_throw($var1); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var16 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var16); $var1 = new jl_RuntimeException; jl_Throwable__init_($var1, $rt_s(436)); $rt_throw($var1); case 2: b: { try { nlea_EaglerAdapterImpl2_writeFile($var1, $data_0); if ($rt_suspending()) { break main; } ji_FilterOutputStream_close($var7); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var16 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var16); $var1 = new jl_RuntimeException; jl_Throwable__init_($var1, $rt_s(436)); $rt_throw($var1); } $var17 = nms_WorldProvider__init_0(); $var2 = $this.$field_9432_t; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var1); jl_StringBuilder_append(jl_StringBuilder_append($var1, $var2), $rt_s(433)); $var1 = jl_AbstractStringBuilder_toString($var1); $ptr = 3; case 3: $tmp = nlea_EaglerAdapterImpl2_readFile($var1); if ($rt_suspending()) { break main; } $data_0 = $tmp; $this.$field_1033_r = $data_0 !== null ? 0 : 1; $ptr = 4; case 4: b: { $tmp = nlea_EaglerAdapterImpl2_readFile($var1); if ($rt_suspending()) { break main; } $data_0 = $tmp; if ($data_0 !== null) { try { $data = $var17; $var9 = nms_NBTTagCompound_getCompoundTag(nms_NBTBase_readTag(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($data_0))), $rt_s(434)); $this.$randomSeed = nms_NBTTagCompound_getLong($var9, $rt_s(437)); $this.$spawnX = nms_NBTTagCompound_getInteger($var9, $rt_s(438)); $this.$spawnY = nms_NBTTagCompound_getInteger($var9, $rt_s(439)); $this.$spawnZ = nms_NBTTagCompound_getInteger($var9, $rt_s(440)); $this.$worldTime = nms_NBTTagCompound_getLong($var9, $rt_s(441)); $this.$sizeOnDisk = nms_NBTTagCompound_getLong($var9, $rt_s(442)); if (nms_NBTTagCompound_hasKey($var9, $rt_s(3))) { $data = $var17; $var1 = nms_NBTTagCompound_getCompoundTag($var9, $rt_s(3)); $this.$nbtCompoundPlayer = $var1; if (nms_NBTTagCompound_getInteger($var1, $rt_s(443)) == (-1)) { $data = $var17; $var17 = new nms_WorldProviderHell; $data = $var17; nms_WorldProviderHell__init_($var17); } } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var14 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var14); $var17 = $data; } } if ($var5 === null) $var5 = $var17; $var19 = 0; if (Long_eq($this.$randomSeed, Long_ZERO)) { $this.$randomSeed = $var3; $var19 = 1; } $this.$worldProvider = $var5; nms_WorldProvider_registerWorld($var5, $this); $this.$chunkProvider = nms_World_func_4081_a($this, $this.$field_9432_t); if (!$var19) { nms_World_calculateInitialSkylight($this); return; } $this.$field_9430_x = 1; $this.$spawnX = 0; $this.$spawnY = 64; $this.$spawnZ = 0; $var1 = $this.$worldProvider; $var19 = $this.$spawnX; $var10 = $this.$spawnZ; $ptr = 5; case 5: $tmp = $var1.$canCoordinateBeSpawn($var19, $var10); if ($rt_suspending()) { break main; } $var19 = $tmp; if ($var19) { $this.$field_9430_x = 0; nms_World_calculateInitialSkylight($this); return; } $this.$spawnX = $this.$spawnX + (ju_Random_nextInt($this.$rand1, 64) - ju_Random_nextInt($this.$rand1, 64) | 0) | 0; $this.$spawnZ = $this.$spawnZ + (ju_Random_nextInt($this.$rand1, 64) - ju_Random_nextInt($this.$rand1, 64) | 0) | 0; $var1 = $this.$worldProvider; $var19 = $this.$spawnX; $var10 = $this.$spawnZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var5, $var8, $data, $var7, $data_0, $var16, $var17, $var9, $var14, $var19, $var10, $ptr); } function nms_World_func_4081_a($this, $var1) { var var$2, var$3, var$4; var$2 = new nms_ChunkProviderLoadOrGenerate; $var1 = $this.$worldProvider.$getChunkLoader($var1); var$3 = $this.$worldProvider.$getChunkProvider(); var$2.$chunks = $rt_createArray(nms_Chunk, 1024); var$2.$lastQueriedChunkXPos = (-999999999); var$2.$lastQueriedChunkZPos = (-999999999); var$4 = nms_Chunk__init_($this, $rt_createByteArray(32768), 0, 0); var$2.$blankChunk = var$4; var$4.$field_1524_q = 1; var$4.$neverSave = 1; var$2.$worldObj6 = $this; var$2.$chunkLoader = $var1; var$2.$chunkProvider0 = var$3; return var$2; } function nms_World_func_614_g($this, $var1, $var2) { var $var3, $var3_0, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var3_0 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = 63; $var3_0 = $var3 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var1, $var3_0, $var2); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { $ptr = 2; continue main; } $var3 = $var3_0; $var3_0 = $var3 + 1 | 0; continue main; case 2: $tmp = nms_World_getBlockId($this, $var1, $var3, $var2); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var3_0, var$5, $ptr); } function nms_World_func_608_a($this, $var1) { var $var3, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: try { $var3 = $this.$nbtCompoundPlayer; if ($var3 !== null) { nms_Entity_readFromNBT($var1, $var3); $this.$nbtCompoundPlayer = null; } $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var3); return; case 1: a: { try { nms_World_entityJoinedWorld($this, $var1); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $ptr); } function nms_World_saveWorld($this, $var1, $var2) { var 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 ($var2 !== null) { $var2.$field_1005_e = 1; nms_LoadingScreenRenderer_func_597_c($var2, $var2.$field_1007_c); } $ptr = 1; case 1: nms_World_saveLevel($this); if ($rt_suspending()) { break main; } if ($var2 === null) { var$3 = $this.$chunkProvider; $ptr = 2; continue main; } var$3 = $rt_s(444); $ptr = 3; continue main; case 2: nms_ChunkProviderLoadOrGenerate_saveChunks(var$3, $var1, $var2); if ($rt_suspending()) { break main; } return; case 3: nms_LoadingScreenRenderer_displayLoadingString($var2, var$3); if ($rt_suspending()) { break main; } var$3 = $this.$chunkProvider; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_World_saveLevel($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $data, $dos, $file, $e, $var7, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$e = $thread.pop();$file = $thread.pop();$dos = $thread.pop();$data = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_World_func_663_l($this); if ($rt_suspending()) { break main; } $var1 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setLong($var1, $rt_s(437), $this.$randomSeed); nms_NBTTagCompound_setInteger($var1, $rt_s(438), $this.$spawnX); nms_NBTTagCompound_setInteger($var1, $rt_s(439), $this.$spawnY); nms_NBTTagCompound_setInteger($var1, $rt_s(440), $this.$spawnZ); nms_NBTTagCompound_setLong($var1, $rt_s(441), $this.$worldTime); nms_NBTTagCompound_setLong($var1, $rt_s(442), $this.$sizeOnDisk); nms_NBTTagCompound_setLong($var1, $rt_s(445), jl_System_currentTimeMillis()); $var2 = null; $var3 = $this.$playerEntities; if ($var3.$size > 0) $var2 = ju_ArrayList_get($var3, 0); if ($var2 !== null) { $var3 = nms_NBTTagCompound__init_0(); nms_Entity_writeToNBT($var2, $var3); nms_NBTTagCompound_setCompoundTag($var1, $rt_s(3), $var3); } $var3 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setTag($var3, $rt_s(434), $var1); try { $var1 = $this.$field_9432_t; $var2 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var2, $var1), $rt_s(446)); $var4 = jl_StringBuilder_toString($var2); $var1 = $this.$field_9432_t; $var2 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var2, $var1), $rt_s(447)); $var5 = jl_StringBuilder_toString($var2); $var1 = $this.$field_9432_t; $var2 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var2, $var1), $rt_s(433)); $var6 = jl_StringBuilder_toString($var2); $data = ji_ByteArrayOutputStream__init_0(); try { $dos = ji_DataOutputStream__init_(ji_BufferedOutputStream__init_($data)); try { nms_NBTBase_writeTag($var3, $dos); ji_DataOutputStream_flush($dos); $file = ji_ByteArrayOutputStream_toByteArray($data); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var1 = $$je; } else { throw $$e; } } a: { try { ji_FilterOutputStream_close($dos); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var2 = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($var1, $var2); } $rt_throw($var1); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); $file = ji_ByteArrayOutputStream_toByteArray($data); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 2: try { b: { try { c: { try { nlea_EaglerAdapterImpl2_writeFile($var6, $file); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var1 = $$je; break c; } else { throw $$e; } } ji_FilterOutputStream_close($dos); break b; } d: { try { ji_FilterOutputStream_close($dos); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var2 = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($var1, $var2); } $rt_throw($var1); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); } $file = ji_ByteArrayOutputStream_toByteArray($data); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 3: try { nlea_EaglerAdapterImpl2_writeFile($var4, $file); if ($rt_suspending()) { break main; } $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 4: try { $tmp = nlea_EaglerAdapterImpl2_readFile($var5); if ($rt_suspending()) { break main; } $file = $tmp; if ($file === null) { $ptr = 5; continue main; } $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 5: try { nlea_EaglerAdapterImpl2_renameFile($var6, $var5); if ($rt_suspending()) { break main; } $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 6: try { $tmp = nlea_EaglerAdapterImpl2_readFile($var6); if ($rt_suspending()) { break main; } $file = $tmp; if ($file === null) { $ptr = 8; continue main; } $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 7: try { nlea_EaglerAdapterImpl2_deleteFile($var5); if ($rt_suspending()) { break main; } $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 8: try { nlea_EaglerAdapterImpl2_renameFile($var4, $var6); if ($rt_suspending()) { break main; } $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 9: e: { try { $tmp = nlea_EaglerAdapterImpl2_readFile($var4); if ($rt_suspending()) { break main; } $file = $tmp; if ($file === null) break e; $ptr = 11; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); } return; case 10: try { nlea_EaglerAdapterImpl2_deleteFile($var6); if ($rt_suspending()) { break main; } $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); return; case 11: e: { try { nlea_EaglerAdapterImpl2_deleteFile($var4); if ($rt_suspending()) { break main; } break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $data, $dos, $file, $e, $var7, $ptr); } function nms_World_getBlockId($this, $var1, $var2, $var3) { var var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { if ($var2 < 0) $var1 = 0; else { if ($var2 < 128) { var$4 = $var1 >> 4; var$5 = $var3 >> 4; $ptr = 1; continue main; } $var1 = 0; } } else $var1 = 0; return $var1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$4, var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; return nms_Chunk_getBlockID(var$6, $var1 & 15, $var2, $var3 & 15); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, $ptr); } function nms_World_blockExists($this, $var1, $var2, $var3) { return $var2 >= 0 && $var2 < 128 ? nms_World_chunkExists($this, $var1 >> 4, $var3 >> 4) : 0; } function nms_World_checkChunksExist($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8; if ($var5 >= 0 && $var2 < 128) { $var7 = $var1 >> 4; $var1 = $var3 >> 4; $var2 = $var4 >> 4; $var3 = $var6 >> 4; while ($var7 <= $var2) { $var8 = $var1; while ($var8 <= $var3) { if (!nms_World_chunkExists($this, $var7, $var8)) return 0; $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } return 1; } return 0; } function nms_World_chunkExists($this, $var1, $var2) { return nms_ChunkProviderLoadOrGenerate_chunkExists($this.$chunkProvider, $var1, $var2); } function nms_World_getChunkFromBlockCoords($this, $var1, $var2) { var 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();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $var1 >> 4; $var1 = $var2 >> 4; $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$3, $var1); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $ptr); } function nms_World_getChunkFromChunkCoords($this, $var1, $var2) { var 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: var$3 = $this.$chunkProvider; $ptr = 1; case 1: $tmp = nms_ChunkProviderLoadOrGenerate_provideChunk(var$3, $var1, $var2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_World_setBlockAndMetadata($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$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: if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { if ($var2 < 0) return 0; if ($var2 >= 128) return 0; var$6 = $var1 >> 4; var$7 = $var3 >> 4; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$6, var$7); if ($rt_suspending()) { break main; } $var6 = $tmp; var$9 = $var1 & 15; var$6 = $var3 & 15; var$10 = $var4 << 24 >> 24; var$11 = $var6.$heightMap.data[var$6 << 4 | var$9] & 255; var$12 = $var6.$blocks0.data; var$13 = var$9 << 11 | var$6 << 7 | $var2; var$14 = var$12[var$13] & 255; if (var$14 == $var4 && nms_NibbleArray_getNibble($var6.$data1, var$9, $var2, var$6) == $var5) return 0; $var1 = ($var6.$xPosition * 16 | 0) + var$9 | 0; $var3 = ($var6.$zPosition * 16 | 0) + var$6 | 0; $var6.$blocks0.data[var$13] = var$10; if (var$14) { nms_Block_$callClinit(); var$15 = nms_Block_blocksList.data[var$14]; var$16 = $var6.$worldObj3; $ptr = 2; continue main; } nms_NibbleArray_setNibble($var6.$data1, var$9, $var2, var$6, $var5); if (!$var6.$worldObj3.$worldProvider.$field_6478_e) { nms_Block_$callClinit(); if (!nms_Block_lightOpacity.data[var$10]) { if ($var2 == (var$11 - 1 | 0)) nms_Chunk_func_1003_g($var6, var$9, $var2, var$6); } else if ($var2 >= var$11) nms_Chunk_func_1003_g($var6, var$9, $var2 + 1 | 0, var$6); var$15 = $var6.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$15, nms_EnumSkyBlock_Sky, $var1, $var2, $var3, $var1, $var2, $var3); } var$15 = $var6.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$15, nms_EnumSkyBlock_Block, $var1, $var2, $var3, $var1, $var2, $var3); $ptr = 3; continue main; case 2: var$15.$onBlockRemoval(var$16, $var1, $var2, $var3); if ($rt_suspending()) { break main; } nms_NibbleArray_setNibble($var6.$data1, var$9, $var2, var$6, $var5); if (!$var6.$worldObj3.$worldProvider.$field_6478_e) { nms_Block_$callClinit(); if (!nms_Block_lightOpacity.data[var$10]) { if ($var2 == (var$11 - 1 | 0)) nms_Chunk_func_1003_g($var6, var$9, $var2, var$6); } else if ($var2 >= var$11) nms_Chunk_func_1003_g($var6, var$9, $var2 + 1 | 0, var$6); var$15 = $var6.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$15, nms_EnumSkyBlock_Sky, $var1, $var2, $var3, $var1, $var2, $var3); } var$15 = $var6.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$15, nms_EnumSkyBlock_Block, $var1, $var2, $var3, $var1, $var2, $var3); $ptr = 3; case 3: nms_Chunk_func_996_c($var6, var$9, var$6); if ($rt_suspending()) { break main; } if (!$var4) { nms_NibbleArray_setNibble($var6.$data1, var$9, $var2, var$6, $var5); $var6.$isModified = 1; return 1; } nms_Block_$callClinit(); var$15 = nms_Block_blocksList.data[$var4]; var$16 = $var6.$worldObj3; $ptr = 4; case 4: var$15.$onBlockAdded(var$16, $var1, $var2, $var3); if ($rt_suspending()) { break main; } nms_NibbleArray_setNibble($var6.$data1, var$9, $var2, var$6, $var5); $var6.$isModified = 1; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); } function nms_World_setBlock($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $var5, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $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();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { if ($var2 < 0) return 0; if ($var2 >= 128) return 0; var$5 = $var1 >> 4; var$6 = $var3 >> 4; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$5, var$6); if ($rt_suspending()) { break main; } $var5 = $tmp; var$8 = $var1 & 15; var$9 = $var3 & 15; var$10 = $var4 << 24 >> 24; var$11 = $var5.$heightMap.data[var$9 << 4 | var$8] & 255; var$12 = $var5.$blocks0.data; var$13 = var$8 << 11 | var$9 << 7 | $var2; $var1 = var$12[var$13] & 255; if ($var1 == $var4) return 0; $var3 = ($var5.$xPosition * 16 | 0) + var$8 | 0; var$6 = ($var5.$zPosition * 16 | 0) + var$9 | 0; var$12[var$13] = var$10; if ($var1) { nms_Block_$callClinit(); var$14 = nms_Block_blocksList.data[$var1]; var$15 = $var5.$worldObj3; $ptr = 2; continue main; } nms_NibbleArray_setNibble($var5.$data1, var$8, $var2, var$9, 0); nms_Block_$callClinit(); if (!nms_Block_lightOpacity.data[var$10]) { if ($var2 == (var$11 - 1 | 0)) nms_Chunk_func_1003_g($var5, var$8, $var2, var$9); } else if ($var2 >= var$11) nms_Chunk_func_1003_g($var5, var$8, $var2 + 1 | 0, var$9); var$14 = $var5.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$14, nms_EnumSkyBlock_Sky, $var3, $var2, var$6, $var3, $var2, var$6); nms_World_func_616_a($var5.$worldObj3, nms_EnumSkyBlock_Block, $var3, $var2, var$6, $var3, $var2, var$6); $ptr = 3; continue main; case 2: var$14.$onBlockRemoval(var$15, $var3, $var2, var$6); if ($rt_suspending()) { break main; } nms_NibbleArray_setNibble($var5.$data1, var$8, $var2, var$9, 0); nms_Block_$callClinit(); if (!nms_Block_lightOpacity.data[var$10]) { if ($var2 == (var$11 - 1 | 0)) nms_Chunk_func_1003_g($var5, var$8, $var2, var$9); } else if ($var2 >= var$11) nms_Chunk_func_1003_g($var5, var$8, $var2 + 1 | 0, var$9); var$14 = $var5.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$14, nms_EnumSkyBlock_Sky, $var3, $var2, var$6, $var3, $var2, var$6); nms_World_func_616_a($var5.$worldObj3, nms_EnumSkyBlock_Block, $var3, $var2, var$6, $var3, $var2, var$6); $ptr = 3; case 3: nms_Chunk_func_996_c($var5, var$8, var$9); if ($rt_suspending()) { break main; } if (!$var4) { $var5.$isModified = 1; return 1; } var$14 = nms_Block_blocksList.data[$var4]; var$15 = $var5.$worldObj3; $ptr = 4; case 4: var$14.$onBlockAdded(var$15, $var3, $var2, var$6); if ($rt_suspending()) { break main; } $var5.$isModified = 1; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $var5, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); } function nms_World_getBlockMaterial($this, $var1, $var2, $var3) { var $var4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4) { nms_Material_$callClinit(); var$5 = nms_Material_air; } else { nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[$var4].$blockMaterial; } return var$5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_World_getBlockMetadata($this, $var1, $var2, $var3) { var var$4, var$5, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $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: if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { if ($var2 < 0) return 0; if ($var2 >= 128) return 0; var$4 = $var1 >> 4; var$5 = $var3 >> 4; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$4, var$5); if ($rt_suspending()) { break main; } $var4 = $tmp; return nms_Chunk_getBlockMetadata($var4, $var1 & 15, $var2, $var3 & 15); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var4, $ptr); } function nms_World_setBlockMetadataWithNotify($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { if ($var2 < 0) $var4 = 0; else { if ($var2 < 128) { var$5 = $var1 >> 4; var$6 = $var3 >> 4; $ptr = 3; continue main; } $var4 = 0; } } else $var4 = 0; if (!$var4) return; $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; $ptr = 2; case 2: nms_World_notifyBlockChange($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; case 3: $tmp = nms_World_getChunkFromChunkCoords($this, var$5, var$6); if ($rt_suspending()) { break main; } var$7 = $tmp; var$6 = $var1 & 15; var$5 = $var3 & 15; var$7.$isModified = 1; nms_NibbleArray_setNibble(var$7.$data1, var$6, $var2, var$5, $var4); if (!1) return; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, $ptr); } function nms_World_setBlockWithNotify($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_setBlock($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) return 0; $ptr = 2; case 2: nms_World_notifyBlockChange($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_World_setBlockAndMetadataWithNotify($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_setBlockAndMetadata($this, $var1, $var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return 0; $ptr = 2; case 2: nms_World_notifyBlockChange($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_World_func_665_h($this, $var1, $var2, $var3) { var $var4, var$5; $var4 = 0; while (true) { var$5 = $this.$worldAccesses; if ($var4 >= var$5.$size) break; nms_RenderGlobal_func_934_a(ju_ArrayList_get(var$5, $var4), $var1, $var2, $var3); $var4 = $var4 + 1 | 0; } } function nms_World_notifyBlockChange($this, $var1, $var2, $var3, $var4) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_World_func_665_h($this, $var1, $var2, $var3); $ptr = 1; case 1: nms_World_notifyBlocksOfNeighborChange($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_World_func_701_b($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, var$8, var$9, var$10, var$11; $var7 = 0; var$8 = $var1 - 1 | 0; var$9 = $var2 - 1 | 0; var$10 = $var3 - 1 | 0; $var4 = $var4 + 1 | 0; $var1 = $var5 + 1 | 0; $var2 = $var6 + 1 | 0; while (true) { var$11 = $this.$worldAccesses; if ($var7 >= var$11.$size) break; nms_RenderGlobal_func_949_a(ju_ArrayList_get(var$11, $var7), var$8, var$9, var$10, $var4, $var1, $var2); $var7 = $var7 + 1 | 0; } } function nms_World_notifyBlocksOfNeighborChange($this, $var1, $var2, $var3, $var4) { var var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var1 - 1 | 0; $ptr = 1; case 1: nms_World_notifyBlockOfNeighborChange($this, var$5, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $var1 + 1 | 0; $ptr = 2; case 2: nms_World_notifyBlockOfNeighborChange($this, var$5, $var2, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $var2 - 1 | 0; $ptr = 3; case 3: nms_World_notifyBlockOfNeighborChange($this, $var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $var2 + 1 | 0; $ptr = 4; case 4: nms_World_notifyBlockOfNeighborChange($this, $var1, var$5, $var3, $var4); if ($rt_suspending()) { break main; } var$5 = $var3 - 1 | 0; $ptr = 5; case 5: nms_World_notifyBlockOfNeighborChange($this, $var1, $var2, var$5, $var4); if ($rt_suspending()) { break main; } $var3 = $var3 + 1 | 0; $ptr = 6; case 6: nms_World_notifyBlockOfNeighborChange($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_World_notifyBlockOfNeighborChange($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$field_1043_h) return; nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data; $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$6 = $tmp; $var5 = var$5[var$6]; if ($var5 === null) return; $ptr = 2; case 2: $var5.$onNeighborBlockChange($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $var5, $ptr); } function nms_World_canBlockSeeTheSky($this, $var1, $var2, $var3) { var var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $var1 >> 4; var$5 = $var3 >> 4; $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$4, var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; return nms_Chunk_canBlockSeeTheSky(var$6, $var1 & 15, $var2, $var3 & 15); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, $ptr); } function nms_World_getBlockLightValue($this, $var1, $var2, $var3) { var var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$4 = 1; $ptr = 1; case 1: $tmp = nms_World_getBlockLightValue0($this, $var1, $var2, $var3, var$4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $ptr); } function nms_World_getBlockLightValue0($this, $var1, $var2, $var3, $var4) { var $var5, $var7, $var6, $var8, $var9, $var10, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var7 = $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: if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { if ($var4) { $ptr = 1; continue main; } if ($var2 < 0) return 0; if ($var2 >= 128) { $var5 = 15 - $this.$skylightSubtracted | 0; if ($var5 < 0) $var5 = 0; return $var5; } $var7 = $var1 >> 4; $var4 = $var3 >> 4; $ptr = 7; continue main; } return 15; case 1: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Block_$callClinit(); if ($var5 != nms_Block_stairSingle.$blockID && $var5 != nms_Block_tilledField.$blockID) { if ($var2 < 0) return 0; if ($var2 >= 128) { $var5 = 15 - $this.$skylightSubtracted | 0; if ($var5 < 0) $var5 = 0; return $var5; } $var7 = $var1 >> 4; $var4 = $var3 >> 4; $ptr = 7; continue main; } $var4 = $var2 + 1 | 0; $var7 = 0; $ptr = 2; case 2: $tmp = nms_World_getBlockLightValue0($this, $var1, $var4, $var3, $var7); if ($rt_suspending()) { break main; } $var6 = $tmp; $var4 = $var1 + 1 | 0; $var7 = 0; $ptr = 3; case 3: $tmp = nms_World_getBlockLightValue0($this, $var4, $var2, $var3, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $var4 = $var1 - 1 | 0; $var8 = 0; $ptr = 4; case 4: $tmp = nms_World_getBlockLightValue0($this, $var4, $var2, $var3, $var8); if ($rt_suspending()) { break main; } $var8 = $tmp; $var4 = $var3 + 1 | 0; $var9 = 0; $ptr = 5; case 5: $tmp = nms_World_getBlockLightValue0($this, $var1, $var2, $var4, $var9); if ($rt_suspending()) { break main; } $var9 = $tmp; $var3 = $var3 - 1 | 0; $var4 = 0; $ptr = 6; case 6: $tmp = nms_World_getBlockLightValue0($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var7 <= $var6) $var7 = $var6; if ($var8 <= $var7) $var8 = $var7; if ($var9 <= $var8) $var9 = $var8; if ($var10 <= $var9) $var10 = $var9; return $var10; case 7: $tmp = nms_World_getChunkFromChunkCoords($this, $var7, $var4); if ($rt_suspending()) { break main; } $var11 = $tmp; return nms_Chunk_getBlockLightValue($var11, $var1 & 15, $var2, $var3 & 15, $this.$skylightSubtracted); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var7, $var6, $var8, $var9, $var10, $var11, $ptr); } function nms_World_canExistingBlockSeeTheSky($this, $var1, $var2, $var3) { var var$4, var$5, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $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: if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { if ($var2 < 0) return 0; if ($var2 >= 128) return 1; var$4 = $var1 >> 4; var$5 = $var3 >> 4; if (!nms_World_chunkExists($this, var$4, var$5)) return 0; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$4, var$5); if ($rt_suspending()) { break main; } $var4 = $tmp; return nms_Chunk_canBlockSeeTheSky($var4, $var1 & 15, $var2, $var3 & 15); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var4, $ptr); } function nms_World_getHeightValue($this, $var1, $var2) { var var$3, var$4, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1 >= (-32000000) && $var2 >= (-32000000) && $var1 < 32000000 && $var2 <= 32000000) { var$3 = $var1 >> 4; var$4 = $var2 >> 4; if (!nms_World_chunkExists($this, var$3, var$4)) return 0; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$3, var$4); if ($rt_suspending()) { break main; } $var3 = $tmp; return nms_Chunk_getHeightValue($var3, $var1 & 15, $var2 & 15); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $var3, $ptr); } function nms_World_neighborLightPropagationChanged($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$worldProvider.$field_6478_e) { nms_EnumSkyBlock_$callClinit(); if ($var1 === nms_EnumSkyBlock_Sky) break a; } if (nms_World_blockExists($this, $var2, $var3, $var4)) { nms_EnumSkyBlock_$callClinit(); if ($var1 === nms_EnumSkyBlock_Sky) { $ptr = 1; continue main; } if ($var1 === nms_EnumSkyBlock_Block) { $ptr = 2; continue main; } $ptr = 3; continue main; } } return; case 1: $tmp = nms_World_canExistingBlockSeeTheSky($this, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) $var5 = 15; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($this, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Block_$callClinit(); var$7 = nms_Block_lightValue.data; if (var$7[$var6] > $var5) $var5 = var$7[$var6]; $ptr = 3; case 3: $tmp = nms_World_getSavedLightValue($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 != $var5) nms_World_func_616_a($this, $var1, $var2, $var3, $var4, $var2, $var3, $var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $ptr); } function nms_World_getSavedLightValue($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var3 >= 0 && $var3 < 128 && $var2 >= (-32000000) && $var4 >= (-32000000) && $var2 < 32000000 && $var4 <= 32000000) { $var5 = $var2 >> 4; $var6 = $var4 >> 4; if (!nms_World_chunkExists($this, $var5, $var6)) return 0; $ptr = 1; continue main; } return $var1.$field_1722_c; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, $var5, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; $var2 = $var2 & 15; $var4 = $var4 & 15; nms_EnumSkyBlock_$callClinit(); return $var1 === nms_EnumSkyBlock_Sky ? nms_NibbleArray_getNibble($var7.$skylightMap, $var2, $var3, $var4) : $var1 !== nms_EnumSkyBlock_Block ? 0 : nms_NibbleArray_getNibble($var7.$blocklightMap, $var2, $var3, $var4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_World_getLightBrightness($this, $var1, $var2, $var3) { var var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: var$4 = $this.$worldProvider.$lightBrightnessTable.data; $ptr = 1; case 1: $tmp = nms_World_getBlockLightValue($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; return var$4[$var1]; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $ptr); } function nms_World_isDaytime($this) { return $this.$skylightSubtracted >= 4 ? 0 : 1; } function nms_World_rayTraceBlocks($this, $var1, $var2) { var 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: var$3 = 0; $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks0($this, $var1, $var2, var$3); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_World_rayTraceBlocks0($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var13, $var15, $var31, $var17, $var19, $var21, var$18, var$19, $var23, var$21, $var25, var$23, $var27, $var35, $var30, $var32, $var33, $var10_0, $var34, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var34 = $thread.pop();$var10_0 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();$var30 = $thread.pop();$var35 = $thread.pop();$var27 = $thread.pop();var$23 = $thread.pop();$var25 = $thread.pop();var$21 = $thread.pop();$var23 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var31 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($rt_globals.isNaN($var1.$xCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$yCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$zCoord) ? 1 : 0)) { if (!($rt_globals.isNaN($var2.$xCoord) ? 1 : 0) && !($rt_globals.isNaN($var2.$yCoord) ? 1 : 0) && !($rt_globals.isNaN($var2.$zCoord) ? 1 : 0)) { $var4 = nms_MathHelper_floor_double($var2.$xCoord); $var5 = nms_MathHelper_floor_double($var2.$yCoord); $var6 = nms_MathHelper_floor_double($var2.$zCoord); $var7 = nms_MathHelper_floor_double($var1.$xCoord); $var8 = nms_MathHelper_floor_double($var1.$yCoord); $var9 = nms_MathHelper_floor_double($var1.$zCoord); $var10 = 200 + (-1) | 0; if (200 < 0) return null; if (!($rt_globals.isNaN($var1.$xCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$yCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$zCoord) ? 1 : 0)) { if ($var7 == $var4 && $var8 == $var5 && $var9 == $var6) return null; $var11 = 999.0; $var13 = 999.0; $var15 = 999.0; $var31 = $rt_compare($var4, $var7); if ($var31 > 0) $var11 = $var7 + 1.0; if ($var31 < 0) $var11 = $var7 + 0.0; $var7 = $rt_compare($var5, $var8); if ($var7 > 0) $var13 = $var8 + 1.0; if ($var7 < 0) $var13 = $var8 + 0.0; $var8 = $rt_compare($var6, $var9); if ($var8 > 0) $var15 = $var9 + 1.0; if ($var8 < 0) $var15 = $var9 + 0.0; $var17 = 999.0; $var19 = 999.0; $var21 = 999.0; var$18 = $var2.$xCoord; var$19 = $var1.$xCoord; $var23 = var$18 - var$19; var$18 = $var2.$yCoord; var$21 = $var1.$yCoord; $var25 = var$18 - var$21; var$18 = $var2.$zCoord; var$23 = $var1.$zCoord; $var27 = var$18 - var$23; if ($var11 !== 999.0) $var17 = ($var11 - var$19) / $var23; if ($var13 !== 999.0) $var19 = ($var13 - var$21) / $var25; if ($var15 !== 999.0) $var21 = ($var15 - var$23) / $var27; if ($var17 < $var19 && $var17 < $var21) { $var35 = $var31 <= 0 ? 5 : 4; $var1.$xCoord = $var11; $var1.$yCoord = var$21 + $var25 * $var17; $var1.$zCoord = var$23 + $var27 * $var17; } else if ($var19 >= $var21) { $var35 = $var8 <= 0 ? 3 : 2; $var1.$xCoord = var$19 + $var23 * $var21; $var1.$yCoord = var$21 + $var25 * $var21; $var1.$zCoord = $var15; } else { $var35 = $var7 <= 0 ? 1 : 0; $var1.$xCoord = var$19 + $var23 * $var19; $var1.$yCoord = $var13; $var1.$zCoord = var$23 + $var27 * $var19; } $var30 = nms_Vec3D_createVector($var1.$xCoord, $var1.$yCoord, $var1.$zCoord); $var17 = nms_MathHelper_floor_double($var1.$xCoord); $var30.$xCoord = $var17; $var7 = $var17 | 0; if ($var35 == 5) { $var7 = $var7 + (-1) | 0; $var30.$xCoord = $var17 + 1.0; } var$18 = nms_MathHelper_floor_double($var1.$yCoord); $var30.$yCoord = var$18; $var8 = var$18 | 0; if ($var35 == 1) { $var8 = $var8 + (-1) | 0; $var30.$yCoord = var$18 + 1.0; } var$18 = nms_MathHelper_floor_double($var1.$zCoord); $var30.$zCoord = var$18; $var9 = var$18 | 0; if ($var35 == 3) { $var9 = $var9 + (-1) | 0; $var30.$zCoord = var$18 + 1.0; } $ptr = 1; continue main; } return null; } return null; } return null; case 1: $tmp = nms_World_getBlockId($this, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var31 = $tmp; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($this, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var32 = $tmp; nms_Block_$callClinit(); $var33 = nms_Block_blocksList.data[$var31]; if ($var31 > 0 && $var33.$canCollideCheck($var32, $var3)) { $ptr = 3; continue main; } $var10_0 = $var10; $var10 = $var10_0 + (-1) | 0; if ($var10_0 < 0) return null; if (!($rt_globals.isNaN($var1.$xCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$yCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$zCoord) ? 1 : 0)) { if ($var7 == $var4 && $var8 == $var5 && $var9 == $var6) return null; $var11 = 999.0; $var13 = 999.0; $var15 = 999.0; $var31 = $rt_compare($var4, $var7); if ($var31 > 0) $var11 = $var7 + 1.0; if ($var31 < 0) $var11 = $var7 + 0.0; $var7 = $rt_compare($var5, $var8); if ($var7 > 0) $var13 = $var8 + 1.0; if ($var7 < 0) $var13 = $var8 + 0.0; $var8 = $rt_compare($var6, $var9); if ($var8 > 0) $var15 = $var9 + 1.0; if ($var8 < 0) $var15 = $var9 + 0.0; $var17 = 999.0; $var19 = 999.0; $var21 = 999.0; var$18 = $var2.$xCoord; var$19 = $var1.$xCoord; $var23 = var$18 - var$19; var$18 = $var2.$yCoord; var$21 = $var1.$yCoord; $var25 = var$18 - var$21; var$18 = $var2.$zCoord; var$23 = $var1.$zCoord; $var27 = var$18 - var$23; if ($var11 !== 999.0) $var17 = ($var11 - var$19) / $var23; if ($var13 !== 999.0) $var19 = ($var13 - var$21) / $var25; if ($var15 !== 999.0) $var21 = ($var15 - var$23) / $var27; if ($var17 < $var19 && $var17 < $var21) { $var35 = $var31 <= 0 ? 5 : 4; $var1.$xCoord = $var11; $var1.$yCoord = var$21 + $var25 * $var17; $var1.$zCoord = var$23 + $var27 * $var17; } else if ($var19 >= $var21) { $var35 = $var8 <= 0 ? 3 : 2; $var1.$xCoord = var$19 + $var23 * $var21; $var1.$yCoord = var$21 + $var25 * $var21; $var1.$zCoord = $var15; } else { $var35 = $var7 <= 0 ? 1 : 0; $var1.$xCoord = var$19 + $var23 * $var19; $var1.$yCoord = $var13; $var1.$zCoord = var$23 + $var27 * $var19; } $var30 = nms_Vec3D_createVector($var1.$xCoord, $var1.$yCoord, $var1.$zCoord); $var17 = nms_MathHelper_floor_double($var1.$xCoord); $var30.$xCoord = $var17; $var7 = $var17 | 0; if ($var35 == 5) { $var7 = $var7 + (-1) | 0; $var30.$xCoord = $var17 + 1.0; } var$18 = nms_MathHelper_floor_double($var1.$yCoord); $var30.$yCoord = var$18; $var8 = var$18 | 0; if ($var35 == 1) { $var8 = $var8 + (-1) | 0; $var30.$yCoord = var$18 + 1.0; } var$18 = nms_MathHelper_floor_double($var1.$zCoord); $var30.$zCoord = var$18; $var9 = var$18 | 0; if ($var35 == 3) { $var9 = $var9 + (-1) | 0; $var30.$zCoord = var$18 + 1.0; } $ptr = 1; continue main; } return null; case 3: $tmp = $var33.$collisionRayTrace($this, $var7, $var8, $var9, $var1, $var2); if ($rt_suspending()) { break main; } $var34 = $tmp; if ($var34 !== null) return $var34; $var10_0 = $var10; $var10 = $var10_0 + (-1) | 0; if ($var10_0 < 0) return null; if (!($rt_globals.isNaN($var1.$xCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$yCoord) ? 1 : 0) && !($rt_globals.isNaN($var1.$zCoord) ? 1 : 0)) { if ($var7 == $var4 && $var8 == $var5 && $var9 == $var6) return null; $var11 = 999.0; $var13 = 999.0; $var15 = 999.0; $var31 = $rt_compare($var4, $var7); if ($var31 > 0) $var11 = $var7 + 1.0; if ($var31 < 0) $var11 = $var7 + 0.0; $var7 = $rt_compare($var5, $var8); if ($var7 > 0) $var13 = $var8 + 1.0; if ($var7 < 0) $var13 = $var8 + 0.0; $var8 = $rt_compare($var6, $var9); if ($var8 > 0) $var15 = $var9 + 1.0; if ($var8 < 0) $var15 = $var9 + 0.0; $var17 = 999.0; $var19 = 999.0; $var21 = 999.0; var$18 = $var2.$xCoord; var$19 = $var1.$xCoord; $var23 = var$18 - var$19; var$18 = $var2.$yCoord; var$21 = $var1.$yCoord; $var25 = var$18 - var$21; var$18 = $var2.$zCoord; var$23 = $var1.$zCoord; $var27 = var$18 - var$23; if ($var11 !== 999.0) $var17 = ($var11 - var$19) / $var23; if ($var13 !== 999.0) $var19 = ($var13 - var$21) / $var25; if ($var15 !== 999.0) $var21 = ($var15 - var$23) / $var27; if ($var17 < $var19 && $var17 < $var21) { $var35 = $var31 <= 0 ? 5 : 4; $var1.$xCoord = $var11; $var1.$yCoord = var$21 + $var25 * $var17; $var1.$zCoord = var$23 + $var27 * $var17; } else if ($var19 >= $var21) { $var35 = $var8 <= 0 ? 3 : 2; $var1.$xCoord = var$19 + $var23 * $var21; $var1.$yCoord = var$21 + $var25 * $var21; $var1.$zCoord = $var15; } else { $var35 = $var7 <= 0 ? 1 : 0; $var1.$xCoord = var$19 + $var23 * $var19; $var1.$yCoord = $var13; $var1.$zCoord = var$23 + $var27 * $var19; } $var30 = nms_Vec3D_createVector($var1.$xCoord, $var1.$yCoord, $var1.$zCoord); $var17 = nms_MathHelper_floor_double($var1.$xCoord); $var30.$xCoord = $var17; $var7 = $var17 | 0; if ($var35 == 5) { $var7 = $var7 + (-1) | 0; $var30.$xCoord = $var17 + 1.0; } var$18 = nms_MathHelper_floor_double($var1.$yCoord); $var30.$yCoord = var$18; $var8 = var$18 | 0; if ($var35 == 1) { $var8 = $var8 + (-1) | 0; $var30.$yCoord = var$18 + 1.0; } var$18 = nms_MathHelper_floor_double($var1.$zCoord); $var30.$zCoord = var$18; $var9 = var$18 | 0; if ($var35 == 3) { $var9 = $var9 + (-1) | 0; $var30.$zCoord = var$18 + 1.0; } $ptr = 1; continue main; } return null; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var13, $var15, $var31, $var17, $var19, $var21, var$18, var$19, $var23, var$21, $var25, var$23, $var27, $var35, $var30, $var32, $var33, $var10_0, $var34, $ptr); } function nms_World_playSoundAtEntity($this, $var1, $var2, $var3, $var4) { var $var5, var$6; $var5 = 0; while (true) { var$6 = $this.$worldAccesses; if ($var5 >= var$6.$size) break; nms_RenderGlobal_playSound(ju_ArrayList_get(var$6, $var5), $var2, $var1.$posX, $var1.$posY - $var1.$yOffset, $var1.$posZ, $var3, $var4); $var5 = $var5 + 1 | 0; } } function nms_World_playSoundEffect($this, $var1, $var3, $var5, $var7, $var8, $var9) { var $var10, var$8; $var10 = 0; while (true) { var$8 = $this.$worldAccesses; if ($var10 >= var$8.$size) break; nms_RenderGlobal_playSound(ju_ArrayList_get(var$8, $var10), $var7, $var1, $var3, $var5, $var8, $var9); $var10 = $var10 + 1 | 0; } } function nms_World_playRecord($this, $var1, $var2, $var3, $var4) { var $var5, var$6, var$7, var$8; $var5 = 0; while (true) { var$6 = $this.$worldAccesses; if ($var5 >= var$6.$size) break; var$6 = ju_ArrayList_get(var$6, $var5); if ($var1 !== null) { var$7 = var$6.$mc7.$ingameGUI; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6); jl_StringBuilder_append(jl_StringBuilder_append(var$6, $rt_s(448)), $var1); var$8 = jl_AbstractStringBuilder_toString(var$6); var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6); jl_StringBuilder_append(jl_StringBuilder_append(var$6, $rt_s(449)), var$8); var$7.$field_9420_i = jl_AbstractStringBuilder_toString(var$6); var$7.$field_9419_j = 60; } $var5 = $var5 + 1 | 0; } } function nms_World_spawnParticle($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12) { var $var14, var$9; $var14 = 0; while (true) { var$9 = $this.$worldAccesses; if ($var14 >= var$9.$size) break; nms_RenderGlobal_spawnParticle(ju_ArrayList_get(var$9, $var14), $var1, $var2, $var4, $var6, $var8, $var10, $var12); $var14 = $var14 + 1 | 0; } } function nms_World_entityJoinedWorld($this, $var1) { var $var2, $var3, $var4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = nms_MathHelper_floor_double($var1.$posX / 16.0); $var3 = nms_MathHelper_floor_double($var1.$posZ / 16.0); $var4 = 0; var$5 = $var1 instanceof nms_EntityPlayer; if (var$5) $var4 = 1; if (!$var4 && !nms_World_chunkExists($this, $var2, $var3)) return 0; if (var$5) { ju_ArrayList_add($this.$playerEntities, $var1); var$6 = jl_System_out(); $var4 = $this.$playerEntities.$size; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7); jl_StringBuilder_append1(jl_StringBuilder_append(var$7, $rt_s(450)), $var4); ji_PrintStream_println(var$6, jl_AbstractStringBuilder_toString(var$7)); } $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, $var2, $var3); if ($rt_suspending()) { break main; } var$7 = $tmp; nms_Chunk_addEntity(var$7, $var1); ju_ArrayList_add($this.$loadedEntityList, $var1); nms_World_obtainEntitySkin($this, $var1); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, $ptr); } function nms_World_obtainEntitySkin($this, $var1) { var $var2; $var2 = 0; while (true) { $var1 = $this.$worldAccesses; if ($var2 >= $var1.$size) break; ju_ArrayList_get($var1, $var2); $var2 = $var2 + 1 | 0; } } function nms_World_releaseEntitySkin($this, $var1) { var $var2; $var2 = 0; while (true) { $var1 = $this.$worldAccesses; if ($var2 >= $var1.$size) break; ju_ArrayList_get($var1, $var2); $var2 = $var2 + 1 | 0; } } function nms_World_setEntityDead($this, $var1) { nms_Entity_setEntityDead($var1); if ($var1 instanceof nms_EntityPlayer) ju_ArrayList_remove0($this.$playerEntities, $var1); } function nms_World_getCollidingBoundingBoxes($this, $var1, $var2) { var $var9, $var4, $var5, $var6, $var7, $var8, $var16, $var10, $var11, var$12, $var12, $var15, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var16 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var9 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: ju_ArrayList_clear($this.$field_9428_I); $var9 = nms_MathHelper_floor_double($var2.$minX); $var4 = nms_MathHelper_floor_double($var2.$maxX0 + 1.0); $var5 = nms_MathHelper_floor_double($var2.$minY0); $var6 = nms_MathHelper_floor_double($var2.$maxY0 + 1.0); $var7 = nms_MathHelper_floor_double($var2.$minZ0); $var8 = nms_MathHelper_floor_double($var2.$maxZ0 + 1.0); $var16 = $var5 - 1 | 0; while ($var9 < $var4) { $var10 = $var7; while ($var10 < $var8) { if (nms_World_blockExists($this, $var9, 64, $var10)) { $var11 = $var16; if ($var11 < $var6) { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data; $ptr = 2; continue main; } } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var12 = nms_AxisAlignedBB_expands($var2, 0.25, 0.25, 0.25); $ptr = 1; case 1: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($this, $var1, $var12); if ($rt_suspending()) { break main; } $var15 = $tmp; $var16 = 0; while ($var16 < $var15.$size) { $var13 = (ju_ArrayList_get($var15, $var16)).$func_372_f_(); if ($var13 !== null && nms_AxisAlignedBB_intersectsWith($var13, $var2)) ju_ArrayList_add($this.$field_9428_I, $var13); $var12 = $var1.$func_383_b_(ju_ArrayList_get($var15, $var16)); if ($var12 !== null && nms_AxisAlignedBB_intersectsWith($var12, $var2)) ju_ArrayList_add($this.$field_9428_I, $var12); $var16 = $var16 + 1 | 0; } return $this.$field_9428_I; case 2: $tmp = nms_World_getBlockId($this, $var9, $var11, $var10); if ($rt_suspending()) { break main; } $var5 = $tmp; $var12 = var$12[$var5]; if ($var12 !== null) { $var15 = $this.$field_9428_I; $ptr = 3; continue main; } $var11 = $var11 + 1 | 0; while ($var11 >= $var6) { while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= $var8) { $var9 = $var9 + 1 | 0; if ($var9 >= $var4) { $var12 = nms_AxisAlignedBB_expands($var2, 0.25, 0.25, 0.25); $ptr = 1; continue main; } $var10 = $var7; } if (!nms_World_blockExists($this, $var9, 64, $var10)) continue; else break; } $var11 = $var16; } nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data; continue main; case 3: $var12.$getCollidingBoundingBoxes($this, $var9, $var11, $var10, $var2, $var15); if ($rt_suspending()) { break main; } $var11 = $var11 + 1 | 0; while ($var11 >= $var6) { while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= $var8) { $var9 = $var9 + 1 | 0; if ($var9 >= $var4) { $var12 = nms_AxisAlignedBB_expands($var2, 0.25, 0.25, 0.25); $ptr = 1; continue main; } $var10 = $var7; } if (!nms_World_blockExists($this, $var9, 64, $var10)) continue; else break; } $var11 = $var16; } nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var9, $var4, $var5, $var6, $var7, $var8, $var16, $var10, $var11, var$12, $var12, $var15, $var13, $ptr); } function nms_World_calculateSkylightSubtracted($this, $var1) { var $var3; $var3 = 1.0 - (nms_MathHelper_cos(nms_World_getCelestialAngle($this, $var1) * 3.1415927410125732 * 2.0) * 2.0 + 0.5); if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; return $var3 * 11.0 | 0; } function nms_World_func_4079_a($this, $var1, $var2) { var $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11; $var4 = nms_MathHelper_cos(nms_World_getCelestialAngle($this, $var2) * 3.1415927410125732 * 2.0) * 2.0 + 0.5; if ($var4 < 0.0) $var4 = 0.0; if ($var4 > 1.0) $var4 = 1.0; $var5 = nms_MathHelper_floor_double($var1.$posX); $var6 = nms_MathHelper_floor_double($var1.$posZ); $var7 = (nms_World_func_4075_a($this)).$func_4072_b($var5, $var6); $var8 = nms_MobSpawnerBase_getSkyColorByTemp((nms_World_func_4075_a($this)).$func_4073_a($var5, $var6), $var7); $var9 = ($var8 >> 16 & 255) / 255.0; $var10 = ($var8 >> 8 & 255) / 255.0; $var11 = ($var8 & 255) / 255.0; return nms_Vec3D_createVector($var9 * $var4, $var10 * $var4, $var11 * $var4); } function nms_World_getCelestialAngle($this, $var1) { return $this.$worldProvider.$calculateCelestialAngle($this.$worldTime, $var1); } function nms_World_func_628_d($this, $var1) { var $var3, var$3, $var4, $var5, $var6; $var3 = nms_MathHelper_cos(nms_World_getCelestialAngle($this, $var1) * 3.1415927410125732 * 2.0) * 2.0 + 0.5; if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; var$3 = $this.$field_1019_F; $var4 = Long_toNumber(Long_and(Long_shr(var$3, 16), Long_fromInt(255))) / 255.0; $var5 = Long_toNumber(Long_and(Long_shr(var$3, 8), Long_fromInt(255))) / 255.0; $var6 = Long_toNumber(Long_and(var$3, Long_fromInt(255))) / 255.0; $var1 = $var3 * 0.8999999761581421 + 0.10000000149011612; return nms_Vec3D_createVector($var4 * $var1, $var5 * $var1, $var6 * ($var3 * 0.8500000238418579 + 0.15000000596046448)); } function nms_World_func_4083_e($this, $var1, $var2) { var $var3, $var4, var$5, var$6, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getChunkFromBlockCoords($this, $var1, $var2); if ($rt_suspending()) { break main; } $var3 = $tmp; $var4 = 127; $ptr = 2; case 2: $tmp = nms_World_getBlockMaterial($this, $var1, $var4, $var2); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5.$func_880_c() && $var4 > 0) { $var4 = $var4 + (-1) | 0; continue main; } var$6 = $var1 & 15; $var2 = $var2 & 15; a: { while ($var4 > 0) { $var5 = nms_Chunk_getBlockID($var3, var$6, $var4, $var2); if ($var5) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$blockMaterial.$func_880_c()) break a; if (nms_Block_blocksList.data[$var5].$blockMaterial.$getIsLiquid()) break a; } $var4 = $var4 + (-1) | 0; } return (-1); } return $var4 + 1 | 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $var5, $ptr); } function nms_World_scheduleBlockUpdate($this, $var1, $var2, $var3, $var4) { var $var5, var$6, var$7, var$8, var$9, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = new nms_NextTickListEntry; var$6 = nms_NextTickListEntry_nextTickEntryID; nms_NextTickListEntry_nextTickEntryID = Long_add(var$6, Long_fromInt(1)); $var5.$tickEntryID = var$6; $var5.$xCoord1 = $var1; $var5.$yCoord1 = $var2; $var5.$zCoord1 = $var3; $var5.$blockID1 = $var4; if (!$this.$field_4214_a) { if (nms_World_checkChunksExist($this, $var1 - 8 | 0, $var2 - 8 | 0, $var3 - 8 | 0, $var1 + 8 | 0, $var2 + 8 | 0, $var3 + 8 | 0)) { if ($var4 > 0) { nms_Block_$callClinit(); $var5.$scheduledTime = Long_add(Long_fromInt(nms_Block_blocksList.data[$var4].$tickRate()), $this.$worldTime); } if (!ju_HashSet_contains($this.$scheduledTickSet, $var5)) { ju_HashSet_add($this.$scheduledTickSet, $var5); var$7 = $this.$scheduledTickTreeSet.$map; var$7.$root = ju_TreeMap_getOrCreateNode(var$7, var$7.$root, $var5); var$8 = ju_TreeMap_findExact(var$7, $var5); var$9 = ju_AbstractMap$SimpleEntry_setValue(var$8, $var5); ju_AbstractMap$SimpleEntry_setValue(var$8, $var5); var$7.$modCount2 = var$7.$modCount2 + 1 | 0; } } } else if (nms_World_checkChunksExist($this, $var1 - 8 | 0, $var2 - 8 | 0, $var3 - 8 | 0, $var1 + 8 | 0, $var2 + 8 | 0, $var3 + 8 | 0)) { $var1 = $var5.$xCoord1; $var2 = $var5.$yCoord1; $var3 = $var5.$zCoord1; $ptr = 1; continue main; } return; case 1: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == $var5.$blockID1 && $var7 > 0) { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$var7]; $var1 = $var5.$xCoord1; $var2 = $var5.$yCoord1; $var3 = $var5.$zCoord1; $var5 = $this.$rand1; $ptr = 2; continue main; } return; case 2: var$7.$updateTick($this, $var1, $var2, $var3, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, $var7, $ptr); } function nms_World_func_633_c($this) { var $var1, $var5, $var3, $var2, $var3_0, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3_0 = $thread.pop();$var2 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: ju_AbstractCollection_removeAll($this.$loadedEntityList, $this.$field_1024_A); $var1 = 0; while (true) { $var5 = $this.$field_1024_A; if ($var1 >= $var5.$size) { $var1 = 0; while (true) { $var5 = $this.$field_1024_A; if ($var1 >= $var5.$size) break; nms_World_releaseEntitySkin($this, ju_ArrayList_get($var5, $var1)); $var1 = $var1 + 1 | 0; } ju_ArrayList_clear($var5); $var3 = 0; a: while (true) { $var5 = $this.$loadedEntityList; if ($var3 >= $var5.$size) { $var1 = 0; $var5 = $this.$loadedTileEntityList; if ($var1 >= $var5.$size) return; $var5 = ju_ArrayList_get($var5, $var1); $ptr = 2; continue main; } b: { $var2 = ju_ArrayList_get($var5, $var3); $var5 = $var2.$ridingEntity; if ($var5 !== null) { if (!$var5.$isDead && $var5.$riddenByEntity === $var2) break b; $var5.$riddenByEntity = null; $var2.$ridingEntity = null; } if (!$var2.$isDead) break a; if ($var2.$isDead) { $var3_0 = $var2.$field_657_ba; $var4 = $var2.$field_654_bc; if ($var2.$field_621_aZ && nms_World_chunkExists($this, $var3_0, $var4)) { $ptr = 4; continue main; } $var5 = $this.$loadedEntityList; $var1 = $var3 + (-1) | 0; ju_ArrayList_remove($var5, $var3); nms_World_releaseEntitySkin($this, $var2); $var3 = $var1; } } $var3 = $var3 + 1 | 0; } $ptr = 3; continue main; } $var2 = ju_ArrayList_get($var5, $var1); $var3 = $var2.$field_657_ba; $var4 = $var2.$field_654_bc; if ($var2.$field_621_aZ && nms_World_chunkExists($this, $var3, $var4)) break; $var1 = $var1 + 1 | 0; } $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, $var3, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Chunk_func_1015_b($var5, $var2); while (true) { $var1 = $var1 + 1 | 0; $var5 = $this.$field_1024_A; if ($var1 >= $var5.$size) { $var1 = 0; while (true) { $var5 = $this.$field_1024_A; if ($var1 >= $var5.$size) break; nms_World_releaseEntitySkin($this, ju_ArrayList_get($var5, $var1)); $var1 = $var1 + 1 | 0; } ju_ArrayList_clear($var5); $var3 = 0; c: while (true) { $var5 = $this.$loadedEntityList; if ($var3 >= $var5.$size) { $var1 = 0; $var5 = $this.$loadedTileEntityList; if ($var1 >= $var5.$size) return; $var5 = ju_ArrayList_get($var5, $var1); $ptr = 2; continue main; } a: { $var2 = ju_ArrayList_get($var5, $var3); $var5 = $var2.$ridingEntity; if ($var5 !== null) { if (!$var5.$isDead && $var5.$riddenByEntity === $var2) break a; $var5.$riddenByEntity = null; $var2.$ridingEntity = null; } if (!$var2.$isDead) break c; if ($var2.$isDead) { $var3_0 = $var2.$field_657_ba; $var4 = $var2.$field_654_bc; if ($var2.$field_621_aZ && nms_World_chunkExists($this, $var3_0, $var4)) { $ptr = 4; continue main; } $var5 = $this.$loadedEntityList; $var1 = $var3 + (-1) | 0; ju_ArrayList_remove($var5, $var3); nms_World_releaseEntitySkin($this, $var2); $var3 = $var1; } } $var3 = $var3 + 1 | 0; } $ptr = 3; continue main; } $var2 = ju_ArrayList_get($var5, $var1); $var3 = $var2.$field_657_ba; $var4 = $var2.$field_654_bc; if (!$var2.$field_621_aZ) continue; if (!nms_World_chunkExists($this, $var3, $var4)) continue; else break; } continue main; case 2: $var5.$updateEntity(); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; $var5 = $this.$loadedTileEntityList; if ($var1 >= $var5.$size) return; $var5 = ju_ArrayList_get($var5, $var1); continue main; case 3: nms_World_func_667_e($this, $var2); if ($rt_suspending()) { break main; } while (true) { if ($var2.$isDead) { $var3_0 = $var2.$field_657_ba; $var4 = $var2.$field_654_bc; if ($var2.$field_621_aZ && nms_World_chunkExists($this, $var3_0, $var4)) { $ptr = 4; continue main; } $var5 = $this.$loadedEntityList; $var1 = $var3 + (-1) | 0; ju_ArrayList_remove($var5, $var3); nms_World_releaseEntitySkin($this, $var2); $var3 = $var1; } d: { while (true) { $var3 = $var3 + 1 | 0; $var5 = $this.$loadedEntityList; if ($var3 >= $var5.$size) { $var1 = 0; $var5 = $this.$loadedTileEntityList; if ($var1 >= $var5.$size) return; $var5 = ju_ArrayList_get($var5, $var1); $ptr = 2; continue main; } $var2 = ju_ArrayList_get($var5, $var3); $var5 = $var2.$ridingEntity; if ($var5 === null) break d; if ($var5.$isDead) break; if ($var5.$riddenByEntity !== $var2) break; } $var5.$riddenByEntity = null; $var2.$ridingEntity = null; } if ($var2.$isDead) continue; else break; } continue main; case 4: $tmp = nms_World_getChunkFromChunkCoords($this, $var3_0, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Chunk_func_1015_b($var5, $var2); while (true) { $var5 = $this.$loadedEntityList; $var1 = $var3 + (-1) | 0; ju_ArrayList_remove($var5, $var3); nms_World_releaseEntitySkin($this, $var2); $var3 = $var1; while (true) { $var3 = $var3 + 1 | 0; $var5 = $this.$loadedEntityList; if ($var3 >= $var5.$size) { $var1 = 0; $var5 = $this.$loadedTileEntityList; if ($var1 >= $var5.$size) return; $var5 = ju_ArrayList_get($var5, $var1); $ptr = 2; continue main; } $var2 = ju_ArrayList_get($var5, $var3); $var5 = $var2.$ridingEntity; if ($var5 !== null) { if (!$var5.$isDead && $var5.$riddenByEntity === $var2) continue; $var5.$riddenByEntity = null; $var2.$ridingEntity = null; } if (!$var2.$isDead) { $ptr = 3; continue main; } if ($var2.$isDead) break; } $var3_0 = $var2.$field_657_ba; $var4 = $var2.$field_654_bc; if (!$var2.$field_621_aZ) continue; if (!nms_World_chunkExists($this, $var3_0, $var4)) continue; else break; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var5, $var3, $var2, $var3_0, $var4, $ptr); } function nms_World_func_667_e($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 = 1; $ptr = 1; case 1: nms_World_func_4084_a($this, $var1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_World_func_4084_a($this, $var1, $var2) { var $var3, $var4, $var6, $var7, $var8, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $var3 = nms_MathHelper_floor_double($var1.$posX); $var4 = nms_MathHelper_floor_double($var1.$posZ); if (!(!$var2 && !nms_World_checkChunksExist($this, $var3 - 16 | 0, 0, $var4 - 16 | 0, $var3 + 16 | 0, 128, $var4 + 16 | 0))) { $var1.$lastTickPosX = $var1.$posX; $var1.$lastTickPosY = $var1.$posY; $var1.$lastTickPosZ = $var1.$posZ; $var1.$prevRotationYaw = $var1.$rotationYaw; $var1.$prevRotationPitch = $var1.$rotationPitch; if ($var2 && $var1.$field_621_aZ) { if ($var1.$ridingEntity === null) { $ptr = 1; continue main; } $ptr = 2; continue main; } if (!(!($rt_globals.isNaN($var1.$posX) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posX) ? 1 : 0))) $var1.$posX = $var1.$lastTickPosX; if (!(!($rt_globals.isNaN($var1.$posY) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posY) ? 1 : 0))) $var1.$posY = $var1.$lastTickPosY; if (!(!($rt_globals.isNaN($var1.$posZ) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posZ) ? 1 : 0))) $var1.$posZ = $var1.$lastTickPosZ; if (!(!($rt_globals.isNaN($var1.$rotationPitch) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$rotationPitch) ? 1 : 0))) $var1.$rotationPitch = $var1.$prevRotationPitch; if (!(!($rt_globals.isNaN($var1.$rotationYaw) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$rotationYaw) ? 1 : 0))) $var1.$rotationYaw = $var1.$prevRotationYaw; $var6 = nms_MathHelper_floor_double($var1.$posX / 16.0); $var7 = nms_MathHelper_floor_double($var1.$posY / 16.0); $var8 = nms_MathHelper_floor_double($var1.$posZ / 16.0); $var3 = $var1.$field_621_aZ; if (!($var3 && $var1.$field_657_ba == $var6 && $var1.$field_656_bb == $var7 && $var1.$field_654_bc == $var8)) { if ($var3 && nms_World_chunkExists($this, $var1.$field_657_ba, $var1.$field_654_bc)) { $var7 = $var1.$field_657_ba; $var3 = $var1.$field_654_bc; $ptr = 4; continue main; } if (nms_World_chunkExists($this, $var6, $var8)) { $var1.$field_621_aZ = 1; $ptr = 3; continue main; } $var1.$field_621_aZ = 0; } if ($var2 && $var1.$field_621_aZ) { var$8 = $var1.$riddenByEntity; if (var$8 !== null) { if (!var$8.$isDead && var$8.$ridingEntity === $var1) { $ptr = 5; continue main; } var$8.$ridingEntity = null; $var1.$riddenByEntity = null; } } } return; case 1: $var1.$onUpdate(); if ($rt_suspending()) { break main; } if (!(!($rt_globals.isNaN($var1.$posX) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posX) ? 1 : 0))) $var1.$posX = $var1.$lastTickPosX; if (!(!($rt_globals.isNaN($var1.$posY) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posY) ? 1 : 0))) $var1.$posY = $var1.$lastTickPosY; if (!(!($rt_globals.isNaN($var1.$posZ) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posZ) ? 1 : 0))) $var1.$posZ = $var1.$lastTickPosZ; if (!(!($rt_globals.isNaN($var1.$rotationPitch) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$rotationPitch) ? 1 : 0))) $var1.$rotationPitch = $var1.$prevRotationPitch; if (!(!($rt_globals.isNaN($var1.$rotationYaw) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$rotationYaw) ? 1 : 0))) $var1.$rotationYaw = $var1.$prevRotationYaw; $var6 = nms_MathHelper_floor_double($var1.$posX / 16.0); $var7 = nms_MathHelper_floor_double($var1.$posY / 16.0); $var8 = nms_MathHelper_floor_double($var1.$posZ / 16.0); $var3 = $var1.$field_621_aZ; if (!($var3 && $var1.$field_657_ba == $var6 && $var1.$field_656_bb == $var7 && $var1.$field_654_bc == $var8)) { if ($var3 && nms_World_chunkExists($this, $var1.$field_657_ba, $var1.$field_654_bc)) { $var7 = $var1.$field_657_ba; $var3 = $var1.$field_654_bc; $ptr = 4; continue main; } if (nms_World_chunkExists($this, $var6, $var8)) { $var1.$field_621_aZ = 1; $ptr = 3; continue main; } $var1.$field_621_aZ = 0; } if ($var2 && $var1.$field_621_aZ) { var$8 = $var1.$riddenByEntity; if (var$8 !== null) { if (!var$8.$isDead && var$8.$ridingEntity === $var1) { $ptr = 5; continue main; } var$8.$ridingEntity = null; $var1.$riddenByEntity = null; } } return; case 2: $var1.$func_350_p(); if ($rt_suspending()) { break main; } if (!(!($rt_globals.isNaN($var1.$posX) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posX) ? 1 : 0))) $var1.$posX = $var1.$lastTickPosX; if (!(!($rt_globals.isNaN($var1.$posY) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posY) ? 1 : 0))) $var1.$posY = $var1.$lastTickPosY; if (!(!($rt_globals.isNaN($var1.$posZ) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$posZ) ? 1 : 0))) $var1.$posZ = $var1.$lastTickPosZ; if (!(!($rt_globals.isNaN($var1.$rotationPitch) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$rotationPitch) ? 1 : 0))) $var1.$rotationPitch = $var1.$prevRotationPitch; if (!(!($rt_globals.isNaN($var1.$rotationYaw) ? 1 : 0) && !(!$rt_globals.isFinite($var1.$rotationYaw) ? 1 : 0))) $var1.$rotationYaw = $var1.$prevRotationYaw; $var6 = nms_MathHelper_floor_double($var1.$posX / 16.0); $var7 = nms_MathHelper_floor_double($var1.$posY / 16.0); $var8 = nms_MathHelper_floor_double($var1.$posZ / 16.0); $var3 = $var1.$field_621_aZ; if (!($var3 && $var1.$field_657_ba == $var6 && $var1.$field_656_bb == $var7 && $var1.$field_654_bc == $var8)) { if ($var3 && nms_World_chunkExists($this, $var1.$field_657_ba, $var1.$field_654_bc)) { $var7 = $var1.$field_657_ba; $var3 = $var1.$field_654_bc; $ptr = 4; continue main; } if (nms_World_chunkExists($this, $var6, $var8)) { $var1.$field_621_aZ = 1; $ptr = 3; continue main; } $var1.$field_621_aZ = 0; } if ($var2 && $var1.$field_621_aZ) { var$8 = $var1.$riddenByEntity; if (var$8 !== null) { if (!var$8.$isDead && var$8.$ridingEntity === $var1) { $ptr = 5; continue main; } var$8.$ridingEntity = null; $var1.$riddenByEntity = null; } } return; case 3: $tmp = nms_World_getChunkFromChunkCoords($this, $var6, $var8); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_Chunk_addEntity(var$8, $var1); if ($var2 && $var1.$field_621_aZ) { var$8 = $var1.$riddenByEntity; if (var$8 !== null) { if (!var$8.$isDead && var$8.$ridingEntity === $var1) { $ptr = 5; continue main; } var$8.$ridingEntity = null; $var1.$riddenByEntity = null; } } return; case 4: $tmp = nms_World_getChunkFromChunkCoords($this, $var7, $var3); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_Chunk_func_1016_a(var$8, $var1, $var1.$field_656_bb); if (nms_World_chunkExists($this, $var6, $var8)) { $var1.$field_621_aZ = 1; $ptr = 3; continue main; } $var1.$field_621_aZ = 0; if ($var2 && $var1.$field_621_aZ) { var$8 = $var1.$riddenByEntity; if (var$8 !== null) { if (!var$8.$isDead && var$8.$ridingEntity === $var1) { $ptr = 5; continue main; } var$8.$ridingEntity = null; $var1.$riddenByEntity = null; } } return; case 5: nms_World_func_667_e($this, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var6, $var7, $var8, var$8, $ptr); } function nms_World_checkIfAABBIsClear($this, $var1) { var $var2, $var3, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = null; $ptr = 1; case 1: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($this, $var2, $var1); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = 0; while ($var3 < $var2.$size) { $var4 = ju_ArrayList_get($var2, $var3); if (!$var4.$isDead && $var4.$field_618_ad) return 0; $var3 = $var3 + 1 | 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_World_getIsAnyLiquid($this, $var1) { var $var8, $var3, $var4, $var5, $var6, $var7, $var9, $var10, var$10, var$11, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var8 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = nms_MathHelper_floor_double($var1.$minX); $var3 = nms_MathHelper_floor_double($var1.$maxX0 + 1.0); $var4 = nms_MathHelper_floor_double($var1.$minY0); $var5 = nms_MathHelper_floor_double($var1.$maxY0 + 1.0); $var6 = nms_MathHelper_floor_double($var1.$minZ0); $var7 = nms_MathHelper_floor_double($var1.$maxZ0 + 1.0); if ($var1.$minX < 0.0) $var8 = $var8 + (-1) | 0; if ($var1.$minY0 < 0.0) $var4 = $var4 + (-1) | 0; if ($var1.$minZ0 < 0.0) $var6 = $var6 + (-1) | 0; while ($var8 < $var3) { $var9 = $var4; while ($var9 < $var5) { $var10 = $var6; if ($var10 < $var7) { nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data; $ptr = 1; continue main; } $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } return 0; case 1: $tmp = nms_World_getBlockId($this, $var8, $var9, $var10); if ($rt_suspending()) { break main; } var$11 = $tmp; $var11 = var$10[var$11]; if ($var11 !== null && $var11.$blockMaterial.$getIsLiquid()) return 1; $var10 = $var10 + 1 | 0; a: while (true) { if ($var10 < $var7) { nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data; continue main; } $var9 = $var9 + 1 | 0; while ($var9 >= $var5) { $var8 = $var8 + 1 | 0; if ($var8 >= $var3) break a; $var9 = $var4; } $var10 = $var6; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var8, $var3, $var4, $var5, $var6, $var7, $var9, $var10, var$10, var$11, $var11, $ptr); } function nms_World_isBoundingBoxBurning($this, $var1) { var $var8, $var3, $var4, $var5, $var6, $var7, $var9, $var10, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var8 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = nms_MathHelper_floor_double($var1.$minX); $var3 = nms_MathHelper_floor_double($var1.$maxX0 + 1.0); $var4 = nms_MathHelper_floor_double($var1.$minY0); $var5 = nms_MathHelper_floor_double($var1.$maxY0 + 1.0); $var6 = nms_MathHelper_floor_double($var1.$minZ0); $var7 = nms_MathHelper_floor_double($var1.$maxZ0 + 1.0); while ($var8 < $var3) { $var9 = $var4; while ($var9 < $var5) { $var10 = $var6; if ($var10 < $var7) { $ptr = 1; continue main; } $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } return 0; case 1: $tmp = nms_World_getBlockId($this, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var11 = $tmp; nms_Block_$callClinit(); if ($var11 != nms_Block_fire.$blockID && $var11 != nms_Block_lavaStill.$blockID && $var11 != nms_Block_lavaMoving.$blockID) { $var10 = $var10 + 1 | 0; a: while (true) { if ($var10 < $var7) { continue main; } $var9 = $var9 + 1 | 0; while ($var9 >= $var5) { $var8 = $var8 + 1 | 0; if ($var8 >= $var3) break a; $var9 = $var4; } $var10 = $var6; } return 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var8, $var3, $var4, $var5, $var6, $var7, $var9, $var10, $var11, $ptr); } function nms_World_func_682_a($this, $var1, $var2, $var3) { var $var12, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var18, $var13, $var14, var$15, var$16, $var15, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();$var15 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var18 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var12 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var12 = nms_MathHelper_floor_double($var1.$minX); $var5 = nms_MathHelper_floor_double($var1.$maxX0 + 1.0); $var6 = nms_MathHelper_floor_double($var1.$minY0); $var7 = nms_MathHelper_floor_double($var1.$maxY0 + 1.0); $var8 = nms_MathHelper_floor_double($var1.$minZ0); $var9 = nms_MathHelper_floor_double($var1.$maxZ0 + 1.0); $var10 = 0; $var11 = nms_Vec3D_createVector(0.0, 0.0, 0.0); $var18 = $var7; while ($var12 < $var5) { $var13 = $var6; while ($var13 < $var7) { $var14 = $var8; if ($var14 < $var9) { nms_Block_$callClinit(); var$15 = nms_Block_blocksList.data; $ptr = 1; continue main; } $var13 = $var13 + 1 | 0; } $var12 = $var12 + 1 | 0; } if (nms_Vec3D_lengthVector($var11) > 0.0) { $var1 = nms_Vec3D_normalize($var11); $var3.$motionX = $var3.$motionX + $var1.$xCoord * 0.004; $var3.$motionY = $var3.$motionY + $var1.$yCoord * 0.004; $var3.$motionZ = $var3.$motionZ + $var1.$zCoord * 0.004; } return $var10; case 1: $tmp = nms_World_getBlockId($this, $var12, $var13, $var14); if ($rt_suspending()) { break main; } var$16 = $tmp; $var15 = var$15[var$16]; if ($var15 !== null && $var15.$blockMaterial === $var2) { var$18 = $var13 + 1 | 0; $ptr = 2; continue main; } $var14 = $var14 + 1 | 0; a: while (true) { if ($var14 < $var9) { nms_Block_$callClinit(); var$15 = nms_Block_blocksList.data; continue main; } $var13 = $var13 + 1 | 0; while ($var13 >= $var7) { $var12 = $var12 + 1 | 0; if ($var12 >= $var5) break a; $var13 = $var6; } $var14 = $var8; } if (nms_Vec3D_lengthVector($var11) > 0.0) { $var1 = nms_Vec3D_normalize($var11); $var3.$motionX = $var3.$motionX + $var1.$xCoord * 0.004; $var3.$motionY = $var3.$motionY + $var1.$yCoord * 0.004; $var3.$motionZ = $var3.$motionZ + $var1.$zCoord * 0.004; } return $var10; case 2: $tmp = nms_World_getBlockMetadata($this, $var12, $var13, $var14); if ($rt_suspending()) { break main; } var$16 = $tmp; if ($var18 >= var$18 - nms_BlockFluids_func_288_b(var$16)) { $var10 = 1; $ptr = 3; continue main; } $var14 = $var14 + 1 | 0; b: while (true) { if ($var14 < $var9) { nms_Block_$callClinit(); var$15 = nms_Block_blocksList.data; $ptr = 1; continue main; } $var13 = $var13 + 1 | 0; while ($var13 >= $var7) { $var12 = $var12 + 1 | 0; if ($var12 >= $var5) break b; $var13 = $var6; } $var14 = $var8; } if (nms_Vec3D_lengthVector($var11) > 0.0) { $var1 = nms_Vec3D_normalize($var11); $var3.$motionX = $var3.$motionX + $var1.$xCoord * 0.004; $var3.$motionY = $var3.$motionY + $var1.$yCoord * 0.004; $var3.$motionZ = $var3.$motionZ + $var1.$zCoord * 0.004; } return $var10; case 3: $var15.$velocityToAddToEntity($this, $var12, $var13, $var14, $var3, $var11); if ($rt_suspending()) { break main; } $var14 = $var14 + 1 | 0; c: while (true) { if ($var14 < $var9) { nms_Block_$callClinit(); var$15 = nms_Block_blocksList.data; $ptr = 1; continue main; } $var13 = $var13 + 1 | 0; while ($var13 >= $var7) { $var12 = $var12 + 1 | 0; if ($var12 >= $var5) break c; $var13 = $var6; } $var14 = $var8; } if (nms_Vec3D_lengthVector($var11) > 0.0) { $var1 = nms_Vec3D_normalize($var11); $var3.$motionX = $var3.$motionX + $var1.$xCoord * 0.004; $var3.$motionY = $var3.$motionY + $var1.$yCoord * 0.004; $var3.$motionZ = $var3.$motionZ + $var1.$zCoord * 0.004; } return $var10; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var12, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var18, $var13, $var14, var$15, var$16, $var15, var$18, $ptr); } function nms_World_func_707_b($this, $var1, $var2) { var $var9, $var4, $var5, $var6, $var7, $var8, $var10, $var11, var$11, var$12, $var12, $var13, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var9 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = nms_MathHelper_floor_double($var1.$minX); $var4 = nms_MathHelper_floor_double($var1.$maxX0 + 1.0); $var5 = nms_MathHelper_floor_double($var1.$minY0); $var6 = nms_MathHelper_floor_double($var1.$maxY0 + 1.0); $var7 = nms_MathHelper_floor_double($var1.$minZ0); $var8 = nms_MathHelper_floor_double($var1.$maxZ0 + 1.0); while ($var9 < $var4) { $var10 = $var5; while ($var10 < $var6) { $var11 = $var7; if ($var11 < $var8) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data; $ptr = 1; continue main; } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } return 0; case 1: $tmp = nms_World_getBlockId($this, $var9, $var10, $var11); if ($rt_suspending()) { break main; } var$12 = $tmp; $var12 = var$11[var$12]; if ($var12 !== null && $var12.$blockMaterial === $var2) { $ptr = 2; continue main; } $var11 = $var11 + 1 | 0; a: while (true) { if ($var11 < $var8) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data; continue main; } $var10 = $var10 + 1 | 0; while ($var10 >= $var6) { $var9 = $var9 + 1 | 0; if ($var9 >= $var4) break a; $var10 = $var5; } $var11 = $var7; } return 0; case 2: $tmp = nms_World_getBlockMetadata($this, $var9, $var10, $var11); if ($rt_suspending()) { break main; } $var13 = $tmp; $var14 = $var10 + 1 | 0; if ($var13 < 8) $var14 = $var14 - $var13 / 8.0; if ($var14 >= $var1.$minY0) return 1; $var11 = $var11 + 1 | 0; b: while (true) { if ($var11 < $var8) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data; $ptr = 1; continue main; } $var10 = $var10 + 1 | 0; while ($var10 >= $var6) { $var9 = $var9 + 1 | 0; if ($var9 >= $var4) break b; $var10 = $var5; } $var11 = $var7; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var9, $var4, $var5, $var6, $var7, $var8, $var10, $var11, var$11, var$12, $var12, $var13, $var14, $ptr); } function nms_World_func_12243_a($this, $var1, $var2, $var4, $var6, $var8) { var var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = 0; $ptr = 1; case 1: $tmp = nms_World_func_12244_a($this, $var1, $var2, $var4, $var6, $var8, var$6); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, var$6, $ptr); } function nms_World_func_12244_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = new nms_Explosion; $var10.$field_12257_a = 0; $var10.$field_12250_h = new ju_Random; $var10.$field_12251_g = ju_HashSet__init_0(); $var10.$field_12249_i = $this; $var10.$field_12253_e = $var1; $var10.$field_12252_f = $var8; $var10.$field_12256_b = $var2; $var10.$field_12255_c = $var4; $var10.$field_12254_d = $var6; $var10.$field_12257_a = $var9; $ptr = 1; case 1: nms_Explosion_func_12248_a($var10); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_Explosion_func_12247_b($var10); if ($rt_suspending()) { break main; } return $var10; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $ptr); } function nms_World_func_675_a($this, $var1, $var2) { var $var3, $var5, $var7, $var9, $var10, $var11, $var12, $var16, $var14, $var18, var$13, var$14, var$15, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var18 = $thread.pop();$var14 = $thread.pop();$var16 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = 1.0 / (($var2.$maxX0 - $var2.$minX) * 2.0 + 1.0); $var5 = 1.0 / (($var2.$maxY0 - $var2.$minY0) * 2.0 + 1.0); $var7 = 1.0 / (($var2.$maxZ0 - $var2.$minZ0) * 2.0 + 1.0); $var9 = 0; $var10 = 0; $var11 = 0.0; while ($var11 <= 1.0) { $var12 = 0.0; while ($var12 <= 1.0) { if (0.0 <= 1.0) { $var16 = $var2.$minX; $var14 = $var16 + ($var2.$maxX0 - $var16) * $var11; $var16 = $var2.$minY0; $var16 = $var16 + ($var2.$maxY0 - $var16) * $var12; $var18 = $var2.$minZ0; var$13 = $var2.$maxZ0 - $var18; var$14 = 0.0; var$15 = nms_Vec3D_createVector($var14, $var16, $var18 + var$13 * var$14); $ptr = 1; continue main; } $var12 = $var12 + $var5; } $var11 = $var11 + $var3; } return $var9 / $var10; case 1: $tmp = nms_World_rayTraceBlocks($this, var$15, $var1); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15 === null) $var9 = $var9 + 1 | 0; $var10 = $var10 + 1 | 0; $var13 = var$14 + $var7; a: while (true) { if ($var13 <= 1.0) { $var16 = $var2.$minX; $var14 = $var16 + ($var2.$maxX0 - $var16) * $var11; $var16 = $var2.$minY0; $var16 = $var16 + ($var2.$maxY0 - $var16) * $var12; $var18 = $var2.$minZ0; var$13 = $var2.$maxZ0 - $var18; var$14 = $var13; var$15 = nms_Vec3D_createVector($var14, $var16, $var18 + var$13 * var$14); continue main; } $var12 = $var12 + $var5; while ($var12 > 1.0) { $var11 = $var11 + $var3; if ($var11 > 1.0) break a; $var12 = 0.0; } $var13 = 0.0; } return $var9 / $var10; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var5, $var7, $var9, $var10, $var11, $var12, $var16, $var14, $var18, var$13, var$14, var$15, $var13, $ptr); } function nms_World_getBlockTileEntity($this, $var1, $var2, $var3) { var var$4, var$5, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $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: var$4 = $var1 >> 4; var$5 = $var3 >> 4; $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$4, var$5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 === null) return null; $var1 = $var1 & 15; $var3 = $var3 & 15; $ptr = 2; case 2: $tmp = nms_Chunk_getChunkBlockTileEntity($var4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var4, $ptr); } function nms_World_setBlockTileEntity($this, $var1, $var2, $var3, $var4) { var var$5, var$6, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $var1 >> 4; var$6 = $var3 >> 4; $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, var$5, var$6); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 !== null) nms_Chunk_setChunkBlockTileEntity($var5, $var1 & 15, $var2, $var3 & 15, $var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, $var5, $ptr); } function nms_World_isBlockOpaqueCube($this, $var1, $var2, $var3) { var var$4, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $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: nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data; $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; $var4 = var$4[$var1]; return $var4 !== null ? $var4.$isOpaqueCube() : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var4, $ptr); } function nms_World_func_651_a($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 = 1; $ptr = 1; case 1: nms_World_saveWorld($this, var$2, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_World_func_6465_g($this) { var $var2, $var1, var$3, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$field_4204_J; if ($var2 >= 50) return 0; $this.$field_4204_J = $var2 + 1 | 0; a: { try { $var1 = 5000; } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; break a; } b: { try { if (ju_ArrayList_size($this.$field_1051_z) > 0) break b; } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; break a; } $this.$field_4204_J = $this.$field_4204_J - 1 | 0; return 0; } c: { try { $var1 = $var1 + (-1) | 0; if ($var1 > 0) break c; } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; break a; } $this.$field_4204_J = $this.$field_4204_J - 1 | 0; return 1; } try { var$3 = $this.$field_1051_z; var$3 = ju_ArrayList_remove(var$3, ju_ArrayList_size(var$3) - 1 | 0); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; } } $this.$field_4204_J = $this.$field_4204_J - 1 | 0; $rt_throw(var$3); case 1: d: { try { nms_MetadataChunkBlock_func_4127_a(var$3, $this); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; break d; } a: { try { if (ju_ArrayList_size($this.$field_1051_z) > 0) break a; } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; break d; } $this.$field_4204_J = $this.$field_4204_J - 1 | 0; return 0; } b: { try { $var1 = $var1 + (-1) | 0; if ($var1 > 0) break b; } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; break d; } $this.$field_4204_J = $this.$field_4204_J - 1 | 0; return 1; } try { var$3 = $this.$field_1051_z; var$3 = ju_ArrayList_remove(var$3, ju_ArrayList_size(var$3) - 1 | 0); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); var$3 = $$je; } } $this.$field_4204_J = $this.$field_4204_J - 1 | 0; $rt_throw(var$3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var1, var$3, $ptr); } function nms_World_func_616_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, var$9, var$10, var$11, var$12; a: { b: { if ($this.$worldProvider.$field_6478_e) { nms_EnumSkyBlock_$callClinit(); if ($var1 === nms_EnumSkyBlock_Sky) break b; } var$8 = nms_World_field_9429_y + 1 | 0; nms_World_field_9429_y = var$8; if (var$8 == 50) nms_World_field_9429_y = var$8 - 1 | 0; else if (!nms_World_blockExists($this, ($var5 + $var2 | 0) / 2 | 0, 64, ($var7 + $var4 | 0) / 2 | 0)) nms_World_field_9429_y = nms_World_field_9429_y - 1 | 0; else { var$9 = $this.$field_1051_z.$size; if (4 <= var$9) var$9 = 4; var$10 = 0; while (true) { if (var$10 >= var$9) { var$11 = $this.$field_1051_z; var$12 = new nms_MetadataChunkBlock; var$12.$field_1299_a = $var1; var$12.$field_1298_b = $var2; var$12.$field_1304_c = $var3; var$12.$field_1303_d = $var4; var$12.$field_1302_e = $var5; var$12.$field_1301_f = $var6; var$12.$field_1300_g = $var7; ju_ArrayList_add(var$11, var$12); $var1 = $this.$field_1051_z; if ($var1.$size > 100000) ju_ArrayList_clear($var1); nms_World_field_9429_y = nms_World_field_9429_y - 1 | 0; break b; } var$11 = $this.$field_1051_z; var$11 = ju_ArrayList_get(var$11, (var$11.$size - var$10 | 0) - 1 | 0); if (var$11.$field_1299_a === $var1 && nms_MetadataChunkBlock_func_866_a(var$11, $var2, $var3, $var4, $var5, $var6, $var7)) break; var$10 = var$10 + 1 | 0; } nms_World_field_9429_y = nms_World_field_9429_y - 1 | 0; break a; } } } } function nms_World_calculateInitialSkylight($this) { var $var1; $var1 = nms_World_calculateSkylightSubtracted($this, 1.0); if ($var1 != $this.$skylightSubtracted) $this.$skylightSubtracted = $var1; } function nms_World_tick($this) { var $var1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_SpawnerAnimals_performSpawning($this); if ($rt_suspending()) { break main; } nms_ChunkProviderLoadOrGenerate_func_532_a($this.$chunkProvider); $var1 = nms_World_calculateSkylightSubtracted($this, 1.0); if ($var1 != $this.$skylightSubtracted) { $this.$skylightSubtracted = $var1; $var2 = 0; while (true) { var$3 = $this.$worldAccesses; if ($var2 >= var$3.$size) break a; var$3 = ju_ArrayList_get(var$3, $var2); $var1 = 0; while (true) { var$4 = var$3.$field_1444_o.data; if ($var1 >= var$4.length) break; if (var$4[$var1].$field_1747_A) { if (!var$4[$var1].$needsUpdate) ju_ArrayList_add(var$3.$field_1446_m, var$4[$var1]); nms_WorldRenderer_MarkDirty(var$3.$field_1444_o.data[$var1]); } $var1 = $var1 + 1 | 0; } $var2 = $var2 + 1 | 0; } } } var$5 = Long_add($this.$worldTime, Long_fromInt(1)); $this.$worldTime = var$5; if (Long_eq(Long_rem(var$5, Long_fromInt($this.$autosavePeriod)), Long_ZERO)) { $var1 = 0; var$3 = null; $ptr = 2; continue main; } $var1 = ju_TreeSet_size($this.$scheduledTickTreeSet); if ($var1 != ju_HashSet_size($this.$scheduledTickSet)) { var$3 = new jl_IllegalStateException; jl_Throwable__init_(var$3, $rt_s(451)); $rt_throw(var$3); } if ($var1 > 1000) $var1 = 1000; $var2 = 0; b: { while (true) { if ($var2 >= $var1) break b; var$6 = $this.$scheduledTickTreeSet.$map; var$3 = var$6.$root; var$7 = null; while (var$3 !== null) { var$8 = var$3.$left; var$7 = var$3; var$3 = var$8; } if (var$7 === null) { var$3 = new ju_NoSuchElementException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } var$8 = var$7.$key1; if (Long_gt(var$8.$scheduledTime, $this.$worldTime)) break; var$3 = ju_TreeMap_findExact(var$6, var$8); if (var$3 === null) var$3 = null; else { var$6.$root = ju_TreeMap_deleteNode(var$6, var$6.$root, var$8); var$6.$modCount2 = var$6.$modCount2 + 1 | 0; var$3 = var$3.$value2; } ju_HashSet_remove($this.$scheduledTickSet, var$8); var$9 = var$8.$xCoord1; var$10 = var$9 - 8 | 0; var$11 = var$8.$yCoord1; var$12 = var$11 - 8 | 0; var$13 = var$8.$zCoord1; if (nms_World_checkChunksExist($this, var$10, var$12, var$13 - 8 | 0, var$9 + 8 | 0, var$11 + 8 | 0, var$13 + 8 | 0)) { var$14 = var$8.$xCoord1; var$9 = var$8.$yCoord1; var$10 = var$8.$zCoord1; $ptr = 4; continue main; } $var2 = $var2 + 1 | 0; } } ju_TreeSet_size($this.$scheduledTickTreeSet); $ptr = 3; continue main; case 2: nms_World_saveWorld($this, $var1, var$3); if ($rt_suspending()) { break main; } $var1 = ju_TreeSet_size($this.$scheduledTickTreeSet); if ($var1 != ju_HashSet_size($this.$scheduledTickSet)) { var$3 = new jl_IllegalStateException; jl_Throwable__init_(var$3, $rt_s(451)); $rt_throw(var$3); } if ($var1 > 1000) $var1 = 1000; $var2 = 0; c: { while (true) { if ($var2 >= $var1) break c; var$6 = $this.$scheduledTickTreeSet.$map; var$3 = var$6.$root; var$7 = null; while (var$3 !== null) { var$8 = var$3.$left; var$7 = var$3; var$3 = var$8; } if (var$7 === null) { var$3 = new ju_NoSuchElementException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } var$8 = var$7.$key1; if (Long_gt(var$8.$scheduledTime, $this.$worldTime)) break; var$3 = ju_TreeMap_findExact(var$6, var$8); if (var$3 === null) var$3 = null; else { var$6.$root = ju_TreeMap_deleteNode(var$6, var$6.$root, var$8); var$6.$modCount2 = var$6.$modCount2 + 1 | 0; var$3 = var$3.$value2; } ju_HashSet_remove($this.$scheduledTickSet, var$8); var$9 = var$8.$xCoord1; var$10 = var$9 - 8 | 0; var$11 = var$8.$yCoord1; var$12 = var$11 - 8 | 0; var$13 = var$8.$zCoord1; if (nms_World_checkChunksExist($this, var$10, var$12, var$13 - 8 | 0, var$9 + 8 | 0, var$11 + 8 | 0, var$13 + 8 | 0)) { var$14 = var$8.$xCoord1; var$9 = var$8.$yCoord1; var$10 = var$8.$zCoord1; $ptr = 4; continue main; } $var2 = $var2 + 1 | 0; } } ju_TreeSet_size($this.$scheduledTickTreeSet); $ptr = 3; case 3: nms_World_func_4080_j($this); if ($rt_suspending()) { break main; } return; case 4: $tmp = nms_World_getBlockId($this, var$14, var$9, var$10); if ($rt_suspending()) { break main; } var$14 = $tmp; if (var$14 == var$8.$blockID1 && var$14 > 0) { nms_Block_$callClinit(); var$3 = nms_Block_blocksList.data[var$14]; var$14 = var$8.$xCoord1; var$9 = var$8.$yCoord1; var$10 = var$8.$zCoord1; var$7 = $this.$rand1; $ptr = 5; continue main; } d: { while (true) { $var2 = $var2 + 1 | 0; if ($var2 >= $var1) break d; var$6 = $this.$scheduledTickTreeSet.$map; var$3 = var$6.$root; var$7 = null; while (var$3 !== null) { var$8 = var$3.$left; var$7 = var$3; var$3 = var$8; } if (var$7 === null) { var$3 = new ju_NoSuchElementException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } var$8 = var$7.$key1; if (Long_gt(var$8.$scheduledTime, $this.$worldTime)) break; var$3 = ju_TreeMap_findExact(var$6, var$8); if (var$3 === null) var$3 = null; else { var$6.$root = ju_TreeMap_deleteNode(var$6, var$6.$root, var$8); var$6.$modCount2 = var$6.$modCount2 + 1 | 0; var$3 = var$3.$value2; } ju_HashSet_remove($this.$scheduledTickSet, var$8); var$9 = var$8.$xCoord1; var$10 = var$9 - 8 | 0; var$11 = var$8.$yCoord1; var$12 = var$11 - 8 | 0; var$13 = var$8.$zCoord1; if (!nms_World_checkChunksExist($this, var$10, var$12, var$13 - 8 | 0, var$9 + 8 | 0, var$11 + 8 | 0, var$13 + 8 | 0)) continue; else { var$14 = var$8.$xCoord1; var$9 = var$8.$yCoord1; var$10 = var$8.$zCoord1; continue main; } } } ju_TreeSet_size($this.$scheduledTickTreeSet); $ptr = 3; continue main; case 5: var$3.$updateTick($this, var$14, var$9, var$10, var$7); if ($rt_suspending()) { break main; } a: { while (true) { $var2 = $var2 + 1 | 0; if ($var2 >= $var1) break a; var$6 = $this.$scheduledTickTreeSet.$map; var$3 = var$6.$root; var$7 = null; while (var$3 !== null) { var$8 = var$3.$left; var$7 = var$3; var$3 = var$8; } if (var$7 === null) { var$3 = new ju_NoSuchElementException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } var$8 = var$7.$key1; if (Long_gt(var$8.$scheduledTime, $this.$worldTime)) break; var$3 = ju_TreeMap_findExact(var$6, var$8); if (var$3 === null) var$3 = null; else { var$6.$root = ju_TreeMap_deleteNode(var$6, var$6.$root, var$8); var$6.$modCount2 = var$6.$modCount2 + 1 | 0; var$3 = var$3.$value2; } ju_HashSet_remove($this.$scheduledTickSet, var$8); var$9 = var$8.$xCoord1; var$10 = var$9 - 8 | 0; var$11 = var$8.$yCoord1; var$12 = var$11 - 8 | 0; var$13 = var$8.$zCoord1; if (!nms_World_checkChunksExist($this, var$10, var$12, var$13 - 8 | 0, var$9 + 8 | 0, var$11 + 8 | 0, var$13 + 8 | 0)) continue; else { var$14 = var$8.$xCoord1; var$9 = var$8.$yCoord1; var$10 = var$8.$zCoord1; $ptr = 4; continue main; } } } ju_TreeSet_size($this.$scheduledTickTreeSet); $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); } function nms_World_func_4080_j($this) { var $var1, $var12, $var2, $var3, $var4, $var6, $var7, $var13, $var6_0, $var14, $var8, $var9, $var10, $var15, $var11, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var11 = $thread.pop();$var15 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var14 = $thread.pop();$var6_0 = $thread.pop();$var13 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var12 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: ju_HashSet_clear($this.$field_9427_K); $var1 = 0; while (true) { $var12 = $this.$playerEntities; if ($var1 >= $var12.$size) break; $var2 = ju_ArrayList_get($var12, $var1); $var3 = nms_MathHelper_floor_double($var2.$posX / 16.0); $var4 = nms_MathHelper_floor_double($var2.$posZ / 16.0); $var6 = (-9); while ($var6 <= 9) { $var7 = (-9); while ($var7 <= 9) { ju_HashSet_add($this.$field_9427_K, nms_ChunkCoordIntPair__init_($var6 + $var3 | 0, $var7 + $var4 | 0)); $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } $var1 = $var1 + 1 | 0; } $var1 = $this.$field_9426_L; if ($var1 > 0) $this.$field_9426_L = $var1 - 1 | 0; $var12 = ju_HashSet_iterator($this.$field_9427_K); if (!ju_HashMap$AbstractMapIterator_hasNext($var12)) return; $var13 = ju_HashMap$KeyIterator_next($var12); $var1 = $var13.$chunkXPos; $var3 = $var1 * 16 | 0; $var6_0 = $var13.$chunkZPos; $var4 = $var6_0 * 16 | 0; $ptr = 1; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, $var1, $var6_0); if ($rt_suspending()) { break main; } $var14 = $tmp; if (!$this.$field_9426_L) { $var1 = ($this.$field_9437_g * 3 | 0) + $this.$field_9436_h | 0; $this.$field_9437_g = $var1; $var6_0 = $var1 >> 2; $var7 = $var6_0 & 15; $var8 = $var6_0 >> 8 & 15; $var9 = $var6_0 >> 16 & 127; $var10 = nms_Chunk_getBlockID($var14, $var7, $var9, $var8); $var6_0 = $var7 + $var3 | 0; $var7 = $var8 + $var4 | 0; if (!$var10) { $ptr = 2; continue main; } } $var6_0 = 0; while (true) { if ($var6_0 >= 80) { if (!ju_HashMap$AbstractMapIterator_hasNext($var12)) return; $var13 = ju_HashMap$KeyIterator_next($var12); $var1 = $var13.$chunkXPos; $var3 = $var1 * 16 | 0; $var6_0 = $var13.$chunkZPos; $var4 = $var6_0 * 16 | 0; continue main; } $var1 = ($this.$field_9437_g * 3 | 0) + $this.$field_9436_h | 0; $this.$field_9437_g = $var1; $var7 = $var1 >> 2; $var8 = $var7 & 15; $var9 = $var7 >> 8 & 15; $var10 = $var7 >> 16 & 127; $var15 = $var14.$blocks0.data[$var8 << 11 | $var9 << 7 | $var10]; nms_Block_$callClinit(); if (nms_Block_tickOnLoad.data[$var15]) break; $var6_0 = $var6_0 + 1 | 0; } $var11 = nms_Block_blocksList.data[$var15]; $var1 = $var8 + $var3 | 0; $var7 = $var9 + $var4 | 0; $var13 = $this.$rand1; $ptr = 4; continue main; case 2: $tmp = nms_World_getBlockLightValue($this, $var6_0, $var9, $var7); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 <= ju_Random_nextInt($this.$rand1, 8)) { nms_EnumSkyBlock_$callClinit(); $var11 = nms_EnumSkyBlock_Sky; $ptr = 3; continue main; } $var6_0 = 0; while (true) { if ($var6_0 >= 80) { if (!ju_HashMap$AbstractMapIterator_hasNext($var12)) return; $var13 = ju_HashMap$KeyIterator_next($var12); $var1 = $var13.$chunkXPos; $var3 = $var1 * 16 | 0; $var6_0 = $var13.$chunkZPos; $var4 = $var6_0 * 16 | 0; $ptr = 1; continue main; } $var1 = ($this.$field_9437_g * 3 | 0) + $this.$field_9436_h | 0; $this.$field_9437_g = $var1; $var7 = $var1 >> 2; $var8 = $var7 & 15; $var9 = $var7 >> 8 & 15; $var10 = $var7 >> 16 & 127; $var15 = $var14.$blocks0.data[$var8 << 11 | $var9 << 7 | $var10]; nms_Block_$callClinit(); if (nms_Block_tickOnLoad.data[$var15]) break; $var6_0 = $var6_0 + 1 | 0; } $var11 = nms_Block_blocksList.data[$var15]; $var1 = $var8 + $var3 | 0; $var7 = $var9 + $var4 | 0; $var13 = $this.$rand1; $ptr = 4; continue main; case 3: $tmp = nms_World_getSavedLightValue($this, $var11, $var6_0, $var9, $var7); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 <= 0) { var$16 = $var6_0 + 0.5; var$17 = $var9 + 0.5; var$18 = $var7 + 0.5; $var11 = nms_World_getClosestPlayer($this, var$16, var$17, var$18, 8.0); if ($var11 !== null && nms_Entity_getDistanceSq($var11, var$16, var$17, var$18) > 4.0) { nms_World_playSoundEffect($this, var$16, var$17, var$18, $rt_s(452), 0.699999988079071, 0.800000011920929 + ju_Random_nextFloat($this.$rand1) * 0.20000000298023224); $this.$field_9426_L = ju_Random_nextInt($this.$rand1, 12000) + 6000 | 0; } } $var6_0 = 0; while (true) { if ($var6_0 >= 80) { if (!ju_HashMap$AbstractMapIterator_hasNext($var12)) return; $var13 = ju_HashMap$KeyIterator_next($var12); $var1 = $var13.$chunkXPos; $var3 = $var1 * 16 | 0; $var6_0 = $var13.$chunkZPos; $var4 = $var6_0 * 16 | 0; $ptr = 1; continue main; } $var1 = ($this.$field_9437_g * 3 | 0) + $this.$field_9436_h | 0; $this.$field_9437_g = $var1; $var7 = $var1 >> 2; $var8 = $var7 & 15; $var9 = $var7 >> 8 & 15; $var10 = $var7 >> 16 & 127; $var15 = $var14.$blocks0.data[$var8 << 11 | $var9 << 7 | $var10]; nms_Block_$callClinit(); if (nms_Block_tickOnLoad.data[$var15]) break; $var6_0 = $var6_0 + 1 | 0; } $var11 = nms_Block_blocksList.data[$var15]; $var1 = $var8 + $var3 | 0; $var7 = $var9 + $var4 | 0; $var13 = $this.$rand1; $ptr = 4; case 4: $var11.$updateTick($this, $var1, $var10, $var7, $var13); if ($rt_suspending()) { break main; } while (true) { $var6_0 = $var6_0 + 1 | 0; if ($var6_0 >= 80) { if (!ju_HashMap$AbstractMapIterator_hasNext($var12)) return; $var13 = ju_HashMap$KeyIterator_next($var12); $var1 = $var13.$chunkXPos; $var3 = $var1 * 16 | 0; $var6_0 = $var13.$chunkZPos; $var4 = $var6_0 * 16 | 0; $ptr = 1; continue main; } $var1 = ($this.$field_9437_g * 3 | 0) + $this.$field_9436_h | 0; $this.$field_9437_g = $var1; $var7 = $var1 >> 2; $var8 = $var7 & 15; $var9 = $var7 >> 8 & 15; $var10 = $var7 >> 16 & 127; $var15 = $var14.$blocks0.data[$var8 << 11 | $var9 << 7 | $var10]; nms_Block_$callClinit(); if (!nms_Block_tickOnLoad.data[$var15]) continue; else break; } $var11 = nms_Block_blocksList.data[$var15]; $var1 = $var8 + $var3 | 0; $var7 = $var9 + $var4 | 0; $var13 = $this.$rand1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var12, $var2, $var3, $var4, $var6, $var7, $var13, $var6_0, $var14, $var8, $var9, $var10, $var15, $var11, var$16, var$17, var$18, $ptr); } function nms_World_randomDisplayUpdates($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = 16; $var5 = new ju_Random; $var6 = 0; if ($var6 >= 1000) return; $var7 = ($var1 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $var8 = ($var2 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $var9 = ($var3 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var10 > 0) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var10]; $ptr = 2; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1000) return; $var7 = ($var1 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $var8 = ($var2 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $var9 = ($var3 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; continue main; case 2: var$11.$randomDisplayTick($this, $var7, $var8, $var9, $var5); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1000) return; $var7 = ($var1 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $var8 = ($var2 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $var9 = ($var3 + ju_Random_nextInt($this.$rand1, $var4) | 0) - ju_Random_nextInt($this.$rand1, $var4) | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$11, $ptr); } function nms_World_getEntitiesWithinAABBExcludingEntity($this, $var1, $var2) { var $var7, $var4, $var5, $var6, $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var7 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: ju_ArrayList_clear($this.$field_1012_M); $var7 = nms_MathHelper_floor_double(($var2.$minX - 2.0) / 16.0); $var4 = nms_MathHelper_floor_double(($var2.$maxX0 + 2.0) / 16.0); $var5 = nms_MathHelper_floor_double(($var2.$minZ0 - 2.0) / 16.0); $var6 = nms_MathHelper_floor_double(($var2.$maxZ0 + 2.0) / 16.0); while ($var7 <= $var4) { $var8 = $var5; while ($var8 <= $var6) { if (nms_World_chunkExists($this, $var7, $var8)) { $ptr = 1; continue main; } $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } return $this.$field_1012_M; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, $var7, $var8); if ($rt_suspending()) { break main; } var$8 = $tmp; var$9 = $this.$field_1012_M; var$10 = nms_MathHelper_floor_double(($var2.$minY0 - 2.0) / 16.0); var$11 = nms_MathHelper_floor_double(($var2.$maxY0 + 2.0) / 16.0); if (var$10 < 0) var$10 = 0; var$12 = var$8.$entities.data.length; if (var$11 >= var$12) var$11 = var$12 - 1 | 0; while (var$10 <= var$11) { var$13 = var$8.$entities.data[var$10]; var$12 = 0; while (var$12 < var$13.$size) { var$14 = ju_ArrayList_get(var$13, var$12); if (var$14 !== $var1 && nms_AxisAlignedBB_intersectsWith(var$14.$boundingBox, $var2)) ju_ArrayList_add(var$9, var$14); var$12 = var$12 + 1 | 0; } var$10 = var$10 + 1 | 0; } a: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $var6) { $var7 = $var7 + 1 | 0; if ($var7 > $var4) break a; $var8 = $var5; } if (!nms_World_chunkExists($this, $var7, $var8)) continue; else { continue main; } } return $this.$field_1012_M; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var7, $var4, $var5, $var6, $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); } function nms_World_getEntitiesWithinAABB($this, $var1, $var2) { var $var8, $var4, $var5, $var6, $var7, $var9, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var8 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = nms_MathHelper_floor_double(($var2.$minX - 2.0) / 16.0); $var4 = nms_MathHelper_floor_double(($var2.$maxX0 + 2.0) / 16.0); $var5 = nms_MathHelper_floor_double(($var2.$minZ0 - 2.0) / 16.0); $var6 = nms_MathHelper_floor_double(($var2.$maxZ0 + 2.0) / 16.0); $var7 = ju_ArrayList__init_0(); while ($var8 <= $var4) { $var9 = $var5; while ($var9 <= $var6) { if (nms_World_chunkExists($this, $var8, $var9)) { $ptr = 1; continue main; } $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } return $var7; case 1: $tmp = nms_World_getChunkFromChunkCoords($this, $var8, $var9); if ($rt_suspending()) { break main; } var$9 = $tmp; var$10 = nms_MathHelper_floor_double(($var2.$minY0 - 2.0) / 16.0); var$11 = nms_MathHelper_floor_double(($var2.$maxY0 + 2.0) / 16.0); if (var$10 < 0) var$10 = 0; var$12 = var$9.$entities.data.length; if (var$11 >= var$12) var$11 = var$12 - 1 | 0; while (var$10 <= var$11) { var$13 = var$9.$entities.data[var$10]; var$12 = 0; while (var$12 < var$13.$size) { var$14 = ju_ArrayList_get(var$13, var$12); if (jl_Class_isAssignableFrom($var1, jl_Object_getClass(var$14)) && nms_AxisAlignedBB_intersectsWith(var$14.$boundingBox, $var2)) ju_ArrayList_add($var7, var$14); var$12 = var$12 + 1 | 0; } var$10 = var$10 + 1 | 0; } a: while (true) { $var9 = $var9 + 1 | 0; while ($var9 > $var6) { $var8 = $var8 + 1 | 0; if ($var8 > $var4) break a; $var9 = $var5; } if (!nms_World_chunkExists($this, $var8, $var9)) continue; else { continue main; } } return $var7; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var8, $var4, $var5, $var6, $var7, $var9, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); } function nms_World_canBlockBePlacedAt($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $var7, $var8, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data; $var7 = var$7[$var6]; $var8 = var$7[$var1]; $ptr = 2; case 2: $tmp = $var8.$getCollisionBoundingBoxFromPool($this, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var5) $var9 = null; if ($var9 !== null) { $ptr = 3; continue main; } if ($var7 !== nms_Block_waterStill && $var7 !== nms_Block_waterMoving && $var7 !== nms_Block_lavaStill && $var7 !== nms_Block_lavaMoving && $var7 !== nms_Block_fire && $var7 !== nms_Block_snow) { if ($var1 > 0 && $var7 === null) { $ptr = 4; continue main; } $var1 = 0; } else $var1 = 1; return $var1; case 3: $tmp = nms_World_checkIfAABBIsClear($this, $var9); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) $var1 = 0; else if ($var7 !== nms_Block_waterStill && $var7 !== nms_Block_waterMoving && $var7 !== nms_Block_lavaStill && $var7 !== nms_Block_lavaMoving && $var7 !== nms_Block_fire && $var7 !== nms_Block_snow) { if ($var1 > 0 && $var7 === null) { $ptr = 4; continue main; } $var1 = 0; } else $var1 = 1; return $var1; case 4: $tmp = $var8.$canPlaceBlockAt($this, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return !$var1 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var7, $var8, $var9, $ptr); } function nms_World_getPathToEntity($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = nms_MathHelper_floor_double($var1.$posX); $var5 = nms_MathHelper_floor_double($var1.$posY); $var6 = nms_MathHelper_floor_double($var1.$posZ); $var7 = $var3 + 16.0 | 0; $var8 = $var4 - $var7 | 0; $var9 = $var5 - $var7 | 0; $var10 = $var6 - $var7 | 0; $var11 = $var4 + $var7 | 0; $var12 = $var5 + $var7 | 0; $var13 = $var6 + $var7 | 0; $var14 = new nms_ChunkCache; $ptr = 1; case 1: nms_ChunkCache__init_($var14, $this, $var8, $var9, $var10, $var11, $var12, $var13); if ($rt_suspending()) { break main; } return nms_Pathfinder_createEntityPathTo(nms_Pathfinder__init_($var14), $var1, $var2.$posX, $var2.$boundingBox.$minY0, $var2.$posZ, $var3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $ptr); } function nms_World_isBlockProvidingPowerTo($this, $var1, $var2, $var3, $var4) { var $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return 0; nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5]; $ptr = 2; case 2: $tmp = var$6.$isIndirectlyPoweringTo($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_World_isBlockIndirectlyProvidingPowerTo($this, $var1, $var2, $var3, $var4) { var $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) { $ptr = 2; continue main; } $var5 = $var2 - 1 | 0; $var4 = 0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) return 0; nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5]; $ptr = 4; continue main; case 3: $tmp = nms_World_isBlockProvidingPowerTo($this, $var1, $var5, $var3, $var4); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) return 1; $var4 = $var2 + 1 | 0; $var5 = 1; $ptr = 5; continue main; case 4: $tmp = var$6.$isPoweringTo($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; case 5: $tmp = nms_World_isBlockProvidingPowerTo($this, $var1, $var4, $var3, $var5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) return 1; $var4 = $var3 - 1 | 0; $var5 = 2; $ptr = 6; case 6: $tmp = nms_World_isBlockProvidingPowerTo($this, $var1, $var2, $var4, $var5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) return 1; $var4 = $var3 + 1 | 0; $var5 = 3; $ptr = 7; case 7: $tmp = nms_World_isBlockProvidingPowerTo($this, $var1, $var2, $var4, $var5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) return 1; $var4 = $var1 - 1 | 0; $var5 = 4; $ptr = 8; case 8: $tmp = nms_World_isBlockProvidingPowerTo($this, $var4, $var2, $var3, $var5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) return 1; $var1 = $var1 + 1 | 0; $var4 = 5; $ptr = 9; case 9: $tmp = nms_World_isBlockProvidingPowerTo($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_World_isBlockIndirectlyGettingPowered($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: var$4 = $var2 - 1 | 0; var$5 = 0; $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($this, $var1, var$4, $var3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var2 + 1 | 0; var$4 = 1; $ptr = 2; case 2: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($this, $var1, var$5, $var3, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var3 - 1 | 0; var$4 = 2; $ptr = 3; case 3: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($this, $var1, $var2, var$5, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var3 + 1 | 0; var$4 = 3; $ptr = 4; case 4: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($this, $var1, $var2, var$5, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; var$5 = $var1 - 1 | 0; var$4 = 4; $ptr = 5; case 5: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($this, var$5, $var2, $var3, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) return 1; $var1 = $var1 + 1 | 0; var$5 = 5; $ptr = 6; case 6: $tmp = nms_World_isBlockIndirectlyProvidingPowerTo($this, $var1, $var2, $var3, var$5); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $ptr); } function nms_World_getClosestPlayerToEntity($this, $var1, $var2) { return nms_World_getClosestPlayer($this, $var1.$posX, $var1.$posY, $var1.$posZ, $var2); } function nms_World_getClosestPlayer($this, $var1, $var3, $var5, $var7) { var $var9, $var11, $var12, var$8, var$9, $var13, $var14; $var9 = (-1.0); $var11 = null; $var12 = 0; var$8 = $rt_compare($var7, 0.0); var$9 = $var7 * $var7; while (true) { $var13 = $this.$playerEntities; if ($var12 >= $var13.$size) break; $var13 = ju_ArrayList_get($var13, $var12); $var14 = nms_Entity_getDistanceSq($var13, $var1, $var3, $var5); if (!(var$8 >= 0 && $var14 >= var$9) && !($var9 !== (-1.0) && $var14 >= $var9)) { $var9 = $var14; $var11 = $var13; } $var12 = $var12 + 1 | 0; } return $var11; } function nms_World_func_663_l($this) { var var$1, $var2, $var1, var$4, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();$var2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: try { var$1 = $this.$field_9432_t; $var2 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var2, var$1), $rt_s(435)); $var1 = jl_StringBuilder_toString($var2); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } var$1 = new nms_MinecraftException; jl_Throwable__init_(var$1, $rt_s(436)); $rt_throw(var$1); case 1: a: { b: { try { $tmp = nlea_EaglerAdapterImpl2_readFile($var1); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4 !== null) break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } return; } try { $var2 = new ji_DataInputStream; var$1 = new ji_ByteArrayInputStream; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } var$1 = new nms_MinecraftException; jl_Throwable__init_(var$1, $rt_s(436)); $rt_throw(var$1); case 2: a: { try { $tmp = nlea_EaglerAdapterImpl2_readFile($var1); if ($rt_suspending()) { break main; } var$4 = $tmp; ji_ByteArrayInputStream__init_0(var$1, var$4); ji_DataInputStream__init_0($var2, var$1); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } b: { c: { try { try { if (Long_ne(ji_DataInputStream_readLong($var2), $this.$field_1054_E)) break c; } catch ($$e) { $$je = $rt_wrapException($$e); var$1 = $$je; break b; } ji_FilterInputStream_close($var2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } return; } try { $rt_throw(nms_MinecraftException__init_($rt_s(453))); } catch ($$e) { $$je = $rt_wrapException($$e); var$1 = $$je; } } try { ji_FilterInputStream_close($var2); $rt_throw(var$1); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } var$1 = new nms_MinecraftException; jl_Throwable__init_(var$1, $rt_s(436)); $rt_throw(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var2, $var1, var$4, $ptr); } function nms_World_func_705_f($this, $var1) { var $var2, $var3, $var5, var$5, $var4, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = nms_MathHelper_floor_double($var1.$posX / 16.0); $var3 = nms_MathHelper_floor_double($var1.$posZ / 16.0); $var5 = $var2 - 2 | 0; $var2 = $var2 + 2 | 0; var$5 = $var3 - 2 | 0; $var4 = $var3 + 2 | 0; while ($var5 <= $var2) { $var6 = var$5; if ($var6 <= $var4) { $ptr = 1; continue main; } $var5 = $var5 + 1 | 0; } if (!ju_AbstractCollection_contains($this.$loadedEntityList, $var1)) ju_ArrayList_add($this.$loadedEntityList, $var1); return; case 1: nms_World_getChunkFromChunkCoords($this, $var5, $var6); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; while (true) { if ($var6 <= $var4) { continue main; } $var5 = $var5 + 1 | 0; if ($var5 > $var2) break; $var6 = var$5; } if (!ju_AbstractCollection_contains($this.$loadedEntityList, $var1)) ju_ArrayList_add($this.$loadedEntityList, $var1); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var5, var$5, $var4, $var6, $ptr); } function nms_World__clinit_() { nms_World_field_9429_y = 0; } function nms_Gui() { jl_Object.call(this); this.$zLevel = 0.0; } function nms_Gui__init_0() { var var_0 = new nms_Gui(); nms_Gui__init_(var_0); return var_0; } function nms_Gui__init_($this) { $this.$zLevel = 0.0; } function nms_Gui_drawRect($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, $var10, var$11, var$12, var$13; $var6 = ($var5 >> 24 & 255) / 255.0; $var7 = ($var5 >> 16 & 255) / 255.0; $var8 = ($var5 >> 8 & 255) / 255.0; $var9 = ($var5 & 255) / 255.0; nms_Tessellator_$callClinit(); $var10 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f($var7, $var8, $var9, $var6); nms_Tessellator_startDrawingQuads($var10); var$11 = $var1; var$12 = $var4; nms_Tessellator_addVertex($var10, var$11, var$12, 0.0); var$13 = $var3; nms_Tessellator_addVertex($var10, var$13, var$12, 0.0); var$12 = $var2; nms_Tessellator_addVertex($var10, var$13, var$12, 0.0); nms_Tessellator_addVertex($var10, var$11, var$12, 0.0); nms_Tessellator_draw($var10); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(3042); } function nms_Gui_drawGradientRect($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, var$16, var$17, var$18; $var7 = ($var5 >> 24 & 255) / 255.0; $var8 = ($var5 >> 16 & 255) / 255.0; $var9 = ($var5 >> 8 & 255) / 255.0; $var10 = ($var5 & 255) / 255.0; $var11 = ($var6 >> 24 & 255) / 255.0; $var12 = ($var6 >> 16 & 255) / 255.0; $var13 = ($var6 >> 8 & 255) / 255.0; $var14 = ($var6 & 255) / 255.0; olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glBlendFunc(770, 771); nms_Tessellator_$callClinit(); $var15 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var15); nms_Tessellator_setColorRGBA_F($var15, $var8, $var9, $var10, $var7); var$16 = $var3; var$17 = $var2; nms_Tessellator_addVertex($var15, var$16, var$17, 0.0); var$18 = $var1; nms_Tessellator_addVertex($var15, var$18, var$17, 0.0); nms_Tessellator_setColorRGBA_F($var15, $var12, $var13, $var14, $var11); var$17 = $var4; nms_Tessellator_addVertex($var15, var$18, var$17, 0.0); nms_Tessellator_addVertex($var15, var$16, var$17, 0.0); nms_Tessellator_draw($var15); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glEnable(3553); } function nms_Gui_drawCenteredString($this, $var1, $var2, $var3, $var4, $var5) { nms_FontRenderer_drawStringWithShadow($var1, $var2, $var3 - (nms_FontRenderer_getStringWidth($var1, $var2) / 2 | 0) | 0, $var4, $var5); } function nms_Gui_drawString($this, $var1, $var2, $var3, $var4, $var5) { nms_FontRenderer_drawStringWithShadow($var1, $var2, $var3, $var4, $var5); } function nms_Gui_drawTexturedModalRect($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var9, var$8, var$9, var$10, var$11, var$12, var$13, var$14; nms_Tessellator_$callClinit(); $var9 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var9); var$8 = $var1 + 0 | 0; var$9 = $var2 + $var6 | 0; var$10 = $this.$zLevel; var$11 = ($var3 + 0 | 0) * 0.00390625; var$12 = ($var4 + $var6 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var9, var$8, var$9, var$10, var$11, var$12); var$13 = $var1 + $var5 | 0; var$14 = $this.$zLevel; var$10 = ($var3 + $var5 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var9, var$13, var$9, var$14, var$10, var$12); var$12 = $var2 + 0 | 0; var$14 = $this.$zLevel; var$9 = ($var4 + 0 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var9, var$13, var$12, var$14, var$10, var$9); nms_Tessellator_addVertexWithUV($var9, var$8, var$12, $this.$zLevel, var$11, var$9); nms_Tessellator_draw($var9); } function nms_GuiScreen() { var a = this; nms_Gui.call(a); a.$mc8 = null; a.$width = 0; a.$height0 = 0; a.$controlList = null; a.$field_948_f = 0; a.$fontRenderer0 = null; a.$selectedButton = null; } function nms_GuiScreen__init_0() { var var_0 = new nms_GuiScreen(); nms_GuiScreen__init_(var_0); return var_0; } function nms_GuiScreen__init_($this) { nms_Gui__init_($this); $this.$controlList = ju_ArrayList__init_0(); $this.$field_948_f = 0; $this.$selectedButton = null; } function nms_GuiScreen_drawScreen($this, $var1, $var2, $var3) { var $var4, $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $this.$controlList; if ($var4 >= $var5.$size) return; $var5 = ju_ArrayList_get($var5, $var4); var$6 = $this.$mc8; $ptr = 1; case 1: nms_GuiButton_drawButton($var5, var$6, $var1, $var2); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; $var5 = $this.$controlList; if ($var4 >= $var5.$size) return; $var5 = ju_ArrayList_get($var5, $var4); var$6 = $this.$mc8; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $ptr); } function nms_GuiScreen_keyTyped($this, $var1, $var2) { var 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();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var2 != 1) return; var$3 = $this.$mc8; var$4 = null; $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen(var$3, var$4); if ($rt_suspending()) { break main; } var$3 = $this.$mc8; $ptr = 2; case 2: nmc_Minecraft_func_6259_e(var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $ptr); } function nms_GuiScreen_mouseClicked($this, $var1, $var2, $var3) { var $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$var3) { $var4 = 0; while (true) { $var5 = $this.$controlList; if ($var4 >= $var5.$size) break a; $var5 = ju_ArrayList_get($var5, $var4); if ($var5.$mousePressed($this.$mc8, $var1, $var2)) { $this.$selectedButton = $var5; $ptr = 1; continue main; } $var4 = $var4 + 1 | 0; } } } return; case 1: $this.$actionPerformed($var5); if ($rt_suspending()) { break main; } while (true) { $var4 = $var4 + 1 | 0; $var5 = $this.$controlList; if ($var4 >= $var5.$size) break; $var5 = ju_ArrayList_get($var5, $var4); if (!$var5.$mousePressed($this.$mc8, $var1, $var2)) continue; else { $this.$selectedButton = $var5; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_GuiScreen_mouseMovedOrUp($this, $var1, $var2, $var3) { var var$4; var$4 = $this.$selectedButton; if (var$4 !== null && !$var3) { var$4.$mouseReleased($var1, $var2); $this.$selectedButton = null; } } function nms_GuiScreen_actionPerformed($this, $var1) {} function nms_GuiScreen_setWorldAndResolution($this, $var1, $var2, $var3) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$mc8 = $var1; $this.$fontRenderer0 = $var1.$fontRenderer; $this.$width = $var2; $this.$height0 = $var3; ju_ArrayList_clear($this.$controlList); $ptr = 1; case 1: $this.$initGui(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } function nms_GuiScreen_initGui($this) {} function nms_GuiScreen_handleInput($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 (oli_Mouse_next()) { $ptr = 1; continue main; } if (!oli_Keyboard_next()) return; $ptr = 2; continue main; case 1: nms_GuiScreen_handleMouseInput($this); if ($rt_suspending()) { break main; } if (oli_Mouse_next()) { continue main; } if (!oli_Keyboard_next()) return; $ptr = 2; case 2: nms_GuiScreen_handleKeyboardInput($this); if ($rt_suspending()) { break main; } if (!oli_Keyboard_next()) return; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_GuiScreen_handleMouseInput($this) { var $var1, $var2, $var1_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1_0 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!oli_Mouse_getEventButtonState()) { $this.$mouseMovedOrUp($rt_imul(oli_Mouse_getEventX(), $this.$width) / $this.$mc8.$displayWidth | 0, ($this.$height0 - ($rt_imul(oli_Mouse_getEventY(), $this.$height0) / $this.$mc8.$displayHeight | 0) | 0) - 1 | 0, oli_Mouse_getEventButton()); return; } $var1 = $rt_imul(oli_Mouse_getEventX(), $this.$width) / $this.$mc8.$displayWidth | 0; $var2 = ($this.$height0 - ($rt_imul(oli_Mouse_getEventY(), $this.$height0) / $this.$mc8.$displayHeight | 0) | 0) - 1 | 0; $var1_0 = oli_Mouse_getEventButton(); $ptr = 1; case 1: $this.$mouseClicked($var1, $var2, $var1_0); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var1_0, $ptr); } function nms_GuiScreen_handleKeyboardInput($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nlea_EaglerAdapterImpl2_getEventKeyState()) return; var$1 = nlea_EaglerAdapterImpl2_currentEventK; if (var$1 === null) var$2 = 0; else { var$3 = $rt_str(var$1.key); var$2 = nlea_EaglerAdapterImpl2_currentEventK === null ? 32 : jl_String_length(var$3) > 1 ? 0 : jl_String_charAt(var$3, 0); } var$4 = nlea_EaglerAdapterImpl2_getEventKey(); $ptr = 1; case 1: $this.$keyTyped(var$2, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_GuiScreen_updateScreen($this) {} function nms_GuiScreen_onGuiClosed($this) {} function nms_GuiScreen_drawDefaultBackground($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 = 0; $ptr = 1; case 1: nms_GuiScreen_func_567_a($this, var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function nms_GuiScreen_func_567_a($this, $var1) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$mc8.$theWorld !== null) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height0, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground($this, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); } function nms_GuiScreen_drawBackground($this, $var1) { var $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2912); nms_Tessellator_$callClinit(); $var2 = nms_Tessellator_instance; var$3 = 3553; var$4 = $this.$mc8.$renderEngine; var$5 = $rt_s(229); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture(var$4, var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$3, var$6); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_Tessellator_startDrawingQuads($var2); nms_Tessellator_setColorOpaque_I($var2, 4210752); var$6 = $this.$height0; var$7 = var$6; var$8 = var$6 / 32.0; var$9 = $var1; nms_Tessellator_addVertexWithUV($var2, 0.0, var$7, 0.0, 0.0, var$8 + var$9); var$6 = $this.$width; var$10 = var$6; var$3 = $this.$height0; nms_Tessellator_addVertexWithUV($var2, var$10, var$3, 0.0, var$6 / 32.0, var$3 / 32.0 + var$9); var$6 = $this.$width; var$10 = var$6; var$7 = var$6 / 32.0; var$11 = 0 + $var1 | 0; nms_Tessellator_addVertexWithUV($var2, var$10, 0.0, 0.0, var$7, var$11); nms_Tessellator_addVertexWithUV($var2, 0.0, 0.0, 0.0, 0.0, var$11); nms_Tessellator_draw($var2); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); } function nms_GuiScreen_doesGuiPauseGame($this) { return 1; } function nms_GuiConflictWarning() { nms_GuiScreen.call(this); this.$updateCounter0 = 0; } function nms_GuiConflictWarning__init_0() { var var_0 = new nms_GuiConflictWarning(); nms_GuiConflictWarning__init_(var_0); return var_0; } function nms_GuiConflictWarning__init_($this) { nms_GuiScreen__init_($this); $this.$updateCounter0 = 0; } function nms_GuiConflictWarning_updateScreen($this) { $this.$updateCounter0 = $this.$updateCounter0 + 1 | 0; } function nms_GuiConflictWarning_initGui($this) { ju_ArrayList_clear($this.$controlList); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(0, ($this.$width / 2 | 0) - 100 | 0, (($this.$height0 / 4 | 0) + 120 | 0) + 12 | 0, $rt_s(454))); } function nms_GuiConflictWarning_actionPerformed($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 ($var1.$enabled && !$var1.$id2) { var$2 = $this.$mc8; $var1 = nms_GuiMainMenu__init_0(); $ptr = 1; continue main; } return; case 1: nmc_Minecraft_displayGuiScreen(var$2, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_GuiConflictWarning_drawScreen($this, $var1, $var2, $var3) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $rt_s(455), $this.$width / 2 | 0, (($this.$height0 / 4 | 0) - 60 | 0) + 20 | 0, 16777215); nms_FontRenderer_drawStringWithShadow($this.$fontRenderer0, $rt_s(456), ($this.$width / 2 | 0) - 140 | 0, ((($this.$height0 / 4 | 0) - 60 | 0) + 60 | 0) + 0 | 0, 10526880); nms_FontRenderer_drawStringWithShadow($this.$fontRenderer0, $rt_s(457), ($this.$width / 2 | 0) - 140 | 0, ((($this.$height0 / 4 | 0) - 60 | 0) + 60 | 0) + 18 | 0, 10526880); nms_FontRenderer_drawStringWithShadow($this.$fontRenderer0, $rt_s(458), ($this.$width / 2 | 0) - 140 | 0, ((($this.$height0 / 4 | 0) - 60 | 0) + 60 | 0) + 27 | 0, 10526880); nms_FontRenderer_drawStringWithShadow($this.$fontRenderer0, $rt_s(459), ($this.$width / 2 | 0) - 140 | 0, ((($this.$height0 / 4 | 0) - 60 | 0) + 60 | 0) + 45 | 0, 10526880); $ptr = 2; case 2: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } var ji_EOFException = $rt_classWithoutFields(ji_IOException); function ji_EOFException__init_0() { var var_0 = new ji_EOFException(); ji_EOFException__init_(var_0); return var_0; } function ji_EOFException__init_($this) { jl_Throwable__init_0($this); } var otp_PlatformRunnable = $rt_classWithoutFields(0); 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; a: { try { try { jl_Thread_$callClinit(); jl_Thread_activeCount = jl_Thread_activeCount + 1 | 0; jl_Thread_setCurrentThread(var$1); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { var$2 = $$je; } else { throw $$e; } } jl_DefaultUncaughtExceptionHandler_uncaughtException(jl_Thread_getUncaughtExceptionHandler(var$1), var$1, var$2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); var$2 = $$je; } var$3 = var$1.$finishedLock; $ptr = 2; continue main; } var$2 = var$1.$finishedLock; $ptr = 4; continue main; case 1: a: { b: { c: { try { nms_ThreadSleepForever_run(var$1); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { var$2 = $$je; break c; } else{ var$2 = $$je; break b; } } var$2 = var$1.$finishedLock; $ptr = 3; continue main; } try { jl_DefaultUncaughtExceptionHandler_uncaughtException(jl_Thread_getUncaughtExceptionHandler(var$1), var$1, var$2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); var$2 = $$je; } } var$3 = var$1.$finishedLock; $ptr = 2; continue main; } var$2 = var$1.$finishedLock; $ptr = 4; continue main; case 2: jl_Object_monitorEnter(var$3); if ($rt_suspending()) { break main; } a: { try { jl_Object_notifyAll(var$3); 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$2); 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; case 4: jl_Object_monitorEnter(var$2); if ($rt_suspending()) { break main; } a: { try { jl_Object_notifyAll(var$2); 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 nms_PositionTexureVertex() { var a = this; jl_Object.call(a); a.$vector3D = null; a.$texturePositionX = 0.0; a.$texturePositionY = 0.0; } function nms_PositionTexureVertex__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_PositionTexureVertex(); nms_PositionTexureVertex__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_PositionTexureVertex__init_0($this, $var1, $var2, $var3, $var4, $var5) { $this.$vector3D = nms_Vec3D_createVectorHelper($var1, $var2, $var3); $this.$texturePositionX = $var4; $this.$texturePositionY = $var5; } function nms_PositionTexureVertex_setTexturePosition($this, $var1, $var2) { var var$3; var$3 = new nms_PositionTexureVertex; var$3.$vector3D = $this.$vector3D; var$3.$texturePositionX = $var1; var$3.$texturePositionY = $var2; return var$3; } function nms_TexturedQuad() { var a = this; jl_Object.call(a); a.$field_1195_a = null; a.$field_1194_b = 0; a.$field_1196_c = 0; } function nms_TexturedQuad__init_0(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_TexturedQuad(); nms_TexturedQuad__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_TexturedQuad__init_($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, var$8, var$9, var$10, $var6; var$6 = $var1.data; $this.$field_1194_b = 0; $this.$field_1196_c = 0; $this.$field_1195_a = $var1; $this.$field_1194_b = var$6.length; var$7 = var$6[0]; var$8 = $var4 / 64.0 - 0.0015625000232830644; var$9 = $var3 / 32.0 + 0.0031250000465661287; var$6[0] = nms_PositionTexureVertex_setTexturePosition(var$7, var$8, var$9); var$7 = var$6[1]; var$10 = $var2 / 64.0 + 0.0015625000232830644; var$6[1] = nms_PositionTexureVertex_setTexturePosition(var$7, var$10, var$9); var$7 = var$6[2]; $var6 = $var5 / 32.0 - 0.0031250000465661287; var$6[2] = nms_PositionTexureVertex_setTexturePosition(var$7, var$10, $var6); var$6[3] = nms_PositionTexureVertex_setTexturePosition(var$6[3], var$8, $var6); } function cjj_Inflate() { var a = this; jl_Object.call(a); a.$mode1 = 0; a.$method = 0; a.$was = Long_ZERO; a.$need = Long_ZERO; a.$marker = 0; a.$wrap5 = 0; a.$wbits = 0; a.$blocks = null; a.$z1 = null; a.$flags1 = 0; a.$need_bytes = 0; a.$crcbuf = null; a.$gheader = null; a.$tmp_string = null; } var cjj_Inflate_mark = null; function cjj_Inflate_inflateEnd($this) { var var$1; var$1 = $this.$blocks; if (var$1 !== null) cjj_InfBlocks_free(var$1); return 0; } function cjj_Inflate_inflate($this, $f) { var $e, var$3, $r, var$5, $foo, var$7, var$8, $b, var$10, $$je; $e = $this.$z1; if ($e !== null && $e.$next_in !== null) { var$3 = $f != 4 ? 0 : (-5); $r = (-5); a: { b: { c: { d: { e: { f: { g: { h: { i: while (true) { j: { k: { l: { m: { n: { o: { p: { q: { r: { s: { t: { u: { v: { w: { switch ($this.$mode1) { case 6: $this.$mode1 = 13; $this.$z1.$msg = $rt_s(460); $this.$marker = 0; return (-2); case 7: $r = cjj_InfBlocks_proc($this.$blocks, $r); if ($r == (-3)) { $this.$mode1 = 13; $this.$marker = 0; continue i; } if (!$r) $r = var$3; if ($r != 1) break i; $this.$was = $this.$z1.$adler.$getValue(); cjj_InfBlocks_reset($this.$blocks); if (!$this.$wrap5) { $this.$mode1 = 12; $r = var$3; continue i; } $this.$mode1 = 8; $r = var$3; 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$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } var$5 = $this.$need; $f = Long_lo(var$5) & 65535; $this.$flags1 = $f; if (($f & 255) != 8) { $this.$z1.$msg = $rt_s(461); $this.$mode1 = 13; continue i; } if ($f & 57344) { $this.$z1.$msg = $rt_s(462); $this.$mode1 = 13; continue i; } if ($f & 512) cjj_Inflate_checksum($this, 2, var$5); $this.$mode1 = 16; break p; case 2: break d; case 3: break c; case 4: break b; case 5: var$3 = $r; break a; case 8: break 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; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_and(Long_fromInt(($foo[$f] & 255) << 24), Long_create(4278190080, 0)); $this.$mode1 = 9; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$5 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$5, Long_and(Long_fromInt(($foo[$f] & 255) << 16), Long_fromInt(16711680))); $this.$mode1 = 10; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$5 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$5, Long_and(Long_fromInt(($foo[$f] & 255) << 8), Long_fromInt(65280))); $this.$mode1 = 11; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$5 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; var$5 = Long_add(var$5, Long_and(Long_fromInt($foo[$f]), Long_fromInt(255))); $this.$need = var$5; $f = $this.$flags1; if ($f) $this.$need = Long_and(Long_or(Long_or(Long_or(Long_shr(Long_and(var$5, Long_fromInt(-16777216)), 24), Long_shr(Long_and(var$5, Long_fromInt(16711680)), 8)), Long_shl(Long_and(var$5, Long_fromInt(65280)), 8)), Long_shl(Long_and(var$5, Long_fromInt(65535)), 24)), Long_create(4294967295, 0)); $r = Long_lo($this.$was); var$5 = $this.$need; if ($r != Long_lo(var$5)) $e.$msg = $rt_s(463); else if ($f) { $e = $this.$gheader; if ($e !== null) $e.$crc = var$5; } $this.$mode1 = 15; $r = var$3; } if (!($this.$wrap5 && $this.$flags1)) { $e = $this.$z1.$msg; if ($e === null) break f; if (!jl_String_equals($e, $rt_s(463))) break f; $this.$mode1 = 13; $this.$marker = 5; continue i; } try { $r = cjj_Inflate_readBytes($this, 4, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$z1.$msg; if ($e !== null && jl_String_equals($e, $rt_s(463))) { $this.$mode1 = 13; $this.$marker = 5; continue i; } var$5 = $this.$need; $e = $this.$z1; if (Long_eq(var$5, Long_and($e.$total_out, Long_create(4294967295, 0)))) { $e.$msg = null; break f; } $e.$msg = $rt_s(464); $this.$mode1 = 13; continue i; } if (!$this.$wrap5) { $this.$mode1 = 7; continue i; } try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $f = $this.$wrap5; var$7 = $rt_compare($f, 4); if (!(var$7 && !($f & 2)) && Long_eq($this.$need, Long_fromInt(35615))) { if (!var$7) $this.$wrap5 = 2; $this.$z1.$adler = cjj_CRC32__init_0(); cjj_Inflate_checksum($this, 2, $this.$need); if ($this.$gheader === null) $this.$gheader = cjj_GZIPHeader__init_0(); $this.$mode1 = 23; continue i; } if ($f & 2) { $this.$mode1 = 13; $this.$z1.$msg = $rt_s(465); continue i; } $this.$flags1 = 0; var$5 = $this.$need; var$8 = Long_lo(var$5) & 255; $this.$method = var$8; $b = Long_lo(Long_shr(var$5, 8)) & 255; if (!($f & 1 && !(((var$8 << 8) + $b | 0) % 31 | 0)) && (var$8 & 15) != 8) { if (var$7) { $this.$mode1 = 13; $this.$z1.$msg = $rt_s(465); continue i; } $e = $this.$z1; $e.$next_in_index = $e.$next_in_index - 2 | 0; $e.$avail_in = $e.$avail_in + 2 | 0; $e.$total_in = Long_sub($e.$total_in, Long_fromInt(2)); $this.$wrap5 = 0; $this.$mode1 = 7; continue i; } if ((var$8 & 15) != 8) { $this.$mode1 = 13; $this.$z1.$msg = $rt_s(461); continue i; } if (!var$7) $this.$wrap5 = 1; if (((var$8 >> 4) + 8 | 0) > $this.$wbits) { $this.$mode1 = 13; $this.$z1.$msg = $rt_s(466); continue i; } $this.$z1.$adler = cjj_Adler32__init_0(); if ($b & 32) { $this.$mode1 = 2; break d; } $this.$mode1 = 7; continue i; } break m; } try { $r = cjj_Inflate_readBytes($this, 4, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) $e.$time0 = $this.$need; if ($this.$flags1 & 512) cjj_Inflate_checksum($this, 4, $this.$need); $this.$mode1 = 17; } try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) { $f = Long_lo($this.$need); $e.$xflags = $f & 255; $e.$os = $f >> 8 & 255; } if ($this.$flags1 & 512) cjj_Inflate_checksum($this, 2, $this.$need); $this.$mode1 = 18; } if (!($this.$flags1 & 1024)) { $e = $this.$gheader; if ($e !== null) $e.$extra = null; } else { try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) $e.$extra = $rt_createByteArray(Long_lo($this.$need) & 65535); if ($this.$flags1 & 512) cjj_Inflate_checksum($this, 2, $this.$need); } $this.$mode1 = 19; } if (!($this.$flags1 & 1024)) { $e = $this.$gheader; if ($e !== null) $e.$extra = null; } else x: { try { $r = cjj_Inflate_readBytes0($this, $r, var$3); if ($this.$gheader === null) break x; $foo = ji_ByteArrayOutputStream_toByteArray($this.$tmp_string); var$10 = $foo.data; $this.$tmp_string = null; $f = var$10.length; var$10 = $this.$gheader.$extra; if ($f != var$10.data.length) { $this.$z1.$msg = $rt_s(467); $this.$mode1 = 13; continue i; } jl_System_fastArraycopy($foo, 0, var$10, 0, $f); break x; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } } $this.$mode1 = 20; } y: { if (!($this.$flags1 & 2048)) { $e = $this.$gheader; if ($e !== null) $e.$name3 = null; } else { z: { try { $r = cjj_Inflate_readString($this, $r, var$3); $e = $this.$gheader; if ($e === null) break z; $e.$name3 = ji_ByteArrayOutputStream_toByteArray($this.$tmp_string); break z; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; break h; } else { throw $$e; } } } try { $this.$tmp_string = null; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; break h; } else { throw $$e; } } } } $this.$mode1 = 21; } ba: { if (!($this.$flags1 & 4096)) { $e = $this.$gheader; if ($e !== null) $e.$comment = null; } else { bb: { try { $r = cjj_Inflate_readString($this, $r, var$3); $e = $this.$gheader; if ($e === null) break bb; $e.$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; } } } } $this.$mode1 = 22; } if ($this.$flags1 & 512) { try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) $e.$hcrc = Long_lo(Long_and($this.$need, Long_fromInt(65535))); if (Long_ne($this.$need, Long_and($this.$z1.$adler.$getValue(), Long_fromInt(65535)))) { $this.$mode1 = 13; $this.$z1.$msg = $rt_s(468); $this.$marker = 5; continue; } } $this.$z1.$adler = cjj_CRC32__init_0(); $this.$mode1 = 7; } return $r; } return $e.$r; } return $e.$r; } $this.$mode1 = 12; } return 1; } $e = $this.$z1; var$8 = $e.$avail_in; if (!var$8) return $r; $e.$avail_in = var$8 - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); $foo = $e.$next_in.data; $r = $e.$next_in_index; $e.$next_in_index = $r + 1 | 0; $this.$need = Long_and(Long_fromInt(($foo[$r] & 255) << 24), Long_create(4278190080, 0)); $this.$mode1 = 3; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$5 = $this.$need; $foo = $e.$next_in.data; $r = $e.$next_in_index; $e.$next_in_index = $r + 1 | 0; $this.$need = Long_add(var$5, Long_and(Long_fromInt(($foo[$r] & 255) << 16), Long_fromInt(16711680))); $this.$mode1 = 4; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$5 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$5, Long_and(Long_fromInt(($foo[$f] & 255) << 8), Long_fromInt(65280))); $this.$mode1 = 5; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return var$3; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$5 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; var$5 = Long_add(var$5, Long_and(Long_fromInt($foo[$f]), Long_fromInt(255))); $this.$need = var$5; $e.$adler.$reset1(var$5); $this.$mode1 = 6; return 2; } if ($f == 4 && $this.$mode1 == 14) return 0; return (-2); } function cjj_Inflate_readBytes($this, $n, $r, $f) { var var$4, var$5, var$6, var$7, var$8; if ($this.$need_bytes == (-1)) { $this.$need_bytes = $n; $this.$need = Long_ZERO; } while (true) { var$4 = $this.$need_bytes; if (var$4 <= 0) { if ($n == 2) $this.$need = Long_and($this.$need, Long_fromInt(65535)); else if ($n == 4) $this.$need = Long_and($this.$need, Long_create(4294967295, 0)); $this.$need_bytes = (-1); return $r; } var$5 = $this.$z1; var$6 = var$5.$avail_in; if (!var$6) break; var$5.$avail_in = var$6 - 1 | 0; var$5.$total_in = Long_add(var$5.$total_in, Long_fromInt(1)); var$7 = $this.$need; var$8 = var$5.$next_in.data; var$6 = var$5.$next_in_index; var$5.$next_in_index = var$6 + 1 | 0; $this.$need = Long_or(var$7, Long_fromInt((var$8[var$6] & 255) << (($n - var$4 | 0) * 8 | 0))); $this.$need_bytes = var$4 - 1 | 0; $r = $f; } $rt_throw(cjj_Inflate$Return__init_($this, $r)); } function cjj_Inflate_readString($this, $r, $f) { var var$3, var$4, var$5, var$6, var$7; if ($this.$tmp_string === null) $this.$tmp_string = ji_ByteArrayOutputStream__init_0(); while (true) { var$3 = $this.$z1; var$4 = var$3.$avail_in; if (!var$4) $rt_throw(cjj_Inflate$Return__init_($this, $r)); var$3.$avail_in = var$4 - 1 | 0; var$3.$total_in = Long_add(var$3.$total_in, Long_fromInt(1)); var$5 = var$3.$next_in; var$6 = var$5.data; var$4 = var$3.$next_in_index; var$7 = var$6[var$4]; if (var$7) ji_ByteArrayOutputStream_write($this.$tmp_string, var$5, var$4, 1); var$3 = $this.$z1; var$3.$adler.$update0(var$3.$next_in, var$3.$next_in_index, 1); var$3 = $this.$z1; var$3.$next_in_index = var$3.$next_in_index + 1 | 0; if (!var$7) break; $r = $f; } return $f; } function cjj_Inflate_readBytes0($this, $r, $f) { var var$3, var$4; if ($this.$tmp_string === null) $this.$tmp_string = ji_ByteArrayOutputStream__init_0(); while (Long_gt($this.$need, Long_ZERO)) { var$3 = $this.$z1; var$4 = var$3.$avail_in; if (!var$4) $rt_throw(cjj_Inflate$Return__init_($this, $r)); var$3.$avail_in = var$4 - 1 | 0; var$3.$total_in = Long_add(var$3.$total_in, Long_fromInt(1)); ji_ByteArrayOutputStream_write($this.$tmp_string, var$3.$next_in, var$3.$next_in_index, 1); var$3 = $this.$z1; var$3.$adler.$update0(var$3.$next_in, var$3.$next_in_index, 1); var$3 = $this.$z1; var$3.$next_in_index = var$3.$next_in_index + 1 | 0; $this.$need = Long_sub($this.$need, Long_fromInt(1)); $r = $f; } return $r; } function cjj_Inflate_checksum($this, $n, $v) { var $i; $i = 0; while ($i < $n) { $this.$crcbuf.data[$i] = Long_lo(Long_and($v, Long_fromInt(255))) << 24 >> 24; $v = Long_shr($v, 8); $i = $i + 1 | 0; } $this.$z1.$adler.$update0($this.$crcbuf, 0, $n); } function cjj_Inflate__clinit_() { cjj_Inflate_mark = $rt_createByteArrayFromData([0, 0, (-1), (-1)]); } var olug_GLU = $rt_classWithoutFields(olo_GL11); function olug_GLU__init_0() { var var_0 = new olug_GLU(); olug_GLU__init_(var_0); return var_0; } function olug_GLU__init_($this) { olo_EaglerAdapterGL30__init_($this); } function nms_PlayerController() { var a = this; jl_Object.call(a); a.$mc3 = null; a.$field_1064_b = 0; } function nms_PlayerController_func_6469_d($this) { return 1; } function nms_PlayerController_sendPlaceBlock($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var2, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 > 0) { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var8]; $ptr = 2; continue main; } if ($var3 === null) return 0; var$9 = nms_ItemStack_getItem($var3); $ptr = 3; continue main; case 2: $tmp = var$9.$blockActivated($var2, $var4, $var5, $var6, $var1); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8) $var4 = 1; else { if ($var3 !== null) { var$9 = nms_ItemStack_getItem($var3); $ptr = 3; continue main; } $var4 = 0; } return $var4; case 3: $tmp = var$9.$onItemUse($var3, $var1, $var2, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } $var4 = $tmp; return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, var$9, $ptr); } function nms_PlayerController_func_4087_b($this, $var1) { var var$2, var$3, var$4, var$5, var$6; var$2 = new nms_EntityPlayerSP; var$3 = $this.$mc3; var$4 = var$3.$field_6320_i; var$5 = $var1.$worldProvider.$field_4218_e; nms_EntityLiving__init_(var$2, $var1); var$6 = new nms_InventoryPlayer; var$6.$mainInventory = $rt_createArray(nms_ItemStack, 37); var$6.$armorInventory = $rt_createArray(nms_ItemStack, 4); var$6.$craftingInventory = $rt_createArray(nms_ItemStack, 4); var$6.$currentItem = 0; var$6.$field_845_f = 0; var$6.$player = var$2; var$2.$inventory0 = var$6; var$2.$field_9371_f = 0; var$2.$score = 0; var$2.$field_9369_j = 0; var$2.$field_9368_k = 0; var$2.$field_781_a = 0; var$2.$fishEntity = null; var$2.$yOffset = 1.6200000047683716; nms_Entity_setLocationAndAngles(var$2, $var1.$spawnX + 0.5, $var1.$spawnY + 1 | 0, $var1.$spawnZ + 0.5, 0.0, 0.0); var$2.$health = 20; var$2.$field_9351_C = $rt_s(469); var$2.$field_9353_B = 180.0; var$2.$field_9310_bf = 20; var$2.$texture = $rt_s(470); var$2.$field_9373_b = 20; var$2.$field_9374_bx = 0; var$2.$mc5 = var$3; var$2.$dimension = var$5; if (var$4 !== null) { $var1 = var$4.$inventory; if ($var1 !== null && jl_String_length($var1) > 0) { $var1 = var$4.$inventory; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$3, $rt_s(471)), $var1), $rt_s(472)); var$2.$skinUrl = jl_AbstractStringBuilder_toString(var$3); $var1 = jl_System_out(); var$3 = var$2.$skinUrl; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6); jl_StringBuilder_append(jl_StringBuilder_append(var$6, $rt_s(473)), var$3); ji_PrintStream_println($var1, jl_AbstractStringBuilder_toString(var$6)); } } var$2.$field_771_i = var$4.$inventory; return var$2; } function nms_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.$color = 0; a.$hasColor = 0; a.$hasTexture = 0; a.$rawBufferIndex = 0; a.$addedVertices = 0; a.$isColorDisabled = 0; a.$drawMode = 0; a.$xOffset = 0.0; a.$yOffset0 = 0.0; a.$zOffset = 0.0; a.$isDrawing = 0; } var nms_Tessellator_instance = null; function nms_Tessellator_$callClinit() { nms_Tessellator_$callClinit = $rt_eraseClinit(nms_Tessellator); nms_Tessellator__clinit_(); } function nms_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); 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, otji_JSWrapper_wrap(new $rt_globals.Int32Array(var$3, 0, var$4))); if ($this.$hasTexture) olo_EaglerAdapterGL30_glDisableVertexAttrib(32888); if ($this.$hasColor) olo_EaglerAdapterGL30_glDisableVertexAttrib(32886); } $var1 = $this.$rawBufferIndex * 4 | 0; nms_Tessellator_reset($this); return $var1; } function nms_Tessellator_reset($this) { $this.$vertexCount = 0; $this.$rawBufferIndex = 0; $this.$addedVertices = 0; } function nms_Tessellator_startDrawingQuads($this) { nms_Tessellator_startDrawing($this, 7); } function nms_Tessellator_startDrawing($this, $par1) { if ($this.$isDrawing) nms_Tessellator_draw($this); $this.$isDrawing = 1; nms_Tessellator_reset($this); $this.$drawMode = $par1; $this.$hasColor = 0; $this.$hasTexture = 0; $this.$isColorDisabled = 0; } function nms_Tessellator_setColorOpaque_F($this, $par1, $par2, $par3) { nms_Tessellator_setColorOpaque($this, $par1 * 255.0 | 0, $par2 * 255.0 | 0, $par3 * 255.0 | 0); } function nms_Tessellator_setColorRGBA_F($this, $par1, $par2, $par3, $par4) { nms_Tessellator_setColorRGBA($this, $par1 * 255.0 | 0, $par2 * 255.0 | 0, $par3 * 255.0 | 0, $par4 * 255.0 | 0); } function nms_Tessellator_setColorOpaque($this, $par1, $par2, $par3) { nms_Tessellator_setColorRGBA($this, $par1, $par2, $par3, 255); } function nms_Tessellator_setColorRGBA($this, $par1, $par2, $par3, $par4) { if (!$this.$isColorDisabled) { if ($par1 > 255) $par1 = 255; if ($par2 > 255) $par2 = 255; if ($par3 > 255) $par3 = 255; if ($par4 > 255) $par4 = 255; if ($par1 < 0) $par1 = 0; if ($par2 < 0) $par2 = 0; if ($par3 < 0) $par3 = 0; if ($par4 < 0) $par4 = 0; $this.$hasColor = 1; $this.$color = $par4 << 24 | $par3 << 16 | $par2 << 8 | $par1; } } function nms_Tessellator_addVertexWithUV($this, $par1, $par3, $par5, $par7, $par9) { $this.$hasTexture = 1; $this.$textureU = $par7; $this.$textureV = $par9; nms_Tessellator_addVertex($this, $par1, $par3, $par5); } function nms_Tessellator_addVertex($this, $par1, $par3, $par5) { var $bufferIndex, $intBuffer0, $floatBuffer0, var$7, var$8; $bufferIndex = $this.$addedVertices; if ($bufferIndex > 65534) return; $this.$addedVertices = $bufferIndex + 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; var$7; $floatBuffer0[var$7] = var$8; var$7 = $bufferIndex + 1 | 0; var$8 = $par3 + $this.$yOffset0; var$7; $floatBuffer0[var$7] = var$8; var$7 = $bufferIndex + 2 | 0; var$8 = $par5 + $this.$zOffset; var$7; $floatBuffer0[var$7] = var$8; if ($this.$hasTexture) { var$7 = $bufferIndex + 3 | 0; var$8 = $this.$textureU; var$7; $floatBuffer0[var$7] = var$8; var$7 = $bufferIndex + 4 | 0; var$8 = $this.$textureV; var$7; $floatBuffer0[var$7] = var$8; } if ($this.$hasColor) { var$7 = $bufferIndex + 5 | 0; $bufferIndex = $this.$color; var$7; $intBuffer0[var$7] = $bufferIndex; } $this.$rawBufferIndex = $this.$rawBufferIndex + 7 | 0; } function nms_Tessellator_setColorOpaque_I($this, $par1) { nms_Tessellator_setColorOpaque($this, $par1 >> 16 & 255, $par1 >> 8 & 255, $par1 & 255); } function nms_Tessellator_setNormal($this, $par1, $par2, $par3) { olo_EaglerAdapterGL30_glNormal3f($par1, $par2, $par3); } function nms_Tessellator_setTranslationD($this, $par1, $par3, $par5) { $this.$xOffset = $par1; $this.$yOffset0 = $par3; $this.$zOffset = $par5; } function nms_Tessellator_setTranslationF($this, $par1, $par2, $par3) { $this.$xOffset = $this.$xOffset + $par1; $this.$yOffset0 = $this.$yOffset0 + $par2; $this.$zOffset = $this.$zOffset + $par3; } function nms_Tessellator__clinit_() { var var$1, var$2; var$1 = new nms_Tessellator; nms_Tessellator_$callClinit(); var$1.$vertexCount = 0; var$1.$hasColor = 0; var$1.$hasTexture = 0; var$1.$rawBufferIndex = 0; var$1.$addedVertices = 0; var$1.$isColorDisabled = 0; var$1.$isDrawing = 0; var$2 = new $rt_globals.ArrayBuffer(2097152); var$1.$intBuffer = new $rt_globals.Int32Array(var$2); var$1.$floatBuffer = new $rt_globals.Float32Array(var$2); nms_Tessellator_instance = var$1; } function nms_ScaledResolution() { var a = this; jl_Object.call(a); a.$scaledWidth = 0; a.$scaledHeight = 0; a.$scaleFactor = 0; } function nms_ScaledResolution__init_(var_0, var_1) { var var_2 = new nms_ScaledResolution(); nms_ScaledResolution__init_0(var_2, var_0, var_1); return var_2; } function nms_ScaledResolution__init_0($this, $var1, $var2) { var var$3, var$4; $this.$scaledWidth = $var1; $this.$scaledHeight = $var2; $this.$scaleFactor = 1; while (true) { var$3 = $this.$scaleFactor; var$4 = var$3 + 1 | 0; if (($var1 / var$4 | 0) < 320) break; if (($var2 / var$4 | 0) < 240) break; $this.$scaleFactor = var$4; } $this.$scaledWidth = $var1 / var$3 | 0; $this.$scaledHeight = $var2 / var$3 | 0; } function nms_ScaledResolution_getScaledWidth($this) { return $this.$scaledWidth; } function nms_ScaledResolution_getScaledHeight($this) { return $this.$scaledHeight; } var otcic_StderrOutputStream = $rt_classWithoutFields(otcic_ConsoleOutputStream); var otcic_StderrOutputStream_INSTANCE = null; function otcic_StderrOutputStream__init_0() { var var_0 = new otcic_StderrOutputStream(); otcic_StderrOutputStream__init_(var_0); return var_0; } function otcic_StderrOutputStream__init_($this) { otcic_ConsoleOutputStream__init_($this); } function otcic_StderrOutputStream_write($this, $b, $off, $len) { var var$4; var$4 = 0; while (var$4 < $len) { $rt_putStderr($b.data[var$4 + $off | 0] & 255); var$4 = var$4 + 1 | 0; } } function otcic_StderrOutputStream__clinit_() { var var$1; var$1 = new otcic_StderrOutputStream; otcic_ConsoleOutputStream__init_(var$1); otcic_StderrOutputStream_INSTANCE = var$1; } var jl_Math = $rt_classWithoutFields(); function jl_Math__init_0() { var var_0 = new jl_Math(); jl_Math__init_(var_0); return var_0; } function jl_Math__init_($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($x, $y) { return jl_Math_powImpl($x, $y); } function jl_Math_powImpl(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_round($a) { return $a + jl_Math_sign($a) * 0.5 | 0; } 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_minImpl(var$1, var$2) { return Math.min(var$1, var$2); } function jl_Math_min0($a, $b) { return jl_Math_minImpl($a, $b); } function jl_Math_maxImpl(var$1, var$2) { return Math.max(var$1, var$2); } function jl_Math_max0($a, $b) { return jl_Math_maxImpl($a, $b); } function jl_Math_abs0($n) { if ($n < 0) $n = -$n | 0; return $n; } function jl_Math_absImpl(var$1) { return Math.abs(var$1); } function jl_Math_abs($n) { return jl_Math_absImpl($n); } function jl_Math_sign(var$1) { return Math.sign(var$1); } function jt_SimpleDatePatternParser() { var a = this; jl_Object.call(a); a.$symbols = null; a.$locale1 = null; a.$elements0 = null; a.$index1 = 0; a.$pattern1 = null; } function jt_SimpleDatePatternParser_parsePattern($this, $pattern) { var $c, $sb, var$4, $rep, var$6, var$7, var$8, var$9; ju_ArrayList_clear($this.$elements0); $this.$pattern1 = $pattern; $this.$index1 = 0; while ($this.$index1 < jl_String_length($pattern)) { a: { b: { c: { $c = jl_String_charAt($pattern, $this.$index1); switch ($c) { case 39: $this.$index1 = $this.$index1 + 1 | 0; $sb = new jl_StringBuilder; jl_AbstractStringBuilder__init_($sb); while ($this.$index1 < jl_String_length($this.$pattern1)) { var$4 = $this.$pattern1; $rep = $this.$index1; $this.$index1 = $rep + 1 | 0; $c = jl_String_charAt(var$4, $rep); if ($c != 39) jl_AbstractStringBuilder_append($sb, $c); else { if ($this.$index1 >= jl_String_length($this.$pattern1)) break; if (jl_String_charAt($this.$pattern1, $this.$index1) != 39) break; jl_AbstractStringBuilder_append($sb, 39); $this.$index1 = $this.$index1 + 1 | 0; } } ju_ArrayList_add($this.$elements0, jt_DateFormatElement$ConstantText__init_(jl_AbstractStringBuilder_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: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(6, $rep, 3)); break a; case 69: case 99: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$WeekdayText__init_($this.$symbols, $rep > 3 ? 0 : 1)); break a; case 70: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(8, $rep, 2)); break a; case 71: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$6 = new jt_DateFormatElement$EraText; var$7 = $this.$symbols; if (var$7.$eras === null) { var$4 = var$7.$locale0; var$8 = var$4.$languageCode; var$9 = var$4.$countryCode; if (otciu_CLDRHelper_$$metadata$$1 === null) otciu_CLDRHelper_$$metadata$$1 = otciu_CLDRHelper_getErasMap$$create(); var$7.$eras = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$1, var$8, var$9); } var$6.$eras0 = var$7.$eras.$clone(); ju_ArrayList_add($sb, var$6); break a; case 72: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(11, $rep, 2)); break a; case 75: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(10, $rep, 2)); break a; case 76: case 77: break c; case 83: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(14, $rep, 3)); break a; case 87: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(4, $rep, 1)); break a; case 88: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); if ($rep > 3) { $pattern = new jl_IllegalArgumentException; $c = $this.$index1; $sb = jl_StringBuilder__init_0(); jl_StringBuilder_append1(jl_StringBuilder_append($sb, $rt_s(474)), $c); jl_IllegalArgumentException__init_2($pattern, jl_StringBuilder_toString($sb)); $rt_throw($pattern); } ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Iso8601Timezone__init_($rep)); break a; case 89: case 121: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); if ($rep == 2) { ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Year__init_(1)); break a; } ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(1, $rep, 8)); break a; case 90: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements0; var$4 = new jt_DateFormatElement$Rfc822Timezone; jt_DateFormatElement$BaseTimezone__init_(var$4, $this.$locale1); ju_ArrayList_add($sb, var$4); break a; case 97: break; case 100: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(5, $rep, 2)); 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, 2)); break a; case 115: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(13, $rep, 2)); break a; case 117: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$NumericWeekday__init_($rep)); break a; case 119: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$Numeric__init_(3, $rep, 2)); break a; case 122: jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$GeneralTimezone__init_($this.$locale1)); break a; default: break b; } jt_SimpleDatePatternParser_parseRepetitions($this); ju_ArrayList_add($this.$elements0, jt_DateFormatElement$AmPmText__init_($this.$symbols)); break a; } $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; } if (jt_SimpleDatePatternParser_isControl($this, $c)) jt_SimpleDatePatternParser_parseRepetitions($this); else { $sb = jl_StringBuilder__init_0(); while ($this.$index1 < jl_String_length($pattern) && !jt_SimpleDatePatternParser_isControl($this, jl_String_charAt($pattern, $this.$index1))) { $rep = $this.$index1; $this.$index1 = $rep + 1 | 0; jl_StringBuilder_append5($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.$pattern1; var$3 = $this.$index1; $this.$index1 = var$3 + 1 | 0; $orig = jl_String_charAt(var$2, var$3); while ($this.$index1 < jl_String_length($this.$pattern1) && jl_String_charAt($this.$pattern1, $this.$index1) == $orig) { $this.$index1 = $this.$index1 + 1 | 0; $count = $count + 1 | 0; } return $count; } var jt_DateFormatElement = $rt_classWithoutFields(); function jnc_CodingErrorAction() { jl_Object.call(this); this.$name4 = null; } var jnc_CodingErrorAction_IGNORE = null; var jnc_CodingErrorAction_REPLACE = null; var jnc_CodingErrorAction_REPORT = null; function jnc_CodingErrorAction_$callClinit() { jnc_CodingErrorAction_$callClinit = $rt_eraseClinit(jnc_CodingErrorAction); jnc_CodingErrorAction__clinit_(); } 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) { jnc_CodingErrorAction_$callClinit(); $this.$name4 = $name; } function jnc_CodingErrorAction__clinit_() { jnc_CodingErrorAction_IGNORE = jnc_CodingErrorAction__init_($rt_s(475)); jnc_CodingErrorAction_REPLACE = jnc_CodingErrorAction__init_($rt_s(476)); jnc_CodingErrorAction_REPORT = jnc_CodingErrorAction__init_($rt_s(477)); } var otr_EventQueue$Event = $rt_classWithoutFields(0); var jl_ThreadInterruptHandler = $rt_classWithoutFields(0); 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) { var var$1; if (!$this.$isInterrupted) { var$1 = $this.$thread; var$1.$interruptHandler = null; jl_Thread_setCurrentThread(var$1); otpp_AsyncCallbackWrapper_complete($this.$callback, null); } } var nPgv_Matrix = $rt_classWithoutFields(); 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_0() { var var_0 = new nPgv_Matrix4f(); nPgv_Matrix4f__init_(var_0); return var_0; } function nPgv_Matrix4f__init_($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_rotate($angle, $axis, $src, $dest) { var var$5, $c, $s, $oneminusc, $t11, $xy, $f22, $yz, $xz, $xs, $ys, $zs, $f00, $f01, $f02, $f10, $f11, $f12, $f20, $f21, var$25, $t00, var$27, $t01, $t02, $t03, $t10, $t12, $t13; if ($dest === null) { $dest = new nPgv_Matrix4f; nPgv_Matrix4f_setIdentity($dest); } var$5 = $angle; $c = jl_Math_cos(var$5); $s = jl_Math_sin(var$5); $oneminusc = 1.0 - $c; $angle = $axis.$x; $t11 = $axis.$y; $xy = $angle * $t11; $f22 = $axis.$z; $yz = $t11 * $f22; $xz = $angle * $f22; $xs = $angle * $s; $ys = $t11 * $s; $zs = $f22 * $s; $f00 = $angle * $angle * $oneminusc + $c; $angle = $xy * $oneminusc; $f01 = $angle + $zs; $s = $xz * $oneminusc; $f02 = $s - $ys; $f10 = $angle - $zs; $f11 = $t11 * $t11 * $oneminusc + $c; $angle = $yz * $oneminusc; $f12 = $angle + $xs; $f20 = $s + $ys; $f21 = $angle - $xs; $f22 = $f22 * $f22 * $oneminusc + $c; $angle = $src.$m00; $c = $angle * $f00; $s = $src.$m10; $c = $c + $s * $f01; var$25 = $src.$m20; $t00 = $c + var$25 * $f02; var$27 = $src.$m01; $c = var$27 * $f00; $xy = $src.$m11; $c = $c + $xy * $f01; $ys = $src.$m21; $t01 = $c + $ys * $f02; $zs = $src.$m02; $c = $zs * $f00; $yz = $src.$m12; $c = $c + $yz * $f01; $xs = $src.$m22; $t02 = $c + $xs * $f02; $xz = $src.$m03; $c = $xz * $f00; $f00 = $src.$m13; $c = $c + $f00 * $f01; $f01 = $src.$m23; $t03 = $c + $f01 * $f02; $t10 = $angle * $f10 + $s * $f11 + var$25 * $f12; $t11 = var$27 * $f10 + $xy * $f11 + $ys * $f12; $t12 = $zs * $f10 + $yz * $f11 + $xs * $f12; $t13 = $xz * $f10 + $f00 * $f11 + $f01 * $f12; $dest.$m20 = $angle * $f20 + $s * $f21 + var$25 * $f22; $dest.$m21 = var$27 * $f20 + $xy * $f21 + $ys * $f22; $dest.$m22 = $zs * $f20 + $yz * $f21 + $xs * $f22; $dest.$m23 = $xz * $f20 + $f00 * $f21 + $f01 * $f22; $dest.$m00 = $t00; $dest.$m01 = $t01; $dest.$m02 = $t02; $dest.$m03 = $t03; $dest.$m10 = $t10; $dest.$m11 = $t11; $dest.$m12 = $t12; $dest.$m13 = $t13; return $dest; } function nPgv_Matrix4f_equals($this, $m) { var var$2; a: { if ($m instanceof nPgv_Matrix4f) { b: { c: { 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; } var jl_NegativeArraySizeException = $rt_classWithoutFields(jl_RuntimeException); function jl_NegativeArraySizeException__init_0() { var var_0 = new jl_NegativeArraySizeException(); jl_NegativeArraySizeException__init_(var_0); return var_0; } function jl_NegativeArraySizeException__init_($this) { jl_Throwable__init_0($this); } var jn_CharBufferImpl = $rt_classWithoutFields(jn_CharBuffer); function jn_CharBufferOverArray() { var a = this; jn_CharBufferImpl.call(a); a.$readOnly2 = 0; a.$start5 = 0; a.$array = 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_($this, $capacity); $this.$position = $position; $this.$limit = $limit; $this.$start5 = $start; $this.$readOnly2 = $readOnly; $this.$array = $array; } function jn_CharBufferOverArray_getChar($this, $index) { return $this.$array.data[$index + $this.$start5 | 0]; } function jn_CharBufferOverArray_putChar($this, $index, $value) { $this.$array.data[$index + $this.$start5 | 0] = $value; } function jnc_CharsetEncoder() { var a = this; jl_Object.call(a); a.$charset0 = null; a.$replacement = null; a.$averageBytesPerChar = 0.0; a.$maxBytesPerChar = 0.0; a.$malformedAction = null; a.$unmappableAction = null; a.$status = 0; } function jnc_CharsetEncoder_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(478)); $rt_throw(var$2); } function jnc_CharsetEncoder_implOnMalformedInput($this, $newAction) {} function jnc_CharsetEncoder_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(478)); $rt_throw(var$2); } function jnc_CharsetEncoder_implOnUnmappableCharacter($this, $newAction) {} function jnc_CharsetEncoder_encode($this, $in, $out, $endOfInput) { var var$4, $result, $e, $remaining, $action, var$9, $$je; a: { var$4 = $this.$status; if (var$4 != 3) { if ($endOfInput) break a; if (var$4 != 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; $in = new jnc_CoderMalfunctionError; jl_Throwable__init_4($in, $e); $rt_throw($in); } 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.$malformedAction : $this.$unmappableAction; b: { jnc_CodingErrorAction_$callClinit(); if ($action !== jnc_CodingErrorAction_REPLACE) { if ($action === jnc_CodingErrorAction_IGNORE) break b; else return $result; } $remaining = jn_Buffer_remaining($out); var$9 = $this.$replacement; if ($remaining < var$9.data.length) return jnc_CoderResult_OVERFLOW; jn_ByteBuffer_put0($out, var$9); } 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_copyOf1($array, $array.data.length * 2 | 0)); jn_Buffer_position0($result, $buffer.$position); return $result; } function jnc_CharsetEncoder_flush($this, $out) { var var$2, $result; var$2 = $this.$status; if (var$2 != 2 && var$2 != 4) { $out = new jl_IllegalStateException; jl_Throwable__init_0($out); $rt_throw($out); } $result = jnc_CoderResult_UNDERFLOW; if ($result === $result) $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) {} function jnc_CoderResult() { var a = this; jl_Object.call(a); a.$kind = 0; a.$length1 = 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.$length1 = $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.$length1; 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_unmappableForLength($length) { return jnc_CoderResult__init_(3, $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.$length1; jl_Throwable__init_0(var$1); var$1.$length2 = var$2; $rt_throw(var$1); case 3: var$1 = new jnc_UnmappableCharacterException; var$2 = $this.$length1; jl_Throwable__init_0(var$1); var$1.$length3 = 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 nPg_GLObjectMap() { var a = this; jl_Object.call(a); a.$values = null; a.$size1 = 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.$size1 = $initialSize; $this.$insertIndex = 0; $this.$allocatedObjects = 0; } function nPg_GLObjectMap_register($this, $obj) { var $start, var$3, var$4, var$5, var$6, var$7; $start = $this.$insertIndex; while (true) { var$3 = $this.$insertIndex + 1 | 0; $this.$insertIndex = var$3; var$4 = $this.$size1; if (var$3 >= var$4) $this.$insertIndex = 0; var$5 = $this.$insertIndex; if (var$5 == $start) { var$3 = var$4 + (var$4 / 2 | 0) | 0; $this.$size1 = var$3; var$6 = $this.$values; var$7 = $rt_createArray(jl_Object, var$3); $this.$values = var$7; jl_System_fastArraycopy(var$6, 0, var$7, 0, var$4); return nPg_GLObjectMap_register($this, $obj); } var$6 = $this.$values.data; if (var$6[var$5] !== null) continue; else break; } var$6[var$5] = $obj; $this.$allocatedObjects = $this.$allocatedObjects + 1 | 0; return var$5; } var nPgv_ReadableVector = $rt_classWithoutFields(0); var nPgv_Vector = $rt_classWithoutFields(); var nPgv_ReadableVector2f = $rt_classWithoutFields(0); var nPgv_ReadableVector3f = $rt_classWithoutFields(0); var nPgv_WritableVector2f = $rt_classWithoutFields(0); var nPgv_WritableVector3f = $rt_classWithoutFields(0); function nPgv_Vector3f() { var a = this; nPgv_Vector.call(a); a.$x = 0.0; a.$y = 0.0; a.$z = 0.0; } function nPgv_Vector3f__init_0() { var var_0 = new nPgv_Vector3f(); nPgv_Vector3f__init_(var_0); return var_0; } function nPgv_Vector3f__init_($this) {} function nPgv_Vector3f_set($this, $x, $y, $z) { $this.$x = $x; $this.$y = $y; $this.$z = $z; } var nPgv_ReadableVector4f = $rt_classWithoutFields(0); var nPgv_WritableVector4f = $rt_classWithoutFields(0); function nPgv_Vector4f() { var a = this; nPgv_Vector.call(a); a.$x0 = 0.0; a.$y0 = 0.0; a.$z0 = 0.0; a.$w0 = 0.0; } function nPgv_Vector4f__init_0() { var var_0 = new nPgv_Vector4f(); nPgv_Vector4f__init_(var_0); return var_0; } function nPgv_Vector4f__init_($this) {} function nPgv_Vector4f_set($this, $src) { $this.$x0 = $src.$x0; $this.$y0 = $src.$y0; $this.$z0 = $src.$z0; $this.$w0 = $src.$w0; return $this; } function nPgv_Vector4f_equals($this, $other) { if ($this === $other) return 1; if ($other === null) return 0; if (jl_Object_getClass($this) !== jl_Object_getClass($other)) return 0; if ($this.$x0 === $other.$x0 && $this.$y0 === $other.$y0 && $this.$z0 === $other.$z0 && $this.$w0 === $other.$w0) return 1; return 0; } function jl_Thread$switchContext$lambda$_19_0() { var a = this; jl_Object.call(a); a.$_02 = null; a.$_10 = null; } function jl_Thread$switchContext$lambda$_19_0_run(var$0) { var var$1, var$2; var$1 = var$0.$_02; var$2 = var$0.$_10; jl_Thread_$callClinit(); jl_Thread_setCurrentThread(var$1); otpp_AsyncCallbackWrapper_complete(var$2, null); } var otciu_UnicodeHelper = $rt_classWithoutFields(); function otciu_UnicodeHelper__init_0() { var var_0 = new otciu_UnicodeHelper(); otciu_UnicodeHelper__init_(var_0); return var_0; } function otciu_UnicodeHelper__init_($this) {} function otciu_UnicodeHelper_decodeCaseMapping($text) { var $flow, $sz, $data, var$5, $last, $i, var$8; $flow = otci_CharFlow__init_(jl_String_toCharArray($text)); $sz = otci_Base46_decodeUnsigned($flow); $data = $rt_createIntArray($sz * 2 | 0); var$5 = $data.data; $last = 0; $i = 0; while ($i < $sz) { $last = $last + otci_Base46_decodeUnsigned($flow) | 0; var$8 = $i * 2 | 0; var$5[var$8] = $last; var$5[var$8 + 1 | 0] = otci_Base46_decode($flow); $i = $i + 1 | 0; } return $data; } function otciu_UnicodeHelper_createCharMapping($data) { var $result, var$3, $last, $lastValue, $i, var$7, $key, $value, var$10, var$11; $result = $rt_createIntArray(65536); var$3 = $result.data; $last = 0; $lastValue = 0; $i = 0; a: { while (true) { var$7 = $data.data; if ($i >= var$7.length) break a; $key = var$7[$i]; $value = var$7[$i + 1 | 0]; var$10 = var$3.length; if ($key < var$10) var$10 = $key; else if ($key == $last) break; ju_Arrays_fill1($result, $last, var$10, $lastValue); $i = $i + 2 | 0; $last = var$10; $lastValue = $value; } } var$11 = new otciu_CharMapping; var$11.$binarySearchTable = $data; var$11.$fastTable = $result; return var$11; } function otciu_UnicodeHelper_decodeByte($c) { if ($c > 92) return (($c - 32 | 0) - 2 | 0) << 24 >> 24; if ($c <= 34) return ($c - 32 | 0) << 24 >> 24; return (($c - 32 | 0) - 1 | 0) << 24 >> 24; } function otciu_CharMapping() { var a = this; jl_Object.call(a); a.$binarySearchTable = null; a.$fastTable = null; } 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; } var otci_Base46 = $rt_classWithoutFields(); function otci_Base46__init_0() { var var_0 = new otci_Base46(); otci_Base46__init_(var_0); return var_0; } function otci_Base46__init_($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 = var$4[$hasMore]; $digit = $digit < 34 ? $digit - 32 | 0 : $digit >= 92 ? ($digit - 32 | 0) - 2 | 0 : ($digit - 32 | 0) - 1 | 0; $hasMore = ($digit % 2 | 0) != 1 ? 0 : 1; $number = $number + $rt_imul($pos, $digit / 2 | 0) | 0; $pos = $pos * 46 | 0; if (!$hasMore) break; } return $number; } function otci_Base46_decode($seq) { var $number, $result; $number = otci_Base46_decodeUnsigned($seq); $result = $number / 2 | 0; if ($number % 2 | 0) $result = -$result | 0; return $result; } var jnc_CharacterCodingException = $rt_classWithoutFields(ji_IOException); function jnc_CharacterCodingException__init_0() { var var_0 = new jnc_CharacterCodingException(); jnc_CharacterCodingException__init_(var_0); return var_0; } function jnc_CharacterCodingException__init_($this) { jl_Throwable__init_0($this); } var jl_AssertionError = $rt_classWithoutFields(jl_Error); function jl_AssertionError__init_1() { var var_0 = new jl_AssertionError(); jl_AssertionError__init_(var_0); return var_0; } function jl_AssertionError__init_0(var_0, var_1) { var var_2 = new jl_AssertionError(); jl_AssertionError__init_2(var_2, var_0, var_1); return var_2; } function jl_AssertionError__init_($this) { jl_Throwable__init_0($this); } function jl_AssertionError__init_2($this, $message, $cause) { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; $this.$cause = $cause; } var jl_Float = $rt_classWithoutFields(jl_Number); var jl_Float_TYPE = null; function jl_Float_parseFloat($string) { var $start, $end, $negative, $c, $mantissa, $exp, $mantissaPos, $hasOneDigit, var$10, $negativeExp, $numExp, var$13, var$14; if (jl_String_isEmpty($string)) { $string = new jl_NumberFormatException; jl_Throwable__init_0($string); $rt_throw($string); } $start = 0; $end = jl_String_length($string); while (true) { if (jl_String_charAt($string, $start) > 32) { while (jl_String_charAt($string, $end - 1 | 0) <= 32) { $end = $end + (-1) | 0; } $negative = 0; if (jl_String_charAt($string, $start) == 45) { $start = $start + 1 | 0; $negative = 1; } else if (jl_String_charAt($string, $start) == 43) $start = $start + 1 | 0; if ($start == $end) { $string = new jl_NumberFormatException; jl_Throwable__init_0($string); $rt_throw($string); } a: { $c = jl_String_charAt($string, $start); $mantissa = 0; $exp = (-1); $mantissaPos = 100000000; $hasOneDigit = 0; if ($c != 46) { $hasOneDigit = 1; if ($c >= 48 && $c <= 57) { b: { while ($start < $end) { if (jl_String_charAt($string, $start) != 48) break b; $start = $start + 1 | 0; } } while ($start < $end) { var$10 = jl_String_charAt($string, $start); if (var$10 < 48) break a; if (var$10 > 57) break a; if ($mantissaPos > 0) { $mantissa = $mantissa + $rt_imul($mantissaPos, var$10 - 48 | 0) | 0; $mantissaPos = $rt_udiv($mantissaPos, 10); } $exp = $exp + 1 | 0; $start = $start + 1 | 0; } } else { $string = new jl_NumberFormatException; jl_Throwable__init_0($string); $rt_throw($string); } } } if ($start < $end && jl_String_charAt($string, $start) == 46) { $start = $start + 1 | 0; c: { while (true) { if ($start >= $end) break c; $negativeExp = jl_String_charAt($string, $start); var$10 = $rt_compare($negativeExp, 48); if (var$10 < 0) break c; if ($negativeExp > 57) break; if (!$mantissa && !var$10) $exp = $exp + (-1) | 0; else if ($mantissaPos > 0) { $mantissa = $mantissa + $rt_imul($mantissaPos, $negativeExp - 48 | 0) | 0; $mantissaPos = $rt_udiv($mantissaPos, 10); } $start = $start + 1 | 0; $hasOneDigit = 1; } } if (!$hasOneDigit) { $string = new jl_NumberFormatException; jl_Throwable__init_0($string); $rt_throw($string); } } if ($start < $end) { var$10 = jl_String_charAt($string, $start); if (var$10 != 101 && var$10 != 69) $rt_throw(jl_NumberFormatException__init_0()); var$10 = $start + 1 | 0; $negativeExp = 0; if (var$10 == $end) $rt_throw(jl_NumberFormatException__init_0()); if (jl_String_charAt($string, var$10) == 45) { var$10 = var$10 + 1 | 0; $negativeExp = 1; } else if (jl_String_charAt($string, var$10) == 43) var$10 = var$10 + 1 | 0; $numExp = 0; $start = 0; d: { while (true) { if (var$10 >= $end) break d; $c = jl_String_charAt($string, var$10); if ($c < 48) break d; if ($c > 57) break; $numExp = (10 * $numExp | 0) + ($c - 48 | 0) | 0; $start = 1; var$10 = var$10 + 1 | 0; } } if (!$start) $rt_throw(jl_NumberFormatException__init_0()); if ($negativeExp) $numExp = -$numExp | 0; $exp = $exp + $numExp | 0; } e: { var$10 = 50 + $exp | 0; if ($mantissa) { var$13 = otcit_FloatSynthesizer_mantissa10Table.data; if (var$10 <= var$13.length && var$10 >= 0) { $start = otcit_FloatAnalyzer_mulAndShiftRight($mantissa, var$13[var$10], 0); var$10 = otcit_FloatSynthesizer_exp10Table.data[var$10] - 1 | 0; $end = (32 - jl_Integer_numberOfLeadingZeros($start) | 0) - 30 | 0; $start = $end >= 0 ? $start >>> $end | 0 : $start << ( -$end | 0); var$10 = var$10 + $end | 0; if (var$10 >= 255) { var$14 = !$negative ? Infinity : (-Infinity); break e; } $start = $start + 32 | 0; if ($start & (-1073741824)) { $start = $start >>> 1 | 0; var$10 = var$10 + 1 | 0; } if (var$10 <= 0) { $start = $start >> jl_Math_min(( -var$10 | 0) + 1 | 0, 32); var$10 = 0; } var$10 = ($start >>> 6 | 0) & 8388607 | var$10 << 23; if ($negative) var$10 = var$10 ^ (-2147483648); var$14 = $rt_intBitsToFloat(var$10); break e; } } var$14 = $rt_intBitsToFloat(!$negative ? 0 : (-2147483648)); } return var$14; } $start = $start + 1 | 0; if ($start == $end) break; } $string = new jl_NumberFormatException; jl_Throwable__init_0($string); $rt_throw($string); } function jl_Float_floatToIntBits($value) { if ($rt_globals.isNaN($value) ? 1 : 0) return 2143289344; return $rt_floatToRawIntBits($value); } function jl_Float__clinit_() { jl_Float_TYPE = $rt_cls($rt_floatcls()); } var jl_Double = $rt_classWithoutFields(jl_Number); var jl_Double_TYPE = null; function jl_Double_doubleToLongBits($value) { if (!($rt_globals.isNaN($value) ? 1 : 0)) return $rt_doubleToRawLongBits($value); return Long_create(0, 2146959360); } function jl_Double__clinit_() { jl_Double_TYPE = $rt_cls($rt_doublecls()); } function nms_RenderManager() { var a = this; jl_Object.call(a); a.$entityRenderMap = null; a.$field_1218_p = null; a.$renderEngine0 = null; a.$field_4236_f = null; a.$worldObj2 = null; a.$field_1226_h = null; a.$field_1225_i = 0.0; a.$field_1224_j = 0.0; a.$options0 = null; a.$field_1222_l = 0.0; a.$field_1221_m = 0.0; a.$field_1220_n = 0.0; } var nms_RenderManager_instance = null; var nms_RenderManager_field_1232_b = 0.0; var nms_RenderManager_field_1231_c = 0.0; var nms_RenderManager_field_1230_d = 0.0; function nms_RenderManager_$callClinit() { nms_RenderManager_$callClinit = $rt_eraseClinit(nms_RenderManager); nms_RenderManager__clinit_(); } function nms_RenderManager__init_0() { var var_0 = new nms_RenderManager(); nms_RenderManager__init_(var_0); return var_0; } function nms_RenderManager__init_($this) { var $var1, $var2, var$3, var$4, var$5; nms_RenderManager_$callClinit(); $var1 = ju_HashMap__init_0(); $this.$entityRenderMap = $var1; ju_HashMap_put($var1, $rt_cls(nms_EntitySpider), nms_RenderSpider__init_0()); $var2 = $this.$entityRenderMap; var$3 = new nms_RenderPig; $var1 = nms_ModelPig__init_0(); var$4 = new nms_ModelPig; nms_ModelQuadraped__init_(var$4, 6, 0.5); nms_RenderLiving__init_(var$3, $var1, 0.699999988079071); var$3.$field_6332_f = var$4; ju_HashMap_put($var2, $rt_cls(nms_EntityPig), var$3); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSheep; var$3 = nms_ModelSheep2__init_0(); var$4 = nms_ModelSheep1__init_0(); nms_RenderLiving__init_(var$5, var$3, 0.699999988079071); var$5.$field_6332_f = var$4; ju_HashMap_put($var1, $rt_cls(nms_EntitySheep), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderCow; nms_RenderLiving__init_(var$5, nms_ModelCow__init_0(), 0.699999988079071); ju_HashMap_put($var1, $rt_cls(nms_EntityCow), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderChicken; nms_RenderLiving__init_(var$5, nms_ModelChicken__init_0(), 0.30000001192092896); ju_HashMap_put($var1, $rt_cls(nms_EntityChicken), var$5); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityCreeper), nms_RenderCreeper__init_0()); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntitySkeleton), nms_RenderBiped__init_(nms_ModelSkeleton__init_0(), 0.5)); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderBiped; var$3 = new nms_ModelZombie; nms_ModelBiped__init_(var$3); nms_RenderBiped__init_0(var$5, var$3, 0.5); ju_HashMap_put($var1, $rt_cls(nms_EntityZombie), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSlime; var$3 = nms_ModelSlime__init_(16); var$4 = nms_ModelSlime__init_(0); nms_RenderLiving__init_(var$5, var$3, 0.25); var$5.$field_205_f = var$4; ju_HashMap_put($var1, $rt_cls(nms_EntitySlime), var$5); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityPlayer), nms_RenderPlayer__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderZombieSimple; var$3 = new nms_ModelZombie; nms_ModelBiped__init_(var$3); nms_RenderLiving__init_(var$5, var$3, 3.0); var$5.$field_204_f = 6.0; ju_HashMap_put($var1, $rt_cls(nms_EntityZombieSimple), var$5); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityGhast), nms_RenderGhast__init_0()); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityLiving), nms_RenderLiving__init_0(nms_ModelBiped__init_1(), 0.5)); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderEntity; nms_Render__init_(var$5); ju_HashMap_put($var1, $rt_cls(nms_Entity), var$5); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityPainting), nms_RenderPainting__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderArrow; nms_Render__init_(var$5); ju_HashMap_put($var1, $rt_cls(nms_EntityArrow), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; nms_Render__init_(var$5); ju_HashMap_put($var1, $rt_cls(nms_EntitySnowball), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderFireball; nms_Render__init_(var$5); ju_HashMap_put($var1, $rt_cls(nms_EntityFireball), var$5); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityItem), nms_RenderItem__init_0()); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityTNTPrimed), nms_RenderTNTPrimed__init_0()); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityFallingSand), nms_RenderFallingSand__init_0()); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityMinecart), nms_RenderMinecart__init_0()); ju_HashMap_put($this.$entityRenderMap, $rt_cls(nms_EntityBoat), nms_RenderBoat__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderFish; nms_Render__init_(var$5); ju_HashMap_put($var1, $rt_cls(nms_EntityFish), var$5); $var1 = ju_HashMap$2_iterator(ju_HashMap_values($this.$entityRenderMap)); while (ju_HashMap$AbstractMapIterator_hasNext($var1)) { (ju_HashMap$ValueIterator_next($var1)).$renderManager = $this; } } function nms_RenderManager_func_4117_a($this, $var1) { var $var2; $var2 = ju_HashMap_get($this.$entityRenderMap, $var1); if ($var2 === null && $var1 !== $rt_cls(nms_Entity)) { $var2 = nms_RenderManager_func_4117_a($this, jl_Class_getSuperclass($var1)); ju_HashMap_put($this.$entityRenderMap, $var1, $var2); } return $var2; } function nms_RenderManager_func_855_a($this, $var1) { return nms_RenderManager_func_4117_a($this, jl_Object_getClass($var1)); } function nms_RenderManager_func_853_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = nms_RenderManager_func_855_a($this, $var1); if ($var10 === null) return; $ptr = 1; case 1: $var10.$doRender($var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_Render_doRenderShadowAndFire($var10, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $ptr); } function nms_RenderManager__clinit_() { nms_RenderManager_instance = nms_RenderManager__init_0(); } function nms_RenderEngine() { var a = this; jl_Object.call(a); a.$textureNameToImageMap = null; a.$singleIntBuffer = null; a.$imageDataB1 = null; a.$imageDataB2 = null; a.$textureList = null; a.$options = null; a.$clampTexture = 0; a.$blurTexture = 0; } var nms_RenderEngine_useMipmaps = 0; var nms_RenderEngine_textureMap = null; function nms_RenderEngine_getTexture($this, $s) { var $integer, $i, $s1, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$s1 = $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(nms_RenderEngine_textureMap, $s); if ($integer !== null) return $integer.$value; try { jn_IntBuffer_clear($this.$singleIntBuffer); nms_GLAllocation_generateTextureNames($this.$singleIntBuffer); $i = jn_IntBufferImpl_get0($this.$singleIntBuffer, 0); if (jl_String_startsWith($s, $rt_s(479))) { $this.$clampTexture = 1; $s1 = nlea_EaglerAdapterImpl2_loadResourceBytes((jl_String_split($s, $rt_s(479))).data[1]); $ptr = 1; continue main; } if (jl_String_startsWith($s, $rt_s(480))) { $this.$blurTexture = 1; $s1 = nlea_EaglerAdapterImpl2_loadResourceBytes((jl_String_split($s, $rt_s(480))).data[1]); $ptr = 2; continue main; } if (jl_String_contains($s, $rt_s(481))) nms_RenderEngine_useMipmaps = 1; $s1 = nlea_EaglerAdapterImpl2_loadResourceBytes($s); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } $s = new jl_RuntimeException; jl_Throwable__init_($s, $rt_s(482)); $rt_throw($s); case 1: a: { try { $tmp = nms_RenderEngine_readTextureImage($this, $s1); if ($rt_suspending()) { break main; } $integer = $tmp; nms_RenderEngine_setupTexture($this, $integer, $i); $this.$clampTexture = 0; ju_HashMap_put(nms_RenderEngine_textureMap, $s, jl_Integer_valueOf($i)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } return $i; } $s = new jl_RuntimeException; jl_Throwable__init_($s, $rt_s(482)); $rt_throw($s); case 2: a: { try { $tmp = nms_RenderEngine_readTextureImage($this, $s1); if ($rt_suspending()) { break main; } $integer = $tmp; nms_RenderEngine_setupTexture($this, $integer, $i); $this.$blurTexture = 0; ju_HashMap_put(nms_RenderEngine_textureMap, $s, jl_Integer_valueOf($i)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } return $i; } $s = new jl_RuntimeException; jl_Throwable__init_($s, $rt_s(482)); $rt_throw($s); case 3: a: { try { $tmp = nms_RenderEngine_readTextureImage($this, $s1); if ($rt_suspending()) { break main; } $integer = $tmp; nms_RenderEngine_setupTexture($this, $integer, $i); nms_RenderEngine_useMipmaps = 0; ju_HashMap_put(nms_RenderEngine_textureMap, $s, jl_Integer_valueOf($i)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } return $i; } $s = new jl_RuntimeException; jl_Throwable__init_($s, $rt_s(482)); $rt_throw($s); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $s, $integer, $i, $s1, $ptr); } function nms_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; nms_RenderEngine_bindTexture($this, $i); if (!nms_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); } if ($this.$blurTexture) { olo_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9729); olo_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9729); } if (!$this.$clampTexture) { olo_EaglerAdapterGL30_glTexParameteri(3553, 10242, 10497); olo_EaglerAdapterGL30_glTexParameteri(3553, 10243, 10497); } else { olo_EaglerAdapterGL30_glTexParameteri(3553, 10242, 10496); olo_EaglerAdapterGL30_glTexParameteri(3553, 10243, 10496); } $j = $bufferedimage.$w1; $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; $bufferedimage = $this.$options; if ($bufferedimage !== null && $bufferedimage.$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_limit($bufferedimage, var$7.length); olo_EaglerAdapterGL30_glTexImage2D(3553, 0, 6408, $j, $k, 0, 6408, 5121, $this.$imageDataB1); if (nms_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; $j1 = $k3 * 2 | 0; $j3 = $rt_imul($j1 + 0 | 0, $k1); $i4 = jn_ByteBufferImpl_getInt($bufferedimage, ($l + $j3 | 0) * 4 | 0); $bufferedimage = $this.$imageDataB1; $j4 = $i + 1 | 0; $k4 = jn_ByteBufferImpl_getInt($bufferedimage, ($j4 + $j3 | 0) * 4 | 0); $bufferedimage = $this.$imageDataB1; $i = $rt_imul($j1 + 1 | 0, $k1); $l4 = jn_ByteBufferImpl_getInt($bufferedimage, ($j4 + $i | 0) * 4 | 0); $i5 = jn_ByteBufferImpl_getInt($this.$imageDataB1, ($l + $i | 0) * 4 | 0); $j5 = nms_RenderEngine_averageColor($this, nms_RenderEngine_averageColor($this, $i4, $k4), nms_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 nms_RenderEngine_registerTextureFX($this, $texturefx) { ju_ArrayList_add($this.$textureList, $texturefx); $texturefx.$func_783_a(); } function nms_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 nms_RenderEngine_readTextureImage($this, $inputstream) { var var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$inputstream = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG($inputstream); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $inputstream, var$2, $ptr); } function nms_RenderEngine_bindTexture($this, $i) { nmc_Minecraft_setLighting(nmc_Minecraft_mc, 1); if ($i < 0) { nmc_Minecraft_setLighting(nmc_Minecraft_mc, 0); return; } nmc_Minecraft_setLighting(nmc_Minecraft_mc, 0); olo_EaglerAdapterGL30_glBindTexture(3553, $i); } function nms_RenderEngine_func_1067_a($this) { var $i, $texturefx, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$texturefx = $thread.pop();$i = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $i = 0; $texturefx = $this.$textureList; if ($i >= $texturefx.$size) return; $texturefx = ju_ArrayList_get($texturefx, $i); $texturefx.$field_1131_c = $this.$options.$anaglyph; $texturefx.$func_783_a(); $ptr = 1; case 1: nms_TextureFX_func_782_a($texturefx, $this); if ($rt_suspending()) { break main; } jn_Buffer_clear($this.$imageDataB1); jn_ByteBuffer_put0($this.$imageDataB1, $texturefx.$field_1127_a); var$3 = $this.$imageDataB1; jn_Buffer_position0(var$3, 0); jn_Buffer_limit(var$3, 1024); var$4 = $texturefx.$field_1126_b; var$5 = (var$4 % 16 | 0) * 16 | 0; var$4 = (var$4 / 16 | 0) * 16 | 0; var$3 = $this.$imageDataB1; olo_EaglerAdapterGL30_$callClinit(); switch (3553) { case 3553: break; default: } olo_EaglerAdapterGL30_bytesUploaded = olo_EaglerAdapterGL30_bytesUploaded + jn_Buffer_remaining(var$3) | 0; nlea_EaglerAdapterImpl2_$callClinit(); var$6 = jn_Buffer_remaining(var$3); var$7 = 0; while (var$7 < var$6) { $texturefx = nlea_EaglerAdapterImpl2_uploadBuffer; var$8 = (jn_ByteBufferImpl_get(var$3) & 255) << 16 >> 16; var$7; $texturefx[var$7] = var$8; var$7 = var$7 + 1 | 0; } var$3 = new $rt_globals.Uint8Array(nlea_EaglerAdapterImpl2_uploadBuffer.buffer, 0, var$6); nlea_EaglerAdapterImpl2_webgl.texSubImage2D(3553, 0, var$5, var$4, 16, 16, 6408, 5121, var$3); $i = $i + 1 | 0; $texturefx = $this.$textureList; if ($i >= $texturefx.$size) return; $texturefx = ju_ArrayList_get($texturefx, $i); $texturefx.$field_1131_c = $this.$options.$anaglyph; $texturefx.$func_783_a(); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $i, $texturefx, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); } function nms_RenderEngine__clinit_() { nms_RenderEngine_useMipmaps = 0; } function nms_FontRenderer() { var a = this; jl_Object.call(a); a.$charWidth = null; a.$fontTextureName = 0; a.$fontDisplayLists = 0; } function nms_FontRenderer__init_0(var_0, var_1, var_2) { var var_3 = new nms_FontRenderer(); nms_FontRenderer__init_(var_3, var_0, var_1, var_2); return var_3; } function nms_FontRenderer__init_($this, $gamesettings, $s, $renderengine) { var $ai, $bufferedimage, $i, $k, $l, $k1, $j2, $j1, $i3, $flag, $l3, $tessellator, $i1, $l1, $k2, var$19, var$20, var$21, var$22, var$23, var$24, $i2, $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();$i2 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$k2 = $thread.pop();$l1 = $thread.pop();$i1 = $thread.pop();$tessellator = $thread.pop();$l3 = $thread.pop();$flag = $thread.pop();$i3 = $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();$renderengine = $thread.pop();$s = $thread.pop();$gamesettings = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $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.$w1; $ai = $bufferedimage.$data; $k = 0; while ($k < 256) { $l = $k % 16 | 0; $k1 = $k / 16 | 0; $j2 = 7; $l = $l * 8 | 0; $j1 = $k1 * 8 | 0; a: { while ($j2 >= 0) { $i3 = $l + $j2 | 0; $flag = 1; $l3 = 0; while ($l3 < 8 && $flag) { if (($ai.data[$i3 + $rt_imul($j1 + $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; } jn_Buffer_clear($renderengine.$singleIntBuffer); nms_GLAllocation_generateTextureNames($renderengine.$singleIntBuffer); $i = jn_IntBufferImpl_get0($renderengine.$singleIntBuffer, 0); nms_RenderEngine_setupTexture($renderengine, $bufferedimage, $i); ju_HashMap_put($renderengine.$textureNameToImageMap, jl_Integer_valueOf($i), $bufferedimage); $this.$fontTextureName = $i; $this.$fontDisplayLists = nms_GLAllocation_generateDisplayLists(288); nms_Tessellator_$callClinit(); $tessellator = nms_Tessellator_instance; $i1 = 0; while ($i1 < 256) { olo_EaglerAdapterGL30_glNewList($this.$fontDisplayLists + $i1 | 0, 4864); nms_Tessellator_startDrawingQuads($tessellator); $l1 = ($i1 % 16 | 0) * 8 | 0; $k2 = ($i1 / 16 | 0) * 8 | 0; var$19 = $l1; var$20 = var$19 / 128.0 + 0.0; var$21 = $k2; var$22 = (var$21 + 7.989999771118164) / 128.0 + 0.0; nms_Tessellator_addVertexWithUV($tessellator, 0.0, 7.989999771118164, 0.0, var$20, var$22); var$23 = (var$19 + 7.989999771118164) / 128.0 + 0.0; nms_Tessellator_addVertexWithUV($tessellator, 7.989999771118164, 7.989999771118164, 0.0, var$23, var$22); var$24 = var$21 / 128.0 + 0.0; nms_Tessellator_addVertexWithUV($tessellator, 7.989999771118164, 0.0, 0.0, var$23, var$24); nms_Tessellator_addVertexWithUV($tessellator, 0.0, 0.0, 0.0, var$20, var$24); nms_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) { $i = $j4 * 30 | 0; $j4 = (($i + ($l4 * 59 | 0) | 0) + ($i5 * 11 | 0) | 0) / 100 | 0; $l4 = ($i + ($l4 * 70 | 0) | 0) / 100 | 0; $i5 = ($i + ($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, $renderengine, $ai, $bufferedimage, $i, $k, $l, $k1, $j2, $j1, $i3, $flag, $l3, $tessellator, $i1, $l1, $k2, var$19, var$20, var$21, var$22, var$23, var$24, $i2, $j4, $l4, $i5, $flag1, $ptr); } function nms_FontRenderer_drawStringWithShadow($this, $s, $i, $j, $k) { nms_FontRenderer_renderString($this, $s, $i + 1 | 0, $j + 1 | 0, $k, 1); nms_FontRenderer_drawString($this, $s, $i, $j, $k); } function nms_FontRenderer_drawString($this, $s, $i, $j, $k) { nms_FontRenderer_renderString($this, $s, $i, $j, $k, 0); } function nms_FontRenderer_renderString($this, $s, $i, $j, $k, $flag) { var $f, $f1, $f2, $f3, $i1, var$11, var$12, $l, $k1, var$15, var$16, $j1; 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; if (jl_String_isEmpty($s)) var$11 = $s; else { $j = 0; $k = 0; var$12 = $s.$characters.data; $flag = var$12.length; $l = 0; a: { while ($l < $flag) { $k1 = var$12[$l]; if (jl_Character_toLowerCase($k1) != $k1) { $j = 1; break a; } if (jl_Character_isSurrogate($k1)) $k = 1; $l = $l + 1 | 0; } } if (!$j) var$11 = $s; else if (!$k) { var$12 = $rt_createCharArray($s.$characters.data.length); var$15 = var$12.data; $j = 0; while (true) { var$16 = $s.$characters.data; if ($j >= var$16.length) break; var$15[$j] = jl_Character_toLowerCase(var$16[$j]); $j = $j + 1 | 0; } var$11 = jl_String__init_(var$12); } else { var$12 = $rt_createIntArray($s.$characters.data.length); var$15 = var$12.data; $l = 0; $flag = 0; while (true) { var$16 = $s.$characters.data; $j = var$16.length; if ($flag >= $j) break; b: { if ($flag != ($j - 1 | 0) && jl_Character_isHighSurrogate(var$16[$flag])) { var$16 = $s.$characters.data; $j = $flag + 1 | 0; if (jl_Character_isLowSurrogate(var$16[$j])) { $k1 = $l + 1 | 0; var$16 = $s.$characters.data; var$15[$l] = jl_Character_toLowerCase0(jl_Character_toCodePoint(var$16[$flag], var$16[$j])); $flag = $j; break b; } } $k1 = $l + 1 | 0; var$15[$l] = jl_Character_toLowerCase($s.$characters.data[$flag]); } $flag = $flag + 1 | 0; $l = $k1; } var$11 = jl_String__init_7(var$12, 0, $l); } } $j1 = jl_String_indexOf0($rt_s(483), jl_String_charAt(var$11, $i1)); $j1 >= 0 && $j1 <= 15; $i = $i + 2 | 0; } if ($i < jl_String_length($s)) { $k1 = nms_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 nms_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 = nms_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 nms_MouseHelper() { var a = this; jl_Object.call(a); a.$field_1114_a = 0; a.$field_1113_b = 0; } function nms_MouseHelper__init_0() { var var_0 = new nms_MouseHelper(); nms_MouseHelper__init_(var_0); return var_0; } function nms_MouseHelper__init_($this) {} function nms_TexturePortalFX() { var a = this; nms_TextureFX.call(a); a.$field_4227_g = 0; a.$field_4226_h = null; } function nms_TexturePortalFX__init_0() { var var_0 = new nms_TexturePortalFX(); nms_TexturePortalFX__init_(var_0); return var_0; } function nms_TexturePortalFX__init_($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var9, $var10, $var11, $var13, $var14, $var16, var$14, var$15, var$16; nms_Block_$callClinit(); nms_TextureFX__init_($this, nms_Block_portal.$blockIndexInTexture); $this.$field_4227_g = 0; $this.$field_4226_h = $rt_createByteMultiArray([1024, 32]); $var1 = new ju_Random; $var2 = 0; while ($var2 < 32) { $var3 = 0; while ($var3 < 16) { $var4 = 0; while ($var4 < 16) { $var5 = 0.0; $var6 = 0; while ($var6 < 2) { $var7 = $var6 * 8 | 0; $var9 = ($var3 - $var7) / 16.0 * 2.0; $var10 = ($var4 - $var7) / 16.0 * 2.0; if ($var9 < (-1.0)) $var9 = $var9 + 2.0; if ($var9 >= 1.0) $var9 = $var9 - 2.0; if ($var10 < (-1.0)) $var10 = $var10 + 2.0; if ($var10 >= 1.0) $var10 = $var10 - 2.0; $var11 = $var9 * $var9 + $var10 * $var10; $var9 = jl_Math_atan2($var10, $var9); $var7 = $var2 / 32.0 * 3.1415927410125732 * 2.0 - $var11 * 10.0; $var13 = $var6 * 2 | 0; $var5 = $var5 + (nms_MathHelper_sin($var9 + ($var7 + $var13) * ($var13 - 1 | 0)) + 1.0) / 2.0 / ($var11 + 1.0) * 0.5; $var6 = $var6 + 1 | 0; } $var7 = $var5 + ju_Random_nextFloat($var1) * 0.10000000149011612; $var6 = $var7 * 100.0 + 155.0 | 0; $var5 = $var7 * $var7; $var13 = $var5 * 200.0 + 55.0 | 0; $var14 = $var5 * $var7 * $var7 * 255.0 | 0; $var16 = ($var4 * 16 | 0) + $var3 | 0; var$14 = $this.$field_4226_h.data; var$15 = var$14[$var2].data; var$16 = $var16 * 4 | 0; var$15[var$16 + 0 | 0] = $var13 << 24 >> 24; var$14[$var2].data[var$16 + 1 | 0] = $var14 << 24 >> 24; var$15 = var$14[$var2].data; $var13 = var$16 + 2 | 0; $var6 = $var6 << 24 >> 24; var$15[$var13] = $var6; var$14[$var2].data[var$16 + 3 | 0] = $var6; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } } function nms_TexturePortalFX_func_783_a($this) { var $var2, $var1, var$3, var$4, var$5, $var7, var$7, $var8, var$9, $var9, var$11, $var6, var$13; $var2 = $this.$field_4227_g + 1 | 0; $this.$field_4227_g = $var2; $var1 = $this.$field_4226_h.data[$var2 & 31]; $var2 = 0; while ($var2 < 256) { var$3 = $var1.data; var$4 = $var2 * 4 | 0; var$5 = var$4 + 0 | 0; $var7 = var$3[var$5] & 255; var$7 = var$4 + 1 | 0; $var8 = var$3[var$7] & 255; var$9 = var$4 + 2 | 0; $var9 = var$3[var$9] & 255; var$11 = var$4 + 3 | 0; $var6 = var$3[var$11] & 255; if ($this.$field_1131_c) { var$13 = $var7 * 30 | 0; $var7 = ((var$13 + ($var8 * 59 | 0) | 0) + ($var9 * 11 | 0) | 0) / 100 | 0; $var8 = (var$13 + ($var8 * 70 | 0) | 0) / 100 | 0; $var9 = (var$13 + ($var9 * 70 | 0) | 0) / 100 | 0; } var$3 = $this.$field_1127_a.data; var$3[var$5] = $var7 << 24 >> 24; var$3[var$7] = $var8 << 24 >> 24; var$3[var$9] = $var9 << 24 >> 24; var$3[var$11] = $var6 << 24 >> 24; $var2 = $var2 + 1 | 0; } } function nms_TextureCompassFX() { var a = this; nms_TextureFX.call(a); a.$compassSpriteSheet = null; a.$compassSpriteSheetLength = 0; a.$angleDelta = 0.0; a.$currentAngle = 0.0; } function nms_TextureCompassFX_func_783_a($this) { var $var1, var$2; a: { $var1 = nmc_Minecraft_mc; var$2 = $var1.$theWorld; if (var$2 !== null) { $var1 = $var1.$thePlayer; if ($var1 !== null) { nms_TextureCompassFX_updateCompass($this, var$2, $var1.$posX, $var1.$posZ, $var1.$rotationYaw, 0, 0); break a; } } nms_TextureCompassFX_updateCompass($this, null, 0.0, 0.0, 0.0, 1, 0); } } function nms_TextureCompassFX_updateCompass($this, $par1World, $par2, $par4, $par6, $par8, $par9) { var $var10, $var13, $var15, var$10, $var17, var$12, $var18, $offset, $i, var$16, var$17; $var10 = 0.0; if ($par1World !== null && !$par8) { $var13 = $par1World.$spawnX - $par2; $var15 = $par1World.$spawnZ - $par4; $var10 = -(($par6 % 360.0 - 90.0) * 3.141592653589793 / 180.0 - jl_Math_atan2($var15, $var13)); if (!$par1World.$worldProvider.$field_4220_c) $var10 = jl_Math_random() * 3.141592653589793 * 2.0; } if ($par9) $this.$currentAngle = $var10; else { var$10 = $this.$currentAngle; $var17 = $var10 - var$10; while ($var17 < (-3.141592653589793)) { $var17 = $var17 + 6.283185307179586; } while ($var17 >= 3.141592653589793) { $var17 = $var17 - 6.283185307179586; } if ($var17 < (-1.0)) $var17 = (-1.0); if ($var17 > 1.0) $var17 = 1.0; var$12 = $this.$angleDelta + $var17 * 0.1; $this.$angleDelta = var$12; var$12 = var$12 * 0.8; $this.$angleDelta = var$12; $this.$currentAngle = var$10 + var$12; } $par2 = $this.$currentAngle / 6.283185307179586 + 1.0; $par8 = $this.$compassSpriteSheetLength; $var18 = ($par2 * $par8 | 0) % $par8 | 0; while ($var18 < 0) { $var18 = ($var18 + $par8 | 0) % $par8 | 0; } $offset = $var18 * 256 | 0; $i = 0; while ($i < 256) { var$16 = $this.$field_1127_a.data; $par9 = $i * 4 | 0; var$17 = $this.$compassSpriteSheet.data; $var18 = $offset + $i | 0; var$16[$par9] = (var$17[$var18] >> 16 & 255) << 24 >> 24; var$16[$par9 + 1 | 0] = (var$17[$var18] >> 8 & 255) << 24 >> 24; var$16[$par9 + 2 | 0] = (var$17[$var18] & 255) << 24 >> 24; var$16[$par9 + 3 | 0] = (var$17[$var18] >> 24 & 255) << 24 >> 24; $i = $i + 1 | 0; } } function nms_TexureWaterFlowFX() { var a = this; nms_TextureFX.call(a); a.$field_1138_g = null; a.$field_1137_h = null; a.$field_1136_i = null; a.$field_1135_j = null; a.$field_1134_k = 0; } function nms_TexureWaterFlowFX__init_0() { var var_0 = new nms_TexureWaterFlowFX(); nms_TexureWaterFlowFX__init_(var_0); return var_0; } function nms_TexureWaterFlowFX__init_($this) { nms_Block_$callClinit(); nms_TextureFX__init_($this, nms_Block_waterStill.$blockIndexInTexture + 1 | 0); $this.$field_1138_g = $rt_createFloatArray(256); $this.$field_1137_h = $rt_createFloatArray(256); $this.$field_1136_i = $rt_createFloatArray(256); $this.$field_1135_j = $rt_createFloatArray(256); $this.$field_1134_k = 0; $this.$field_1129_e = 2; } function nms_TexureWaterFlowFX_func_783_a($this) { var $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var9, $var12, $var13, $var10, $var11, $var8; $this.$field_1134_k = $this.$field_1134_k + 1 | 0; $var1 = 0; while ($var1 < 16) { $var2 = 0; while ($var2 < 16) { $var3 = 0.0; $var4 = $var2 - 2 | 0; while ($var4 <= $var2) { $var5 = $var1 & 15; $var6 = $var4 & 15; $var3 = $var3 + $this.$field_1138_g.data[$var5 + ($var6 * 16 | 0) | 0]; $var4 = $var4 + 1 | 0; } var$7 = $this.$field_1137_h.data; $var9 = $var1 + ($var2 * 16 | 0) | 0; var$7[$var9] = $var3 / 3.200000047683716 + $this.$field_1136_i.data[$var9] * 0.800000011920929; $var2 = $var2 + 1 | 0; } $var1 = $var1 + 1 | 0; } $var1 = 0; while ($var1 < 16) { $var2 = 0; while ($var2 < 16) { $var12 = $this.$field_1136_i.data; $var9 = $var1 + ($var2 * 16 | 0) | 0; $var3 = $var12[$var9]; var$7 = $this.$field_1135_j.data; $var12[$var9] = $var3 + var$7[$var9] * 0.05000000074505806; if ($var12[$var9] < 0.0) $var12[$var9] = 0.0; var$7[$var9] = var$7[$var9] - 0.30000001192092896; if (jl_Math_random() < 0.2) $this.$field_1135_j.data[$var9] = 0.5; $var2 = $var2 + 1 | 0; } $var1 = $var1 + 1 | 0; } $var12 = $this.$field_1137_h; $this.$field_1137_h = $this.$field_1138_g; $this.$field_1138_g = $var12; $var2 = 0; while ($var2 < 256) { $var3 = $var12.data[($var2 - ($this.$field_1134_k * 16 | 0) | 0) & 255]; if ($var3 > 1.0) $var3 = 1.0; if ($var3 < 0.0) $var3 = 0.0; $var13 = $var3 * $var3; $var9 = 32.0 + $var13 * 32.0 | 0; $var10 = 50.0 + $var13 * 64.0 | 0; $var11 = 255; $var8 = 146.0 + $var13 * 50.0 | 0; if ($this.$field_1131_c) { $var1 = $var9 * 30 | 0; $var9 = (($var1 + ($var10 * 59 | 0) | 0) + 2805 | 0) / 100 | 0; $var10 = ($var1 + ($var10 * 70 | 0) | 0) / 100 | 0; $var11 = ($var1 + 17850 | 0) / 100 | 0; } var$7 = $this.$field_1127_a.data; $var1 = $var2 * 4 | 0; var$7[$var1 + 0 | 0] = $var9 << 24 >> 24; var$7[$var1 + 1 | 0] = $var10 << 24 >> 24; var$7[$var1 + 2 | 0] = $var11 << 24 >> 24; var$7[$var1 + 3 | 0] = $var8 << 24 >> 24; $var2 = $var2 + 1 | 0; } } function nms_TextureLavaFlowFX() { var a = this; nms_TextureFX.call(a); a.$field_1143_g = null; a.$field_1142_h = null; a.$field_1141_i = null; a.$field_1140_j = null; a.$field_1139_k = 0; } function nms_TextureLavaFlowFX__init_0() { var var_0 = new nms_TextureLavaFlowFX(); nms_TextureLavaFlowFX__init_(var_0); return var_0; } function nms_TextureLavaFlowFX__init_($this) { nms_Block_$callClinit(); nms_TextureFX__init_($this, nms_Block_lavaStill.$blockIndexInTexture + 1 | 0); $this.$field_1143_g = $rt_createFloatArray(256); $this.$field_1142_h = $rt_createFloatArray(256); $this.$field_1141_i = $rt_createFloatArray(256); $this.$field_1140_j = $rt_createFloatArray(256); $this.$field_1139_k = 0; $this.$field_1129_e = 2; } function nms_TextureLavaFlowFX_func_783_a($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $var9, $var7, $var8, var$10, $var10, $var11, var$13; $this.$field_1139_k = $this.$field_1139_k + 1 | 0; $var1 = 0; while ($var1 < 16) { $var2 = 0; while ($var2 < 16) { $var3 = 0.0; $var4 = nms_MathHelper_sin($var2 * 3.1415927410125732 * 2.0 / 16.0) * 1.2000000476837158 | 0; $var5 = nms_MathHelper_sin($var1 * 3.1415927410125732 * 2.0 / 16.0) * 1.2000000476837158 | 0; $var6 = $var1 - 1 | 0; while (true) { $var9 = $var1 + 1 | 0; if ($var6 > $var9) break; $var7 = $var2 - 1 | 0; while ($var7 <= ($var2 + 1 | 0)) { $var8 = ($var6 + $var4 | 0) & 15; $var9 = ($var7 + $var5 | 0) & 15; $var3 = $var3 + $this.$field_1143_g.data[$var8 + ($var9 * 16 | 0) | 0]; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } var$10 = $this.$field_1142_h.data; $var10 = $var1 + ($var2 * 16 | 0) | 0; $var3 = $var3 / 10.0; $var11 = $this.$field_1141_i.data; $var4 = ($var1 + 0 | 0) & 15; $var8 = (($var2 + 0 | 0) & 15) * 16 | 0; var$13 = $var11[$var4 + $var8 | 0]; $var9 = $var9 & 15; var$13 = var$13 + $var11[$var9 + $var8 | 0]; $var2 = $var2 + 1 | 0; $var8 = ($var2 & 15) * 16 | 0; var$10[$var10] = $var3 + (var$13 + $var11[$var9 + $var8 | 0] + $var11[$var4 + $var8 | 0]) / 4.0 * 0.800000011920929; $var3 = $var11[$var10]; var$10 = $this.$field_1140_j.data; $var11[$var10] = $var3 + var$10[$var10] * 0.009999999776482582; if ($var11[$var10] < 0.0) $var11[$var10] = 0.0; var$10[$var10] = var$10[$var10] - 0.05999999865889549; if (jl_Math_random() < 0.005) $this.$field_1140_j.data[$var10] = 1.5; } $var1 = $var1 + 1 | 0; } $var11 = $this.$field_1142_h; $this.$field_1142_h = $this.$field_1143_g; $this.$field_1143_g = $var11; $var2 = 0; while ($var2 < 256) { $var3 = $var11.data[($var2 - (($this.$field_1139_k / 3 | 0) * 16 | 0) | 0) & 255] * 2.0; if ($var3 > 1.0) $var3 = 1.0; if ($var3 < 0.0) $var3 = 0.0; $var8 = $var3 * 100.0 + 155.0 | 0; var$13 = $var3 * $var3; $var9 = var$13 * 255.0 | 0; $var10 = var$13 * $var3 * $var3 * 128.0 | 0; if ($this.$field_1131_c) { $var1 = $var8 * 30 | 0; $var8 = (($var1 + ($var9 * 59 | 0) | 0) + ($var10 * 11 | 0) | 0) / 100 | 0; $var9 = ($var1 + ($var9 * 70 | 0) | 0) / 100 | 0; $var10 = ($var1 + ($var10 * 70 | 0) | 0) / 100 | 0; } var$10 = $this.$field_1127_a.data; $var1 = $var2 * 4 | 0; var$10[$var1 + 0 | 0] = $var8 << 24 >> 24; var$10[$var1 + 1 | 0] = $var9 << 24 >> 24; var$10[$var1 + 2 | 0] = $var10 << 24 >> 24; var$10[$var1 + 3 | 0] = (-1); $var2 = $var2 + 1 | 0; } } function nms_TextureFlamesFX() { var a = this; nms_TextureFX.call(a); a.$field_1133_g = null; a.$field_1132_h = null; } function nms_TextureFlamesFX__init_(var_0) { var var_1 = new nms_TextureFlamesFX(); nms_TextureFlamesFX__init_0(var_1, var_0); return var_1; } function nms_TextureFlamesFX__init_0($this, $var1) { nms_Block_$callClinit(); nms_TextureFX__init_($this, nms_Block_fire.$blockIndexInTexture + ($var1 * 16 | 0) | 0); $this.$field_1133_g = $rt_createFloatArray(320); $this.$field_1132_h = $rt_createFloatArray(320); } function nms_TextureFlamesFX_func_783_a($this) { var $var1, $var2, $var3, $var12, $var2_0, $var4, $var5, $var6, $var9, $var13, $var10, $var11, $var8, var$14; $var1 = 0; while ($var1 < 16) { $var2 = 0; while ($var2 < 20) { $var3 = 18; $var12 = $this.$field_1133_g.data; $var2_0 = $var2 + 1 | 0; $var4 = $var12[$var1 + (($var2_0 % 20 | 0) * 16 | 0) | 0] * 18.0; $var5 = $var1 - 1 | 0; while ($var5 <= ($var1 + 1 | 0)) { $var6 = $var2; while ($var6 <= $var2_0) { if ($var5 >= 0 && $var6 >= 0 && $var5 < 16 && $var6 < 20) $var4 = $var4 + $var12[$var5 + ($var6 * 16 | 0) | 0]; $var3 = $var3 + 1 | 0; $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var12 = $this.$field_1132_h.data; $var9 = $var1 + ($var2 * 16 | 0) | 0; $var12[$var9] = $var4 / ($var3 * 1.059999942779541); if ($var2 >= 19) $var12[$var9] = jl_Math_random() * jl_Math_random() * jl_Math_random() * 4.0 + jl_Math_random() * 0.10000000149011612 + 0.20000000298023224; $var2 = $var2_0; } $var1 = $var1 + 1 | 0; } $var12 = $this.$field_1132_h; $this.$field_1132_h = $this.$field_1133_g; $this.$field_1133_g = $var12; $var2 = 0; while ($var2 < 256) { $var13 = $var12.data[$var2] * 1.7999999523162842; if ($var13 > 1.0) $var13 = 1.0; if ($var13 < 0.0) $var13 = 0.0; $var9 = $var13 * 155.0 + 100.0 | 0; $var4 = $var13 * $var13; $var10 = $var4 * 255.0 | 0; $var11 = $var4 * $var13 * $var13 * $var13 * $var13 * $var13 * $var13 * $var13 * $var13 * 255.0 | 0; $var8 = 255; if ($var13 < 0.5) $var8 = 0; if ($this.$field_1131_c) { $var3 = $var9 * 30 | 0; $var9 = (($var3 + ($var10 * 59 | 0) | 0) + ($var11 * 11 | 0) | 0) / 100 | 0; $var10 = ($var3 + ($var10 * 70 | 0) | 0) / 100 | 0; $var11 = ($var3 + ($var11 * 70 | 0) | 0) / 100 | 0; } var$14 = $this.$field_1127_a.data; $var1 = $var2 * 4 | 0; var$14[$var1 + 0 | 0] = $var9 << 24 >> 24; var$14[$var1 + 1 | 0] = $var10 << 24 >> 24; var$14[$var1 + 2 | 0] = $var11 << 24 >> 24; var$14[$var1 + 3 | 0] = $var8 << 24 >> 24; $var2 = $var2 + 1 | 0; } } var nms_IWorldAccess = $rt_classWithoutFields(0); function nms_RenderGlobal() { var a = this; jl_Object.call(a); a.$field_1458_a = null; a.$worldObj1 = null; a.$renderEngine1 = null; a.$field_1446_m = null; a.$field_1445_n = null; a.$field_1444_o = null; a.$field_1443_p = 0; a.$field_1442_q = 0; a.$field_1441_r = 0; a.$field_1440_s = 0; a.$mc7 = null; a.$field_1438_u = null; a.$field_1435_x = 0; a.$field_1434_y = 0; a.$field_1433_z = 0; a.$field_1432_A = 0; a.$field_1431_B = 0; a.$field_1430_C = 0; a.$field_1429_D = 0; a.$field_1428_E = 0; a.$field_1427_F = 0; a.$field_1426_G = 0; a.$field_1425_H = 0; a.$field_1424_I = 0; a.$field_1423_J = 0; a.$field_1422_K = 0; a.$field_1421_L = 0; a.$field_1457_b = null; a.$field_1456_c = null; a.$field_1420_M = 0; a.$field_1419_N = 0; a.$field_1418_O = 0; a.$field_1417_P = 0; a.$field_1416_Q = 0; a.$field_1415_R = null; a.$field_1414_S = null; a.$field_1455_d = 0; a.$field_1454_e = 0; a.$field_1453_f = 0.0; a.$field_1452_g = 0.0; a.$field_1451_h = 0.0; a.$field_1450_i = 0.0; a.$field_1449_j = 0; } function nms_RenderGlobal__init_(var_0, var_1) { var var_2 = new nms_RenderGlobal(); nms_RenderGlobal__init_0(var_2, var_0, var_1); return var_2; } function nms_RenderGlobal__init_0($this, $var1, $var2) { var $var4, $var6, $var8, $var9, var$7, var$8, var$9, var$10, $var9_0, var$12; $this.$field_1458_a = ju_ArrayList__init_0(); $this.$field_1446_m = ju_ArrayList__init_0(); $this.$field_1435_x = 0; $this.$field_1425_H = (-1); $this.$field_1424_I = 2; $this.$field_1457_b = $rt_createIntArray(50000); $this.$field_1456_c = nms_GLAllocation_createDirectIntBuffer(64); $this.$field_1415_R = ju_ArrayList__init_0(); $this.$field_1414_S = $rt_createArrayFromData(nms_RenderList, [nms_RenderList__init_0(), nms_RenderList__init_0(), nms_RenderList__init_0(), nms_RenderList__init_0()]); $this.$field_1455_d = 0; $this.$field_1454_e = nms_GLAllocation_generateDisplayLists(1); $this.$field_1453_f = (-9999.0); $this.$field_1452_g = (-9999.0); $this.$field_1451_h = (-9999.0); $this.$field_1449_j = 0; $this.$mc7 = $var1; $this.$renderEngine1 = $var2; $this.$field_1440_s = nms_GLAllocation_generateDisplayLists(786432); $this.$field_1434_y = nms_GLAllocation_generateDisplayLists(3); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glNewList($this.$field_1434_y, 4864); nms_RenderGlobal_func_950_f($this); olo_EaglerAdapterGL30_glEndList(); olo_EaglerAdapterGL30_glPopMatrix(); nms_Tessellator_$callClinit(); $var4 = nms_Tessellator_instance; $var6 = $this.$field_1434_y + 1 | 0; $this.$field_1433_z = $var6; olo_EaglerAdapterGL30_glNewList($var6, 4864); $var8 = (-384); while ($var8 <= 384) { $var9 = (-384); while ($var9 <= 384) { nms_Tessellator_startDrawingQuads($var4); var$7 = $var8 + 0 | 0; var$8 = $var9 + 0 | 0; nms_Tessellator_addVertex($var4, var$7, 16.0, var$8); var$9 = $var8 + 64 | 0; nms_Tessellator_addVertex($var4, var$9, 16.0, var$8); $var9 = $var9 + 64 | 0; var$8 = $var9; nms_Tessellator_addVertex($var4, var$9, 16.0, var$8); nms_Tessellator_addVertex($var4, var$7, 16.0, var$8); nms_Tessellator_draw($var4); } $var8 = $var8 + 64 | 0; } olo_EaglerAdapterGL30_glEndList(); $var9 = $this.$field_1434_y + 2 | 0; $this.$field_1432_A = $var9; olo_EaglerAdapterGL30_glNewList($var9, 4864); nms_Tessellator_startDrawingQuads($var4); var$10 = (-384); while (var$10 <= 384) { $var9_0 = (-384); while ($var9_0 <= 384) { var$9 = var$10 + 64 | 0; var$12 = $var9_0 + 0 | 0; nms_Tessellator_addVertex($var4, var$9, (-16.0), var$12); var$8 = var$10 + 0 | 0; nms_Tessellator_addVertex($var4, var$8, (-16.0), var$12); $var9_0 = $var9_0 + 64 | 0; var$12 = $var9_0; nms_Tessellator_addVertex($var4, var$8, (-16.0), var$12); nms_Tessellator_addVertex($var4, var$9, (-16.0), var$12); } var$10 = var$10 + 64 | 0; } nms_Tessellator_draw($var4); olo_EaglerAdapterGL30_glEndList(); } function nms_RenderGlobal_func_950_f($this) { var $var1, $var2, $var3, $var4, $var6, $var8, $var10, $var12, $var47, $var14, $var16, $var18, $var20, $var22, $var24, $var26, $var28, $var30, $var32, $var34, $var36, $var38, $var39, $var41, $var43, $var49, $var53, $var55, $var57, $var61; $var1 = new ju_Random; nms_Tessellator_$callClinit(); $var2 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var2); $var3 = 0; while ($var3 < 1500) { a: { $var4 = ju_Random_nextFloat($var1) * 2.0 - 1.0; $var6 = ju_Random_nextFloat($var1) * 2.0 - 1.0; $var8 = ju_Random_nextFloat($var1) * 2.0 - 1.0; $var10 = 0.25 + ju_Random_nextFloat($var1) * 0.25; $var12 = $var4 * $var4 + $var6 * $var6 + $var8 * $var8; if ($var12 < 1.0 && $var12 > 0.01) { $var47 = 1.0 / jl_Math_sqrt($var12); $var4 = $var4 * $var47; $var6 = $var6 * $var47; $var8 = $var8 * $var47; $var14 = $var4 * 100.0; $var16 = $var6 * 100.0; $var18 = $var8 * 100.0; $var20 = jl_Math_atan2($var4, $var8); $var22 = jl_Math_sin($var20); $var24 = jl_Math_cos($var20); $var26 = jl_Math_atan2(jl_Math_sqrt($var4 * $var4 + $var8 * $var8), $var6); $var28 = jl_Math_sin($var26); $var30 = jl_Math_cos($var26); $var32 = ju_Random_nextDouble($var1) * 3.141592653589793 * 2.0; $var34 = jl_Math_sin($var32); $var36 = jl_Math_cos($var32); $var38 = 0; $var8 = 0.0 * $var30; $var39 = 0.0 * $var28; while (true) { if ($var38 >= 4) break a; $var41 = (($var38 & 2) - 1 | 0) * $var10; $var38 = $var38 + 1 | 0; $var43 = (($var38 & 2) - 1 | 0) * $var10; $var47 = $var41 * $var36 - $var43 * $var34; $var49 = $var43 * $var36 + $var41 * $var34; $var53 = $var47 * $var28 + $var8; $var55 = $var39 - $var47 * $var30; $var57 = $var55 * $var22 - $var49 * $var24; $var61 = $var49 * $var22 + $var55 * $var24; nms_Tessellator_addVertex($var2, $var14 + $var57, $var16 + $var53, $var18 + $var61); } } } $var3 = $var3 + 1 | 0; } nms_Tessellator_draw($var2); } function nms_RenderGlobal_func_958_a($this) { var $var7, var$2, $var1, $var4, var$5, $var2, $var3, $var5, $var6, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17; nms_Block_$callClinit(); $var7 = nms_Block_leaves; var$2 = $this.$mc7.$gameSettings; $var1 = var$2.$fancyGraphics; $var7.$graphicsLevel = $var1; $var4 = $var7.$baseIndexInPNG; $var1 = !$var1 ? 1 : 0; a: { $var7.$blockIndexInTexture = $var4 + $var1 | 0; $this.$field_1425_H = var$2.$renderDistance; if ($this.$field_1444_o !== null) { $var1 = 0; while (true) { var$5 = $this.$field_1444_o.data; if ($var1 >= var$5.length) break a; $var7 = var$5[$var1]; nms_WorldRenderer_func_1195_b($var7); $var7.$worldObj5 = null; $var1 = $var1 + 1 | 0; } } } $var1 = 64 << (3 - $this.$field_1425_H | 0); if ($var1 > 400) $var1 = 400; $var1 = ($var1 / 16 | 0) + 1 | 0; $this.$field_1443_p = $var1; $this.$field_1442_q = 8; $this.$field_1441_r = $var1; $var2 = $rt_imul($var1 * 8 | 0, $var1); $this.$field_1444_o = $rt_createArray(nms_WorldRenderer, $var2); $this.$field_1445_n = $rt_createArray(nms_WorldRenderer, $var2); $var2 = 0; $var3 = 0; $this.$field_1431_B = 0; $this.$field_1430_C = 0; $this.$field_1429_D = 0; $this.$field_1428_E = $var1; $this.$field_1427_F = 8; $this.$field_1426_G = $var1; $var4 = 0; while (true) { $var7 = $this.$field_1446_m; if ($var4 >= $var7.$size) break; (ju_ArrayList_get($var7, $var4)).$needsUpdate = 0; $var4 = $var4 + 1 | 0; } ju_ArrayList_clear($var7); ju_ArrayList_clear($this.$field_1458_a); $var4 = 0; while ($var4 < $this.$field_1443_p) { $var5 = 0; while ($var5 < $this.$field_1442_q) { $var6 = 0; while ($var6 < $this.$field_1441_r) { var$5 = $this.$field_1444_o.data; var$10 = $rt_imul($rt_imul($var6, $this.$field_1442_q) + $var5 | 0, $this.$field_1443_p) + $var4 | 0; var$2 = new nms_WorldRenderer; var$11 = $this.$worldObj1; var$12 = $this.$field_1458_a; var$13 = $var4 * 16 | 0; var$14 = $var5 * 16 | 0; var$15 = $var6 * 16 | 0; var$16 = $this.$field_1440_s + $var2 | 0; nms_WorldRenderer_$callClinit(); var$2.$field_1744_C = (-1); var$2.$field_1749_o = 0; var$2.$field_1748_p = $rt_createBooleanArray(2); var$2.$field_1734_x = 1; var$2.$field_1739_E = 0; var$2.$field_1745_B = ju_ArrayList__init_0(); var$2.$worldObj5 = var$11; var$2.$field_1737_F = var$12; var$2.$field_1756_h = 16; var$2.$field_1757_g = 16; var$2.$field_1758_f = 16; var$2.$field_1740_t = nms_MathHelper_sqrt_float(768.0) / 2.0; var$2.$field_1744_C = var$16; var$2.$field_1761_c = (-999); nms_WorldRenderer_func_1197_a(var$2, var$13, var$14, var$15); var$2.$needsUpdate = 0; var$5[var$10] = var$2; var$5 = $this.$field_1444_o.data; $var1 = $rt_imul($rt_imul($var6, $this.$field_1442_q) + $var5 | 0, $this.$field_1443_p) + $var4 | 0; var$5[$var1].$field_1733_y = 0; var$5[$var1].$field_1734_x = 1; var$5[$var1].$field_1749_o = 1; $var7 = var$5[$var1]; var$10 = $var3 + 1 | 0; $var7.$field_1735_w = $var3; nms_WorldRenderer_MarkDirty(var$5[$var1]); var$5 = $this.$field_1445_n.data; $var1 = $rt_imul($rt_imul($var6, $this.$field_1442_q) + $var5 | 0, $this.$field_1443_p) + $var4 | 0; var$17 = $this.$field_1444_o.data; var$5[$var1] = var$17[$var1]; ju_ArrayList_add($this.$field_1446_m, var$17[$var1]); $var2 = $var2 + 3 | 0; $var6 = $var6 + 1 | 0; $var3 = var$10; } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } if ($this.$worldObj1 !== null) { $var7 = $this.$mc7.$thePlayer; nms_RenderGlobal_func_956_b($this, nms_MathHelper_floor_double($var7.$posX), nms_MathHelper_floor_double($var7.$posY), nms_MathHelper_floor_double($var7.$posZ)); ju_Arrays_sort($this.$field_1445_n, nms_EntitySorter__init_($var7)); } $this.$field_1424_I = 2; } function nms_RenderGlobal_func_951_a($this, $var1, $var2, $var3) { var $var6, $var5, $var7, var$7, var$8, var$9, $var4, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { $var6 = $this.$field_1424_I; if ($var6 > 0) $this.$field_1424_I = $var6 - 1 | 0; else { nms_TileEntityRenderer_$callClinit(); $var5 = nms_TileEntityRenderer_instance; $var7 = $this.$worldObj1; var$7 = $this.$renderEngine1; var$8 = $this.$mc7; var$9 = var$8.$fontRenderer; $var4 = var$8.$thePlayer; $var5.$worldObj7 = $var7; $var5.$renderEngine2 = var$7; $var5.$entityPlayer = $var4; $var5.$fontRenderer1 = var$9; var$11 = $var4.$prevRotationYaw; var$12 = var$11 + ($var4.$rotationYaw - var$11) * $var3; $var5.$playerYaw = var$12; var$13 = $var4.$prevRotationPitch; var$11 = var$13 + ($var4.$rotationPitch - var$13) * $var3; $var5.$playerPitch = var$11; var$14 = $var4.$lastTickPosX; var$15 = $var4.$posX - var$14; var$16 = $var3; var$14 = var$14 + var$15 * var$16; $var5.$playerX = var$14; var$15 = $var4.$lastTickPosY; var$15 = var$15 + ($var4.$posY - var$15) * var$16; $var5.$playerY = var$15; var$17 = $var4.$lastTickPosZ; var$17 = var$17 + ($var4.$posZ - var$17) * var$16; $var5.$playerZ = var$17; nms_RenderManager_$callClinit(); $var5 = nms_RenderManager_instance; var$8 = var$8.$gameSettings; $var5.$worldObj2 = $var7; $var5.$renderEngine0 = var$7; $var5.$options0 = var$8; $var5.$field_1226_h = $var4; $var5.$field_1218_p = var$9; $var5.$field_1225_i = var$12; $var5.$field_1224_j = var$11; $var5.$field_1222_l = var$14; $var5.$field_1221_m = var$15; $var5.$field_1220_n = var$17; $this.$field_1423_J = 0; $this.$field_1422_K = 0; $this.$field_1421_L = 0; nms_RenderManager_field_1232_b = var$14; nms_RenderManager_field_1231_c = var$15; nms_RenderManager_field_1230_d = var$17; nms_TileEntityRenderer_staticPlayerX = var$14; nms_TileEntityRenderer_staticPlayerY = var$15; nms_TileEntityRenderer_staticPlayerZ = var$17; $var5 = $var7.$loadedEntityList; $this.$field_1423_J = $var5.$size; $var6 = 0; while ($var6 < $var5.$size) { $var7 = ju_ArrayList_get($var5, $var6); if (nms_Entity_func_390_a($var7, $var1) && nms_Frustrum_func_342_a($var2, $var7.$boundingBox)) { var$7 = $this.$mc7; if ($var7 !== var$7.$thePlayer) break a; if (var$7.$gameSettings.$thirdPersonView) break a; } $var6 = $var6 + 1 | 0; } $var6 = 0; while (true) { $var2 = $this.$field_1458_a; if ($var6 >= $var2.$size) break b; $var1 = nms_TileEntityRenderer_instance; $var2 = ju_ArrayList_get($var2, $var6); if (nms_TileEntity_getDistanceFrom($var2, $var1.$playerX, $var1.$playerY, $var1.$playerZ) < 4096.0) { $var5 = $var1.$worldObj7; var$18 = $var2.$xCoord0; var$19 = $var2.$yCoord0; var$20 = $var2.$zCoord0; $ptr = 1; continue main; } $var6 = $var6 + 1 | 0; } } } return; } $this.$field_1422_K = $this.$field_1422_K + 1 | 0; var$7 = nms_RenderManager_instance; var$14 = $var7.$lastTickPosX; var$21 = var$14 + ($var7.$posX - var$14) * var$16; var$15 = $var7.$lastTickPosY; var$14 = var$15 + ($var7.$posY - var$15) * var$16; var$15 = $var7.$lastTickPosZ; var$15 = var$15 + ($var7.$posZ - var$15) * var$16; var$11 = $var7.$prevRotationYaw; var$11 = var$11 + ($var7.$rotationYaw - var$11) * $var3; $ptr = 3; continue main; case 1: $tmp = nms_World_getLightBrightness($var5, var$18, var$19, var$20); if ($rt_suspending()) { break main; } var$11 = $tmp; olo_EaglerAdapterGL30_glColor3f(var$11, var$11, var$11); var$15 = $var2.$xCoord0 - nms_TileEntityRenderer_staticPlayerX; var$17 = $var2.$yCoord0 - nms_TileEntityRenderer_staticPlayerY; var$14 = $var2.$zCoord0 - nms_TileEntityRenderer_staticPlayerZ; $ptr = 2; case 2: nms_TileEntityRenderer_renderTileEntityAt($var1, $var2, var$15, var$17, var$14, $var3); if ($rt_suspending()) { break main; } while (true) { $var6 = $var6 + 1 | 0; $var2 = $this.$field_1458_a; if ($var6 >= $var2.$size) break; $var1 = nms_TileEntityRenderer_instance; $var2 = ju_ArrayList_get($var2, $var6); if (nms_TileEntity_getDistanceFrom($var2, $var1.$playerX, $var1.$playerY, $var1.$playerZ) >= 4096.0) continue; else { $var5 = $var1.$worldObj7; var$18 = $var2.$xCoord0; var$19 = $var2.$yCoord0; var$20 = $var2.$zCoord0; $ptr = 1; continue main; } } return; case 3: $tmp = $var7.$getEntityBrightness($var3); if ($rt_suspending()) { break main; } var$12 = $tmp; olo_EaglerAdapterGL30_glColor3f(var$12, var$12, var$12); var$17 = var$21 - nms_RenderManager_field_1232_b; var$14 = var$14 - nms_RenderManager_field_1231_c; var$15 = var$15 - nms_RenderManager_field_1230_d; $ptr = 4; case 4: nms_RenderManager_func_853_a(var$7, $var7, var$17, var$14, var$15, var$11, $var3); if ($rt_suspending()) { break main; } a: { while (true) { $var6 = $var6 + 1 | 0; if ($var6 >= $var5.$size) break; $var7 = ju_ArrayList_get($var5, $var6); if (!nms_Entity_func_390_a($var7, $var1)) continue; if (!nms_Frustrum_func_342_a($var2, $var7.$boundingBox)) continue; var$7 = $this.$mc7; if ($var7 !== var$7.$thePlayer) break a; if (!var$7.$gameSettings.$thirdPersonView) continue; else break a; } $var6 = 0; while (true) { $var2 = $this.$field_1458_a; if ($var6 >= $var2.$size) break; $var1 = nms_TileEntityRenderer_instance; $var2 = ju_ArrayList_get($var2, $var6); if (nms_TileEntity_getDistanceFrom($var2, $var1.$playerX, $var1.$playerY, $var1.$playerZ) < 4096.0) { $var5 = $var1.$worldObj7; var$18 = $var2.$xCoord0; var$19 = $var2.$yCoord0; var$20 = $var2.$zCoord0; $ptr = 1; continue main; } $var6 = $var6 + 1 | 0; } return; } $this.$field_1422_K = $this.$field_1422_K + 1 | 0; var$7 = nms_RenderManager_instance; var$14 = $var7.$lastTickPosX; var$21 = var$14 + ($var7.$posX - var$14) * var$16; var$15 = $var7.$lastTickPosY; var$14 = var$15 + ($var7.$posY - var$15) * var$16; var$15 = $var7.$lastTickPosZ; var$15 = var$15 + ($var7.$posZ - var$15) * var$16; var$11 = $var7.$prevRotationYaw; var$11 = var$11 + ($var7.$rotationYaw - var$11) * $var3; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var6, $var5, $var7, var$7, var$8, var$9, $var4, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); } function nms_RenderGlobal_func_956_b($this, $var1, $var2, $var3) { var $var4, $var5, $var6, var$7, $var7, $var8, $var9, $var10, $var11, $var12, $var15, $var13, $var14; $var2 = $var1 + (-8) | 0; $var3 = $var3 + (-8) | 0; $this.$field_1431_B = 2147483647; $this.$field_1430_C = 2147483647; $this.$field_1429_D = 2147483647; $this.$field_1428_E = (-2147483648); $this.$field_1427_F = (-2147483648); $this.$field_1426_G = (-2147483648); $var4 = $this.$field_1443_p * 16 | 0; $var5 = $var4 / 2 | 0; $var6 = 0; var$7 = $var4 - 1 | 0; while ($var6 < $this.$field_1443_p) { $var7 = $var6 * 16 | 0; $var8 = ($var7 + $var5 | 0) - $var2 | 0; if ($var8 < 0) $var8 = $var8 - var$7 | 0; $var7 = $var7 - $rt_imul($var8 / $var4 | 0, $var4) | 0; if ($var7 < $this.$field_1431_B) $this.$field_1431_B = $var7; if ($var7 > $this.$field_1428_E) $this.$field_1428_E = $var7; $var9 = 0; while ($var9 < $this.$field_1441_r) { $var10 = $var9 * 16 | 0; $var11 = ($var10 + $var5 | 0) - $var3 | 0; if ($var11 < 0) $var11 = $var11 - var$7 | 0; $var8 = $var10 - $rt_imul($var11 / $var4 | 0, $var4) | 0; if ($var8 < $this.$field_1429_D) $this.$field_1429_D = $var8; if ($var8 > $this.$field_1426_G) $this.$field_1426_G = $var8; $var12 = 0; while (true) { $var15 = $this.$field_1442_q; if ($var12 >= $var15) break; $var13 = $var12 * 16 | 0; if ($var13 < $this.$field_1430_C) $this.$field_1430_C = $var13; if ($var13 > $this.$field_1427_F) $this.$field_1427_F = $var13; $var14 = $this.$field_1444_o.data[$rt_imul($rt_imul($var9, $var15) + $var12 | 0, $this.$field_1443_p) + $var6 | 0]; $var15 = $var14.$needsUpdate; nms_WorldRenderer_func_1197_a($var14, $var7, $var13, $var8); if (!$var15 && $var14.$needsUpdate) ju_ArrayList_add($this.$field_1446_m, $var14); $var12 = $var12 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var6 = $var6 + 1 | 0; } } function nms_RenderGlobal_func_943_a($this, $var1, $var2, $var3) { var var$4, $var11, var$6, $var13, var$8, $var15; if ($this.$mc7.$gameSettings.$renderDistance != $this.$field_1425_H) nms_RenderGlobal_func_958_a($this); if (!$var2) { $this.$field_1420_M = 0; $this.$field_1419_N = 0; $this.$field_1418_O = 0; $this.$field_1417_P = 0; $this.$field_1416_Q = 0; } var$4 = $var1.$posX; $var11 = var$4 - $this.$field_1453_f; var$6 = $var1.$posY; $var13 = var$6 - $this.$field_1452_g; var$8 = $var1.$posZ; $var15 = var$8 - $this.$field_1451_h; if ($var11 * $var11 + $var13 * $var13 + $var15 * $var15 > 16.0) { $this.$field_1453_f = var$4; $this.$field_1452_g = var$6; $this.$field_1451_h = var$8; nms_RenderGlobal_func_956_b($this, nms_MathHelper_floor_double(var$4), nms_MathHelper_floor_double($var1.$posY), nms_MathHelper_floor_double($var1.$posZ)); ju_Arrays_sort($this.$field_1445_n, nms_EntitySorter__init_($var1)); } return 0 + nms_RenderGlobal_func_952_a($this, 0, $this.$field_1445_n.data.length, $var2, $var3) | 0; } function nms_RenderGlobal_func_952_a($this, $var7, $var2, $var3, $var4) { var $var6, var$6, $var19, $var20, $var10, $var12, $var14, $var15, $var8, var$14, var$15, var$16, $var16, $var17, $var18; ju_ArrayList_clear($this.$field_1415_R); $var6 = 0; while ($var7 < $var2) { if (!$var3) { $this.$field_1420_M = $this.$field_1420_M + 1 | 0; var$6 = $this.$field_1445_n.data; if (var$6[$var7].$field_1748_p.data[$var3]) $this.$field_1416_Q = $this.$field_1416_Q + 1 | 0; else if (var$6[$var7].$field_1749_o) $this.$field_1417_P = $this.$field_1417_P + 1 | 0; else $this.$field_1419_N = $this.$field_1419_N + 1 | 0; } var$6 = $this.$field_1445_n.data; if (!var$6[$var7].$field_1748_p.data[$var3] && var$6[$var7].$field_1749_o && var$6[$var7].$field_1734_x && nms_WorldRenderer_func_1200_a(var$6[$var7], $var3) >= 0) { ju_ArrayList_add($this.$field_1415_R, $this.$field_1445_n.data[$var7]); $var6 = $var6 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var19 = $this.$mc7.$thePlayer; $var20 = $var19.$lastTickPosX; $var20 = $var20 + ($var19.$posX - $var20) * $var4; $var10 = $var19.$lastTickPosY; $var10 = $var10 + ($var19.$posY - $var10) * $var4; $var12 = $var19.$lastTickPosZ; $var12 = $var12 + ($var19.$posZ - $var12) * $var4; $var14 = 0; $var15 = 0; while (true) { var$6 = $this.$field_1414_S.data; if ($var15 >= var$6.length) break; $var19 = var$6[$var15]; $var19.$field_1235_h = 0; $var19.$field_1234_i = 0; $var15 = $var15 + 1 | 0; } $var8 = 0; var$14 = $var20; var$15 = $var10; var$16 = $var12; while (true) { $var19 = $this.$field_1415_R; if ($var8 >= $var19.$size) break; $var16 = ju_ArrayList_get($var19, $var8); $var17 = (-1); $var18 = 0; while ($var18 < $var14) { $var19 = $this.$field_1414_S.data[$var18]; $var7 = $var16.$field_1755_i; $var2 = $var16.$field_1754_j; $var15 = $var16.$field_1753_k; if (!$var19.$field_1235_h ? 0 : $var7 == $var19.$field_1242_a && $var2 == $var19.$field_1241_b && $var15 == $var19.$field_1240_c ? 1 : 0) $var17 = $var18; $var18 = $var18 + 1 | 0; } if ($var17 >= 0) { $var18 = $var14; $var14 = $var17; } else { $var18 = $var14 + 1 | 0; $var19 = $this.$field_1414_S.data[$var14]; $var7 = $var16.$field_1755_i; $var2 = $var16.$field_1754_j; $var15 = $var16.$field_1753_k; $var19.$field_1235_h = 1; jn_Buffer_clear($var19.$field_1236_g); $var19.$field_1242_a = $var7; $var19.$field_1241_b = $var2; $var19.$field_1240_c = $var15; $var19.$field_1239_d = var$14; $var19.$field_1238_e = var$15; $var19.$field_1237_f = var$16; } $var19 = $this.$field_1414_S.data[$var14]; $var7 = nms_WorldRenderer_func_1200_a($var16, $var3); jn_IntBufferImpl_put($var19.$field_1236_g, $var7); if (!jn_Buffer_remaining($var19.$field_1236_g)) nms_RenderList_func_860_a($var19); $var8 = $var8 + 1 | 0; $var14 = $var18; } $var7 = 0; while (true) { var$6 = $this.$field_1414_S.data; if ($var7 >= var$6.length) break; nms_RenderList_func_860_a(var$6[$var7]); $var7 = $var7 + 1 | 0; } return $var6; } function nms_RenderGlobal_func_945_d($this) { $this.$field_1435_x = $this.$field_1435_x + 1 | 0; } function nms_RenderGlobal_func_4142_a($this, $var1) { var $var2, $var6, $var7, $var8, $var8_0, $var14, $var15, $var10, $var11, $var12, $var13, $var9, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$var9 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var8_0 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$mc7.$theWorld.$worldProvider.$field_4220_c) return; olo_EaglerAdapterGL30_glDisable(3553); $var2 = nms_World_func_4079_a($this.$worldObj1, $this.$mc7.$thePlayer, $var1); $var6 = $var2.$xCoord; $var7 = $var2.$yCoord; $var8 = $var2.$zCoord; if ($this.$mc7.$gameSettings.$anaglyph) { $var8_0 = $var6 * 30.0; $var6 = ($var8_0 + $var7 * 59.0 + $var8 * 11.0) / 100.0; $var7 = ($var8_0 + $var7 * 70.0) / 100.0; $var8 = ($var8_0 + $var8 * 70.0) / 100.0; } olo_EaglerAdapterGL30_glColor3f($var6, $var7, $var8); nms_Tessellator_$callClinit(); $var14 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glEnable(2912); olo_EaglerAdapterGL30_glColor3f($var6, $var7, $var8); olo_EaglerAdapterGL30_glCallList($this.$field_1433_z); olo_EaglerAdapterGL30_glDisable(2912); olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var2 = $this.$worldObj1; $var15 = nms_WorldProvider_func_4097_b($var2.$worldProvider, nms_World_getCelestialAngle($var2, $var1), $var1); if ($var15 !== null) { olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glRotatef(90.0, 1.0, 0.0, 0.0); $var8_0 = nms_World_getCelestialAngle($this.$worldObj1, $var1) <= 0.5 ? 0.0 : 180.0; $var15 = $var15.data; olo_EaglerAdapterGL30_glRotatef($var8_0, 0.0, 0.0, 1.0); nms_Tessellator_startDrawing($var14, 6); nms_Tessellator_setColorRGBA_F($var14, $var15[0], $var15[1], $var15[2], $var15[3]); nms_Tessellator_addVertex($var14, 0.0, 100.0, 0.0); nms_Tessellator_setColorRGBA_F($var14, $var15[0], $var15[1], $var15[2], 0.0); $var10 = 0; while ($var10 <= 16) { $var11 = $var10 * 3.1415927410125732 * 2.0 / 16.0; $var12 = nms_MathHelper_sin($var11); $var13 = nms_MathHelper_cos($var11); nms_Tessellator_addVertex($var14, $var12 * 120.0, $var13 * 120.0, -$var13 * 40.0 * $var15[3]); $var10 = $var10 + 1 | 0; } nms_Tessellator_draw($var14); olo_EaglerAdapterGL30_glPopMatrix(); } olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glBlendFunc(1, 1); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(0.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef(nms_World_getCelestialAngle($this.$worldObj1, $var1) * 360.0, 1.0, 0.0, 0.0); $var9 = 3553; $var2 = $this.$renderEngine1; var$14 = $rt_s(484); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var2, var$14); if ($rt_suspending()) { break main; } $var10 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var9, $var10); nms_Tessellator_startDrawingQuads($var14); nms_Tessellator_addVertexWithUV($var14, (-30.0), 100.0, (-30.0), 0.0, 0.0); nms_Tessellator_addVertexWithUV($var14, 30.0, 100.0, (-30.0), 1.0, 0.0); nms_Tessellator_addVertexWithUV($var14, 30.0, 100.0, 30.0, 1.0, 1.0); nms_Tessellator_addVertexWithUV($var14, (-30.0), 100.0, 30.0, 0.0, 1.0); nms_Tessellator_draw($var14); $var9 = 3553; $var2 = $this.$renderEngine1; var$14 = $rt_s(485); $ptr = 2; case 2: $tmp = nms_RenderEngine_getTexture($var2, var$14); if ($rt_suspending()) { break main; } $var10 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var9, $var10); nms_Tessellator_startDrawingQuads($var14); nms_Tessellator_addVertexWithUV($var14, (-20.0), (-100.0), 20.0, 1.0, 1.0); nms_Tessellator_addVertexWithUV($var14, 20.0, (-100.0), 20.0, 0.0, 1.0); nms_Tessellator_addVertexWithUV($var14, 20.0, (-100.0), (-20.0), 0.0, 0.0); nms_Tessellator_addVertexWithUV($var14, (-20.0), (-100.0), (-20.0), 1.0, 0.0); nms_Tessellator_draw($var14); olo_EaglerAdapterGL30_glDisable(3553); $var1 = 1.0 - (nms_MathHelper_cos(nms_World_getCelestialAngle($this.$worldObj1, $var1) * 3.1415927410125732 * 2.0) * 2.0 + 0.75); if ($var1 < 0.0) $var1 = 0.0; if ($var1 > 1.0) $var1 = 1.0; $var11 = $var1 * $var1 * 0.5; if ($var11 > 0.0) { olo_EaglerAdapterGL30_glColor4f($var11, $var11, $var11, $var11); olo_EaglerAdapterGL30_glCallList($this.$field_1434_y); } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glEnable(2912); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glColor3f($var6 * 0.20000000298023224 + 0.03999999910593033, $var7 * 0.20000000298023224 + 0.03999999910593033, $var8 * 0.6000000238418579 + 0.10000000149011612); olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glCallList($this.$field_1432_A); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDepthMask(1); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var6, $var7, $var8, $var8_0, $var14, $var15, $var10, $var11, $var12, $var13, $var9, var$14, $ptr); } function nms_RenderGlobal_func_4141_b($this, $var1) { var $var5, $var22, $var13, var$5, $var2, $var3, $var15, $var6, var$10, $var16, $var10, $var11, $var12, $var10_0, $var17, $var18, $var19, var$19, $var20, $var21, var$22, $var21_0, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();$var21_0 = $thread.pop();var$22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();var$19 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var10_0 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var16 = $thread.pop();var$10 = $thread.pop();$var6 = $thread.pop();$var15 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();$var13 = $thread.pop();$var22 = $thread.pop();$var5 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$mc7; if ($var5.$theWorld.$worldProvider.$field_4220_c) return; if ($var5.$gameSettings.$fancyGraphics) { $ptr = 2; continue main; } olo_EaglerAdapterGL30_glDisable(2884); $var5 = $this.$mc7.$thePlayer; $var22 = $var5.$lastTickPosY; $var13 = $var5.$posY - $var22; var$5 = $var1; $var2 = $var22 + $var13 * var$5; $var3 = 32; nms_Tessellator_$callClinit(); $var5 = nms_Tessellator_instance; $var15 = 3553; $var6 = $this.$renderEngine1; var$10 = $rt_s(486); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var6, var$10); if ($rt_suspending()) { break main; } $var16 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var15, $var16); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var6 = nms_World_func_628_d($this.$worldObj1, $var1); $var10 = $var6.$xCoord; $var11 = $var6.$yCoord; $var12 = $var6.$zCoord; $var6 = $this.$mc7; if ($var6.$gameSettings.$anaglyph) { $var10_0 = $var10 * 30.0; $var10 = ($var10_0 + $var11 * 59.0 + $var12 * 11.0) / 100.0; $var11 = ($var10_0 + $var11 * 70.0) / 100.0; $var12 = ($var10_0 + $var12 * 70.0) / 100.0; } $var6 = $var6.$thePlayer; $var22 = $var6.$prevPosX; $var22 = $var22 + ($var6.$posX - $var22) * var$5 + ($this.$field_1435_x + $var1) * 0.029999999329447746; $var13 = $var6.$prevPosZ; $var13 = $var13 + ($var6.$posZ - $var13) * var$5; $var15 = nms_MathHelper_floor_double($var22 / 2048.0); $var16 = nms_MathHelper_floor_double($var13 / 2048.0); $var22 = $var22 - ($var15 * 2048 | 0); $var13 = $var13 - ($var16 * 2048 | 0); $var17 = 120.0 - $var2 + 0.33000001311302185; $var18 = $var22 * 4.8828125E-4; $var19 = $var13 * 4.8828125E-4; nms_Tessellator_startDrawingQuads($var5); nms_Tessellator_setColorRGBA_F($var5, $var10, $var11, $var12, 0.800000011920929); var$19 = $var17; $var20 = (-256); while ($var20 < 256) { $var21 = (-256); while ($var21 < 256) { $var15 = $var20 + 0 | 0; var$22 = $var15; $var21_0 = $var21 + $var3 | 0; var$24 = $var21_0; var$25 = $var15 * 4.8828125E-4 + $var18; $var22 = $var21_0 * 4.8828125E-4 + $var19; nms_Tessellator_addVertexWithUV($var5, var$22, var$19, var$24, var$25, $var22); $var15 = $var20 + $var3 | 0; $var13 = $var15; var$5 = $var15 * 4.8828125E-4 + $var18; nms_Tessellator_addVertexWithUV($var5, $var13, var$19, var$24, var$5, $var22); $var15 = $var21 + 0 | 0; $var22 = $var15; var$24 = $var15 * 4.8828125E-4 + $var19; nms_Tessellator_addVertexWithUV($var5, $var13, var$19, $var22, var$5, var$24); nms_Tessellator_addVertexWithUV($var5, var$22, var$19, $var22, var$25, var$24); $var21 = $var21_0; } $var20 = $var20 + $var3 | 0; } nms_Tessellator_draw($var5); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(2884); return; case 2: nms_RenderGlobal_func_6510_c($this, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var5, $var22, $var13, var$5, $var2, $var3, $var15, $var6, var$10, $var16, $var10, $var11, $var12, $var10_0, $var17, $var18, $var19, var$19, $var20, $var21, var$22, $var21_0, var$24, var$25, $ptr); } function nms_RenderGlobal_func_6510_c($this, $var1) { var $var13, $var6, $var8, var$5, $var2, $var3, $var4, var$9, $var10, $var11, $var12, var$13, $var17, $var18, $var19, var$17, var$18, $var20, $var21, $var25, var$22, var$23, var$24, var$25, var$26, $var26, $var27, $var28, $var29, $var30, $var31, var$33, var$34, $var32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var32 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var29 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var25 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var13 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glDisable(2884); $var13 = $this.$mc7.$thePlayer; $var6 = $var13.$lastTickPosY; $var8 = $var13.$posY - $var6; var$5 = $var1; $var2 = $var6 + $var8 * var$5; nms_Tessellator_$callClinit(); $var3 = nms_Tessellator_instance; $var4 = 12.0; $var6 = $var13.$prevPosX; $var6 = ($var6 + ($var13.$posX - $var6) * var$5 + ($this.$field_1435_x + $var1) * 0.029999999329447746) / 12.0; var$9 = $var13.$prevPosZ; $var8 = (var$9 + ($var13.$posZ - var$9) * var$5) / 12.0 + 0.33000001311302185; $var10 = 108.0 - $var2 + 0.33000001311302185; $var11 = nms_MathHelper_floor_double($var6 / 2048.0); $var12 = nms_MathHelper_floor_double($var8 / 2048.0); $var6 = $var6 - ($var11 * 2048 | 0); var$5 = $var8 - ($var12 * 2048 | 0); $var11 = 3553; $var13 = $this.$renderEngine1; var$13 = $rt_s(486); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var13, var$13); if ($rt_suspending()) { break main; } $var12 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var11, $var12); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var13 = nms_World_func_628_d($this.$worldObj1, $var1); $var17 = $var13.$xCoord; $var18 = $var13.$yCoord; $var19 = $var13.$zCoord; if ($this.$mc7.$gameSettings.$anaglyph) { $var1 = $var17 * 30.0; $var17 = ($var1 + $var18 * 59.0 + $var19 * 11.0) / 100.0; $var18 = ($var1 + $var18 * 70.0) / 100.0; $var19 = ($var1 + $var19 * 70.0) / 100.0; } var$17 = nms_MathHelper_floor_double($var6) * 0.00390625; var$18 = nms_MathHelper_floor_double(var$5) * 0.00390625; $var20 = $var6 - nms_MathHelper_floor_double($var6); $var21 = var$5 - nms_MathHelper_floor_double(var$5); olo_EaglerAdapterGL30_glScalef($var4, 1.0, $var4); $var25 = 0; var$22 = $rt_compare($var10, (-5.0)); var$23 = $var10 + 0.0; var$24 = $rt_compare($var10, 5.0); $var1 = $var10 + 4.0; var$25 = $var1 - 9.765625E-4; var$26 = $var1; while ($var25 < 2) { if ($var25) olo_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); else olo_EaglerAdapterGL30_glColorMask(0, 0, 0, 0); $var26 = (-2); while ($var26 <= 3) { $var27 = (-2); while ($var27 <= 3) { nms_Tessellator_startDrawingQuads($var3); $var28 = $var26 * 8 | 0; $var29 = $var27 * 8 | 0; $var30 = $var28 - $var20; $var31 = $var29 - $var21; if (var$22 > 0) { nms_Tessellator_setColorRGBA_F($var3, $var17 * 0.699999988079071, $var18 * 0.699999988079071, $var19 * 0.699999988079071, 0.800000011920929); nms_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); $var6 = $var30 + 0.0; $var8 = $var31 + 8.0; var$5 = ($var28 + 0.0) * 0.00390625 + var$17; var$9 = ($var29 + 8.0) * 0.00390625 + var$18; nms_Tessellator_addVertexWithUV($var3, $var6, var$23, $var8, var$5, var$9); var$33 = $var30 + 8.0; var$34 = ($var28 + 8.0) * 0.00390625 + var$17; nms_Tessellator_addVertexWithUV($var3, var$33, var$23, $var8, var$34, var$9); $var8 = $var31 + 0.0; var$9 = ($var29 + 0.0) * 0.00390625 + var$18; nms_Tessellator_addVertexWithUV($var3, var$33, var$23, $var8, var$34, var$9); nms_Tessellator_addVertexWithUV($var3, $var6, var$23, $var8, var$5, var$9); } if (var$24 <= 0) { nms_Tessellator_setColorRGBA_F($var3, $var17, $var18, $var19, 0.800000011920929); nms_Tessellator_setNormal($var3, 0.0, 1.0, 0.0); var$33 = $var30 + 0.0; var$5 = $var31 + 8.0; var$34 = ($var28 + 0.0) * 0.00390625 + var$17; var$9 = ($var29 + 8.0) * 0.00390625 + var$18; nms_Tessellator_addVertexWithUV($var3, var$33, var$25, var$5, var$34, var$9); $var6 = $var30 + 8.0; $var8 = ($var28 + 8.0) * 0.00390625 + var$17; nms_Tessellator_addVertexWithUV($var3, $var6, var$25, var$5, $var8, var$9); var$5 = $var31 + 0.0; var$9 = ($var29 + 0.0) * 0.00390625 + var$18; nms_Tessellator_addVertexWithUV($var3, $var6, var$25, var$5, $var8, var$9); nms_Tessellator_addVertexWithUV($var3, var$33, var$25, var$5, var$34, var$9); } a: { nms_Tessellator_setColorRGBA_F($var3, $var17 * 0.8999999761581421, $var18 * 0.8999999761581421, $var19 * 0.8999999761581421, 0.800000011920929); if ($var26 > (-1)) { nms_Tessellator_setNormal($var3, (-1.0), 0.0, 0.0); $var32 = 0; var$33 = $var31 + 8.0; $var6 = ($var29 + 8.0) * 0.00390625 + var$18; $var8 = $var31 + 0.0; var$5 = ($var29 + 0.0) * 0.00390625 + var$18; while (true) { if ($var32 >= 8) break a; $var1 = $var32; var$9 = $var30 + $var1 + 0.0; var$34 = ($var28 + $var1 + 0.5) * 0.00390625 + var$17; nms_Tessellator_addVertexWithUV($var3, var$9, var$23, var$33, var$34, $var6); nms_Tessellator_addVertexWithUV($var3, var$9, var$26, var$33, var$34, $var6); nms_Tessellator_addVertexWithUV($var3, var$9, var$26, $var8, var$34, var$5); nms_Tessellator_addVertexWithUV($var3, var$9, var$23, $var8, var$34, var$5); $var32 = $var32 + 1 | 0; } } } b: { if ($var26 <= 1) { nms_Tessellator_setNormal($var3, 1.0, 0.0, 0.0); $var32 = 0; var$33 = $var31 + 8.0; $var6 = ($var29 + 8.0) * 0.00390625 + var$18; $var8 = $var31 + 0.0; var$5 = ($var29 + 0.0) * 0.00390625 + var$18; while (true) { if ($var32 >= 8) break b; $var1 = $var32; var$9 = $var30 + $var1 + 1.0 - 9.765625E-4; var$34 = ($var28 + $var1 + 0.5) * 0.00390625 + var$17; nms_Tessellator_addVertexWithUV($var3, var$9, var$23, var$33, var$34, $var6); nms_Tessellator_addVertexWithUV($var3, var$9, var$26, var$33, var$34, $var6); nms_Tessellator_addVertexWithUV($var3, var$9, var$26, $var8, var$34, var$5); nms_Tessellator_addVertexWithUV($var3, var$9, var$23, $var8, var$34, var$5); $var32 = $var32 + 1 | 0; } } } c: { nms_Tessellator_setColorRGBA_F($var3, $var17 * 0.800000011920929, $var18 * 0.800000011920929, $var19 * 0.800000011920929, 0.800000011920929); if ($var27 > (-1)) { nms_Tessellator_setNormal($var3, 0.0, 0.0, (-1.0)); $var32 = 0; var$34 = $var30 + 0.0; $var8 = ($var28 + 0.0) * 0.00390625 + var$17; var$9 = $var30 + 8.0; var$33 = ($var28 + 8.0) * 0.00390625 + var$17; while (true) { if ($var32 >= 8) break c; $var2 = $var32; $var6 = $var31 + $var2 + 0.0; var$5 = ($var29 + $var2 + 0.5) * 0.00390625 + var$18; nms_Tessellator_addVertexWithUV($var3, var$34, var$26, $var6, $var8, var$5); nms_Tessellator_addVertexWithUV($var3, var$9, var$26, $var6, var$33, var$5); nms_Tessellator_addVertexWithUV($var3, var$9, var$23, $var6, var$33, var$5); nms_Tessellator_addVertexWithUV($var3, var$34, var$23, $var6, $var8, var$5); $var32 = $var32 + 1 | 0; } } } d: { if ($var27 <= 1) { nms_Tessellator_setNormal($var3, 0.0, 0.0, 1.0); $var32 = 0; $var6 = $var30 + 0.0; var$5 = ($var28 + 0.0) * 0.00390625 + var$17; var$33 = $var30 + 8.0; var$34 = ($var28 + 8.0) * 0.00390625 + var$17; while (true) { if ($var32 >= 8) break d; $var1 = $var32; $var8 = $var31 + $var1 + 1.0 - 9.765625E-4; var$9 = ($var29 + $var1 + 0.5) * 0.00390625 + var$18; nms_Tessellator_addVertexWithUV($var3, $var6, var$26, $var8, var$5, var$9); nms_Tessellator_addVertexWithUV($var3, var$33, var$26, $var8, var$34, var$9); nms_Tessellator_addVertexWithUV($var3, var$33, var$23, $var8, var$34, var$9); nms_Tessellator_addVertexWithUV($var3, $var6, var$23, $var8, var$5, var$9); $var32 = $var32 + 1 | 0; } } } nms_Tessellator_draw($var3); $var27 = $var27 + 1 | 0; } $var26 = $var26 + 1 | 0; } $var25 = $var25 + 1 | 0; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(2884); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var13, $var6, $var8, var$5, $var2, $var3, $var4, var$9, $var10, $var11, $var12, var$13, $var17, $var18, $var19, var$17, var$18, $var20, $var21, $var25, var$22, var$23, var$24, var$25, var$26, $var26, $var27, $var28, $var29, $var30, $var31, var$33, var$34, $var32, $ptr); } function nms_RenderGlobal_func_948_a($this, $var1, $var2) { var $var6, var$4, $var4, $var3, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var6 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $this.$field_1446_m; var$4 = new nms_RenderSorter; var$4.$field_4274_a = $var1; ju_Collections_sort($var6, var$4); $var4 = $this.$field_1446_m.$size; $var3 = $var4 - 1 | 0; $var5 = 0; a: { while ($var5 < $var4) { $var6 = ju_ArrayList_get($this.$field_1446_m, $var3 - $var5 | 0); if (!$var2) { if (nms_WorldRenderer_func_1202_a($var6, $var1) <= 1024.0) break a; if (!$var6.$field_1749_o) { if ($var5 < 1) break a; return 0; } if ($var5 < 3) break a; return 0; } if ($var6.$field_1749_o) break a; $var5 = $var5 + 1 | 0; } return $this.$field_1446_m.$size ? 0 : 1; } $ptr = 1; case 1: nms_WorldRenderer_func_1198_a($var6); if ($rt_suspending()) { break main; } ju_ArrayList_remove0($this.$field_1446_m, $var6); $var6.$needsUpdate = 0; a: { while (true) { $var5 = $var5 + 1 | 0; if ($var5 >= $var4) break; $var6 = ju_ArrayList_get($this.$field_1446_m, $var3 - $var5 | 0); if (!$var2) { if (nms_WorldRenderer_func_1202_a($var6, $var1) <= 1024.0) break a; if (!$var6.$field_1749_o) { if ($var5 < 1) break a; return 0; } if ($var5 < 3) break a; return 0; } if ($var6.$field_1749_o) break a; } return $this.$field_1446_m.$size ? 0 : 1; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var6, var$4, $var4, $var3, $var5, $ptr); } function nms_RenderGlobal_func_959_a($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var9, $var16, $var8, $var7, $var10, $var12, $var14, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var16 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { nms_Tessellator_$callClinit(); $var6 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glBlendFunc(770, 1); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, (nms_MathHelper_sin(Long_toNumber(jl_System_currentTimeMillis()) / 100.0) * 0.20000000298023224 + 0.4000000059604645) * 0.5); if (!$var3) { if ($this.$field_1450_i <= 0.0) break a; olo_EaglerAdapterGL30_glBlendFunc(774, 768); $var4 = $this.$renderEngine1; $var9 = $rt_s(198); $ptr = 2; continue main; } if ($var4 !== null) { olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var16 = nms_MathHelper_sin(Long_toNumber(jl_System_currentTimeMillis()) / 100.0) * 0.20000000298023224 + 0.800000011920929; olo_EaglerAdapterGL30_glColor4f($var16, $var16, $var16, nms_MathHelper_sin(Long_toNumber(jl_System_currentTimeMillis()) / 200.0) * 0.20000000298023224 + 0.5); $var1 = $this.$renderEngine1; $var4 = $rt_s(198); $ptr = 1; continue main; } } olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDisable(3008); return; case 1: $tmp = nms_RenderEngine_getTexture($var1, $var4); if ($rt_suspending()) { break main; } $var8 = $tmp; olo_EaglerAdapterGL30_glBindTexture(3553, $var8); $var3 = $var2.$sideHit; olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDisable(3008); return; case 2: $tmp = nms_RenderEngine_getTexture($var4, $var9); if ($rt_suspending()) { break main; } $var7 = $tmp; olo_EaglerAdapterGL30_glBindTexture(3553, $var7); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 0.5); olo_EaglerAdapterGL30_glPushMatrix(); $var4 = $this.$worldObj1; $var3 = $var2.$blockX; $var7 = $var2.$blockY; $var8 = $var2.$blockZ; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var4, $var3, $var7, $var8); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 <= 0) $var9 = null; else { nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var8]; } olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glPolygonOffset((-3.0), (-3.0)); olo_EaglerAdapterGL30_glEnable(32823); nms_Tessellator_startDrawingQuads($var6); $var10 = $var1.$lastTickPosX; $var12 = $var1.$posX - $var10; $var14 = $var5; $var10 = $var10 + $var12 * $var14; $var12 = $var1.$lastTickPosY; $var12 = $var12 + ($var1.$posY - $var12) * $var14; var$14 = $var1.$lastTickPosZ; nms_Tessellator_setTranslationD($var6, -$var10, -$var12, -(var$14 + ($var1.$posZ - var$14) * $var14)); $var6.$isColorDisabled = 1; if ($var9 === null) { nms_Block_$callClinit(); $var9 = nms_Block_stone; } $var1 = $this.$field_1438_u; $var3 = $var2.$blockX; $var7 = $var2.$blockY; $var8 = $var2.$blockZ; $var1.$overrideBlockTexture = 240 + ($this.$field_1450_i * 10.0 | 0) | 0; $ptr = 4; case 4: nms_RenderBlocks_renderBlockByRenderType($var1, $var9, $var3, $var7, $var8); if ($rt_suspending()) { break main; } $var1.$overrideBlockTexture = (-1); nms_Tessellator_draw($var6); nms_Tessellator_setTranslationD($var6, 0.0, 0.0, 0.0); olo_EaglerAdapterGL30_glPolygonOffset(0.0, 0.0); olo_EaglerAdapterGL30_glDisable(32823); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDisable(3008); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var9, $var16, $var8, $var7, $var10, $var12, $var14, var$14, $ptr); } function nms_RenderGlobal_drawSelectionBox($this, $var1, $var2, $var3, $var4, $var5) { var $var7, var$7, var$8, var$9, $var8, $var10, $var12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $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: if (!$var3 && !$var2.$typeOfHit) { olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f(0.0, 0.0, 0.0, 0.4000000059604645); olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glDepthMask(0); $var4 = $this.$worldObj1; $var3 = $var2.$blockX; $var7 = $var2.$blockY; var$7 = $var2.$blockZ; $ptr = 1; continue main; } return; case 1: $tmp = nms_World_getBlockId($var4, $var3, $var7, var$7); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 <= 0) { olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(3042); return; } nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[$var7]; var$8 = $this.$worldObj1; $var3 = $var2.$blockX; var$7 = $var2.$blockY; var$9 = $var2.$blockZ; $ptr = 2; case 2: $var4.$setBlockBoundsBasedOnState(var$8, $var3, var$7, var$9); if ($rt_suspending()) { break main; } $var8 = $var1.$lastTickPosX; $var10 = $var1.$posX - $var8; $var12 = $var5; $var8 = $var8 + $var10 * $var12; $var10 = $var1.$lastTickPosY; $var10 = $var10 + ($var1.$posY - $var10) * $var12; var$13 = $var1.$lastTickPosZ; $var12 = var$13 + ($var1.$posZ - var$13) * $var12; $var1 = nms_Block_blocksList.data[$var7]; $var4 = $this.$worldObj1; $var3 = $var2.$blockX; $var7 = $var2.$blockY; var$7 = $var2.$blockZ; $ptr = 3; case 3: $tmp = $var1.$getSelectedBoundingBoxFromPool($var4, $var3, $var7, var$7); if ($rt_suspending()) { break main; } $var1 = $tmp; $var1 = nms_AxisAlignedBB_getOffsetBoundingBox(nms_AxisAlignedBB_expands($var1, 0.0020000000949949026, 0.0020000000949949026, 0.0020000000949949026), -$var8, -$var10, -$var12); nms_Tessellator_$callClinit(); $var2 = nms_Tessellator_instance; nms_Tessellator_startDrawing($var2, 3); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$minY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$minY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$minY0, $var1.$maxZ0); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$minY0, $var1.$maxZ0); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$minY0, $var1.$minZ0); nms_Tessellator_draw($var2); nms_Tessellator_startDrawing($var2, 3); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$maxY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$maxY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$maxY0, $var1.$maxZ0); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$maxY0, $var1.$maxZ0); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$maxY0, $var1.$minZ0); nms_Tessellator_draw($var2); nms_Tessellator_startDrawing($var2, 1); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$minY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$maxY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$minY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$maxY0, $var1.$minZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$minY0, $var1.$maxZ0); nms_Tessellator_addVertex($var2, $var1.$maxX0, $var1.$maxY0, $var1.$maxZ0); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$minY0, $var1.$maxZ0); nms_Tessellator_addVertex($var2, $var1.$minX, $var1.$maxY0, $var1.$maxZ0); nms_Tessellator_draw($var2); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(3042); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var7, var$7, var$8, var$9, $var8, $var10, $var12, var$13, $ptr); } function nms_RenderGlobal_func_949_a($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var13, $var8, $var9, $var10, $var11, $var12, $var14, $var15, $var16, $var17, $var18, $var19, $var20; $var13 = nms_MathHelper_bucketInt($var1, 16); $var8 = nms_MathHelper_bucketInt($var2, 16); $var9 = nms_MathHelper_bucketInt($var3, 16); $var10 = nms_MathHelper_bucketInt($var4, 16); $var11 = nms_MathHelper_bucketInt($var5, 16); $var12 = nms_MathHelper_bucketInt($var6, 16); while ($var13 <= $var10) { $var1 = $this.$field_1443_p; $var14 = $var13 % $var1 | 0; if ($var14 < 0) $var14 = $var14 + $var1 | 0; $var15 = $var8; while ($var15 <= $var11) { $var1 = $this.$field_1442_q; $var16 = $var15 % $var1 | 0; if ($var16 < 0) $var16 = $var16 + $var1 | 0; $var17 = $var9; while ($var17 <= $var12) { $var1 = $this.$field_1441_r; $var18 = $var17 % $var1 | 0; if ($var18 < 0) $var18 = $var18 + $var1 | 0; $var19 = $rt_imul($rt_imul($var18, $this.$field_1442_q) + $var16 | 0, $this.$field_1443_p) + $var14 | 0; $var20 = $this.$field_1444_o.data[$var19]; if (!$var20.$needsUpdate) ju_ArrayList_add($this.$field_1446_m, $var20); nms_WorldRenderer_MarkDirty($var20); $var17 = $var17 + 1 | 0; } $var15 = $var15 + 1 | 0; } $var13 = $var13 + 1 | 0; } } function nms_RenderGlobal_func_934_a($this, $var1, $var2, $var3) { nms_RenderGlobal_func_949_a($this, $var1 - 1 | 0, $var2 - 1 | 0, $var3 - 1 | 0, $var1 + 1 | 0, $var2 + 1 | 0, $var3 + 1 | 0); } function nms_RenderGlobal_playSound($this, $var1, $var2, $var4, $var6, $var8, $var9) {} function nms_RenderGlobal_spawnParticle($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12) { var var$8, var$9, $var14, $var16, $var18, var$13, var$14, var$15; a: { var$8 = $this.$mc7; var$9 = var$8.$thePlayer; $var14 = var$9.$posX - $var2; $var16 = var$9.$posY - $var4; $var18 = var$9.$posZ - $var6; if ($var14 * $var14 + $var16 * $var16 + $var18 * $var18 > 256.0) break a; if ($var1 === $rt_s(487)) { var$9 = var$8.$field_6321_h; var$8 = new nms_EntityBubbleFX; nms_EntityFX__init_(var$8, $this.$worldObj1, $var2, $var4, $var6, $var8, $var10, $var12); var$8.$field_663_i = 1.0; var$8.$field_662_j = 1.0; var$8.$field_661_k = 1.0; var$8.$field_670_b = 32; nms_Entity_setSize(var$8, 0.019999999552965164, 0.019999999552965164); var$8.$field_665_g = var$8.$field_665_g * (ju_Random_nextFloat(var$8.$rand2) * 0.6000000238418579 + 0.20000000298023224); var$8.$motionX = $var8 * 0.20000000298023224 + (jl_Math_random() * 2.0 - 1.0) * 0.019999999552965164; var$8.$motionY = $var10 * 0.20000000298023224 + (jl_Math_random() * 2.0 - 1.0) * 0.019999999552965164; var$8.$motionZ = $var12 * 0.20000000298023224 + (jl_Math_random() * 2.0 - 1.0) * 0.019999999552965164; var$8.$field_666_f = 8.0 / (jl_Math_random() * 0.8 + 0.2) | 0; nms_EffectRenderer_func_1192_a(var$9, var$8); break a; } if ($var1 === $rt_s(299)) { nms_EffectRenderer_func_1192_a(var$8.$field_6321_h, nms_EntitySmokeFX__init_($this.$worldObj1, $var2, $var4, $var6, 1.0)); break a; } if ($var1 === $rt_s(327)) { $var1 = var$8.$field_6321_h; var$9 = new nms_EntityPortalFX; nms_EntityFX__init_(var$9, $this.$worldObj1, $var2, $var4, $var6, $var8, $var10, $var12); var$9.$motionX = $var8; var$9.$motionY = $var10; var$9.$motionZ = $var12; var$9.$posX = $var2; var$9.$field_4086_p = $var2; var$9.$posY = $var4; var$9.$field_4085_q = $var4; var$9.$posZ = $var6; var$9.$field_4084_r = $var6; var$13 = ju_Random_nextFloat(var$9.$rand2) * 0.6000000238418579 + 0.4000000059604645; var$14 = ju_Random_nextFloat(var$9.$rand2) * 0.20000000298023224 + 0.5; var$9.$field_665_g = var$14; var$9.$field_4083_a = var$14; var$13 = 1.0 * var$13; var$9.$field_661_k = var$13; var$9.$field_662_j = var$13; var$9.$field_663_i = var$13; var$9.$field_662_j = var$13 * 0.30000001192092896; var$9.$field_663_i = var$13 * 0.8999999761581421; var$9.$field_666_f = (jl_Math_random() * 10.0 | 0) + 40 | 0; var$9.$field_9314_ba = 1; var$9.$field_670_b = jl_Math_random() * 8.0 | 0; nms_EffectRenderer_func_1192_a($var1, var$9); break a; } if ($var1 === $rt_s(488)) { nms_EffectRenderer_func_1192_a(var$8.$field_6321_h, nms_EntityExplodeFX__init_($this.$worldObj1, $var2, $var4, $var6, $var8, $var10, $var12)); break a; } if ($var1 === $rt_s(300)) { $var1 = var$8.$field_6321_h; var$9 = new nms_EntityFlameFX; nms_EntityFX__init_(var$9, $this.$worldObj1, $var2, $var4, $var6, $var8, $var10, $var12); var$9.$motionX = var$9.$motionX * 0.009999999776482582 + $var8; var$9.$motionY = var$9.$motionY * 0.009999999776482582 + $var10; var$9.$motionZ = var$9.$motionZ * 0.009999999776482582 + $var12; ju_Random_nextFloat(var$9.$rand2); ju_Random_nextFloat(var$9.$rand2); ju_Random_nextFloat(var$9.$rand2); ju_Random_nextFloat(var$9.$rand2); ju_Random_nextFloat(var$9.$rand2); ju_Random_nextFloat(var$9.$rand2); var$9.$field_672_a = var$9.$field_665_g; var$9.$field_661_k = 1.0; var$9.$field_662_j = 1.0; var$9.$field_663_i = 1.0; var$9.$field_666_f = (8.0 / (jl_Math_random() * 0.8 + 0.2) | 0) + 4 | 0; var$9.$field_9314_ba = 1; var$9.$field_670_b = 48; nms_EffectRenderer_func_1192_a($var1, var$9); break a; } if ($var1 === $rt_s(295)) { nms_EffectRenderer_func_1192_a(var$8.$field_6321_h, nms_EntityLavaFX__init_($this.$worldObj1, $var2, $var4, $var6)); break a; } if ($var1 === $rt_s(489)) { nms_EffectRenderer_func_1192_a(var$8.$field_6321_h, nms_EntitySplashFX__init_($this.$worldObj1, $var2, $var4, $var6, $var8, $var10, $var12)); break a; } if ($var1 === $rt_s(296)) { nms_EffectRenderer_func_1192_a(var$8.$field_6321_h, nms_EntitySmokeFX__init_($this.$worldObj1, $var2, $var4, $var6, 2.5)); break a; } if ($var1 === $rt_s(303)) { nms_EffectRenderer_func_1192_a(var$8.$field_6321_h, nms_EntityReddustFX__init_($this.$worldObj1, $var2, $var4, $var6, 1.0)); break a; } if ($var1 === $rt_s(490)) { $var1 = var$8.$field_6321_h; var$9 = new nms_EntitySlimeFX; var$8 = $this.$worldObj1; nms_Item_$callClinit(); nms_EntitySlimeFX__init_(var$9, var$8, $var2, $var4, $var6, nms_Item_snowball); nms_EffectRenderer_func_1192_a($var1, var$9); break a; } if ($var1 !== $rt_s(491)) break a; var$9 = var$8.$field_6321_h; var$8 = new nms_EntitySlimeFX; var$15 = $this.$worldObj1; nms_Item_$callClinit(); nms_EntitySlimeFX__init_(var$8, var$15, $var2, $var4, $var6, nms_Item_slimeBall); nms_EffectRenderer_func_1192_a(var$9, var$8); } } function nms_EffectRenderer() { var a = this; jl_Object.call(a); a.$worldObj = null; a.$field_1728_b = null; a.$field_1731_c = null; a.$rand = null; } function nms_EffectRenderer_func_1192_a($this, $var1) { var $var2; $var2 = $var1.$func_404_c(); ju_ArrayList_add($this.$field_1728_b.data[$var2], $var1); } function nms_EffectRenderer_func_1193_a($this) { var $var1, $var2, var$3, $var3, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; while ($var1 < 4) { $var2 = 0; var$3 = $this.$field_1728_b.data; if ($var2 < var$3[$var1].$size) { $var3 = ju_ArrayList_get(var$3[$var1], $var2); $ptr = 1; continue main; } $var1 = $var1 + 1 | 0; } return; case 1: $var3.$onUpdate(); if ($rt_suspending()) { break main; } if (!$var3.$isDead) var$5 = $var2; else { $var3 = $this.$field_1728_b.data[$var1]; var$5 = $var2 + (-1) | 0; ju_ArrayList_remove($var3, $var2); } $var2 = var$5 + 1 | 0; while (true) { var$3 = $this.$field_1728_b.data; if ($var2 < var$3[$var1].$size) { $var3 = ju_ArrayList_get(var$3[$var1], $var2); continue main; } $var1 = $var1 + 1 | 0; if ($var1 >= 4) break; $var2 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, var$5, $ptr); } function nms_EffectRenderer_func_1189_a($this, $var1, $var2) { var $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $var8, $var10, $var11, var$14, $var12, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var12 = $thread.pop();var$14 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = nms_MathHelper_cos($var1.$rotationYaw * 3.1415927410125732 / 180.0); $var4 = nms_MathHelper_sin($var1.$rotationYaw * 3.1415927410125732 / 180.0); $var5 = -$var4 * nms_MathHelper_sin($var1.$rotationPitch * 3.1415927410125732 / 180.0); $var6 = $var3 * nms_MathHelper_sin($var1.$rotationPitch * 3.1415927410125732 / 180.0); $var7 = nms_MathHelper_cos($var1.$rotationPitch * 3.1415927410125732 / 180.0); var$8 = $var1.$lastTickPosX; var$9 = $var1.$posX - var$8; var$10 = $var2; nms_EntityFX_field_660_l = var$8 + var$9 * var$10; var$9 = $var1.$lastTickPosY; nms_EntityFX_field_659_m = var$9 + ($var1.$posY - var$9) * var$10; var$8 = $var1.$lastTickPosZ; nms_EntityFX_field_658_n = var$8 + ($var1.$posZ - var$8) * var$10; $var8 = 0; while ($var8 < 3) { if ($this.$field_1728_b.data[$var8].$size) { if (!$var8) { $var1 = $this.$field_1731_c; $var10 = $rt_s(492); $ptr = 1; continue main; } if ($var8 == 1) { $var1 = $this.$field_1731_c; $var10 = $rt_s(198); $ptr = 2; continue main; } if ($var8 == 2) { $var1 = $this.$field_1731_c; $var10 = $rt_s(182); $ptr = 3; continue main; } olo_EaglerAdapterGL30_glBindTexture(3553, 0); nms_Tessellator_$callClinit(); $var10 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var10); $var11 = 0; var$14 = $this.$field_1728_b.data; if ($var11 < var$14[$var8].$size) { $var12 = ju_ArrayList_get(var$14[$var8], $var11); $ptr = 4; continue main; } nms_Tessellator_draw($var10); } $var8 = $var8 + 1 | 0; } return; case 1: $tmp = nms_RenderEngine_getTexture($var1, $var10); if ($rt_suspending()) { break main; } $var9 = $tmp; a: while (true) { if ($var8 == 1) { $var1 = $this.$field_1731_c; $var10 = $rt_s(198); $ptr = 2; continue main; } if ($var8 == 2) { $var1 = $this.$field_1731_c; $var10 = $rt_s(182); $ptr = 3; continue main; } olo_EaglerAdapterGL30_glBindTexture(3553, $var9); nms_Tessellator_$callClinit(); $var10 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var10); $var11 = 0; var$14 = $this.$field_1728_b.data; if ($var11 < var$14[$var8].$size) { $var12 = ju_ArrayList_get(var$14[$var8], $var11); $ptr = 4; continue main; } nms_Tessellator_draw($var10); while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break a; if (!$this.$field_1728_b.data[$var8].$size) continue; else break; } $var9 = 0; if (!$var8) { $var1 = $this.$field_1731_c; $var10 = $rt_s(492); continue main; } } return; case 2: $tmp = nms_RenderEngine_getTexture($var1, $var10); if ($rt_suspending()) { break main; } $var9 = $tmp; a: while (true) { if ($var8 == 2) { $var1 = $this.$field_1731_c; $var10 = $rt_s(182); $ptr = 3; continue main; } olo_EaglerAdapterGL30_glBindTexture(3553, $var9); nms_Tessellator_$callClinit(); $var10 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var10); $var11 = 0; var$14 = $this.$field_1728_b.data; if ($var11 < var$14[$var8].$size) { $var12 = ju_ArrayList_get(var$14[$var8], $var11); $ptr = 4; continue main; } nms_Tessellator_draw($var10); while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break a; if (!$this.$field_1728_b.data[$var8].$size) continue; else break; } $var9 = 0; if (!$var8) { $var1 = $this.$field_1731_c; $var10 = $rt_s(492); $ptr = 1; continue main; } if ($var8 == 1) { $var1 = $this.$field_1731_c; $var10 = $rt_s(198); continue main; } } return; case 3: $tmp = nms_RenderEngine_getTexture($var1, $var10); if ($rt_suspending()) { break main; } $var9 = $tmp; a: while (true) { olo_EaglerAdapterGL30_glBindTexture(3553, $var9); nms_Tessellator_$callClinit(); $var10 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var10); $var11 = 0; var$14 = $this.$field_1728_b.data; if ($var11 < var$14[$var8].$size) { $var12 = ju_ArrayList_get(var$14[$var8], $var11); $ptr = 4; continue main; } nms_Tessellator_draw($var10); while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break a; if (!$this.$field_1728_b.data[$var8].$size) continue; else break; } $var9 = 0; if (!$var8) { $var1 = $this.$field_1731_c; $var10 = $rt_s(492); $ptr = 1; continue main; } if ($var8 == 1) { $var1 = $this.$field_1731_c; $var10 = $rt_s(198); $ptr = 2; continue main; } if ($var8 == 2) { $var1 = $this.$field_1731_c; $var10 = $rt_s(182); continue main; } } return; case 4: $var12.$func_406_a($var10, $var2, $var3, $var7, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var11 = $var11 + 1 | 0; a: while (true) { var$14 = $this.$field_1728_b.data; if ($var11 < var$14[$var8].$size) { $var12 = ju_ArrayList_get(var$14[$var8], $var11); continue main; } nms_Tessellator_draw($var10); while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break a; if (!$this.$field_1728_b.data[$var8].$size) continue; else break; } if (!$var8) { $var1 = $this.$field_1731_c; $var10 = $rt_s(492); $ptr = 1; continue main; } if ($var8 == 1) { $var1 = $this.$field_1731_c; $var10 = $rt_s(198); $ptr = 2; continue main; } if ($var8 == 2) { $var1 = $this.$field_1731_c; $var10 = $rt_s(182); $ptr = 3; continue main; } olo_EaglerAdapterGL30_glBindTexture(3553, 0); nms_Tessellator_$callClinit(); $var10 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var10); $var11 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $var8, $var10, $var11, var$14, $var12, $var9, $ptr); } function nms_GuiIngame() { var a = this; nms_Gui.call(a); a.$chatMessageList = null; a.$rand0 = null; a.$mc2 = null; a.$field_933_a = null; a.$updateCounter = 0; a.$field_9420_i = null; a.$field_9419_j = 0; a.$field_6446_b = 0.0; a.$field_931_c = 0.0; } var nms_GuiIngame_itemRenderer = null; function nms_GuiIngame_renderGameOverlay($this, $var1, $var2, $var3, $var4) { var $var5, $var8, $var6, $var7, $var9, $var10, $var11, $var26, $var17, $var13, $var12, $var14, $var15, $var16, $var17_0, $var20, $var18, $var27, $var19, $var24, $var29, $var21, $var30, var$28, $var23, $var31, $var25, $var28, $var22, $var17_1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var17_1 = $thread.pop();$var22 = $thread.pop();$var28 = $thread.pop();$var25 = $thread.pop();$var31 = $thread.pop();$var23 = $thread.pop();var$28 = $thread.pop();$var30 = $thread.pop();$var21 = $thread.pop();$var29 = $thread.pop();$var24 = $thread.pop();$var19 = $thread.pop();$var27 = $thread.pop();$var18 = $thread.pop();$var20 = $thread.pop();$var17_0 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var13 = $thread.pop();$var17 = $thread.pop();$var26 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var8 = $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 = new nms_ScaledResolution; $var8 = $this.$mc2; nms_ScaledResolution__init_0($var5, $var8.$displayWidth, $var8.$displayHeight); $var6 = nms_ScaledResolution_getScaledWidth($var5); $var7 = nms_ScaledResolution_getScaledHeight($var5); $var5 = $this.$mc2; $var8 = $var5.$fontRenderer; nms_EntityRenderer_func_905_b($var5.$field_9243_r); olo_EaglerAdapterGL30_glEnable(3042); $var5 = $this.$mc2; if ($var5.$gameSettings.$fancyGraphics) { $var5 = $var5.$thePlayer; $ptr = 1; continue main; } $var9 = nms_InventoryPlayer_armorItemInSlot($this.$mc2.$thePlayer.$inventory0, 3); if (!$this.$mc2.$gameSettings.$thirdPersonView && $var9 !== null) { $var2 = $var9.$itemID; nms_Block_$callClinit(); if ($var2 == nms_Block_pumpkin.$blockID) { $ptr = 6; continue main; } } $var5 = $this.$mc2.$thePlayer; $var10 = $var5.$field_4133_d; $var10 = $var10 + ($var5.$field_4134_c - $var10) * $var1; if ($var10 > 0.0) { $ptr = 5; continue main; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $var2 = 3553; $var5 = $this.$mc2.$renderEngine; $var11 = $rt_s(493); $ptr = 3; continue main; case 1: $tmp = nms_Entity_getEntityBrightness($var5, $var1); if ($rt_suspending()) { break main; } $var10 = $tmp; $ptr = 2; case 2: nms_GuiIngame_func_4064_a($this, $var10, $var6, $var7); if ($rt_suspending()) { break main; } $var9 = nms_InventoryPlayer_armorItemInSlot($this.$mc2.$thePlayer.$inventory0, 3); if (!$this.$mc2.$gameSettings.$thirdPersonView && $var9 !== null) { $var2 = $var9.$itemID; nms_Block_$callClinit(); if ($var2 == nms_Block_pumpkin.$blockID) { $ptr = 6; continue main; } } $var5 = $this.$mc2.$thePlayer; $var10 = $var5.$field_4133_d; $var10 = $var10 + ($var5.$field_4134_c - $var10) * $var1; if ($var10 > 0.0) { $ptr = 5; continue main; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $var2 = 3553; $var5 = $this.$mc2.$renderEngine; $var11 = $rt_s(493); $ptr = 3; case 3: $tmp = nms_RenderEngine_getTexture($var5, $var11); if ($rt_suspending()) { break main; } $var3 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var2, $var3); $var11 = $this.$mc2.$thePlayer.$inventory0; $this.$zLevel = (-90.0); $var26 = $var6 / 2 | 0; $var17 = $var26 - 91 | 0; $var13 = $var7 - 22 | 0; nms_Gui_drawTexturedModalRect($this, $var17, $var13, 0, 0, 182, 22); nms_Gui_drawTexturedModalRect($this, ($var17 - 1 | 0) + ($var11.$currentItem * 20 | 0) | 0, $var13 - 1 | 0, 0, 22, 24, 22); $var2 = 3553; $var5 = $this.$mc2.$renderEngine; $var11 = $rt_s(494); $ptr = 4; case 4: $tmp = nms_RenderEngine_getTexture($var5, $var11); if ($rt_suspending()) { break main; } $var3 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var2, $var3); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(775, 769); nms_Gui_drawTexturedModalRect($this, $var26 - 7 | 0, ($var7 / 2 | 0) - 7 | 0, 0, 0, 16, 16); olo_EaglerAdapterGL30_glDisable(3042); $var5 = $this.$mc2.$thePlayer; $var3 = $var5.$field_9306_bj; $var12 = (($var3 / 3 | 0) % 2 | 0) != 1 ? 0 : 1; if ($var3 < 10) $var12 = 0; $var13 = $var5.$health; $var14 = $var5.$field_9335_K; ju_Random_setSeed($this.$rand0, Long_fromInt($rt_imul($this.$updateCounter, 312871))); if (nms_PlayerController_func_6469_d($this.$mc2.$field_6327_b)) { $var15 = nms_EntityPlayerSP_getPlayerArmorValue($this.$mc2.$thePlayer); $var16 = 0; $var17_0 = $var7 - 32 | 0; $var20 = $var26 + 91 | 0; $var3 = $rt_compare($var13, 4); while ($var16 < 10) { if ($var15 > 0) { $var18 = ($var20 - ($var16 * 8 | 0) | 0) - 9 | 0; $var4 = $rt_compare(($var16 * 2 | 0) + 1 | 0, $var15); if ($var4 < 0) nms_Gui_drawTexturedModalRect($this, $var18, $var17_0, 34, 9, 9, 9); if (!$var4) nms_Gui_drawTexturedModalRect($this, $var18, $var17_0, 25, 9, 9, 9); if ($var4 > 0) nms_Gui_drawTexturedModalRect($this, $var18, $var17_0, 16, 9, 9, 9); } $var27 = 0; if ($var12) $var27 = 1; $var19 = $var17 + ($var16 * 8 | 0) | 0; $var2 = $var3 > 0 ? $var17_0 : $var17_0 + ju_Random_nextInt($this.$rand0, 2) | 0; nms_Gui_drawTexturedModalRect($this, $var19, $var2, 16 + ($var27 * 9 | 0) | 0, 0, 9, 9); if ($var12) { $var4 = $rt_compare(($var16 * 2 | 0) + 1 | 0, $var14); if ($var4 < 0) nms_Gui_drawTexturedModalRect($this, $var19, $var2, 70, 0, 9, 9); if (!$var4) nms_Gui_drawTexturedModalRect($this, $var19, $var2, 79, 0, 9, 9); } $var4 = $rt_compare(($var16 * 2 | 0) + 1 | 0, $var13); if ($var4 < 0) nms_Gui_drawTexturedModalRect($this, $var19, $var2, 52, 0, 9, 9); if (!$var4) nms_Gui_drawTexturedModalRect($this, $var19, $var2, 61, 0, 9, 9); $var16 = $var16 + 1 | 0; } $var5 = $this.$mc2.$thePlayer; nms_Material_$callClinit(); $var11 = nms_Material_water; $ptr = 8; continue main; } olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glRotatef(180.0, 1.0, 0.0, 0.0); nms_RenderHelper_enableStandardItemLighting(); olo_EaglerAdapterGL30_glPopMatrix(); $var15 = 0; $var3 = $var26 - 90 | 0; $var17 = ($var7 - 16 | 0) - 3 | 0; if ($var15 >= 9) { nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(32826); if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) { $var5 = $this.$mc2.$field_6292_I; $var11 = jl_StringBuilder__init_0(); jl_StringBuilder_append5(jl_StringBuilder_append(jl_StringBuilder_append($var11, $rt_s(495)), $var5), 41); nms_FontRenderer_drawStringWithShadow($var8, jl_StringBuilder_toString($var11), 2, 2, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6241_m($this.$mc2), 2, 12, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6262_n($this.$mc2), 2, 22, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6245_o($this.$mc2), 2, 32, 16777215); $var24 = nlea_EaglerAdapterImpl2_maxMemory(); $var29 = nlea_EaglerAdapterImpl2_totalMemory(); $var21 = Long_sub($var29, nlea_EaglerAdapterImpl2_freeMemory()); $var30 = Long_div(Long_mul($var21, Long_fromInt(100)), $var24); $var21 = Long_div(Long_div($var21, Long_fromInt(1024)), Long_fromInt(1024)); var$28 = Long_div(Long_div($var24, Long_fromInt(1024)), Long_fromInt(1024)); $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append($var5, $rt_s(496)), $var30), $rt_s(497)), $var21), $rt_s(498)), var$28), $rt_s(499)); $var23 = jl_StringBuilder_toString($var5); nms_Gui_drawString($this, $var8, $var23, ($var6 - nms_FontRenderer_getStringWidth($var8, $var23) | 0) - 2 | 0, 2, 14737632); $var24 = Long_div(Long_mul($var29, Long_fromInt(100)), $var24); $var29 = Long_div(Long_div($var29, Long_fromInt(1024)), Long_fromInt(1024)); $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append($var5, $rt_s(500)), $var24), $rt_s(497)), $var29), $rt_s(501)); $var5 = jl_StringBuilder_toString($var5); nms_Gui_drawString($this, $var8, $var5, ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0, 12, 14737632); $var31 = $this.$mc2.$thePlayer.$posX; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(502)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 64, 14737632); $var31 = $this.$mc2.$thePlayer.$posY; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(503)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 72, 14737632); $var31 = $this.$mc2.$thePlayer.$posZ; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(504)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 80, 14737632); } else nms_FontRenderer_drawStringWithShadow($var8, $rt_s(505), 2, 2, 16777215); $var2 = $this.$field_9419_j; if ($var2 > 0) { $var25 = $var2 - $var1; $var16 = $var25 * 256.0 / 20.0 | 0; if ($var16 > 255) $var16 = 255; if ($var16 > 0) { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var26, $var7 - 48 | 0, 0.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var17 = nms_GuiIngame_hsbToRgb($var25 / 50.0, 0.699999988079071, 0.6000000238418579) & 16777215; $var5 = $this.$field_9420_i; nms_FontRenderer_drawString($var8, $var5, ( -nms_FontRenderer_getStringWidth($var8, $var5) | 0) / 2 | 0, (-4), $var17 + ($var16 << 24) | 0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glPopMatrix(); } } $var26 = 10; $var28 = 0; if ($this.$mc2.$currentScreen instanceof nms_GuiChat) { $var26 = 20; $var28 = 1; } olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var17 = 0; while ($var17 < ju_ArrayList_size($this.$chatMessageList) && $var17 < $var26) { if (!((ju_ArrayList_get($this.$chatMessageList, $var17)).$updateCounter1 >= 200 && !$var28)) { $var31 = (1.0 - (ju_ArrayList_get($this.$chatMessageList, $var17)).$updateCounter1 / 200.0) * 10.0; if ($var31 < 0.0) $var31 = 0.0; if ($var31 > 1.0) $var31 = 1.0; $var20 = 255.0 * $var31 * $var31 | 0; if ($var28) $var20 = 255; if ($var20 > 0) { $var22 = ( -$var17 | 0) * 9 | 0; $var23 = (ju_ArrayList_get($this.$chatMessageList, $var17)).$message0; nms_Gui_drawRect($this, 2, $var22 - 1 | 0, 322, $var22 + 8 | 0, ($var20 / 2 | 0) << 24); olo_EaglerAdapterGL30_glEnable(3042); nms_FontRenderer_drawStringWithShadow($var8, $var23, 2, $var22, 16777215 + ($var20 << 24) | 0); } } $var17 = $var17 + 1 | 0; } olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glDisable(3042); return; } $var16 = ($var3 + ($var15 * 20 | 0) | 0) + 2 | 0; $ptr = 7; continue main; case 5: nms_GuiIngame_func_4065_b($this, $var10, $var6, $var7); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $var2 = 3553; $var5 = $this.$mc2.$renderEngine; $var11 = $rt_s(493); $ptr = 3; continue main; case 6: nms_GuiIngame_func_4063_a($this, $var6, $var7); if ($rt_suspending()) { break main; } $var5 = $this.$mc2.$thePlayer; $var10 = $var5.$field_4133_d; $var10 = $var10 + ($var5.$field_4134_c - $var10) * $var1; if ($var10 > 0.0) { $ptr = 5; continue main; } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $var2 = 3553; $var5 = $this.$mc2.$renderEngine; $var11 = $rt_s(493); $ptr = 3; continue main; case 7: nms_GuiIngame_func_554_a($this, $var15, $var16, $var17, $var1); if ($rt_suspending()) { break main; } $var15 = $var15 + 1 | 0; if ($var15 >= 9) { nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(32826); if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) { $var5 = $this.$mc2.$field_6292_I; $var11 = jl_StringBuilder__init_0(); jl_StringBuilder_append5(jl_StringBuilder_append(jl_StringBuilder_append($var11, $rt_s(495)), $var5), 41); nms_FontRenderer_drawStringWithShadow($var8, jl_StringBuilder_toString($var11), 2, 2, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6241_m($this.$mc2), 2, 12, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6262_n($this.$mc2), 2, 22, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6245_o($this.$mc2), 2, 32, 16777215); $var24 = nlea_EaglerAdapterImpl2_maxMemory(); $var29 = nlea_EaglerAdapterImpl2_totalMemory(); $var21 = Long_sub($var29, nlea_EaglerAdapterImpl2_freeMemory()); $var30 = Long_div(Long_mul($var21, Long_fromInt(100)), $var24); $var21 = Long_div(Long_div($var21, Long_fromInt(1024)), Long_fromInt(1024)); var$28 = Long_div(Long_div($var24, Long_fromInt(1024)), Long_fromInt(1024)); $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append($var5, $rt_s(496)), $var30), $rt_s(497)), $var21), $rt_s(498)), var$28), $rt_s(499)); $var23 = jl_StringBuilder_toString($var5); nms_Gui_drawString($this, $var8, $var23, ($var6 - nms_FontRenderer_getStringWidth($var8, $var23) | 0) - 2 | 0, 2, 14737632); $var24 = Long_div(Long_mul($var29, Long_fromInt(100)), $var24); $var29 = Long_div(Long_div($var29, Long_fromInt(1024)), Long_fromInt(1024)); $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append($var5, $rt_s(500)), $var24), $rt_s(497)), $var29), $rt_s(501)); $var5 = jl_StringBuilder_toString($var5); nms_Gui_drawString($this, $var8, $var5, ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0, 12, 14737632); $var31 = $this.$mc2.$thePlayer.$posX; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(502)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 64, 14737632); $var31 = $this.$mc2.$thePlayer.$posY; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(503)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 72, 14737632); $var31 = $this.$mc2.$thePlayer.$posZ; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(504)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 80, 14737632); } else nms_FontRenderer_drawStringWithShadow($var8, $rt_s(505), 2, 2, 16777215); $var2 = $this.$field_9419_j; if ($var2 > 0) { $var25 = $var2 - $var1; $var16 = $var25 * 256.0 / 20.0 | 0; if ($var16 > 255) $var16 = 255; if ($var16 > 0) { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var26, $var7 - 48 | 0, 0.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var17 = nms_GuiIngame_hsbToRgb($var25 / 50.0, 0.699999988079071, 0.6000000238418579) & 16777215; $var5 = $this.$field_9420_i; nms_FontRenderer_drawString($var8, $var5, ( -nms_FontRenderer_getStringWidth($var8, $var5) | 0) / 2 | 0, (-4), $var17 + ($var16 << 24) | 0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glPopMatrix(); } } $var26 = 10; $var28 = 0; if ($this.$mc2.$currentScreen instanceof nms_GuiChat) { $var26 = 20; $var28 = 1; } olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var17 = 0; while ($var17 < ju_ArrayList_size($this.$chatMessageList) && $var17 < $var26) { if (!((ju_ArrayList_get($this.$chatMessageList, $var17)).$updateCounter1 >= 200 && !$var28)) { $var31 = (1.0 - (ju_ArrayList_get($this.$chatMessageList, $var17)).$updateCounter1 / 200.0) * 10.0; if ($var31 < 0.0) $var31 = 0.0; if ($var31 > 1.0) $var31 = 1.0; $var20 = 255.0 * $var31 * $var31 | 0; if ($var28) $var20 = 255; if ($var20 > 0) { $var22 = ( -$var17 | 0) * 9 | 0; $var23 = (ju_ArrayList_get($this.$chatMessageList, $var17)).$message0; nms_Gui_drawRect($this, 2, $var22 - 1 | 0, 322, $var22 + 8 | 0, ($var20 / 2 | 0) << 24); olo_EaglerAdapterGL30_glEnable(3042); nms_FontRenderer_drawStringWithShadow($var8, $var23, 2, $var22, 16777215 + ($var20 << 24) | 0); } } $var17 = $var17 + 1 | 0; } olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glDisable(3042); return; } $var16 = ($var3 + ($var15 * 20 | 0) | 0) + 2 | 0; continue main; case 8: a: { $tmp = nms_Entity_isInsideOfMaterial($var5, $var11); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2) { $var2 = jl_Math_ceil(($this.$mc2.$thePlayer.$air - 2 | 0) * 10.0 / 300.0) | 0; $var17_1 = (jl_Math_ceil($this.$mc2.$thePlayer.$air * 10.0 / 300.0) | 0) - $var2 | 0; $var18 = 0; $var3 = $var2 + $var17_1 | 0; $var12 = $var17_0 - 9 | 0; while (true) { if ($var18 >= $var3) break a; if ($var18 >= $var2) nms_Gui_drawTexturedModalRect($this, $var17 + ($var18 * 8 | 0) | 0, $var12, 25, 18, 9, 9); else nms_Gui_drawTexturedModalRect($this, $var17 + ($var18 * 8 | 0) | 0, $var12, 16, 18, 9, 9); $var18 = $var18 + 1 | 0; } } } olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glRotatef(180.0, 1.0, 0.0, 0.0); nms_RenderHelper_enableStandardItemLighting(); olo_EaglerAdapterGL30_glPopMatrix(); $var15 = 0; $var3 = $var26 - 90 | 0; $var17 = ($var7 - 16 | 0) - 3 | 0; if ($var15 >= 9) { nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(32826); if (nlea_EaglerAdapterImpl2_getEventKey() == 33 && nlea_EaglerAdapterImpl2_isKeyDown(4)) { $var5 = $this.$mc2.$field_6292_I; $var11 = jl_StringBuilder__init_0(); jl_StringBuilder_append5(jl_StringBuilder_append(jl_StringBuilder_append($var11, $rt_s(495)), $var5), 41); nms_FontRenderer_drawStringWithShadow($var8, jl_StringBuilder_toString($var11), 2, 2, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6241_m($this.$mc2), 2, 12, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6262_n($this.$mc2), 2, 22, 16777215); nms_FontRenderer_drawStringWithShadow($var8, nmc_Minecraft_func_6245_o($this.$mc2), 2, 32, 16777215); $var24 = nlea_EaglerAdapterImpl2_maxMemory(); $var29 = nlea_EaglerAdapterImpl2_totalMemory(); $var21 = Long_sub($var29, nlea_EaglerAdapterImpl2_freeMemory()); $var30 = Long_div(Long_mul($var21, Long_fromInt(100)), $var24); $var21 = Long_div(Long_div($var21, Long_fromInt(1024)), Long_fromInt(1024)); var$28 = Long_div(Long_div($var24, Long_fromInt(1024)), Long_fromInt(1024)); $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append($var5, $rt_s(496)), $var30), $rt_s(497)), $var21), $rt_s(498)), var$28), $rt_s(499)); $var23 = jl_StringBuilder_toString($var5); nms_Gui_drawString($this, $var8, $var23, ($var6 - nms_FontRenderer_getStringWidth($var8, $var23) | 0) - 2 | 0, 2, 14737632); $var24 = Long_div(Long_mul($var29, Long_fromInt(100)), $var24); $var29 = Long_div(Long_div($var29, Long_fromInt(1024)), Long_fromInt(1024)); $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append(jl_StringBuilder_append2(jl_StringBuilder_append($var5, $rt_s(500)), $var24), $rt_s(497)), $var29), $rt_s(501)); $var5 = jl_StringBuilder_toString($var5); nms_Gui_drawString($this, $var8, $var5, ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0, 12, 14737632); $var31 = $this.$mc2.$thePlayer.$posX; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(502)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 64, 14737632); $var31 = $this.$mc2.$thePlayer.$posY; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(503)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 72, 14737632); $var31 = $this.$mc2.$thePlayer.$posZ; $var5 = jl_StringBuilder__init_0(); jl_StringBuilder_append4(jl_StringBuilder_append($var5, $rt_s(504)), $var31); nms_Gui_drawString($this, $var8, jl_StringBuilder_toString($var5), 2, 80, 14737632); } else nms_FontRenderer_drawStringWithShadow($var8, $rt_s(505), 2, 2, 16777215); $var2 = $this.$field_9419_j; if ($var2 > 0) { $var25 = $var2 - $var1; $var16 = $var25 * 256.0 / 20.0 | 0; if ($var16 > 255) $var16 = 255; if ($var16 > 0) { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var26, $var7 - 48 | 0, 0.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var17 = nms_GuiIngame_hsbToRgb($var25 / 50.0, 0.699999988079071, 0.6000000238418579) & 16777215; $var5 = $this.$field_9420_i; nms_FontRenderer_drawString($var8, $var5, ( -nms_FontRenderer_getStringWidth($var8, $var5) | 0) / 2 | 0, (-4), $var17 + ($var16 << 24) | 0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glPopMatrix(); } } $var26 = 10; $var28 = 0; if ($this.$mc2.$currentScreen instanceof nms_GuiChat) { $var26 = 20; $var28 = 1; } olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var17 = 0; while ($var17 < ju_ArrayList_size($this.$chatMessageList) && $var17 < $var26) { if (!((ju_ArrayList_get($this.$chatMessageList, $var17)).$updateCounter1 >= 200 && !$var28)) { $var31 = (1.0 - (ju_ArrayList_get($this.$chatMessageList, $var17)).$updateCounter1 / 200.0) * 10.0; if ($var31 < 0.0) $var31 = 0.0; if ($var31 > 1.0) $var31 = 1.0; $var20 = 255.0 * $var31 * $var31 | 0; if ($var28) $var20 = 255; if ($var20 > 0) { $var22 = ( -$var17 | 0) * 9 | 0; $var23 = (ju_ArrayList_get($this.$chatMessageList, $var17)).$message0; nms_Gui_drawRect($this, 2, $var22 - 1 | 0, 322, $var22 + 8 | 0, ($var20 / 2 | 0) << 24); olo_EaglerAdapterGL30_glEnable(3042); nms_FontRenderer_drawStringWithShadow($var8, $var23, 2, $var22, 16777215 + ($var20 << 24) | 0); } } $var17 = $var17 + 1 | 0; } olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glDisable(3042); return; } $var16 = ($var3 + ($var15 * 20 | 0) | 0) + 2 | 0; $ptr = 7; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var8, $var6, $var7, $var9, $var10, $var11, $var26, $var17, $var13, $var12, $var14, $var15, $var16, $var17_0, $var20, $var18, $var27, $var19, $var24, $var29, $var21, $var30, var$28, $var23, $var31, $var25, $var28, $var22, $var17_1, $ptr); } function nms_GuiIngame_func_4063_a($this, $var1, $var2) { var var$3, $var3, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glDisable(2929); olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3008); var$3 = 3553; $var3 = $this.$mc2.$renderEngine; var$5 = $rt_s(506); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var3, var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$3, var$6); nms_Tessellator_$callClinit(); $var3 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var3); var$7 = $var2; nms_Tessellator_addVertexWithUV($var3, 0.0, var$7, (-90.0), 0.0, 1.0); var$8 = $var1; nms_Tessellator_addVertexWithUV($var3, var$8, var$7, (-90.0), 1.0, 1.0); nms_Tessellator_addVertexWithUV($var3, var$8, 0.0, (-90.0), 1.0, 0.0); nms_Tessellator_addVertexWithUV($var3, 0.0, 0.0, (-90.0), 0.0, 0.0); nms_Tessellator_draw($var3); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, var$5, var$6, var$7, var$8, $ptr); } function nms_GuiIngame_func_4064_a($this, $var1, $var2, $var3) { var var$4, var$5, $var4, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 1.0 - $var1; if ($var1 < 0.0) $var1 = 0.0; if ($var1 > 1.0) $var1 = 1.0; var$4 = $this.$field_931_c; $this.$field_931_c = var$4 + ($var1 - var$4) * 0.01; olo_EaglerAdapterGL30_glDisable(2929); olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glBlendFunc(0, 769); $var1 = $this.$field_931_c; olo_EaglerAdapterGL30_glColor4f($var1, $var1, $var1, 1.0); var$5 = 3553; $var4 = $this.$mc2.$renderEngine; var$7 = $rt_s(507); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var4, var$7); if ($rt_suspending()) { break main; } var$8 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$5, var$8); nms_Tessellator_$callClinit(); $var4 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var4); var$9 = $var3; nms_Tessellator_addVertexWithUV($var4, 0.0, var$9, (-90.0), 0.0, 1.0); var$10 = $var2; nms_Tessellator_addVertexWithUV($var4, var$10, var$9, (-90.0), 1.0, 1.0); nms_Tessellator_addVertexWithUV($var4, var$10, 0.0, (-90.0), 1.0, 0.0); nms_Tessellator_addVertexWithUV($var4, 0.0, 0.0, (-90.0), 0.0, 0.0); nms_Tessellator_draw($var4); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glBlendFunc(770, 771); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var4, var$7, var$8, var$9, var$10, $ptr); } function nms_GuiIngame_func_4065_b($this, $var1, $var2, $var3) { var $var4, var$5, $var8, var$7, var$8, $var5, $var6, $var7, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var8 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1 * $var1; $var4 = $var1 * $var1 * 0.800000011920929 + 0.20000000298023224; olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glDisable(2929); olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, $var4); var$5 = 3553; $var8 = $this.$mc2.$renderEngine; var$7 = $rt_s(198); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var8, var$7); if ($rt_suspending()) { break main; } var$8 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$5, var$8); nms_Block_$callClinit(); var$5 = nms_Block_portal.$blockIndexInTexture; var$8 = var$5 % 16 | 0; $var4 = var$8 / 16.0; var$5 = var$5 / 16 | 0; $var5 = var$5 / 16.0; $var6 = (var$8 + 1 | 0) / 16.0; $var7 = (var$5 + 1 | 0) / 16.0; nms_Tessellator_$callClinit(); $var8 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var8); var$12 = $var3; var$13 = $var4; var$14 = $var7; nms_Tessellator_addVertexWithUV($var8, 0.0, var$12, (-90.0), var$13, var$14); var$15 = $var2; var$16 = $var6; nms_Tessellator_addVertexWithUV($var8, var$15, var$12, (-90.0), var$16, var$14); var$14 = $var5; nms_Tessellator_addVertexWithUV($var8, var$15, 0.0, (-90.0), var$16, var$14); nms_Tessellator_addVertexWithUV($var8, 0.0, 0.0, (-90.0), var$13, var$14); nms_Tessellator_draw($var8); olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var8, var$7, var$8, $var5, $var6, $var7, var$12, var$13, var$14, var$15, var$16, $ptr); } function nms_GuiIngame_func_554_a($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$mc2.$thePlayer.$inventory0.$mainInventory.data[$var1]; if ($var5 === null) return; $var6 = $var5.$animationsToGo - $var4; $var1 = $rt_compare($var6, 0.0); if ($var1 > 0) { olo_EaglerAdapterGL30_glPushMatrix(); $var7 = 1.0 + $var6 / 5.0; var$8 = $var2 + 8 | 0; $var4 = var$8; var$9 = $var3 + 12 | 0; olo_EaglerAdapterGL30_glTranslatef($var4, var$9, 0.0); olo_EaglerAdapterGL30_glScalef(1.0 / $var7, ($var7 + 1.0) / 2.0, 1.0); olo_EaglerAdapterGL30_glTranslatef( -var$8 | 0, -var$9 | 0, 0.0); } var$10 = nms_GuiIngame_itemRenderer; var$11 = $this.$mc2; var$12 = var$11.$fontRenderer; var$11 = var$11.$renderEngine; $ptr = 1; case 1: nms_RenderItem_renderItemIntoGUI(var$10, var$12, var$11, $var5, $var2, $var3); if ($rt_suspending()) { break main; } if ($var1 > 0) olo_EaglerAdapterGL30_glPopMatrix(); var$12 = nms_GuiIngame_itemRenderer; var$10 = $this.$mc2; nms_RenderItem_renderItemOverlayIntoGUI(var$12, var$10.$fontRenderer, var$10.$renderEngine, $var5, $var2, $var3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, $ptr); } function nms_GuiIngame_func_555_a($this) { var $var1, var$2; $var1 = $this.$field_9419_j; if ($var1 > 0) $this.$field_9419_j = $var1 - 1 | 0; $this.$updateCounter = $this.$updateCounter + 1 | 0; $var1 = 0; while (true) { var$2 = $this.$chatMessageList; if ($var1 >= var$2.$size) break; var$2 = ju_ArrayList_get(var$2, $var1); var$2.$updateCounter1 = var$2.$updateCounter1 + 1 | 0; $var1 = $var1 + 1 | 0; } } function nms_GuiIngame_hsbToRgb($hue, $saturation, $brightness) { var $q, $b, $g, $r, $b_0; $hue = $hue % 1.0 + 1.0; $saturation = jl_Math_min0(1.0, jl_Math_max0(0.0, $saturation)); $brightness = jl_Math_min0(1.0, jl_Math_max0(0.0, $brightness)); $q = $brightness >= 0.5 ? $brightness + $saturation - $brightness * $saturation : $brightness * (1.0 + $saturation); $b = 2.0 * $brightness - $q; if ($hue < 0.1666666716337204) $g = $b + ($q - $b) * 6.0 * $hue; else if ($hue < 0.3333333432674408) { $r = $b - ($q - $b) * 6.0 * ($hue - 0.1666666716337204); $g = $q; $q = $r; } else if ($hue < 0.5) { $hue = ($q - $b) * 6.0 * ($hue - 0.3333333432674408); $g = $q - $hue; $b_0 = $b - $hue; $q = $b; $b = $b_0; } else if ($hue < 0.6666666865348816) { $b_0 = $q - ($q - $b) * 6.0 * ($hue - 0.5); $q = $b; $g = $b; $b = $b_0; } else if ($hue >= 0.8333333134651184) $g = $b - ($q - $b) * 6.0 * ($hue - 0.8333333134651184); else { $r = $b + ($q - $b) * 6.0 * ($hue - 0.6666666865348816); $b_0 = $q; $q = $r; $g = $b; $b = $b_0; } return (jl_Math_max0(0.0, jl_Math_min0(255.0, $q * 255.0)) | 0) << 16 | (jl_Math_max0(0.0, jl_Math_min0(255.0, $g * 255.0)) | 0) << 8 | jl_Math_max0(0.0, jl_Math_min0(255.0, $b * 255.0)) | 0; } function nms_GuiIngame__clinit_() { nms_GuiIngame_itemRenderer = nms_RenderItem__init_0(); } function nms_GuiMainMenu() { var a = this; nms_GuiScreen.call(a); a.$minecraftLogo = null; a.$logoEffects = null; a.$updateCounter2 = 0.0; a.$splashText = null; } var nms_GuiMainMenu_rand = null; function nms_GuiMainMenu__init_0() { var var_0 = new nms_GuiMainMenu(); nms_GuiMainMenu__init_(var_0); return var_0; } function nms_GuiMainMenu__init_($this) { var $var1, $var2, var$3, $$je; nms_GuiScreen__init_($this); $this.$minecraftLogo = $rt_createArrayFromData(jl_String, [$rt_s(508), $rt_s(509), $rt_s(510), $rt_s(511), $rt_s(512)]); $this.$updateCounter2 = 0.0; $this.$splashText = $rt_s(513); a: { try { $var1 = ju_ArrayList__init_0(); $var2 = ji_BufferedReader__init_(ji_InputStreamReader__init_0(jl_Class_getResourceAsStream($rt_cls(nms_GuiMainMenu), $rt_s(514)))); while (true) { var$3 = ji_BufferedReader_readLine($var2); if (var$3 === null) break; var$3 = jl_String_trim(var$3); if (jl_String_length(var$3) <= 0) continue; ju_ArrayList_add($var1, var$3); } $this.$splashText = ju_ArrayList_get($var1, ju_Random_nextInt(nms_GuiMainMenu_rand, ju_ArrayList_size($var1))); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } } } function nms_GuiMainMenu_updateScreen($this) { var var$1, $var1, var$3, $var2, var$5, var$6, var$7, var$8; a: { $this.$updateCounter2 = $this.$updateCounter2 + 1.0; var$1 = $this.$logoEffects; if (var$1 !== null) { $var1 = 0; while (true) { var$3 = var$1.data; if ($var1 >= var$3.length) break a; $var2 = 0; while ($var2 < var$3[$var1].data.length) { var$5 = var$3[$var1].data[$var2]; var$6 = var$5.$field_1312_a; var$5.$field_1311_b = var$6; if (var$6 > 0.0) var$5.$field_1314_c = var$5.$field_1314_c - 0.6; var$7 = var$5.$field_1314_c; var$8 = var$6 + var$7; var$5.$field_1312_a = var$8; var$5.$field_1314_c = var$7 * 0.9; if (var$8 < 0.0) { var$5.$field_1312_a = 0.0; var$5.$field_1314_c = 0.0; } $var2 = $var2 + 1 | 0; } $var1 = $var1 + 1 | 0; } } } } function nms_GuiMainMenu_keyTyped($this, $var1, $var2) {} function nms_GuiMainMenu_initGui($this) { var $var1, var$2; $var1 = ju_Calendar_getInstance(); ju_Calendar_setTimeInMillis($var1, (ju_Date__init_0()).$value3); if ((ju_Calendar_get($var1, 2) + 1 | 0) == 11 && ju_Calendar_get($var1, 5) == 9) $this.$splashText = $rt_s(515); else if ((ju_Calendar_get($var1, 2) + 1 | 0) == 6 && ju_Calendar_get($var1, 5) == 1) $this.$splashText = $rt_s(516); else if ((ju_Calendar_get($var1, 2) + 1 | 0) == 12 && ju_Calendar_get($var1, 5) == 24) $this.$splashText = $rt_s(517); else if ((ju_Calendar_get($var1, 2) + 1 | 0) == 1 && ju_Calendar_get($var1, 5) == 1) $this.$splashText = $rt_s(518); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(1, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 48 | 0, $rt_s(519))); $var1 = $this.$controlList; var$2 = nms_GuiButton__init_(2, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 72 | 0, $rt_s(520)); ju_ArrayList_add($var1, var$2); var$2.$enabled = 0; $var1 = $this.$controlList; var$2 = nms_GuiButton__init_(3, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 96 | 0, $rt_s(521)); ju_ArrayList_add($var1, var$2); var$2.$enabled = 0; ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(0, ($this.$width / 2 | 0) - 100 | 0, (($this.$height0 / 4 | 0) + 120 | 0) + 12 | 0, $rt_s(522))); if ($this.$mc8.$field_6320_i === null) (ju_ArrayList_get($this.$controlList, 1)).$enabled = 0; } function nms_GuiMainMenu_actionPerformed($this, $var1) { var 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();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$var1.$id2) { var$2 = $this.$mc8; var$3 = nms_GuiOptions__init_($this, var$2.$gameSettings); $ptr = 1; continue main; } if ($var1.$id2 != 1) { var$4 = $var1.$id2; return; } var$2 = $this.$mc8; var$3 = nms_GuiSelectWorld__init_($this); $ptr = 2; continue main; case 1: nmc_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($var1.$id2 != 1) { var$4 = $var1.$id2; return; } var$2 = $this.$mc8; var$3 = nms_GuiSelectWorld__init_($this); $ptr = 2; case 2: nmc_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $var1.$id2; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $ptr); } function nms_GuiMainMenu_drawScreen($this, $var1, $var2, $var3) { var $var4, var$5, $var6, var$7, var$8, var$9, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } nms_Tessellator_$callClinit(); $var4 = nms_Tessellator_instance; $ptr = 2; case 2: nms_GuiMainMenu_drawLogo($this, $var3); if ($rt_suspending()) { break main; } var$5 = 3553; $var6 = $this.$mc8.$renderEngine; var$7 = $rt_s(523); $ptr = 3; case 3: $tmp = nms_RenderEngine_getTexture($var6, var$7); if ($rt_suspending()) { break main; } var$8 = $tmp; olo_EaglerAdapterGL30_glBindTexture(var$5, var$8); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_Tessellator_setColorOpaque_I($var4, 16777215); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef(($this.$width / 2 | 0) + 90 | 0, 70.0, 0.0); olo_EaglerAdapterGL30_glRotatef((-20.0), 0.0, 0.0, 1.0); var$9 = nms_MathHelper_sin(Long_toNumber(Long_rem(jl_System_currentTimeMillis(), Long_fromInt(1000))) / 1000.0 * 3.1415927410125732 * 2.0) * 0.10000000149011612; if (var$9 < 0.0) var$9 = -var$9; $var5 = (1.7999999523162842 - var$9) * 100.0 / (nms_FontRenderer_getStringWidth($this.$fontRenderer0, $this.$splashText) + 32 | 0); olo_EaglerAdapterGL30_glScalef($var5, $var5, $var5); nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $this.$splashText, 0, (-8), 16776960); olo_EaglerAdapterGL30_glPopMatrix(); nms_FontRenderer_drawStringWithShadow($this.$fontRenderer0, $rt_s(505), 2, 2, 5263440); $var4 = $this.$fontRenderer0; nms_FontRenderer_drawStringWithShadow($var4, $rt_s(524), ($this.$width - nms_FontRenderer_getStringWidth($var4, $rt_s(524)) | 0) - 2 | 0, $this.$height0 - 10 | 0, 16777215); $ptr = 4; case 4: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var6, var$7, var$8, var$9, $var5, $ptr); } function nms_GuiMainMenu_drawLogo($this, $var1) { var $var2, $var3, var$4, $var14, var$6, $var4, $var5, var$9, $var9, $var6, $var7, $var10, $var11, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();$var14 = $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 ($this.$logoEffects === null) { $this.$logoEffects = $rt_createMultiArray(nms_LogoEffectRandomizer, [$this.$minecraftLogo.data.length, jl_String_length($this.$minecraftLogo.data[0])]); $var2 = 0; while (true) { if ($var2 >= $this.$logoEffects.data.length) break a; $var3 = 0; while (true) { var$4 = $this.$logoEffects.data; if ($var3 >= var$4[$var2].data.length) break; var$4 = var$4[$var2].data; $var14 = new nms_LogoEffectRandomizer; $var14.$mainMenu = $this; var$6 = (10 + $var3 | 0) + ju_Random_nextDouble(nms_GuiMainMenu_rand) * 32.0 + $var2; $var14.$field_1311_b = var$6; $var14.$field_1312_a = var$6; var$4[$var3] = $var14; $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } } } olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glLoadIdentity(); $var14 = new nms_ScaledResolution; $var4 = $this.$mc8; nms_ScaledResolution__init_0($var14, $var4.$displayWidth, $var4.$displayHeight); $var3 = 120 * $var14.$scaleFactor | 0; olo_EaglerAdapterGL30_gluPerspective(70.0, $this.$mc8.$displayWidth / $var3, 0.05000000074505806, 100.0); $var14 = $this.$mc8; olo_EaglerAdapterGL30_glViewport(0, $var14.$displayHeight - $var3 | 0, $var14.$displayWidth, $var3); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glLoadIdentity(); olo_EaglerAdapterGL30_glDisable(2884); olo_EaglerAdapterGL30_glCullFace(1029); olo_EaglerAdapterGL30_glDepthMask(1); $var4 = nms_RenderBlocks__init_1(); $var5 = 0; var$9 = $var1; if ($var5 >= 3) { olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glPopMatrix(); $var14 = $this.$mc8; olo_EaglerAdapterGL30_glViewport(0, 0, $var14.$displayWidth, $var14.$displayHeight); olo_EaglerAdapterGL30_glEnable(2884); return; } olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef(0.4000000059604645, 0.6000000238418579, (-13.0)); if (!$var5) { olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.4000000059604645), 0.0); olo_EaglerAdapterGL30_glScalef(0.9800000190734863, 1.0, 1.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); } if ($var5 == 1) { olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glClear(256); } if ($var5 == 2) { olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(768, 1); } olo_EaglerAdapterGL30_glScalef(1.0, (-1.0), 1.0); olo_EaglerAdapterGL30_glRotatef(15.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.8899999856948853, 1.0, 0.4000000059604645); olo_EaglerAdapterGL30_glTranslatef(( -jl_String_length($this.$minecraftLogo.data[0]) | 0) * 0.5, ( -$this.$minecraftLogo.data.length | 0) * 0.5, 0.0); $var3 = 3553; $var14 = $this.$mc8.$renderEngine; $var9 = $rt_s(198); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var14, $var9); if ($rt_suspending()) { break main; } $var6 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var3, $var6); if (!$var5) { $var3 = 3553; $var14 = $this.$mc8.$renderEngine; $var9 = $rt_s(525); $ptr = 2; continue main; } $var6 = 0; while ($var6 < $this.$minecraftLogo.data.length) { $var7 = 0; while ($var7 < jl_String_length($this.$minecraftLogo.data[$var6])) { if (jl_String_charAt($this.$minecraftLogo.data[$var6], $var7) != 32) { olo_EaglerAdapterGL30_glPushMatrix(); $var9 = $this.$logoEffects.data[$var7].data[$var6]; var$6 = $var9.$field_1311_b; $var10 = var$6 + ($var9.$field_1312_a - var$6) * var$9; $var11 = 1.0; $var12 = 1.0; if (!$var5) { $var11 = $var10 * 0.03999999910593033 + 1.0; $var12 = 1.0 / $var11; $var10 = 0.0; } olo_EaglerAdapterGL30_glTranslatef($var7, $var6, $var10); olo_EaglerAdapterGL30_glScalef($var11, $var11, $var11); olo_EaglerAdapterGL30_glRotatef(0.0, 0.0, 1.0, 0.0); nms_Block_$callClinit(); nms_RenderBlocks_func_1238_a($var4, nms_Block_stone, $var12); olo_EaglerAdapterGL30_glPopMatrix(); } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } olo_EaglerAdapterGL30_glPopMatrix(); $var5 = $var5 + 1 | 0; if ($var5 >= 3) { olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glPopMatrix(); $var14 = $this.$mc8; olo_EaglerAdapterGL30_glViewport(0, 0, $var14.$displayWidth, $var14.$displayHeight); olo_EaglerAdapterGL30_glEnable(2884); return; } olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef(0.4000000059604645, 0.6000000238418579, (-13.0)); if (!$var5) { olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.4000000059604645), 0.0); olo_EaglerAdapterGL30_glScalef(0.9800000190734863, 1.0, 1.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); } if ($var5 == 1) { olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glClear(256); } if ($var5 == 2) { olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(768, 1); } olo_EaglerAdapterGL30_glScalef(1.0, (-1.0), 1.0); olo_EaglerAdapterGL30_glRotatef(15.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.8899999856948853, 1.0, 0.4000000059604645); olo_EaglerAdapterGL30_glTranslatef(( -jl_String_length($this.$minecraftLogo.data[0]) | 0) * 0.5, ( -$this.$minecraftLogo.data.length | 0) * 0.5, 0.0); $var3 = 3553; $var14 = $this.$mc8.$renderEngine; $var9 = $rt_s(198); continue main; case 2: $tmp = nms_RenderEngine_getTexture($var14, $var9); if ($rt_suspending()) { break main; } $var6 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var3, $var6); $var6 = 0; while ($var6 < $this.$minecraftLogo.data.length) { $var7 = 0; while ($var7 < jl_String_length($this.$minecraftLogo.data[$var6])) { if (jl_String_charAt($this.$minecraftLogo.data[$var6], $var7) != 32) { olo_EaglerAdapterGL30_glPushMatrix(); $var9 = $this.$logoEffects.data[$var7].data[$var6]; var$6 = $var9.$field_1311_b; $var10 = var$6 + ($var9.$field_1312_a - var$6) * var$9; $var11 = 1.0; $var12 = 1.0; if (!$var5) { $var11 = $var10 * 0.03999999910593033 + 1.0; $var12 = 1.0 / $var11; $var10 = 0.0; } olo_EaglerAdapterGL30_glTranslatef($var7, $var6, $var10); olo_EaglerAdapterGL30_glScalef($var11, $var11, $var11); olo_EaglerAdapterGL30_glRotatef(0.0, 0.0, 1.0, 0.0); nms_Block_$callClinit(); nms_RenderBlocks_func_1238_a($var4, nms_Block_stone, $var12); olo_EaglerAdapterGL30_glPopMatrix(); } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } olo_EaglerAdapterGL30_glPopMatrix(); $var5 = $var5 + 1 | 0; if ($var5 >= 3) { olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glMatrixMode(5889); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glMatrixMode(5888); olo_EaglerAdapterGL30_glPopMatrix(); $var14 = $this.$mc8; olo_EaglerAdapterGL30_glViewport(0, 0, $var14.$displayWidth, $var14.$displayHeight); olo_EaglerAdapterGL30_glEnable(2884); return; } olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef(0.4000000059604645, 0.6000000238418579, (-13.0)); if (!$var5) { olo_EaglerAdapterGL30_glClear(256); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.4000000059604645), 0.0); olo_EaglerAdapterGL30_glScalef(0.9800000190734863, 1.0, 1.0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); } if ($var5 == 1) { olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glClear(256); } if ($var5 == 2) { olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(768, 1); } olo_EaglerAdapterGL30_glScalef(1.0, (-1.0), 1.0); olo_EaglerAdapterGL30_glRotatef(15.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.8899999856948853, 1.0, 0.4000000059604645); olo_EaglerAdapterGL30_glTranslatef(( -jl_String_length($this.$minecraftLogo.data[0]) | 0) * 0.5, ( -$this.$minecraftLogo.data.length | 0) * 0.5, 0.0); $var3 = 3553; $var14 = $this.$mc8.$renderEngine; $var9 = $rt_s(198); $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var14, var$6, $var4, $var5, var$9, $var9, $var6, $var7, $var10, $var11, $var12, $ptr); } function nms_GuiMainMenu__clinit_() { nms_GuiMainMenu_rand = new ju_Random; } var oli_Mouse = $rt_classWithoutFields(olo_GL11); function oli_Mouse__init_0() { var var_0 = new oli_Mouse(); oli_Mouse__init_(var_0); return var_0; } function oli_Mouse__init_($this) { olo_EaglerAdapterGL30__init_($this); } function oli_Mouse_next() { var var$1, var$2; a: { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; if (!ju_AbstractCollection_isEmpty(nlea_EaglerAdapterImpl2_mouseEvents)) { var$1 = otji_JSWrapper_unwrap(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 oli_Mouse_getEventButtonState() { var var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEvent; return var$1 === null ? 0 : jl_String_equals($rt_str(var$1.type), $rt_s(526)); } function oli_Mouse_getEventX() { var var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEvent; return var$1 === null ? (-1) : var$1.clientX; } function oli_Mouse_getEventY() { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_currentEvent === null ? (-1) : nlea_EaglerAdapterImpl2_canvas.clientHeight - nlea_EaglerAdapterImpl2_currentEvent.clientY | 0; } function oli_Mouse_getEventButton() { var var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEvent; if (var$1 === null) var$2 = (-1); else { var$2 = var$1.button; if (var$2 == 1) var$2 = 2; else if (var$2 == 2) var$2 = 1; } return var$2; } function oli_Mouse_setGrabbed($b) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_needsPointerLock = $b; if ($b) { nlea_EaglerAdapterImpl2_mouseDX = 0.0; nlea_EaglerAdapterImpl2_mouseDY = 0.0; $rt_globals.setTimeout(otji_JS_function(new nlea_EaglerAdapterImpl2$14, "onTimer"), 200); } else { nlea_EaglerAdapterImpl2_mouseUngrabTimer = jl_System_currentTimeMillis(); $b = nlea_EaglerAdapterImpl2_mouseUngrabTimeout; if ($b) $rt_globals.clearTimeout($b); nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; nlea_EaglerAdapterImpl2_doc.exitPointerLock(); } } function oli_Mouse_isButtonDown($i) { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_buttonStates.data[$i]; } function oli_Mouse_getEventDWheel() { nlea_EaglerAdapterImpl2_$callClinit(); return !jl_String_equals($rt_s(527), $rt_str(nlea_EaglerAdapterImpl2_currentEvent.type)) ? 0 : nlea_EaglerAdapterImpl2_currentEvent.deltaY === 0.0 ? 0 : nlea_EaglerAdapterImpl2_currentEvent.deltaY <= 0.0 ? 1 : (-1); } function nms_Entity() { var a = this; jl_Object.call(a); a.$field_620_ab = 0; a.$field_619_ac = 0.0; a.$field_618_ad = 0; a.$riddenByEntity = null; a.$ridingEntity = null; a.$worldObj0 = null; a.$prevPosX = 0.0; a.$prevPosY = 0.0; a.$prevPosZ = 0.0; a.$posX = 0.0; a.$posY = 0.0; a.$posZ = 0.0; a.$motionX = 0.0; a.$motionY = 0.0; a.$motionZ = 0.0; a.$rotationYaw = 0.0; a.$rotationPitch = 0.0; a.$prevRotationYaw = 0.0; a.$prevRotationPitch = 0.0; a.$boundingBox = null; a.$onGround = 0; a.$field_9297_aI = 0; a.$field_9296_aJ = 0; a.$field_9295_aK = 0; a.$field_9294_aL = 0; a.$field_9293_aM = 0; a.$isDead = 0; a.$yOffset = 0.0; a.$width0 = 0.0; a.$height = 0.0; a.$field_9291_aR = 0.0; a.$field_9290_aS = 0.0; a.$entityWalks = 0; a.$fallDistance = 0.0; a.$field_863_b = 0; a.$lastTickPosX = 0.0; a.$lastTickPosY = 0.0; a.$lastTickPosZ = 0.0; a.$field_9287_aY = 0.0; a.$field_9286_aZ = 0.0; a.$field_9314_ba = 0; a.$field_632_aO = 0.0; a.$field_9313_bc = 0; a.$rand2 = null; a.$field_9311_be = 0; a.$field_9310_bf = 0; a.$fire = 0; a.$field_9308_bh = 0; a.$field_9307_bi = 0; a.$field_9306_bj = 0; a.$air = 0; a.$field_862_c = 0; a.$skinUrl = null; a.$isImmuneToFire = 0; a.$minecartType = 0.0; a.$field_667_e = 0.0; a.$field_621_aZ = 0; a.$field_657_ba = 0; a.$field_656_bb = 0; a.$field_654_bc = 0; a.$field_9300_bu = 0; a.$field_9299_bv = 0; a.$field_12240_bw = 0; } var nms_Entity_field_864_a = 0; function nms_Entity__init_($this, $var1) { var var$2; var$2 = nms_Entity_field_864_a; nms_Entity_field_864_a = var$2 + 1 | 0; $this.$field_620_ab = var$2; $this.$field_619_ac = 1.0; $this.$field_618_ad = 0; $this.$boundingBox = nms_AxisAlignedBB_getBoundingBox(0.0, 0.0, 0.0, 0.0, 0.0, 0.0); $this.$onGround = 0; $this.$field_9295_aK = 0; $this.$field_9294_aL = 0; $this.$field_9293_aM = 1; $this.$isDead = 0; $this.$yOffset = 0.0; $this.$width0 = 0.6000000238418579; $this.$height = 1.7999999523162842; $this.$field_9291_aR = 0.0; $this.$field_9290_aS = 0.0; $this.$entityWalks = 1; $this.$fallDistance = 0.0; $this.$field_863_b = 1; $this.$field_9287_aY = 0.0; $this.$field_9286_aZ = 0.0; $this.$field_9314_ba = 0; $this.$field_632_aO = 0.0; $this.$field_9313_bc = 0; $this.$rand2 = new ju_Random; $this.$field_9311_be = 0; $this.$field_9310_bf = 1; $this.$fire = 0; $this.$field_9308_bh = 300; $this.$field_9307_bi = 0; $this.$field_9306_bj = 0; $this.$air = 300; $this.$field_862_c = 1; $this.$isImmuneToFire = 0; $this.$field_621_aZ = 0; $this.$worldObj0 = $var1; nms_Entity_setPosition($this, 0.0, 0.0, 0.0); } function nms_Entity_equals($this, $var1) { return !($var1 instanceof nms_Entity) ? 0 : $var1.$field_620_ab != $this.$field_620_ab ? 0 : 1; } function nms_Entity_hashCode($this) { return $this.$field_620_ab; } function nms_Entity_setEntityDead($this) { $this.$isDead = 1; } function nms_Entity_setSize($this, $var1, $var2) { $this.$width0 = $var1; $this.$height = $var2; } function nms_Entity_setRotation($this, $var1, $var2) { $this.$rotationYaw = $var1; $this.$rotationPitch = $var2; } function nms_Entity_setPosition($this, $var1, $var3, $var5) { var $var7, $var8, var$6, var$7, var$8; $this.$posX = $var1; $this.$posY = $var3; $this.$posZ = $var5; $var7 = $this.$width0 / 2.0; $var8 = $this.$height; var$6 = $this.$boundingBox; var$7 = $var7; var$8 = $var1 - var$7; $var3 = $var3 - $this.$yOffset + $this.$field_9287_aY; nms_AxisAlignedBB_setBounds(var$6, var$8, $var3, $var5 - var$7, $var1 + var$7, $var3 + $var8, $var5 + var$7); } function nms_Entity_onUpdate($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: $ptr = 1; case 1: $this.$func_391_y(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_Entity_func_391_y($this) { var var$1, $var3, var$3, var$4, $var1, $var2, var$7, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$ridingEntity; if (var$1 !== null && var$1.$isDead) $this.$ridingEntity = null; $this.$field_9311_be = $this.$field_9311_be + 1 | 0; $this.$field_9291_aR = $this.$field_9290_aS; $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $this.$prevRotationPitch = $this.$rotationPitch; $this.$prevRotationYaw = $this.$rotationYaw; $ptr = 1; case 1: $tmp = $this.$handleWaterMovement(); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) $this.$field_9307_bi = 0; else { a: { if (!$this.$field_9307_bi && !$this.$field_862_c) { var$3 = $this.$motionX; var$3 = var$3 * var$3 * 0.20000000298023224; var$4 = $this.$motionY; var$3 = var$3 + var$4 * var$4; var$4 = $this.$motionZ; $var1 = nms_MathHelper_sqrt_double(var$3 + var$4 * var$4 * 0.20000000298023224) * 0.20000000298023224; if ($var1 > 1.0) $var1 = 1.0; nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(528), $var1, 1.0 + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.4000000059604645); $var2 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var3 = 0; var$7 = $var2 + 1.0; while ($var3 < 1.0 + $this.$width0 * 20.0) { $var4 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; $var5 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; nms_World_spawnParticle($this.$worldObj0, $rt_s(487), $this.$posX + $var4, var$7, $this.$posZ + $var5, $this.$motionX, $this.$motionY - ju_Random_nextFloat($this.$rand2) * 0.20000000298023224, $this.$motionZ); $var3 = $var3 + 1 | 0; } $var3 = 0; while (true) { if ($var3 >= 1.0 + $this.$width0 * 20.0) break a; $var4 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; $var5 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; nms_World_spawnParticle($this.$worldObj0, $rt_s(489), $this.$posX + $var4, var$7, $this.$posZ + $var5, $this.$motionX, $this.$motionY, $this.$motionZ); $var3 = $var3 + 1 | 0; } } } $this.$fallDistance = 0.0; $this.$field_9307_bi = 1; $this.$fire = 0; } $var3 = $this.$fire; if ($var3 > 0) { if ($this.$isImmuneToFire) { $var3 = $var3 - 4 | 0; $this.$fire = $var3; if ($var3 < 0) $this.$fire = 0; } else { if (!($var3 % 20 | 0)) { var$1 = null; $var3 = 1; $ptr = 5; continue main; } $this.$fire = $this.$fire - 1 | 0; } } $ptr = 2; case 2: $tmp = nms_Entity_handleLavaMovement($this); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3) { $ptr = 3; continue main; } if ($this.$posY >= (-64.0)) { $this.$field_862_c = 0; return; } $ptr = 4; continue main; case 3: nms_Entity_func_4038_J($this); if ($rt_suspending()) { break main; } if ($this.$posY >= (-64.0)) { $this.$field_862_c = 0; return; } $ptr = 4; case 4: $this.$func_4034_G(); if ($rt_suspending()) { break main; } $this.$field_862_c = 0; return; case 5: $this.$canAttackEntity(var$1, $var3); if ($rt_suspending()) { break main; } $this.$fire = $this.$fire - 1 | 0; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var3, var$3, var$4, $var1, $var2, var$7, $var4, $var5, $ptr); } function nms_Entity_func_4038_J($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: if ($this.$isImmuneToFire) return; var$1 = null; var$2 = 4; $ptr = 1; case 1: $this.$canAttackEntity(var$1, var$2); if ($rt_suspending()) { break main; } $this.$fire = 600; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); } function nms_Entity_func_4034_G($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: $ptr = 1; case 1: $this.$setEntityDead0(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_Entity_func_403_b($this, $var1, $var3, $var5) { var $var7, $var8, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = nms_AxisAlignedBB_getOffsetBoundingBox($this.$boundingBox, $var1, $var3, $var5); $var8 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var8, $this, $var7); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8.$size > 0) return 0; $var8 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getIsAnyLiquid($var8, $var7); if ($rt_suspending()) { break main; } var$6 = $tmp; return var$6 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var7, $var8, var$6, $ptr); } function nms_Entity_moveEntity($this, $var1, $var3, $var5) { var $var27, $var7, $var9, $var17, $var18, var$9, var$10, $var19, $var36, $var29, $var35, $var20, var$16, $var21, var$18, $var37, $var23, $var28, $var31, $var38, $var26, $var40, $var41, $var30, $var32, $var33, $var39, $var34, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var34 = $thread.pop();$var39 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();$var30 = $thread.pop();$var41 = $thread.pop();$var40 = $thread.pop();$var26 = $thread.pop();$var38 = $thread.pop();$var31 = $thread.pop();$var28 = $thread.pop();$var23 = $thread.pop();$var37 = $thread.pop();var$18 = $thread.pop();$var21 = $thread.pop();var$16 = $thread.pop();$var20 = $thread.pop();$var35 = $thread.pop();$var29 = $thread.pop();$var36 = $thread.pop();$var19 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var27 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$field_9314_ba) { nms_AxisAlignedBB_offset($this.$boundingBox, $var1, $var3, $var5); $var27 = $this.$boundingBox; $this.$posX = ($var27.$minX + $var27.$maxX0) / 2.0; $this.$posY = $var27.$minY0 + $this.$yOffset - $this.$field_9287_aY; $this.$posZ = ($var27.$minZ0 + $var27.$maxZ0) / 2.0; return; } $var7 = $this.$posX; $var9 = $this.$posZ; $var17 = nms_AxisAlignedBB_copy($this.$boundingBox); $var18 = $this.$onGround && $this.$func_381_o() ? 1 : 0; if (!$var18) { var$9 = $var1; var$10 = $var5; } else { $var19 = 0.05; var$9 = $var1; $var36 = $rt_compare($var1, 0.0); if ($var36) { $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_getOffsetBoundingBox($this.$boundingBox, $var1, (-1.0), 0.0); $ptr = 2; continue main; } var$10 = $var5; $var36 = $rt_compare($var5, 0.0); if ($var36) { $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_getOffsetBoundingBox($this.$boundingBox, 0.0, (-1.0), $var5); $ptr = 3; continue main; } } $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $var1, $var3, $var5); $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var27, $this, $var29); if ($rt_suspending()) { break main; } $var35 = $tmp; $var20 = 0; var$16 = $var3; while ($var20 < ju_ArrayList_size($var35)) { var$16 = nms_AxisAlignedBB_func_1172_b(ju_ArrayList_get($var35, $var20), $this.$boundingBox, var$16); $var20 = $var20 + 1 | 0; } nms_AxisAlignedBB_offset($this.$boundingBox, 0.0, var$16, 0.0); if (!$this.$field_9293_aM && $var3 !== var$16) { $var1 = 0.0; $var5 = $var1; var$16 = $var1; } a: { b: { if (!$this.$onGround) { if ($var3 === var$16) break b; if ($var3 >= 0.0) break b; } $var36 = 1; break a; } $var36 = 0; } $var21 = 0; while ($var21 < ju_ArrayList_size($var35)) { $var1 = nms_AxisAlignedBB_func_1163_a(ju_ArrayList_get($var35, $var21), $this.$boundingBox, $var1); $var21 = $var21 + 1 | 0; } nms_AxisAlignedBB_offset($this.$boundingBox, $var1, 0.0, 0.0); if (!$this.$field_9293_aM && var$9 !== $var1) { $var1 = 0.0; $var5 = $var1; var$16 = $var1; } $var21 = 0; while ($var21 < ju_ArrayList_size($var35)) { $var5 = nms_AxisAlignedBB_func_1162_c(ju_ArrayList_get($var35, $var21), $this.$boundingBox, $var5); $var21 = $var21 + 1 | 0; } nms_AxisAlignedBB_offset($this.$boundingBox, 0.0, 0.0, $var5); if (!$this.$field_9293_aM && var$10 !== $var5) { $var1 = 0.0; $var5 = $var1; var$16 = $var1; } c: { var$18 = $this.$field_9286_aZ; if (var$18 <= 0.0) { $var19 = $var1; $var37 = var$16; $var23 = $var5; } else if (!$var36) { $var19 = $var1; $var37 = var$16; $var23 = $var5; } else if ($this.$field_9287_aY >= 0.05000000074505806) { $var19 = $var1; $var37 = var$16; $var23 = $var5; } else { if (var$9 !== $var1) break c; if (var$10 !== $var5) break c; $var19 = $var1; $var37 = var$16; $var23 = $var5; } $var27 = $this.$boundingBox; $this.$posX = ($var27.$minX + $var27.$maxX0) / 2.0; $this.$posY = $var27.$minY0 + $this.$yOffset - $this.$field_9287_aY; $this.$posZ = ($var27.$minZ0 + $var27.$maxZ0) / 2.0; $var36 = $rt_compare(var$9, $var19); $var21 = !$var36 && var$10 === $var23 ? 0 : 1; $this.$field_9297_aI = $var21; $var20 = $rt_compare($var3, $var37); $var28 = !$var20 ? 0 : 1; $this.$field_9296_aJ = $var28; $var31 = $var20 && $var3 < 0.0 ? 1 : 0; $this.$onGround = $var31; $this.$field_9295_aK = !$var21 && !$var28 ? 0 : 1; $ptr = 5; continue main; } $var37 = var$18; $var27 = nms_AxisAlignedBB_copy($this.$boundingBox); nms_AxisAlignedBB_setBB($this.$boundingBox, $var17); $var29 = $this.$worldObj0; $var17 = nms_AxisAlignedBB_addCoord($this.$boundingBox, var$9, $var37, var$10); $ptr = 4; continue main; case 2: $tmp = nms_World_getCollidingBoundingBoxes($var27, $this, $var29); if ($rt_suspending()) { break main; } $var27 = $tmp; if (ju_ArrayList_size($var27)) var$10 = $var5; else { $var1 = $var1 < $var19 && $var1 >= (-0.05) ? 0.0 : $var36 <= 0 ? $var1 + $var19 : $var1 - $var19; var$9 = $var1; $var36 = $rt_compare($var1, 0.0); if ($var36) { $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_getOffsetBoundingBox($this.$boundingBox, $var1, (-1.0), 0.0); continue main; } var$10 = $var5; } $var36 = $rt_compare($var5, 0.0); if (!$var36) { $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $var1, $var3, $var5); $ptr = 1; continue main; } $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_getOffsetBoundingBox($this.$boundingBox, 0.0, (-1.0), $var5); $ptr = 3; case 3: $tmp = nms_World_getCollidingBoundingBoxes($var27, $this, $var29); if ($rt_suspending()) { break main; } $var27 = $tmp; if (!ju_ArrayList_size($var27)) { $var5 = $var5 < $var19 && $var5 >= (-0.05) ? 0.0 : $var36 <= 0 ? $var5 + $var19 : $var5 - $var19; var$10 = $var5; $var36 = $rt_compare($var5, 0.0); if ($var36) { $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_getOffsetBoundingBox($this.$boundingBox, 0.0, (-1.0), $var5); continue main; } } $var27 = $this.$worldObj0; $var29 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $var1, $var3, $var5); $ptr = 1; continue main; case 4: $tmp = nms_World_getCollidingBoundingBoxes($var29, $this, $var17); if ($rt_suspending()) { break main; } $var35 = $tmp; $var28 = 0; while ($var28 < ju_ArrayList_size($var35)) { $var37 = nms_AxisAlignedBB_func_1172_b(ju_ArrayList_get($var35, $var28), $this.$boundingBox, $var37); $var28 = $var28 + 1 | 0; } nms_AxisAlignedBB_offset($this.$boundingBox, 0.0, $var37, 0.0); if ($this.$field_9293_aM) { $var23 = var$10; $var19 = var$9; } else if ($var3 === $var37) { $var23 = var$10; $var19 = var$9; } else { $var19 = 0.0; $var23 = $var19; $var37 = $var19; } $var21 = 0; while ($var21 < ju_ArrayList_size($var35)) { $var19 = nms_AxisAlignedBB_func_1163_a(ju_ArrayList_get($var35, $var21), $this.$boundingBox, $var19); $var21 = $var21 + 1 | 0; } nms_AxisAlignedBB_offset($this.$boundingBox, $var19, 0.0, 0.0); if (!$this.$field_9293_aM && var$9 !== $var19) { $var19 = 0.0; $var23 = $var19; $var37 = $var19; } $var21 = 0; while ($var21 < ju_ArrayList_size($var35)) { $var23 = nms_AxisAlignedBB_func_1162_c(ju_ArrayList_get($var35, $var21), $this.$boundingBox, $var23); $var21 = $var21 + 1 | 0; } nms_AxisAlignedBB_offset($this.$boundingBox, 0.0, 0.0, $var23); if (!$this.$field_9293_aM && var$10 !== $var23) { $var19 = 0.0; $var23 = $var19; $var37 = $var19; } if ($var1 * $var1 + $var5 * $var5 >= $var19 * $var19 + $var23 * $var23) { nms_AxisAlignedBB_setBB($this.$boundingBox, $var27); $var19 = $var1; $var37 = var$16; $var23 = $var5; } else $this.$field_9287_aY = $this.$field_9287_aY + 0.5; $var27 = $this.$boundingBox; $this.$posX = ($var27.$minX + $var27.$maxX0) / 2.0; $this.$posY = $var27.$minY0 + $this.$yOffset - $this.$field_9287_aY; $this.$posZ = ($var27.$minZ0 + $var27.$maxZ0) / 2.0; $var36 = $rt_compare(var$9, $var19); $var21 = !$var36 && var$10 === $var23 ? 0 : 1; $this.$field_9297_aI = $var21; $var20 = $rt_compare($var3, $var37); $var28 = !$var20 ? 0 : 1; $this.$field_9296_aJ = $var28; $var31 = $var20 && $var3 < 0.0 ? 1 : 0; $this.$onGround = $var31; $this.$field_9295_aK = !$var21 && !$var28 ? 0 : 1; $ptr = 5; case 5: nms_Entity_func_9279_a($this, $var37, $var31); if ($rt_suspending()) { break main; } if ($var36) $this.$motionX = 0.0; if ($var20) $this.$motionY = 0.0; if (var$10 !== $var23) $this.$motionZ = 0.0; $var37 = $this.$posX - $var7; $var23 = $this.$posZ - $var9; if ($this.$entityWalks && !$var18) { $this.$field_9290_aS = $this.$field_9290_aS + nms_MathHelper_sqrt_double($var37 * $var37 + $var23 * $var23) * 0.6; $var38 = nms_MathHelper_floor_double($this.$posX); $var26 = nms_MathHelper_floor_double($this.$posY - 0.20000000298023224 - $this.$yOffset); $var40 = nms_MathHelper_floor_double($this.$posZ); $var27 = $this.$worldObj0; $ptr = 6; continue main; } $var31 = nms_MathHelper_floor_double($this.$boundingBox.$minX); $var26 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var40 = nms_MathHelper_floor_double($this.$boundingBox.$minZ0); $var28 = nms_MathHelper_floor_double($this.$boundingBox.$maxX0); $var41 = nms_MathHelper_floor_double($this.$boundingBox.$maxY0); $var30 = nms_MathHelper_floor_double($this.$boundingBox.$maxZ0); b: while (true) { if ($var31 > $var28) { $this.$field_9287_aY = $this.$field_9287_aY * 0.4000000059604645; $ptr = 7; continue main; } $var32 = $var26; while ($var32 <= $var41) { $var33 = $var40; if ($var33 <= $var30) break b; $var32 = $var32 + 1 | 0; } $var31 = $var31 + 1 | 0; } $var27 = $this.$worldObj0; $ptr = 12; continue main; case 6: $tmp = nms_World_getBlockId($var27, $var38, $var26, $var40); if ($rt_suspending()) { break main; } $var28 = $tmp; var$18 = $this.$field_9290_aS; $var36 = $this.$field_863_b; if (var$18 > $var36 && $var28 > 0) { $this.$field_863_b = $var36 + 1 | 0; nms_Block_$callClinit(); $var29 = nms_Block_blocksList.data[$var28].$stepSound; $var27 = $this.$worldObj0; $var36 = $var26 + 1 | 0; $ptr = 10; continue main; } $var31 = nms_MathHelper_floor_double($this.$boundingBox.$minX); $var26 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var40 = nms_MathHelper_floor_double($this.$boundingBox.$minZ0); $var28 = nms_MathHelper_floor_double($this.$boundingBox.$maxX0); $var41 = nms_MathHelper_floor_double($this.$boundingBox.$maxY0); $var30 = nms_MathHelper_floor_double($this.$boundingBox.$maxZ0); d: while (true) { if ($var31 > $var28) { $this.$field_9287_aY = $this.$field_9287_aY * 0.4000000059604645; $ptr = 7; continue main; } $var32 = $var26; while ($var32 <= $var41) { $var33 = $var40; if ($var33 <= $var30) break d; $var32 = $var32 + 1 | 0; } $var31 = $var31 + 1 | 0; } $var27 = $this.$worldObj0; $ptr = 12; continue main; case 7: $tmp = $this.$handleWaterMovement(); if ($rt_suspending()) { break main; } $var39 = $tmp; $var27 = $this.$worldObj0; $var29 = $this.$boundingBox; $ptr = 8; case 8: $tmp = nms_World_isBoundingBoxBurning($var27, $var29); if ($rt_suspending()) { break main; } $var36 = $tmp; if (!$var36) { if ($this.$fire <= 0) $this.$fire = -$this.$field_9310_bf | 0; if ($var39 && $this.$fire > 0) { nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(197), 0.699999988079071, 1.600000023841858 + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.4000000059604645); $this.$fire = -$this.$field_9310_bf | 0; } return; } $var36 = 1; $ptr = 9; case 9: $this.$func_355_a($var36); if ($rt_suspending()) { break main; } if (!$var39) { $var36 = $this.$fire + 1 | 0; $this.$fire = $var36; if (!$var36) $this.$fire = 300; } if ($var39 && $this.$fire > 0) { nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(197), 0.699999988079071, 1.600000023841858 + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.4000000059604645); $this.$fire = -$this.$field_9310_bf | 0; } return; case 10: $tmp = nms_World_getBlockId($var27, $var38, $var36, $var40); if ($rt_suspending()) { break main; } $var36 = $tmp; $var27 = nms_Block_snow; if ($var36 == $var27.$blockID) { $var27 = $var27.$stepSound; nms_World_playSoundAtEntity($this.$worldObj0, $this, nms_StepSound_func_1145_d($var27), nms_StepSound_func_1147_b($var27) * 0.15000000596046448, nms_StepSound_func_1144_c($var27)); } else if (!nms_Block_blocksList.data[$var28].$blockMaterial.$getIsLiquid()) nms_World_playSoundAtEntity($this.$worldObj0, $this, nms_StepSound_func_1145_d($var29), nms_StepSound_func_1147_b($var29) * 0.15000000596046448, nms_StepSound_func_1144_c($var29)); $var27 = nms_Block_blocksList.data[$var28]; $var29 = $this.$worldObj0; $ptr = 11; case 11: $var27.$onEntityWalking($var29, $var38, $var26, $var40, $this); if ($rt_suspending()) { break main; } $var31 = nms_MathHelper_floor_double($this.$boundingBox.$minX); $var26 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var40 = nms_MathHelper_floor_double($this.$boundingBox.$minZ0); $var28 = nms_MathHelper_floor_double($this.$boundingBox.$maxX0); $var41 = nms_MathHelper_floor_double($this.$boundingBox.$maxY0); $var30 = nms_MathHelper_floor_double($this.$boundingBox.$maxZ0); e: while (true) { if ($var31 > $var28) { $this.$field_9287_aY = $this.$field_9287_aY * 0.4000000059604645; $ptr = 7; continue main; } $var32 = $var26; while ($var32 <= $var41) { $var33 = $var40; if ($var33 <= $var30) break e; $var32 = $var32 + 1 | 0; } $var31 = $var31 + 1 | 0; } $var27 = $this.$worldObj0; $ptr = 12; case 12: $tmp = nms_World_getBlockId($var27, $var31, $var32, $var33); if ($rt_suspending()) { break main; } $var34 = $tmp; if ($var34 > 0) { nms_Block_$callClinit(); $var27 = nms_Block_blocksList.data[$var34]; $var29 = $this.$worldObj0; $ptr = 13; continue main; } $var33 = $var33 + 1 | 0; while ($var33 > $var30) { $var32 = $var32 + 1 | 0; while ($var32 > $var41) { $var31 = $var31 + 1 | 0; if ($var31 > $var28) { $this.$field_9287_aY = $this.$field_9287_aY * 0.4000000059604645; $ptr = 7; continue main; } $var32 = $var26; } $var33 = $var40; } $var27 = $this.$worldObj0; continue main; case 13: $var27.$onEntityCollidedWithBlock($var29, $var31, $var32, $var33, $this); if ($rt_suspending()) { break main; } $var33 = $var33 + 1 | 0; while ($var33 > $var30) { $var32 = $var32 + 1 | 0; while ($var32 > $var41) { $var31 = $var31 + 1 | 0; if ($var31 > $var28) { $this.$field_9287_aY = $this.$field_9287_aY * 0.4000000059604645; $ptr = 7; continue main; } $var32 = $var26; } $var33 = $var40; } $var27 = $this.$worldObj0; $ptr = 12; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var27, $var7, $var9, $var17, $var18, var$9, var$10, $var19, $var36, $var29, $var35, $var20, var$16, $var21, var$18, $var37, $var23, $var28, $var31, $var38, $var26, $var40, $var41, $var30, $var32, $var33, $var39, $var34, $ptr); } function nms_Entity_func_9279_a($this, $var1, $var3) { var var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var3) { var$3 = $this.$fallDistance; if (var$3 > 0.0) { $ptr = 1; continue main; } } else if ($var1 < 0.0) $this.$fallDistance = $this.$fallDistance - $var1; return; case 1: $this.$fall(var$3); if ($rt_suspending()) { break main; } $this.$fallDistance = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, var$3, $ptr); } function nms_Entity_func_381_o($this) { return 0; } function nms_Entity_func_372_f_($this) { return null; } function nms_Entity_func_355_a($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.$isImmuneToFire) return; var$2 = null; $ptr = 1; case 1: $this.$canAttackEntity(var$2, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_Entity_fall($this, $var1) {} function nms_Entity_handleWaterMovement($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; var$2 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.0, (-0.4000000059604645), 0.0); nms_Material_$callClinit(); var$3 = nms_Material_water; $ptr = 1; case 1: $tmp = nms_World_func_682_a(var$1, var$2, var$3, $this); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_Entity_isInsideOfMaterial($this, $var1) { var $var2, $var4, $var5, $var6, var$6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();var$6 = $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: $var2 = $this.$posY + $this.$func_373_s(); $var4 = nms_MathHelper_floor_double($this.$posX); $var5 = nms_MathHelper_floor_float(nms_MathHelper_floor_double($var2)); $var6 = nms_MathHelper_floor_double($this.$posZ); var$6 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$6, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var7].$blockMaterial === $var1) { $var1 = $this.$worldObj0; $ptr = 2; continue main; } } return 0; case 2: $tmp = nms_World_getBlockMetadata($var1, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var4 = $tmp; return $var2 >= ($var5 + 1 | 0) - (nms_BlockFluids_func_288_b($var4) - 0.1111111119389534) ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var5, $var6, var$6, $var7, $ptr); } function nms_Entity_handleLavaMovement($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $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();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; var$2 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.0, (-0.4000000059604645), 0.0); nms_Material_$callClinit(); var$3 = nms_Material_lava; var$4 = nms_MathHelper_floor_double(var$2.$minX); var$5 = nms_MathHelper_floor_double(var$2.$maxX0 + 1.0); var$6 = nms_MathHelper_floor_double(var$2.$minY0); var$7 = nms_MathHelper_floor_double(var$2.$maxY0 + 1.0); var$8 = nms_MathHelper_floor_double(var$2.$minZ0); var$9 = nms_MathHelper_floor_double(var$2.$maxZ0 + 1.0); while (var$4 < var$5) { var$10 = var$6; while (var$10 < var$7) { var$11 = var$8; if (var$11 < var$9) { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data; $ptr = 1; continue main; } var$10 = var$10 + 1 | 0; } var$4 = var$4 + 1 | 0; } return 0; case 1: $tmp = nms_World_getBlockId(var$1, var$4, var$10, var$11); if ($rt_suspending()) { break main; } var$13 = $tmp; var$2 = var$12[var$13]; if (var$2 !== null && var$2.$blockMaterial === var$3) var$4 = 1; else { var$11 = var$11 + 1 | 0; a: while (true) { if (var$11 < var$9) { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data; continue main; } var$10 = var$10 + 1 | 0; while (var$10 >= var$7) { var$4 = var$4 + 1 | 0; if (var$4 >= var$5) break a; var$10 = var$6; } var$11 = var$8; } var$4 = 0; } return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); } function nms_Entity_func_351_a($this, $var1, $var2, $var3) { var $var4, $var5, $var6; $var4 = nms_MathHelper_sqrt_float($var1 * $var1 + $var2 * $var2); if ($var4 >= 0.009999999776482582) { if ($var4 < 1.0) $var4 = 1.0; $var3 = $var3 / $var4; $var1 = $var1 * $var3; $var2 = $var2 * $var3; $var5 = nms_MathHelper_sin($this.$rotationYaw * 3.1415927410125732 / 180.0); $var6 = nms_MathHelper_cos($this.$rotationYaw * 3.1415927410125732 / 180.0); $this.$motionX = $this.$motionX + $var1 * $var6 - $var2 * $var5; $this.$motionZ = $this.$motionZ + $var2 * $var6 + $var1 * $var5; } } function nms_Entity_getEntityBrightness($this, $var1) { var $var2, var$3, $var3, $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = nms_MathHelper_floor_double($this.$posX); var$3 = $this.$boundingBox; $var3 = (var$3.$maxY0 - var$3.$minY0) * 0.66; $var5 = nms_MathHelper_floor_double($this.$posY - $this.$yOffset + $var3); $var6 = nms_MathHelper_floor_double($this.$posZ); var$3 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getLightBrightness(var$3, $var2, $var5, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, $var5, $var6, $ptr); } function nms_Entity_setWorld($this, $var1) { $this.$worldObj0 = $var1; } function nms_Entity_setLocationAndAngles($this, $var1, $var3, $var5, $var7, $var8) { $this.$posX = $var1; $this.$prevPosX = $var1; $var3 = $var3 + $this.$yOffset; $this.$posY = $var3; $this.$prevPosY = $var3; $this.$posZ = $var5; $this.$prevPosZ = $var5; $this.$rotationYaw = $var7; $this.$rotationPitch = $var8; nms_Entity_setPosition($this, $var1, $var3, $var5); } function nms_Entity_getDistanceToEntity($this, $var1) { var $var2, $var3, $var4; $var2 = $this.$posX - $var1.$posX; $var3 = $this.$posY - $var1.$posY; $var4 = $this.$posZ - $var1.$posZ; return nms_MathHelper_sqrt_float($var2 * $var2 + $var3 * $var3 + $var4 * $var4); } function nms_Entity_getDistanceSq($this, $var1, $var3, $var5) { var $var7, $var9, $var11; $var7 = $this.$posX - $var1; $var9 = $this.$posY - $var3; $var11 = $this.$posZ - $var5; return $var7 * $var7 + $var9 * $var9 + $var11 * $var11; } function nms_Entity_getDistance($this, $var1, $var3, $var5) { var $var7, $var9, $var11; $var7 = $this.$posX - $var1; $var9 = $this.$posY - $var3; $var11 = $this.$posZ - $var5; return nms_MathHelper_sqrt_double($var7 * $var7 + $var9 * $var9 + $var11 * $var11); } function nms_Entity_getDistanceSqToEntity($this, $var1) { var $var2, $var4, $var6; $var2 = $this.$posX - $var1.$posX; $var4 = $this.$posY - $var1.$posY; $var6 = $this.$posZ - $var1.$posZ; return $var2 * $var2 + $var4 * $var4 + $var6 * $var6; } function nms_Entity_onCollideWithPlayer($this, $var1) {} function nms_Entity_applyEntityCollision($this, $var1) { var $var2, $var4, $var6, $var6_0, $var8; if ($var1.$riddenByEntity !== $this && $var1.$ridingEntity !== $this) { $var2 = $var1.$posX - $this.$posX; $var4 = $var1.$posZ - $this.$posZ; $var6 = $var2 < 0.0 ? -$var2 : $var2; $var6_0 = $var4 < 0.0 ? -$var4 : $var4; if ($var6 > $var6_0) $var6_0 = $var6; if ($var6_0 >= 0.009999999776482582) { $var6 = nms_MathHelper_sqrt_double($var6_0); $var2 = $var2 / $var6; $var6_0 = $var4 / $var6; $var8 = 1.0 / $var6; if ($var8 > 1.0) $var8 = 1.0; $var2 = $var2 * $var8; $var6 = $var6_0 * $var8; $var2 = $var2 * 0.05000000074505806; $var6 = $var6 * 0.05000000074505806; $var6_0 = 1.0 - $this.$field_632_aO; $var2 = $var2 * $var6_0; $var6 = $var6 * $var6_0; nms_Entity_addVelocity($this, -$var2, 0.0, -$var6); nms_Entity_addVelocity($var1, $var2, 0.0, $var6); } } } function nms_Entity_addVelocity($this, $var1, $var3, $var5) { $this.$motionX = $this.$motionX + $var1; $this.$motionY = $this.$motionY + $var3; $this.$motionZ = $this.$motionZ + $var5; } function nms_Entity_func_9281_M($this) { $this.$field_9294_aL = 1; } function nms_Entity_canAttackEntity($this, $var1, $var2) { nms_Entity_func_9281_M($this); return 0; } function nms_Entity_canBeCollidedWith($this) { return 0; } function nms_Entity_canBePushed($this) { return 0; } function nms_Entity_addToPlayerScore($this, $var1, $var2) {} function nms_Entity_func_390_a($this, $var1) { var $var2, $var4, $var6; $var2 = $this.$posX - $var1.$xCoord; $var4 = $this.$posY - $var1.$yCoord; $var6 = $this.$posZ - $var1.$zCoord; return $this.$func_384_a($var2 * $var2 + $var4 * $var4 + $var6 * $var6); } function nms_Entity_func_384_a($this, $var1) { var var$2; var$2 = nms_AxisAlignedBB_getAverageEdgeLength($this.$boundingBox) * 64.0 * $this.$field_619_ac; return $var1 >= var$2 * var$2 ? 0 : 1; } function nms_Entity_func_358_c($this, $var1) { var $var2; $var2 = nms_Entity_getEntityString($this); if (!$this.$isDead && $var2 !== null) { nms_NBTTagCompound_setString($var1, $rt_s(308), $var2); nms_Entity_writeToNBT($this, $var1); return 1; } return 0; } function nms_Entity_writeToNBT($this, $var1) { var var$2, var$3, var$4; nms_NBTTagCompound_setTag($var1, $rt_s(529), nms_Entity_func_375_a($this, $rt_createDoubleArrayFromData([$this.$posX, $this.$posY, $this.$posZ]))); nms_NBTTagCompound_setDouble($var1, $rt_s(530), $this.$motionX); nms_NBTTagCompound_setDouble($var1, $rt_s(531), $this.$motionY); nms_NBTTagCompound_setDouble($var1, $rt_s(532), $this.$motionZ); nms_NBTTagCompound_setTag($var1, $rt_s(533), nms_Entity_func_377_a($this, $rt_createFloatArrayFromData([$this.$rotationYaw, $this.$rotationPitch]))); var$2 = $this.$fallDistance; var$3 = $var1.$tagMap0; var$4 = nms_NBTTagFloat__init_0(var$2); var$4.$key2 = $rt_s(534); ju_HashMap_put(var$3, $rt_s(534), var$4); nms_NBTTagCompound_setShort($var1, $rt_s(535), $this.$fire << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(536), $this.$air << 16 >> 16); nms_NBTTagCompound_setBoolean($var1, $rt_s(537), $this.$onGround); $this.$writeEntityToNBT($var1); } function nms_Entity_readFromNBT($this, $var1) { var $var2, $var4, var$4, var$5; $var2 = nms_NBTTagCompound_getTagList($var1, $rt_s(529)); $var4 = nms_NBTTagCompound_getTagList($var1, $rt_s(533)); nms_Entity_setPosition($this, 0.0, 0.0, 0.0); $this.$motionX = nms_NBTTagCompound_getDouble($var1, $rt_s(530)); $this.$motionY = nms_NBTTagCompound_getDouble($var1, $rt_s(531)); $this.$motionZ = nms_NBTTagCompound_getDouble($var1, $rt_s(532)); var$4 = (nms_NBTTagList_tagAt($var2, 0)).$doubleValue0; $this.$posX = var$4; $this.$lastTickPosX = var$4; $this.$prevPosX = var$4; var$4 = (nms_NBTTagList_tagAt($var2, 1)).$doubleValue0; $this.$posY = var$4; $this.$lastTickPosY = var$4; $this.$prevPosY = var$4; var$4 = (nms_NBTTagList_tagAt($var2, 2)).$doubleValue0; $this.$posZ = var$4; $this.$lastTickPosZ = var$4; $this.$prevPosZ = var$4; var$5 = (nms_NBTTagList_tagAt($var4, 0)).$floatValue0; $this.$rotationYaw = var$5; $this.$prevRotationYaw = var$5; var$5 = (nms_NBTTagList_tagAt($var4, 1)).$floatValue0; $this.$rotationPitch = var$5; $this.$prevRotationPitch = var$5; $this.$fallDistance = !ju_HashMap_containsKey($var1.$tagMap0, $rt_s(534)) ? 0.0 : (ju_HashMap_get($var1.$tagMap0, $rt_s(534))).$floatValue0; $this.$fire = nms_NBTTagCompound_getShort($var1, $rt_s(535)); $this.$air = nms_NBTTagCompound_getShort($var1, $rt_s(536)); $this.$onGround = nms_NBTTagCompound_getBoolean($var1, $rt_s(537)); nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $this.$readEntityFromNBT($var1); } function nms_Entity_getEntityString($this) { nms_EntityList_$callClinit(); return ju_HashMap_get(nms_EntityList_classToStringMapping, jl_Object_getClass($this)); } function nms_Entity_func_375_a($this, $var1) { var $var2, $var4, $var5; $var1 = $var1.data; $var2 = nms_NBTTagList__init_0(); $var4 = $var1.length; $var5 = 0; while ($var5 < $var4) { nms_NBTTagList_setTag($var2, nms_NBTTagDouble__init_0($var1[$var5])); $var5 = $var5 + 1 | 0; } return $var2; } function nms_Entity_func_377_a($this, $var1) { var $var2, $var4, $var5; $var1 = $var1.data; $var2 = nms_NBTTagList__init_0(); $var4 = $var1.length; $var5 = 0; while ($var5 < $var4) { nms_NBTTagList_setTag($var2, nms_NBTTagFloat__init_0($var1[$var5])); $var5 = $var5 + 1 | 0; } return $var2; } function nms_Entity_func_392_h_($this) { return $this.$height / 2.0; } function nms_Entity_dropItem($this, $var1, $var2) { var 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();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = 0.0; $ptr = 1; case 1: $tmp = nms_Entity_dropItemWithOffset($this, $var1, $var2, var$3); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $ptr); } function nms_Entity_dropItemWithOffset($this, $var1, $var2, $var3) { var $var4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $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 = nms_EntityItem__init_($this.$worldObj0, $this.$posX, $this.$posY + $var3, $this.$posZ, nms_ItemStack__init_3($var1, $var2)); $var4.$field_805_c = 10; var$5 = $this.$worldObj0; $ptr = 1; case 1: nms_World_entityJoinedWorld(var$5, $var4); if ($rt_suspending()) { break main; } return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_Entity_func_345_I($this) { var $var1, $var2, $var3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = nms_MathHelper_floor_double($this.$posX); $var2 = nms_MathHelper_floor_double($this.$posY + $this.$func_373_s()); $var3 = nms_MathHelper_floor_double($this.$posZ); var$4 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_isBlockOpaqueCube(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $ptr); } function nms_Entity_interact($this, $var1) { return 0; } function nms_Entity_func_383_b_($this, $var1) { return null; } function nms_Entity_func_350_p($this) { var var$1, var$2, var$3, $var1, $var3, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$ridingEntity.$isDead) { $this.$ridingEntity = null; return; } $this.$motionX = 0.0; $this.$motionY = 0.0; $this.$motionZ = 0.0; $ptr = 1; case 1: $this.$onUpdate(); if ($rt_suspending()) { break main; } $this.$ridingEntity.$func_366_i_(); var$1 = $this.$field_667_e; var$2 = $this.$ridingEntity; $this.$field_667_e = var$1 + var$2.$rotationYaw - var$2.$prevRotationYaw; $this.$minecartType = $this.$minecartType + var$2.$rotationPitch - var$2.$prevRotationPitch; while (true) { var$3 = $this.$field_667_e; if (var$3 < 180.0) break; $this.$field_667_e = var$3 - 360.0; } while (true) { var$1 = $this.$field_667_e; if (var$1 >= (-180.0)) break; $this.$field_667_e = var$1 + 360.0; } while (true) { var$3 = $this.$minecartType; if (var$3 < 180.0) break; $this.$minecartType = var$3 - 360.0; } while (true) { var$3 = $this.$minecartType; if (var$3 >= (-180.0)) break; $this.$minecartType = var$3 + 360.0; } $var1 = var$1 * 0.5; $var3 = var$3 * 0.5; var$6 = 10.0; if ($var1 > var$6) $var1 = var$6; var$7 = (-10.0); if ($var1 < var$7) $var1 = var$7; if ($var3 <= var$6) var$6 = $var3; if (var$6 >= var$7) var$7 = var$6; $this.$field_667_e = var$1 - $var1; $this.$minecartType = var$3 - var$7; $this.$rotationYaw = $this.$rotationYaw + $var1; $this.$rotationPitch = $this.$rotationPitch + var$7; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, $var3, var$6, var$7, $ptr); } function nms_Entity_func_366_i_($this) { nms_Entity_setPosition($this.$riddenByEntity, $this.$posX, $this.$posY + $this.$func_402_h() + $this.$riddenByEntity.$func_388_v(), $this.$posZ); } function nms_Entity_func_388_v($this) { return $this.$yOffset; } function nms_Entity_func_402_h($this) { return $this.$height * 0.75; } function nms_Entity_mountEntity($this, $var1) { var var$2; $this.$minecartType = 0.0; $this.$field_667_e = 0.0; if ($var1 === null) { $var1 = $this.$ridingEntity; if ($var1 !== null) { nms_Entity_setLocationAndAngles($this, $var1.$posX, $var1.$boundingBox.$minY0 + $var1.$height, $var1.$posZ, $this.$rotationYaw, $this.$rotationPitch); $this.$ridingEntity.$riddenByEntity = null; } $this.$ridingEntity = null; } else { var$2 = $this.$ridingEntity; if (var$2 === $var1) { var$2.$riddenByEntity = null; $this.$ridingEntity = null; nms_Entity_setLocationAndAngles($this, $var1.$posX, $var1.$boundingBox.$minY0 + $var1.$height, $var1.$posZ, $this.$rotationYaw, $this.$rotationPitch); } else { if (var$2 !== null) var$2.$riddenByEntity = null; var$2 = $var1.$riddenByEntity; if (var$2 !== null) var$2.$ridingEntity = null; $this.$ridingEntity = $var1; $var1.$riddenByEntity = $this; } } } function nms_Entity_func_4035_j_($this) { return 0.10000000149011612; } function nms_Entity_func_4039_q($this) {} function nms_Entity__clinit_() { nms_Entity_field_864_a = 0; } function nms_EntityLiving() { var a = this; nms_Entity.call(a); a.$field_9366_o = 0; a.$field_9365_p = 0.0; a.$field_9364_q = 0.0; a.$field_9363_r = 0.0; a.$field_735_n = 0.0; a.$field_734_o = 0.0; a.$field_9362_u = 0.0; a.$field_9361_v = 0.0; a.$field_9360_w = 0.0; a.$field_9359_x = 0.0; a.$field_9358_y = 0; a.$texture = null; a.$field_9355_A = 0; a.$field_9353_B = 0.0; a.$field_9351_C = null; a.$field_9349_D = 0.0; a.$field_9347_E = 0; a.$field_9345_F = 0.0; a.$field_9343_G = 0; a.$prevSwingProgress = 0.0; a.$swingProgress = 0.0; a.$health = 0; a.$field_9335_K = 0; a.$a = 0; a.$hurtTime = 0; a.$field_9332_M = 0; a.$field_9331_N = 0.0; a.$deathTime = 0; a.$attackTime = 0; a.$field_9329_Q = 0.0; a.$field_9328_R = 0.0; a.$field_9327_S = 0; a.$field_9326_T = 0; a.$field_9325_U = 0.0; a.$field_705_Q = 0.0; a.$field_704_R = 0.0; a.$field_703_S = 0.0; a.$field_9324_Y = 0; a.$field_9323_Z = 0.0; a.$field_9356_aa = 0.0; a.$field_9354_ab = 0.0; a.$field_9352_ac = 0.0; a.$field_9350_ad = 0.0; a.$field_9348_ae = 0.0; a.$field_9346_af = 0; a.$field_9344_ag = 0; a.$field_9342_ah = 0.0; a.$field_9340_ai = 0.0; a.$field_9338_aj = 0.0; a.$isJumping = 0; a.$field_9334_al = 0.0; a.$field_9333_am = 0.0; a.$b0 = null; a.$c = 0; } function nms_EntityLiving__init_0(var_0) { var var_1 = new nms_EntityLiving(); nms_EntityLiving__init_(var_1, var_0); return var_1; } function nms_EntityLiving__init_($this, $var1) { nms_Entity__init_($this, $var1); $this.$field_9366_o = 20; $this.$field_735_n = 0.0; $this.$field_734_o = 0.0; $this.$field_9358_y = 1; $this.$texture = $rt_s(470); $this.$field_9355_A = 1; $this.$field_9353_B = 0.0; $this.$field_9351_C = null; $this.$field_9349_D = 1.0; $this.$field_9347_E = 0; $this.$field_9345_F = 0.0; $this.$field_9343_G = 0; $this.$health = 10; $this.$field_9331_N = 0.0; $this.$deathTime = 0; $this.$attackTime = 0; $this.$field_9327_S = 0; $this.$field_9326_T = (-1); $this.$field_9325_U = jl_Math_random() * 0.8999999761581421 + 0.10000000149011612; $this.$field_9348_ae = 0.0; $this.$field_9346_af = 0; $this.$field_9344_ag = 0; $this.$isJumping = 0; $this.$field_9334_al = 0.0; $this.$field_9333_am = 0.699999988079071; $this.$c = 0; $this.$field_618_ad = 1; $this.$field_9363_r = (jl_Math_random() + 1.0) * 0.009999999776482582; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $this.$field_9365_p = jl_Math_random() * 12398.0; $this.$rotationYaw = jl_Math_random() * 3.1415927410125732 * 2.0; $this.$field_9364_q = 1.0; $this.$field_9286_aZ = 0.5; } function nms_EntityLiving_canEntityBeSeen($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: var$2 = $this.$worldObj0; var$3 = nms_Vec3D_createVector($this.$posX, $this.$posY + nms_EntityLiving_func_373_s($this), $this.$posZ); $var1 = nms_Vec3D_createVector($var1.$posX, $var1.$posY + $var1.$func_373_s(), $var1.$posZ); $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks(var$2, var$3, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1 !== null ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $ptr); } function nms_EntityLiving_getEntityTexture($this) { return $this.$texture; } function nms_EntityLiving_canBeCollidedWith($this) { return $this.$isDead ? 0 : 1; } function nms_EntityLiving_canBePushed($this) { return $this.$isDead ? 0 : 1; } function nms_EntityLiving_func_373_s($this) { return $this.$height * 0.8500000238418579; } function nms_EntityLiving_func_421_b($this) { return 80; } function nms_EntityLiving_func_391_y($this) { var var$1, var$2, $var1, $var8, $var2, $var3, $var4, $var9, $var10, $var6, 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();$var6 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var8 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevSwingProgress = $this.$swingProgress; $ptr = 1; case 1: nms_Entity_func_391_y($this); if ($rt_suspending()) { break main; } var$1 = ju_Random_nextInt($this.$rand2, 1000); var$2 = $this.$a; $this.$a = var$2 + 1 | 0; if (var$1 < var$2) { $this.$a = -$this.$func_421_b() | 0; $var1 = $this.$getLivingSound(); if ($var1 !== null) nms_World_playSoundAtEntity($this.$worldObj0, $this, $var1, $this.$getSoundVolume(), (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0); } if (nms_EntityLiving_isEntityAlive($this)) { $ptr = 2; continue main; } if ($this.$isImmuneToFire) $this.$fire = 0; if (nms_EntityLiving_isEntityAlive($this)) { nms_Material_$callClinit(); $var1 = nms_Material_water; $ptr = 4; continue main; } $this.$air = $this.$field_9308_bh; $this.$field_9329_Q = $this.$field_9328_R; $var8 = $this.$attackTime; if ($var8 > 0) $this.$attackTime = $var8 - 1 | 0; $var8 = $this.$hurtTime; if ($var8 > 0) $this.$hurtTime = $var8 - 1 | 0; $var8 = $this.$field_9306_bj; if ($var8 > 0) $this.$field_9306_bj = $var8 - 1 | 0; if ($this.$health <= 0) { $var8 = $this.$deathTime + 1 | 0; $this.$deathTime = $var8; if ($var8 > 20) { $ptr = 6; continue main; } } $this.$field_9359_x = $this.$field_9360_w; $this.$field_734_o = $this.$field_735_n; $this.$prevRotationYaw = $this.$rotationYaw; $this.$prevRotationPitch = $this.$rotationPitch; return; case 2: $tmp = nms_Entity_func_345_I($this); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8) { $var1 = null; $var8 = 1; $ptr = 3; continue main; } if ($this.$isImmuneToFire) $this.$fire = 0; if (nms_EntityLiving_isEntityAlive($this)) { nms_Material_$callClinit(); $var1 = nms_Material_water; $ptr = 4; continue main; } $this.$air = $this.$field_9308_bh; $this.$field_9329_Q = $this.$field_9328_R; $var8 = $this.$attackTime; if ($var8 > 0) $this.$attackTime = $var8 - 1 | 0; $var8 = $this.$hurtTime; if ($var8 > 0) $this.$hurtTime = $var8 - 1 | 0; $var8 = $this.$field_9306_bj; if ($var8 > 0) $this.$field_9306_bj = $var8 - 1 | 0; if ($this.$health <= 0) { $var8 = $this.$deathTime + 1 | 0; $this.$deathTime = $var8; if ($var8 > 20) { $ptr = 6; continue main; } } $this.$field_9359_x = $this.$field_9360_w; $this.$field_734_o = $this.$field_735_n; $this.$prevRotationYaw = $this.$rotationYaw; $this.$prevRotationPitch = $this.$rotationPitch; return; case 3: $this.$canAttackEntity($var1, $var8); if ($rt_suspending()) { break main; } if ($this.$isImmuneToFire) $this.$fire = 0; if (nms_EntityLiving_isEntityAlive($this)) { nms_Material_$callClinit(); $var1 = nms_Material_water; $ptr = 4; continue main; } $this.$air = $this.$field_9308_bh; $this.$field_9329_Q = $this.$field_9328_R; $var8 = $this.$attackTime; if ($var8 > 0) $this.$attackTime = $var8 - 1 | 0; $var8 = $this.$hurtTime; if ($var8 > 0) $this.$hurtTime = $var8 - 1 | 0; $var8 = $this.$field_9306_bj; if ($var8 > 0) $this.$field_9306_bj = $var8 - 1 | 0; if ($this.$health <= 0) { $var8 = $this.$deathTime + 1 | 0; $this.$deathTime = $var8; if ($var8 > 20) { $ptr = 6; continue main; } } $this.$field_9359_x = $this.$field_9360_w; $this.$field_734_o = $this.$field_735_n; $this.$prevRotationYaw = $this.$rotationYaw; $this.$prevRotationPitch = $this.$rotationPitch; return; case 4: $tmp = nms_Entity_isInsideOfMaterial($this, $var1); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) $this.$air = $this.$field_9308_bh; else { $var8 = $this.$air - 1 | 0; $this.$air = $var8; if ($var8 == (-20)) { $this.$air = 0; $var8 = 0; while ($var8 < 8) { $var2 = ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2); $var3 = ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2); $var4 = ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2); nms_World_spawnParticle($this.$worldObj0, $rt_s(487), $this.$posX + $var2, $this.$posY + $var3, $this.$posZ + $var4, $this.$motionX, $this.$motionY, $this.$motionZ); $var8 = $var8 + 1 | 0; } $var1 = null; $var8 = 2; $ptr = 5; continue main; } $this.$fire = 0; } $this.$field_9329_Q = $this.$field_9328_R; $var8 = $this.$attackTime; if ($var8 > 0) $this.$attackTime = $var8 - 1 | 0; $var8 = $this.$hurtTime; if ($var8 > 0) $this.$hurtTime = $var8 - 1 | 0; $var8 = $this.$field_9306_bj; if ($var8 > 0) $this.$field_9306_bj = $var8 - 1 | 0; if ($this.$health <= 0) { $var8 = $this.$deathTime + 1 | 0; $this.$deathTime = $var8; if ($var8 > 20) { $ptr = 6; continue main; } } $this.$field_9359_x = $this.$field_9360_w; $this.$field_734_o = $this.$field_735_n; $this.$prevRotationYaw = $this.$rotationYaw; $this.$prevRotationPitch = $this.$rotationPitch; return; case 5: $this.$canAttackEntity($var1, $var8); if ($rt_suspending()) { break main; } $this.$fire = 0; $this.$field_9329_Q = $this.$field_9328_R; $var8 = $this.$attackTime; if ($var8 > 0) $this.$attackTime = $var8 - 1 | 0; $var8 = $this.$hurtTime; if ($var8 > 0) $this.$hurtTime = $var8 - 1 | 0; $var8 = $this.$field_9306_bj; if ($var8 > 0) $this.$field_9306_bj = $var8 - 1 | 0; if ($this.$health <= 0) { $var8 = $this.$deathTime + 1 | 0; $this.$deathTime = $var8; if ($var8 > 20) { $ptr = 6; continue main; } } $this.$field_9359_x = $this.$field_9360_w; $this.$field_734_o = $this.$field_735_n; $this.$prevRotationYaw = $this.$rotationYaw; $this.$prevRotationPitch = $this.$rotationPitch; return; case 6: $this.$setEntityDead0(); if ($rt_suspending()) { break main; } $var8 = 0; while ($var8 < 20) { $var9 = ju_Random_nextGaussian($this.$rand2) * 0.02; $var10 = ju_Random_nextGaussian($this.$rand2) * 0.02; $var6 = ju_Random_nextGaussian($this.$rand2) * 0.02; $var1 = $this.$worldObj0; var$11 = $this.$posX; $var2 = ju_Random_nextFloat($this.$rand2); $var3 = $this.$width0; var$11 = var$11 + $var2 * $var3 * 2.0 - $var3; var$12 = $this.$posY + ju_Random_nextFloat($this.$rand2) * $this.$height; var$13 = $this.$posZ; $var2 = ju_Random_nextFloat($this.$rand2); $var3 = $this.$width0; nms_World_spawnParticle($var1, $rt_s(488), var$11, var$12, var$13 + $var2 * $var3 * 2.0 - $var3, $var9, $var10, $var6); $var8 = $var8 + 1 | 0; } $this.$field_9359_x = $this.$field_9360_w; $this.$field_734_o = $this.$field_735_n; $this.$prevRotationYaw = $this.$rotationYaw; $this.$prevRotationPitch = $this.$rotationPitch; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, $var8, $var2, $var3, $var4, $var9, $var10, $var6, var$11, var$12, var$13, $ptr); } function nms_EntityLiving_spawnExplosionParticle($this) { var $var1, $var2, $var4, $var6, var$5, var$6, var$7, var$8, var$9, var$10; $var1 = 0; while ($var1 < 20) { $var2 = ju_Random_nextGaussian($this.$rand2) * 0.02; $var4 = ju_Random_nextGaussian($this.$rand2) * 0.02; $var6 = ju_Random_nextGaussian($this.$rand2) * 0.02; var$5 = $this.$worldObj0; var$6 = $this.$posX; var$7 = ju_Random_nextFloat($this.$rand2); var$8 = $this.$width0; var$6 = var$6 + var$7 * var$8 * 2.0 - var$8 - $var2 * 10.0; var$9 = $this.$posY + ju_Random_nextFloat($this.$rand2) * $this.$height - $var4 * 10.0; var$10 = $this.$posZ; var$8 = ju_Random_nextFloat($this.$rand2); var$7 = $this.$width0; nms_World_spawnParticle(var$5, $rt_s(488), var$6, var$9, var$10 + var$8 * var$7 * 2.0 - var$7 - $var6 * 10.0, $var2, $var4, $var6); $var1 = $var1 + 1 | 0; } } function nms_EntityLiving_func_350_p($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: $ptr = 1; case 1: nms_Entity_func_350_p($this); if ($rt_suspending()) { break main; } $this.$field_9362_u = $this.$field_9361_v; $this.$field_9361_v = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_EntityLiving_onUpdate($this) { var $var1, $var3, $var5, $var6, $var7, $var8, $var10, $var9, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$func_391_y(); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $this.$onLivingUpdate(); if ($rt_suspending()) { break main; } $var1 = $this.$posX - $this.$prevPosX; $var3 = $this.$posZ - $this.$prevPosZ; $var5 = nms_MathHelper_sqrt_double($var1 * $var1 + $var3 * $var3); $var6 = $this.$field_735_n; $var7 = 0.0; $this.$field_9362_u = $this.$field_9361_v; $var8 = 0.0; if ($var5 > 0.05000000074505806) { $var8 = 1.0; $var7 = $var5 * 3.0; $var6 = jl_Math_atan2($var3, $var1) * 180.0 / 3.1415927410125732 - 90.0; } if ($this.$swingProgress > 0.0) $var6 = $this.$rotationYaw; if (!$this.$onGround) $var8 = 0.0; $var5 = $this.$field_9361_v; $this.$field_9361_v = $var5 + ($var8 - $var5) * 0.30000001192092896; $var10 = $this.$field_735_n; $var9 = $var6 - $var10; while ($var9 < (-180.0)) { $var9 = $var9 + 360.0; } while ($var9 >= 180.0) { $var9 = $var9 - 360.0; } $var5 = $var10 + $var9 * 0.30000001192092896; $this.$field_735_n = $var5; $var6 = $this.$rotationYaw; $var10 = $var6 - $var5; while ($var10 < (-180.0)) { $var10 = $var10 + 360.0; } while ($var10 >= 180.0) { $var10 = $var10 - 360.0; } $var11 = $var10 >= (-90.0) && $var10 < 90.0 ? 0 : 1; if ($var10 < (-75.0)) $var10 = (-75.0); if ($var10 >= 75.0) $var10 = 75.0; $var9 = $var6 - $var10; $this.$field_735_n = $var9; if ($var10 * $var10 > 2500.0) $this.$field_735_n = $var9 + $var10 * 0.20000000298023224; if ($var11) $var7 = $var7 * (-1.0); while (true) { $var10 = $this.$prevRotationYaw; if ($var6 - $var10 >= (-180.0)) break; $this.$prevRotationYaw = $var10 - 360.0; } while (true) { $var10 = $this.$prevRotationYaw; if ($var6 - $var10 < 180.0) break; $this.$prevRotationYaw = $var10 + 360.0; } while (true) { $var6 = $this.$field_735_n; $var10 = $this.$field_734_o; if ($var6 - $var10 >= (-180.0)) break; $this.$field_734_o = $var10 - 360.0; } while (true) { $var5 = $this.$field_734_o; if ($var6 - $var5 < 180.0) break; $this.$field_734_o = $var5 + 360.0; } while (true) { $var5 = $this.$rotationPitch; $var10 = $this.$prevRotationPitch; if ($var5 - $var10 >= (-180.0)) break; $this.$prevRotationPitch = $var10 - 360.0; } while (true) { $var6 = $this.$prevRotationPitch; if ($var5 - $var6 < 180.0) break; $this.$prevRotationPitch = $var6 + 360.0; } $this.$field_9360_w = $this.$field_9360_w + $var7; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var6, $var7, $var8, $var10, $var9, $var11, $ptr); } function nms_EntityLiving_heal($this, $var1) { var var$2; var$2 = $this.$health; if (var$2 > 0) { $var1 = var$2 + $var1 | 0; $this.$health = $var1; if ($var1 > 20) $this.$health = 20; $this.$field_9306_bj = $this.$field_9366_o / 2 | 0; } } function nms_EntityLiving_canAttackEntity($this, $var1, $var2) { var var$3, $var3, var$5, var$6, $var4, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_9344_ag = 0; var$3 = $this.$health; if (var$3 <= 0) return 0; $this.$field_704_R = 1.5; $var3 = 1; var$5 = $this.$field_9306_bj; var$6 = $this.$field_9366_o; if (var$5 <= var$6 / 2.0) { $this.$field_9346_af = $var2; $this.$field_9335_K = var$3; $this.$field_9306_bj = var$6; $this.$damageEntity($var2); $this.$field_9332_M = 10; $this.$hurtTime = 10; } else { var$3 = $this.$field_9346_af; if ($var2 <= var$3) return 0; $this.$damageEntity($var2 - var$3 | 0); $this.$field_9346_af = $var2; $var3 = 0; } $this.$field_9331_N = 0.0; if ($var3) { nms_Entity_func_9281_M($this); if ($var1 === null) $this.$field_9331_N = (jl_Math_random() * 2.0 | 0) * 180 | 0; else { $var4 = $var1.$posX - $this.$posX; $var6 = $var1.$posZ - $this.$posZ; while ($var4 * $var4 + $var6 * $var6 < 1.0E-4) { $var4 = (jl_Math_random() - jl_Math_random()) * 0.01; $var6 = (jl_Math_random() - jl_Math_random()) * 0.01; } $this.$field_9331_N = jl_Math_atan2($var6, $var4) * 180.0 / 3.1415927410125732 - $this.$rotationYaw; nms_EntityLiving_func_434_a($this, $var1, $var2, $var4, $var6); } } if ($this.$health > 0) { if ($var3) nms_World_playSoundAtEntity($this.$worldObj0, $this, $this.$getHurtSound(), $this.$getSoundVolume(), (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0); return 1; } if ($var3) nms_World_playSoundAtEntity($this.$worldObj0, $this, $this.$getDeathSound(), $this.$getSoundVolume(), (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0); $ptr = 1; case 1: $this.$onDeath($var1); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, var$5, var$6, $var4, $var6, $ptr); } function nms_EntityLiving_damageEntity($this, $var1) { $this.$health = $this.$health - $var1 | 0; } function nms_EntityLiving_getSoundVolume($this) { return 1.0; } function nms_EntityLiving_getLivingSound($this) { return null; } function nms_EntityLiving_getHurtSound($this) { return $rt_s(538); } function nms_EntityLiving_getDeathSound($this) { return $rt_s(538); } function nms_EntityLiving_func_434_a($this, $var1, $var2, $var3, $var5) { var $var7, var$6, var$7, var$8, var$9; $var7 = nms_MathHelper_sqrt_double($var3 * $var3 + $var5 * $var5); var$6 = $this.$motionX / 2.0; $this.$motionX = var$6; var$7 = $this.$motionY / 2.0; $this.$motionY = var$7; var$8 = $this.$motionZ / 2.0; $this.$motionZ = var$8; var$9 = $var7; $this.$motionX = var$6 - $var3 / var$9 * 0.4000000059604645; $var3 = var$7 + 0.4000000059604645; $this.$motionY = $var3; $this.$motionZ = var$8 - $var5 / var$9 * 0.4000000059604645; if ($var3 > 0.4000000059604645) $this.$motionY = 0.4000000059604645; } function nms_EntityLiving_onDeath($this, $var1) { var $var2, $var3, $var4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$field_9347_E; if ($var2 > 0 && $var1 !== null) $var1.$addToPlayerScore($this, $var2); $this.$field_9327_S = 1; $var2 = $this.$getDropItemId(); if ($var2 > 0) { $var3 = ju_Random_nextInt($this.$rand2, 3); $var4 = 0; if ($var4 < $var3) { var$5 = 1; $ptr = 1; continue main; } } return; case 1: nms_Entity_dropItem($this, $var2, var$5); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) return; var$5 = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_EntityLiving_getDropItemId($this) { return 0; } function nms_EntityLiving_fall($this, $var1) { var $var2, $var4, $var3, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = jl_Math_ceil($var1 - 3.0) | 0; if ($var2 <= 0) return; $var4 = null; $ptr = 1; case 1: $this.$canAttackEntity($var4, $var2); if ($rt_suspending()) { break main; } $var4 = $this.$worldObj0; $var2 = nms_MathHelper_floor_double($this.$posX); $var3 = nms_MathHelper_floor_double($this.$posY - 0.20000000298023224 - $this.$yOffset); var$5 = nms_MathHelper_floor_double($this.$posZ); $ptr = 2; case 2: $tmp = nms_World_getBlockId($var4, $var2, $var3, var$5); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 > 0) { nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[$var3].$stepSound; nms_World_playSoundAtEntity($this.$worldObj0, $this, nms_StepSound_func_1145_d($var4), $var4.$field_1677_b * 0.5, $var4.$field_1679_c * 0.75); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var3, var$5, $ptr); } function nms_EntityLiving_func_435_b($this, $var1, $var2) { var $var5, $var3, $var10, var$6, var$7, $var8, var$9, $var4, var$11, $var9, var$13, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();var$13 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var10 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) { $ptr = 2; continue main; } $var3 = $this.$posY; nms_Entity_func_351_a($this, $var1, $var2, 0.019999999552965164); $var10 = $this.$motionX; var$6 = $this.$motionY; var$7 = $this.$motionZ; $ptr = 3; continue main; case 2: $tmp = nms_Entity_handleLavaMovement($this); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) { $var3 = $this.$posY; nms_Entity_func_351_a($this, $var1, $var2, 0.019999999552965164); $var10 = $this.$motionX; var$6 = $this.$motionY; var$7 = $this.$motionZ; $ptr = 4; continue main; } $var8 = 0.9100000262260437; if ($this.$onGround) { $var8 = 0.546000063419342; var$9 = $this.$worldObj0; $var5 = nms_MathHelper_floor_double($this.$posX); $var4 = nms_MathHelper_floor_double($this.$boundingBox.$minY0) - 1 | 0; var$11 = nms_MathHelper_floor_double($this.$posZ); $ptr = 6; continue main; } $var9 = 0.16277135908603668 / ($var8 * $var8 * $var8); nms_Entity_func_351_a($this, $var1, $var2, !$this.$onGround ? 0.019999999552965164 : 0.10000000149011612 * $var9); $var1 = 0.9100000262260437; if (!$this.$onGround) { $ptr = 9; continue main; } $var1 = 0.546000063419342; var$9 = $this.$worldObj0; $var5 = nms_MathHelper_floor_double($this.$posX); $var4 = nms_MathHelper_floor_double($this.$boundingBox.$minY0) - 1 | 0; var$11 = nms_MathHelper_floor_double($this.$posZ); $ptr = 8; continue main; case 3: nms_Entity_moveEntity($this, $var10, var$6, var$7); if ($rt_suspending()) { break main; } var$7 = $this.$motionX * 0.800000011920929; $this.$motionX = var$7; $var10 = $this.$motionY * 0.800000011920929; $this.$motionY = $var10; var$13 = $this.$motionZ * 0.800000011920929; $this.$motionZ = var$13; var$6 = $var10 - 0.02; $this.$motionY = var$6; if (!$this.$field_9297_aI) { $this.$field_705_Q = $this.$field_704_R; $var3 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var3 * $var3 + $var10 * $var10) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; } $var3 = var$6 + 0.6000000238418579 - $this.$posY + $var3; $ptr = 5; continue main; case 4: nms_Entity_moveEntity($this, $var10, var$6, var$7); if ($rt_suspending()) { break main; } $var10 = $this.$motionX * 0.5; $this.$motionX = $var10; var$6 = $this.$motionY * 0.5; $this.$motionY = var$6; var$7 = $this.$motionZ * 0.5; $this.$motionZ = var$7; var$6 = var$6 - 0.02; $this.$motionY = var$6; if (!$this.$field_9297_aI) { $this.$field_705_Q = $this.$field_704_R; $var3 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var3 * $var3 + $var10 * $var10) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; } $var3 = var$6 + 0.6000000238418579 - $this.$posY + $var3; $ptr = 7; continue main; case 5: $tmp = nms_Entity_func_403_b($this, var$7, $var3, var$13); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $this.$motionY = 0.30000001192092896; $this.$field_705_Q = $this.$field_704_R; $var3 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var3 * $var3 + $var10 * $var10) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; case 6: $tmp = nms_World_getBlockId(var$9, $var5, $var4, var$11); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 > 0) { nms_Block_$callClinit(); $var8 = nms_Block_blocksList.data[$var4].$slipperiness * 0.9100000262260437; } $var9 = 0.16277135908603668 / ($var8 * $var8 * $var8); nms_Entity_func_351_a($this, $var1, $var2, !$this.$onGround ? 0.019999999552965164 : 0.10000000149011612 * $var9); $var1 = 0.9100000262260437; if (!$this.$onGround) { $ptr = 9; continue main; } $var1 = 0.546000063419342; var$9 = $this.$worldObj0; $var5 = nms_MathHelper_floor_double($this.$posX); $var4 = nms_MathHelper_floor_double($this.$boundingBox.$minY0) - 1 | 0; var$11 = nms_MathHelper_floor_double($this.$posZ); $ptr = 8; continue main; case 7: $tmp = nms_Entity_func_403_b($this, $var10, $var3, var$7); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $this.$motionY = 0.30000001192092896; $this.$field_705_Q = $this.$field_704_R; $var3 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var3 * $var3 + $var10 * $var10) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; case 8: $tmp = nms_World_getBlockId(var$9, $var5, $var4, var$11); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 > 0) { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[$var5].$slipperiness * 0.9100000262260437; } $ptr = 9; case 9: $tmp = $this.$isOnLadder(); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) { $this.$fallDistance = 0.0; if ($this.$motionY < (-0.15)) $this.$motionY = (-0.15); } $var3 = $this.$motionX; $var10 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 10; case 10: nms_Entity_moveEntity($this, $var3, $var10, var$6); if ($rt_suspending()) { break main; } if (!$this.$field_9297_aI) { $var3 = $this.$motionY - 0.08; $this.$motionY = $var3; $this.$motionY = $var3 * 0.9800000190734863; $var3 = $this.$motionX; $var10 = $var1; $this.$motionX = $var3 * $var10; $this.$motionZ = $this.$motionZ * $var10; $this.$field_705_Q = $this.$field_704_R; $var3 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var3 * $var3 + $var10 * $var10) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; } $ptr = 11; case 11: $tmp = $this.$isOnLadder(); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) $this.$motionY = 0.2; $var3 = $this.$motionY - 0.08; $this.$motionY = $var3; $this.$motionY = $var3 * 0.9800000190734863; $var3 = $this.$motionX; $var10 = $var1; $this.$motionX = $var3 * $var10; $this.$motionZ = $this.$motionZ * $var10; $this.$field_705_Q = $this.$field_704_R; $var3 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var3 * $var3 + $var10 * $var10) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var5, $var3, $var10, var$6, var$7, $var8, var$9, $var4, var$11, $var9, var$13, $var7, $ptr); } function nms_EntityLiving_isOnLadder($this) { var $var1, $var2, $var3, 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: $var1 = nms_MathHelper_floor_double($this.$posX); $var2 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var3 = nms_MathHelper_floor_double($this.$posZ); var$4 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$5 = $tmp; nms_Block_$callClinit(); if (var$5 == nms_Block_ladder.$blockID) return 1; var$4 = $this.$worldObj0; $var2 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1 == nms_Block_ladder.$blockID ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $ptr); } function nms_EntityLiving_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setShort($var1, $rt_s(539), $this.$health << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(540), $this.$hurtTime << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(541), $this.$deathTime << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(542), $this.$attackTime << 16 >> 16); } function nms_EntityLiving_readEntityFromNBT($this, $var1) { $this.$health = nms_NBTTagCompound_getShort($var1, $rt_s(539)); if (!nms_NBTTagCompound_hasKey($var1, $rt_s(539))) $this.$health = 10; $this.$hurtTime = nms_NBTTagCompound_getShort($var1, $rt_s(540)); $this.$deathTime = nms_NBTTagCompound_getShort($var1, $rt_s(541)); $this.$attackTime = nms_NBTTagCompound_getShort($var1, $rt_s(542)); } function nms_EntityLiving_isEntityAlive($this) { return !$this.$isDead && $this.$health > 0 ? 1 : 0; } function nms_EntityLiving_onLivingUpdate($this) { var $var9, $var1, var$3, var$4, $var3, $var5, var$7, $var7, $var2, var$10, var$11, $var10, $var11, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var2 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();$var9 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = $this.$field_9324_Y; if ($var9 > 0) { $var1 = $this.$posX; var$3 = $this.$field_9323_Z - $var1; var$4 = $var9; $var1 = $var1 + var$3 / var$4; var$3 = $this.$posY; $var3 = var$3 + ($this.$field_9356_aa - var$3) / var$4; var$3 = $this.$posZ; $var5 = var$3 + ($this.$field_9354_ab - var$3) / var$4; var$3 = $this.$field_9352_ac; var$7 = $this.$rotationYaw; $var7 = var$3 - var$7; while ($var7 < (-180.0)) { $var7 = $var7 + 360.0; } while ($var7 >= 180.0) { $var7 = $var7 - 360.0; } $this.$rotationYaw = var$7 + $var7 / var$4; var$3 = $this.$rotationPitch; $this.$rotationPitch = var$3 + ($this.$field_9350_ad - var$3) / var$4; $this.$field_9324_Y = $var9 - 1 | 0; nms_Entity_setPosition($this, $var1, $var3, $var5); nms_Entity_setRotation($this, $this.$rotationYaw, $this.$rotationPitch); } if ($this.$health <= 0) { $this.$isJumping = 0; $this.$field_9342_ah = 0.0; $this.$field_9340_ai = 0.0; $this.$field_9338_aj = 0.0; } else if (!$this.$field_9343_G) { $ptr = 3; continue main; } $ptr = 1; case 1: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var9 = $tmp; $ptr = 2; case 2: $tmp = nms_Entity_handleLavaMovement($this); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($this.$isJumping) { if ($var9) $this.$motionY = $this.$motionY + 0.03999999910593033; else if ($var2) $this.$motionY = $this.$motionY + 0.03999999910593033; else if ($this.$onGround) nms_EntityLiving_func_424_C($this); } var$10 = $this.$field_9342_ah * 0.9800000190734863; $this.$field_9342_ah = var$10; var$11 = $this.$field_9340_ai * 0.9800000190734863; $this.$field_9340_ai = var$11; $this.$field_9338_aj = $this.$field_9338_aj * 0.8999999761581421; $ptr = 4; continue main; case 3: $this.$func_418_b_(); if ($rt_suspending()) { break main; } $ptr = 1; continue main; case 4: $this.$func_435_b(var$10, var$11); if ($rt_suspending()) { break main; } $var10 = $this.$worldObj0; $var11 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.20000000298023224, 0.0, 0.20000000298023224); $ptr = 5; case 5: a: { $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var10, $this, $var11); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var10 !== null && $var10.$size > 0) { $var4 = 0; while (true) { if ($var4 >= $var10.$size) break a; $var11 = ju_ArrayList_get($var10, $var4); if ($var11.$canBePushed()) $var11.$applyEntityCollision($this); $var4 = $var4 + 1 | 0; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var9, $var1, var$3, var$4, $var3, $var5, var$7, $var7, $var2, var$10, var$11, $var10, $var11, $var4, $ptr); } function nms_EntityLiving_func_424_C($this) { $this.$motionY = 0.41999998688697815; } function nms_EntityLiving_func_418_b_($this) { var $var1, $var2, $var4, $var6, $var8, $var11, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var11 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_9344_ag = $this.$field_9344_ag + 1 | 0; $var1 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, (-1.0)); if ($var1 !== null) { $var2 = $var1.$posX - $this.$posX; $var4 = $var1.$posY - $this.$posY; $var6 = $var1.$posZ - $this.$posZ; $var8 = $var2 * $var2 + $var4 * $var4 + $var6 * $var6; if ($var8 > 16384.0) { $ptr = 1; continue main; } if ($this.$field_9344_ag > 600 && !ju_Random_nextInt($this.$rand2, 800)) { if ($var8 >= 1024.0) { $ptr = 4; continue main; } $this.$field_9344_ag = 0; } } $this.$field_9342_ah = 0.0; $this.$field_9340_ai = 0.0; if (ju_Random_nextFloat($this.$rand2) < 0.019999999552965164) { $var1 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 8.0); if ($var1 === null) $this.$field_9338_aj = (ju_Random_nextFloat($this.$rand2) - 0.5) * 20.0; else { $this.$b0 = $var1; $this.$c = 10 + ju_Random_nextInt($this.$rand2, 20) | 0; } } a: { $var1 = $this.$b0; if ($var1 !== null) { nms_EntityLiving_faceEntity($this, $var1, 10.0); $var11 = $this.$c; $this.$c = $var11 - 1 | 0; if ($var11 > 0) { $var1 = $this.$b0; if (!$var1.$isDead && nms_Entity_getDistanceSqToEntity($var1, $this) <= 64.0) break a; } $this.$b0 = null; } else { if (ju_Random_nextFloat($this.$rand2) < 0.05000000074505806) $this.$field_9338_aj = (ju_Random_nextFloat($this.$rand2) - 0.5) * 20.0; $this.$rotationYaw = $this.$rotationYaw + $this.$field_9338_aj; $this.$rotationPitch = $this.$field_9334_al; } } $ptr = 2; continue main; case 1: $this.$setEntityDead0(); if ($rt_suspending()) { break main; } if ($this.$field_9344_ag > 600 && !ju_Random_nextInt($this.$rand2, 800)) { if ($var8 >= 1024.0) { $ptr = 4; continue main; } $this.$field_9344_ag = 0; } $this.$field_9342_ah = 0.0; $this.$field_9340_ai = 0.0; if (ju_Random_nextFloat($this.$rand2) < 0.019999999552965164) { $var1 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 8.0); if ($var1 === null) $this.$field_9338_aj = (ju_Random_nextFloat($this.$rand2) - 0.5) * 20.0; else { $this.$b0 = $var1; $this.$c = 10 + ju_Random_nextInt($this.$rand2, 20) | 0; } } b: { $var1 = $this.$b0; if ($var1 !== null) { nms_EntityLiving_faceEntity($this, $var1, 10.0); $var11 = $this.$c; $this.$c = $var11 - 1 | 0; if ($var11 > 0) { $var1 = $this.$b0; if (!$var1.$isDead && nms_Entity_getDistanceSqToEntity($var1, $this) <= 64.0) break b; } $this.$b0 = null; } else { if (ju_Random_nextFloat($this.$rand2) < 0.05000000074505806) $this.$field_9338_aj = (ju_Random_nextFloat($this.$rand2) - 0.5) * 20.0; $this.$rotationYaw = $this.$rotationYaw + $this.$field_9338_aj; $this.$rotationPitch = $this.$field_9334_al; } } $ptr = 2; case 2: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var3 = $tmp; $ptr = 3; case 3: $tmp = nms_Entity_handleLavaMovement($this); if ($rt_suspending()) { break main; } $var11 = $tmp; if (!(!$var3 && !$var11)) $this.$isJumping = ju_Random_nextFloat($this.$rand2) >= 0.800000011920929 ? 0 : 1; return; case 4: $this.$setEntityDead0(); if ($rt_suspending()) { break main; } $this.$field_9342_ah = 0.0; $this.$field_9340_ai = 0.0; if (ju_Random_nextFloat($this.$rand2) < 0.019999999552965164) { $var1 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 8.0); if ($var1 === null) $this.$field_9338_aj = (ju_Random_nextFloat($this.$rand2) - 0.5) * 20.0; else { $this.$b0 = $var1; $this.$c = 10 + ju_Random_nextInt($this.$rand2, 20) | 0; } } c: { $var1 = $this.$b0; if ($var1 !== null) { nms_EntityLiving_faceEntity($this, $var1, 10.0); $var11 = $this.$c; $this.$c = $var11 - 1 | 0; if ($var11 > 0) { $var1 = $this.$b0; if (!$var1.$isDead && nms_Entity_getDistanceSqToEntity($var1, $this) <= 64.0) break c; } $this.$b0 = null; } else { if (ju_Random_nextFloat($this.$rand2) < 0.05000000074505806) $this.$field_9338_aj = (ju_Random_nextFloat($this.$rand2) - 0.5) * 20.0; $this.$rotationYaw = $this.$rotationYaw + $this.$field_9338_aj; $this.$rotationPitch = $this.$field_9334_al; } } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var11, $var3, $ptr); } function nms_EntityLiving_faceEntity($this, $var9, $var2) { var $var3, $var7, $var5, $var13, $var11, $var12; $var3 = $var9.$posX - $this.$posX; $var7 = $var9.$posZ - $this.$posZ; if (!($var9 instanceof nms_EntityLiving)) { $var9 = $var9.$boundingBox; $var5 = ($var9.$minY0 + $var9.$maxY0) / 2.0 - ($this.$posY + $this.$func_373_s()); } else $var5 = $var9.$posY + $var9.$func_373_s() - ($this.$posY + $this.$func_373_s()); $var13 = nms_MathHelper_sqrt_double($var3 * $var3 + $var7 * $var7); $var11 = jl_Math_atan2($var7, $var3) * 180.0 / 3.1415927410125732 - 90.0; $var12 = jl_Math_atan2($var5, $var13) * 180.0 / 3.1415927410125732; $this.$rotationPitch = -nms_EntityLiving_updateRotation($this, $this.$rotationPitch, $var12, $var2); $this.$rotationYaw = nms_EntityLiving_updateRotation($this, $this.$rotationYaw, $var11, $var2); } function nms_EntityLiving_updateRotation($this, $var1, $var2, $var3) { var $var4; $var4 = $var2 - $var1; while ($var4 < (-180.0)) { $var4 = $var4 + 360.0; } while ($var4 >= 180.0) { $var4 = $var4 - 360.0; } if ($var4 > $var3) $var4 = $var3; $var2 = -$var3; if ($var4 >= $var2) $var2 = $var4; return $var1 + $var2; } function nms_EntityLiving_func_6392_F($this) {} function nms_EntityLiving_getCanSpawnHere($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; var$2 = $this.$boundingBox; $ptr = 1; case 1: $tmp = nms_World_checkIfAABBIsClear(var$1, var$2); if ($rt_suspending()) { break main; } var$3 = $tmp; if (!var$3) return 0; var$1 = $this.$worldObj0; var$2 = $this.$boundingBox; $ptr = 2; case 2: $tmp = nms_World_getCollidingBoundingBoxes(var$1, $this, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; if (var$1.$size) return 0; var$1 = $this.$worldObj0; var$2 = $this.$boundingBox; $ptr = 3; case 3: $tmp = nms_World_getIsAnyLiquid(var$1, var$2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); } function nms_EntityLiving_func_4034_G($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 = null; var$2 = 4; $ptr = 1; case 1: $this.$canAttackEntity(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); } function nms_EntityLiving_getSwingProgress($this, $var1) { var $var2, var$3; $var2 = $this.$swingProgress; var$3 = $this.$prevSwingProgress; $var2 = $var2 - var$3; if ($var2 < 0.0) $var2 = $var2 + 1.0; return var$3 + $var2 * $var1; } function nms_EntityLiving_getPosition($this, $var1) { var $var2, $var4, $var6, var$5; if ($var1 === 1.0) return nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = $this.$prevPosX; $var4 = $this.$posX - $var2; $var6 = $var1; $var2 = $var2 + $var4 * $var6; $var4 = $this.$prevPosY; $var4 = $var4 + ($this.$posY - $var4) * $var6; var$5 = $this.$prevPosZ; return nms_Vec3D_createVector($var2, $var4, var$5 + ($this.$posZ - var$5) * $var6); } function nms_EntityLiving_func_4037_H($this) { return nms_EntityLiving_getLook($this, 1.0); } function nms_EntityLiving_getLook($this, $var1) { var $var2, $var3, $var4, $var5, $var6; if ($var1 !== 1.0) { $var2 = $this.$prevRotationPitch; $var2 = $var2 + ($this.$rotationPitch - $var2) * $var1; $var3 = $this.$prevRotationYaw; $var1 = -($var3 + ($this.$rotationYaw - $var3) * $var1) * 0.01745329238474369 - 3.1415927410125732; $var4 = nms_MathHelper_cos($var1); $var5 = nms_MathHelper_sin($var1); $var1 = -$var2 * 0.01745329238474369; $var6 = -nms_MathHelper_cos($var1); return nms_Vec3D_createVector($var5 * $var6, nms_MathHelper_sin($var1), $var4 * $var6); } $var2 = nms_MathHelper_cos( -$this.$rotationYaw * 0.01745329238474369 - 3.1415927410125732); $var3 = nms_MathHelper_sin( -$this.$rotationYaw * 0.01745329238474369 - 3.1415927410125732); $var4 = -nms_MathHelper_cos( -$this.$rotationPitch * 0.01745329238474369); return nms_Vec3D_createVector($var3 * $var4, nms_MathHelper_sin( -$this.$rotationPitch * 0.01745329238474369), $var2 * $var4); } function nms_EntityLiving_func_6391_i($this) { return 4; } function nms_EntityLiving_getHeldItem($this) { return null; } function nms_EntityPlayer() { var a = this; nms_EntityLiving.call(a); a.$inventory0 = null; a.$field_9371_f = 0; a.$score = 0; a.$field_775_e = 0.0; a.$field_774_f = 0.0; a.$field_9369_j = 0; a.$field_9368_k = 0; a.$field_771_i = null; a.$dimension = 0; a.$field_781_a = 0; a.$fishEntity = null; } function nms_EntityPlayer_func_350_p($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: $ptr = 1; case 1: nms_EntityLiving_func_350_p($this); if ($rt_suspending()) { break main; } $this.$field_775_e = $this.$field_774_f; $this.$field_774_f = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_EntityPlayer_preparePlayerToSpawn($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$yOffset = 1.6200000047683716; nms_Entity_setSize($this, 0.6000000238418579, 1.7999999523162842); if ($this.$worldObj0 !== null) { var$1 = $this.$posY; if (var$1 > 0.0) { nms_Entity_setPosition($this, $this.$posX, var$1, $this.$posZ); var$2 = $this.$worldObj0; var$3 = $this.$boundingBox; $ptr = 1; continue main; } $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; $this.$rotationPitch = 0.0; } $this.$health = 20; $this.$deathTime = 0; return; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$2, $this, var$3); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2.$size) { $this.$posY = $this.$posY + 1.0; var$1 = $this.$posY; if (var$1 > 0.0) { nms_Entity_setPosition($this, $this.$posX, var$1, $this.$posZ); var$2 = $this.$worldObj0; var$3 = $this.$boundingBox; continue main; } } $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; $this.$rotationPitch = 0.0; $this.$health = 20; $this.$deathTime = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); } function nms_EntityPlayer_onDeath($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_onDeath($this, $var1); if ($rt_suspending()) { break main; } nms_Entity_setSize($this, 0.20000000298023224, 0.20000000298023224); nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $this.$motionY = 0.10000000149011612; if (jl_String_equals($this.$field_771_i, $rt_s(543))) { var$2 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$2, nms_Item_appleRed, 1); var$3 = 1; $ptr = 2; continue main; } var$2 = $this.$inventory0; var$3 = 0; while (true) { var$4 = var$2.$mainInventory.data; if (var$3 >= var$4.length) { var$3 = 0; while (true) { var$4 = var$2.$armorInventory.data; if (var$3 >= var$4.length) break; if (var$4[var$3] !== null) { var$5 = var$2.$player; var$6 = var$4[var$3]; var$7 = 1; $ptr = 4; continue main; } var$3 = var$3 + 1 | 0; } if ($var1 === null) { $this.$motionZ = 0.0; $this.$motionX = 0.0; } else { $this.$motionX = -nms_MathHelper_cos(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; $this.$motionZ = -nms_MathHelper_sin(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; } $this.$yOffset = 0.10000000149011612; return; } if (var$4[var$3] !== null) break; var$3 = var$3 + 1 | 0; } var$5 = var$2.$player; var$6 = var$4[var$3]; var$7 = 1; $ptr = 3; continue main; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($this, var$2, var$3); if ($rt_suspending()) { break main; } var$2 = $this.$inventory0; var$3 = 0; while (true) { var$4 = var$2.$mainInventory.data; if (var$3 >= var$4.length) { var$3 = 0; while (true) { var$4 = var$2.$armorInventory.data; if (var$3 >= var$4.length) break; if (var$4[var$3] !== null) { var$5 = var$2.$player; var$6 = var$4[var$3]; var$7 = 1; $ptr = 4; continue main; } var$3 = var$3 + 1 | 0; } if ($var1 === null) { $this.$motionZ = 0.0; $this.$motionX = 0.0; } else { $this.$motionX = -nms_MathHelper_cos(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; $this.$motionZ = -nms_MathHelper_sin(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; } $this.$yOffset = 0.10000000149011612; return; } if (var$4[var$3] !== null) break; var$3 = var$3 + 1 | 0; } var$5 = var$2.$player; var$6 = var$4[var$3]; var$7 = 1; $ptr = 3; case 3: nms_EntityPlayer_dropPlayerItemWithRandomChoice(var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$2.$mainInventory.data[var$3] = null; while (true) { var$3 = var$3 + 1 | 0; var$4 = var$2.$mainInventory.data; if (var$3 >= var$4.length) { var$3 = 0; while (true) { var$4 = var$2.$armorInventory.data; if (var$3 >= var$4.length) break; if (var$4[var$3] !== null) { var$5 = var$2.$player; var$6 = var$4[var$3]; var$7 = 1; $ptr = 4; continue main; } var$3 = var$3 + 1 | 0; } if ($var1 === null) { $this.$motionZ = 0.0; $this.$motionX = 0.0; } else { $this.$motionX = -nms_MathHelper_cos(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; $this.$motionZ = -nms_MathHelper_sin(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; } $this.$yOffset = 0.10000000149011612; return; } if (var$4[var$3] === null) continue; else break; } var$5 = var$2.$player; var$6 = var$4[var$3]; var$7 = 1; continue main; case 4: nms_EntityPlayer_dropPlayerItemWithRandomChoice(var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$2.$armorInventory.data[var$3] = null; while (true) { var$3 = var$3 + 1 | 0; var$4 = var$2.$armorInventory.data; if (var$3 >= var$4.length) break; if (var$4[var$3] === null) continue; else { var$5 = var$2.$player; var$6 = var$4[var$3]; var$7 = 1; continue main; } } if ($var1 === null) { $this.$motionZ = 0.0; $this.$motionX = 0.0; } else { $this.$motionX = -nms_MathHelper_cos(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; $this.$motionZ = -nms_MathHelper_sin(($this.$field_9331_N + $this.$rotationYaw) * 3.1415927410125732 / 180.0) * 0.10000000149011612; } $this.$yOffset = 0.10000000149011612; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_EntityPlayer_addToPlayerScore($this, $var1, $var2) { $this.$score = $this.$score + $var2 | 0; } function nms_EntityPlayer_dropPlayerItem($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 = 0; $ptr = 1; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($this, $var1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_EntityPlayer_dropPlayerItemWithRandomChoice($this, $var1, $var2) { var $var3, $var5, $var6, $var5_0, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5_0 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1 === null) return; $var3 = nms_EntityItem__init_($this.$worldObj0, $this.$posX, $this.$posY - 0.30000001192092896 + 0.11999999731779099, $this.$posZ, $var1); $var3.$field_805_c = 40; if ($var2) { $var5 = ju_Random_nextFloat($this.$rand2) * 0.5; $var6 = ju_Random_nextFloat($this.$rand2) * 3.1415927410125732 * 2.0; $var3.$motionX = -nms_MathHelper_sin($var6) * $var5; $var3.$motionZ = nms_MathHelper_cos($var6) * $var5; $var3.$motionY = 0.20000000298023224; } else { $var3.$motionX = -nms_MathHelper_sin($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.30000001192092896; $var3.$motionZ = nms_MathHelper_cos($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.30000001192092896; $var3.$motionY = -nms_MathHelper_sin($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.30000001192092896 + 0.10000000149011612; $var5_0 = ju_Random_nextFloat($this.$rand2) * 3.1415927410125732 * 2.0; $var6 = 0.019999999552965164 * ju_Random_nextFloat($this.$rand2); var$7 = $var3.$motionX; var$8 = $var5_0; var$9 = jl_Math_cos(var$8); var$10 = $var6; $var3.$motionX = var$7 + var$9 * var$10; $var3.$motionY = $var3.$motionY + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.10000000149011612; $var3.$motionZ = $var3.$motionZ + jl_Math_sin(var$8) * var$10; } $var1 = $this.$worldObj0; $ptr = 1; case 1: nms_World_entityJoinedWorld($var1, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var5, $var6, $var5_0, var$7, var$8, var$9, var$10, $ptr); } function nms_EntityPlayer_canHarvestBlock($this, $var1) { var var$2, var$3, var$4; var$2 = $this.$inventory0; var$3 = $var1.$blockMaterial; nms_Material_$callClinit(); if (var$3 !== nms_Material_rock && var$3 !== nms_Material_iron && var$3 !== nms_Material_builtSnow && var$3 !== nms_Material_snow) var$4 = 1; else { var$2 = nms_InventoryPlayer_getStackInSlot(var$2, var$2.$currentItem); if (var$2 === null) var$4 = 0; else { nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$2.$itemID].$canHarvestBlock($var1); } } return var$4; } function nms_EntityPlayer_func_373_s($this) { return 0.11999999731779099; } function nms_EntityPlayer_canAttackEntity($this, $var1, $var2) { var 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: $this.$field_9344_ag = 0; if ($this.$health <= 0) return 0; if (!(!($var1 instanceof nms_EntityMobs) && !($var1 instanceof nms_EntityArrow))) { var$3 = $this.$worldObj0.$difficultySetting; if (!var$3) $var2 = 0; if (var$3 == 1) $var2 = ($var2 / 3 | 0) + 1 | 0; if (var$3 == 3) $var2 = ($var2 * 3 | 0) / 2 | 0; } if (!$var2) return 0; $ptr = 1; case 1: $tmp = nms_EntityLiving_canAttackEntity($this, $var1, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_EntityPlayer_damageEntity($this, $var1) { var $var3, var$3, var$4, var$5, $var2; $var3 = $rt_imul($var1, 25 - nms_InventoryPlayer_getTotalArmorValue($this.$inventory0) | 0) + $this.$field_781_a | 0; var$3 = $this.$inventory0; var$4 = 0; while (true) { var$5 = var$3.$armorInventory.data; if (var$4 >= var$5.length) break; if (var$5[var$4] !== null && nms_ItemStack_getItem(var$5[var$4]) instanceof nms_ItemArmor) { nms_ItemStack_damageItem(var$3.$armorInventory.data[var$4], $var1); var$5 = var$3.$armorInventory.data; if (!var$5[var$4].$stackSize) var$5[var$4] = null; } var$4 = var$4 + 1 | 0; } $var2 = $var3 / 25 | 0; $this.$field_781_a = $var3 % 25 | 0; nms_EntityLiving_damageEntity($this, $var2); } function nms_EntityPlayer_getCurrentEquippedItem($this) { return nms_InventoryPlayer_getCurrentItem($this.$inventory0); } function nms_EntityPlayer_destroyCurrentEquippedItem($this) { var var$1; var$1 = $this.$inventory0; nms_InventoryPlayer_setInventorySlotContents(var$1, var$1.$currentItem, null); } function nms_EntityPlayer_func_388_v($this) { return $this.$yOffset - 0.5; } function nms_EntityPlayer_func_457_w($this) { $this.$field_9368_k = (-1); $this.$field_9369_j = 1; } function nms_EntityPlayerSP() { var a = this; nms_EntityPlayer.call(a); a.$field_787_a = null; a.$mc5 = null; a.$field_9373_b = 0; a.$field_9374_bx = 0; a.$field_4134_c = 0.0; a.$field_4133_d = 0.0; } function nms_EntityPlayerSP_func_418_b_($this) { var var$1, var$2; if (!$this.$field_9369_j) $this.$field_9368_k = 0; else { var$1 = $this.$field_9368_k + 1 | 0; $this.$field_9368_k = var$1; if (var$1 == 8) { $this.$field_9368_k = 0; $this.$field_9369_j = 0; } } $this.$swingProgress = $this.$field_9368_k / 8.0; var$2 = $this.$field_787_a; $this.$field_9342_ah = var$2.$field_1174_a; $this.$field_9340_ai = var$2.$field_1173_b; $this.$isJumping = var$2.$field_1176_d; } function nms_EntityPlayerSP_onLivingUpdate($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$field_4134_c; $this.$field_4133_d = var$1; if (!$this.$field_9374_bx) { if (var$1 > 0.0) $this.$field_4134_c = var$1 - 0.05000000074505806; if ($this.$field_4134_c < 0.0) $this.$field_4134_c = 0.0; } else { var$2 = var$1 + 0.012500000186264515; $this.$field_4134_c = var$2; if (var$2 >= 1.0) { $this.$field_4134_c = 1.0; $this.$field_9373_b = 10; var$3 = $this.$mc5; $ptr = 1; continue main; } $this.$field_9374_bx = 0; } var$4 = $this.$field_9373_b; if (var$4 > 0) $this.$field_9373_b = var$4 - 1 | 0; var$3 = $this.$field_787_a; var$3.$field_1174_a = 0.0; var$3.$field_1173_b = 0.0; var$5 = var$3.$field_1179_f.data; if (var$5[0]) var$3.$field_1173_b = 1.0; if (var$5[1]) var$3.$field_1173_b = var$3.$field_1173_b - 1.0; if (var$5[2]) var$3.$field_1174_a = 1.0; if (var$5[3]) var$3.$field_1174_a = var$3.$field_1174_a - 1.0; var$3.$field_1176_d = var$5[4]; var$4 = var$5[5]; var$3.$field_1175_e = var$4; if (var$4) { var$3.$field_1174_a = var$3.$field_1174_a * 0.3; var$3.$field_1173_b = var$3.$field_1173_b * 0.3; } if (var$4 && $this.$field_9287_aY < 0.20000000298023224) $this.$field_9287_aY = 0.20000000298023224; if (!$this.$worldObj0.$difficultySetting && $this.$health < 20 && !(($this.$field_9311_be % 20 | 0) * 4 | 0)) nms_EntityLiving_heal($this, 1); var$3 = $this.$inventory0; var$4 = 0; while (true) { var$5 = var$3.$mainInventory.data; if (var$4 >= var$5.length) break; if (var$5[var$4] !== null && var$5[var$4].$animationsToGo > 0) { var$6 = var$5[var$4]; var$6.$animationsToGo = var$6.$animationsToGo - 1 | 0; } var$4 = var$4 + 1 | 0; } $this.$field_775_e = $this.$field_774_f; $ptr = 2; continue main; case 1: nmc_Minecraft_func_6237_k(var$3); if ($rt_suspending()) { break main; } $this.$field_9374_bx = 0; var$4 = $this.$field_9373_b; if (var$4 > 0) $this.$field_9373_b = var$4 - 1 | 0; var$3 = $this.$field_787_a; var$3.$field_1174_a = 0.0; var$3.$field_1173_b = 0.0; var$5 = var$3.$field_1179_f.data; if (var$5[0]) var$3.$field_1173_b = 1.0; if (var$5[1]) var$3.$field_1173_b = var$3.$field_1173_b - 1.0; if (var$5[2]) var$3.$field_1174_a = 1.0; if (var$5[3]) var$3.$field_1174_a = var$3.$field_1174_a - 1.0; var$3.$field_1176_d = var$5[4]; var$4 = var$5[5]; var$3.$field_1175_e = var$4; if (var$4) { var$3.$field_1174_a = var$3.$field_1174_a * 0.3; var$3.$field_1173_b = var$3.$field_1173_b * 0.3; } if (var$4 && $this.$field_9287_aY < 0.20000000298023224) $this.$field_9287_aY = 0.20000000298023224; if (!$this.$worldObj0.$difficultySetting && $this.$health < 20 && !(($this.$field_9311_be % 20 | 0) * 4 | 0)) nms_EntityLiving_heal($this, 1); var$3 = $this.$inventory0; var$4 = 0; while (true) { var$5 = var$3.$mainInventory.data; if (var$4 >= var$5.length) break; if (var$5[var$4] !== null && var$5[var$4].$animationsToGo > 0) { var$6 = var$5[var$4]; var$6.$animationsToGo = var$6.$animationsToGo - 1 | 0; } var$4 = var$4 + 1 | 0; } $this.$field_775_e = $this.$field_774_f; $ptr = 2; case 2: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } var$7 = $this.$motionX; var$7 = var$7 * var$7; var$8 = $this.$motionZ; var$2 = nms_MathHelper_sqrt_double(var$7 + var$8 * var$8); var$1 = jl_Math_atan( -$this.$motionY * 0.20000000298023224) * 15.0; if (var$2 > 0.10000000149011612) var$2 = 0.10000000149011612; var$4 = $this.$onGround; if (!(var$4 && $this.$health > 0)) var$2 = 0.0; if (!(!var$4 && $this.$health > 0)) var$1 = 0.0; var$9 = $this.$field_774_f; $this.$field_774_f = var$9 + (var$2 - var$9) * 0.4000000059604645; var$2 = $this.$field_9328_R; $this.$field_9328_R = var$2 + (var$1 - var$2) * 0.800000011920929; if ($this.$health <= 0) return; var$3 = $this.$worldObj0; var$6 = nms_AxisAlignedBB_expands($this.$boundingBox, 1.0, 0.0, 1.0); $ptr = 3; case 3: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity(var$3, $this, var$6); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3 !== null) { var$4 = 0; if (var$4 < var$3.$size) { var$6 = ju_ArrayList_get(var$3, var$4); $ptr = 4; continue main; } } return; case 4: var$6.$onCollideWithPlayer($this); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; if (var$4 >= var$3.$size) return; var$6 = ju_ArrayList_get(var$3, var$4); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); } function nms_EntityPlayerSP_func_460_a($this, $var1, $var2) { var var$3, var$4, var$5; var$3 = $this.$field_787_a; var$4 = (-1); var$5 = var$3.$field_1178_g; if ($var1 == var$5.$keyBindForward.$keyCode) var$4 = 0; if ($var1 == var$5.$keyBindBack.$keyCode) var$4 = 1; if ($var1 == var$5.$keyBindLeft.$keyCode) var$4 = 2; if ($var1 == var$5.$keyBindRight.$keyCode) var$4 = 3; if ($var1 == var$5.$keyBindJump.$keyCode) var$4 = 4; if ($var1 == var$5.$keyBindSneak.$keyCode) var$4 = 5; if (var$4 >= 0) var$3.$field_1179_f.data[var$4] = $var2; } function nms_EntityPlayerSP_writeEntityToNBT($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $var1); var$2 = $this.$inventory0; var$3 = nms_NBTTagList__init_0(); var$4 = 0; while (true) { var$5 = var$2.$mainInventory.data; if (var$4 >= var$5.length) break; if (var$5[var$4] !== null) { var$6 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setByte(var$6, $rt_s(544), var$4 << 24 >> 24); nms_ItemStack_writeToNBT(var$2.$mainInventory.data[var$4], var$6); nms_NBTTagList_setTag(var$3, var$6); } var$4 = var$4 + 1 | 0; } var$7 = 0; while (true) { var$5 = var$2.$armorInventory.data; if (var$7 >= var$5.length) break; if (var$5[var$7] !== null) { var$6 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setByte(var$6, $rt_s(544), (var$7 + 100 | 0) << 24 >> 24); nms_ItemStack_writeToNBT(var$2.$armorInventory.data[var$7], var$6); nms_NBTTagList_setTag(var$3, var$6); } var$7 = var$7 + 1 | 0; } var$7 = 0; while (true) { var$5 = var$2.$craftingInventory.data; if (var$7 >= var$5.length) break; if (var$5[var$7] !== null) { var$6 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setByte(var$6, $rt_s(544), (var$7 + 80 | 0) << 24 >> 24); nms_ItemStack_writeToNBT(var$2.$craftingInventory.data[var$7], var$6); nms_NBTTagList_setTag(var$3, var$6); } var$7 = var$7 + 1 | 0; } nms_NBTTagCompound_setTag($var1, $rt_s(376), var$3); nms_NBTTagCompound_setInteger($var1, $rt_s(443), $this.$dimension); nms_NBTTagCompound_setInteger($var1, $rt_s(545), $this.$score); } function nms_EntityPlayerSP_readEntityFromNBT($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_readEntityFromNBT($this, $var1); var$2 = nms_NBTTagCompound_getTagList($var1, $rt_s(376)); var$3 = $this.$inventory0; var$3.$mainInventory = $rt_createArray(nms_ItemStack, 36); var$3.$armorInventory = $rt_createArray(nms_ItemStack, 4); var$3.$craftingInventory = $rt_createArray(nms_ItemStack, 4); var$4 = 0; while (var$4 < nms_NBTTagList_tagCount(var$2)) { var$5 = nms_NBTTagList_tagAt(var$2, var$4); var$6 = nms_NBTTagCompound_getByte(var$5, $rt_s(544)) & 255; if (var$6 >= 0) { var$7 = var$3.$mainInventory.data; if (var$6 < var$7.length) var$7[var$6] = nms_ItemStack__init_5(var$5); } if (var$6 >= 80) { var$7 = var$3.$craftingInventory.data; if (var$6 < (var$7.length + 80 | 0)) var$7[var$6 - 80 | 0] = nms_ItemStack__init_5(var$5); } if (var$6 >= 100) { var$7 = var$3.$armorInventory.data; if (var$6 < (var$7.length + 100 | 0)) var$7[var$6 - 100 | 0] = nms_ItemStack__init_5(var$5); } var$4 = var$4 + 1 | 0; } $this.$dimension = nms_NBTTagCompound_getInteger($var1, $rt_s(443)); $this.$score = nms_NBTTagCompound_getInteger($var1, $rt_s(545)); } function nms_EntityPlayerSP_displayGUIChest($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc5; var$3 = new nms_GuiChest; var$4 = $this.$inventory0; nms_GuiContainer__init_(var$3); var$3.$field_980_m = 0; var$3.$field_982_j = var$4; var$3.$field_981_l = $var1; var$3.$field_948_f = 0; var$5 = $var1.$getSizeInventory() / 9 | 0; var$3.$field_980_m = var$5; var$3.$ySize = 114 + (var$5 * 18 | 0) | 0; var$6 = (var$5 - 4 | 0) * 18 | 0; var$5 = 0; while (var$5 < var$3.$field_980_m) { var$7 = 0; while (var$7 < 9) { ju_ArrayList_add(var$3.$inventorySlots, nms_SlotInventory__init_(var$3, $var1, var$7 + (var$5 * 9 | 0) | 0, 8 + (var$7 * 18 | 0) | 0, 18 + (var$5 * 18 | 0) | 0)); var$7 = var$7 + 1 | 0; } var$5 = var$5 + 1 | 0; } var$8 = 0; while (var$8 < 3) { var$9 = 0; while (var$9 < 9) { ju_ArrayList_add(var$3.$inventorySlots, nms_SlotInventory__init_(var$3, var$4, var$9 + ((var$8 + 1 | 0) * 9 | 0) | 0, 8 + (var$9 * 18 | 0) | 0, (103 + (var$8 * 18 | 0) | 0) + var$6 | 0)); var$9 = var$9 + 1 | 0; } var$8 = var$8 + 1 | 0; } var$5 = 0; var$10 = 161 + var$6 | 0; while (var$5 < 9) { ju_ArrayList_add(var$3.$inventorySlots, nms_SlotInventory__init_(var$3, var$4, var$5, 8 + (var$5 * 18 | 0) | 0, var$10)); var$5 = var$5 + 1 | 0; } $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); } function nms_EntityPlayerSP_func_443_a_($this, $var1, $var2) { var var$3, var$4, var$5; var$3 = $this.$mc5; var$4 = var$3.$field_6321_h; var$5 = new nms_EntityPickupFX; nms_EntityFX__init_(var$5, var$3.$theWorld, $var1.$posX, $var1.$posY, $var1.$posZ, $var1.$motionX, $var1.$motionY, $var1.$motionZ); var$5.$field_678_p = 0; var$5.$field_677_q = 0; var$5.$field_675_a = $var1; var$5.$field_679_o = $this; var$5.$field_677_q = 3; var$5.$field_676_r = (-0.5); nms_EffectRenderer_func_1192_a(var$4, var$5); } function nms_EntityPlayerSP_getPlayerArmorValue($this) { return nms_InventoryPlayer_getTotalArmorValue($this.$inventory0); } function nms_EntityPlayerSP_func_6420_o($this) {} function nms_EntityPlayerSP_func_381_o($this) { return $this.$field_787_a.$field_1175_e; } function nms_EntityPlayerSP_func_4039_q($this) { if ($this.$field_9373_b <= 0) $this.$field_9374_bx = 1; else $this.$field_9373_b = 10; } var nms_MathHelper = $rt_classWithoutFields(); var nms_MathHelper_SIN_TABLE = null; function nms_MathHelper__init_0() { var var_0 = new nms_MathHelper(); nms_MathHelper__init_(var_0); return var_0; } function nms_MathHelper__init_($this) {} function nms_MathHelper_sin($var0) { return nms_MathHelper_SIN_TABLE.data[($var0 * 10430.3779296875 | 0) & 65535]; } function nms_MathHelper_cos($var0) { return nms_MathHelper_SIN_TABLE.data[($var0 * 10430.3779296875 + 16384.0 | 0) & 65535]; } function nms_MathHelper_sqrt_float($var0) { return jl_Math_sqrt($var0); } function nms_MathHelper_sqrt_double($var0) { return jl_Math_sqrt($var0); } function nms_MathHelper_floor_float($var0) { var $var1; $var1 = $var0 | 0; if ($var0 < $var1) $var1 = $var1 - 1 | 0; return $var1; } function nms_MathHelper_floor_double($var0) { var $var2; $var2 = $var0 | 0; if ($var0 < $var2) $var2 = $var2 - 1 | 0; return $var2; } function nms_MathHelper_bucketInt($var0, $var1) { return $var0 >= 0 ? $var0 / $var1 | 0 : ( -((( -$var0 | 0) - 1 | 0) / $var1 | 0) | 0) - 1 | 0; } function nms_MathHelper__clinit_() { var $var0; nms_MathHelper_SIN_TABLE = $rt_createFloatArray(65536); $var0 = 0; while ($var0 < 65536) { nms_MathHelper_SIN_TABLE.data[$var0] = jl_Math_sin($var0 * 3.141592653589793 * 2.0 / 65536.0); $var0 = $var0 + 1 | 0; } } function nms_KeyBinding() { var a = this; jl_Object.call(a); a.$keyDescription = null; a.$keyCode = 0; } function nms_KeyBinding__init_(var_0, var_1) { var var_2 = new nms_KeyBinding(); nms_KeyBinding__init_0(var_2, var_0, var_1); return var_2; } function nms_KeyBinding__init_0($this, $var1, $var2) { $this.$keyDescription = $var1; $this.$keyCode = $var2; } var nms_IInventory = $rt_classWithoutFields(0); function nms_InventoryPlayer() { var a = this; jl_Object.call(a); a.$mainInventory = null; a.$armorInventory = null; a.$craftingInventory = null; a.$currentItem = 0; a.$player = null; a.$draggingItemStack = null; a.$field_845_f = 0; } function nms_InventoryPlayer_getCurrentItem($this) { return $this.$mainInventory.data[$this.$currentItem]; } function nms_InventoryPlayer_getInventorySlotContainItem($this, $var1) { var $var2, var$3; $var2 = 0; while (true) { var$3 = $this.$mainInventory.data; if ($var2 >= var$3.length) return (-1); if (var$3[$var2] !== null && var$3[$var2].$itemID == $var1) break; $var2 = $var2 + 1 | 0; } return $var2; } function nms_InventoryPlayer_getFirstEmptyStack($this) { var $var1, var$2; $var1 = 0; while (true) { var$2 = $this.$mainInventory.data; if ($var1 >= var$2.length) return (-1); if (var$2[$var1] === null) break; $var1 = $var1 + 1 | 0; } return $var1; } function nms_InventoryPlayer_changeCurrentItem($this, $var1) { if ($var1 > 0) $var1 = 1; if ($var1 < 0) $var1 = (-1); $this.$currentItem = $this.$currentItem - $var1 | 0; while (true) { $var1 = $this.$currentItem; if ($var1 >= 0) break; $this.$currentItem = $var1 + 9 | 0; } while (true) { $var1 = $this.$currentItem; if ($var1 < 9) break; $this.$currentItem = $var1 - 9 | 0; } } function nms_InventoryPlayer_addItemStackToInventory($this, $var1) { var $var2, var$3, var$4, var$5, var$6; if (!$var1.$itemDamage) { $var2 = $var1.$itemID; var$3 = $var1.$stackSize; var$4 = 0; a: { while (true) { var$5 = $this.$mainInventory.data; if (var$4 >= var$5.length) { var$4 = (-1); break a; } if (var$5[var$4] !== null && var$5[var$4].$itemID == $var2 && var$5[var$4].$stackSize < nms_ItemStack_getMaxStackSize(var$5[var$4]) && $this.$mainInventory.data[var$4].$stackSize < 64) break; var$4 = var$4 + 1 | 0; } } if (var$4 < 0) var$4 = nms_InventoryPlayer_getFirstEmptyStack($this); if (var$4 >= 0) { var$5 = $this.$mainInventory.data; if (var$5[var$4] === null) var$5[var$4] = nms_ItemStack__init_3($var2, 0); $var2 = nms_ItemStack_getMaxStackSize($this.$mainInventory.data[var$4]); var$5 = $this.$mainInventory.data; $var2 = var$3 <= ($var2 - var$5[var$4].$stackSize | 0) ? var$3 : nms_ItemStack_getMaxStackSize(var$5[var$4]) - $this.$mainInventory.data[var$4].$stackSize | 0; var$5 = $this.$mainInventory.data; if ($var2 > (64 - var$5[var$4].$stackSize | 0)) $var2 = 64 - var$5[var$4].$stackSize | 0; if ($var2) { var$3 = var$3 - $var2 | 0; var$6 = var$5[var$4]; var$6.$stackSize = var$6.$stackSize + $var2 | 0; var$5[var$4].$animationsToGo = 5; } } $var1.$stackSize = var$3; if (!var$3) return 1; } $var2 = nms_InventoryPlayer_getFirstEmptyStack($this); if ($var2 < 0) return 0; var$5 = $this.$mainInventory.data; var$5[$var2] = $var1; var$5[$var2].$animationsToGo = 5; return 1; } function nms_InventoryPlayer_decrStackSize($this, $var1, $var2) { var $var3, var$4, $var4, $var4_0; $var3 = $this.$mainInventory; var$4 = $var3.data.length; if ($var1 >= var$4) { $var3 = $this.$armorInventory; $var1 = $var1 - var$4 | 0; } $var3 = $var3.data; if ($var3[$var1] === null) return null; if ($var3[$var1].$stackSize <= $var2) { $var4 = $var3[$var1]; $var3[$var1] = null; return $var4; } $var4_0 = nms_ItemStack_splitStack($var3[$var1], $var2); if (!$var3[$var1].$stackSize) $var3[$var1] = null; return $var4_0; } function nms_InventoryPlayer_setInventorySlotContents($this, $var1, $var2) { var $var3, var$4, var$5; $var3 = $this.$mainInventory; var$4 = $var3.data.length; if ($var1 >= var$4) { $var1 = $var1 - var$4 | 0; $var3 = $this.$armorInventory; } var$5 = $var3.data.length; if ($var1 >= var$5) { $var1 = $var1 - var$5 | 0; $var3 = $this.$craftingInventory; } $var3.data[$var1] = $var2; } function nms_InventoryPlayer_getStackInSlot($this, $var1) { var $var2, var$3; $var2 = $this.$mainInventory; var$3 = $var2.data.length; if ($var1 >= var$3) { $var1 = $var1 - var$3 | 0; $var2 = $this.$armorInventory; } var$3 = $var2.data.length; if ($var1 >= var$3) { $var1 = $var1 - var$3 | 0; $var2 = $this.$craftingInventory; } return $var2.data[$var1]; } function nms_InventoryPlayer_getInventoryStackLimit($this) { return 64; } function nms_InventoryPlayer_armorItemInSlot($this, $var1) { return $this.$armorInventory.data[$var1]; } function nms_InventoryPlayer_getTotalArmorValue($this) { var $var1, $var2, $var3, $var4, var$5, $var5; $var1 = 0; $var2 = 0; $var3 = 0; $var4 = 0; while (true) { var$5 = $this.$armorInventory.data; if ($var4 >= var$5.length) break; if (var$5[$var4] !== null && nms_ItemStack_getItem(var$5[$var4]) instanceof nms_ItemArmor) { $var5 = nms_ItemStack_getMaxDamage($this.$armorInventory.data[$var4]); var$5 = $this.$armorInventory.data; $var2 = $var2 + ($var5 - var$5[$var4].$itemDamage | 0) | 0; $var3 = $var3 + $var5 | 0; $var1 = $var1 + (nms_ItemStack_getItem(var$5[$var4])).$damageReduceAmmount | 0; } $var4 = $var4 + 1 | 0; } if (!$var3) return 0; return ($rt_imul($var1 - 1 | 0, $var2) / $var3 | 0) + 1 | 0; } function nms_InventoryPlayer_onInventoryChanged($this) { $this.$field_845_f = 1; } function nms_GuiContainer() { var a = this; nms_GuiScreen.call(a); a.$xSize = 0; a.$ySize = 0; a.$inventorySlots = null; } var nms_GuiContainer_itemRenderer = null; function nms_GuiContainer__init_($this) { nms_GuiScreen__init_($this); $this.$xSize = 176; $this.$ySize = 166; $this.$inventorySlots = ju_ArrayList__init_0(); } function nms_GuiContainer_drawScreen($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var10, $var7, $var8, var$10, var$11, var$12, var$13, var$14, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } $var4 = ($this.$width - $this.$xSize | 0) / 2 | 0; $var5 = ($this.$height0 - $this.$ySize | 0) / 2 | 0; $ptr = 2; case 2: $this.$drawGuiContainerBackgroundLayer($var3); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glRotatef(180.0, 1.0, 0.0, 0.0); nms_RenderHelper_enableStandardItemLighting(); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var4, $var5, 0.0); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glEnable(32826); $var6 = 0; $var10 = $this.$inventorySlots; if ($var6 < $var10.$size) { $var7 = ju_ArrayList_get($var10, $var6); $var10 = $var7.$inventory1; $var8 = $var7.$slotIndex; var$10 = $var7.$xPos; var$11 = $var7.$yPos; var$12 = $var10.$getStackInSlot($var8); if (var$12 === null) { $var8 = $var7.$func_775_c(); if ($var8 >= 0) { olo_EaglerAdapterGL30_glDisable(2896); $var10 = $this.$mc8.$renderEngine; var$13 = $rt_s(182); $ptr = 5; continue main; } } var$13 = nms_GuiContainer_itemRenderer; var$14 = $this.$fontRenderer0; $var10 = $this.$mc8.$renderEngine; $ptr = 4; continue main; } $var10 = $this.$mc8.$thePlayer.$inventory0; if ($var10.$draggingItemStack === null) { olo_EaglerAdapterGL30_glDisable(32826); nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); $this.$drawGuiContainerForegroundLayer(); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glPopMatrix(); return; } olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, 32.0); $var7 = nms_GuiContainer_itemRenderer; var$13 = $this.$fontRenderer0; var$14 = $this.$mc8.$renderEngine; var$12 = $var10.$draggingItemStack; $var1 = ($var1 - $var4 | 0) - 8 | 0; $var2 = ($var2 - $var5 | 0) - 8 | 0; $ptr = 3; case 3: nms_RenderItem_renderItemIntoGUI($var7, var$13, var$14, var$12, $var1, $var2); if ($rt_suspending()) { break main; } nms_RenderItem_renderItemOverlayIntoGUI(nms_GuiContainer_itemRenderer, $this.$fontRenderer0, $this.$mc8.$renderEngine, $var10.$draggingItemStack, $var1, $var2); olo_EaglerAdapterGL30_glDisable(32826); nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); $this.$drawGuiContainerForegroundLayer(); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glPopMatrix(); return; case 4: nms_RenderItem_renderItemIntoGUI(var$13, var$14, $var10, var$12, var$10, var$11); if ($rt_suspending()) { break main; } nms_RenderItem_renderItemOverlayIntoGUI(nms_GuiContainer_itemRenderer, $this.$fontRenderer0, $this.$mc8.$renderEngine, var$12, var$10, var$11); if (nms_SlotInventory_isAtCursorPos($var7, $var1, $var2)) { olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); $var8 = $var7.$xPos; $var9 = $var7.$yPos; nms_Gui_drawGradientRect($this, $var8, $var9, $var8 + 16 | 0, $var9 + 16 | 0, (-2130706433), (-2130706433)); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); } $var6 = $var6 + 1 | 0; $var10 = $this.$inventorySlots; if ($var6 < $var10.$size) { $var7 = ju_ArrayList_get($var10, $var6); $var10 = $var7.$inventory1; $var8 = $var7.$slotIndex; var$10 = $var7.$xPos; var$11 = $var7.$yPos; var$12 = $var10.$getStackInSlot($var8); if (var$12 === null) { $var8 = $var7.$func_775_c(); if ($var8 >= 0) { olo_EaglerAdapterGL30_glDisable(2896); $var10 = $this.$mc8.$renderEngine; var$13 = $rt_s(182); $ptr = 5; continue main; } } var$13 = nms_GuiContainer_itemRenderer; var$14 = $this.$fontRenderer0; $var10 = $this.$mc8.$renderEngine; continue main; } $var10 = $this.$mc8.$thePlayer.$inventory0; if ($var10.$draggingItemStack === null) { olo_EaglerAdapterGL30_glDisable(32826); nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); $this.$drawGuiContainerForegroundLayer(); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glPopMatrix(); return; } olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, 32.0); $var7 = nms_GuiContainer_itemRenderer; var$13 = $this.$fontRenderer0; var$14 = $this.$mc8.$renderEngine; var$12 = $var10.$draggingItemStack; $var1 = ($var1 - $var4 | 0) - 8 | 0; $var2 = ($var2 - $var5 | 0) - 8 | 0; $ptr = 3; continue main; case 5: $tmp = nms_RenderEngine_getTexture($var10, var$13); if ($rt_suspending()) { break main; } $var9 = $tmp; nms_RenderEngine_bindTexture($var10, $var9); nms_Gui_drawTexturedModalRect($this, var$10, var$11, ($var8 % 16 | 0) * 16 | 0, ($var8 / 16 | 0) * 16 | 0, 16, 16); olo_EaglerAdapterGL30_glEnable(2896); if (nms_SlotInventory_isAtCursorPos($var7, $var1, $var2)) { olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); $var8 = $var7.$xPos; $var9 = $var7.$yPos; nms_Gui_drawGradientRect($this, $var8, $var9, $var8 + 16 | 0, $var9 + 16 | 0, (-2130706433), (-2130706433)); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); } $var6 = $var6 + 1 | 0; $var10 = $this.$inventorySlots; if ($var6 < $var10.$size) { $var7 = ju_ArrayList_get($var10, $var6); $var10 = $var7.$inventory1; $var8 = $var7.$slotIndex; var$10 = $var7.$xPos; var$11 = $var7.$yPos; var$12 = $var10.$getStackInSlot($var8); if (var$12 === null) { $var8 = $var7.$func_775_c(); if ($var8 >= 0) { olo_EaglerAdapterGL30_glDisable(2896); $var10 = $this.$mc8.$renderEngine; var$13 = $rt_s(182); continue main; } } var$13 = nms_GuiContainer_itemRenderer; var$14 = $this.$fontRenderer0; $var10 = $this.$mc8.$renderEngine; $ptr = 4; continue main; } $var10 = $this.$mc8.$thePlayer.$inventory0; if ($var10.$draggingItemStack === null) { olo_EaglerAdapterGL30_glDisable(32826); nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); $this.$drawGuiContainerForegroundLayer(); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glPopMatrix(); return; } olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, 32.0); $var7 = nms_GuiContainer_itemRenderer; var$13 = $this.$fontRenderer0; var$14 = $this.$mc8.$renderEngine; var$12 = $var10.$draggingItemStack; $var1 = ($var1 - $var4 | 0) - 8 | 0; $var2 = ($var2 - $var5 | 0) - 8 | 0; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var10, $var7, $var8, var$10, var$11, var$12, var$13, var$14, $var9, $ptr); } function nms_GuiContainer_mouseClicked($this, $var1, $var2, $var3) { var $var7, $var4, $var8, $var5, $var6, var$9, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var8 = $thread.pop();$var4 = $thread.pop();$var7 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($var3 && $var3 != 1)) { $var7 = 0; a: { while (true) { $var4 = $this.$inventorySlots; if ($var7 >= $var4.$size) { $var4 = null; break a; } $var4 = ju_ArrayList_get($var4, $var7); if (nms_SlotInventory_isAtCursorPos($var4, $var1, $var2)) break; $var7 = $var7 + 1 | 0; } } $var8 = $this.$mc8.$thePlayer; $var5 = $var8.$inventory0; if ($var4 !== null) { b: { $var6 = nms_Slot_getStack($var4); if (!($var6 === null && $var5.$draggingItemStack === null)) { if ($var6 !== null && $var5.$draggingItemStack === null) { $var7 = !$var3 ? $var6.$stackSize : ($var6.$stackSize + 1 | 0) / 2 | 0; $var8 = $var4.$inventory1; $var1 = $var4.$slotIndex; $ptr = 4; continue main; } if ($var6 === null) { $var8 = $var5.$draggingItemStack; if ($var8 !== null && $var4.$isItemValid($var8)) { $var7 = $var3 ? 1 : $var5.$draggingItemStack.$stackSize; if ($var7 > $var4.$getSlotStackLimit()) $var7 = $var4.$getSlotStackLimit(); $var8 = nms_ItemStack_splitStack($var5.$draggingItemStack, $var7); $ptr = 8; continue main; } } if ($var6 !== null) { $var8 = $var5.$draggingItemStack; if ($var8 !== null) { if (!$var4.$isItemValid($var8)) { $var1 = $var6.$itemID; $var8 = $var5.$draggingItemStack; if ($var1 != $var8.$itemID) break b; if (nms_ItemStack_getMaxStackSize($var8) <= 1) break b; $var7 = $var6.$stackSize; if ($var7 <= 0) break b; $var8 = $var5.$draggingItemStack; if (($var7 + $var8.$stackSize | 0) > nms_ItemStack_getMaxStackSize($var8)) break b; $var8 = $var5.$draggingItemStack; $var8.$stackSize = $var8.$stackSize + $var7 | 0; nms_ItemStack_splitStack($var6, $var7); if ($var6.$stackSize) { $ptr = 9; continue main; } $var8 = null; $ptr = 10; continue main; } $var1 = $var6.$itemID; $var8 = $var5.$draggingItemStack; $var1 = $rt_compare($var1, $var8.$itemID); if (!$var1) { if (!$var1) { if (!$var3) { $var7 = $var8.$stackSize; if ($var7 > ($var4.$getSlotStackLimit() - $var6.$stackSize | 0)) $var7 = $var4.$getSlotStackLimit() - $var6.$stackSize | 0; if ($var7 > (nms_ItemStack_getMaxStackSize($var5.$draggingItemStack) - $var6.$stackSize | 0)) $var7 = nms_ItemStack_getMaxStackSize($var5.$draggingItemStack) - $var6.$stackSize | 0; nms_ItemStack_splitStack($var5.$draggingItemStack, $var7); if (!$var5.$draggingItemStack.$stackSize) $var5.$draggingItemStack = null; $var6.$stackSize = $var6.$stackSize + $var7 | 0; } else if ($var3 == 1) { $var7 = 1; if ($var7 > ($var4.$getSlotStackLimit() - $var6.$stackSize | 0)) $var7 = $var4.$getSlotStackLimit() - $var6.$stackSize | 0; if ($var7 > (nms_ItemStack_getMaxStackSize($var5.$draggingItemStack) - $var6.$stackSize | 0)) $var7 = nms_ItemStack_getMaxStackSize($var5.$draggingItemStack) - $var6.$stackSize | 0; nms_ItemStack_splitStack($var5.$draggingItemStack, $var7); if (!$var5.$draggingItemStack.$stackSize) $var5.$draggingItemStack = null; $var6.$stackSize = $var6.$stackSize + $var7 | 0; } } } else if ($var8.$stackSize <= $var4.$getSlotStackLimit()) { $var8 = $var5.$draggingItemStack; $ptr = 7; continue main; } } } } } $ptr = 1; continue main; } $var4 = $var5.$draggingItemStack; if ($var4 !== null) { $var7 = $this.$width; var$9 = $this.$xSize; $var9 = ($var7 - var$9 | 0) / 2 | 0; $var7 = ($this.$height0 - $this.$ySize | 0) / 2 | 0; if (!($var1 >= $var9 && $var2 >= $var7 && $var1 < ($var9 + var$9 | 0) && $var2 < ($var7 + var$9 | 0))) { if (!$var3) { $ptr = 2; continue main; } if ($var3 == 1) { $var4 = nms_ItemStack_splitStack($var5.$draggingItemStack, 1); $ptr = 3; continue main; } } } } return; case 1: nms_Slot_onSlotChanged($var4); if ($rt_suspending()) { break main; } return; case 2: nms_EntityPlayer_dropPlayerItem($var8, $var4); if ($rt_suspending()) { break main; } $var5.$draggingItemStack = null; if ($var3 != 1) return; $var4 = nms_ItemStack_splitStack($var5.$draggingItemStack, 1); $ptr = 3; case 3: nms_EntityPlayer_dropPlayerItem($var8, $var4); if ($rt_suspending()) { break main; } if (!$var5.$draggingItemStack.$stackSize) $var5.$draggingItemStack = null; return; case 4: $tmp = $var8.$decrStackSize($var1, $var7); if ($rt_suspending()) { break main; } $var8 = $tmp; $var5.$draggingItemStack = $var8; if ($var6.$stackSize) { $ptr = 5; continue main; } $var8 = null; $ptr = 6; continue main; case 5: $var4.$onPickupFromSlot(); if ($rt_suspending()) { break main; } $ptr = 1; continue main; case 6: nms_Slot_putStack($var4, $var8); if ($rt_suspending()) { break main; } $ptr = 5; continue main; case 7: nms_Slot_putStack($var4, $var8); if ($rt_suspending()) { break main; } $var5.$draggingItemStack = $var6; $ptr = 1; continue main; case 8: nms_Slot_putStack($var4, $var8); if ($rt_suspending()) { break main; } if (!$var5.$draggingItemStack.$stackSize) $var5.$draggingItemStack = null; $ptr = 1; continue main; case 9: $var4.$onPickupFromSlot(); if ($rt_suspending()) { break main; } $ptr = 1; continue main; case 10: nms_Slot_putStack($var4, $var8); if ($rt_suspending()) { break main; } $ptr = 9; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var7, $var4, $var8, $var5, $var6, var$9, $var9, $ptr); } function nms_GuiContainer_mouseMovedOrUp($this, $var1, $var2, $var3) {} function nms_GuiContainer_keyTyped($this, $var1, $var2) { var 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();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var2 != 1 && $var2 != $this.$mc8.$gameSettings.$keyBindInventory.$keyCode) return; var$3 = $this.$mc8; var$4 = null; $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen(var$3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $ptr); } function nms_GuiContainer_onGuiClosed($this) { var var$1, $var1, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc8.$thePlayer; if (var$1 !== null) { $var1 = var$1.$inventory0; var$3 = $var1.$draggingItemStack; if (var$3 !== null) { $ptr = 1; continue main; } } return; case 1: nms_EntityPlayer_dropPlayerItem(var$1, var$3); if ($rt_suspending()) { break main; } $var1.$draggingItemStack = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, $ptr); } function nms_GuiContainer_doesGuiPauseGame($this) { return 0; } function nms_GuiContainer__clinit_() { nms_GuiContainer_itemRenderer = nms_RenderItem__init_0(); } function nms_GuiInventory() { var a = this; nms_GuiContainer.call(a); a.$field_977_j = null; a.$xSize_lo = 0.0; a.$ySize_lo = 0.0; } function nms_GuiInventory__init_0(var_0, var_1) { var var_2 = new nms_GuiInventory(); nms_GuiInventory__init_(var_2, var_0, var_1); return var_2; } function nms_GuiInventory__init_($this, $var1, $var2) { var var$3, var$4, var$5, $var3, $var4, $var4_0; var$3 = $var2.data; nms_GuiContainer__init_($this); $this.$field_948_f = 1; var$4 = new nms_CraftingInventoryPlayerCB; nms_CraftingInventoryCB__init_(var$4); var$4.$craftResult0 = nms_InventoryCraftResult__init_0(); var$5 = new nms_InventoryCrafting; var$5.$nbrSlots = var$3.length; var$5.$stackList = $var2; var$5.$eventHandler = var$4; var$4.$craftMatrix0 = var$5; nms_CraftingInventoryPlayerCB_onCraftMatrixChanged(var$4, var$5); $this.$field_977_j = var$4; ju_ArrayList_add($this.$inventorySlots, nms_SlotCrafting__init_($this, var$4.$craftMatrix0, var$4.$craftResult0, 0, 144, 36)); $var3 = 0; while ($var3 < 2) { $var4 = 0; while ($var4 < 2) { ju_ArrayList_add($this.$inventorySlots, nms_SlotInventory__init_($this, $this.$field_977_j.$craftMatrix0, $var4 + ($var3 * 2 | 0) | 0, 88 + ($var4 * 18 | 0) | 0, 26 + ($var3 * 18 | 0) | 0)); $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var4 = 0; while ($var4 < 4) { var$5 = $this.$inventorySlots; var$4 = new nms_SlotArmor; nms_SlotInventory__init_0(var$4, $this, $var1, (($var1.$mainInventory.data.length + 4 | 0) - 1 | 0) - $var4 | 0, 8, 8 + ($var4 * 18 | 0) | 0); var$4.$field_1123_d = $this; var$4.$field_1124_c = $var4; ju_ArrayList_add(var$5, var$4); $var4 = $var4 + 1 | 0; } $var4 = 0; while ($var4 < 3) { $var4_0 = 0; while ($var4_0 < 9) { ju_ArrayList_add($this.$inventorySlots, nms_SlotInventory__init_($this, $var1, $var4_0 + (($var4 + 1 | 0) * 9 | 0) | 0, 8 + ($var4_0 * 18 | 0) | 0, 84 + ($var4 * 18 | 0) | 0)); $var4_0 = $var4_0 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var3 = 0; while ($var3 < 9) { ju_ArrayList_add($this.$inventorySlots, nms_SlotInventory__init_($this, $var1, $var3, 8 + ($var3 * 18 | 0) | 0, 142)); $var3 = $var3 + 1 | 0; } } function nms_GuiInventory_drawGuiContainerForegroundLayer($this) { nms_FontRenderer_drawString($this.$fontRenderer0, $rt_s(546), 86, 16, 4210752); } function nms_GuiInventory_drawScreen($this, $var1, $var2, $var3) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiContainer_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $this.$xSize_lo = $var1; $this.$ySize_lo = $var2; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } function nms_GuiInventory_drawGuiContainerBackgroundLayer($this, $var1) { var var$2, var$3, $var2, var$5, $var3, var$7, $var4, $var6, $var7, $var8, $var9, $var10, var$14, var$15, var$16, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc8.$renderEngine; var$3 = $rt_s(547); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture(var$2, var$3); if ($rt_suspending()) { break main; } $var2 = $tmp; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_RenderEngine_bindTexture($this.$mc8.$renderEngine, $var2); $var2 = $this.$width; var$5 = $this.$xSize; $var3 = ($var2 - var$5 | 0) / 2 | 0; $var2 = $this.$height0; var$7 = $this.$ySize; $var4 = ($var2 - var$7 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var3, $var4, 0, 0, var$5, var$7); olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glEnable(2903); olo_EaglerAdapterGL30_glPushMatrix(); $var1 = $var3 + 51 | 0; $var2 = $var4 + 75 | 0; olo_EaglerAdapterGL30_glTranslatef($var1, $var2, 50.0); olo_EaglerAdapterGL30_glScalef((-30.0), 30.0, 30.0); olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 0.0, 1.0); var$3 = $this.$mc8.$thePlayer; $var6 = var$3.$field_735_n; $var7 = var$3.$rotationYaw; $var8 = var$3.$rotationPitch; $var9 = $var1 - $this.$xSize_lo; $var10 = ($var2 - 50 | 0) - $this.$ySize_lo; olo_EaglerAdapterGL30_glRotatef(135.0, 0.0, 1.0, 0.0); nms_RenderHelper_enableStandardItemLighting(); olo_EaglerAdapterGL30_glRotatef((-135.0), 0.0, 1.0, 0.0); var$14 = $var10 / 40.0; olo_EaglerAdapterGL30_glRotatef( -jl_Math_atan(var$14) * 20.0, 1.0, 0.0, 0.0); var$3 = $this.$mc8.$thePlayer; var$15 = $var9 / 40.0; var$3.$field_735_n = jl_Math_atan(var$15) * 20.0; $this.$mc8.$thePlayer.$rotationYaw = jl_Math_atan(var$15) * 40.0; $this.$mc8.$thePlayer.$rotationPitch = -jl_Math_atan(var$14) * 20.0; olo_EaglerAdapterGL30_glTranslatef(0.0, $this.$mc8.$thePlayer.$yOffset, 0.0); nms_RenderManager_$callClinit(); var$3 = nms_RenderManager_instance; var$2 = $this.$mc8.$thePlayer; var$14 = 0.0; var$15 = 0.0; var$16 = 0.0; $var1 = 0.0; $var5 = 1.0; $ptr = 2; case 2: nms_RenderManager_func_853_a(var$3, var$2, var$14, var$15, var$16, $var1, $var5); if ($rt_suspending()) { break main; } var$3 = $this.$mc8.$thePlayer; var$3.$field_735_n = $var6; var$3.$rotationYaw = $var7; var$3.$rotationPitch = $var8; olo_EaglerAdapterGL30_glPopMatrix(); nms_RenderHelper_disableStandardItemLighting(); olo_EaglerAdapterGL30_glDisable(32826); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $var2, var$5, $var3, var$7, $var4, $var6, $var7, $var8, $var9, $var10, var$14, var$15, var$16, $var5, $ptr); } var nms_GuiUnused = $rt_classWithoutFields(nms_GuiScreen); function nms_GuiUnused__init_0() { var var_0 = new nms_GuiUnused(); nms_GuiUnused__init_(var_0); return var_0; } function nms_GuiUnused__init_($this) { nms_GuiScreen__init_($this); } var nms_GuiGameOver = $rt_classWithoutFields(nms_GuiScreen); function nms_GuiGameOver__init_0() { var var_0 = new nms_GuiGameOver(); nms_GuiGameOver__init_(var_0); return var_0; } function nms_GuiGameOver__init_($this) { nms_GuiScreen__init_($this); } function nms_GuiGameOver_initGui($this) { ju_ArrayList_clear($this.$controlList); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(1, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 72 | 0, $rt_s(548))); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(2, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 96 | 0, $rt_s(549))); if ($this.$mc8.$field_6320_i === null) (ju_ArrayList_get($this.$controlList, 1)).$enabled = 0; } function nms_GuiGameOver_keyTyped($this, $var1, $var2) {} function nms_GuiGameOver_actionPerformed($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $var1.$id2; if (var$2 != 1) { if ($var1.$id2 != 2) return; $var1 = $this.$mc8; var$3 = null; $ptr = 1; continue main; } var$3 = $this.$mc8.$thePlayer.$mc5; if (!var$3.$theWorld.$worldProvider.$func_6477_d()) { $ptr = 3; continue main; } var$4 = var$3.$theWorld; if (var$4.$spawnY <= 0) var$4.$spawnY = 64; var$5 = var$4.$spawnX; var$2 = var$4.$spawnZ; $ptr = 4; continue main; case 1: nmc_Minecraft_func_6261_a($var1, var$3); if ($rt_suspending()) { break main; } $var1 = $this.$mc8; var$3 = nms_GuiMainMenu__init_0(); $ptr = 2; case 2: nmc_Minecraft_displayGuiScreen($var1, var$3); if ($rt_suspending()) { break main; } return; case 3: nmc_Minecraft_func_6237_k(var$3); if ($rt_suspending()) { break main; } var$4 = var$3.$theWorld; if (var$4.$spawnY <= 0) var$4.$spawnY = 64; var$5 = var$4.$spawnX; var$2 = var$4.$spawnZ; $ptr = 4; case 4: $tmp = nms_World_func_614_g(var$4, var$5, var$2); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { var$4.$spawnX = var$4.$spawnX + (ju_Random_nextInt(var$4.$rand1, 8) - ju_Random_nextInt(var$4.$rand1, 8) | 0) | 0; var$4.$spawnZ = var$4.$spawnZ + (ju_Random_nextInt(var$4.$rand1, 8) - ju_Random_nextInt(var$4.$rand1, 8) | 0) | 0; var$5 = var$4.$spawnX; var$2 = var$4.$spawnZ; continue main; } var$6 = var$3.$theWorld; ju_AbstractCollection_removeAll(var$6.$loadedEntityList, var$6.$field_1024_A); var$5 = 0; while (true) { var$7 = var$6.$field_1024_A; if (var$5 >= var$7.$size) { var$5 = 0; while (true) { var$7 = var$6.$field_1024_A; if (var$5 >= var$7.$size) break; nms_World_releaseEntitySkin(var$6, ju_ArrayList_get(var$7, var$5)); var$5 = var$5 + 1 | 0; } ju_ArrayList_clear(var$7); var$2 = 0; a: while (true) { var$7 = var$6.$loadedEntityList; if (var$2 >= var$7.$size) { var$5 = 0; var$4 = var$3.$thePlayer; if (var$4 !== null) { var$5 = var$4.$field_620_ab; nms_World_setEntityDead(var$3.$theWorld, var$4); } var$7 = nms_PlayerController_func_4087_b(var$3.$field_6327_b, var$3.$theWorld); var$3.$thePlayer = var$7; $ptr = 6; continue main; } b: { var$7 = ju_ArrayList_get(var$7, var$2); var$4 = var$7.$ridingEntity; if (var$4 !== null) { if (!var$4.$isDead && var$4.$riddenByEntity === var$7) break b; var$4.$riddenByEntity = null; var$7.$ridingEntity = null; } if (var$7.$isDead) { var$5 = var$7.$field_657_ba; var$8 = var$7.$field_654_bc; if (var$7.$field_621_aZ && nms_World_chunkExists(var$6, var$5, var$8)) break a; var$4 = var$6.$loadedEntityList; var$5 = var$2 + (-1) | 0; ju_ArrayList_remove(var$4, var$2); nms_World_releaseEntitySkin(var$6, var$7); var$2 = var$5; } } var$2 = var$2 + 1 | 0; } $ptr = 11; continue main; } var$7 = ju_ArrayList_get(var$7, var$5); var$2 = var$7.$field_657_ba; var$8 = var$7.$field_654_bc; if (var$7.$field_621_aZ && nms_World_chunkExists(var$6, var$2, var$8)) break; var$5 = var$5 + 1 | 0; } $ptr = 5; case 5: $tmp = nms_World_getChunkFromChunkCoords(var$6, var$2, var$8); if ($rt_suspending()) { break main; } var$4 = $tmp; nms_Chunk_func_1015_b(var$4, var$7); while (true) { var$5 = var$5 + 1 | 0; var$7 = var$6.$field_1024_A; if (var$5 >= var$7.$size) { var$5 = 0; while (true) { var$7 = var$6.$field_1024_A; if (var$5 >= var$7.$size) break; nms_World_releaseEntitySkin(var$6, ju_ArrayList_get(var$7, var$5)); var$5 = var$5 + 1 | 0; } ju_ArrayList_clear(var$7); var$2 = 0; c: while (true) { var$7 = var$6.$loadedEntityList; if (var$2 >= var$7.$size) { var$5 = 0; var$4 = var$3.$thePlayer; if (var$4 !== null) { var$5 = var$4.$field_620_ab; nms_World_setEntityDead(var$3.$theWorld, var$4); } var$7 = nms_PlayerController_func_4087_b(var$3.$field_6327_b, var$3.$theWorld); var$3.$thePlayer = var$7; $ptr = 6; continue main; } d: { var$7 = ju_ArrayList_get(var$7, var$2); var$4 = var$7.$ridingEntity; if (var$4 !== null) { if (!var$4.$isDead && var$4.$riddenByEntity === var$7) break d; var$4.$riddenByEntity = null; var$7.$ridingEntity = null; } if (var$7.$isDead) { var$5 = var$7.$field_657_ba; var$8 = var$7.$field_654_bc; if (var$7.$field_621_aZ && nms_World_chunkExists(var$6, var$5, var$8)) break c; var$4 = var$6.$loadedEntityList; var$5 = var$2 + (-1) | 0; ju_ArrayList_remove(var$4, var$2); nms_World_releaseEntitySkin(var$6, var$7); var$2 = var$5; } } var$2 = var$2 + 1 | 0; } $ptr = 11; continue main; } var$7 = ju_ArrayList_get(var$7, var$5); var$2 = var$7.$field_657_ba; var$8 = var$7.$field_654_bc; if (!var$7.$field_621_aZ) continue; if (!nms_World_chunkExists(var$6, var$2, var$8)) continue; else break; } continue main; case 6: nms_EntityPlayer_preparePlayerToSpawn(var$7); if ($rt_suspending()) { break main; } nms_PlayerControllerSP_flipPlayer(var$3.$field_6327_b, var$3.$thePlayer); var$7 = var$3.$theWorld; var$4 = var$3.$thePlayer; $ptr = 7; case 7: nms_World_func_608_a(var$7, var$4); if ($rt_suspending()) { break main; } var$3.$thePlayer.$field_787_a = nms_MovementInputFromOptions__init_(var$3.$gameSettings); var$3.$thePlayer.$field_620_ab = var$5; var$7 = $rt_s(550); $ptr = 8; case 8: nmc_Minecraft_func_6255_d(var$3, var$7); if ($rt_suspending()) { break main; } if (var$3.$currentScreen instanceof nms_GuiGameOver) { var$7 = null; $ptr = 10; continue main; } var$3 = $this.$mc8; var$7 = null; $ptr = 9; case 9: nmc_Minecraft_displayGuiScreen(var$3, var$7); if ($rt_suspending()) { break main; } if ($var1.$id2 != 2) return; $var1 = $this.$mc8; var$3 = null; $ptr = 1; continue main; case 10: nmc_Minecraft_displayGuiScreen(var$3, var$7); if ($rt_suspending()) { break main; } var$3 = $this.$mc8; var$7 = null; $ptr = 9; continue main; case 11: $tmp = nms_World_getChunkFromChunkCoords(var$6, var$5, var$8); if ($rt_suspending()) { break main; } var$4 = $tmp; nms_Chunk_func_1015_b(var$4, var$7); while (true) { var$4 = var$6.$loadedEntityList; var$5 = var$2 + (-1) | 0; ju_ArrayList_remove(var$4, var$2); nms_World_releaseEntitySkin(var$6, var$7); var$2 = var$5; while (true) { var$2 = var$2 + 1 | 0; var$7 = var$6.$loadedEntityList; if (var$2 >= var$7.$size) { var$5 = 0; var$4 = var$3.$thePlayer; if (var$4 !== null) { var$5 = var$4.$field_620_ab; nms_World_setEntityDead(var$3.$theWorld, var$4); } var$7 = nms_PlayerController_func_4087_b(var$3.$field_6327_b, var$3.$theWorld); var$3.$thePlayer = var$7; $ptr = 6; continue main; } var$7 = ju_ArrayList_get(var$7, var$2); var$4 = var$7.$ridingEntity; if (var$4 !== null) { if (!var$4.$isDead && var$4.$riddenByEntity === var$7) continue; var$4.$riddenByEntity = null; var$7.$ridingEntity = null; } if (var$7.$isDead) break; } var$5 = var$7.$field_657_ba; var$8 = var$7.$field_654_bc; if (!var$7.$field_621_aZ) continue; if (!nms_World_chunkExists(var$6, var$5, var$8)) continue; else break; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); } function nms_GuiGameOver_drawScreen($this, $var1, $var2, $var3) { var var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height0, 1615855616, (-1602211792)); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glScalef(2.0, 2.0, 2.0); nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $rt_s(551), ($this.$width / 2 | 0) / 2 | 0, 30, 16777215); olo_EaglerAdapterGL30_glPopMatrix(); var$4 = $this.$fontRenderer0; var$5 = $this.$mc8.$thePlayer.$score; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6); jl_StringBuilder_append1(jl_StringBuilder_append(var$6, $rt_s(552)), var$5); nms_Gui_drawCenteredString($this, var$4, jl_AbstractStringBuilder_toString(var$6), $this.$width / 2 | 0, 100, 16777215); $ptr = 1; case 1: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, $ptr); } function nms_GuiGameOver_doesGuiPauseGame($this) { return 0; } function nle_BaseNCodec$Context() { var a = this; jl_Object.call(a); a.$ibitWorkArea = 0; a.$buffer2 = null; a.$pos = 0; a.$readPos = 0; a.$eof0 = 0; a.$currentLinePos = 0; a.$modulus = 0; } function nle_BaseNCodec$Context__init_0() { var var_0 = new nle_BaseNCodec$Context(); nle_BaseNCodec$Context__init_(var_0); return var_0; } function nle_BaseNCodec$Context__init_($this) {} var otji_IDBObjectStoreParameters = $rt_classWithoutFields(); function otji_IDBObjectStoreParameters_create$js_body$_1() { return { }; } var otji_IDBCursorSource = $rt_classWithoutFields(0); var nleat_IDBObjectStorePatched = $rt_classWithoutFields(); function cjj_InfBlocks() { var a = this; jl_Object.call(a); a.$mode2 = 0; a.$left0 = 0; a.$table = 0; a.$index2 = 0; a.$blens = null; a.$bb = null; a.$tb = null; a.$bl = null; a.$bd = null; a.$tl = null; a.$td = null; a.$tli = null; a.$tdi = null; a.$codes = null; a.$last = 0; a.$bitk = 0; a.$bitb = 0; a.$hufts = null; a.$window = null; a.$end1 = 0; a.$read2 = 0; a.$write2 = 0; a.$check = 0; a.$inftree = null; a.$z2 = null; } var cjj_InfBlocks_inflate_mask = null; var cjj_InfBlocks_border = null; function cjj_InfBlocks_reset($this) { var var$1; var$1 = $this.$mode2; var$1 != 4 && var$1 != 5; $this.$mode2 = 0; $this.$bitk = 0; $this.$bitb = 0; $this.$write2 = 0; $this.$read2 = 0; if ($this.$check) $this.$z2.$adler.$reset0(); } function cjj_InfBlocks_proc($this, $r) { var var$2, $p, $n, $b, $k, $q, var$8, $m, var$10, $i, $t, $c, var$14, var$15, var$16, $i_0, $j; var$2 = $this.$z2; $p = var$2.$next_in_index; $n = var$2.$avail_in; $b = $this.$bitb; $k = $this.$bitk; $q = $this.$write2; var$8 = $this.$read2; $m = $q >= var$8 ? $this.$end1 - $q | 0 : (var$8 - $q | 0) - 1 | 0; a: { b: { c: { d: { e: while (true) { f: { g: { h: { i: { j: { switch ($this.$mode2) { case 2: break f; case 9: $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); case 0: break j; case 1: break; case 3: while ($k < 14) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z2.$next_in.data; var$8 = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$8; } var$8 = $b & 16383; $this.$table = var$8; $i = var$8 & 31; if ($i > 29) break d; var$8 = var$8 >> 5 & 31; if (var$8 > 29) break d; k: { l: { var$8 = (258 + $i | 0) + var$8 | 0; var$10 = $this.$blens; if (var$10 !== null) { var$10 = var$10.data; if (var$10.length >= var$8) break l; } $this.$blens = $rt_createIntArray(var$8); break k; } $i = 0; while (true) { if ($i >= var$8) break k; var$10[$i] = 0; $i = $i + 1 | 0; } } $b = $b >>> 14 | 0; $k = $k + (-14) | 0; $this.$index2 = 0; $this.$mode2 = 4; break i; case 4: break i; case 5: break h; case 6: break g; case 7: break b; case 8: break a; default: $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, (-2)); } while ($k < 32) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z2.$next_in.data; var$8 = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$8; } var$8 = (($b ^ (-1)) >>> 16 | 0) & 65535; $i = $b & 65535; if (var$8 != $i) { $this.$mode2 = 9; var$2 = $this.$z2; var$2.$msg = $rt_s(553); $this.$bitb = $b; $this.$bitk = $k; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$left0 = $i; $k = 0; $this.$mode2 = $i ? 2 : !$this.$last ? 0 : 7; $b = $k; continue e; } while ($k < 3) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z2.$next_in.data; var$8 = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$8; } m: { $t = $b & 7; $this.$last = $t & 1; switch ($t >>> 1 | 0) { case 0: var$8 = $b >>> 3 | 0; $i = $k + (-3) | 0; $c = $i & 7; $b = var$8 >>> $c | 0; $k = $i - $c | 0; $this.$mode2 = 1; break m; case 1: cjj_InfTree_inflate_trees_fixed($this.$bl, $this.$bd, $this.$tl, $this.$td, $this.$z2); 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 | 0; $k = $k + (-3) | 0; $this.$mode2 = 6; break m; case 2: $b = $b >>> 3 | 0; $k = $k + (-3) | 0; $this.$mode2 = 3; break m; case 3: $r = $b >>> 3 | 0; var$8 = $k + (-3) | 0; $this.$mode2 = 9; var$2 = $this.$z2; var$2.$msg = $rt_s(554); $this.$bitb = $r; $this.$bitk = var$8; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); default: } } continue e; } while (true) { var$8 = $this.$index2; if (var$8 >= (4 + ($this.$table >>> 10 | 0) | 0)) break; while ($k < 3) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z2.$next_in.data; $i = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = $i; } var$14 = $this.$blens.data; var$10 = cjj_InfBlocks_border.data; $this.$index2 = var$8 + 1 | 0; var$14[var$10[var$8]] = $b & 7; $b = $b >>> 3 | 0; $k = $k + (-3) | 0; } while (true) { var$8 = $this.$index2; if (var$8 >= 19) break; var$14 = $this.$blens.data; var$10 = cjj_InfBlocks_border.data; $this.$index2 = var$8 + 1 | 0; var$14[var$10[var$8]] = 0; } var$10 = $this.$bb; var$10.data[0] = 7; var$8 = cjj_InfTree_inflate_trees_bits($this.$inftree, $this.$blens, var$10, $this.$tb, $this.$hufts, $this.$z2); if (var$8) { if (var$8 == (-3)) { $this.$blens = null; $this.$mode2 = 9; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, var$8); } $this.$index2 = 0; $this.$mode2 = 5; } while (true) { var$8 = $this.$table; $i = $this.$index2; $c = var$8 & 31; $m = 258 + $c | 0; var$8 = var$8 >> 5 & 31; $m = $m + var$8 | 0; if ($i >= $m) break; $t = $this.$bb.data[0]; while ($k < $t) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z2.$next_in.data; var$8 = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$8; } var$10 = $this.$tb.data; var$15 = $this.$hufts.data; var$8 = var$10[0]; var$14 = cjj_InfBlocks_inflate_mask.data; var$16 = var$15[((var$8 + ($b & var$14[$t]) | 0) * 3 | 0) + 1 | 0]; $c = var$15[((var$10[0] + ($b & var$14[var$16]) | 0) * 3 | 0) + 2 | 0]; $t = $rt_compare($c, 16); if ($t < 0) { $b = $b >>> var$16 | 0; $k = $k - var$16 | 0; var$10 = $this.$blens.data; $this.$index2 = $i + 1 | 0; var$10[$i] = $c; } else { var$8 = $rt_compare($c, 18); $i_0 = !var$8 ? 7 : $c - 14 | 0; $j = var$8 ? 3 : 11; while ($k < (var$16 + $i_0 | 0)) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z2.$next_in.data; var$8 = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = var$8; } $c = $b >>> var$16 | 0; $k = $k - var$16 | 0; var$8 = $j + ($c & var$14[$i_0]) | 0; $b = $c >>> $i_0 | 0; $k = $k - $i_0 | 0; if (($i + var$8 | 0) > $m) break c; if (!$t && $i < 1) break c; $m = $t ? 0 : $this.$blens.data[$i - 1 | 0]; while (true) { var$10 = $this.$blens.data; $c = $i + 1 | 0; var$10[$i] = $m; var$8 = var$8 + (-1) | 0; if (!var$8) break; $i = $c; } $this.$index2 = $c; } } $this.$tb.data[0] = (-1); var$10 = $this.$bl; var$10.data[0] = 9; var$14 = $this.$bd; var$14.data[0] = 6; var$8 = cjj_InfTree_inflate_trees_dynamic($this.$inftree, 257 + $c | 0, 1 + var$8 | 0, $this.$blens, var$10, var$14, $this.$tli, $this.$tdi, $this.$hufts, $this.$z2); if (var$8) { if (var$8 == (-3)) { $this.$blens = null; $this.$mode2 = 9; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, var$8); } var$2 = $this.$codes; var$8 = $this.$bl.data[0]; $i = $this.$bd.data[0]; var$10 = $this.$hufts; cjj_InfCodes_init(var$2, var$8, $i, var$10, $this.$tli.data[0], var$10, $this.$tdi.data[0]); $this.$mode2 = 6; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; $r = cjj_InfCodes_proc($this.$codes, $r); if ($r != 1) break e; $r = 0; cjj_InfCodes_free($this.$codes, $this.$z2); var$2 = $this.$z2; $p = var$2.$next_in_index; $n = var$2.$avail_in; $b = $this.$bitb; $k = $this.$bitk; $q = $this.$write2; var$8 = $this.$read2; $m = $q >= var$8 ? $this.$end1 - $q | 0 : (var$8 - $q | 0) - 1 | 0; if ($this.$last) { $this.$mode2 = 7; break b; } $this.$mode2 = 0; continue e; } if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } if (!$m) { $c = $this.$end1; if ($q == $c) { var$8 = $this.$read2; if (var$8) { $q = 0; $m = $q >= var$8 ? $c - $q | 0 : (var$8 - $q | 0) - 1 | 0; } } if (!$m) { $this.$write2 = $q; $i = cjj_InfBlocks_inflate_flush($this, $r); $q = $this.$write2; var$8 = $this.$read2; $m = $q >= var$8 ? $this.$end1 - $q | 0 : (var$8 - $q | 0) - 1 | 0; $c = $this.$end1; if ($q == $c && var$8) { $q = 0; $m = $q >= var$8 ? $c - $q | 0 : (var$8 - $q | 0) - 1 | 0; } if (!$m) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $i); } } } $r = 0; var$8 = $this.$left0; if (var$8 > $n) var$8 = $n; if (var$8 > $m) var$8 = $m; jl_System_fastArraycopy($this.$z2.$next_in, $p, $this.$window, $q, var$8); $p = $p + var$8 | 0; $n = $n - var$8 | 0; $q = $q + var$8 | 0; $m = $m - var$8 | 0; var$8 = $this.$left0 - var$8 | 0; $this.$left0 = var$8; if (var$8) continue; $this.$mode2 = !$this.$last ? 0 : 7; } return cjj_InfBlocks_inflate_flush($this, $r); } $this.$mode2 = 9; var$2 = $this.$z2; var$2.$msg = $rt_s(555); $this.$bitb = $b; $this.$bitk = $k; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$blens = null; $this.$mode2 = 9; var$2 = $this.$z2; var$2.$msg = $rt_s(556); $this.$bitb = $b; $this.$bitk = $k; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$write2 = $q; $r = cjj_InfBlocks_inflate_flush($this, $r); $q = $this.$write2; var$8 = $this.$read2; if (var$8 != $q) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $this.$mode2 = 8; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z2; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write2 = $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 var$2, $p, $q, var$5, $n, var$7; var$2 = $this.$z2; $p = var$2.$next_out_index; $q = $this.$read2; var$5 = $this.$write2; if ($q > var$5) var$5 = $this.$end1; $n = var$5 - $q | 0; var$5 = var$2.$avail_out; if ($n > var$5) $n = var$5; if ($n && $r == (-5)) $r = 0; var$2.$avail_out = var$5 - $n | 0; var$2.$total_out = Long_add(var$2.$total_out, Long_fromInt($n)); if ($this.$check && $n > 0) var$2.$adler.$update0($this.$window, $q, $n); jl_System_fastArraycopy($this.$window, $q, $this.$z2.$next_out, $p, $n); var$5 = $p + $n | 0; var$7 = $q + $n | 0; $p = $this.$end1; if (var$7 == $p) { if ($this.$write2 == $p) $this.$write2 = 0; $p = $this.$write2 - 0 | 0; var$2 = $this.$z2; $q = var$2.$avail_out; if ($p > $q) $p = $q; if ($p && $r == (-5)) $r = 0; var$2.$avail_out = $q - $p | 0; var$2.$total_out = Long_add(var$2.$total_out, Long_fromInt($p)); if ($this.$check && $p > 0) var$2.$adler.$update0($this.$window, 0, $p); jl_System_fastArraycopy($this.$window, 0, $this.$z2.$next_out, var$5, $p); var$5 = var$5 + $p | 0; var$7 = 0 + $p | 0; } $this.$z2.$next_out_index = var$5; $this.$read2 = var$7; return $r; } function cjj_InfBlocks__clinit_() { cjj_InfBlocks_inflate_mask = $rt_createIntArrayFromData([0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535]); cjj_InfBlocks_border = $rt_createIntArrayFromData([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]); } function jt_DateFormatElement$Numeric() { var a = this; jt_DateFormatElement.call(a); a.$field = 0; a.$length4 = 0; a.$maxLength = 0; } function jt_DateFormatElement$Numeric__init_(var_0, var_1, var_2) { var var_3 = new jt_DateFormatElement$Numeric(); jt_DateFormatElement$Numeric__init_0(var_3, var_0, var_1, var_2); return var_3; } function jt_DateFormatElement$Numeric__init_0($this, $field, $length, $maxLength) { $this.$field = $field; $this.$length4 = $length; $this.$maxLength = jl_Math_max($length, $maxLength); } 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.$field == $numeric.$field && $this.$length4 == $numeric.$length4 ? 1 : 0; } return 0; } function jt_DateFormatElement$Numeric_hashCode($this) { return ju_Arrays_hashCode($rt_createArrayFromData(jl_Object, [jl_Integer_valueOf($this.$field), jl_Integer_valueOf($this.$length4)])); } function jt_DateFormatElement$WeekdayText() { var a = this; jt_DateFormatElement.call(a); a.$weeks = null; a.$shortWeeks = null; a.$abbreviated = 0; } function jt_DateFormatElement$WeekdayText__init_(var_0, var_1) { var var_2 = new jt_DateFormatElement$WeekdayText(); jt_DateFormatElement$WeekdayText__init_0(var_2, var_0, var_1); return var_2; } function jt_DateFormatElement$WeekdayText__init_0($this, $symbols, $abbreviated) { var var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { if ($symbols.$weekdays === null) { $symbols.$weekdays = $rt_createArray(jl_String, 8); var$3 = $symbols.$locale0; var$4 = var$3.$languageCode; var$5 = var$3.$countryCode; if (otciu_CLDRHelper_$$metadata$$5 === null) otciu_CLDRHelper_$$metadata$$5 = otciu_CLDRHelper_getWeekdayMap$$create(); var$6 = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$5, var$4, var$5); var$7 = 0; while (true) { if (var$7 >= 7) break a; var$8 = var$6.data; var$9 = $symbols.$weekdays.data; var$10 = var$7 + 1 | 0; var$9[var$10] = var$8[var$7]; var$7 = var$10; } } } b: { $this.$weeks = $symbols.$weekdays.$clone(); if ($symbols.$shortWeekdays === null) { $symbols.$shortWeekdays = $rt_createArray(jl_String, 8); var$3 = $symbols.$locale0; var$4 = var$3.$languageCode; var$5 = var$3.$countryCode; if (otciu_CLDRHelper_$$metadata$$6 === null) otciu_CLDRHelper_$$metadata$$6 = otciu_CLDRHelper_getShortWeekdayMap$$create(); var$6 = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$6, var$4, var$5); var$10 = 0; while (true) { if (var$10 >= 7) break b; var$8 = var$6.data; var$9 = $symbols.$shortWeekdays.data; var$7 = var$10 + 1 | 0; var$9[var$7] = var$8[var$10]; var$10 = var$7; } } } $this.$shortWeeks = $symbols.$shortWeekdays.$clone(); $this.$abbreviated = $abbreviated; } 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$WeekdayText_hashCode($this) { return ju_Arrays_hashCode($rt_createArrayFromData(jl_Object, [$this.$weeks, $this.$shortWeeks, jl_Boolean_valueOf($this.$abbreviated)])); } 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$EraText_hashCode($this) { return ju_Arrays_hashCode($this.$eras0); } function jt_DateFormatElement$BaseTimezone() { var a = this; jt_DateFormatElement.call(a); a.$locale2 = null; a.$searchTrie = null; } 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$BaseTimezone_hashCode($this) { return ju_Arrays_hashCode($rt_createArrayFromData(jl_Object, [$this.$locale2, $this.$searchTrie])); } var jt_DateFormatElement$Rfc822Timezone = $rt_classWithoutFields(jt_DateFormatElement$BaseTimezone); function jt_DateFormatElement$AmPmText() { jt_DateFormatElement.call(this); this.$ampms0 = null; } function jt_DateFormatElement$AmPmText__init_(var_0) { var var_1 = new jt_DateFormatElement$AmPmText(); jt_DateFormatElement$AmPmText__init_0(var_1, var_0); return var_1; } function jt_DateFormatElement$AmPmText__init_0($this, $symbols) { var var$2, var$3, var$4; if ($symbols.$ampms === null) { var$2 = $symbols.$locale0; var$3 = var$2.$languageCode; var$4 = var$2.$countryCode; if (otciu_CLDRHelper_$$metadata$$2 === null) otciu_CLDRHelper_$$metadata$$2 = otciu_CLDRHelper_getAmPmMap$$create(); $symbols.$ampms = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$2, var$3, var$4); } $this.$ampms0 = $symbols.$ampms.$clone(); } 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$AmPmText_hashCode($this) { return ju_Arrays_hashCode($this.$ampms0); } 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, 2); $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$NumericHour_hashCode($this) { return ju_Arrays_hashCode($rt_createArrayFromData(jl_Object, [jl_Integer_valueOf(jt_DateFormatElement$Numeric_hashCode($this)), jl_Integer_valueOf($this.$limit1)])); } var jt_DateFormatElement$NumericWeekday = $rt_classWithoutFields(jt_DateFormatElement$Numeric); function jt_DateFormatElement$NumericWeekday__init_(var_0) { var var_1 = new jt_DateFormatElement$NumericWeekday(); jt_DateFormatElement$NumericWeekday__init_0(var_1, var_0); return var_1; } function jt_DateFormatElement$NumericWeekday__init_0($this, $length) { jt_DateFormatElement$Numeric__init_0($this, 7, $length, 1); } var jt_DateFormatElement$GeneralTimezone = $rt_classWithoutFields(jt_DateFormatElement$BaseTimezone); function jt_DateFormatElement$GeneralTimezone__init_(var_0) { var var_1 = new jt_DateFormatElement$GeneralTimezone(); jt_DateFormatElement$GeneralTimezone__init_0(var_1, var_0); return var_1; } function jt_DateFormatElement$GeneralTimezone__init_0($this, $locale) { jt_DateFormatElement$BaseTimezone__init_($this, $locale); } 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$ConstantText_hashCode($this) { var var$1; var$1 = $rt_createArray(jl_Object, 1); var$1.data[0] = $this.$textConstant; return ju_Arrays_hashCode(var$1); } function jt_DateFormatElement$Year() { jt_DateFormatElement.call(this); this.$field0 = 0; } function jt_DateFormatElement$Year__init_(var_0) { var var_1 = new jt_DateFormatElement$Year(); jt_DateFormatElement$Year__init_0(var_1, var_0); return var_1; } function jt_DateFormatElement$Year__init_0($this, $field) { $this.$field0 = $field; } 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.$field0 != $year.$field0 ? 0 : 1; } return 0; } function jt_DateFormatElement$Year_hashCode($this) { var var$1; var$1 = $rt_createArray(jl_Object, 1); var$1.data[0] = jl_Integer_valueOf($this.$field0); return ju_Arrays_hashCode(var$1); } function jt_DateFormatElement$Iso8601Timezone() { jt_DateFormatElement.call(this); this.$size4 = 0; } function jt_DateFormatElement$Iso8601Timezone__init_(var_0) { var var_1 = new jt_DateFormatElement$Iso8601Timezone(); jt_DateFormatElement$Iso8601Timezone__init_0(var_1, var_0); return var_1; } function jt_DateFormatElement$Iso8601Timezone__init_0($this, $size) { $this.$size4 = $size; } 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.$size4 != $that.$size4 ? 0 : 1; } return 0; } function jt_DateFormatElement$Iso8601Timezone_hashCode($this) { var var$1; var$1 = $rt_createArray(jl_Object, 1); var$1.data[0] = jl_Integer_valueOf($this.$size4); return ju_Arrays_hashCode(var$1); } 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) { var var$3, var$4, var$5, var$6; if ($symbols.$months === null) { var$3 = $symbols.$locale0; var$4 = var$3.$languageCode; var$5 = var$3.$countryCode; if (otciu_CLDRHelper_$$metadata$$3 === null) otciu_CLDRHelper_$$metadata$$3 = otciu_CLDRHelper_getMonthMap$$create(); $symbols.$months = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$3, var$4, var$5); } $this.$months0 = $symbols.$months.$clone(); if ($symbols.$shortMonths === null) { var$3 = $symbols.$locale0; var$5 = var$3.$languageCode; var$6 = var$3.$countryCode; if (otciu_CLDRHelper_$$metadata$$4 === null) otciu_CLDRHelper_$$metadata$$4 = otciu_CLDRHelper_getShortMonthMap$$create(); $symbols.$shortMonths = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$4, var$5, var$6); } $this.$shortMonths0 = $symbols.$shortMonths.$clone(); $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$MonthText_hashCode($this) { return ju_Arrays_hashCode($rt_createArrayFromData(jl_Object, [$this.$months0, $this.$shortMonths0, jl_Boolean_valueOf($this.$abbreviated0)])); } var jt_DateFormatElement$NumericMonth = $rt_classWithoutFields(jt_DateFormatElement$Numeric); 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, 2); } function jnci_BufferedEncoder() { var a = this; jnc_CharsetEncoder.call(a); a.$inArray = null; a.$outArray = null; } function jnci_BufferedEncoder__init_($this, $cs, $averageBytesPerChar, $maxBytesPerChar) { var var$4, var$5, var$6, var$7; var$4 = $rt_createByteArray(1); var$5 = var$4.data; var$5[0] = 63; jnc_CodingErrorAction_$callClinit(); var$6 = jnc_CodingErrorAction_REPORT; $this.$malformedAction = var$6; $this.$unmappableAction = var$6; var$7 = var$5.length; if (var$7 && var$7 >= $this.$maxBytesPerChar) { $this.$charset0 = $cs; $this.$replacement = var$4.$clone(); $this.$averageBytesPerChar = $averageBytesPerChar; $this.$maxBytesPerChar = $maxBytesPerChar; $this.$inArray = $rt_createCharArray(512); $this.$outArray = $rt_createByteArray(512); return; } var$6 = new jl_IllegalArgumentException; jl_Throwable__init_(var$6, $rt_s(557)); $rt_throw(var$6); } function jnci_BufferedEncoder_encodeLoop($this, $in, $out) { var $inArray, $inPos, $inSize, $outArray, $i, var$8, $outSize, $result, $controller; $inArray = $this.$inArray; $inPos = 0; $inSize = 0; $outArray = $this.$outArray; a: { while (true) { if (($inPos + 32 | 0) > $inSize && jn_Buffer_hasRemaining($in)) { $i = $inPos; while ($i < $inSize) { var$8 = $inArray.data; var$8[$i - $inPos | 0] = var$8[$i]; $i = $i + 1 | 0; } var$8 = $inArray.data; $outSize = $inSize - $inPos | 0; $inSize = jl_Math_min(jn_Buffer_remaining($in) + $outSize | 0, var$8.length); jn_CharBuffer_get($in, $inArray, $outSize, $inSize - $outSize | 0); $inPos = 0; } if (!jn_Buffer_hasRemaining($out)) { $result = !jn_Buffer_hasRemaining($in) && $inPos >= $inSize ? jnc_CoderResult_UNDERFLOW : jnc_CoderResult_OVERFLOW; break a; } var$8 = $outArray.data; $outSize = jl_Math_min(jn_Buffer_remaining($out), var$8.length); $controller = new jnci_BufferedEncoder$Controller; $controller.$in0 = $in; $controller.$out3 = $out; $result = $this.$arrayEncode($inArray, $inPos, $inSize, $outArray, 0, $outSize, $controller); $inPos = $controller.$inPosition; $outSize = $controller.$outPosition; if ($result === null) { if (!jn_Buffer_hasRemaining($in) && $inPos >= $inSize) $result = jnc_CoderResult_UNDERFLOW; else if (!jn_Buffer_hasRemaining($out) && $inPos >= $inSize) $result = jnc_CoderResult_OVERFLOW; } jn_ByteBuffer_put($out, $outArray, 0, $outSize); if ($result !== null) break; } } jn_Buffer_position0($in, $in.$position - ($inSize - $inPos | 0) | 0); return $result; } var jnci_UTF8Encoder = $rt_classWithoutFields(jnci_BufferedEncoder); function jnci_UTF8Encoder_arrayEncode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, var$10, $ch, $low, var$13, $codePoint; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) { var$9 = $inPos; break a; } var$10 = $inArray.data; var$9 = $inPos + 1 | 0; $ch = var$10[$inPos]; if ($ch < 128) { var$10 = $outArray.data; $low = $outPos + 1 | 0; var$10[$outPos] = $ch << 24 >> 24; } else if ($ch < 2048) { if (($outPos + 2 | 0) > $outSize) { var$9 = var$9 + (-1) | 0; 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; $low = $inPos + 1 | 0; var$10[$inPos] = (128 | $ch & 63) << 24 >> 24; } else if (!jl_Character_isSurrogate($ch)) { if (($outPos + 3 | 0) > $outSize) { var$9 = var$9 + (-1) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 3)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; var$13 = $outPos + 1 | 0; var$10[$outPos] = (224 | $ch >> 12) << 24 >> 24; $inPos = var$13 + 1 | 0; var$10[var$13] = (128 | $ch >> 6 & 63) << 24 >> 24; $low = $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 (var$9 >= $inSize) { if (jn_Buffer_hasRemaining($controller.$in0)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = var$9 + 1 | 0; $low = var$10[var$9]; if (!jl_Character_isLowSurrogate($low)) { var$9 = $inPos + (-2) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } if (($outPos + 4 | 0) > $outSize) { var$9 = $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; var$13 = $low + 1 | 0; var$10[$low] = (128 | $codePoint >> 12 & 63) << 24 >> 24; $outPos = var$13 + 1 | 0; var$10[var$13] = (128 | $codePoint >> 6 & 63) << 24 >> 24; $low = $outPos + 1 | 0; var$10[$outPos] = (128 | $codePoint & 63) << 24 >> 24; var$9 = $inPos; } $inPos = var$9; $outPos = $low; } var$9 = $inPos; } $controller.$inPosition = var$9; $controller.$outPosition = $outPos; return $result; } function jnc_CharsetDecoder() { var a = this; jl_Object.call(a); a.$charset1 = null; a.$averageCharsPerByte = 0.0; a.$maxCharsPerByte = 0.0; a.$replacement0 = null; a.$malformedAction0 = null; a.$unmappableAction0 = null; a.$state = 0; } function jnc_CharsetDecoder_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(558)); $rt_throw(var$2); } function jnc_CharsetDecoder_implOnMalformedInput($this, $newAction) {} function jnc_CharsetDecoder_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(558)); $rt_throw(var$2); } function jnc_CharsetDecoder_implOnUnmappableCharacter($this, $newAction) {} function jnc_CharsetDecoder_decode0($this, $in, $out, $endOfInput) { var var$4, $result, $e, $$je; var$4 = $this.$state; if (!(var$4 == 2 && !$endOfInput) && var$4 != 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; $in = new jnc_CoderMalfunctionError; jl_Throwable__init_4($in, $e); $rt_throw($in); } else { throw $$e; } } if (jnc_CoderResult_isOverflow($result)) return $result; if (jnc_CoderResult_isUnderflow($result)) { if ($endOfInput && jn_Buffer_hasRemaining($in)) { $e = $this.$malformedAction0; jnc_CodingErrorAction_$callClinit(); if ($e === jnc_CodingErrorAction_REPORT) return jnc_CoderResult_malformedForLength(jn_Buffer_remaining($in)); if (jn_Buffer_remaining($out) <= jl_String_length($this.$replacement0)) return jnc_CoderResult_OVERFLOW; jn_Buffer_position0($in, $in.$position + jn_Buffer_remaining($in) | 0); if ($this.$malformedAction0 === jnc_CodingErrorAction_REPLACE) jn_CharBuffer_put($out, $this.$replacement0); } return $result; } if (jnc_CoderResult_isMalformed($result)) { $e = $this.$malformedAction0; jnc_CodingErrorAction_$callClinit(); if ($e === jnc_CodingErrorAction_REPORT) return $result; if ($e === jnc_CodingErrorAction_REPLACE) { if (jn_Buffer_remaining($out) < jl_String_length($this.$replacement0)) return jnc_CoderResult_OVERFLOW; jn_CharBuffer_put($out, $this.$replacement0); } jn_Buffer_position0($in, $in.$position + jnc_CoderResult_length($result) | 0); } else if (jnc_CoderResult_isUnmappable($result)) { $e = $this.$unmappableAction0; jnc_CodingErrorAction_$callClinit(); if ($e === jnc_CodingErrorAction_REPORT) break; if ($e === jnc_CodingErrorAction_REPLACE) { if (jn_Buffer_remaining($out) < jl_String_length($this.$replacement0)) return jnc_CoderResult_OVERFLOW; jn_CharBuffer_put($out, $this.$replacement0); } 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) { var var$2; var$2 = $this.$state; if (var$2 != 3 && var$2 != 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 var$2, $out, $result; var$2 = $this.$state; if (var$2 && var$2 != 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.$array; $result = jn_CharBuffer_wrap(ju_Arrays_copyOf0(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) {} 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.$fogEnd = 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, var$12, var$13; 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_0()); $this.$projectionMatrix = nPgv_Matrix4f_setZero(nPgv_Matrix4f__init_0()); $this.$textureMatrix = nPgv_Matrix4f_setZero(nPgv_Matrix4f__init_0()); $this.$light0Pos = nPgv_Vector4f__init_0(); $this.$light1Pos = nPgv_Vector4f__init_0(); $this.$fogMode = 0; $this.$fogColorR = 0.0; $this.$fogColorG = 0.0; $this.$fogColorB = 0.0; $this.$fogColorA = 0.0; $this.$fogStart = 0.0; $this.$fogEnd = 0.0; $this.$fogDensity = 0.0; $this.$alphaTestValue = 0.0; $this.$tex0x = 0.0; $this.$tex0y = 0.0; $this.$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(559)); $source = $rt_s(6); if ($this.$enable_color) { $v = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($v, $source), $rt_s(560)); $source = jl_StringBuilder_toString($v); } if ($this.$enable_normal) { $v = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($v, $source), $rt_s(561)); $source = jl_StringBuilder_toString($v); } if ($this.$enable_texture0) { $v = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($v, $source), $rt_s(562)); $source = jl_StringBuilder_toString($v); } if ($this.$enable_lighting) { $v = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($v, $source), $rt_s(563)); $source = jl_StringBuilder_toString($v); } if ($this.$enable_fog) { $v = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($v, $source), $rt_s(564)); $source = jl_StringBuilder_toString($v); } if ($this.$enable_alphatest) { $v = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($v, $source), $rt_s(565)); $source = jl_StringBuilder_toString($v); } if ($this.$enable_unit0) { $v = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($v, $source), $rt_s(566)); $source = jl_StringBuilder_toString($v); } $v = nPg_FixedFunctionShader_shaderSource; $f = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($f, $source), $v); var$12 = jl_StringBuilder_toString($f); $v = nlea_EaglerAdapterImpl2__wglCreateShader(35633); $source = nlea_EaglerAdapterImpl2__wgetShaderHeader(); $f = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($f, $source), $rt_s(567)), var$12); nlea_EaglerAdapterImpl2__wglShaderSource($v, jl_StringBuilder_toString($f)); nlea_EaglerAdapterImpl2__wglCompileShader($v); if (!nlea_EaglerAdapterImpl2__wglGetShaderCompiled($v)) { $source = jl_System_err(); $v = nlea_EaglerAdapterImpl2__wglGetShaderInfoLog($v); $f = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($f, $rt_s(568)), $v); ji_PrintStream_println($source, jl_String_replace(jl_StringBuilder_toString($f), $rt_s(171), $rt_s(569))); $rt_throw(jl_RuntimeException__init_($rt_s(570))); } $f = nlea_EaglerAdapterImpl2__wglCreateShader(35632); $source = nlea_EaglerAdapterImpl2__wgetShaderHeader(); var$13 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$13, $source), $rt_s(571)), var$12); nlea_EaglerAdapterImpl2__wglShaderSource($f, jl_StringBuilder_toString(var$13)); nlea_EaglerAdapterImpl2__wglCompileShader($f); if (!nlea_EaglerAdapterImpl2__wglGetShaderCompiled($f)) { $source = jl_System_err(); $v = nlea_EaglerAdapterImpl2__wglGetShaderInfoLog($f); $f = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($f, $rt_s(568)), $v); ji_PrintStream_println($source, jl_String_replace(jl_StringBuilder_toString($f), $rt_s(171), $rt_s(572))); $rt_throw(jl_RuntimeException__init_($rt_s(570))); } $source = nlea_EaglerAdapterImpl2__wglCreateProgram(); $this.$globject = $source; nlea_EaglerAdapterImpl2__wglAttachShader($source, $v); nlea_EaglerAdapterImpl2__wglAttachShader($this.$globject, $f); $j = 1; $this.$a_position = 0; nlea_EaglerAdapterImpl2__wglBindAttributeLocation($this.$globject, 0, $rt_s(573)); if (!$this.$enable_texture0) $this.$a_texture0 = (-1); else { $this.$a_texture0 = $j; nlea_EaglerAdapterImpl2__wglBindAttributeLocation($this.$globject, $j, $rt_s(574)); $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, $j, $rt_s(575)); $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, $j, $rt_s(576)); $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)) { $v = jl_System_err(); $source = nlea_EaglerAdapterImpl2__wglGetProgramInfoLog($this.$globject); $f = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($f, $rt_s(568)), $source); ji_PrintStream_println($v, jl_String_replace(jl_StringBuilder_toString($f), $rt_s(171), $rt_s(577))); $rt_throw(jl_RuntimeException__init_($rt_s(570))); } nlea_EaglerAdapterImpl2__wglUseProgram($this.$globject); $this.$u_matrix_m = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(578)); $this.$u_matrix_p = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(579)); $this.$u_matrix_t = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(580)); $this.$u_colorUniform = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(581)); if ($this.$enable_lighting) { $this.$u_normalUniform = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(582)); $this.$u_light0Pos = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(583)); $this.$u_light1Pos = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(584)); } if ($this.$enable_fog) { $this.$u_fogColor = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(585)); $this.$u_fogMode = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(586)); $this.$u_fogStart = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(587)); $this.$u_fogEnd = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(588)); $this.$u_fogDensity = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(589)); $this.$u_fogPremultiply = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(590)); } if ($this.$enable_alphatest) $this.$u_alphaTestF = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(591)); nlea_EaglerAdapterImpl2__wglUniform1i(nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(592)), 0); $this.$u_texCoordV0 = nlea_EaglerAdapterImpl2__wglGetUniformLocation($this.$globject, $rt_s(593)); $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__clinit_() { nPg_FixedFunctionShader_instances = $rt_createArray(nPg_FixedFunctionShader, 128); nPg_FixedFunctionShader_shaderSource = null; } function olo_EaglerAdapterGL30$DisplayList() { var a = this; jl_Object.call(a); a.$id0 = 0; a.$glarray = null; a.$glbuffer = null; a.$shaderMode = 0; a.$listLength = 0; } function nle_EaglerImage() { var a = this; jl_Object.call(a); a.$data = null; a.$w1 = 0; a.$h1 = 0; a.$alpha = 0; } function nms_RenderList() { var a = this; jl_Object.call(a); a.$field_1242_a = 0; a.$field_1241_b = 0; a.$field_1240_c = 0; a.$field_1239_d = 0.0; a.$field_1238_e = 0.0; a.$field_1237_f = 0.0; a.$field_1236_g = null; a.$field_1235_h = 0; a.$field_1234_i = 0; } function nms_RenderList__init_0() { var var_0 = new nms_RenderList(); nms_RenderList__init_(var_0); return var_0; } function nms_RenderList__init_($this) { $this.$field_1236_g = nms_GLAllocation_createDirectIntBuffer(65536); $this.$field_1235_h = 0; $this.$field_1234_i = 0; } function nms_RenderList_func_860_a($this) { var var$1; if ($this.$field_1235_h) { if (!$this.$field_1234_i) { jn_Buffer_flip($this.$field_1236_g); $this.$field_1234_i = 1; } if (jn_Buffer_remaining($this.$field_1236_g) > 0) { olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($this.$field_1242_a - $this.$field_1239_d, $this.$field_1241_b - $this.$field_1238_e, $this.$field_1240_c - $this.$field_1237_f); var$1 = $this.$field_1236_g; while (jn_Buffer_hasRemaining(var$1)) { olo_EaglerAdapterGL30_glCallList(jn_IntBufferImpl_get(var$1)); } olo_EaglerAdapterGL30_glPopMatrix(); } } } function ji_Reader() { jl_Object.call(this); this.$lock0 = null; } function ji_Reader__init_($this) { $this.$lock0 = new jl_Object; } function ji_BufferedReader() { var a = this; ji_Reader.call(a); a.$innerReader = null; a.$buffer4 = null; a.$index3 = 0; a.$count1 = 0; a.$eof1 = 0; a.$mark1 = 0; } function ji_BufferedReader__init_(var_0) { var var_1 = new ji_BufferedReader(); ji_BufferedReader__init_0(var_1, var_0); return var_1; } function ji_BufferedReader__init_0($this, $innerReader) { ji_Reader__init_($this); $this.$mark1 = (-1); $this.$innerReader = $innerReader; $this.$buffer4 = $rt_createCharArray(jl_Math_max(64, 1024)); } function ji_BufferedReader_close($this) { ji_BufferedReader_requireOpened($this); $this.$innerReader = null; } function ji_BufferedReader_readLine($this) { var $line, var$2, $ch, var$4; ji_BufferedReader_requireOpened($this); if ($this.$eof1 && $this.$index3 >= $this.$count1) return null; $line = new jl_StringBuilder; jl_AbstractStringBuilder__init_($line); a: { while (true) { if ($this.$index3 >= $this.$count1 && !ji_BufferedReader_fillBuffer($this, 0)) break a; var$2 = $this.$buffer4.data; $ch = $this.$index3; var$4 = $ch + 1 | 0; $this.$index3 = var$4; $ch = var$2[$ch]; if ($ch == 10) break; if ($ch == 13) { if (var$4 >= $this.$count1 && !ji_BufferedReader_fillBuffer($this, 0)) break a; var$2 = $this.$buffer4.data; var$4 = $this.$index3; if (var$2[var$4] != 10) break a; $this.$index3 = var$4 + 1 | 0; break a; } jl_AbstractStringBuilder_append($line, $ch); } } return jl_AbstractStringBuilder_toString($line); } function ji_BufferedReader_fillBuffer($this, $offset) { var var$2, var$3, var$4, var$5, $charsRead, var$7, var$8, var$9, var$10; if ($this.$eof1) return 0; a: { b: while (true) { var$2 = $this.$buffer4; var$3 = var$2.data.length; if ($offset >= var$3) break a; var$4 = $this.$innerReader; var$5 = var$3 - $offset | 0; if (var$4.$eof2 && !jn_Buffer_hasRemaining(var$4.$outBuffer)) $charsRead = (-1); else { $charsRead = 0; c: { while (var$5 > 0) { var$3 = jl_Math_min(var$5, jn_Buffer_remaining(var$4.$outBuffer)); jn_CharBuffer_get(var$4.$outBuffer, var$2, $offset + $charsRead | 0, var$3); var$5 = var$5 - var$3 | 0; $charsRead = $charsRead + var$3 | 0; if (!jn_Buffer_hasRemaining(var$4.$outBuffer)) { if (var$4.$eof2) var$3 = 0; else { var$7 = var$4.$outBuffer; if (var$7.$readOnly2) break b; d: { var$8 = jn_Buffer_remaining(var$7); var$9 = var$7.$position; if (var$9 > 0) { var$10 = 0; while (true) { if (var$10 >= var$8) break d; var$3 = var$9 + 1 | 0; jn_CharBufferOverArray_putChar(var$7, var$10, jn_CharBufferOverArray_getChar(var$7, var$9)); var$10 = var$10 + 1 | 0; var$9 = var$3; } } } var$7.$position = var$8; var$7.$limit = var$7.$capacity; var$7.$mark0 = (-1); e: { while (true) { if (!jn_Buffer_hasRemaining(var$4.$inBuffer) && !ji_InputStreamReader_fillReadBuffer(var$4)) break e; var$7 = jnc_CharsetDecoder_decode0(var$4.$decoder, var$4.$inBuffer, var$4.$outBuffer, var$4.$streamEof); if (jnc_CoderResult_isOverflow(var$7)) break; if (jnc_CoderResult_isUnderflow(var$7)) ji_InputStreamReader_fillReadBuffer(var$4); } } if (!jn_Buffer_hasRemaining(var$4.$inBuffer) && var$4.$streamEof && jnc_CoderResult_isUnderflow(jnc_CharsetDecoder_flush(var$4.$decoder, var$4.$outBuffer))) var$4.$eof2 = 1; jn_Buffer_flip(var$4.$outBuffer); var$3 = 1; } if (!var$3) break c; } } } } if ($charsRead == (-1)) { $this.$eof1 = 1; break a; } if (!$charsRead) break a; $offset = $offset + $charsRead | 0; } var$7 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$7); $rt_throw(var$7); } $this.$count1 = $offset; $this.$index3 = 0; $this.$mark1 = (-1); return 1; } function ji_BufferedReader_requireOpened($this) { var var$1; if ($this.$innerReader !== null) return; var$1 = new ji_IOException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } function ji_InputStreamReader() { var a = this; ji_Reader.call(a); a.$stream = null; a.$decoder = null; a.$inData = null; a.$inBuffer = null; a.$outData = null; a.$outBuffer = null; a.$streamEof = 0; a.$eof2 = 0; } function ji_InputStreamReader__init_(var_0, var_1) { var var_2 = new ji_InputStreamReader(); ji_InputStreamReader__init_1(var_2, var_0, var_1); return var_2; } function ji_InputStreamReader__init_2(var_0, var_1) { var var_2 = new ji_InputStreamReader(); ji_InputStreamReader__init_3(var_2, var_0, var_1); return var_2; } function ji_InputStreamReader__init_0(var_0) { var var_1 = new ji_InputStreamReader(); ji_InputStreamReader__init_4(var_1, var_0); return var_1; } function ji_InputStreamReader__init_1($this, $in, $charsetName) { var var$3, $$je; a: { try { var$3 = jnc_Charset_forName(jl_String_toString($charsetName)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_UnsupportedCharsetException) { break a; } else { throw $$e; } } ji_InputStreamReader__init_3($this, $in, var$3); return; } $in = new ji_UnsupportedEncodingException; jl_Throwable__init_($in, $charsetName); $rt_throw($in); } function ji_InputStreamReader__init_3($this, $in, $charset) { var var$3, var$4; var$3 = $charset.$newDecoder(); jnc_CodingErrorAction_$callClinit(); $charset = jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$3, jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE); ji_Reader__init_($this); var$4 = $rt_createByteArray(8192); $this.$inData = var$4; $this.$inBuffer = jn_ByteBuffer_wrap0(var$4); var$4 = $rt_createCharArray(1024); $this.$outData = var$4; var$3 = jn_CharBuffer_wrap(var$4); $this.$outBuffer = var$3; $this.$stream = $in; $this.$decoder = $charset; jn_Buffer_position0(var$3, var$3.$limit); $in = $this.$inBuffer; jn_Buffer_position0($in, $in.$limit); } function ji_InputStreamReader__init_4($this, $in) { jnci_UTF8Charset_$callClinit(); ji_InputStreamReader__init_3($this, $in, jnci_UTF8Charset_INSTANCE); } function ji_InputStreamReader_fillReadBuffer($this) { var var$1, var$2, $bytesRead, var$4, var$5, var$6, var$7, var$8, var$9; if ($this.$streamEof) return 0; var$1 = $this.$inBuffer; if (var$1.$readOnly) { var$1 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } a: { var$2 = jn_Buffer_remaining(var$1); $bytesRead = var$1.$position; if ($bytesRead > 0) { var$4 = var$1.$start3; var$5 = var$4 + $bytesRead | 0; var$6 = 0; while (true) { if (var$6 >= var$2) break a; var$7 = var$1.$array0.data; var$8 = var$4 + 1 | 0; $bytesRead = var$5 + 1 | 0; var$7[var$4] = var$7[var$5]; var$6 = var$6 + 1 | 0; var$4 = var$8; var$5 = $bytesRead; } } } var$1.$position = var$2; var$1.$limit = var$1.$capacity; var$1.$mark0 = (-1); b: { while (true) { if (!jn_Buffer_hasRemaining($this.$inBuffer)) break b; var$1 = $this.$stream; var$9 = $this.$inBuffer; $bytesRead = ji_ByteArrayInputStream_read0(var$1, var$9.$array0, var$9.$position, jn_Buffer_remaining(var$9)); if ($bytesRead == (-1)) { $this.$streamEof = 1; break b; } var$1 = $this.$inBuffer; jn_Buffer_position0(var$1, var$1.$position + $bytesRead | 0); if (!$bytesRead) break; } } jn_Buffer_flip($this.$inBuffer); return 1; } function nlea_EaglerAdapterImpl2$TextureGL() { var a = this; jl_Object.call(a); a.$obj4 = null; a.$w = 0; a.$h0 = 0; a.$nearest = 0; a.$anisotropic = 0; } function nms_MovingObjectPosition() { var a = this; jl_Object.call(a); a.$typeOfHit = 0; a.$blockX = 0; a.$blockY = 0; a.$blockZ = 0; a.$sideHit = 0; a.$hitVec = null; a.$entityHit = null; } function nms_MovingObjectPosition__init_0(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_MovingObjectPosition(); nms_MovingObjectPosition__init_1(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_MovingObjectPosition__init_(var_0) { var var_1 = new nms_MovingObjectPosition(); nms_MovingObjectPosition__init_2(var_1, var_0); return var_1; } function nms_MovingObjectPosition__init_1($this, $var1, $var2, $var3, $var4, $var5) { $this.$typeOfHit = 0; $this.$blockX = $var1; $this.$blockY = $var2; $this.$blockZ = $var3; $this.$sideHit = $var4; $this.$hitVec = nms_Vec3D_createVector($var5.$xCoord, $var5.$yCoord, $var5.$zCoord); } function nms_MovingObjectPosition__init_2($this, $var1) { $this.$typeOfHit = 1; $this.$entityHit = $var1; $this.$hitVec = nms_Vec3D_createVector($var1.$posX, $var1.$posY, $var1.$posZ); } var nms_PlayerControllerTest = $rt_classWithoutFields(nms_PlayerController); function nms_ItemStack() { var a = this; jl_Object.call(a); a.$stackSize = 0; a.$animationsToGo = 0; a.$itemID = 0; a.$itemDamage = 0; } function nms_ItemStack__init_6(var_0) { var var_1 = new nms_ItemStack(); nms_ItemStack__init_7(var_1, var_0); return var_1; } function nms_ItemStack__init_8(var_0, var_1) { var var_2 = new nms_ItemStack(); nms_ItemStack__init_9(var_2, var_0, var_1); return var_2; } function nms_ItemStack__init_10(var_0) { var var_1 = new nms_ItemStack(); nms_ItemStack__init_2(var_1, var_0); return var_1; } function nms_ItemStack__init_11(var_0, var_1) { var var_2 = new nms_ItemStack(); nms_ItemStack__init_4(var_2, var_0, var_1); return var_2; } function nms_ItemStack__init_0(var_0) { var var_1 = new nms_ItemStack(); nms_ItemStack__init_(var_1, var_0); return var_1; } function nms_ItemStack__init_3(var_0, var_1) { var var_2 = new nms_ItemStack(); nms_ItemStack__init_12(var_2, var_0, var_1); return var_2; } function nms_ItemStack__init_1(var_0, var_1, var_2) { var var_3 = new nms_ItemStack(); nms_ItemStack__init_13(var_3, var_0, var_1, var_2); return var_3; } function nms_ItemStack__init_5(var_0) { var var_1 = new nms_ItemStack(); nms_ItemStack__init_14(var_1, var_0); return var_1; } function nms_ItemStack__init_7($this, $var1) { nms_ItemStack__init_9($this, $var1, 1); } function nms_ItemStack__init_9($this, $var1, $var2) { nms_ItemStack__init_12($this, $var1.$blockID, $var2); } function nms_ItemStack__init_2($this, $var1) { nms_ItemStack__init_4($this, $var1, 1); } function nms_ItemStack__init_4($this, $var1, $var2) { nms_ItemStack__init_12($this, $var1.$shiftedIndex, $var2); } function nms_ItemStack__init_($this, $var1) { nms_ItemStack__init_12($this, $var1, 1); } function nms_ItemStack__init_12($this, $var1, $var2) { $this.$stackSize = 0; $this.$itemID = $var1; $this.$stackSize = $var2; } function nms_ItemStack__init_13($this, $var1, $var2, $var3) { $this.$stackSize = 0; $this.$itemID = $var1; $this.$stackSize = $var2; $this.$itemDamage = $var3; } function nms_ItemStack__init_14($this, $var1) { $this.$stackSize = 0; $this.$itemID = nms_NBTTagCompound_getShort($var1, $rt_s(308)); $this.$stackSize = nms_NBTTagCompound_getByte($var1, $rt_s(594)); $this.$itemDamage = nms_NBTTagCompound_getShort($var1, $rt_s(595)); } function nms_ItemStack_splitStack($this, $var1) { $this.$stackSize = $this.$stackSize - $var1 | 0; return nms_ItemStack__init_1($this.$itemID, $var1, $this.$itemDamage); } function nms_ItemStack_getItem($this) { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$itemID]; } function nms_ItemStack_getIconIndex($this) { return (nms_ItemStack_getItem($this)).$iconIndex; } function nms_ItemStack_writeToNBT($this, $var1) { nms_NBTTagCompound_setShort($var1, $rt_s(308), $this.$itemID << 16 >> 16); nms_NBTTagCompound_setByte($var1, $rt_s(594), $this.$stackSize << 24 >> 24); nms_NBTTagCompound_setShort($var1, $rt_s(595), $this.$itemDamage << 16 >> 16); return $var1; } function nms_ItemStack_getMaxStackSize($this) { return (nms_ItemStack_getItem($this)).$maxStackSize; } function nms_ItemStack_getMaxDamage($this) { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$itemID].$maxDamage; } function nms_ItemStack_damageItem($this, $var1) { $var1 = $this.$itemDamage + $var1 | 0; $this.$itemDamage = $var1; if ($var1 > nms_ItemStack_getMaxDamage($this)) { $var1 = $this.$stackSize - 1 | 0; $this.$stackSize = $var1; if ($var1 < 0) $this.$stackSize = 0; $this.$itemDamage = 0; } } function nms_CraftingInventoryCB() { jl_Object.call(this); this.$unusedList = null; } function nms_CraftingInventoryCB__init_0() { var var_0 = new nms_CraftingInventoryCB(); nms_CraftingInventoryCB__init_(var_0); return var_0; } function nms_CraftingInventoryCB__init_($this) { $this.$unusedList = ju_ArrayList__init_0(); } function nms_CraftingInventoryPlayerCB() { var a = this; nms_CraftingInventoryCB.call(a); a.$craftMatrix0 = null; a.$craftResult0 = null; } function nms_CraftingInventoryPlayerCB_onCraftMatrixChanged($this, $var1) { var $var2, var$3, $var3, $var4, $var5, $var6; $var2 = $rt_createIntArray(9); var$3 = $var2.data; $var3 = 0; while ($var3 < 3) { $var4 = 0; while ($var4 < 3) { $var5 = (-1); if ($var3 < 2 && $var4 < 2) { $var6 = nms_InventoryCrafting_getStackInSlot($this.$craftMatrix0, $var3 + ($var4 * 2 | 0) | 0); if ($var6 !== null) $var5 = $var6.$itemID; } var$3[$var3 + ($var4 * 3 | 0) | 0] = $var5; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } nms_InventoryCraftResult_setInventorySlotContents($this.$craftResult0, 0, nms_CraftingManager_craft(nms_CraftingManager_getInstance(), $var2)); } function nms_Slot() { var a = this; jl_Object.call(a); a.$slotIndex = 0; a.$inventory1 = null; } function nms_Slot_onPickupFromSlot($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: $ptr = 1; case 1: nms_Slot_onSlotChanged($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_Slot_isItemValid($this, $var1) { return 1; } function nms_Slot_getStack($this) { return $this.$inventory1.$getStackInSlot($this.$slotIndex); } function nms_Slot_putStack($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: var$2 = $this.$inventory1; var$3 = $this.$slotIndex; $ptr = 1; case 1: var$2.$setInventorySlotContents(var$3, $var1); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_Slot_onSlotChanged($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $ptr); } function nms_Slot_func_775_c($this) { return (-1); } function nms_Slot_onSlotChanged($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 = $this.$inventory1; $ptr = 1; case 1: var$1.$onInventoryChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function nms_Slot_getSlotStackLimit($this) { return $this.$inventory1.$getInventoryStackLimit(); } function nms_SlotInventory() { var a = this; nms_Slot.call(a); a.$guiHandler = null; a.$xPos = 0; a.$yPos = 0; } function nms_SlotInventory__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_SlotInventory(); nms_SlotInventory__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_SlotInventory__init_0($this, $var1, $var2, $var3, $var4, $var5) { $this.$inventory1 = $var2; $this.$slotIndex = $var3; $this.$guiHandler = $var1; $this.$xPos = $var4; $this.$yPos = $var5; } function nms_SlotInventory_isAtCursorPos($this, $var1, $var2) { var var$3, $var3, $var4; a: { var$3 = $this.$guiHandler; $var3 = (var$3.$width - var$3.$xSize | 0) / 2 | 0; $var4 = (var$3.$height0 - var$3.$ySize | 0) / 2 | 0; $var3 = $var1 - $var3 | 0; $var2 = $var2 - $var4 | 0; $var4 = $this.$xPos; if ($var3 >= ($var4 - 1 | 0) && $var3 < (($var4 + 16 | 0) + 1 | 0)) { $var3 = $this.$yPos; if ($var2 >= ($var3 - 1 | 0) && $var2 < (($var3 + 16 | 0) + 1 | 0)) { $var1 = 1; break a; } } $var1 = 0; } return $var1; } function nms_SlotCrafting() { nms_SlotInventory.call(this); this.$craftMatrix1 = null; } function nms_SlotCrafting__init_(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new nms_SlotCrafting(); nms_SlotCrafting__init_0(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function nms_SlotCrafting__init_0($this, $var1, $var2, $var3, $var4, $var5, $var6) { nms_SlotInventory__init_0($this, $var1, $var3, $var4, $var5, $var6); $this.$craftMatrix1 = $var2; } function nms_SlotCrafting_isItemValid($this, $var1) { return 0; } function nms_SlotCrafting_onPickupFromSlot($this) { var $var1, var$2; $var1 = 0; while (true) { var$2 = $this.$craftMatrix1; if ($var1 >= var$2.$nbrSlots) break; if (nms_InventoryCrafting_getStackInSlot(var$2, $var1) !== null) nms_InventoryCrafting_decrStackSize($this.$craftMatrix1, $var1, 1); $var1 = $var1 + 1 | 0; } } function nms_SlotArmor() { var a = this; nms_SlotInventory.call(a); a.$field_1124_c = 0; a.$field_1123_d = null; } function nms_SlotArmor_getSlotStackLimit($this) { return 1; } function nms_SlotArmor_isItemValid($this, $var1) { var var$2, var$3, var$4, var$5; if (nms_ItemStack_getItem($var1) instanceof nms_ItemArmor) return (nms_ItemStack_getItem($var1)).$armorType != $this.$field_1124_c ? 0 : 1; var$2 = jl_System_out(); var$3 = (nms_ItemStack_getItem($var1)).$shiftedIndex; var$4 = $this.$field_1124_c; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(var$5, var$3), $rt_s(325)), var$4); ji_PrintStream_println(var$2, jl_AbstractStringBuilder_toString(var$5)); var$3 = (nms_ItemStack_getItem($var1)).$shiftedIndex; nms_Block_$callClinit(); return var$3 != nms_Block_pumpkin.$blockID ? 0 : $this.$field_1124_c ? 0 : 1; } function nms_SlotArmor_func_775_c($this) { return 15 + ($this.$field_1124_c * 16 | 0) | 0; } function cjj_InfTree() { var a = this; jl_Object.call(a); a.$hn = null; a.$v = null; a.$c0 = null; a.$r0 = null; a.$u = null; a.$x2 = 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__init_0() { var var_0 = new cjj_InfTree(); cjj_InfTree__init_(var_0); return var_0; } function cjj_InfTree__init_($this) { $this.$hn = null; $this.$v = null; $this.$c0 = null; $this.$r0 = null; $this.$u = null; $this.$x2 = 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, $a, $l, $j, $y, $xp, $mask, $w, $f, var$24, var$25, $h, $q, $z, $a_0; $p = 0; $i = $n; while (true) { var$14 = $b.data; var$15 = $this.$c0.data; $a = var$14[$bindex + $p | 0]; var$15[$a] = var$15[$a] + 1 | 0; $p = $p + 1 | 0; $i = $i + (-1) | 0; if (!$i) break; } if (var$15[0] == $n) { $b = $t.data; $d = $m.data; $b[0] = (-1); $d[0] = 0; return 0; } $b = $m.data; $l = $b[0]; $j = 1; a: { while (true) { if ($j > 15) break a; if (var$15[$j]) break; $j = $j + 1 | 0; } } if ($l < $j) $l = $j; $p = 15; b: { while (true) { if (!$p) break b; if (var$15[$p]) break; $p = $p + (-1) | 0; } } if ($l > $p) $l = $p; $b[0] = $l; $y = 1 << $j; $xp = $j; while (true) { if ($xp >= $p) { $i = $y - var$15[$p] | 0; if ($i < 0) return (-3); var$15[$p] = var$15[$p] + $i | 0; $b = $this.$x2.data; $mask = 0; $b[1] = $mask; $w = 1; $xp = 2; $f = $p; while (true) { $f = $f + (-1) | 0; if (!$f) break; $mask = $mask + var$15[$w] | 0; $b[$xp] = $mask; $xp = $xp + 1 | 0; $w = $w + 1 | 0; } $a = 0; $xp = 0; while (true) { $f = var$14[$bindex + $xp | 0]; if ($f) { $m = $v.data; $w = $b[$f]; $b[$f] = $w + 1 | 0; $m[$w] = $a; } $xp = $xp + 1 | 0; $a = $a + 1 | 0; if ($a >= $n) break; } $xp = $b[$p]; var$24 = 0; $b[0] = var$24; var$25 = 0; $h = (-1); $w = -$l | 0; $this.$u.data[0] = 0; $q = 0; $z = 0; c: while (true) { if ($j > $p) return $i && $p != 1 ? (-5) : 0; $a = $this.$c0.data[$j]; while (true) { $a_0 = $a + (-1) | 0; if (!$a) break; $y = $a_0 + 1 | 0; while (true) { $f = $w + $l | 0; if ($j <= $f) break; $h = $h + 1 | 0; $mask = $p - $f | 0; if ($mask > $l) $mask = $l; d: { $w = $j - $f | 0; $bindex = 1 << $w; if ($bindex > $y) { $bindex = $bindex - $y | 0; if ($w < $mask) { $n = $j; while (true) { $w = $w + 1 | 0; if ($w >= $mask) break; $bindex = $bindex << 1; $b = $this.$c0.data; $n = $n + 1 | 0; if ($bindex <= $b[$n]) break d; $bindex = $bindex - $b[$n] | 0; } } } } $m = $hn.data; $z = 1 << $w; if (($m[0] + $z | 0) > 1440) break c; $b = $this.$u.data; $q = $m[0]; $b[$h] = $q; $m[0] = $m[0] + $z | 0; if (!$h) { $t.data[0] = $q; $w = $f; continue; } $this.$x2.data[$h] = var$24; $m = $this.$r0; var$15 = $m.data; var$15[0] = $w << 24 >> 24; var$15[1] = $l << 24 >> 24; $mask = var$24 >>> ($f - $l | 0) | 0; $n = $h - 1 | 0; var$15[2] = ($q - $b[$n] | 0) - $mask | 0; jl_System_fastArraycopy($m, 0, $hp, ($b[$n] + $mask | 0) * 3 | 0, 3); $w = $f; } var$15 = $this.$r0.data; $f = $j - $w | 0; var$15[1] = $f << 24 >> 24; if (var$25 >= $xp) var$15[0] = 192; else { var$14 = $v.data; if (var$14[var$25] >= $s) { $b = $e.data; $m = $d.data; var$15[0] = (($b[var$14[var$25] - $s | 0] + 16 | 0) + 64 | 0) << 24 >> 24; $n = var$25 + 1 | 0; var$15[2] = $m[var$14[var$25] - $s | 0]; var$25 = $n; } else { var$15[0] = (var$14[var$25] >= 256 ? 96 : 0) << 24 >> 24; $n = var$25 + 1 | 0; var$15[2] = var$14[var$25]; var$25 = $n; } } $f = 1 << $f; $bindex = var$24 >>> $w | 0; while ($bindex < $z) { jl_System_fastArraycopy($this.$r0, 0, $hp, ($q + $bindex | 0) * 3 | 0, 3); $bindex = $bindex + $f | 0; } $bindex = 1 << ($j - 1 | 0); while (var$24 & $bindex) { var$24 = var$24 ^ $bindex; $bindex = $bindex >>> 1 | 0; } var$24 = var$24 ^ $bindex; $mask = (1 << $w) - 1 | 0; while ((var$24 & $mask) != $this.$x2.data[$h]) { $h = $h + (-1) | 0; $w = $w - $l | 0; $mask = (1 << $w) - 1 | 0; } $a = $a_0; } $j = $j + 1 | 0; } return (-3); } $a = $y - var$15[$xp] | 0; if ($a < 0) break; $xp = $xp + 1 | 0; $y = $a << 1; } return (-3); } function cjj_InfTree_inflate_trees_bits($this, $c, $bb, $tb, $hp, $z) { var var$6, $result; cjj_InfTree_initWorkArea($this, 19); var$6 = $this.$hn; var$6.data[0] = 0; $result = cjj_InfTree_huft_build($this, $c, 0, 19, 19, null, null, $tb, $bb, $hp, var$6, $this.$v); if ($result == (-3)) $z.$msg = $rt_s(596); else if (!($result != (-5) && $bb.data[0])) { $z.$msg = $rt_s(597); $result = (-3); } return $result; } function cjj_InfTree_inflate_trees_dynamic($this, $nl, $nd, $c, $bl, $bd, $tl, $td, $hp, $z) { var var$10, $result; cjj_InfTree_initWorkArea($this, 288); var$10 = $this.$hn; var$10.data[0] = 0; $result = cjj_InfTree_huft_build($this, $c, 0, $nl, 257, cjj_InfTree_cplens, cjj_InfTree_cplext, $tl, $bl, $hp, var$10, $this.$v); 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.$v); if (!$nd && !(!$bd.data[0] && $nl > 257)) return 0; if ($nd == (-3)) $z.$msg = $rt_s(598); else if ($nd == (-5)) { $z.$msg = $rt_s(599); $nd = (-3); } else if ($nd != (-4)) { $z.$msg = $rt_s(600); $nd = (-3); } return $nd; } if ($result == (-3)) $z.$msg = $rt_s(601); else if ($result != (-4)) { $z.$msg = $rt_s(602); $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.$v = $rt_createIntArray($vsize); $this.$c0 = $rt_createIntArray(16); $this.$r0 = $rt_createIntArray(3); $this.$u = $rt_createIntArray(15); $this.$x2 = $rt_createIntArray(16); } if ($this.$v.data.length < $vsize) $this.$v = $rt_createIntArray($vsize); $i = 0; while ($i < $vsize) { $this.$v.data[$i] = 0; $i = $i + 1 | 0; } $i = 0; while ($i < 16) { $this.$c0.data[$i] = 0; $i = $i + 1 | 0; } $i = 0; while ($i < 3) { $this.$r0.data[$i] = 0; $i = $i + 1 | 0; } jl_System_fastArraycopy($this.$c0, 0, $this.$u, 0, 15); jl_System_fastArraycopy($this.$c0, 0, $this.$x2, 0, 16); } function cjj_InfTree__clinit_() { cjj_InfTree_fixed_tl = $rt_createIntArrayFromData([96, 7, 256, 0, 8, 80, 0, 8, 16, 84, 8, 115, 82, 7, 31, 0, 8, 112, 0, 8, 48, 0, 9, 192, 80, 7, 10, 0, 8, 96, 0, 8, 32, 0, 9, 160, 0, 8, 0, 0, 8, 128, 0, 8, 64, 0, 9, 224, 80, 7, 6, 0, 8, 88, 0, 8, 24, 0, 9, 144, 83, 7, 59, 0, 8, 120, 0, 8, 56, 0, 9, 208, 81, 7, 17, 0, 8, 104, 0, 8, 40, 0, 9, 176, 0, 8, 8, 0, 8, 136, 0, 8, 72, 0, 9, 240, 80, 7, 4, 0, 8, 84, 0, 8, 20, 85, 8, 227, 83, 7, 43, 0, 8, 116, 0, 8, 52, 0, 9, 200, 81, 7, 13, 0, 8, 100, 0, 8, 36, 0, 9, 168, 0, 8, 4, 0, 8, 132, 0, 8, 68, 0, 9, 232, 80, 7, 8, 0, 8, 92, 0, 8, 28, 0, 9, 152, 84, 7, 83, 0, 8, 124, 0, 8, 60, 0, 9, 216, 82, 7, 23, 0, 8, 108, 0, 8, 44, 0, 9, 184, 0, 8, 12, 0, 8, 140, 0, 8, 76, 0, 9, 248, 80, 7, 3, 0, 8, 82, 0, 8, 18, 85, 8, 163, 83, 7, 35, 0, 8, 114, 0, 8, 50, 0, 9, 196, 81, 7, 11, 0, 8, 98, 0, 8, 34, 0, 9, 164, 0, 8, 2, 0, 8, 130, 0, 8, 66, 0, 9, 228, 80, 7, 7, 0, 8, 90, 0, 8, 26, 0, 9, 148, 84, 7, 67, 0, 8, 122, 0, 8, 58, 0, 9, 212, 82, 7, 19, 0, 8, 106, 0, 8, 42, 0, 9, 180, 0, 8, 10, 0, 8, 138, 0, 8, 74, 0, 9, 244, 80, 7, 5, 0, 8, 86, 0, 8, 22, 192, 8, 0, 83, 7, 51, 0, 8, 118, 0, 8, 54, 0, 9, 204, 81, 7, 15, 0, 8, 102, 0, 8, 38, 0, 9, 172, 0, 8, 6, 0, 8, 134, 0, 8, 70, 0, 9, 236, 80, 7, 9, 0, 8, 94, 0, 8, 30, 0, 9, 156, 84, 7, 99, 0, 8, 126, 0, 8, 62, 0, 9, 220, 82, 7, 27, 0, 8, 110, 0, 8, 46, 0, 9, 188, 0, 8, 14, 0, 8, 142, 0, 8, 78, 0, 9, 252, 96, 7, 256, 0, 8, 81, 0, 8, 17, 85, 8, 131, 82, 7, 31, 0, 8, 113, 0, 8, 49, 0, 9, 194, 80, 7, 10, 0, 8, 97, 0, 8, 33, 0, 9, 162, 0, 8, 1, 0, 8, 129, 0, 8, 65, 0, 9, 226, 80, 7, 6, 0, 8, 89, 0, 8, 25, 0, 9, 146, 83, 7, 59, 0, 8, 121, 0, 8, 57, 0, 9, 210, 81, 7, 17, 0, 8, 105, 0, 8, 41, 0, 9, 178, 0, 8, 9, 0, 8, 137, 0, 8, 73, 0, 9, 242, 80, 7, 4, 0, 8, 85, 0, 8, 21, 80, 8, 258, 83, 7, 43, 0, 8, 117, 0, 8, 53, 0, 9, 202, 81, 7, 13, 0, 8, 101, 0, 8, 37, 0, 9, 170, 0, 8, 5, 0, 8, 133, 0, 8, 69, 0, 9, 234, 80, 7, 8, 0, 8, 93, 0, 8, 29, 0, 9, 154, 84, 7, 83, 0, 8, 125, 0, 8, 61, 0, 9, 218, 82, 7, 23, 0, 8, 109, 0, 8, 45, 0, 9, 186, 0, 8, 13, 0, 8, 141, 0, 8, 77, 0, 9, 250, 80, 7, 3, 0, 8, 83, 0, 8, 19, 85, 8, 195, 83, 7, 35, 0, 8, 115, 0, 8, 51, 0, 9, 198, 81, 7, 11, 0, 8, 99, 0, 8, 35, 0, 9, 166, 0, 8, 3, 0, 8, 131, 0, 8, 67, 0, 9, 230, 80, 7, 7, 0, 8, 91, 0, 8, 27, 0, 9, 150, 84, 7, 67, 0, 8, 123, 0, 8, 59, 0, 9, 214, 82, 7, 19, 0, 8, 107, 0, 8, 43, 0, 9, 182, 0, 8, 11, 0, 8, 139, 0, 8, 75, 0, 9, 246, 80, 7, 5, 0, 8, 87, 0, 8, 23, 192, 8, 0, 83, 7, 51, 0, 8, 119, 0, 8, 55, 0, 9, 206, 81, 7, 15, 0, 8, 103, 0, 8, 39, 0, 9, 174, 0, 8, 7, 0, 8, 135, 0, 8, 71, 0, 9, 238, 80, 7, 9, 0, 8, 95, 0, 8, 31, 0, 9, 158, 84, 7, 99, 0, 8, 127, 0, 8, 63, 0, 9, 222, 82, 7, 27, 0, 8, 111, 0, 8, 47, 0, 9, 190, 0, 8, 15, 0, 8, 143, 0, 8, 79, 0, 9, 254, 96, 7, 256, 0, 8, 80, 0, 8, 16, 84, 8, 115, 82, 7, 31, 0, 8, 112, 0, 8, 48, 0, 9, 193, 80, 7, 10, 0, 8, 96, 0, 8, 32, 0, 9, 161, 0, 8, 0, 0, 8, 128, 0, 8, 64, 0, 9, 225, 80, 7, 6, 0, 8, 88, 0, 8, 24, 0, 9, 145, 83, 7, 59, 0, 8, 120, 0, 8, 56, 0, 9, 209, 81, 7, 17, 0, 8, 104, 0, 8, 40, 0, 9, 177, 0, 8, 8, 0, 8, 136, 0, 8, 72, 0, 9, 241, 80, 7, 4, 0, 8, 84, 0, 8, 20, 85, 8, 227, 83, 7, 43, 0, 8, 116, 0, 8, 52, 0, 9, 201, 81, 7, 13, 0, 8, 100, 0, 8, 36, 0, 9, 169, 0, 8, 4, 0, 8, 132, 0, 8, 68, 0, 9, 233, 80, 7, 8, 0, 8, 92, 0, 8, 28, 0, 9, 153, 84, 7, 83, 0, 8, 124, 0, 8, 60, 0, 9, 217, 82, 7, 23, 0, 8, 108, 0, 8, 44, 0, 9, 185, 0, 8, 12, 0, 8, 140, 0, 8, 76, 0, 9, 249, 80, 7, 3, 0, 8, 82, 0, 8, 18, 85, 8, 163, 83, 7, 35, 0, 8, 114, 0, 8, 50, 0, 9, 197, 81, 7, 11, 0, 8, 98, 0, 8, 34, 0, 9, 165, 0, 8, 2, 0, 8, 130, 0, 8, 66, 0, 9, 229, 80, 7, 7, 0, 8, 90, 0, 8, 26, 0, 9, 149, 84, 7, 67, 0, 8, 122, 0, 8, 58, 0, 9, 213, 82, 7, 19, 0, 8, 106, 0, 8, 42, 0, 9, 181, 0, 8, 10, 0, 8, 138, 0, 8, 74, 0, 9, 245, 80, 7, 5, 0, 8, 86, 0, 8, 22, 192, 8, 0, 83, 7, 51, 0, 8, 118, 0, 8, 54, 0, 9, 205, 81, 7, 15, 0, 8, 102, 0, 8, 38, 0, 9, 173, 0, 8, 6, 0, 8, 134, 0, 8, 70, 0, 9, 237, 80, 7, 9, 0, 8, 94, 0, 8, 30, 0, 9, 157, 84, 7, 99, 0, 8, 126, 0, 8, 62, 0, 9, 221, 82, 7, 27, 0, 8, 110, 0, 8, 46, 0, 9, 189, 0, 8, 14, 0, 8, 142, 0, 8, 78, 0, 9, 253, 96, 7, 256, 0, 8, 81, 0, 8, 17, 85, 8, 131, 82, 7, 31, 0, 8, 113, 0, 8, 49, 0, 9, 195, 80, 7, 10, 0, 8, 97, 0, 8, 33, 0, 9, 163, 0, 8, 1, 0, 8, 129, 0, 8, 65, 0, 9, 227, 80, 7, 6, 0, 8, 89, 0, 8, 25, 0, 9, 147, 83, 7, 59, 0, 8, 121, 0, 8, 57, 0, 9, 211, 81, 7, 17, 0, 8, 105, 0, 8, 41, 0, 9, 179, 0, 8, 9, 0, 8, 137, 0, 8, 73, 0, 9, 243, 80, 7, 4, 0, 8, 85, 0, 8, 21, 80, 8, 258, 83, 7, 43, 0, 8, 117, 0, 8, 53, 0, 9, 203, 81, 7, 13, 0, 8, 101, 0, 8, 37, 0, 9, 171, 0, 8, 5, 0, 8, 133, 0, 8, 69, 0, 9, 235, 80, 7, 8, 0, 8, 93, 0, 8, 29, 0, 9, 155, 84, 7, 83, 0, 8, 125, 0, 8, 61, 0, 9, 219, 82, 7, 23, 0, 8, 109, 0, 8, 45, 0, 9, 187, 0, 8, 13, 0, 8, 141, 0, 8, 77, 0, 9, 251, 80, 7, 3, 0, 8, 83, 0, 8, 19, 85, 8, 195, 83, 7, 35, 0, 8, 115, 0, 8, 51, 0, 9, 199, 81, 7, 11, 0, 8, 99, 0, 8, 35, 0, 9, 167, 0, 8, 3, 0, 8, 131, 0, 8, 67, 0, 9, 231, 80, 7, 7, 0, 8, 91, 0, 8, 27, 0, 9, 151, 84, 7, 67, 0, 8, 123, 0, 8, 59, 0, 9, 215, 82, 7, 19, 0, 8, 107, 0, 8, 43, 0, 9, 183, 0, 8, 11, 0, 8, 139, 0, 8, 75, 0, 9, 247, 80, 7, 5, 0, 8, 87, 0, 8, 23, 192, 8, 0, 83, 7, 51, 0, 8, 119, 0, 8, 55, 0, 9, 207, 81, 7, 15, 0, 8, 103, 0, 8, 39, 0, 9, 175, 0, 8, 7, 0, 8, 135, 0, 8, 71, 0, 9, 239, 80, 7, 9, 0, 8, 95, 0, 8, 31, 0, 9, 159, 84, 7, 99, 0, 8, 127, 0, 8, 63, 0, 9, 223, 82, 7, 27, 0, 8, 111, 0, 8, 47, 0, 9, 191, 0, 8, 15, 0, 8, 143, 0, 8, 79, 0, 9, 255]); cjj_InfTree_fixed_td = $rt_createIntArrayFromData([80, 5, 1, 87, 5, 257, 83, 5, 17, 91, 5, 4097, 81, 5, 5, 89, 5, 1025, 85, 5, 65, 93, 5, 16385, 80, 5, 3, 88, 5, 513, 84, 5, 33, 92, 5, 8193, 82, 5, 9, 90, 5, 2049, 86, 5, 129, 192, 5, 24577, 80, 5, 2, 87, 5, 385, 83, 5, 25, 91, 5, 6145, 81, 5, 7, 89, 5, 1537, 85, 5, 97, 93, 5, 24577, 80, 5, 4, 88, 5, 769, 84, 5, 49, 92, 5, 12289, 82, 5, 13, 90, 5, 3073, 86, 5, 193, 192, 5, 24577]); cjj_InfTree_cplens = $rt_createIntArrayFromData([3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0]); cjj_InfTree_cplext = $rt_createIntArrayFromData([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 112, 112]); cjj_InfTree_cpdist = $rt_createIntArrayFromData([1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577]); cjj_InfTree_cpdext = $rt_createIntArrayFromData([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13]); } function cjj_InfCodes() { var a = this; jl_Object.call(a); a.$mode3 = 0; a.$len = 0; a.$tree = null; a.$tree_index = 0; a.$need0 = 0; a.$lit = 0; a.$get7 = 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.$z3 = null; a.$s = null; } var cjj_InfCodes_inflate_mask = null; function cjj_InfCodes_init($this, $bl, $bd, $tl, $tl_index, $td, $td_index) { $this.$mode3 = 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, var$3, $n, var$5, var$6, $q, $f, $m, var$10, var$11, $j, $tindex, $e; var$2 = $this.$z3; var$3 = var$2.$next_in_index; $n = var$2.$avail_in; var$2 = $this.$s; var$5 = var$2.$bitb; var$6 = var$2.$bitk; $q = var$2.$write2; $f = var$2.$read2; $m = $q >= $f ? var$2.$end1 - $q | 0 : ($f - $q | 0) - 1 | 0; a: { b: while (true) { c: { d: { e: { f: { g: { switch ($this.$mode3) { case 0: break f; case 2: $f = $this.$get7; while (var$6 < $f) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z3.$next_in.data; $j = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $j; } $this.$len = $this.$len + (var$5 & cjj_InfCodes_inflate_mask.data[$f]) | 0; var$5 = var$5 >> $f; var$6 = var$6 - $f | 0; $this.$need0 = $this.$dbits; $this.$tree = $this.$dtree; $this.$tree_index = $this.$dtree_index; $this.$mode3 = 3; break g; case 4: $j = $this.$get7; while (var$6 < $j) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z3.$next_in.data; $f = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $f; } $this.$dist = $this.$dist + (var$5 & cjj_InfCodes_inflate_mask.data[$j]) | 0; var$5 = var$5 >> $j; var$6 = var$6 - $j | 0; $this.$mode3 = 5; break c; case 6: break d; case 7: if (var$6 > 7) { var$6 = var$6 + (-8) | 0; $n = $n + 1 | 0; var$3 = var$3 + (-1) | 0; } var$2 = $this.$s; var$2.$write2 = $q; $r = cjj_InfBlocks_inflate_flush(var$2, $r); var$2 = $this.$s; $q = var$2.$write2; $f = var$2.$read2; if ($f != $q) { var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $this.$mode3 = 8; break a; case 9: var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, (-3)); case 1: break e; case 3: break; case 5: break c; case 8: break a; default: var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, (-2)); } } $f = $this.$need0; while (var$6 < $f) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z3.$next_in.data; $j = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $j; } $f = ($this.$tree_index + (var$5 & cjj_InfCodes_inflate_mask.data[$f]) | 0) * 3 | 0; var$11 = $this.$tree.data; $j = $f + 1 | 0; var$5 = var$5 >> var$11[$j]; var$6 = var$6 - var$11[$j] | 0; $j = var$11[$f]; if ($j & 16) { $this.$get7 = $j & 15; $this.$dist = var$11[$f + 2 | 0]; $this.$mode3 = 4; continue b; } if ($j & 64) { $this.$mode3 = 9; var$2 = $this.$z3; var$2.$msg = $rt_s(603); var$10 = $this.$s; var$10.$bitb = var$5; var$10.$bitk = var$6; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt(var$3 - var$2.$next_in_index | 0)); var$2.$next_in_index = var$3; var$10.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$10, (-3)); } $this.$need0 = $j; $this.$tree_index = ($f / 3 | 0) + var$11[$f + 2 | 0] | 0; continue b; } if ($m >= 258 && $n >= 10) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; $r = cjj_InfCodes_inflate_fast($this, $this.$lbits, $this.$dbits, $this.$ltree, $this.$ltree_index, $this.$dtree, $this.$dtree_index, var$2, var$10); var$2 = $this.$z3; var$3 = var$2.$next_in_index; $n = var$2.$avail_in; var$2 = $this.$s; var$5 = var$2.$bitb; var$6 = var$2.$bitk; $q = var$2.$write2; $f = var$2.$read2; $m = $q >= $f ? var$2.$end1 - $q | 0 : ($f - $q | 0) - 1 | 0; if ($r) { $this.$mode3 = $r != 1 ? 9 : 7; continue b; } } $this.$need0 = $this.$lbits; $this.$tree = $this.$ltree; $this.$tree_index = $this.$ltree_index; $this.$mode3 = 1; } $j = $this.$need0; while (var$6 < $j) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z3.$next_in.data; $f = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $f; } $tindex = ($this.$tree_index + (var$5 & cjj_InfCodes_inflate_mask.data[$j]) | 0) * 3 | 0; var$11 = $this.$tree.data; $f = $tindex + 1 | 0; var$5 = var$5 >>> var$11[$f] | 0; var$6 = var$6 - var$11[$f] | 0; $e = var$11[$tindex]; if (!$e) { $this.$lit = var$11[$tindex + 2 | 0]; $this.$mode3 = 6; continue b; } if ($e & 16) { $this.$get7 = $e & 15; $this.$len = var$11[$tindex + 2 | 0]; $this.$mode3 = 2; continue b; } if (!($e & 64)) { $this.$need0 = $e; $this.$tree_index = ($tindex / 3 | 0) + var$11[$tindex + 2 | 0] | 0; continue b; } if (!($e & 32)) { $this.$mode3 = 9; var$2 = $this.$z3; var$2.$msg = $rt_s(604); var$10 = $this.$s; var$10.$bitb = var$5; var$10.$bitk = var$6; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt(var$3 - var$2.$next_in_index | 0)); var$2.$next_in_index = var$3; var$10.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$10, (-3)); } $this.$mode3 = 7; continue b; } if ($m) $f = $q; else { var$2 = $this.$s; $j = var$2.$end1; if ($q != $j) $f = $q; else { $tindex = var$2.$read2; if (!$tindex) $f = $q; else { $f = 0; $m = $f >= $tindex ? $j - $f | 0 : ($tindex - $f | 0) - 1 | 0; } } if (!$m) { var$2.$write2 = $f; $r = cjj_InfBlocks_inflate_flush(var$2, $r); var$2 = $this.$s; $f = var$2.$write2; $j = var$2.$read2; $m = $f >= $j ? var$2.$end1 - $f | 0 : ($j - $f | 0) - 1 | 0; $tindex = var$2.$end1; if ($f == $tindex && $j) { $f = 0; $m = $f >= $j ? $tindex - $f | 0 : ($j - $f | 0) - 1 | 0; } if (!$m) { var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $f; return cjj_InfBlocks_inflate_flush(var$2, $r); } } } $r = 0; var$11 = $this.$s.$window.data; $q = $f + 1 | 0; var$11[$f] = $this.$lit << 24 >> 24; $m = $m + (-1) | 0; $this.$mode3 = 0; continue b; } $f = $q - $this.$dist | 0; while ($f < 0) { $f = $f + $this.$s.$end1 | 0; } while ($this.$len) { if ($m) $j = $q; else { var$2 = $this.$s; $tindex = var$2.$end1; if ($q != $tindex) $j = $q; else { $e = var$2.$read2; if (!$e) $j = $q; else { $j = 0; $m = $j >= $e ? $tindex - $j | 0 : ($e - $j | 0) - 1 | 0; } } if (!$m) { var$2.$write2 = $j; $r = cjj_InfBlocks_inflate_flush(var$2, $r); var$2 = $this.$s; $j = var$2.$write2; $tindex = var$2.$read2; $m = $j >= $tindex ? var$2.$end1 - $j | 0 : ($tindex - $j | 0) - 1 | 0; $e = var$2.$end1; if ($j == $e && $tindex) { $j = 0; $m = $j >= $tindex ? $e - $j | 0 : ($tindex - $j | 0) - 1 | 0; } if (!$m) break b; } } var$2 = $this.$s; var$11 = var$2.$window.data; $q = $j + 1 | 0; $tindex = $f + 1 | 0; var$11[$j] = var$11[$f]; $m = $m + (-1) | 0; $f = $tindex == var$2.$end1 ? 0 : $tindex; $this.$len = $this.$len - 1 | 0; } $this.$mode3 = 0; } var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $j; return cjj_InfBlocks_inflate_flush(var$2, $r); } var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z3; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write2 = $q; return cjj_InfBlocks_inflate_flush(var$2, 1); } function cjj_InfCodes_free($this, $z) {} function cjj_InfCodes_inflate_fast($this, $bl, $bd, $tl, $tl_index, $td, $td_index, $s, $z) { var $p, $n, $b, $k, $q, $r, $m, var$16, $ml, $md, var$19, $t, $tp_index_t_3, $d, var$23, $c; $p = $z.$next_in_index; $n = $z.$avail_in; $b = $s.$bitb; $k = $s.$bitk; $q = $s.$write2; $r = $s.$read2; $m = $q >= $r ? $s.$end1 - $q | 0 : ($r - $q | 0) - 1 | 0; var$16 = cjj_InfCodes_inflate_mask.data; $ml = var$16[$bl]; $md = var$16[$bd]; while (true) { if ($k < 20) { $n = $n + (-1) | 0; var$16 = $z.$next_in.data; $bl = $p + 1 | 0; $b = $b | (var$16[$p] & 255) << $k; $k = $k + 8 | 0; $p = $bl; continue; } a: { var$19 = $tl.data; $t = $b & $ml; $tp_index_t_3 = ($tl_index + $t | 0) * 3 | 0; $bd = var$19[$tp_index_t_3]; if (!$bd) { $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$19[$bl]; $k = $k - var$19[$bl] | 0; var$16 = $s.$window.data; $d = $q + 1 | 0; var$16[$q] = var$19[$tp_index_t_3 + 2 | 0] << 24 >> 24; $m = $m + (-1) | 0; } else { while (true) { $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$19[$bl]; $k = $k - var$19[$bl] | 0; if ($bd & 16) { $bd = $bd & 15; $bl = var$19[$tp_index_t_3 + 2 | 0]; var$23 = cjj_InfCodes_inflate_mask.data; $c = $bl + ($b & var$23[$bd]) | 0; $bl = $b >> $bd; $bd = $k - $bd | 0; while ($bd < 15) { $n = $n + (-1) | 0; var$16 = $z.$next_in.data; $r = $p + 1 | 0; $bl = $bl | (var$16[$p] & 255) << $bd; $bd = $bd + 8 | 0; $p = $r; } var$16 = $td.data; $r = $bl & $md; $d = ($td_index + $r | 0) * 3 | 0; $b = var$16[$d]; while (true) { $k = $d + 1 | 0; $bl = $bl >> var$16[$k]; $bd = $bd - var$16[$k] | 0; if ($b & 16) break; if ($b & 64) { $z.$msg = $rt_s(603); $tl_index = $z.$avail_in - $n | 0; $td_index = $bd >> 3; if ($td_index < $tl_index) $tl_index = $td_index; $td_index = $n + $tl_index | 0; $r = $p - $tl_index | 0; $bd = $bd - ($tl_index << 3) | 0; $s.$bitb = $bl; $s.$bitk = $bd; $z.$avail_in = $td_index; $z.$total_in = Long_add($z.$total_in, Long_fromInt($r - $z.$next_in_index | 0)); $z.$next_in_index = $r; $s.$write2 = $q; return (-3); } $r = ($r + var$16[$d + 2 | 0] | 0) + ($bl & var$23[$b]) | 0; $d = ($td_index + $r | 0) * 3 | 0; $b = var$16[$d]; } $r = $b & 15; while ($bd < $r) { $n = $n + (-1) | 0; var$19 = $z.$next_in.data; $b = $p + 1 | 0; $bl = $bl | (var$19[$p] & 255) << $bd; $bd = $bd + 8 | 0; $p = $b; } $d = var$16[$d + 2 | 0] + ($bl & var$23[$r]) | 0; $b = $bl >> $r; $k = $bd - $r | 0; $m = $m - $c | 0; if ($q >= $d) { $r = $q - $d | 0; $bl = $q - $r | 0; if ($bl > 0 && 2 > $bl) { var$16 = $s.$window.data; $bl = $q + 1 | 0; $bd = $r + 1 | 0; var$16[$q] = var$16[$r]; $q = $bl + 1 | 0; $r = $bd + 1 | 0; var$16[$bl] = var$16[$bd]; $c = $c + (-2) | 0; } else { var$16 = $s.$window; jl_System_fastArraycopy(var$16, $r, var$16, $q, 2); $q = $q + 2 | 0; $r = $r + 2 | 0; $c = $c + (-2) | 0; } } else { $r = $q - $d | 0; while (true) { $bl = $s.$end1; $r = $r + $bl | 0; if ($r >= 0) break; } $bl = $bl - $r | 0; if ($c > $bl) { $c = $c - $bl | 0; $bd = $q - $r | 0; if ($bd > 0 && $bl > $bd) { $bd = $q; while (true) { var$16 = $s.$window.data; $q = $bd + 1 | 0; $d = $r + 1 | 0; var$16[$bd] = var$16[$r]; $bl = $bl + (-1) | 0; if (!$bl) break; $bd = $q; $r = $d; } } else { var$16 = $s.$window; jl_System_fastArraycopy(var$16, $r, var$16, $q, $bl); $q = $q + $bl | 0; } $r = 0; } } $bl = $q - $r | 0; if ($bl > 0 && $c > $bl) { while (true) { var$16 = $s.$window.data; $d = $q + 1 | 0; $bl = $r + 1 | 0; var$16[$q] = var$16[$r]; $c = $c + (-1) | 0; if (!$c) break; $q = $d; $r = $bl; } break a; } var$16 = $s.$window; jl_System_fastArraycopy(var$16, $r, var$16, $q, $c); $d = $q + $c | 0; break a; } if ($bd & 64) { if ($bd & 32) { $c = $z.$avail_in - $n | 0; $bl = $k >> 3; if ($bl < $c) $c = $bl; $bl = $n + $c | 0; $bd = $p - $c | 0; $tl_index = $k - ($c << 3) | 0; $s.$bitb = $b; $s.$bitk = $tl_index; $z.$avail_in = $bl; $z.$total_in = Long_add($z.$total_in, Long_fromInt($bd - $z.$next_in_index | 0)); $z.$next_in_index = $bd; $s.$write2 = $q; return 1; } $z.$msg = $rt_s(604); $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.$write2 = $q; return (-3); } $t = ($t + var$19[$tp_index_t_3 + 2 | 0] | 0) + ($b & cjj_InfCodes_inflate_mask.data[$bd]) | 0; $tp_index_t_3 = ($tl_index + $t | 0) * 3 | 0; $bd = var$19[$tp_index_t_3]; if (!$bd) break; } $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$19[$bl]; $k = $k - var$19[$bl] | 0; var$16 = $s.$window.data; $d = $q + 1 | 0; var$16[$q] = var$19[$tp_index_t_3 + 2 | 0] << 24 >> 24; $m = $m + (-1) | 0; } } if ($m < 258) break; if ($n < 10) break; $q = $d; } $c = $z.$avail_in - $n | 0; $bl = $k >> 3; if ($bl < $c) $c = $bl; $bl = $n + $c | 0; $bd = $p - $c | 0; $tl_index = $k - ($c << 3) | 0; $s.$bitb = $b; $s.$bitk = $tl_index; $z.$avail_in = $bl; $z.$total_in = Long_add($z.$total_in, Long_fromInt($bd - $z.$next_in_index | 0)); $z.$next_in_index = $bd; $s.$write2 = $d; return 0; } function cjj_InfCodes__clinit_() { cjj_InfCodes_inflate_mask = $rt_createIntArrayFromData([0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535]); } function nlea_EaglerAdapterImpl2$BufferGL() { jl_Object.call(this); this.$obj1 = null; } function nlea_EaglerAdapterImpl2$BufferArrayGL() { var a = this; jl_Object.call(a); a.$obj3 = null; a.$isQuadBufferBound = 0; } var jn_IntBuffer = $rt_classWithoutFields(jn_Buffer); 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.$start6 = 0; var$3.$readOnly3 = 0; var$3.$array3 = $array; return var$3; } function jn_IntBuffer_clear($this) { jn_Buffer_clear($this); return $this; } function jn_IntBuffer_flip($this) { jn_Buffer_flip($this); return $this; } function nms_Render() { var a = this; jl_Object.call(a); a.$renderManager = null; a.$unusedModelBiped = null; a.$unusedRenderBlocks = null; a.$field_9246_c = 0.0; a.$field_194_c = 0.0; } function nms_Render__init_($this) { $this.$unusedModelBiped = nms_ModelBiped__init_1(); $this.$unusedRenderBlocks = nms_RenderBlocks__init_1(); $this.$field_9246_c = 0.0; $this.$field_194_c = 1.0; } function nms_Render_loadTexture($this, $var1) { var $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: $var2 = $this.$renderManager.$renderEngine0; $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var2, $var1); if ($rt_suspending()) { break main; } var$3 = $tmp; nms_RenderEngine_bindTexture($var2, var$3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_Render_func_140_a($this, $var1, $var2) { var $var3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $var3 = $this.$renderManager.$renderEngine0; $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($var3, $var2); if ($rt_suspending()) { break main; } var$4 = $tmp; nms_RenderEngine_bindTexture($var3, var$4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $ptr); } function nms_Render_renderEntityOnFire($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17, $var18, $var20, $var21, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var18 = $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();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glDisable(2896); nms_Block_$callClinit(); $var9 = nms_Block_fire.$blockIndexInTexture; $var10 = ($var9 & 15) << 4; $var11 = $var9 & 240; $var8 = $var10; $var12 = $var8 / 256.0; $var13 = ($var8 + 15.989999771118164) / 256.0; $var8 = $var11; $var14 = $var8 / 256.0; $var15 = ($var8 + 15.989999771118164) / 256.0; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); $var16 = $var1.$width0 * 1.399999976158142; olo_EaglerAdapterGL30_glScalef($var16, $var16, $var16); $var17 = $rt_s(198); $ptr = 1; case 1: nms_Render_loadTexture($this, $var17); if ($rt_suspending()) { break main; } nms_Tessellator_$callClinit(); $var17 = nms_Tessellator_instance; $var18 = 1.0; $var20 = 0.0; $var21 = $var1.$height / $var1.$width0; olo_EaglerAdapterGL30_glRotatef( -$this.$renderManager.$field_1225_i, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.4000000059604645) + ($var21 | 0) * 0.019999999552965164); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_Tessellator_startDrawingQuads($var17); $var6 = $var13; var$18 = $var15; var$19 = $var12; var$20 = $var14; while ($var21 > 0.0) { $var2 = $var18 - 0.5; $var4 = 0.0 - $var20; nms_Tessellator_addVertexWithUV($var17, $var2, $var4, 0.0, $var6, var$18); nms_Tessellator_addVertexWithUV($var17, (-0.5), $var4, 0.0, var$19, var$18); $var4 = 1.399999976158142 - $var20; nms_Tessellator_addVertexWithUV($var17, (-0.5), $var4, 0.0, var$19, var$20); nms_Tessellator_addVertexWithUV($var17, $var2, $var4, 0.0, $var6, var$20); $var21 = $var21 - 1.0; $var20 = $var20 - 1.0; $var18 = $var18 * 0.8999999761581421; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.0, (-0.03999999910593033)); } nms_Tessellator_draw($var17); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glEnable(2896); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17, $var18, $var20, $var21, var$18, var$19, var$20, $ptr); } function nms_Render_getWorldFromRenderManager($this) { return $this.$renderManager.$worldObj2; } function nms_Render_renderOffsetAABB($var0, $var1, $var3, $var5) { var $var7; olo_EaglerAdapterGL30_glDisable(3553); nms_Tessellator_$callClinit(); $var7 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_Tessellator_startDrawingQuads($var7); nms_Tessellator_setTranslationD($var7, $var1, $var3, $var5); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, (-1.0)); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$maxY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$maxY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$minY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$minY0, $var0.$minZ0); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, 1.0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$minY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$minY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$maxY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$maxY0, $var0.$maxZ0); olo_EaglerAdapterGL30_glNormal3f(0.0, (-1.0), 0.0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$minY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$minY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$minY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$minY0, $var0.$maxZ0); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$maxY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$maxY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$maxY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$maxY0, $var0.$minZ0); olo_EaglerAdapterGL30_glNormal3f((-1.0), 0.0, 0.0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$minY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$maxY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$maxY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$minX, $var0.$minY0, $var0.$minZ0); olo_EaglerAdapterGL30_glNormal3f(1.0, 0.0, 0.0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$minY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$maxY0, $var0.$minZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$maxY0, $var0.$maxZ0); nms_Tessellator_addVertex($var7, $var0.$maxX0, $var0.$minY0, $var0.$maxZ0); nms_Tessellator_setTranslationD($var7, 0.0, 0.0, 0.0); nms_Tessellator_draw($var7); olo_EaglerAdapterGL30_glEnable(3553); } function nms_Render_setRenderManager($this, $var1) { $this.$renderManager = $var1; } function nms_Render_doRenderShadowAndFire($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, var$8, var$9, $var10, $var12, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $this.$renderManager; if (var$7.$options0.$fancyGraphics && $this.$field_9246_c > 0.0) { var$8 = $var1.$posX; var$9 = $var1.$posY; $var10 = $var1.$posZ; var$8 = var$8 - var$7.$field_1222_l; var$9 = var$9 - var$7.$field_1221_m; $var10 = $var10 - var$7.$field_1220_n; $var12 = (1.0 - (var$8 * var$8 + var$9 * var$9 + $var10 * $var10) / 256.0) * $this.$field_194_c; if ($var12 > 0.0) { olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); var$7 = $this.$renderManager.$renderEngine0; var$12 = $rt_s(605); $ptr = 2; continue main; } } if ($var1.$fire <= 0 && !$var1.$field_9299_bv) return; $ptr = 1; case 1: nms_Render_renderEntityOnFire($this, $var1, $var2, $var4, $var6, $var9); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_RenderEngine_getTexture(var$7, var$12); if ($rt_suspending()) { break main; } var$13 = $tmp; nms_RenderEngine_bindTexture(var$7, var$13); var$12 = nms_Render_getWorldFromRenderManager($this); olo_EaglerAdapterGL30_glDepthMask(0); $var8 = $this.$field_9246_c; var$8 = $var1.$lastTickPosX; var$9 = $var1.$posX - var$8; $var10 = $var9; var$8 = var$8 + var$9 * $var10; var$9 = $var1.$lastTickPosY; var$9 = var$9 + ($var1.$posY - var$9) * $var10 + $var1.$func_392_h_(); var$14 = $var1.$lastTickPosZ; $var10 = var$14 + ($var1.$posZ - var$14) * $var10; var$15 = $var8; var$16 = nms_MathHelper_floor_double(var$8 - var$15); var$17 = nms_MathHelper_floor_double(var$8 + var$15); var$18 = nms_MathHelper_floor_double(var$9 - var$15); var$19 = nms_MathHelper_floor_double(var$9); var$20 = nms_MathHelper_floor_double($var10 - var$15); var$21 = nms_MathHelper_floor_double($var10 + var$15); var$14 = $var2 - var$8; var$22 = $var4 - var$9; var$23 = $var6 - $var10; nms_Tessellator_$callClinit(); var$24 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads(var$24); var$9 = $var12; a: while (true) { if (var$16 > var$17) { nms_Tessellator_draw(var$24); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDepthMask(1); if ($var1.$fire <= 0 && !$var1.$field_9299_bv) return; $ptr = 1; continue main; } var$25 = var$18; while (var$25 <= var$19) { var$26 = var$20; if (var$26 <= var$21) break a; var$25 = var$25 + 1 | 0; } var$16 = var$16 + 1 | 0; } var$13 = var$25 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId(var$12, var$16, var$13, var$26); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$13 > 0) { $ptr = 4; continue main; } var$26 = var$26 + 1 | 0; while (var$26 > var$21) { var$25 = var$25 + 1 | 0; while (var$25 > var$19) { var$16 = var$16 + 1 | 0; if (var$16 > var$17) { nms_Tessellator_draw(var$24); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDepthMask(1); if ($var1.$fire <= 0 && !$var1.$field_9299_bv) return; $ptr = 1; continue main; } var$25 = var$18; } var$26 = var$20; } var$13 = var$25 - 1 | 0; continue main; case 4: $tmp = nms_World_getBlockLightValue(var$12, var$16, var$25, var$26); if ($rt_suspending()) { break main; } var$27 = $tmp; if (var$27 > 3) { nms_Block_$callClinit(); var$28 = nms_Block_blocksList.data[var$13]; $var10 = $var4 + $var1.$func_392_h_(); var$8 = var$22 + $var1.$func_392_h_(); var$7 = nms_Tessellator_instance; if (var$28.$renderAsNormalBlock()) { var$29 = var$25; $var10 = (var$9 - ($var10 - (var$29 + var$8)) / 2.0) * 0.5; var$30 = nms_Render_getWorldFromRenderManager($this); $ptr = 5; continue main; } } var$26 = var$26 + 1 | 0; while (var$26 > var$21) { var$25 = var$25 + 1 | 0; while (var$25 > var$19) { var$16 = var$16 + 1 | 0; if (var$16 > var$17) { nms_Tessellator_draw(var$24); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDepthMask(1); if ($var1.$fire <= 0 && !$var1.$field_9299_bv) return; $ptr = 1; continue main; } var$25 = var$18; } var$26 = var$20; } var$13 = var$25 - 1 | 0; $ptr = 3; continue main; case 5: $tmp = nms_World_getLightBrightness(var$30, var$16, var$25, var$26); if ($rt_suspending()) { break main; } $var8 = $tmp; $var10 = $var10 * $var8; if ($var10 >= 0.0) { if ($var10 > 1.0) $var10 = 1.0; nms_Tessellator_setColorRGBA_F(var$7, 1.0, 1.0, 1.0, $var10); $var10 = var$16; var$31 = $var10 + var$28.$field_370_bf + var$14; var$32 = $var10 + var$28.$maxX + var$14; var$33 = var$29 + var$28.$minY + var$8 + 0.015625; var$8 = var$26; var$29 = var$8 + var$28.$minZ + var$23; var$34 = var$8 + var$28.$maxZ + var$23; var$35 = ($var2 - var$31) / 2.0 / var$15 + 0.5; $var8 = ($var2 - var$32) / 2.0 / var$15 + 0.5; $var12 = ($var6 - var$29) / 2.0 / var$15 + 0.5; var$36 = ($var6 - var$34) / 2.0 / var$15 + 0.5; var$8 = var$35; $var10 = $var12; nms_Tessellator_addVertexWithUV(var$7, var$31, var$33, var$29, var$8, $var10); var$37 = var$36; nms_Tessellator_addVertexWithUV(var$7, var$31, var$33, var$34, var$8, var$37); var$8 = $var8; nms_Tessellator_addVertexWithUV(var$7, var$32, var$33, var$34, var$8, var$37); nms_Tessellator_addVertexWithUV(var$7, var$32, var$33, var$29, var$8, $var10); } var$26 = var$26 + 1 | 0; while (var$26 > var$21) { var$25 = var$25 + 1 | 0; while (var$25 > var$19) { var$16 = var$16 + 1 | 0; if (var$16 > var$17) { nms_Tessellator_draw(var$24); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glDepthMask(1); if ($var1.$fire <= 0 && !$var1.$field_9299_bv) return; $ptr = 1; continue main; } var$25 = var$18; } var$26 = var$20; } var$13 = var$25 - 1 | 0; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, var$8, var$9, $var10, $var12, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, $ptr); } function nms_RenderItem() { var a = this; nms_Render.call(a); a.$renderBlocks = null; a.$random0 = null; } function nms_RenderItem__init_0() { var var_0 = new nms_RenderItem(); nms_RenderItem__init_(var_0); return var_0; } function nms_RenderItem__init_($this) { nms_Render__init_($this); $this.$renderBlocks = nms_RenderBlocks__init_1(); $this.$random0 = new ju_Random; $this.$field_9246_c = 0.15000000596046448; $this.$field_194_c = 0.75; } function nms_RenderItem_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $var10, $var11, $var12, $var13, $var14, $var15, $var28, $var16, $var17, $var18, $var19, $var23, var$19, var$20, $var27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var27 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var23 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var28 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $var1.$item0; olo_EaglerAdapterGL30_glPushMatrix(); $var11 = nms_MathHelper_sin(($var1.$age + $var9) / 10.0 + $var1.$field_804_d) * 0.10000000149011612 + 0.10000000149011612; $var12 = (($var1.$age + $var9) / 20.0 + $var1.$field_804_d) * 57.2957763671875; $var13 = 1; $var14 = $var1.$item0.$stackSize; if ($var14 > 1) $var13 = 2; if ($var14 > 5) $var13 = 3; if ($var14 > 20) $var13 = 4; olo_EaglerAdapterGL30_glTranslatef($var2, $var4 + $var11, $var6); olo_EaglerAdapterGL30_glEnable(32826); $var14 = $var10.$itemID; if ($var14 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_func_1219_a(nms_Block_blocksList.data[$var14].$getRenderType())) { olo_EaglerAdapterGL30_glRotatef($var12, 0.0, 1.0, 0.0); $var1 = $rt_s(198); $ptr = 3; continue main; } } olo_EaglerAdapterGL30_glScalef(0.5, 0.5, 0.5); $var14 = nms_ItemStack_getIconIndex($var10); if ($var10.$itemID >= 256) { $var1 = $rt_s(182); $ptr = 1; continue main; } $var1 = $rt_s(198); $ptr = 2; continue main; case 1: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } nms_Tessellator_$callClinit(); $var15 = nms_Tessellator_instance; $var28 = ($var14 % 16 | 0) * 16 | 0; $var16 = ($var28 + 0 | 0) / 256.0; $var17 = ($var28 + 16 | 0) / 256.0; $var14 = ($var14 / 16 | 0) * 16 | 0; $var18 = ($var14 + 0 | 0) / 256.0; $var19 = ($var14 + 16 | 0) / 256.0; $var23 = 0; $var4 = $var16; $var6 = $var19; var$19 = $var17; var$20 = $var18; while ($var23 < $var13) { olo_EaglerAdapterGL30_glPushMatrix(); if ($var23 > 0) olo_EaglerAdapterGL30_glTranslatef((ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.30000001192092896, (ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.30000001192092896, (ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.30000001192092896); olo_EaglerAdapterGL30_glRotatef(180.0 - $this.$renderManager.$field_1225_i, 0.0, 1.0, 0.0); nms_Tessellator_startDrawingQuads($var15); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); nms_Tessellator_addVertexWithUV($var15, (-0.5), (-0.25), 0.0, $var4, $var6); nms_Tessellator_addVertexWithUV($var15, 0.5, (-0.25), 0.0, var$19, $var6); nms_Tessellator_addVertexWithUV($var15, 0.5, 0.75, 0.0, var$19, var$20); nms_Tessellator_addVertexWithUV($var15, (-0.5), 0.75, 0.0, $var4, var$20); nms_Tessellator_draw($var15); olo_EaglerAdapterGL30_glPopMatrix(); $var23 = $var23 + 1 | 0; } olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; case 2: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } nms_Tessellator_$callClinit(); $var15 = nms_Tessellator_instance; $var28 = ($var14 % 16 | 0) * 16 | 0; $var16 = ($var28 + 0 | 0) / 256.0; $var17 = ($var28 + 16 | 0) / 256.0; $var14 = ($var14 / 16 | 0) * 16 | 0; $var18 = ($var14 + 0 | 0) / 256.0; $var19 = ($var14 + 16 | 0) / 256.0; $var23 = 0; $var4 = $var16; $var6 = $var19; var$19 = $var17; var$20 = $var18; while ($var23 < $var13) { olo_EaglerAdapterGL30_glPushMatrix(); if ($var23 > 0) olo_EaglerAdapterGL30_glTranslatef((ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.30000001192092896, (ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.30000001192092896, (ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.30000001192092896); olo_EaglerAdapterGL30_glRotatef(180.0 - $this.$renderManager.$field_1225_i, 0.0, 1.0, 0.0); nms_Tessellator_startDrawingQuads($var15); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); nms_Tessellator_addVertexWithUV($var15, (-0.5), (-0.25), 0.0, $var4, $var6); nms_Tessellator_addVertexWithUV($var15, 0.5, (-0.25), 0.0, var$19, $var6); nms_Tessellator_addVertexWithUV($var15, 0.5, 0.75, 0.0, var$19, var$20); nms_Tessellator_addVertexWithUV($var15, (-0.5), 0.75, 0.0, $var4, var$20); nms_Tessellator_draw($var15); olo_EaglerAdapterGL30_glPopMatrix(); $var23 = $var23 + 1 | 0; } olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; case 3: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } $var27 = 0.25; if (!nms_Block_blocksList.data[$var10.$itemID].$renderAsNormalBlock() && $var10.$itemID != nms_Block_stairSingle.$blockID) $var27 = 0.5; olo_EaglerAdapterGL30_glScalef($var27, $var27, $var27); $var28 = 0; while ($var28 < $var13) { olo_EaglerAdapterGL30_glPushMatrix(); if ($var28 > 0) olo_EaglerAdapterGL30_glTranslatef((ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.20000000298023224 / $var27, (ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.20000000298023224 / $var27, (ju_Random_nextFloat($this.$random0) * 2.0 - 1.0) * 0.20000000298023224 / $var27); nms_RenderBlocks_func_1227_a($this.$renderBlocks, nms_Block_blocksList.data[$var10.$itemID]); olo_EaglerAdapterGL30_glPopMatrix(); $var28 = $var28 + 1 | 0; } olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var28, $var16, $var17, $var18, $var19, $var23, var$19, var$20, $var27, $ptr); } function nms_RenderItem_renderItemIntoGUI($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, $var7, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$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: if ($var3 !== null) { var$6 = $var3.$itemID; if (var$6 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_func_1219_a(nms_Block_blocksList.data[var$6].$getRenderType())) { $var6 = $var3.$itemID; $var1 = $rt_s(198); $ptr = 1; continue main; } } if (nms_ItemStack_getIconIndex($var3) >= 0) { olo_EaglerAdapterGL30_glDisable(2896); if ($var3.$itemID >= 256) { $var1 = $rt_s(182); $ptr = 2; continue main; } $var1 = $rt_s(198); $ptr = 3; continue main; } olo_EaglerAdapterGL30_glEnable(2884); } return; case 1: $tmp = nms_RenderEngine_getTexture($var2, $var1); if ($rt_suspending()) { break main; } var$6 = $tmp; nms_RenderEngine_bindTexture($var2, var$6); $var7 = nms_Block_blocksList.data[$var6]; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var4 - 2 | 0, $var5 + 3 | 0, 0.0); olo_EaglerAdapterGL30_glScalef(10.0, 10.0, 10.0); olo_EaglerAdapterGL30_glTranslatef(1.0, 0.5, 8.0); olo_EaglerAdapterGL30_glRotatef(210.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0); nms_RenderBlocks_func_1227_a($this.$renderBlocks, $var7); olo_EaglerAdapterGL30_glPopMatrix(); olo_EaglerAdapterGL30_glEnable(2884); return; case 2: $tmp = nms_RenderEngine_getTexture($var2, $var1); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_RenderEngine_bindTexture($var2, $var6); var$6 = (nms_ItemStack_getIconIndex($var3) % 16 | 0) * 16 | 0; $var6 = (nms_ItemStack_getIconIndex($var3) / 16 | 0) * 16 | 0; nms_Tessellator_$callClinit(); $var1 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var1); var$9 = $var4 + 0 | 0; var$10 = $var5 + 16 | 0; var$11 = (var$6 + 0 | 0) * 0.00390625; var$12 = ($var6 + 16 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var1, var$9, var$10, 0.0, var$11, var$12); var$13 = $var4 + 16 | 0; var$14 = (var$6 + 16 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var1, var$13, var$10, 0.0, var$14, var$12); var$10 = $var5 + 0 | 0; var$12 = ($var6 + 0 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var1, var$13, var$10, 0.0, var$14, var$12); nms_Tessellator_addVertexWithUV($var1, var$9, var$10, 0.0, var$11, var$12); nms_Tessellator_draw($var1); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2884); return; case 3: $tmp = nms_RenderEngine_getTexture($var2, $var1); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_RenderEngine_bindTexture($var2, $var6); var$6 = (nms_ItemStack_getIconIndex($var3) % 16 | 0) * 16 | 0; $var6 = (nms_ItemStack_getIconIndex($var3) / 16 | 0) * 16 | 0; nms_Tessellator_$callClinit(); $var1 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var1); var$9 = $var4 + 0 | 0; var$10 = $var5 + 16 | 0; var$11 = (var$6 + 0 | 0) * 0.00390625; var$12 = ($var6 + 16 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var1, var$9, var$10, 0.0, var$11, var$12); var$13 = $var4 + 16 | 0; var$14 = (var$6 + 16 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var1, var$13, var$10, 0.0, var$14, var$12); var$10 = $var5 + 0 | 0; var$12 = ($var6 + 0 | 0) * 0.00390625; nms_Tessellator_addVertexWithUV($var1, var$13, var$10, 0.0, var$14, var$12); nms_Tessellator_addVertexWithUV($var1, var$9, var$10, 0.0, var$11, var$12); nms_Tessellator_draw($var1); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2884); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); } function nms_RenderItem_renderItemOverlayIntoGUI($this, $var1, $var2, $var3, $var4, $var5) { var $var10, $var11, $var7, $var8, var$10, $var9; if ($var3 !== null) { $var10 = $var3.$stackSize; if ($var10 > 1) { $var2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var2); jl_StringBuilder_append1($var2, $var10); $var2 = jl_AbstractStringBuilder_toString($var2); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); nms_FontRenderer_drawStringWithShadow($var1, $var2, (($var4 + 19 | 0) - 2 | 0) - nms_FontRenderer_getStringWidth($var1, $var2) | 0, ($var5 + 6 | 0) + 3 | 0, 16777215); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); } $var10 = $var3.$itemDamage; if ($var10 > 0) { $var11 = 13 - (($var10 * 13 | 0) / nms_ItemStack_getMaxDamage($var3) | 0) | 0; $var7 = 255 - (($var3.$itemDamage * 255 | 0) / nms_ItemStack_getMaxDamage($var3) | 0) | 0; olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(2929); olo_EaglerAdapterGL30_glDisable(3553); nms_Tessellator_$callClinit(); $var8 = nms_Tessellator_instance; var$10 = 255 - $var7 | 0; $var9 = var$10 << 16 | $var7 << 8; $var10 = (var$10 / 4 | 0) << 16 | 16128; $var7 = $var4 + 2 | 0; var$10 = $var5 + 13 | 0; nms_RenderItem_renderQuad($this, $var8, $var7, var$10, 13, 2, 0); nms_RenderItem_renderQuad($this, $var8, $var7, var$10, 12, 1, $var10); nms_RenderItem_renderQuad($this, $var8, $var7, var$10, $var11, 1, $var9); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); } } } function nms_RenderItem_renderQuad($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8, var$9; nms_Tessellator_startDrawingQuads($var1); nms_Tessellator_setColorOpaque_I($var1, $var6); var$7 = $var2 + 0 | 0; var$8 = $var3 + 0 | 0; nms_Tessellator_addVertex($var1, var$7, var$8, 0.0); var$9 = $var3 + $var5 | 0; nms_Tessellator_addVertex($var1, var$7, var$9, 0.0); var$7 = $var2 + $var4 | 0; nms_Tessellator_addVertex($var1, var$7, var$9, 0.0); nms_Tessellator_addVertex($var1, var$7, var$8, 0.0); nms_Tessellator_draw($var1); } function nms_RenderItem_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderItem_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_InventoryCraftResult() { jl_Object.call(this); this.$stackResult = null; } function nms_InventoryCraftResult__init_0() { var var_0 = new nms_InventoryCraftResult(); nms_InventoryCraftResult__init_(var_0); return var_0; } function nms_InventoryCraftResult__init_($this) { $this.$stackResult = $rt_createArray(nms_ItemStack, 1); } function nms_InventoryCraftResult_getStackInSlot($this, $var1) { return $this.$stackResult.data[$var1]; } function nms_InventoryCraftResult_decrStackSize($this, $var1, $var2) { var var$3, $var3; var$3 = $this.$stackResult.data; if (var$3[$var1] === null) return null; $var3 = var$3[$var1]; var$3[$var1] = null; return $var3; } function nms_InventoryCraftResult_setInventorySlotContents($this, $var1, $var2) { $this.$stackResult.data[$var1] = $var2; } function nms_InventoryCraftResult_getInventoryStackLimit($this) { return 64; } function nms_InventoryCraftResult_onInventoryChanged($this) {} function nms_InventoryCrafting() { var a = this; jl_Object.call(a); a.$stackList = null; a.$nbrSlots = 0; a.$eventHandler = null; } function nms_InventoryCrafting_getStackInSlot($this, $var1) { return $this.$stackList.data[$var1]; } function nms_InventoryCrafting_decrStackSize($this, $var1, $var2) { var var$3, $var3, $var3_0; var$3 = $this.$stackList.data; if (var$3[$var1] === null) return null; if (var$3[$var1].$stackSize <= $var2) { $var3 = var$3[$var1]; var$3[$var1] = null; $this.$eventHandler.$onCraftMatrixChanged($this); return $var3; } $var3_0 = nms_ItemStack_splitStack(var$3[$var1], $var2); var$3 = $this.$stackList.data; if (!var$3[$var1].$stackSize) var$3[$var1] = null; $this.$eventHandler.$onCraftMatrixChanged($this); return $var3_0; } function nms_InventoryCrafting_setInventorySlotContents($this, $var1, $var2) { $this.$stackList.data[$var1] = $var2; $this.$eventHandler.$onCraftMatrixChanged($this); } function nms_InventoryCrafting_getInventoryStackLimit($this) { return 64; } function nms_InventoryCrafting_onInventoryChanged($this) {} var ji_UTFDataFormatException = $rt_classWithoutFields(ji_IOException); function ji_UTFDataFormatException__init_0() { var var_0 = new ji_UTFDataFormatException(); ji_UTFDataFormatException__init_(var_0); return var_0; } function ji_UTFDataFormatException__init_($this) { jl_Throwable__init_0($this); } var otjc_JSArray = $rt_classWithoutFields(); function otjc_JSArray_get$exported$0(var$0, var$1) { return otji_JSWrapper_javaToJs(var$0.$get0(var$1)); } function otjc_JSArray_getLength$exported$1(var$0) { return var$0.$getLength(); } var jl_IllegalMonitorStateException = $rt_classWithoutFields(jl_RuntimeException); function jl_IllegalMonitorStateException__init_0() { var var_0 = new jl_IllegalMonitorStateException(); jl_IllegalMonitorStateException__init_(var_0); return var_0; } function jl_IllegalMonitorStateException__init_($this) { jl_Throwable__init_0($this); } 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_Object$Monitor__init_() { var var_0 = new jl_Object$Monitor(); jl_Object$Monitor__init_0(var_0); return var_0; } function jl_Object$Monitor__init_0($this) { $this.$owner = jl_Thread_currentThread(); } var jl_IllegalStateException = $rt_classWithoutFields(jl_RuntimeException); function jl_IllegalStateException__init_0() { var var_0 = new jl_IllegalStateException(); jl_IllegalStateException__init_(var_0); return var_0; } function jl_IllegalStateException__init_($this) { jl_Throwable__init_0($this); } var otjt_Int16Array = $rt_classWithoutFields(otjt_ArrayBufferView); var otjt_Int8Array = $rt_classWithoutFields(otjt_ArrayBufferView); function nms_EntityCreature() { var a = this; nms_EntityLiving.call(a); a.$pathToEntity = null; a.$playerToAttack = null; a.$hasAttacked = 0; } function nms_EntityCreature__init_(var_0) { var var_1 = new nms_EntityCreature(); nms_EntityCreature__init_0(var_1, var_0); return var_1; } function nms_EntityCreature__init_0($this, $var1) { nms_EntityLiving__init_($this, $var1); $this.$hasAttacked = 0; } function nms_EntityCreature_func_418_b_($this) { var $var1, $var25, $var2, $var21, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$13, $var22, $var23, $var24, $var26, $var12, $var27, $var28, $var14, $var15, $var20, $var16, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var16 = $thread.pop();$var20 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var12 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var21 = $thread.pop();$var2 = $thread.pop();$var25 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$hasAttacked = 0; $var1 = 16.0; $var25 = $this.$playerToAttack; if ($var25 === null) { $ptr = 1; continue main; } if (nms_EntityLiving_isEntityAlive($var25)) { $var2 = nms_Entity_getDistanceToEntity($this.$playerToAttack, $this); $var25 = $this.$playerToAttack; $ptr = 2; continue main; } $this.$playerToAttack = null; a: { if (!$this.$hasAttacked && $this.$playerToAttack !== null) { if ($this.$pathToEntity === null) break a; if (!ju_Random_nextInt($this.$rand2, 20)) break a; } if (!(!($this.$pathToEntity === null && !ju_Random_nextInt($this.$rand2, 80)) && ju_Random_nextInt($this.$rand2, 80))) { $var21 = 0; $var3 = (-1); $var4 = (-1); $var5 = (-1); $var6 = (-99999.0); $var7 = 0; if ($var7 < 10) { $var8 = nms_MathHelper_floor_double($this.$posX + ju_Random_nextInt($this.$rand2, 13) - 6.0); $var9 = nms_MathHelper_floor_double($this.$posY + ju_Random_nextInt($this.$rand2, 7) - 3.0); $var10 = nms_MathHelper_floor_double($this.$posZ + ju_Random_nextInt($this.$rand2, 13) - 6.0); $ptr = 9; continue main; } if ($var21) { var$13 = $this.$worldObj0; $var1 = 10.0; $var21 = nms_MathHelper_floor_double($this.$posX); $var8 = nms_MathHelper_floor_double($this.$posY); $var7 = nms_MathHelper_floor_double($this.$posZ); $var10 = $var21 - 18 | 0; $var22 = $var8 - 18 | 0; $var23 = $var7 - 18 | 0; $var21 = $var21 + 18 | 0; $var8 = $var8 + 18 | 0; $var7 = $var7 + 18 | 0; $var25 = new nms_ChunkCache; $ptr = 10; continue main; } } $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; } $var25 = $this.$worldObj0; var$13 = $this.$playerToAttack; $ptr = 7; continue main; case 1: $tmp = $this.$findPlayerToAttack(); if ($rt_suspending()) { break main; } $var25 = $tmp; $this.$playerToAttack = $var25; if ($var25 !== null) { var$13 = $this.$worldObj0; $ptr = 3; continue main; } b: { if (!$this.$hasAttacked && $this.$playerToAttack !== null) { if ($this.$pathToEntity === null) break b; if (!ju_Random_nextInt($this.$rand2, 20)) break b; } if (!(!($this.$pathToEntity === null && !ju_Random_nextInt($this.$rand2, 80)) && ju_Random_nextInt($this.$rand2, 80))) { $var21 = 0; $var3 = (-1); $var4 = (-1); $var5 = (-1); $var6 = (-99999.0); $var7 = 0; if ($var7 < 10) { $var8 = nms_MathHelper_floor_double($this.$posX + ju_Random_nextInt($this.$rand2, 13) - 6.0); $var9 = nms_MathHelper_floor_double($this.$posY + ju_Random_nextInt($this.$rand2, 7) - 3.0); $var10 = nms_MathHelper_floor_double($this.$posZ + ju_Random_nextInt($this.$rand2, 13) - 6.0); $ptr = 9; continue main; } if ($var21) { var$13 = $this.$worldObj0; $var1 = 10.0; $var21 = nms_MathHelper_floor_double($this.$posX); $var8 = nms_MathHelper_floor_double($this.$posY); $var7 = nms_MathHelper_floor_double($this.$posZ); $var10 = $var21 - 18 | 0; $var22 = $var8 - 18 | 0; $var23 = $var7 - 18 | 0; $var21 = $var21 + 18 | 0; $var8 = $var8 + 18 | 0; $var7 = $var7 + 18 | 0; $var25 = new nms_ChunkCache; $ptr = 10; continue main; } } $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; } $var25 = $this.$worldObj0; var$13 = $this.$playerToAttack; $ptr = 7; continue main; case 2: $tmp = nms_EntityLiving_canEntityBeSeen($this, $var25); if ($rt_suspending()) { break main; } $var21 = $tmp; if ($var21) { $var25 = $this.$playerToAttack; $ptr = 4; continue main; } b: { if (!$this.$hasAttacked && $this.$playerToAttack !== null) { if ($this.$pathToEntity === null) break b; if (!ju_Random_nextInt($this.$rand2, 20)) break b; } if (!(!($this.$pathToEntity === null && !ju_Random_nextInt($this.$rand2, 80)) && ju_Random_nextInt($this.$rand2, 80))) { $var21 = 0; $var3 = (-1); $var4 = (-1); $var5 = (-1); $var6 = (-99999.0); $var7 = 0; if ($var7 < 10) { $var8 = nms_MathHelper_floor_double($this.$posX + ju_Random_nextInt($this.$rand2, 13) - 6.0); $var9 = nms_MathHelper_floor_double($this.$posY + ju_Random_nextInt($this.$rand2, 7) - 3.0); $var10 = nms_MathHelper_floor_double($this.$posZ + ju_Random_nextInt($this.$rand2, 13) - 6.0); $ptr = 9; continue main; } if ($var21) { var$13 = $this.$worldObj0; $var1 = 10.0; $var21 = nms_MathHelper_floor_double($this.$posX); $var8 = nms_MathHelper_floor_double($this.$posY); $var7 = nms_MathHelper_floor_double($this.$posZ); $var10 = $var21 - 18 | 0; $var22 = $var8 - 18 | 0; $var23 = $var7 - 18 | 0; $var21 = $var21 + 18 | 0; $var8 = $var8 + 18 | 0; $var7 = $var7 + 18 | 0; $var25 = new nms_ChunkCache; $ptr = 10; continue main; } } $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; } $var25 = $this.$worldObj0; var$13 = $this.$playerToAttack; $ptr = 7; continue main; case 3: $tmp = nms_World_getPathToEntity(var$13, $this, $var25, $var1); if ($rt_suspending()) { break main; } $var25 = $tmp; $this.$pathToEntity = $var25; c: { if (!$this.$hasAttacked && $this.$playerToAttack !== null) { if ($this.$pathToEntity === null) break c; if (!ju_Random_nextInt($this.$rand2, 20)) break c; } if (!(!($this.$pathToEntity === null && !ju_Random_nextInt($this.$rand2, 80)) && ju_Random_nextInt($this.$rand2, 80))) { $var21 = 0; $var3 = (-1); $var4 = (-1); $var5 = (-1); $var6 = (-99999.0); $var7 = 0; if ($var7 < 10) { $var8 = nms_MathHelper_floor_double($this.$posX + ju_Random_nextInt($this.$rand2, 13) - 6.0); $var9 = nms_MathHelper_floor_double($this.$posY + ju_Random_nextInt($this.$rand2, 7) - 3.0); $var10 = nms_MathHelper_floor_double($this.$posZ + ju_Random_nextInt($this.$rand2, 13) - 6.0); $ptr = 9; continue main; } if ($var21) { var$13 = $this.$worldObj0; $var1 = 10.0; $var21 = nms_MathHelper_floor_double($this.$posX); $var8 = nms_MathHelper_floor_double($this.$posY); $var7 = nms_MathHelper_floor_double($this.$posZ); $var10 = $var21 - 18 | 0; $var22 = $var8 - 18 | 0; $var23 = $var7 - 18 | 0; $var21 = $var21 + 18 | 0; $var8 = $var8 + 18 | 0; $var7 = $var7 + 18 | 0; $var25 = new nms_ChunkCache; $ptr = 10; continue main; } } $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; } $var25 = $this.$worldObj0; var$13 = $this.$playerToAttack; $ptr = 7; continue main; case 4: $this.$attackEntity($var25, $var2); if ($rt_suspending()) { break main; } c: { if (!$this.$hasAttacked && $this.$playerToAttack !== null) { if ($this.$pathToEntity === null) break c; if (!ju_Random_nextInt($this.$rand2, 20)) break c; } if (!(!($this.$pathToEntity === null && !ju_Random_nextInt($this.$rand2, 80)) && ju_Random_nextInt($this.$rand2, 80))) { $var21 = 0; $var3 = (-1); $var4 = (-1); $var5 = (-1); $var6 = (-99999.0); $var7 = 0; if ($var7 < 10) { $var8 = nms_MathHelper_floor_double($this.$posX + ju_Random_nextInt($this.$rand2, 13) - 6.0); $var9 = nms_MathHelper_floor_double($this.$posY + ju_Random_nextInt($this.$rand2, 7) - 3.0); $var10 = nms_MathHelper_floor_double($this.$posZ + ju_Random_nextInt($this.$rand2, 13) - 6.0); $ptr = 9; continue main; } if ($var21) { var$13 = $this.$worldObj0; $var1 = 10.0; $var21 = nms_MathHelper_floor_double($this.$posX); $var8 = nms_MathHelper_floor_double($this.$posY); $var7 = nms_MathHelper_floor_double($this.$posZ); $var10 = $var21 - 18 | 0; $var22 = $var8 - 18 | 0; $var23 = $var7 - 18 | 0; $var21 = $var21 + 18 | 0; $var8 = $var8 + 18 | 0; $var7 = $var7 + 18 | 0; $var25 = new nms_ChunkCache; $ptr = 10; continue main; } } $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; } $var25 = $this.$worldObj0; var$13 = $this.$playerToAttack; $ptr = 7; continue main; case 5: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var23 = $tmp; $ptr = 6; case 6: $tmp = nms_Entity_handleLavaMovement($this); if ($rt_suspending()) { break main; } $var24 = $tmp; $this.$rotationPitch = 0.0; if ($this.$pathToEntity !== null && ju_Random_nextInt($this.$rand2, 100)) { $var25 = nms_PathEntity_getPosition($this.$pathToEntity, $this); $var26 = $this.$width0 * 2.0; $var12 = $var26 * $var26; while ($var25 !== null && nms_Vec3D_squareDistanceTo0($var25, $this.$posX, $var25.$yCoord, $this.$posZ) < $var12) { nms_PathEntity_incrementPathIndex($this.$pathToEntity); if (!nms_PathEntity_isFinished($this.$pathToEntity)) { $var25 = nms_PathEntity_getPosition($this.$pathToEntity, $this); continue; } $var25 = null; $this.$pathToEntity = null; } $this.$isJumping = 0; if ($var25 !== null) { $var27 = $var25.$xCoord - $this.$posX; $var28 = $var25.$zCoord - $this.$posZ; $var12 = $var25.$yCoord - $var22; $var14 = jl_Math_atan2($var28, $var27) * 180.0 / 3.1415927410125732 - 90.0; $var1 = $this.$rotationYaw; $var15 = $var14 - $var1; $this.$field_9340_ai = $this.$field_9333_am; while ($var15 < (-180.0)) { $var15 = $var15 + 360.0; } while ($var15 >= 180.0) { $var15 = $var15 - 360.0; } if ($var15 > 30.0) $var15 = 30.0; if ($var15 < (-30.0)) $var15 = (-30.0); $var20 = $var1 + $var15; $this.$rotationYaw = $var20; if ($this.$hasAttacked) { $var25 = $this.$playerToAttack; if ($var25 !== null) { $var16 = $var25.$posX - $this.$posX; $var1 = jl_Math_atan2($var25.$posZ - $this.$posZ, $var16) * 180.0 / 3.1415927410125732 - 90.0; $this.$rotationYaw = $var1; $var1 = ($var20 - $var1 + 90.0) * 3.1415927410125732 / 180.0; $this.$field_9342_ah = -nms_MathHelper_sin($var1) * $this.$field_9340_ai * 1.0; $this.$field_9340_ai = nms_MathHelper_cos($var1) * $this.$field_9340_ai * 1.0; } } if ($var12 > 0.0) $this.$isJumping = 1; } $var25 = $this.$playerToAttack; if ($var25 !== null) nms_EntityLiving_faceEntity($this, $var25, 30.0); if ($this.$field_9297_aI) $this.$isJumping = 1; if (ju_Random_nextFloat($this.$rand2) < 0.800000011920929 && !(!$var23 && !$var24)) $this.$isJumping = 1; return; } $ptr = 8; continue main; case 7: $tmp = nms_World_getPathToEntity($var25, $this, var$13, $var1); if ($rt_suspending()) { break main; } $var25 = $tmp; $this.$pathToEntity = $var25; $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; case 8: nms_EntityLiving_func_418_b_($this); if ($rt_suspending()) { break main; } $this.$pathToEntity = null; return; case 9: $tmp = $this.$func_439_a($var8, $var9, $var10); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11 > $var6) { $var21 = 1; $var6 = $var11; $var3 = $var8; $var4 = $var9; $var5 = $var10; } $var7 = $var7 + 1 | 0; if ($var7 < 10) { $var8 = nms_MathHelper_floor_double($this.$posX + ju_Random_nextInt($this.$rand2, 13) - 6.0); $var9 = nms_MathHelper_floor_double($this.$posY + ju_Random_nextInt($this.$rand2, 7) - 3.0); $var10 = nms_MathHelper_floor_double($this.$posZ + ju_Random_nextInt($this.$rand2, 13) - 6.0); continue main; } if (!$var21) { $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; } var$13 = $this.$worldObj0; $var1 = 10.0; $var21 = nms_MathHelper_floor_double($this.$posX); $var8 = nms_MathHelper_floor_double($this.$posY); $var7 = nms_MathHelper_floor_double($this.$posZ); $var10 = $var21 - 18 | 0; $var22 = $var8 - 18 | 0; $var23 = $var7 - 18 | 0; $var21 = $var21 + 18 | 0; $var8 = $var8 + 18 | 0; $var7 = $var7 + 18 | 0; $var25 = new nms_ChunkCache; $ptr = 10; case 10: nms_ChunkCache__init_($var25, var$13, $var10, $var22, $var23, $var21, $var8, $var7); if ($rt_suspending()) { break main; } $this.$pathToEntity = nms_Pathfinder_createEntityPathTo0(nms_Pathfinder__init_($var25), $this, $var3, $var4, $var5, $var1); $var22 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var25, $var2, $var21, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$13, $var22, $var23, $var24, $var26, $var12, $var27, $var28, $var14, $var15, $var20, $var16, $var11, $ptr); } function nms_EntityCreature_attackEntity($this, $var1, $var2) {} function nms_EntityCreature_findPlayerToAttack($this) { return null; } function nms_EntityCreature_getCanSpawnHere($this) { var $var1, $var2, $var3, 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: $var1 = nms_MathHelper_floor_double($this.$posX); $var2 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var3 = nms_MathHelper_floor_double($this.$posZ); $ptr = 1; case 1: $tmp = nms_EntityLiving_getCanSpawnHere($this); if ($rt_suspending()) { break main; } var$4 = $tmp; if (!var$4) return 0; $ptr = 2; case 2: $tmp = $this.$func_439_a($var1, $var2, $var3); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5 < 0.0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $ptr); } var nms_IMobs = $rt_classWithoutFields(0); function nms_EntityMobs() { nms_EntityCreature.call(this); this.$field_762_e = 0; } function nms_EntityMobs__init_(var_0) { var var_1 = new nms_EntityMobs(); nms_EntityMobs__init_0(var_1, var_0); return var_1; } function nms_EntityMobs__init_0($this, $var1) { nms_EntityCreature__init_0($this, $var1); $this.$field_762_e = 2; $this.$health = 20; } function nms_EntityMobs_onLivingUpdate($this) { var $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 1.0; $ptr = 1; case 1: $tmp = nms_Entity_getEntityBrightness($this, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 > 0.5) $this.$field_9344_ag = $this.$field_9344_ag + 2 | 0; $ptr = 2; case 2: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); } function nms_EntityMobs_onUpdate($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: $ptr = 1; case 1: nms_EntityLiving_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj0.$difficultySetting) return; $ptr = 2; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_EntityMobs_findPlayerToAttack($this) { var $var1, 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: $var1 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 16.0); if ($var1 === null) { $var1 = null; return $var1; } $ptr = 1; case 1: $tmp = nms_EntityLiving_canEntityBeSeen($this, $var1); if ($rt_suspending()) { break main; } var$2 = $tmp; if (!var$2) $var1 = null; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_EntityMobs_canAttackEntity($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: $ptr = 1; case 1: $tmp = nms_EntityLiving_canAttackEntity($this, $var1, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; if (!$var2) return 0; if ($this.$riddenByEntity !== $var1 && $this.$ridingEntity !== $var1) { if ($var1 !== $this) $this.$playerToAttack = $var1; return 1; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function nms_EntityMobs_attackEntity($this, $var1, $var2) { var var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var2 < 2.5) { var$3 = $var1.$boundingBox; var$4 = var$3.$maxY0; var$5 = $this.$boundingBox; if (var$4 > var$5.$minY0 && var$3.$minY0 < var$5.$maxY0) { $this.$attackTime = 20; var$6 = $this.$field_762_e; $ptr = 1; continue main; } } return; case 1: $var1.$canAttackEntity($this, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, $ptr); } function nms_EntityMobs_func_439_a($this, $var1, $var2, $var3) { var var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0.5; var$5 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getLightBrightness(var$5, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$6 = $tmp; return var$4 - var$6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, $ptr); } function nms_EntityMobs_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); } function nms_EntityMobs_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); } function nms_EntityMobs_getCanSpawnHere($this) { var $var1, $var2, $var3, var$4, var$5, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = nms_MathHelper_floor_double($this.$posX); $var2 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var3 = nms_MathHelper_floor_double($this.$posZ); var$4 = $this.$worldObj0; nms_EnumSkyBlock_$callClinit(); var$5 = nms_EnumSkyBlock_Sky; $ptr = 1; case 1: $tmp = nms_World_getSavedLightValue(var$4, var$5, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 > ju_Random_nextInt($this.$rand2, 32)) return 0; var$5 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getBlockLightValue(var$5, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 > ju_Random_nextInt($this.$rand2, 8)) return 0; $ptr = 3; case 3: $tmp = nms_EntityCreature_getCanSpawnHere($this); if ($rt_suspending()) { break main; } $var1 = $tmp; return !$var1 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var4, $ptr); } var nms_EntitySpider = $rt_classWithoutFields(nms_EntityMobs); function nms_EntitySpider__init_(var_0) { var var_1 = new nms_EntitySpider(); nms_EntitySpider__init_0(var_1, var_0); return var_1; } function nms_EntitySpider__init_0($this, $var1) { nms_EntityMobs__init_0($this, $var1); $this.$texture = $rt_s(606); nms_Entity_setSize($this, 1.399999976158142, 0.8999999761581421); $this.$field_9333_am = 0.800000011920929; } function nms_EntitySpider_func_402_h($this) { return $this.$height * 0.75 - 0.5; } function nms_EntitySpider_findPlayerToAttack($this) { var $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 1.0; $ptr = 1; case 1: $tmp = nms_Entity_getEntityBrightness($this, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 >= 0.5) return null; return nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 16.0); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); } function nms_EntitySpider_getLivingSound($this) { return $rt_s(607); } function nms_EntitySpider_getHurtSound($this) { return $rt_s(607); } function nms_EntitySpider_getDeathSound($this) { return $rt_s(608); } function nms_EntitySpider_attackEntity($this, $var1, $var2) { var $var3, $var4, $var6, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $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: $var3 = 1.0; $ptr = 1; case 1: a: { $tmp = nms_Entity_getEntityBrightness($this, $var3); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 > 0.5 && !ju_Random_nextInt($this.$rand2, 100)) $this.$playerToAttack = null; else { if ($var2 <= 2.0) break a; if ($var2 >= 6.0) break a; if (ju_Random_nextInt($this.$rand2, 10)) break a; if ($this.$onGround) { $var4 = $var1.$posX - $this.$posX; $var6 = $var1.$posZ - $this.$posZ; var$6 = nms_MathHelper_sqrt_double($var4 * $var4 + $var6 * $var6); $this.$motionX = $var4 / var$6 * 0.5 * 0.800000011920929 + $this.$motionX * 0.20000000298023224; $this.$motionZ = $var6 / var$6 * 0.5 * 0.800000011920929 + $this.$motionZ * 0.20000000298023224; $this.$motionY = 0.4000000059604645; } } return; } $ptr = 2; case 2: nms_EntityMobs_attackEntity($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var6, var$6, $ptr); } function nms_EntitySpider_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); } function nms_EntitySpider_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); } function nms_EntitySpider_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_silk.$shiftedIndex; } function nms_RenderLiving() { var a = this; nms_Render.call(a); a.$e = null; a.$field_6332_f = null; } function nms_RenderLiving__init_0(var_0, var_1) { var var_2 = new nms_RenderLiving(); nms_RenderLiving__init_(var_2, var_0, var_1); return var_2; } function nms_RenderLiving__init_($this, $var1, $var2) { nms_Render__init_($this); $this.$e = $var1; $this.$field_9246_c = $var2; } function nms_RenderLiving_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $var24, $var18, $var10, $var11, $var12, $var13, $var14, $var16, $var15, var$16, $var17, $var25, $var19, $var26, $var20, $var21, $var22, $var23, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var26 = $thread.pop();$var19 = $thread.pop();$var25 = $thread.pop();$var17 = $thread.pop();var$16 = $thread.pop();$var15 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var18 = $thread.pop();$var24 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glDisable(2884); $this.$e.$field_1244_k = nms_EntityLiving_getSwingProgress($var1, $var9); $var24 = $this.$e; $var18 = $var1.$ridingEntity === null && !$var1.$field_9300_bu ? 0 : 1; $var24.$field_1243_l = $var18; $var24 = $this.$field_6332_f; if ($var24 !== null) $var24.$field_1243_l = $var18; try { $var8 = $var1.$field_734_o; $var10 = $var8 + ($var1.$field_735_n - $var8) * $var9; $var11 = $var1.$prevRotationYaw; $var11 = $var11 + ($var1.$rotationYaw - $var11) * $var9; $var8 = $var1.$prevRotationPitch; $var12 = $var8 + ($var1.$rotationPitch - $var8) * $var9; olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); $var13 = $this.$func_170_d($var1, $var9); olo_EaglerAdapterGL30_glRotatef(180.0 - $var10, 0.0, 1.0, 0.0); $var18 = $var1.$deathTime; if ($var18 > 0) { $var8 = nms_MathHelper_sqrt_float(($var18 + $var9 - 1.0) / 20.0 * 1.600000023841858); if ($var8 > 1.0) $var8 = 1.0; olo_EaglerAdapterGL30_glRotatef($var8 * $this.$func_172_a($var1), 0.0, 0.0, 1.0); } $var14 = 0.0625; olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glScalef((-1.0), (-1.0), 1.0); $this.$func_6330_a($var1, $var9); olo_EaglerAdapterGL30_glTranslatef(0.0, (-1.5078125), 0.0); $var8 = $var1.$field_705_Q; $var16 = $var1.$field_704_R; $var15 = $var8 + ($var16 - $var8) * $var9; $var16 = $var1.$field_703_S - $var16 * (1.0 - $var9); if ($var15 > 1.0) $var15 = 1.0; $var24 = $var1.$skinUrl; var$16 = nms_EntityLiving_getEntityTexture($var1); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var24 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var24); olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glPopMatrix(); return; case 1: try { nms_Render_func_140_a($this, $var24, var$16); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glEnable(3008); $var24 = $this.$e; $var8 = $var11 - $var10; $var24.$render0($var16, $var15, $var13, $var8, $var12, $var14); $var17 = 0; if ($var17 >= 4) { $ptr = 2; continue main; } $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var24 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var24); olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glPopMatrix(); return; case 2: try { $this.$func_6331_b($var1, $var9); if ($rt_suspending()) { break main; } $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var24 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var24); olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glPopMatrix(); return; case 3: a: { try { $tmp = nms_Entity_getEntityBrightness($var1, $var9); if ($rt_suspending()) { break main; } $var25 = $tmp; $var18 = $this.$func_173_a($var1, $var25, $var9); $var17 = $var18 >> 24 & 255; if (!($var17 <= 0 && $var1.$hurtTime <= 0 && $var1.$deathTime <= 0)) { olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glDepthFunc(514); if (!($var1.$hurtTime <= 0 && $var1.$deathTime <= 0)) { olo_EaglerAdapterGL30_glColor4f($var25, 0.0, 0.0, 0.4000000059604645); $this.$e.$render0($var16, $var15, $var13, $var8, $var12, $var14); $var19 = 0; if ($var19 < 4) { $ptr = 5; continue main; } } if ($var17 > 0) { $var26 = ($var18 >> 16 & 255) / 255.0; $var20 = ($var18 >> 8 & 255) / 255.0; $var21 = ($var18 & 255) / 255.0; $var22 = $var17 / 255.0; olo_EaglerAdapterGL30_glColor4f($var26, $var20, $var21, $var22); $this.$e.$render0($var16, $var15, $var13, $var8, $var12, $var14); $var23 = 0; if ($var23 < 4) { $ptr = 6; continue main; } } olo_EaglerAdapterGL30_glDepthFunc(515); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glEnable(3553); } olo_EaglerAdapterGL30_glDisable(32826); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var24 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var24); } olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glPopMatrix(); return; case 4: try { $tmp = $this.$func_166_a($var1, $var17); if ($rt_suspending()) { break main; } $var18 = $tmp; if ($var18) { $this.$field_6332_f.$render0($var16, $var15, $var13, $var8, $var12, $var14); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); } $var17 = $var17 + 1 | 0; if ($var17 >= 4) { $ptr = 2; continue main; } continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var24 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var24); olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glPopMatrix(); return; case 5: a: { try { $tmp = $this.$func_166_a($var1, $var19); if ($rt_suspending()) { break main; } $var23 = $tmp; if ($var23) { olo_EaglerAdapterGL30_glColor4f($var25, 0.0, 0.0, 0.4000000059604645); $this.$field_6332_f.$render0($var16, $var15, $var13, $var8, $var12, $var14); } $var19 = $var19 + 1 | 0; if ($var19 < 4) { continue main; } if ($var17 > 0) { $var26 = ($var18 >> 16 & 255) / 255.0; $var20 = ($var18 >> 8 & 255) / 255.0; $var21 = ($var18 & 255) / 255.0; $var22 = $var17 / 255.0; olo_EaglerAdapterGL30_glColor4f($var26, $var20, $var21, $var22); $this.$e.$render0($var16, $var15, $var13, $var8, $var12, $var14); $var23 = 0; if ($var23 < 4) { $ptr = 6; continue main; } } olo_EaglerAdapterGL30_glDepthFunc(515); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(32826); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var24 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var24); } olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glPopMatrix(); return; case 6: a: { try { $tmp = $this.$func_166_a($var1, $var23); if ($rt_suspending()) { break main; } $var18 = $tmp; if ($var18) { olo_EaglerAdapterGL30_glColor4f($var26, $var20, $var21, $var22); $this.$field_6332_f.$render0($var16, $var15, $var13, $var8, $var12, $var14); } $var23 = $var23 + 1 | 0; if ($var23 >= 4) { olo_EaglerAdapterGL30_glDepthFunc(515); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(3008); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDisable(32826); break a; } continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var24 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var24); } olo_EaglerAdapterGL30_glEnable(2884); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var24, $var18, $var10, $var11, $var12, $var13, $var14, $var16, $var15, var$16, $var17, $var25, $var19, $var26, $var20, $var21, $var22, $var23, $ptr); } function nms_RenderLiving_func_167_c($this, $var1, $var2) { return nms_EntityLiving_getSwingProgress($var1, $var2); } function nms_RenderLiving_func_170_d($this, $var1, $var2) { return $var1.$field_9311_be + $var2; } function nms_RenderLiving_func_6331_b($this, $var1, $var2) {} function nms_RenderLiving_func_166_a($this, $var1, $var2) { return 0; } function nms_RenderLiving_func_172_a($this, $var1) { return 90.0; } function nms_RenderLiving_func_173_a($this, $var1, $var2, $var3) { return 0; } function nms_RenderLiving_func_6330_a($this, $var1, $var2) {} function nms_RenderLiving_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: $this.$a1($var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } var nms_RenderSpider = $rt_classWithoutFields(nms_RenderLiving); function nms_RenderSpider__init_0() { var var_0 = new nms_RenderSpider(); nms_RenderSpider__init_(var_0); return var_0; } function nms_RenderSpider__init_($this) { nms_RenderLiving__init_($this, nms_ModelSpider__init_0(), 1.0); $this.$field_6332_f = nms_ModelSpider__init_0(); } function nms_RenderSpider_func_172_a($this, $var1) { return 180.0; } function nms_RenderSpider_func_166_a($this, $var1, $var2) { var var$3, 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();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; if ($var2) $var2 = 0; else { if (!$var2) { var$3 = $rt_s(609); $ptr = 1; continue main; } $var2 = 0; } return $var2; case 1: nms_Render_loadTexture($this, var$3); if ($rt_suspending()) { break main; } var$4 = 1.0; var$5 = 1.0; $ptr = 2; case 2: $tmp = nms_Entity_getEntityBrightness($var1, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; var$5 = (var$4 - var$5) * 0.5; olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glDisable(3008); olo_EaglerAdapterGL30_glBlendFunc(770, 771); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, var$5); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, $ptr); } var nms_EntityAnimals = $rt_classWithoutFields(nms_EntityCreature); function nms_EntityAnimals_func_439_a($this, $var1, $var2, $var3) { var var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$worldObj0; var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$4, $var1, var$5, $var3); if ($rt_suspending()) { break main; } var$6 = $tmp; nms_Block_$callClinit(); if (var$6 == nms_Block_grass.$blockID) return 10.0; var$4 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getLightBrightness(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$7 = $tmp; return var$7 - 0.5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, var$7, $ptr); } function nms_EntityAnimals_getCanSpawnHere($this) { var $var1, $var2, $var3, 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: $var1 = nms_MathHelper_floor_double($this.$posX); $var2 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var3 = nms_MathHelper_floor_double($this.$posZ); var$4 = $this.$worldObj0; var$5 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$4, $var1, var$5, $var3); if ($rt_suspending()) { break main; } var$5 = $tmp; nms_Block_$callClinit(); if (var$5 != nms_Block_grass.$blockID) return 0; var$4 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getBlockLightValue(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 <= 8) return 0; $ptr = 3; case 3: $tmp = nms_EntityCreature_getCanSpawnHere($this); if ($rt_suspending()) { break main; } var$5 = $tmp; return !var$5 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $ptr); } function nms_EntityAnimals_func_421_b($this) { return 120; } function nms_EntityPig() { nms_EntityAnimals.call(this); this.$rideable = 0; } function nms_EntityPig__init_(var_0) { var var_1 = new nms_EntityPig(); nms_EntityPig__init_0(var_1, var_0); return var_1; } function nms_EntityPig__init_0($this, $var1) { nms_EntityCreature__init_0($this, $var1); $this.$rideable = 0; $this.$texture = $rt_s(610); nms_Entity_setSize($this, 0.8999999761581421, 0.8999999761581421); $this.$rideable = 0; } function nms_EntityPig_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); nms_NBTTagCompound_setBoolean($var1, $rt_s(611), $this.$rideable); } function nms_EntityPig_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); $this.$rideable = nms_NBTTagCompound_getBoolean($var1, $rt_s(611)); } function nms_EntityPig_getLivingSound($this) { return $rt_s(612); } function nms_EntityPig_getHurtSound($this) { return $rt_s(612); } function nms_EntityPig_getDeathSound($this) { return $rt_s(613); } function nms_EntityPig_interact($this, $var1) { if (!$this.$rideable) return 0; nms_Entity_mountEntity($var1, $this); return 1; } function nms_EntityPig_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_porkRaw.$shiftedIndex; } var nms_RenderPig = $rt_classWithoutFields(nms_RenderLiving); function nms_RenderPig_func_166_a($this, $var1, $var2) { var 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: $var1 = $var1; var$3 = $rt_s(614); $ptr = 1; case 1: nms_Render_loadTexture($this, var$3); if ($rt_suspending()) { break main; } return !$var2 && $var1.$rideable ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_ModelQuadraped() { var a = this; nms_ModelBase.call(a); a.$head = null; a.$body = null; a.$leg1 = null; a.$leg2 = null; a.$leg3 = null; a.$leg4 = null; } function nms_ModelQuadraped__init_0(var_0, var_1) { var var_2 = new nms_ModelQuadraped(); nms_ModelQuadraped__init_(var_2, var_0, var_1); return var_2; } function nms_ModelQuadraped__init_($this, $var1, $var2) { var var$3, var$4; nms_ModelBase__init_($this); var$3 = nms_ModelRenderer__init_(0, 0); $this.$head = var$3; nms_ModelRenderer_addBox(var$3, (-4.0), (-4.0), (-8.0), 8, 8, 8, $var2); nms_ModelRenderer_setPosition($this.$head, 0.0, 18 - $var1 | 0, (-6.0)); var$3 = nms_ModelRenderer__init_(28, 8); $this.$body = var$3; nms_ModelRenderer_addBox(var$3, (-5.0), (-10.0), (-7.0), 10, 16, 8, $var2); nms_ModelRenderer_setPosition($this.$body, 0.0, 17 - $var1 | 0, 2.0); var$3 = nms_ModelRenderer__init_(0, 16); $this.$leg1 = var$3; nms_ModelRenderer_addBox(var$3, (-2.0), 0.0, (-2.0), 4, $var1, 4, $var2); var$3 = $this.$leg1; var$4 = 24 - $var1 | 0; nms_ModelRenderer_setPosition(var$3, (-3.0), var$4, 7.0); var$3 = nms_ModelRenderer__init_(0, 16); $this.$leg2 = var$3; nms_ModelRenderer_addBox(var$3, (-2.0), 0.0, (-2.0), 4, $var1, 4, $var2); nms_ModelRenderer_setPosition($this.$leg2, 3.0, var$4, 7.0); var$3 = nms_ModelRenderer__init_(0, 16); $this.$leg3 = var$3; nms_ModelRenderer_addBox(var$3, (-2.0), 0.0, (-2.0), 4, $var1, 4, $var2); nms_ModelRenderer_setPosition($this.$leg3, (-3.0), var$4, (-5.0)); var$3 = nms_ModelRenderer__init_(0, 16); $this.$leg4 = var$3; nms_ModelRenderer_addBox(var$3, (-2.0), 0.0, (-2.0), 4, $var1, 4, $var2); nms_ModelRenderer_setPosition($this.$leg4, 3.0, var$4, (-5.0)); } function nms_ModelQuadraped_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { $this.$setRotationAngles($var1, $var2, $var3, $var4, $var5, $var6); nms_ModelRenderer_render($this.$head, $var6); nms_ModelRenderer_render($this.$body, $var6); nms_ModelRenderer_render($this.$leg1, $var6); nms_ModelRenderer_render($this.$leg2, $var6); nms_ModelRenderer_render($this.$leg3, $var6); nms_ModelRenderer_render($this.$leg4, $var6); } function nms_ModelQuadraped_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7; var$7 = $this.$head; var$7.$rotateAngleX = -($var5 / 57.2957763671875); var$7.$rotateAngleY = $var4 / 57.2957763671875; $this.$body.$rotateAngleX = 1.5707963705062866; var$7 = $this.$leg1; $var1 = $var1 * 0.6661999821662903; var$7.$rotateAngleX = nms_MathHelper_cos($var1) * 1.399999976158142 * $var2; var$7 = $this.$leg2; $var3 = $var1 + 3.1415927410125732; var$7.$rotateAngleX = nms_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg3.$rotateAngleX = nms_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg4.$rotateAngleX = nms_MathHelper_cos($var1) * 1.399999976158142 * $var2; } var nms_ModelPig = $rt_classWithoutFields(nms_ModelQuadraped); function nms_ModelPig__init_0() { var var_0 = new nms_ModelPig(); nms_ModelPig__init_(var_0); return var_0; } function nms_ModelPig__init_($this) { nms_ModelQuadraped__init_($this, 6, 0.0); } function nms_EntitySheep() { nms_EntityAnimals.call(this); this.$sheared = 0; } function nms_EntitySheep__init_(var_0) { var var_1 = new nms_EntitySheep(); nms_EntitySheep__init_0(var_1, var_0); return var_1; } function nms_EntitySheep__init_0($this, $var1) { nms_EntityCreature__init_0($this, $var1); $this.$sheared = 0; $this.$texture = $rt_s(615); nms_Entity_setSize($this, 0.8999999761581421, 1.2999999523162842); } function nms_EntitySheep_canAttackEntity($this, $var1, $var2) { var $var3, $var4, var$5, var$6, var$7, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$sheared && $var1 instanceof nms_EntityLiving) { $this.$sheared = 1; $var3 = 1 + ju_Random_nextInt($this.$rand2, 3) | 0; $var4 = 0; if ($var4 < $var3) { nms_Block_$callClinit(); var$5 = nms_Block_cloth.$blockID; var$6 = 1; var$7 = 1.0; $ptr = 2; continue main; } } $ptr = 1; case 1: $tmp = nms_EntityLiving_canAttackEntity($this, $var1, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; case 2: $tmp = nms_Entity_dropItemWithOffset($this, var$5, var$6, var$7); if ($rt_suspending()) { break main; } $var5 = $tmp; $var5.$motionY = $var5.$motionY + ju_Random_nextFloat($this.$rand2) * 0.05000000074505806; $var5.$motionX = $var5.$motionX + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.10000000149011612; $var5.$motionZ = $var5.$motionZ + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.10000000149011612; $var4 = $var4 + 1 | 0; if ($var4 >= $var3) { $ptr = 1; continue main; } nms_Block_$callClinit(); var$5 = nms_Block_cloth.$blockID; var$6 = 1; var$7 = 1.0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, var$6, var$7, $var5, $ptr); } function nms_EntitySheep_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); nms_NBTTagCompound_setBoolean($var1, $rt_s(616), $this.$sheared); } function nms_EntitySheep_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); $this.$sheared = nms_NBTTagCompound_getBoolean($var1, $rt_s(616)); } function nms_EntitySheep_getLivingSound($this) { return $rt_s(617); } function nms_EntitySheep_getHurtSound($this) { return $rt_s(617); } function nms_EntitySheep_getDeathSound($this) { return $rt_s(617); } var nms_RenderSheep = $rt_classWithoutFields(nms_RenderLiving); function nms_RenderSheep_func_166_a($this, $var1, $var2) { var 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: $var1 = $var1; var$3 = $rt_s(618); $ptr = 1; case 1: nms_Render_loadTexture($this, var$3); if ($rt_suspending()) { break main; } return !$var2 && !$var1.$sheared ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } var nms_ModelSheep2 = $rt_classWithoutFields(nms_ModelQuadraped); function nms_ModelSheep2__init_0() { var var_0 = new nms_ModelSheep2(); nms_ModelSheep2__init_(var_0); return var_0; } function nms_ModelSheep2__init_($this) { var var$1; nms_ModelQuadraped__init_($this, 12, 0.0); var$1 = nms_ModelRenderer__init_(0, 0); $this.$head = var$1; nms_ModelRenderer_addBox(var$1, (-3.0), (-4.0), (-6.0), 6, 6, 8, 0.0); nms_ModelRenderer_setPosition($this.$head, 0.0, 6.0, (-8.0)); var$1 = nms_ModelRenderer__init_(28, 8); $this.$body = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), (-10.0), (-7.0), 8, 16, 6, 0.0); nms_ModelRenderer_setPosition($this.$body, 0.0, 5.0, 2.0); } var nms_ModelSheep1 = $rt_classWithoutFields(nms_ModelQuadraped); function nms_ModelSheep1__init_0() { var var_0 = new nms_ModelSheep1(); nms_ModelSheep1__init_(var_0); return var_0; } function nms_ModelSheep1__init_($this) { var var$1; nms_ModelQuadraped__init_($this, 12, 0.0); var$1 = nms_ModelRenderer__init_(0, 0); $this.$head = var$1; nms_ModelRenderer_addBox(var$1, (-3.0), (-4.0), (-4.0), 6, 6, 6, 0.6000000238418579); nms_ModelRenderer_setPosition($this.$head, 0.0, 6.0, (-8.0)); var$1 = nms_ModelRenderer__init_(28, 8); $this.$body = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), (-10.0), (-7.0), 8, 16, 6, 1.75); nms_ModelRenderer_setPosition($this.$body, 0.0, 5.0, 2.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg1 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); nms_ModelRenderer_setPosition($this.$leg1, (-3.0), 12.0, 7.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg2 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); nms_ModelRenderer_setPosition($this.$leg2, 3.0, 12.0, 7.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg3 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); nms_ModelRenderer_setPosition($this.$leg3, (-3.0), 12.0, (-5.0)); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg4 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); nms_ModelRenderer_setPosition($this.$leg4, 3.0, 12.0, (-5.0)); } function nms_EntityCow() { nms_EntityAnimals.call(this); this.$unusedBoolean = 0; } function nms_EntityCow__init_(var_0) { var var_1 = new nms_EntityCow(); nms_EntityCow__init_0(var_1, var_0); return var_1; } function nms_EntityCow__init_0($this, $var1) { nms_EntityCreature__init_0($this, $var1); $this.$unusedBoolean = 0; $this.$texture = $rt_s(619); nms_Entity_setSize($this, 0.8999999761581421, 1.2999999523162842); } function nms_EntityCow_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); } function nms_EntityCow_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); } function nms_EntityCow_getLivingSound($this) { return $rt_s(620); } function nms_EntityCow_getHurtSound($this) { return $rt_s(621); } function nms_EntityCow_getDeathSound($this) { return $rt_s(621); } function nms_EntityCow_getSoundVolume($this) { return 0.4000000059604645; } function nms_EntityCow_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_leather.$shiftedIndex; } function nms_EntityCow_interact($this, $var1) { var $var2, var$3, var$4; $var2 = nms_InventoryPlayer_getCurrentItem($var1.$inventory0); if ($var2 !== null) { var$3 = $var2.$itemID; nms_Item_$callClinit(); if (var$3 == nms_Item_bucketEmpty.$shiftedIndex) { var$4 = $var1.$inventory0; nms_InventoryPlayer_setInventorySlotContents(var$4, var$4.$currentItem, nms_ItemStack__init_10(nms_Item_bucketMilk)); return 1; } } return 0; } var nms_RenderCow = $rt_classWithoutFields(nms_RenderLiving); function nms_RenderCow_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderLiving_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_RenderCow_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderLiving_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_ModelCow() { var a = this; nms_ModelQuadraped.call(a); a.$udders = null; a.$horn1 = null; a.$horn2 = null; } function nms_ModelCow__init_0() { var var_0 = new nms_ModelCow(); nms_ModelCow__init_(var_0); return var_0; } function nms_ModelCow__init_($this) { var var$1, var$2; nms_ModelQuadraped__init_($this, 12, 0.0); var$1 = nms_ModelRenderer__init_(0, 0); $this.$head = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), (-4.0), (-6.0), 8, 8, 6, 0.0); nms_ModelRenderer_setPosition($this.$head, 0.0, 4.0, (-8.0)); var$1 = nms_ModelRenderer__init_(22, 0); $this.$horn1 = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), (-5.0), (-4.0), 1, 3, 1, 0.0); nms_ModelRenderer_setPosition($this.$horn1, 0.0, 3.0, (-7.0)); var$1 = nms_ModelRenderer__init_(22, 0); $this.$horn2 = var$1; nms_ModelRenderer_addBox(var$1, 4.0, (-5.0), (-4.0), 1, 3, 1, 0.0); nms_ModelRenderer_setPosition($this.$horn2, 0.0, 3.0, (-7.0)); var$1 = nms_ModelRenderer__init_(52, 0); $this.$udders = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), (-3.0), 0.0, 4, 6, 2, 0.0); nms_ModelRenderer_setPosition($this.$udders, 0.0, 14.0, 6.0); $this.$udders.$rotateAngleX = 1.5707963705062866; var$1 = nms_ModelRenderer__init_(18, 4); $this.$body = var$1; nms_ModelRenderer_addBox(var$1, (-6.0), (-10.0), (-7.0), 12, 18, 10, 0.0); nms_ModelRenderer_setPosition($this.$body, 0.0, 5.0, 2.0); var$1 = $this.$leg1; var$1.$offsetX = var$1.$offsetX - 1.0; var$2 = $this.$leg2; var$2.$offsetX = var$2.$offsetX + 1.0; var$1.$offsetZ = var$1.$offsetZ + 0.0; var$2.$offsetZ = var$2.$offsetZ + 0.0; var$1 = $this.$leg3; var$1.$offsetX = var$1.$offsetX - 1.0; var$2 = $this.$leg4; var$2.$offsetX = var$2.$offsetX + 1.0; var$1.$offsetZ = var$1.$offsetZ - 1.0; var$2.$offsetZ = var$2.$offsetZ - 1.0; } function nms_ModelCow_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { nms_ModelQuadraped_render($this, $var1, $var2, $var3, $var4, $var5, $var6); nms_ModelRenderer_render($this.$horn1, $var6); nms_ModelRenderer_render($this.$horn2, $var6); nms_ModelRenderer_render($this.$udders, $var6); } function nms_ModelCow_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8; nms_ModelQuadraped_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6); var$7 = $this.$horn1; var$8 = $this.$head; var$7.$rotateAngleY = var$8.$rotateAngleY; var$7.$rotateAngleX = var$8.$rotateAngleX; var$7 = $this.$horn2; var$7.$rotateAngleY = var$8.$rotateAngleY; var$7.$rotateAngleX = var$8.$rotateAngleX; } function nms_EntityChicken() { var a = this; nms_EntityAnimals.call(a); a.$field_753_a = 0; a.$field_752_b = 0.0; a.$field_758_c = 0.0; a.$field_757_d = 0.0; a.$field_756_e = 0.0; a.$field_755_h = 0.0; a.$timeUntilNextEgg = 0; } function nms_EntityChicken__init_(var_0) { var var_1 = new nms_EntityChicken(); nms_EntityChicken__init_0(var_1, var_0); return var_1; } function nms_EntityChicken__init_0($this, $var1) { nms_EntityCreature__init_0($this, $var1); $this.$field_753_a = 0; $this.$field_752_b = 0.0; $this.$field_758_c = 0.0; $this.$field_755_h = 1.0; $this.$texture = $rt_s(622); nms_Entity_setSize($this, 0.30000001192092896, 0.4000000059604645); $this.$health = 4; $this.$timeUntilNextEgg = ju_Random_nextInt($this.$rand2, 6000) + 6000 | 0; } function nms_EntityChicken_onLivingUpdate($this) { var var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } var$1 = $this.$field_752_b; $this.$field_756_e = var$1; var$2 = $this.$field_758_c; $this.$field_757_d = var$2; var$3 = var$2; var$4 = $this.$onGround; var$2 = var$3 + (!var$4 ? 4 : (-1)) * 0.3; $this.$field_758_c = var$2; if (var$2 < 0.0) $this.$field_758_c = 0.0; if ($this.$field_758_c > 1.0) $this.$field_758_c = 1.0; if (!var$4 && $this.$field_755_h < 1.0) $this.$field_755_h = 1.0; var$2 = $this.$field_755_h * 0.9; $this.$field_755_h = var$2; if (!var$4) { var$5 = $this.$motionY; if (var$5 < 0.0) $this.$motionY = var$5 * 0.6; } $this.$field_752_b = var$1 + var$2 * 2.0; var$4 = $this.$timeUntilNextEgg - 1 | 0; $this.$timeUntilNextEgg = var$4; if (var$4 > 0) return; nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(623), 1.0, (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0); nms_Item_$callClinit(); var$4 = nms_Item_egg.$shiftedIndex; var$6 = 1; $ptr = 2; case 2: nms_Entity_dropItem($this, var$4, var$6); if ($rt_suspending()) { break main; } $this.$timeUntilNextEgg = ju_Random_nextInt($this.$rand2, 6000) + 6000 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); } function nms_EntityChicken_fall($this, $var1) {} function nms_EntityChicken_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); } function nms_EntityChicken_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); } function nms_EntityChicken_getLivingSound($this) { return $rt_s(624); } function nms_EntityChicken_getHurtSound($this) { return $rt_s(625); } function nms_EntityChicken_getDeathSound($this) { return $rt_s(625); } function nms_EntityChicken_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_feather.$shiftedIndex; } var nms_RenderChicken = $rt_classWithoutFields(nms_RenderLiving); function nms_RenderChicken_func_170_d($this, $var1, $var2) { var var$3, var$4; $var1 = $var1; var$3 = $var1.$field_756_e; var$3 = var$3 + ($var1.$field_752_b - var$3) * $var2; var$4 = $var1.$field_757_d; $var2 = var$4 + ($var1.$field_758_c - var$4) * $var2; return (nms_MathHelper_sin(var$3) + 1.0) * $var2; } function nms_RenderChicken_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderLiving_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_RenderChicken_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderLiving_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_ModelChicken() { var a = this; nms_ModelBase.call(a); a.$field_1289_a = null; a.$field_1288_b = null; a.$field_1295_c = null; a.$field_1294_d = null; a.$field_1293_e = null; a.$field_1292_f = null; a.$field_1291_g = null; a.$field_1290_h = null; } function nms_ModelChicken__init_0() { var var_0 = new nms_ModelChicken(); nms_ModelChicken__init_(var_0); return var_0; } function nms_ModelChicken__init_($this) { var var$1; nms_ModelBase__init_($this); var$1 = nms_ModelRenderer__init_(0, 0); $this.$field_1289_a = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), (-6.0), (-2.0), 4, 6, 3, 0.0); nms_ModelRenderer_setPosition($this.$field_1289_a, 0.0, 15.0, (-4.0)); var$1 = nms_ModelRenderer__init_(14, 0); $this.$field_1291_g = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), (-4.0), (-4.0), 4, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1291_g, 0.0, 15.0, (-4.0)); var$1 = nms_ModelRenderer__init_(14, 4); $this.$field_1290_h = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), (-2.0), (-3.0), 2, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1290_h, 0.0, 15.0, (-4.0)); var$1 = nms_ModelRenderer__init_(0, 9); $this.$field_1288_b = var$1; nms_ModelRenderer_addBox(var$1, (-3.0), (-4.0), (-3.0), 6, 8, 6, 0.0); nms_ModelRenderer_setPosition($this.$field_1288_b, 0.0, 16.0, 0.0); var$1 = nms_ModelRenderer__init_(26, 0); $this.$field_1295_c = var$1; nms_ModelRenderer_func_921_a(var$1, (-1.0), 0.0, (-3.0), 3, 5, 3); nms_ModelRenderer_setPosition($this.$field_1295_c, (-2.0), 19.0, 1.0); var$1 = nms_ModelRenderer__init_(26, 0); $this.$field_1294_d = var$1; nms_ModelRenderer_func_921_a(var$1, (-1.0), 0.0, (-3.0), 3, 5, 3); nms_ModelRenderer_setPosition($this.$field_1294_d, 1.0, 19.0, 1.0); var$1 = nms_ModelRenderer__init_(24, 13); $this.$field_1293_e = var$1; nms_ModelRenderer_func_921_a(var$1, 0.0, 0.0, (-3.0), 1, 4, 6); nms_ModelRenderer_setPosition($this.$field_1293_e, (-4.0), 13.0, 0.0); var$1 = nms_ModelRenderer__init_(24, 13); $this.$field_1292_f = var$1; nms_ModelRenderer_func_921_a(var$1, (-1.0), 0.0, (-3.0), 1, 4, 6); nms_ModelRenderer_setPosition($this.$field_1292_f, 4.0, 13.0, 0.0); } function nms_ModelChicken_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8; var$7 = $this.$field_1289_a; $var5 = -($var5 / 57.2957763671875); var$7.$rotateAngleX = $var5; $var4 = $var4 / 57.2957763671875; var$7.$rotateAngleY = $var4; var$8 = $this.$field_1291_g; var$8.$rotateAngleX = $var5; var$8.$rotateAngleY = $var4; var$8 = $this.$field_1290_h; var$8.$rotateAngleX = var$7.$rotateAngleX; var$8.$rotateAngleY = var$7.$rotateAngleY; $this.$field_1288_b.$rotateAngleX = 1.5707963705062866; var$7 = $this.$field_1295_c; $var1 = $var1 * 0.6661999821662903; var$7.$rotateAngleX = nms_MathHelper_cos($var1) * 1.399999976158142 * $var2; $this.$field_1294_d.$rotateAngleX = nms_MathHelper_cos($var1 + 3.1415927410125732) * 1.399999976158142 * $var2; $this.$field_1293_e.$rotateAngleZ = $var3; $this.$field_1292_f.$rotateAngleZ = -$var3; nms_ModelRenderer_render($this.$field_1289_a, $var6); nms_ModelRenderer_render($this.$field_1291_g, $var6); nms_ModelRenderer_render($this.$field_1290_h, $var6); nms_ModelRenderer_render($this.$field_1288_b, $var6); nms_ModelRenderer_render($this.$field_1295_c, $var6); nms_ModelRenderer_render($this.$field_1294_d, $var6); nms_ModelRenderer_render($this.$field_1293_e, $var6); nms_ModelRenderer_render($this.$field_1292_f, $var6); } function nms_EntityCreeper() { var a = this; nms_EntityMobs.call(a); a.$timeSinceIgnited = 0; a.$lastActiveTime = 0; a.$fuseTime = 0; a.$creeperState = 0; a.$field_12241_e = 0; } function nms_EntityCreeper__init_(var_0) { var var_1 = new nms_EntityCreeper(); nms_EntityCreeper__init_0(var_1, var_0); return var_1; } function nms_EntityCreeper__init_0($this, $var1) { nms_EntityMobs__init_0($this, $var1); $this.$fuseTime = 30; $this.$creeperState = (-1); $this.$field_12241_e = (-1); $this.$texture = $rt_s(626); } function nms_EntityCreeper_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); } function nms_EntityCreeper_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); } function nms_EntityCreeper_onUpdate($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: $this.$lastActiveTime = $this.$timeSinceIgnited; $ptr = 1; case 1: nms_EntityMobs_onUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_EntityCreeper_func_418_b_($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$field_12241_e; var$2 = $this.$creeperState; if (var$1 != var$2) $this.$field_12241_e = var$2; var$3 = $this.$timeSinceIgnited; $this.$lastActiveTime = var$3; if (var$3 > 0 && var$2 < 0) $this.$timeSinceIgnited = var$3 - 1 | 0; if (var$2 >= 0) $this.$creeperState = 2; $ptr = 1; case 1: nms_EntityCreature_func_418_b_($this); if ($rt_suspending()) { break main; } if ($this.$creeperState != 1) $this.$creeperState = (-1); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); } function nms_EntityCreeper_getHurtSound($this) { return $rt_s(627); } function nms_EntityCreeper_getDeathSound($this) { return $rt_s(628); } function nms_EntityCreeper_onDeath($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: $ptr = 1; case 1: nms_EntityLiving_onDeath($this, $var1); if ($rt_suspending()) { break main; } if (!($var1 instanceof nms_EntitySkeleton)) return; nms_Item_$callClinit(); var$2 = nms_Item_record13.$shiftedIndex + ju_Random_nextInt($this.$rand2, 2) | 0; var$3 = 1; $ptr = 2; case 2: nms_Entity_dropItem($this, var$2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $ptr); } function nms_EntityCreeper_attackEntity($this, $var1, $var2) { var var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$3 = $this.$creeperState; if (!(var$3 <= 0 && $var2 < 3.0)) { if (var$3 <= 0) break a; if ($var2 >= 7.0) break a; } if (!$this.$timeSinceIgnited) nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(298), 1.0, 0.5); $this.$creeperState = 1; var$3 = $this.$timeSinceIgnited + 1 | 0; $this.$timeSinceIgnited = var$3; if (var$3 == $this.$fuseTime) { $var1 = $this.$worldObj0; var$4 = $this.$posX; var$5 = $this.$posY; var$6 = $this.$posZ; $var2 = 3.0; $ptr = 1; continue main; } $this.$hasAttacked = 1; } return; case 1: nms_World_func_12243_a($var1, $this, var$4, var$5, var$6, $var2); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$hasAttacked = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, $ptr); } function nms_EntityCreeper_func_440_b($this, $var1) { var var$2; var$2 = $this.$lastActiveTime; return (var$2 + ($this.$timeSinceIgnited - var$2 | 0) * $var1) / ($this.$fuseTime - 2 | 0); } function nms_EntityCreeper_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_gunpowder.$shiftedIndex; } var nms_RenderCreeper = $rt_classWithoutFields(nms_RenderLiving); function nms_RenderCreeper__init_0() { var var_0 = new nms_RenderCreeper(); nms_RenderCreeper__init_(var_0); return var_0; } function nms_RenderCreeper__init_($this) { nms_RenderLiving__init_($this, nms_ModelCreeper__init_0(), 0.5); } function nms_RenderCreeper_func_6330_a($this, $var1, $var2) { var var$3, var$4; var$3 = nms_EntityCreeper_func_440_b($var1, $var2); $var2 = 1.0 + nms_MathHelper_sin(var$3 * 100.0) * var$3 * 0.009999999776482582; if (var$3 < 0.0) var$3 = 0.0; if (var$3 > 1.0) var$3 = 1.0; var$3 = var$3 * var$3; var$3 = var$3 * var$3; var$4 = (1.0 + var$3 * 0.4000000059604645) * $var2; olo_EaglerAdapterGL30_glScalef(var$4, (1.0 + var$3 * 0.10000000149011612) / $var2, var$4); } function nms_RenderCreeper_func_173_a($this, $var1, $var2, $var3) { var var$4; $var2 = nms_EntityCreeper_func_440_b($var1, $var3); if (!(($var2 * 10.0 | 0) % 2 | 0)) var$4 = 0; else { var$4 = $var2 * 0.20000000298023224 * 255.0 | 0; if (var$4 < 0) var$4 = 0; if (var$4 > 255) var$4 = 255; var$4 = var$4 << 24 | 16711680 | 65280 | 255; } return var$4; } var nms_EntitySkeleton = $rt_classWithoutFields(nms_EntityMobs); var nms_EntitySkeleton_defaultHeldItem = null; function nms_EntitySkeleton_$callClinit() { nms_EntitySkeleton_$callClinit = $rt_eraseClinit(nms_EntitySkeleton); nms_EntitySkeleton__clinit_(); } function nms_EntitySkeleton__init_(var_0) { var var_1 = new nms_EntitySkeleton(); nms_EntitySkeleton__init_0(var_1, var_0); return var_1; } function nms_EntitySkeleton__init_0($this, $var1) { nms_EntitySkeleton_$callClinit(); nms_EntityMobs__init_0($this, $var1); $this.$texture = $rt_s(629); } function nms_EntitySkeleton_getLivingSound($this) { return $rt_s(630); } function nms_EntitySkeleton_getHurtSound($this) { return $rt_s(631); } function nms_EntitySkeleton_getDeathSound($this) { return $rt_s(631); } function nms_EntitySkeleton_onLivingUpdate($this) { var $var1, var$2, var$3, 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();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_World_isDaytime($this.$worldObj0)) { $ptr = 1; continue main; } $var1 = 1.0; $ptr = 2; continue main; case 1: nms_EntityMobs_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_Entity_getEntityBrightness($this, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 <= 0.5) { $ptr = 1; continue main; } var$2 = $this.$worldObj0; var$3 = nms_MathHelper_floor_double($this.$posX); var$4 = nms_MathHelper_floor_double($this.$posY); var$5 = nms_MathHelper_floor_double($this.$posZ); $ptr = 3; case 3: $tmp = nms_World_canBlockSeeTheSky(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3 && ju_Random_nextFloat($this.$rand2) * 30.0 < ($var1 - 0.4000000059604645) * 2.0) $this.$fire = 300; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, $ptr); } function nms_EntitySkeleton_attackEntity($this, $var1, $var2) { var $var3, $var5, $var7, var$6, $var8, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$6 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var2 < 10.0) { $var3 = $var1.$posX - $this.$posX; $var5 = $var1.$posZ - $this.$posZ; if (!$this.$attackTime) { $var7 = nms_EntityArrow__init_($this.$worldObj0, $this); var$6 = $var7.$posY + 1.399999976158142; $var7.$posY = var$6; $var8 = $var1.$posY - 0.20000000298023224 - var$6; $var10 = nms_MathHelper_sqrt_double($var3 * $var3 + $var5 * $var5) * 0.20000000298023224; nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(360), 1.0, 1.0 / (ju_Random_nextFloat($this.$rand2) * 0.4000000059604645 + 0.800000011920929)); $var1 = $this.$worldObj0; $ptr = 1; continue main; } $this.$rotationYaw = jl_Math_atan2($var5, $var3) * 180.0 / 3.1415927410125732 - 90.0; $this.$hasAttacked = 1; } return; case 1: nms_World_entityJoinedWorld($var1, $var7); if ($rt_suspending()) { break main; } nms_EntityArrow_func_408_a($var7, $var3, $var8 + $var10, $var5, 0.6000000238418579, 12.0); $this.$attackTime = 30; $this.$rotationYaw = jl_Math_atan2($var5, $var3) * 180.0 / 3.1415927410125732 - 90.0; $this.$hasAttacked = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var5, $var7, var$6, $var8, $var10, $ptr); } function nms_EntitySkeleton_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); } function nms_EntitySkeleton_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); } function nms_EntitySkeleton_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_arrow.$shiftedIndex; } function nms_EntitySkeleton_getHeldItem($this) { nms_EntitySkeleton_$callClinit(); return nms_EntitySkeleton_defaultHeldItem; } function nms_EntitySkeleton__clinit_() { var var$1; var$1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$1, nms_Item_bow, 1); nms_EntitySkeleton_defaultHeldItem = var$1; } function nms_RenderBiped() { nms_RenderLiving.call(this); this.$field_4013_a = null; } function nms_RenderBiped__init_(var_0, var_1) { var var_2 = new nms_RenderBiped(); nms_RenderBiped__init_0(var_2, var_0, var_1); return var_2; } function nms_RenderBiped__init_0($this, $var1, $var2) { nms_RenderLiving__init_($this, $var1, $var2); $this.$field_4013_a = $var1; } function nms_RenderBiped_func_6331_b($this, $var1, $var2) { var $var3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $var3 = $var1.$getHeldItem(); if ($var3 === null) return; a: { olo_EaglerAdapterGL30_glPushMatrix(); nms_ModelRenderer_func_926_b($this.$field_4013_a.$bipedRightArm, 0.0625); olo_EaglerAdapterGL30_glTranslatef((-0.0625), 0.4375, 0.0625); var$4 = $var3.$itemID; if (var$4 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_func_1219_a(nms_Block_blocksList.data[var$4].$getRenderType())) { olo_EaglerAdapterGL30_glTranslatef(0.0, 0.1875, (-0.3125)); olo_EaglerAdapterGL30_glRotatef(20.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.375, (-0.375), 0.375); break a; } } nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var3.$itemID].$isFull3D()) { olo_EaglerAdapterGL30_glTranslatef(0.0, 0.1875, 0.0); olo_EaglerAdapterGL30_glScalef(0.625, (-0.625), 0.625); olo_EaglerAdapterGL30_glRotatef((-100.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); } else { olo_EaglerAdapterGL30_glTranslatef(0.25, 0.1875, (-0.1875)); olo_EaglerAdapterGL30_glScalef(0.375, 0.375, 0.375); olo_EaglerAdapterGL30_glRotatef(60.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef((-90.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(20.0, 0.0, 0.0, 1.0); } } $var1 = $this.$renderManager.$field_4236_f; $ptr = 1; case 1: nms_ItemRenderer_renderItem($var1, $var3); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $ptr); } var nms_ModelZombie = $rt_classWithoutFields(nms_ModelBiped); function nms_ModelZombie__init_0() { var var_0 = new nms_ModelZombie(); nms_ModelZombie__init_(var_0); return var_0; } function nms_ModelZombie__init_($this) { nms_ModelBiped__init_($this); } function nms_ModelZombie_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8, var$9, var$10; nms_ModelBiped_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6); $var7 = nms_MathHelper_sin($this.$field_1244_k * 3.1415927410125732); $var2 = 1.0 - $this.$field_1244_k; $var8 = nms_MathHelper_sin((1.0 - $var2 * $var2) * 3.1415927410125732); var$9 = $this.$bipedRightArm; var$9.$rotateAngleZ = 0.0; var$10 = $this.$bipedLeftArm; var$10.$rotateAngleZ = 0.0; $var1 = 0.10000000149011612 - $var7 * 0.6000000238418579; var$9.$rotateAngleY = -$var1; var$10.$rotateAngleY = $var1; var$9.$rotateAngleX = (-1.5707963705062866); var$10.$rotateAngleX = (-1.5707963705062866); $var1 = var$9.$rotateAngleX; $var2 = $var7 * 1.2000000476837158 - $var8 * 0.4000000059604645; var$9.$rotateAngleX = $var1 - $var2; var$10.$rotateAngleX = var$10.$rotateAngleX - $var2; $var1 = var$9.$rotateAngleZ; $var2 = $var3 * 0.09000000357627869; var$9.$rotateAngleZ = $var1 + nms_MathHelper_cos($var2) * 0.05000000074505806 + 0.05000000074505806; var$9 = $this.$bipedLeftArm; var$9.$rotateAngleZ = var$9.$rotateAngleZ - (nms_MathHelper_cos($var2) * 0.05000000074505806 + 0.05000000074505806); var$9 = $this.$bipedRightArm; $var1 = var$9.$rotateAngleX; $var2 = $var3 * 0.06700000166893005; var$9.$rotateAngleX = $var1 + nms_MathHelper_sin($var2) * 0.05000000074505806; var$9 = $this.$bipedLeftArm; var$9.$rotateAngleX = var$9.$rotateAngleX - nms_MathHelper_sin($var2) * 0.05000000074505806; } var nms_ModelSkeleton = $rt_classWithoutFields(nms_ModelZombie); function nms_ModelSkeleton__init_0() { var var_0 = new nms_ModelSkeleton(); nms_ModelSkeleton__init_(var_0); return var_0; } function nms_ModelSkeleton__init_($this) { var var$1; nms_ModelBiped__init_($this); var$1 = nms_ModelRenderer__init_(40, 16); $this.$bipedRightArm = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), (-2.0), (-1.0), 2, 12, 2, 0.0); nms_ModelRenderer_setPosition($this.$bipedRightArm, (-5.0), 2.0, 0.0); var$1 = nms_ModelRenderer__init_(40, 16); $this.$bipedLeftArm = var$1; var$1.$mirror = 1; nms_ModelRenderer_addBox(var$1, (-1.0), (-2.0), (-1.0), 2, 12, 2, 0.0); nms_ModelRenderer_setPosition($this.$bipedLeftArm, 5.0, 2.0, 0.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$bipedRightLeg = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), 0.0, (-1.0), 2, 12, 2, 0.0); nms_ModelRenderer_setPosition($this.$bipedRightLeg, (-2.0), 12.0, 0.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$bipedLeftLeg = var$1; var$1.$mirror = 1; nms_ModelRenderer_addBox(var$1, (-1.0), 0.0, (-1.0), 2, 12, 2, 0.0); nms_ModelRenderer_setPosition($this.$bipedLeftLeg, 2.0, 12.0, 0.0); } var nms_EntityZombie = $rt_classWithoutFields(nms_EntityMobs); function nms_EntityZombie__init_(var_0) { var var_1 = new nms_EntityZombie(); nms_EntityZombie__init_0(var_1, var_0); return var_1; } function nms_EntityZombie__init_0($this, $var1) { nms_EntityMobs__init_0($this, $var1); $this.$texture = $rt_s(632); $this.$field_9333_am = 0.5; $this.$field_762_e = 5; } function nms_EntityZombie_onLivingUpdate($this) { var $var1, var$2, var$3, 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();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_World_isDaytime($this.$worldObj0)) { $ptr = 1; continue main; } $var1 = 1.0; $ptr = 2; continue main; case 1: nms_EntityMobs_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_Entity_getEntityBrightness($this, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 <= 0.5) { $ptr = 1; continue main; } var$2 = $this.$worldObj0; var$3 = nms_MathHelper_floor_double($this.$posX); var$4 = nms_MathHelper_floor_double($this.$posY); var$5 = nms_MathHelper_floor_double($this.$posZ); $ptr = 3; case 3: $tmp = nms_World_canBlockSeeTheSky(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3 && ju_Random_nextFloat($this.$rand2) * 30.0 < ($var1 - 0.4000000059604645) * 2.0) $this.$fire = 300; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, $ptr); } function nms_EntityZombie_getLivingSound($this) { return $rt_s(633); } function nms_EntityZombie_getHurtSound($this) { return $rt_s(634); } function nms_EntityZombie_getDeathSound($this) { return $rt_s(635); } function nms_EntityZombie_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_feather.$shiftedIndex; } function nms_EntitySlime() { var a = this; nms_EntityLiving.call(a); a.$field_768_a = 0.0; a.$field_767_b = 0.0; a.$field_769_d = 0; a.$field_770_c = 0; } function nms_EntitySlime__init_(var_0) { var var_1 = new nms_EntitySlime(); nms_EntitySlime__init_0(var_1, var_0); return var_1; } function nms_EntitySlime__init_0($this, $var1) { nms_EntityLiving__init_($this, $var1); $this.$field_769_d = 0; $this.$field_770_c = 1; $this.$texture = $rt_s(636); $this.$field_770_c = 1 << ju_Random_nextInt($this.$rand2, 3); $this.$yOffset = 0.0; $this.$field_769_d = ju_Random_nextInt($this.$rand2, 20) + 10 | 0; nms_EntitySlime_func_441_c($this, $this.$field_770_c); } function nms_EntitySlime_func_441_c($this, $var1) { var var$2; $this.$field_770_c = $var1; var$2 = 0.6000000238418579 * $var1; nms_Entity_setSize($this, var$2, var$2); $this.$health = $rt_imul($var1, $var1); nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); } function nms_EntitySlime_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); nms_NBTTagCompound_setInteger($var1, $rt_s(637), $this.$field_770_c - 1 | 0); } function nms_EntitySlime_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); $this.$field_770_c = nms_NBTTagCompound_getInteger($var1, $rt_s(637)) + 1 | 0; } function nms_EntitySlime_onUpdate($this) { var $var1, $var2, $var3, $var4, $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_767_b = $this.$field_768_a; $var1 = $this.$onGround; $ptr = 1; case 1: nms_EntityLiving_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$onGround && !$var1) { $var2 = 0; while (true) { $var1 = $this.$field_770_c; if ($var2 >= ($var1 * 8 | 0)) break; $var3 = ju_Random_nextFloat($this.$rand2) * 3.1415927410125732 * 2.0; $var4 = ju_Random_nextFloat($this.$rand2) * 0.5 + 0.5; $var5 = nms_MathHelper_sin($var3) * $this.$field_770_c * 0.5 * $var4; $var6 = nms_MathHelper_cos($var3) * $this.$field_770_c * 0.5 * $var4; nms_World_spawnParticle($this.$worldObj0, $rt_s(491), $this.$posX + $var5, $this.$boundingBox.$minY0, $this.$posZ + $var6, 0.0, 0.0, 0.0); $var2 = $var2 + 1 | 0; } if ($var1 > 2) nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(638), 0.6000000238418579, ((ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0) / 0.800000011920929); $this.$field_768_a = (-0.5); } $this.$field_768_a = $this.$field_768_a * 0.6000000238418579; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_EntitySlime_func_418_b_($this) { var $var1, var$2, var$3; $var1 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 16.0); if ($var1 !== null) nms_EntityLiving_faceEntity($this, $var1, 10.0); a: { b: { var$2 = $this.$onGround; if (var$2) { var$3 = $this.$field_769_d; $this.$field_769_d = var$3 - 1 | 0; if (var$3 <= 0) break b; } $this.$isJumping = 0; if (!var$2) break a; $this.$field_9340_ai = 0.0; $this.$field_9342_ah = 0.0; break a; } var$2 = ju_Random_nextInt($this.$rand2, 20) + 10 | 0; $this.$field_769_d = var$2; if ($var1 !== null) $this.$field_769_d = var$2 / 3 | 0; $this.$isJumping = 1; if ($this.$field_770_c > 1) nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(638), 0.6000000238418579, ((ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0) * 0.800000011920929); $this.$field_768_a = 1.0; $this.$field_9342_ah = 1.0 - ju_Random_nextFloat($this.$rand2) * 2.0; $this.$field_9340_ai = 1 * $this.$field_770_c | 0; } } function nms_EntitySlime_setEntityDead($this) { var $var1, $var2, $var3, $var4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$field_770_c > 1 && !$this.$health) { $var1 = 0; if ($var1 < 4) { $var2 = ($var1 % 2 | 0) - 0.5; $var3 = $this.$field_770_c; $var2 = $var2 * $var3 / 4.0; $var3 = (($var1 / 2 | 0) - 0.5) * $var3 / 4.0; $var4 = nms_EntitySlime__init_($this.$worldObj0); nms_EntitySlime_func_441_c($var4, $this.$field_770_c / 2 | 0); nms_Entity_setLocationAndAngles($var4, $this.$posX + $var2, $this.$posY + 0.5, $this.$posZ + $var3, ju_Random_nextFloat($this.$rand2) * 360.0, 0.0); var$5 = $this.$worldObj0; $ptr = 2; continue main; } } $ptr = 1; case 1: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; case 2: nms_World_entityJoinedWorld(var$5, $var4); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; if ($var1 >= 4) { $ptr = 1; continue main; } $var2 = ($var1 % 2 | 0) - 0.5; $var3 = $this.$field_770_c; $var2 = $var2 * $var3 / 4.0; $var3 = (($var1 / 2 | 0) - 0.5) * $var3 / 4.0; $var4 = nms_EntitySlime__init_($this.$worldObj0); nms_EntitySlime_func_441_c($var4, $this.$field_770_c / 2 | 0); nms_Entity_setLocationAndAngles($var4, $this.$posX + $var2, $this.$posY + 0.5, $this.$posZ + $var3, ju_Random_nextFloat($this.$rand2) * 360.0, 0.0); var$5 = $this.$worldObj0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_EntitySlime_onCollideWithPlayer($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 ($this.$field_770_c <= 1) return; $ptr = 1; case 1: $tmp = nms_EntityLiving_canEntityBeSeen($this, $var1); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2) { var$3 = nms_Entity_getDistanceToEntity($this, $var1); var$2 = $this.$field_770_c; if (var$3 < 0.6 * var$2) { $ptr = 2; continue main; } } return; case 2: $tmp = nms_EntityPlayer_canAttackEntity($var1, $this, var$2); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2) nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(639), 1.0, (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $ptr); } function nms_EntitySlime_getHurtSound($this) { return $rt_s(638); } function nms_EntitySlime_getDeathSound($this) { return $rt_s(638); } function nms_EntitySlime_getDropItemId($this) { var var$1; if ($this.$field_770_c != 1) var$1 = 0; else { nms_Item_$callClinit(); var$1 = nms_Item_slimeBall.$shiftedIndex; } return var$1; } function nms_EntitySlime_getCanSpawnHere($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; var$2 = nms_MathHelper_floor_double($this.$posX); var$3 = nms_MathHelper_floor_double($this.$posZ); $ptr = 1; case 1: nms_World_getChunkFromBlockCoords(var$1, var$2, var$3); if ($rt_suspending()) { break main; } return !($this.$field_770_c != 1 && $this.$worldObj0.$difficultySetting <= 0) && !ju_Random_nextInt($this.$rand2, 10) && !ju_Random_nextInt(new ju_Random, 10) && $this.$posY < 16.0 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); } function nms_EntitySlime_getSoundVolume($this) { return 0.6000000238418579; } function nms_RenderSlime() { nms_RenderLiving.call(this); this.$field_205_f = null; } function nms_RenderSlime_func_6330_a($this, $var1, $var2) { var var$3, var$4; $var1 = $var1; var$3 = $var1.$field_767_b; $var2 = var$3 + ($var1.$field_768_a - var$3) * $var2; var$3 = $var1.$field_770_c; $var2 = 1.0 / ($var2 / (var$3 * 0.5 + 1.0) + 1.0); var$4 = $var2 * var$3; olo_EaglerAdapterGL30_glScalef(var$4, 1.0 / $var2 * var$3, var$4); } function nms_RenderSlime_func_166_a($this, $var1, $var2) { if (!$var2) { $this.$field_6332_f = $this.$field_205_f; olo_EaglerAdapterGL30_glEnable(2977); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); $var2 = 1; } else { if ($var2 == 1) { olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); } $var2 = 0; } return $var2; } function nms_ModelSlime() { var a = this; nms_ModelBase.call(a); a.$field_1258_a = null; a.$field_1257_b = null; a.$field_1260_c = null; a.$field_1259_d = null; } function nms_ModelSlime__init_(var_0) { var var_1 = new nms_ModelSlime(); nms_ModelSlime__init_0(var_1, var_0); return var_1; } function nms_ModelSlime__init_0($this, $var1) { var var$2; nms_ModelBase__init_($this); var$2 = nms_ModelRenderer__init_(0, $var1); $this.$field_1258_a = var$2; nms_ModelRenderer_func_921_a(var$2, (-4.0), 16.0, (-4.0), 8, 8, 8); if ($var1 > 0) { var$2 = nms_ModelRenderer__init_(0, $var1); $this.$field_1258_a = var$2; nms_ModelRenderer_func_921_a(var$2, (-3.0), 17.0, (-3.0), 6, 6, 6); var$2 = nms_ModelRenderer__init_(32, 0); $this.$field_1257_b = var$2; nms_ModelRenderer_func_921_a(var$2, (-3.25), 18.0, (-3.5), 2, 2, 2); var$2 = nms_ModelRenderer__init_(32, 4); $this.$field_1260_c = var$2; nms_ModelRenderer_func_921_a(var$2, 1.25, 18.0, (-3.5), 2, 2, 2); var$2 = nms_ModelRenderer__init_(32, 8); $this.$field_1259_d = var$2; nms_ModelRenderer_func_921_a(var$2, 0.0, 21.0, (-3.5), 1, 1, 1); } } function nms_ModelSlime_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7; nms_ModelRenderer_render($this.$field_1258_a, $var6); var$7 = $this.$field_1257_b; if (var$7 !== null) { nms_ModelRenderer_render(var$7, $var6); nms_ModelRenderer_render($this.$field_1260_c, $var6); nms_ModelRenderer_render($this.$field_1259_d, $var6); } } function nms_RenderPlayer() { var a = this; nms_RenderLiving.call(a); a.$field_209_f = null; a.$field_208_g = null; a.$field_207_h = null; } var nms_RenderPlayer_armorFilenamePrefix = null; function nms_RenderPlayer_$callClinit() { nms_RenderPlayer_$callClinit = $rt_eraseClinit(nms_RenderPlayer); nms_RenderPlayer__clinit_(); } function nms_RenderPlayer__init_0() { var var_0 = new nms_RenderPlayer(); nms_RenderPlayer__init_(var_0); return var_0; } function nms_RenderPlayer__init_($this) { nms_RenderPlayer_$callClinit(); nms_RenderLiving__init_($this, nms_ModelBiped__init_0(0.0), 0.5); $this.$field_209_f = $this.$e; $this.$field_208_g = nms_ModelBiped__init_0(1.0); $this.$field_207_h = nms_ModelBiped__init_0(0.5); } function nms_RenderPlayer_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $var10, var$8, $var19, $var18, $var20, $var11, $var15, $var20_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var20_0 = $thread.pop();$var15 = $thread.pop();$var11 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var19 = $thread.pop();var$8 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = nms_InventoryPlayer_getCurrentItem($var1.$inventory0); var$8 = $this.$field_208_g; $var19 = $this.$field_207_h; $var18 = $this.$field_209_f; $var20 = $var10 === null ? 0 : 1; $var18.$field_1278_i = $var20; $var19.$field_1278_i = $var20; var$8.$field_1278_i = $var20; $var20 = nms_EntityPlayerSP_func_381_o($var1); $var18.$field_1277_j = $var20; $var19.$field_1277_j = $var20; var$8.$field_1277_j = $var20; $var11 = $var4 - $var1.$yOffset; if ($var1.$field_12240_bw) $var11 = $var11 - 0.125; $ptr = 1; case 1: nms_RenderLiving_a($this, $var1, $var2, $var11, $var6, $var8, $var9); if ($rt_suspending()) { break main; } $var10 = $this.$field_208_g; var$8 = $this.$field_207_h; $var19 = $this.$field_209_f; $var19.$field_1277_j = 0; var$8.$field_1277_j = 0; $var10.$field_1277_j = 0; $var19.$field_1278_i = 0; var$8.$field_1278_i = 0; $var10.$field_1278_i = 0; $var15 = nms_Entity_getDistanceToEntity($var1, $this.$renderManager.$field_1226_h); if ($var15 < (!nms_EntityPlayerSP_func_381_o($var1) ? 64.0 : 32.0)) { $var8 = 0.0266666691750288 * jl_Math_sqrt($var15) / 2.0; var$8 = $this.$renderManager.$field_1218_p; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2 + 0.0, $var4 + 2.299999952316284, $var6); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$this.$renderManager.$field_1225_i, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef($this.$renderManager.$field_1224_j, 1.0, 0.0, 0.0); $var9 = -$var8; olo_EaglerAdapterGL30_glScalef($var9, $var9, $var8); $var18 = $var1.$field_771_i; olo_EaglerAdapterGL30_glDisable(2896); if (nms_EntityPlayerSP_func_381_o($var1)) { olo_EaglerAdapterGL30_glTranslatef(0.0, 0.25 / $var8, 0.0); olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); nms_Tessellator_$callClinit(); $var19 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glDisable(3553); nms_Tessellator_startDrawingQuads($var19); $var20_0 = nms_FontRenderer_getStringWidth(var$8, $var18) / 2 | 0; nms_Tessellator_setColorRGBA_F($var19, 0.0, 0.0, 0.0, 0.25); $var2 = ( -$var20_0 | 0) - 1 | 0; nms_Tessellator_addVertex($var19, $var2, (-1.0), 0.0); nms_Tessellator_addVertex($var19, $var2, 8.0, 0.0); $var2 = $var20_0 + 1 | 0; nms_Tessellator_addVertex($var19, $var2, 8.0, 0.0); nms_Tessellator_addVertex($var19, $var2, (-1.0), 0.0); nms_Tessellator_draw($var19); olo_EaglerAdapterGL30_glEnable(3553); olo_EaglerAdapterGL30_glDepthMask(1); nms_FontRenderer_drawString(var$8, $var18, ( -nms_FontRenderer_getStringWidth(var$8, $var18) | 0) / 2 | 0, 0, 553648127); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glPopMatrix(); } else { olo_EaglerAdapterGL30_glDepthMask(0); olo_EaglerAdapterGL30_glDisable(2929); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 771); nms_Tessellator_$callClinit(); $var19 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glDisable(3553); nms_Tessellator_startDrawingQuads($var19); $var20 = nms_FontRenderer_getStringWidth(var$8, $var18) / 2 | 0; nms_Tessellator_setColorRGBA_F($var19, 0.0, 0.0, 0.0, 0.25); $var2 = ( -$var20 | 0) - 1 | 0; nms_Tessellator_addVertex($var19, $var2, (-1.0), 0.0); nms_Tessellator_addVertex($var19, $var2, 8.0, 0.0); $var2 = $var20 + 1 | 0; nms_Tessellator_addVertex($var19, $var2, 8.0, 0.0); nms_Tessellator_addVertex($var19, $var2, (-1.0), 0.0); nms_Tessellator_draw($var19); olo_EaglerAdapterGL30_glEnable(3553); nms_FontRenderer_drawString(var$8, $var18, ( -nms_FontRenderer_getStringWidth(var$8, $var18) | 0) / 2 | 0, 0, 553648127); olo_EaglerAdapterGL30_glEnable(2929); olo_EaglerAdapterGL30_glDepthMask(1); nms_FontRenderer_drawString(var$8, $var18, ( -nms_FontRenderer_getStringWidth(var$8, $var18) | 0) / 2 | 0, 0, (-1)); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glPopMatrix(); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, var$8, $var19, $var18, $var20, $var11, $var15, $var20_0, $ptr); } function nms_RenderPlayer_a0($this, $var1, $var2) { var $var3, $var6, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = nms_InventoryPlayer_armorItemInSlot($var1.$inventory0, 3); if ($var3 !== null && (nms_ItemStack_getItem($var3)).$shiftedIndex < 256) { olo_EaglerAdapterGL30_glPushMatrix(); nms_ModelRenderer_func_926_b($this.$field_209_f.$bipedHead, 0.0625); nms_Block_$callClinit(); if (nms_RenderBlocks_func_1219_a(nms_Block_blocksList.data[$var3.$itemID].$getRenderType())) { olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.25), 0.0); olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.625, (-0.625), 0.625); } $var6 = $this.$renderManager.$field_4236_f; $ptr = 1; continue main; } $var6 = nms_InventoryPlayer_getCurrentItem($var1.$inventory0); if ($var6 === null) return; olo_EaglerAdapterGL30_glPushMatrix(); nms_ModelRenderer_func_926_b($this.$field_209_f.$bipedRightArm, 0.0625); olo_EaglerAdapterGL30_glTranslatef((-0.0625), 0.4375, 0.0625); if ($var1.$fishEntity !== null) { $var6 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_($var6, nms_Item_stick.$shiftedIndex); } a: { var$5 = $var6.$itemID; if (var$5 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_func_1219_a(nms_Block_blocksList.data[var$5].$getRenderType())) { olo_EaglerAdapterGL30_glTranslatef(0.0, 0.1875, (-0.3125)); olo_EaglerAdapterGL30_glRotatef(20.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.375, (-0.375), 0.375); break a; } } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var6.$itemID].$isFull3D()) { olo_EaglerAdapterGL30_glTranslatef(0.25, 0.1875, (-0.1875)); olo_EaglerAdapterGL30_glScalef(0.375, 0.375, 0.375); olo_EaglerAdapterGL30_glRotatef(60.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef((-90.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(20.0, 0.0, 0.0, 1.0); } else { if (nms_Item_itemsList.data[$var6.$itemID].$shouldRotateAroundWhenRendering()) { olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.125), 0.0); } olo_EaglerAdapterGL30_glTranslatef(0.0, 0.1875, 0.0); olo_EaglerAdapterGL30_glScalef(0.625, (-0.625), 0.625); olo_EaglerAdapterGL30_glRotatef((-100.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); } } $var1 = $this.$renderManager.$field_4236_f; $ptr = 2; continue main; case 1: nms_ItemRenderer_renderItem($var6, $var3); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPopMatrix(); $var6 = nms_InventoryPlayer_getCurrentItem($var1.$inventory0); if ($var6 === null) return; olo_EaglerAdapterGL30_glPushMatrix(); nms_ModelRenderer_func_926_b($this.$field_209_f.$bipedRightArm, 0.0625); olo_EaglerAdapterGL30_glTranslatef((-0.0625), 0.4375, 0.0625); if ($var1.$fishEntity !== null) { $var6 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_($var6, nms_Item_stick.$shiftedIndex); } b: { var$5 = $var6.$itemID; if (var$5 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_func_1219_a(nms_Block_blocksList.data[var$5].$getRenderType())) { olo_EaglerAdapterGL30_glTranslatef(0.0, 0.1875, (-0.3125)); olo_EaglerAdapterGL30_glRotatef(20.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.375, (-0.375), 0.375); break b; } } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var6.$itemID].$isFull3D()) { olo_EaglerAdapterGL30_glTranslatef(0.25, 0.1875, (-0.1875)); olo_EaglerAdapterGL30_glScalef(0.375, 0.375, 0.375); olo_EaglerAdapterGL30_glRotatef(60.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef((-90.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(20.0, 0.0, 0.0, 1.0); } else { if (nms_Item_itemsList.data[$var6.$itemID].$shouldRotateAroundWhenRendering()) { olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.125), 0.0); } olo_EaglerAdapterGL30_glTranslatef(0.0, 0.1875, 0.0); olo_EaglerAdapterGL30_glScalef(0.625, (-0.625), 0.625); olo_EaglerAdapterGL30_glRotatef((-100.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); } } $var1 = $this.$renderManager.$field_4236_f; $ptr = 2; case 2: nms_ItemRenderer_renderItem($var1, $var6); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var6, var$5, $ptr); } function nms_RenderPlayer_func_6330_a($this, $var1, $var2) { olo_EaglerAdapterGL30_glScalef(0.9375, 0.9375, 0.9375); } function nms_RenderPlayer_func_166_a($this, $var1, $var2) { var var$3, 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();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = nms_InventoryPlayer_armorItemInSlot($var1.$inventory0, 3 - $var2 | 0); if ($var1 !== null) { $var1 = nms_ItemStack_getItem($var1); if ($var1 instanceof nms_ItemArmor) { $var1 = $var1; nms_RenderPlayer_$callClinit(); $var1 = nms_RenderPlayer_armorFilenamePrefix.data[$var1.$renderIndex]; var$3 = $rt_compare($var2, 2); var$4 = var$3 ? 1 : 2; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); $var1 = jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(640)), $var1); jl_AbstractStringBuilder_append($var1, 95); jl_StringBuilder_append(jl_StringBuilder_append1($var1, var$4), $rt_s(472)); $var1 = jl_AbstractStringBuilder_toString(var$5); $ptr = 1; continue main; } } return 0; case 1: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } var$5 = var$3 ? $this.$field_208_g : $this.$field_207_h; var$5.$bipedHead.$field_1403_h = $var2 ? 0 : 1; var$5.$field_1285_b.$field_1403_h = $var2 ? 0 : 1; $var1 = var$5.$field_1284_c; var$4 = $rt_compare($var2, 1); $var1.$field_1403_h = var$4 && var$3 ? 0 : 1; var$5.$bipedRightArm.$field_1403_h = var$4 ? 0 : 1; var$5.$bipedLeftArm.$field_1403_h = var$4 ? 0 : 1; var$5.$bipedRightLeg.$field_1403_h = var$3 && $var2 != 3 ? 0 : 1; var$5.$bipedLeftLeg.$field_1403_h = var$3 && $var2 != 3 ? 0 : 1; $this.$field_6332_f = var$5; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, $ptr); } function nms_RenderPlayer_func_6331_b($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: $var1 = $var1; $ptr = 1; case 1: nms_RenderPlayer_a0($this, $var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function nms_RenderPlayer_a1($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderPlayer_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_RenderPlayer_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderPlayer_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_RenderPlayer__clinit_() { nms_RenderPlayer_armorFilenamePrefix = $rt_createArrayFromData(jl_String, [$rt_s(258), $rt_s(641), $rt_s(642), $rt_s(643), $rt_s(644)]); } var nms_EntityZombieSimple = $rt_classWithoutFields(nms_EntityMobs); function nms_EntityZombieSimple_func_439_a($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: var$4 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getLightBrightness(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5 - 0.5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $ptr); } function nms_RenderZombieSimple() { nms_RenderLiving.call(this); this.$field_204_f = 0.0; } function nms_RenderZombieSimple_func_6330_a($this, $var1, $var2) { $var2 = $this.$field_204_f; olo_EaglerAdapterGL30_glScalef($var2, $var2, $var2); } var nms_EntityFlying = $rt_classWithoutFields(nms_EntityLiving); function nms_EntityFlying_fall($this, $var1) {} function nms_EntityFlying_func_435_b($this, $var1, $var2) { var $var5, $var10, $var9, var$6, $var3, var$8, $var4, var$10, $var8, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();var$6 = $thread.pop();$var9 = $thread.pop();$var10 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) { $ptr = 2; continue main; } nms_Entity_func_351_a($this, $var1, $var2, 0.019999999552965164); $var10 = $this.$motionX; $var9 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 3; continue main; case 2: $tmp = nms_Entity_handleLavaMovement($this); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) { nms_Entity_func_351_a($this, $var1, $var2, 0.019999999552965164); $var10 = $this.$motionX; $var9 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 4; continue main; } $var3 = 0.9100000262260437; if ($this.$onGround) { $var3 = 0.546000063419342; var$8 = $this.$worldObj0; $var5 = nms_MathHelper_floor_double($this.$posX); $var4 = nms_MathHelper_floor_double($this.$boundingBox.$minY0) - 1 | 0; var$10 = nms_MathHelper_floor_double($this.$posZ); $ptr = 5; continue main; } $var8 = 0.16277135908603668 / ($var3 * $var3 * $var3); nms_Entity_func_351_a($this, $var1, $var2, !$this.$onGround ? 0.019999999552965164 : 0.10000000149011612 * $var8); $var1 = 0.9100000262260437; if (!$this.$onGround) { $var10 = $this.$motionX; $var9 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 7; continue main; } $var1 = 0.546000063419342; var$8 = $this.$worldObj0; $var5 = nms_MathHelper_floor_double($this.$posX); $var4 = nms_MathHelper_floor_double($this.$boundingBox.$minY0) - 1 | 0; var$10 = nms_MathHelper_floor_double($this.$posZ); $ptr = 6; continue main; case 3: nms_Entity_moveEntity($this, $var10, $var9, var$6); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.800000011920929; $this.$motionY = $this.$motionY * 0.800000011920929; $this.$motionZ = $this.$motionZ * 0.800000011920929; $this.$field_705_Q = $this.$field_704_R; $var10 = $this.$posX - $this.$prevPosX; $var9 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var10 * $var10 + $var9 * $var9) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; case 4: nms_Entity_moveEntity($this, $var10, $var9, var$6); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; $this.$field_705_Q = $this.$field_704_R; $var10 = $this.$posX - $this.$prevPosX; $var9 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var10 * $var10 + $var9 * $var9) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; case 5: $tmp = nms_World_getBlockId(var$8, $var5, $var4, var$10); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 > 0) { nms_Block_$callClinit(); $var3 = nms_Block_blocksList.data[$var4].$slipperiness * 0.9100000262260437; } $var8 = 0.16277135908603668 / ($var3 * $var3 * $var3); nms_Entity_func_351_a($this, $var1, $var2, !$this.$onGround ? 0.019999999552965164 : 0.10000000149011612 * $var8); $var1 = 0.9100000262260437; if (!$this.$onGround) { $var10 = $this.$motionX; $var9 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 7; continue main; } $var1 = 0.546000063419342; var$8 = $this.$worldObj0; $var5 = nms_MathHelper_floor_double($this.$posX); $var4 = nms_MathHelper_floor_double($this.$boundingBox.$minY0) - 1 | 0; var$10 = nms_MathHelper_floor_double($this.$posZ); $ptr = 6; case 6: $tmp = nms_World_getBlockId(var$8, $var5, $var4, var$10); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 > 0) { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[$var5].$slipperiness * 0.9100000262260437; } $var10 = $this.$motionX; $var9 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 7; case 7: nms_Entity_moveEntity($this, $var10, $var9, var$6); if ($rt_suspending()) { break main; } $var10 = $this.$motionX; $var9 = $var1; $this.$motionX = $var10 * $var9; $this.$motionY = $this.$motionY * $var9; $this.$motionZ = $this.$motionZ * $var9; $this.$field_705_Q = $this.$field_704_R; $var10 = $this.$posX - $this.$prevPosX; $var9 = $this.$posZ - $this.$prevPosZ; $var7 = nms_MathHelper_sqrt_double($var10 * $var10 + $var9 * $var9) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $var1 = $this.$field_704_R; $var1 = $var1 + ($var7 - $var1) * 0.4000000059604645; $this.$field_704_R = $var1; $this.$field_703_S = $this.$field_703_S + $var1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var5, $var10, $var9, var$6, $var3, var$8, $var4, var$10, $var8, $var7, $ptr); } function nms_EntityFlying_isOnLadder($this) { return 0; } function nms_EntityGhast() { var a = this; nms_EntityFlying.call(a); a.$field_4121_a = 0; a.$field_4120_b = 0.0; a.$field_4127_c = 0.0; a.$field_4126_d = 0.0; a.$field_4123_g = null; a.$field_4122_h = 0; a.$field_4125_e = 0; a.$field_4124_f = 0; } function nms_EntityGhast__init_(var_0) { var var_1 = new nms_EntityGhast(); nms_EntityGhast__init_0(var_1, var_0); return var_1; } function nms_EntityGhast__init_0($this, $var1) { nms_EntityLiving__init_($this, $var1); $this.$field_4121_a = 0; $this.$field_4123_g = null; $this.$field_4122_h = 0; $this.$field_4125_e = 0; $this.$field_4124_f = 0; $this.$texture = $rt_s(645); nms_Entity_setSize($this, 4.0, 4.0); $this.$isImmuneToFire = 1; } function nms_EntityGhast_func_418_b_($this) { var $var1, $var3, $var5, $var7, var$5, var$6, $var11, $var13, $var15, $var17, var$11, $var20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var20 = $thread.pop();var$11 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj0.$difficultySetting) { $ptr = 1; continue main; } $this.$field_4125_e = $this.$field_4124_f; $var1 = $this.$field_4120_b - $this.$posX; $var3 = $this.$field_4127_c - $this.$posY; $var5 = $this.$field_4126_d - $this.$posZ; $var7 = nms_MathHelper_sqrt_double($var1 * $var1 + $var3 * $var3 + $var5 * $var5); if (!($var7 >= 1.0 && $var7 <= 60.0)) { $this.$field_4120_b = $this.$posX + (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * 16.0; $this.$field_4127_c = $this.$posY + (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * 16.0; $this.$field_4126_d = $this.$posZ + (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * 16.0; } var$5 = $this.$field_4121_a; var$6 = var$5 - 1 | 0; $this.$field_4121_a = var$6; if (var$5 <= 0) { $this.$field_4121_a = var$6 + (ju_Random_nextInt($this.$rand2, 5) + 2 | 0) | 0; $var11 = $this.$field_4120_b; $var13 = $this.$field_4127_c; $var15 = $this.$field_4126_d; $ptr = 2; continue main; } $var17 = $this.$field_4123_g; if ($var17 !== null && $var17.$isDead) $this.$field_4123_g = null; a: { if ($this.$field_4123_g !== null) { var$5 = $this.$field_4122_h; $this.$field_4122_h = var$5 - 1 | 0; if (var$5 > 0) break a; } $var17 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 100.0); $this.$field_4123_g = $var17; if ($var17 !== null) $this.$field_4122_h = 20; } $var17 = $this.$field_4123_g; if ($var17 !== null && nms_Entity_getDistanceSqToEntity($var17, $this) < 4096.0) { $var17 = $this.$field_4123_g; $var11 = $var17.$posX - $this.$posX; $var13 = $var17.$boundingBox.$minY0 + $var17.$height / 2.0 - ($this.$posY + $this.$height / 2.0); $var15 = $var17.$posZ - $this.$posZ; var$11 = -jl_Math_atan2($var11, $var15) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$11; $this.$field_735_n = var$11; $var17 = $this.$field_4123_g; $ptr = 3; continue main; } var$11 = -jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$11; $this.$field_735_n = var$11; var$5 = $this.$field_4124_f; if (var$5 > 0) $this.$field_4124_f = var$5 - 1 | 0; $this.$texture = $this.$field_4124_f <= 10 ? $rt_s(645) : $rt_s(646); return; case 1: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$field_4125_e = $this.$field_4124_f; $var1 = $this.$field_4120_b - $this.$posX; $var3 = $this.$field_4127_c - $this.$posY; $var5 = $this.$field_4126_d - $this.$posZ; $var7 = nms_MathHelper_sqrt_double($var1 * $var1 + $var3 * $var3 + $var5 * $var5); if (!($var7 >= 1.0 && $var7 <= 60.0)) { $this.$field_4120_b = $this.$posX + (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * 16.0; $this.$field_4127_c = $this.$posY + (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * 16.0; $this.$field_4126_d = $this.$posZ + (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * 16.0; } var$5 = $this.$field_4121_a; var$6 = var$5 - 1 | 0; $this.$field_4121_a = var$6; if (var$5 <= 0) { $this.$field_4121_a = var$6 + (ju_Random_nextInt($this.$rand2, 5) + 2 | 0) | 0; $var11 = $this.$field_4120_b; $var13 = $this.$field_4127_c; $var15 = $this.$field_4126_d; $ptr = 2; continue main; } $var17 = $this.$field_4123_g; if ($var17 !== null && $var17.$isDead) $this.$field_4123_g = null; b: { if ($this.$field_4123_g !== null) { var$5 = $this.$field_4122_h; $this.$field_4122_h = var$5 - 1 | 0; if (var$5 > 0) break b; } $var17 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 100.0); $this.$field_4123_g = $var17; if ($var17 !== null) $this.$field_4122_h = 20; } $var17 = $this.$field_4123_g; if ($var17 !== null && nms_Entity_getDistanceSqToEntity($var17, $this) < 4096.0) { $var17 = $this.$field_4123_g; $var11 = $var17.$posX - $this.$posX; $var13 = $var17.$boundingBox.$minY0 + $var17.$height / 2.0 - ($this.$posY + $this.$height / 2.0); $var15 = $var17.$posZ - $this.$posZ; var$11 = -jl_Math_atan2($var11, $var15) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$11; $this.$field_735_n = var$11; $var17 = $this.$field_4123_g; $ptr = 3; continue main; } var$11 = -jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$11; $this.$field_735_n = var$11; var$5 = $this.$field_4124_f; if (var$5 > 0) $this.$field_4124_f = var$5 - 1 | 0; $this.$texture = $this.$field_4124_f <= 10 ? $rt_s(645) : $rt_s(646); return; case 2: $tmp = nms_EntityGhast_func_4050_a($this, $var11, $var13, $var15, $var7); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { $this.$field_4120_b = $this.$posX; $this.$field_4127_c = $this.$posY; $this.$field_4126_d = $this.$posZ; } else { $this.$motionX = $this.$motionX + $var1 / $var7 * 0.1; $this.$motionY = $this.$motionY + $var3 / $var7 * 0.1; $this.$motionZ = $this.$motionZ + $var5 / $var7 * 0.1; } $var17 = $this.$field_4123_g; if ($var17 !== null && $var17.$isDead) $this.$field_4123_g = null; c: { if ($this.$field_4123_g !== null) { var$5 = $this.$field_4122_h; $this.$field_4122_h = var$5 - 1 | 0; if (var$5 > 0) break c; } $var17 = nms_World_getClosestPlayerToEntity($this.$worldObj0, $this, 100.0); $this.$field_4123_g = $var17; if ($var17 !== null) $this.$field_4122_h = 20; } $var17 = $this.$field_4123_g; if ($var17 !== null && nms_Entity_getDistanceSqToEntity($var17, $this) < 4096.0) { $var17 = $this.$field_4123_g; $var11 = $var17.$posX - $this.$posX; $var13 = $var17.$boundingBox.$minY0 + $var17.$height / 2.0 - ($this.$posY + $this.$height / 2.0); $var15 = $var17.$posZ - $this.$posZ; var$11 = -jl_Math_atan2($var11, $var15) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$11; $this.$field_735_n = var$11; $var17 = $this.$field_4123_g; $ptr = 3; continue main; } var$11 = -jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$11; $this.$field_735_n = var$11; var$5 = $this.$field_4124_f; if (var$5 > 0) $this.$field_4124_f = var$5 - 1 | 0; $this.$texture = $this.$field_4124_f <= 10 ? $rt_s(645) : $rt_s(646); return; case 3: $tmp = nms_EntityLiving_canEntityBeSeen($this, $var17); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { var$5 = $this.$field_4124_f; if (var$5 > 0) $this.$field_4124_f = var$5 - 1 | 0; } else { if ($this.$field_4124_f == 10) nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(647), 10.0, (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0); var$5 = $this.$field_4124_f + 1 | 0; $this.$field_4124_f = var$5; if (var$5 == 20) { nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(648), 10.0, (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0); $var17 = nms_EntityFireball__init_($this.$worldObj0, $this, $var11, $var13, $var15); $var20 = nms_EntityLiving_getLook($this, 1.0); $var17.$posX = $this.$posX + $var20.$xCoord * 4.0; $var17.$posY = $this.$posY + $this.$height / 2.0 + 0.5; $var17.$posZ = $this.$posZ + $var20.$zCoord * 4.0; $var20 = $this.$worldObj0; $ptr = 4; continue main; } } $this.$texture = $this.$field_4124_f <= 10 ? $rt_s(645) : $rt_s(646); return; case 4: nms_World_entityJoinedWorld($var20, $var17); if ($rt_suspending()) { break main; } $this.$field_4124_f = (-40); $this.$texture = $this.$field_4124_f <= 10 ? $rt_s(645) : $rt_s(646); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var7, var$5, var$6, $var11, $var13, $var15, $var17, var$11, $var20, $ptr); } function nms_EntityGhast_func_4050_a($this, $var1, $var3, $var5, $var7) { var $var9, $var11, $var13, $var15, $var16, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = ($this.$field_4120_b - $this.$posX) / $var7; $var11 = ($this.$field_4127_c - $this.$posY) / $var7; $var13 = ($this.$field_4126_d - $this.$posZ) / $var7; $var15 = nms_AxisAlignedBB_copy($this.$boundingBox); $var16 = 1; if ($var16 >= $var7) return 1; nms_AxisAlignedBB_offset($var15, $var9, $var11, $var13); var$10 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$10, $this, $var15); if ($rt_suspending()) { break main; } var$10 = $tmp; if (var$10.$size > 0) return 0; $var16 = $var16 + 1 | 0; if ($var16 >= $var7) return 1; nms_AxisAlignedBB_offset($var15, $var9, $var11, $var13); var$10 = $this.$worldObj0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var7, $var9, $var11, $var13, $var15, $var16, var$10, $ptr); } function nms_EntityGhast_getLivingSound($this) { return $rt_s(649); } function nms_EntityGhast_getHurtSound($this) { return $rt_s(650); } function nms_EntityGhast_getDeathSound($this) { return $rt_s(651); } function nms_EntityGhast_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_gunpowder.$shiftedIndex; } function nms_EntityGhast_getSoundVolume($this) { return 10.0; } function nms_EntityGhast_getCanSpawnHere($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: if (ju_Random_nextInt($this.$rand2, 20)) return 0; $ptr = 1; case 1: $tmp = nms_EntityLiving_getCanSpawnHere($this); if ($rt_suspending()) { break main; } var$1 = $tmp; return var$1 && $this.$worldObj0.$difficultySetting > 0 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function nms_EntityGhast_func_6391_i($this) { return 1; } var nms_RenderGhast = $rt_classWithoutFields(nms_RenderLiving); function nms_RenderGhast__init_0() { var var_0 = new nms_RenderGhast(); nms_RenderGhast__init_(var_0); return var_0; } function nms_RenderGhast__init_($this) { nms_RenderLiving__init_($this, nms_ModelGhast__init_0(), 0.5); } function nms_RenderGhast_func_6330_a($this, $var1, $var2) { var var$3, var$4; $var1 = $var1; var$3 = $var1.$field_4125_e; $var2 = (var$3 + ($var1.$field_4124_f - var$3 | 0) * $var2) / 20.0; if ($var2 < 0.0) $var2 = 0.0; $var2 = 1.0 / ($var2 * $var2 * $var2 * $var2 * $var2 * 2.0 + 1.0); var$4 = (8.0 + $var2) / 2.0; $var2 = (8.0 + 1.0 / $var2) / 2.0; olo_EaglerAdapterGL30_glScalef($var2, var$4, $var2); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); } var nms_RenderEntity = $rt_classWithoutFields(nms_Render); function nms_RenderEntity__init_0() { var var_0 = new nms_RenderEntity(); nms_RenderEntity__init_(var_0); return var_0; } function nms_RenderEntity__init_($this) { nms_Render__init_($this); } function nms_RenderEntity_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { olo_EaglerAdapterGL30_glPushMatrix(); nms_Render_renderOffsetAABB($var1.$boundingBox, $var2 - $var1.$lastTickPosX, $var4 - $var1.$lastTickPosY, $var6 - $var1.$lastTickPosZ); olo_EaglerAdapterGL30_glPopMatrix(); } function nms_EntityPainting() { var a = this; nms_Entity.call(a); a.$field_695_c = 0; a.$field_691_a = 0; a.$field_9322_d = 0; a.$field_9321_e = 0; a.$field_9320_f = 0; a.$field_690_b = null; } function nms_EntityPainting__init_(var_0) { var var_1 = new nms_EntityPainting(); nms_EntityPainting__init_0(var_1, var_0); return var_1; } function nms_EntityPainting__init_0($this, $var1) { nms_Entity__init_($this, $var1); $this.$field_695_c = 0; $this.$field_691_a = 0; $this.$yOffset = 0.0; nms_Entity_setSize($this, 0.5, 0.5); } function nms_EntityPainting_func_412_b($this, $var1) { var $var4, var$3, var$4, $var3, $var9, var$7, var$8, $var5, $var6, $var7, var$12, var$13, var$14; $this.$field_691_a = $var1; $var4 = $var1 * 90 | 0; $this.$rotationYaw = $var4; $this.$prevRotationYaw = $var4; var$3 = $this.$field_690_b; var$4 = var$3.$field_1623_z; $var4 = var$4; $var3 = var$3.$field_1636_A; if ($var1 && $var1 != 2) { $var9 = $var4; $var4 = 0.5; } else $var9 = 0.5; $var4 = $var4 / 32.0; var$7 = $var3 / 32.0; var$8 = $var9 / 32.0; $var5 = $this.$field_9322_d + 0.5; $var6 = $this.$field_9321_e + 0.5; $var7 = $this.$field_9320_f + 0.5; if (!$var1) $var7 = $var7 - 0.5625; var$12 = $rt_compare($var1, 1); if (!var$12) $var5 = $var5 - 0.5625; var$13 = $rt_compare($var1, 2); if (!var$13) $var7 = $var7 + 0.5625; var$14 = $rt_compare($var1, 3); if (!var$14) $var5 = $var5 + 0.5625; if (!$var1) $var5 = $var5 - nms_EntityPainting_func_411_c($this, var$4); if (!var$12) $var7 = $var7 + nms_EntityPainting_func_411_c($this, $this.$field_690_b.$field_1623_z); if (!var$13) $var5 = $var5 + nms_EntityPainting_func_411_c($this, $this.$field_690_b.$field_1623_z); if (!var$14) $var7 = $var7 - nms_EntityPainting_func_411_c($this, $this.$field_690_b.$field_1623_z); $var3 = $var6 + nms_EntityPainting_func_411_c($this, $this.$field_690_b.$field_1636_A); nms_Entity_setPosition($this, $var5, $var3, $var7); nms_AxisAlignedBB_setBounds($this.$boundingBox, $var5 - $var4 + 0.0062500000931322575, $var3 - var$7 + 0.0062500000931322575, $var7 - var$8 + 0.0062500000931322575, $var5 + $var4 + (-0.0062500000931322575), $var3 + var$7 + (-0.0062500000931322575), $var7 + var$8 + (-0.0062500000931322575)); } function nms_EntityPainting_func_411_c($this, $var1) { return $var1 == 32 ? 0.5 : $var1 != 64 ? 0.0 : 0.5; } function nms_EntityPainting_onUpdate($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$field_695_c; $this.$field_695_c = var$1 + 1 | 0; if (var$1 != 100) return; $ptr = 1; case 1: $tmp = nms_EntityPainting_func_410_i($this); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2) return; $this.$field_695_c = 0; $ptr = 2; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } var$3 = $this.$worldObj0; var$4 = new nms_EntityItem; var$5 = $this.$posX; var$6 = $this.$posY; var$7 = $this.$posZ; var$8 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$8, nms_Item_painting); nms_EntityItem__init_0(var$4, var$3, var$5, var$6, var$7, var$8); $ptr = 3; case 3: nms_World_entityJoinedWorld(var$3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); } function nms_EntityPainting_func_410_i($this) { var $var8, $var9, $var7, $var1, $var2, $var3, $var5, var$8, $var6, $var7_0, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var7_0 = $thread.pop();$var6 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $this.$worldObj0; $var9 = $this.$boundingBox; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var8, $this, $var9); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8.$size > 0) return 0; $var8 = $this.$field_690_b; $var7 = $var8.$field_1623_z; $var1 = $var7 / 16 | 0; $var2 = $var8.$field_1636_A / 16 | 0; $var3 = $this.$field_9322_d; $var5 = $this.$field_9320_f; if (!$this.$field_691_a) $var3 = nms_MathHelper_floor_double($this.$posX - $var7 / 32.0); if ($this.$field_691_a == 1) $var5 = nms_MathHelper_floor_double($this.$posZ - $this.$field_690_b.$field_1623_z / 32.0); if ($this.$field_691_a == 2) $var3 = nms_MathHelper_floor_double($this.$posX - $this.$field_690_b.$field_1623_z / 32.0); if ($this.$field_691_a == 3) $var5 = nms_MathHelper_floor_double($this.$posZ - $this.$field_690_b.$field_1623_z / 32.0); var$8 = nms_MathHelper_floor_double($this.$posY - $this.$field_690_b.$field_1636_A / 32.0); $var6 = 0; while ($var6 < $var1) { $var7_0 = 0; if ($var7_0 < $var2) { var$11 = $this.$field_691_a; if (var$11 && var$11 != 2) { $var8 = $this.$worldObj0; $var7 = $this.$field_9322_d; var$11 = var$8 + $var7_0 | 0; var$12 = $var5 + $var6 | 0; $ptr = 4; continue main; } $var8 = $this.$worldObj0; $var7 = $var3 + $var6 | 0; var$11 = var$8 + $var7_0 | 0; var$12 = $this.$field_9320_f; $ptr = 3; continue main; } $var6 = $var6 + 1 | 0; } $var8 = $this.$worldObj0; $var9 = $this.$boundingBox; $ptr = 2; case 2: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var8, $this, $var9); if ($rt_suspending()) { break main; } $var9 = $tmp; $var7 = 0; while ($var7 < $var9.$size) { if (ju_ArrayList_get($var9, $var7) instanceof nms_EntityPainting) return 0; $var7 = $var7 + 1 | 0; } return 1; case 3: $tmp = nms_World_getBlockMaterial($var8, $var7, var$11, var$12); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8.$func_878_a()) return 0; $var7_0 = $var7_0 + 1 | 0; while (true) { if ($var7_0 < $var2) { var$11 = $this.$field_691_a; if (var$11 && var$11 != 2) { $var8 = $this.$worldObj0; $var7 = $this.$field_9322_d; var$11 = var$8 + $var7_0 | 0; var$12 = $var5 + $var6 | 0; $ptr = 4; continue main; } $var8 = $this.$worldObj0; $var7 = $var3 + $var6 | 0; var$11 = var$8 + $var7_0 | 0; var$12 = $this.$field_9320_f; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= $var1) break; $var7_0 = 0; } $var8 = $this.$worldObj0; $var9 = $this.$boundingBox; $ptr = 2; continue main; case 4: $tmp = nms_World_getBlockMaterial($var8, $var7, var$11, var$12); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8.$func_878_a()) return 0; $var7_0 = $var7_0 + 1 | 0; while (true) { if ($var7_0 < $var2) { var$11 = $this.$field_691_a; if (var$11 && var$11 != 2) { $var8 = $this.$worldObj0; $var7 = $this.$field_9322_d; var$11 = var$8 + $var7_0 | 0; var$12 = $var5 + $var6 | 0; continue main; } $var8 = $this.$worldObj0; $var7 = $var3 + $var6 | 0; var$11 = var$8 + $var7_0 | 0; var$12 = $this.$field_9320_f; $ptr = 3; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= $var1) break; $var7_0 = 0; } $var8 = $this.$worldObj0; $var9 = $this.$boundingBox; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var8, $var9, $var7, $var1, $var2, $var3, $var5, var$8, $var6, $var7_0, var$11, var$12, $ptr); } function nms_EntityPainting_canBeCollidedWith($this) { return 1; } function nms_EntityPainting_canAttackEntity($this, $var1, $var2) { var var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } nms_Entity_func_9281_M($this); var$3 = $this.$worldObj0; $var1 = new nms_EntityItem; var$4 = $this.$posX; var$5 = $this.$posY; var$6 = $this.$posZ; var$7 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$7, nms_Item_painting); nms_EntityItem__init_0($var1, var$3, var$4, var$5, var$6, var$7); $ptr = 2; case 2: nms_World_entityJoinedWorld(var$3, $var1); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_EntityPainting_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setByte($var1, $rt_s(652), $this.$field_691_a << 24 >> 24); nms_NBTTagCompound_setString($var1, $rt_s(653), $this.$field_690_b.$field_1624_y); nms_NBTTagCompound_setInteger($var1, $rt_s(654), $this.$field_9322_d); nms_NBTTagCompound_setInteger($var1, $rt_s(655), $this.$field_9321_e); nms_NBTTagCompound_setInteger($var1, $rt_s(656), $this.$field_9320_f); } function nms_EntityPainting_readEntityFromNBT($this, $var1) { var $var2, $var3, $var4, $var5, $var6; $this.$field_691_a = nms_NBTTagCompound_getByte($var1, $rt_s(652)); $this.$field_9322_d = nms_NBTTagCompound_getInteger($var1, $rt_s(654)); $this.$field_9321_e = nms_NBTTagCompound_getInteger($var1, $rt_s(655)); $this.$field_9320_f = nms_NBTTagCompound_getInteger($var1, $rt_s(656)); $var2 = nms_NBTTagCompound_getString($var1, $rt_s(653)); $var3 = (nms_EnumArt_values()).data; $var4 = $var3.length; $var5 = 0; while ($var5 < $var4) { $var6 = $var3[$var5]; if (jl_String_equals($var6.$field_1624_y, $var2)) $this.$field_690_b = $var6; $var5 = $var5 + 1 | 0; } if ($this.$field_690_b === null) $this.$field_690_b = nms_EnumArt_Kebab; nms_EntityPainting_func_412_b($this, $this.$field_691_a); } function nms_RenderPainting() { nms_Render.call(this); this.$rand3 = null; } function nms_RenderPainting__init_0() { var var_0 = new nms_RenderPainting(); nms_RenderPainting__init_(var_0); return var_0; } function nms_RenderPainting__init_($this) { nms_Render__init_($this); $this.$rand3 = new ju_Random; } function nms_RenderPainting_func_159_a($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var10, var$9, var$10, var$11, var$12, $var12, var$14, $var13, $var11, $var14, $var11_0, $var15, $var17, $var18, var$22, var$23, var$24, $var32, $var16, $var19, var$28, var$29, var$30, var$31, var$32, var$33, var$34, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();$var19 = $thread.pop();$var16 = $thread.pop();$var32 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var11_0 = $thread.pop();$var14 = $thread.pop();$var11 = $thread.pop();$var13 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = ( -$var2 | 0) / 2.0; $var7 = ( -$var3 | 0) / 2.0; $var10 = 0; var$9 = $var2 / 16 | 0; var$10 = $var3 / 16 | 0; var$11 = $var4 + $var2 | 0; var$12 = $var5 + $var3 | 0; while ($var10 < var$9) { if (0 < var$10) { $var2 = ($var10 + 1 | 0) * 16 | 0; $var12 = $var6 + $var2; var$14 = $var10 * 16 | 0; $var13 = $var6 + var$14; $var11 = 0 + 1 | 0; $var5 = $var11 * 16 | 0; $var14 = $var7 + $var5; $var11_0 = 0 * 16 | 0; $var15 = $var7 + $var11_0; $var17 = ($var12 + $var13) / 2.0; $var18 = ($var14 + $var15) / 2.0; var$22 = nms_MathHelper_floor_double($var1.$posX); var$23 = nms_MathHelper_floor_double($var1.$posY + $var18 / 16.0); var$24 = nms_MathHelper_floor_double($var1.$posZ); if (!$var1.$field_691_a) var$22 = nms_MathHelper_floor_double($var1.$posX + $var17 / 16.0); if ($var1.$field_691_a == 1) var$24 = nms_MathHelper_floor_double($var1.$posZ - $var17 / 16.0); if ($var1.$field_691_a == 2) var$22 = nms_MathHelper_floor_double($var1.$posX - $var17 / 16.0); if ($var1.$field_691_a == 3) var$24 = nms_MathHelper_floor_double($var1.$posZ + $var17 / 16.0); $var32 = $this.$renderManager.$worldObj2; $ptr = 1; continue main; } $var10 = $var10 + 1 | 0; } return; case 1: $tmp = nms_World_getLightBrightness($var32, var$22, var$23, var$24); if ($rt_suspending()) { break main; } $var16 = $tmp; olo_EaglerAdapterGL30_glColor3f($var16, $var16, $var16); $var16 = (var$11 - var$14 | 0) / 256.0; $var17 = (var$11 - $var2 | 0) / 256.0; $var18 = (var$12 - $var11_0 | 0) / 256.0; $var19 = (var$12 - $var5 | 0) / 256.0; nms_Tessellator_$callClinit(); $var32 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var32); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, (-1.0)); var$28 = $var12; var$29 = $var15; var$30 = $var17; var$31 = $var18; nms_Tessellator_addVertexWithUV($var32, var$28, var$29, (-0.5), var$30, var$31); var$32 = $var13; var$33 = $var16; nms_Tessellator_addVertexWithUV($var32, var$32, var$29, (-0.5), var$33, var$31); var$31 = $var14; var$34 = $var19; nms_Tessellator_addVertexWithUV($var32, var$32, var$31, (-0.5), var$33, var$34); nms_Tessellator_addVertexWithUV($var32, var$28, var$31, (-0.5), var$30, var$34); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, 1.0); nms_Tessellator_addVertexWithUV($var32, var$28, var$31, 0.5, 0.75, 0.0); nms_Tessellator_addVertexWithUV($var32, var$32, var$31, 0.5, 0.8125, 0.0); nms_Tessellator_addVertexWithUV($var32, var$32, var$29, 0.5, 0.8125, 0.0625); nms_Tessellator_addVertexWithUV($var32, var$28, var$29, 0.5, 0.75, 0.0625); olo_EaglerAdapterGL30_glNormal3f(0.0, (-1.0), 0.0); nms_Tessellator_addVertexWithUV($var32, var$28, var$31, (-0.5), 0.75, 0.001953125); nms_Tessellator_addVertexWithUV($var32, var$32, var$31, (-0.5), 0.8125, 0.001953125); nms_Tessellator_addVertexWithUV($var32, var$32, var$31, 0.5, 0.8125, 0.001953125); nms_Tessellator_addVertexWithUV($var32, var$28, var$31, 0.5, 0.75, 0.001953125); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); nms_Tessellator_addVertexWithUV($var32, var$28, var$29, 0.5, 0.75, 0.001953125); nms_Tessellator_addVertexWithUV($var32, var$32, var$29, 0.5, 0.8125, 0.001953125); nms_Tessellator_addVertexWithUV($var32, var$32, var$29, (-0.5), 0.8125, 0.001953125); nms_Tessellator_addVertexWithUV($var32, var$28, var$29, (-0.5), 0.75, 0.001953125); olo_EaglerAdapterGL30_glNormal3f((-1.0), 0.0, 0.0); nms_Tessellator_addVertexWithUV($var32, var$28, var$31, 0.5, 0.751953125, 0.0); nms_Tessellator_addVertexWithUV($var32, var$28, var$29, 0.5, 0.751953125, 0.0625); nms_Tessellator_addVertexWithUV($var32, var$28, var$29, (-0.5), 0.751953125, 0.0625); nms_Tessellator_addVertexWithUV($var32, var$28, var$31, (-0.5), 0.751953125, 0.0); olo_EaglerAdapterGL30_glNormal3f(1.0, 0.0, 0.0); nms_Tessellator_addVertexWithUV($var32, var$32, var$31, (-0.5), 0.751953125, 0.0); nms_Tessellator_addVertexWithUV($var32, var$32, var$29, (-0.5), 0.751953125, 0.0625); nms_Tessellator_addVertexWithUV($var32, var$32, var$29, 0.5, 0.751953125, 0.0625); nms_Tessellator_addVertexWithUV($var32, var$32, var$31, 0.5, 0.751953125, 0.0); nms_Tessellator_draw($var32); $var11_0 = $var11; while (true) { if ($var11_0 < var$10) { $var2 = ($var10 + 1 | 0) * 16 | 0; $var12 = $var6 + $var2; var$14 = $var10 * 16 | 0; $var13 = $var6 + var$14; $var11 = $var11_0 + 1 | 0; $var5 = $var11 * 16 | 0; $var14 = $var7 + $var5; $var11_0 = $var11_0 * 16 | 0; $var15 = $var7 + $var11_0; $var17 = ($var12 + $var13) / 2.0; $var18 = ($var14 + $var15) / 2.0; var$22 = nms_MathHelper_floor_double($var1.$posX); var$23 = nms_MathHelper_floor_double($var1.$posY + $var18 / 16.0); var$24 = nms_MathHelper_floor_double($var1.$posZ); if (!$var1.$field_691_a) var$22 = nms_MathHelper_floor_double($var1.$posX + $var17 / 16.0); if ($var1.$field_691_a == 1) var$24 = nms_MathHelper_floor_double($var1.$posZ - $var17 / 16.0); if ($var1.$field_691_a == 2) var$22 = nms_MathHelper_floor_double($var1.$posX - $var17 / 16.0); if ($var1.$field_691_a == 3) var$24 = nms_MathHelper_floor_double($var1.$posZ + $var17 / 16.0); $var32 = $this.$renderManager.$worldObj2; continue main; } $var10 = $var10 + 1 | 0; if ($var10 >= var$9) break; $var11_0 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var10, var$9, var$10, var$11, var$12, $var12, var$14, $var13, $var11, $var14, $var11_0, $var15, $var17, $var18, var$22, var$23, var$24, $var32, $var16, $var19, var$28, var$29, var$30, var$31, var$32, var$33, var$34, $ptr); } function nms_RenderPainting_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, var$8, var$9, 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();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); olo_EaglerAdapterGL30_glRotatef($var8, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glEnable(32826); var$7 = $rt_s(657); $ptr = 1; case 1: nms_Render_loadTexture($this, var$7); if ($rt_suspending()) { break main; } var$7 = $var1.$field_690_b; olo_EaglerAdapterGL30_glScalef(0.0625, 0.0625, 0.0625); var$8 = var$7.$field_1623_z; var$9 = var$7.$field_1636_A; var$10 = var$7.$field_1634_B; var$11 = var$7.$field_1632_C; $ptr = 2; case 2: nms_RenderPainting_func_159_a($this, $var1, var$8, var$9, var$10, var$11); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, var$8, var$9, var$10, var$11, $ptr); } function nms_EntityArrow() { var a = this; nms_Entity.call(a); a.$xTile = 0; a.$yTile = 0; a.$zTile = 0; a.$inTile = 0; a.$inGround = 0; a.$arrowShake = 0; a.$field_682_g = null; a.$field_681_h = 0; a.$field_680_i = 0; } function nms_EntityArrow__init_(var_0, var_1) { var var_2 = new nms_EntityArrow(); nms_EntityArrow__init_0(var_2, var_0, var_1); return var_2; } function nms_EntityArrow__init_0($this, $var1, $var2) { var var$3; nms_Entity__init_($this, $var1); $this.$xTile = (-1); $this.$yTile = (-1); $this.$zTile = (-1); $this.$inTile = 0; $this.$inGround = 0; $this.$arrowShake = 0; $this.$field_680_i = 0; $this.$field_682_g = $var2; nms_Entity_setSize($this, 0.5, 0.5); nms_Entity_setLocationAndAngles($this, $var2.$posX, $var2.$posY + $var2.$func_373_s(), $var2.$posZ, $var2.$rotationYaw, $var2.$rotationPitch); $this.$posX = $this.$posX - nms_MathHelper_cos($this.$rotationYaw / 180.0 * 3.1415927410125732) * 0.1599999964237213; $this.$posY = $this.$posY - 0.10000000149011612; var$3 = $this.$posZ - nms_MathHelper_sin($this.$rotationYaw / 180.0 * 3.1415927410125732) * 0.1599999964237213; $this.$posZ = var$3; nms_Entity_setPosition($this, $this.$posX, $this.$posY, var$3); $this.$yOffset = 0.0; $this.$motionX = -nms_MathHelper_sin($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732); $this.$motionZ = nms_MathHelper_cos($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732); var$3 = -nms_MathHelper_sin($this.$rotationPitch / 180.0 * 3.1415927410125732); $this.$motionY = var$3; nms_EntityArrow_func_408_a($this, $this.$motionX, var$3, $this.$motionZ, 1.5, 1.0); } function nms_EntityArrow_func_408_a($this, $var1, $var3, $var5, $var7, $var8) { var var$6, var$7, $var10; var$6 = nms_MathHelper_sqrt_double($var1 * $var1 + $var3 * $var3 + $var5 * $var5); $var1 = $var1 / var$6; $var3 = $var3 / var$6; $var5 = $var5 / var$6; var$6 = ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937; var$7 = $var8; $var1 = $var1 + var$6 * var$7; $var3 = $var3 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * var$7; $var5 = $var5 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * var$7; var$6 = $var7; $var1 = $var1 * var$6; $var3 = $var3 * var$6; $var5 = $var5 * var$6; $this.$motionX = $var1; $this.$motionY = $var3; $this.$motionZ = $var5; $var10 = nms_MathHelper_sqrt_double($var1 * $var1 + $var5 * $var5); $var7 = jl_Math_atan2($var1, $var5) * 180.0 / 3.1415927410125732; $this.$rotationYaw = $var7; $this.$prevRotationYaw = $var7; $var7 = jl_Math_atan2($var3, $var10) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var7; $this.$prevRotationPitch = $var7; $this.$field_681_h = 0; } function nms_EntityArrow_onUpdate($this) { var $var6, $var13, $var1, $var17, $var15, $var16, $var8, $var19, $var2, $var3, $var4, $var5, $var9, $var12, var$15, $var18, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var18 = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var19 = $thread.pop();$var8 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var17 = $thread.pop();$var1 = $thread.pop();$var13 = $thread.pop();$var6 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$prevRotationPitch === 0.0 && $this.$prevRotationYaw === 0.0) { $var6 = $this.$motionX; $var6 = $var6 * $var6; $var13 = $this.$motionZ; $var1 = nms_MathHelper_sqrt_double($var6 + $var13 * $var13); $var17 = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $this.$rotationYaw = $var17; $this.$prevRotationYaw = $var17; $var17 = jl_Math_atan2($this.$motionY, $var1) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var17; $this.$prevRotationPitch = $var17; } $var15 = $this.$arrowShake; if ($var15 > 0) $this.$arrowShake = $var15 - 1 | 0; if ($this.$inGround) { $var16 = $this.$worldObj0; $var15 = $this.$xTile; $var8 = $this.$yTile; $var19 = $this.$zTile; $ptr = 2; continue main; } $this.$field_680_i = $this.$field_680_i + 1 | 0; $var16 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var3 = $this.$worldObj0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($var16, $var15, $var8, $var19); if ($rt_suspending()) { break main; } $var15 = $tmp; if ($var15 == $this.$inTile) { $var15 = $this.$field_681_h + 1 | 0; $this.$field_681_h = $var15; if ($var15 != 1200) return; $ptr = 4; continue main; } $this.$inGround = 0; $this.$motionX = $this.$motionX * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionY = $this.$motionY * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionZ = $this.$motionZ * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$field_681_h = 0; $this.$field_680_i = 0; $var16 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var3 = $this.$worldObj0; $ptr = 3; case 3: $tmp = nms_World_rayTraceBlocks($var3, $var16, $var2); if ($rt_suspending()) { break main; } $var3 = $tmp; $var16 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var3 !== null) { $var2 = $var3.$hitVec; $var2 = nms_Vec3D_createVector($var2.$xCoord, $var2.$yCoord, $var2.$zCoord); } $var4 = null; $var5 = $this.$worldObj0; $var9 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ), 1.0, 1.0, 1.0); $ptr = 5; continue main; case 4: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; case 5: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var5, $this, $var9); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = 0.0; $var8 = 0; while ($var8 < ju_ArrayList_size($var5)) { $var9 = ju_ArrayList_get($var5, $var8); if ($var9.$canBeCollidedWith() && !($var9 === $this.$field_682_g && $this.$field_680_i < 5)) { $var12 = nms_AxisAlignedBB_func_1169_a(nms_AxisAlignedBB_expands($var9.$boundingBox, 0.30000001192092896, 0.30000001192092896, 0.30000001192092896), $var16, $var2); if ($var12 !== null) { $var13 = nms_Vec3D_distanceTo($var16, $var12.$hitVec); if (!($var13 >= $var6 && $var6 !== 0.0)) { $var4 = $var9; $var6 = $var13; } } } $var8 = $var8 + 1 | 0; } if ($var4 !== null) $var3 = nms_MovingObjectPosition__init_($var4); if ($var3 !== null) { $var16 = $var3.$entityHit; if ($var16 !== null) { $var2 = $this.$field_682_g; $var15 = 4; $ptr = 7; continue main; } $var15 = $var3.$blockX; $this.$xTile = $var15; $var8 = $var3.$blockY; $this.$yTile = $var8; $var19 = $var3.$blockZ; $this.$zTile = $var19; $var16 = $this.$worldObj0; $ptr = 6; continue main; } $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$15 = $this.$motionZ; $this.$posZ = $var6 + var$15; $var17 = nms_MathHelper_sqrt_double($var13 * $var13 + var$15 * var$15); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; $var1 = $var17 - $var18; if ($var1 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$17 = $this.$prevRotationYaw; if ($var17 - var$17 >= (-180.0)) break; $this.$prevRotationYaw = var$17 - 360.0; } while (true) { var$17 = $this.$prevRotationYaw; var$18 = $var17 - var$17; if (var$18 < 180.0) break; $this.$prevRotationYaw = var$17 + 360.0; } $this.$rotationPitch = $var18 + $var1 * 0.20000000298023224; $this.$rotationYaw = var$17 + var$18 * 0.20000000298023224; $var18 = 0.9900000095367432; $ptr = 9; continue main; case 6: $tmp = nms_World_getBlockId($var16, $var15, $var8, $var19); if ($rt_suspending()) { break main; } $var15 = $tmp; $this.$inTile = $var15; $var16 = $var3.$hitVec; $var6 = $var16.$xCoord - $this.$posX; $this.$motionX = $var6; $var13 = $var16.$yCoord - $this.$posY; $this.$motionY = $var13; var$15 = $var16.$zCoord - $this.$posZ; $this.$motionZ = var$15; $var17 = nms_MathHelper_sqrt_double($var6 * $var6 + $var13 * $var13 + var$15 * var$15); $var6 = $this.$posX; $var13 = $this.$motionX; var$15 = $var17; $this.$posX = $var6 - $var13 / var$15 * 0.05000000074505806; $this.$posY = $this.$posY - $this.$motionY / var$15 * 0.05000000074505806; $this.$posZ = $this.$posZ - $this.$motionZ / var$15 * 0.05000000074505806; nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(658), 1.0, 1.2000000476837158 / (ju_Random_nextFloat($this.$rand2) * 0.20000000298023224 + 0.8999999761581421)); $this.$inGround = 1; $this.$arrowShake = 7; $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$15 = $this.$motionZ; $this.$posZ = $var6 + var$15; $var17 = nms_MathHelper_sqrt_double($var13 * $var13 + var$15 * var$15); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; $var1 = $var17 - $var18; if ($var1 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$17 = $this.$prevRotationYaw; if ($var17 - var$17 >= (-180.0)) break; $this.$prevRotationYaw = var$17 - 360.0; } while (true) { var$17 = $this.$prevRotationYaw; var$18 = $var17 - var$17; if (var$18 < 180.0) break; $this.$prevRotationYaw = var$17 + 360.0; } $this.$rotationPitch = $var18 + $var1 * 0.20000000298023224; $this.$rotationYaw = var$17 + var$18 * 0.20000000298023224; $var18 = 0.9900000095367432; $ptr = 9; continue main; case 7: $tmp = $var16.$canAttackEntity($var2, $var15); if ($rt_suspending()) { break main; } $var15 = $tmp; if ($var15) { nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(658), 1.0, 1.2000000476837158 / (ju_Random_nextFloat($this.$rand2) * 0.20000000298023224 + 0.8999999761581421)); $ptr = 8; continue main; } $this.$motionX = $this.$motionX * (-0.10000000149011612); $this.$motionY = $this.$motionY * (-0.10000000149011612); $this.$motionZ = $this.$motionZ * (-0.10000000149011612); $this.$rotationYaw = $this.$rotationYaw + 180.0; $this.$prevRotationYaw = $this.$prevRotationYaw + 180.0; $this.$field_680_i = 0; $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$15 = $this.$motionZ; $this.$posZ = $var6 + var$15; $var17 = nms_MathHelper_sqrt_double($var13 * $var13 + var$15 * var$15); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; $var1 = $var17 - $var18; if ($var1 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$17 = $this.$prevRotationYaw; if ($var17 - var$17 >= (-180.0)) break; $this.$prevRotationYaw = var$17 - 360.0; } while (true) { var$17 = $this.$prevRotationYaw; var$18 = $var17 - var$17; if (var$18 < 180.0) break; $this.$prevRotationYaw = var$17 + 360.0; } $this.$rotationPitch = $var18 + $var1 * 0.20000000298023224; $this.$rotationYaw = var$17 + var$18 * 0.20000000298023224; $var18 = 0.9900000095367432; $ptr = 9; continue main; case 8: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$15 = $this.$motionZ; $this.$posZ = $var6 + var$15; $var17 = nms_MathHelper_sqrt_double($var13 * $var13 + var$15 * var$15); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; $var1 = $var17 - $var18; if ($var1 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$17 = $this.$prevRotationYaw; if ($var17 - var$17 >= (-180.0)) break; $this.$prevRotationYaw = var$17 - 360.0; } while (true) { var$17 = $this.$prevRotationYaw; var$18 = $var17 - var$17; if (var$18 < 180.0) break; $this.$prevRotationYaw = var$17 + 360.0; } $this.$rotationPitch = $var18 + $var1 * 0.20000000298023224; $this.$rotationYaw = var$17 + var$18 * 0.20000000298023224; $var18 = 0.9900000095367432; $ptr = 9; case 9: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var15 = $tmp; if ($var15) { $var19 = 0; while ($var19 < 4) { $var16 = $this.$worldObj0; $var6 = $this.$posX; var$19 = $this.$motionX; var$20 = $var6 - var$19 * 0.25; $var13 = $this.$posY; var$21 = $this.$motionY; $var6 = $var13 - var$21 * 0.25; $var13 = $this.$posZ; var$15 = $this.$motionZ; nms_World_spawnParticle($var16, $rt_s(487), var$20, $var6, $var13 - var$15 * 0.25, var$19, var$21, var$15); $var19 = $var19 + 1 | 0; } $var18 = 0.800000011920929; } $var6 = $this.$motionX; $var13 = $var18; $this.$motionX = $var6 * $var13; $var6 = $this.$motionY * $var13; $this.$motionY = $var6; $this.$motionZ = $this.$motionZ * $var13; $this.$motionY = $var6 - 0.029999999329447746; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var6, $var13, $var1, $var17, $var15, $var16, $var8, $var19, $var2, $var3, $var4, $var5, $var9, $var12, var$15, $var18, var$17, var$18, var$19, var$20, var$21, $ptr); } function nms_EntityArrow_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setShort($var1, $rt_s(659), $this.$xTile << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(660), $this.$yTile << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(661), $this.$zTile << 16 >> 16); nms_NBTTagCompound_setByte($var1, $rt_s(662), $this.$inTile << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(663), $this.$arrowShake << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(664), (!$this.$inGround ? 0 : 1) << 24 >> 24); } function nms_EntityArrow_readEntityFromNBT($this, $var1) { $this.$xTile = nms_NBTTagCompound_getShort($var1, $rt_s(659)); $this.$yTile = nms_NBTTagCompound_getShort($var1, $rt_s(660)); $this.$zTile = nms_NBTTagCompound_getShort($var1, $rt_s(661)); $this.$inTile = nms_NBTTagCompound_getByte($var1, $rt_s(662)) & 255; $this.$arrowShake = nms_NBTTagCompound_getByte($var1, $rt_s(663)) & 255; $this.$inGround = nms_NBTTagCompound_getByte($var1, $rt_s(664)) != 1 ? 0 : 1; } function nms_EntityArrow_onCollideWithPlayer($this, $var1) { var var$2, var$3; if ($this.$inGround && $this.$field_682_g === $var1 && $this.$arrowShake <= 0) { var$2 = $var1.$inventory0; var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_12(var$3, nms_Item_arrow.$shiftedIndex, 1); if (nms_InventoryPlayer_addItemStackToInventory(var$2, var$3)) { nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(665), 0.20000000298023224, ((ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.699999988079071 + 1.0) * 2.0); nms_EntityPlayerSP_func_443_a_($var1, $this, 1); nms_Entity_setEntityDead($this); } } } function nms_EntityArrow_func_392_h_($this) { return 0.0; } var nms_RenderArrow = $rt_classWithoutFields(nms_Render); function nms_RenderArrow__init_0() { var var_0 = new nms_RenderArrow(); nms_RenderArrow__init_(var_0); return var_0; } function nms_RenderArrow__init_($this) { nms_Render__init_($this); } function nms_RenderArrow_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $var10, $var21, $var23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var23 = $thread.pop();$var21 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $rt_s(666); $ptr = 1; case 1: nms_Render_loadTexture($this, $var10); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); $var8 = $var1.$prevRotationYaw; olo_EaglerAdapterGL30_glRotatef($var8 + ($var1.$rotationYaw - $var8) * $var9 - 90.0, 0.0, 1.0, 0.0); $var8 = $var1.$prevRotationPitch; olo_EaglerAdapterGL30_glRotatef($var8 + ($var1.$rotationPitch - $var8) * $var9, 0.0, 0.0, 1.0); nms_Tessellator_$callClinit(); $var10 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glEnable(32826); $var21 = $var1.$arrowShake - $var9; if ($var21 > 0.0) olo_EaglerAdapterGL30_glRotatef( -nms_MathHelper_sin($var21 * 3.0) * $var21, 0.0, 0.0, 1.0); olo_EaglerAdapterGL30_glRotatef(45.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glScalef(0.05624999850988388, 0.05624999850988388, 0.05624999850988388); olo_EaglerAdapterGL30_glTranslatef((-4.0), 0.0, 0.0); olo_EaglerAdapterGL30_glNormal3f(0.05624999850988388, 0.0, 0.0); nms_Tessellator_startDrawingQuads($var10); nms_Tessellator_addVertexWithUV($var10, (-7.0), (-2.0), (-2.0), 0.0, 0.15625); nms_Tessellator_addVertexWithUV($var10, (-7.0), (-2.0), 2.0, 0.15625, 0.15625); nms_Tessellator_addVertexWithUV($var10, (-7.0), 2.0, 2.0, 0.15625, 0.3125); nms_Tessellator_addVertexWithUV($var10, (-7.0), 2.0, (-2.0), 0.0, 0.3125); nms_Tessellator_draw($var10); olo_EaglerAdapterGL30_glNormal3f((-0.05624999850988388), 0.0, 0.0); nms_Tessellator_startDrawingQuads($var10); nms_Tessellator_addVertexWithUV($var10, (-7.0), 2.0, (-2.0), 0.0, 0.15625); nms_Tessellator_addVertexWithUV($var10, (-7.0), 2.0, 2.0, 0.15625, 0.15625); nms_Tessellator_addVertexWithUV($var10, (-7.0), (-2.0), 2.0, 0.15625, 0.3125); nms_Tessellator_addVertexWithUV($var10, (-7.0), (-2.0), (-2.0), 0.0, 0.3125); nms_Tessellator_draw($var10); $var23 = 0; while ($var23 < 4) { olo_EaglerAdapterGL30_glRotatef(90.0, 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, 0.05624999850988388); nms_Tessellator_startDrawingQuads($var10); nms_Tessellator_addVertexWithUV($var10, (-8.0), (-2.0), 0.0, 0.0, 0.0); nms_Tessellator_addVertexWithUV($var10, 8.0, (-2.0), 0.0, 0.5, 0.0); nms_Tessellator_addVertexWithUV($var10, 8.0, 2.0, 0.0, 0.5, 0.15625); nms_Tessellator_addVertexWithUV($var10, (-8.0), 2.0, 0.0, 0.0, 0.15625); nms_Tessellator_draw($var10); $var23 = $var23 + 1 | 0; } olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var21, $var23, $ptr); } function nms_RenderArrow_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderArrow_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_EntitySnowball() { var a = this; nms_Entity.call(a); a.$field_816_b = 0; a.$field_815_c = 0; a.$field_814_d = 0; a.$field_813_e = 0; a.$field_812_f = 0; a.$field_817_a = 0; a.$field_811_g = null; a.$field_810_h = 0; a.$field_809_i = 0; } function nms_EntitySnowball__init_(var_0, var_1) { var var_2 = new nms_EntitySnowball(); nms_EntitySnowball__init_0(var_2, var_0, var_1); return var_2; } function nms_EntitySnowball_func_384_a($this, $var1) { var $var3; $var3 = nms_AxisAlignedBB_getAverageEdgeLength($this.$boundingBox) * 4.0 * 64.0; return $var1 >= $var3 * $var3 ? 0 : 1; } function nms_EntitySnowball__init_0($this, $var1, $var2) { var var$3, var$4, var$5, var$6, $var3, var$8; nms_Entity__init_($this, $var1); $this.$field_816_b = (-1); $this.$field_815_c = (-1); $this.$field_814_d = (-1); $this.$field_813_e = 0; $this.$field_812_f = 0; $this.$field_817_a = 0; $this.$field_809_i = 0; $this.$field_811_g = $var2; nms_Entity_setSize($this, 0.25, 0.25); nms_Entity_setLocationAndAngles($this, $var2.$posX, $var2.$posY + 0.11999999731779099, $var2.$posZ, $var2.$rotationYaw, $var2.$rotationPitch); $this.$posX = $this.$posX - nms_MathHelper_cos($this.$rotationYaw / 180.0 * 3.1415927410125732) * 0.1599999964237213; $this.$posY = $this.$posY - 0.10000000149011612; var$3 = $this.$posZ - nms_MathHelper_sin($this.$rotationYaw / 180.0 * 3.1415927410125732) * 0.1599999964237213; $this.$posZ = var$3; nms_Entity_setPosition($this, $this.$posX, $this.$posY, var$3); $this.$yOffset = 0.0; $this.$motionX = -nms_MathHelper_sin($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.4000000059604645; $this.$motionZ = nms_MathHelper_cos($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.4000000059604645; var$3 = -nms_MathHelper_sin($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.4000000059604645; $this.$motionY = var$3; var$4 = $this.$motionX; var$5 = $this.$motionZ; var$6 = nms_MathHelper_sqrt_double(var$4 * var$4 + var$3 * var$3 + var$5 * var$5); var$4 = var$4 / var$6; var$3 = var$3 / var$6; var$5 = var$5 / var$6; var$4 = var$4 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * 1.0; var$3 = var$3 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * 1.0; var$5 = var$5 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * 1.0; var$4 = var$4 * 1.5; var$3 = var$3 * 1.5; var$5 = var$5 * 1.5; $this.$motionX = var$4; $this.$motionY = var$3; $this.$motionZ = var$5; $var3 = nms_MathHelper_sqrt_double(var$4 * var$4 + var$5 * var$5); var$8 = jl_Math_atan2(var$4, var$5) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$8; $this.$prevRotationYaw = var$8; $var3 = jl_Math_atan2(var$3, $var3) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var3; $this.$prevRotationPitch = $var3; $this.$field_810_h = 0; } function nms_EntitySnowball_onUpdate($this) { var $var1, $var15, $var8, $var7, $var2, $var3, $var4, $var5, $var9, $var6, $var12, $var13, $var16, var$14, $var17, $var18, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();var$14 = $thread.pop();$var16 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var6 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var15 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$lastTickPosX = $this.$posX; $this.$lastTickPosY = $this.$posY; $this.$lastTickPosZ = $this.$posZ; $ptr = 1; case 1: nms_Entity_onUpdate($this); if ($rt_suspending()) { break main; } $var1 = $this.$field_817_a; if ($var1 > 0) $this.$field_817_a = $var1 - 1 | 0; if ($this.$field_812_f) { $var15 = $this.$worldObj0; $var1 = $this.$field_816_b; $var8 = $this.$field_815_c; $var7 = $this.$field_814_d; $ptr = 2; continue main; } $this.$field_809_i = $this.$field_809_i + 1 | 0; $var15 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var3 = $this.$worldObj0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($var15, $var1, $var8, $var7); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 == $this.$field_813_e) { $var1 = $this.$field_810_h + 1 | 0; $this.$field_810_h = $var1; if ($var1 != 1200) return; $ptr = 4; continue main; } $this.$field_812_f = 0; $this.$motionX = $this.$motionX * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionY = $this.$motionY * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionZ = $this.$motionZ * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$field_810_h = 0; $this.$field_809_i = 0; $var15 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var3 = $this.$worldObj0; $ptr = 3; case 3: $tmp = nms_World_rayTraceBlocks($var3, $var15, $var2); if ($rt_suspending()) { break main; } $var3 = $tmp; $var15 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var3 !== null) { $var2 = $var3.$hitVec; $var2 = nms_Vec3D_createVector($var2.$xCoord, $var2.$yCoord, $var2.$zCoord); } $var4 = null; $var5 = $this.$worldObj0; $var9 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ), 1.0, 1.0, 1.0); $ptr = 5; continue main; case 4: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; case 5: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var5, $this, $var9); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = 0.0; $var8 = 0; while ($var8 < ju_ArrayList_size($var5)) { $var9 = ju_ArrayList_get($var5, $var8); if ($var9.$canBeCollidedWith() && !($var9 === $this.$field_811_g && $this.$field_809_i < 5)) { $var12 = nms_AxisAlignedBB_func_1169_a(nms_AxisAlignedBB_expands($var9.$boundingBox, 0.30000001192092896, 0.30000001192092896, 0.30000001192092896), $var15, $var2); if ($var12 !== null) { $var13 = nms_Vec3D_distanceTo($var15, $var12.$hitVec); if (!($var13 >= $var6 && $var6 !== 0.0)) { $var4 = $var9; $var6 = $var13; } } } $var8 = $var8 + 1 | 0; } if ($var4 !== null) $var3 = nms_MovingObjectPosition__init_($var4); if ($var3 !== null) { $var15 = $var3.$entityHit; if ($var15 !== null) { $var2 = $this.$field_811_g; $var1 = 0; $ptr = 6; continue main; } $var16 = 0; while ($var16 < 8) { nms_World_spawnParticle($this.$worldObj0, $rt_s(490), $this.$posX, $this.$posY, $this.$posZ, 0.0, 0.0, 0.0); $var16 = $var16 + 1 | 0; } $ptr = 7; continue main; } $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$14 = $this.$motionZ; $this.$posZ = $var6 + var$14; $var17 = nms_MathHelper_sqrt_double($var13 * $var13 + var$14 * var$14); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; var$17 = $var17 - $var18; if (var$17 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$18 = $this.$prevRotationYaw; if ($var17 - var$18 >= (-180.0)) break; $this.$prevRotationYaw = var$18 - 360.0; } while (true) { var$18 = $this.$prevRotationYaw; var$19 = $var17 - var$18; if (var$19 < 180.0) break; $this.$prevRotationYaw = var$18 + 360.0; } $this.$rotationPitch = $var18 + var$17 * 0.20000000298023224; $this.$rotationYaw = var$18 + var$19 * 0.20000000298023224; $var18 = 0.9900000095367432; $ptr = 8; continue main; case 6: $tmp = $var15.$canAttackEntity($var2, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; $var16 = 0; while ($var16 < 8) { nms_World_spawnParticle($this.$worldObj0, $rt_s(490), $this.$posX, $this.$posY, $this.$posZ, 0.0, 0.0, 0.0); $var16 = $var16 + 1 | 0; } $ptr = 7; case 7: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$14 = $this.$motionZ; $this.$posZ = $var6 + var$14; $var17 = nms_MathHelper_sqrt_double($var13 * $var13 + var$14 * var$14); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; var$17 = $var17 - $var18; if (var$17 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$18 = $this.$prevRotationYaw; if ($var17 - var$18 >= (-180.0)) break; $this.$prevRotationYaw = var$18 - 360.0; } while (true) { var$18 = $this.$prevRotationYaw; var$19 = $var17 - var$18; if (var$19 < 180.0) break; $this.$prevRotationYaw = var$18 + 360.0; } $this.$rotationPitch = $var18 + var$17 * 0.20000000298023224; $this.$rotationYaw = var$18 + var$19 * 0.20000000298023224; $var18 = 0.9900000095367432; $ptr = 8; case 8: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1) { $var7 = 0; while ($var7 < 4) { $var15 = $this.$worldObj0; $var6 = $this.$posX; $var13 = $this.$motionX; $var6 = $var6 - $var13 * 0.25; var$20 = $this.$posY; var$21 = $this.$motionY; var$20 = var$20 - var$21 * 0.25; var$22 = $this.$posZ; var$23 = $this.$motionZ; nms_World_spawnParticle($var15, $rt_s(487), $var6, var$20, var$22 - var$23 * 0.25, $var13, var$21, var$23); $var7 = $var7 + 1 | 0; } $var18 = 0.800000011920929; } $var6 = $this.$motionX; $var13 = $var18; $this.$motionX = $var6 * $var13; $var6 = $this.$motionY * $var13; $this.$motionY = $var6; $this.$motionZ = $this.$motionZ * $var13; $this.$motionY = $var6 - 0.029999999329447746; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var15, $var8, $var7, $var2, $var3, $var4, $var5, $var9, $var6, $var12, $var13, $var16, var$14, $var17, $var18, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); } function nms_EntitySnowball_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setShort($var1, $rt_s(659), $this.$field_816_b << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(660), $this.$field_815_c << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(661), $this.$field_814_d << 16 >> 16); nms_NBTTagCompound_setByte($var1, $rt_s(662), $this.$field_813_e << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(663), $this.$field_817_a << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(664), (!$this.$field_812_f ? 0 : 1) << 24 >> 24); } function nms_EntitySnowball_readEntityFromNBT($this, $var1) { $this.$field_816_b = nms_NBTTagCompound_getShort($var1, $rt_s(659)); $this.$field_815_c = nms_NBTTagCompound_getShort($var1, $rt_s(660)); $this.$field_814_d = nms_NBTTagCompound_getShort($var1, $rt_s(661)); $this.$field_813_e = nms_NBTTagCompound_getByte($var1, $rt_s(662)) & 255; $this.$field_817_a = nms_NBTTagCompound_getByte($var1, $rt_s(663)) & 255; $this.$field_812_f = nms_NBTTagCompound_getByte($var1, $rt_s(664)) != 1 ? 0 : 1; } function nms_EntitySnowball_onCollideWithPlayer($this, $var1) { var var$2, var$3; if ($this.$field_812_f && $this.$field_811_g === $var1 && $this.$field_817_a <= 0) { var$2 = $var1.$inventory0; var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_12(var$3, nms_Item_arrow.$shiftedIndex, 1); if (nms_InventoryPlayer_addItemStackToInventory(var$2, var$3)) { nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(665), 0.20000000298023224, ((ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.699999988079071 + 1.0) * 2.0); nms_EntityPlayerSP_func_443_a_($var1, $this, 1); nms_Entity_setEntityDead($this); } } } function nms_EntitySnowball_func_392_h_($this) { return 0.0; } var nms_RenderSnowball = $rt_classWithoutFields(nms_Render); function nms_RenderSnowball__init_0() { var var_0 = new nms_RenderSnowball(); nms_RenderSnowball__init_(var_0); return var_0; } function nms_RenderSnowball__init_($this) { nms_Render__init_($this); } function nms_RenderSnowball_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glScalef(0.5, 0.5, 0.5); nms_Item_$callClinit(); var$7 = nms_Item_snowball.$iconIndex; $var1 = $rt_s(182); $ptr = 1; case 1: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } nms_Tessellator_$callClinit(); $var1 = nms_Tessellator_instance; var$8 = (var$7 % 16 | 0) * 16 | 0; $var9 = (var$8 + 0 | 0) / 256.0; var$9 = (var$8 + 16 | 0) / 256.0; var$8 = (var$7 / 16 | 0) * 16 | 0; var$10 = (var$8 + 0 | 0) / 256.0; var$11 = (var$8 + 16 | 0) / 256.0; olo_EaglerAdapterGL30_glRotatef(180.0 - $this.$renderManager.$field_1225_i, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$this.$renderManager.$field_1224_j, 1.0, 0.0, 0.0); nms_Tessellator_startDrawingQuads($var1); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); var$12 = $var9; var$13 = var$11; nms_Tessellator_addVertexWithUV($var1, (-0.5), (-0.25), 0.0, var$12, var$13); var$14 = var$9; nms_Tessellator_addVertexWithUV($var1, 0.5, (-0.25), 0.0, var$14, var$13); var$15 = var$10; nms_Tessellator_addVertexWithUV($var1, 0.5, 0.75, 0.0, var$14, var$15); nms_Tessellator_addVertexWithUV($var1, (-0.5), 0.75, 0.0, var$12, var$15); nms_Tessellator_draw($var1); olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); } function nms_EntityFireball() { var a = this; nms_Entity.call(a); a.$field_9402_e = 0; a.$field_9401_f = 0; a.$field_9400_g = 0; a.$field_9399_h = 0; a.$field_9398_i = 0; a.$field_9406_a = 0; a.$field_9397_j = null; a.$field_9396_k = 0; a.$field_9395_l = 0; a.$field_9405_b = 0.0; a.$field_9404_c = 0.0; a.$field_9403_d = 0.0; } function nms_EntityFireball__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_EntityFireball(); nms_EntityFireball__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_EntityFireball_func_384_a($this, $var1) { var $var3; $var3 = nms_AxisAlignedBB_getAverageEdgeLength($this.$boundingBox) * 4.0 * 64.0; return $var1 >= $var3 * $var3 ? 0 : 1; } function nms_EntityFireball__init_0($this, $var1, $var2, $var3, $var5, $var7) { var $var9; nms_Entity__init_($this, $var1); $this.$field_9402_e = (-1); $this.$field_9401_f = (-1); $this.$field_9400_g = (-1); $this.$field_9399_h = 0; $this.$field_9398_i = 0; $this.$field_9406_a = 0; $this.$field_9395_l = 0; $this.$field_9397_j = $var2; nms_Entity_setSize($this, 1.0, 1.0); nms_Entity_setLocationAndAngles($this, $var2.$posX, $var2.$posY, $var2.$posZ, $var2.$rotationYaw, $var2.$rotationPitch); nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $this.$yOffset = 0.0; $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; $var3 = $var3 + ju_Random_nextGaussian($this.$rand2) * 0.4; $var5 = $var5 + ju_Random_nextGaussian($this.$rand2) * 0.4; $var7 = $var7 + ju_Random_nextGaussian($this.$rand2) * 0.4; $var9 = nms_MathHelper_sqrt_double($var3 * $var3 + $var5 * $var5 + $var7 * $var7); $this.$field_9405_b = $var3 / $var9 * 0.1; $this.$field_9404_c = $var5 / $var9 * 0.1; $this.$field_9403_d = $var7 / $var9 * 0.1; } function nms_EntityFireball_onUpdate($this) { var $var1, $var15, $var8, $var18, $var2, $var3, $var4, $var5, $var9, $var6, $var12, $var13, var$13, $var16, $var17, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();var$13 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var6 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var18 = $thread.pop();$var8 = $thread.pop();$var15 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onUpdate($this); if ($rt_suspending()) { break main; } $this.$fire = 10; $var1 = $this.$field_9406_a; if ($var1 > 0) $this.$field_9406_a = $var1 - 1 | 0; if ($this.$field_9398_i) { $var15 = $this.$worldObj0; $var1 = $this.$field_9402_e; $var8 = $this.$field_9401_f; $var18 = $this.$field_9400_g; $ptr = 2; continue main; } $this.$field_9395_l = $this.$field_9395_l + 1 | 0; $var15 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var3 = $this.$worldObj0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($var15, $var1, $var8, $var18); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 == $this.$field_9399_h) { $var1 = $this.$field_9396_k + 1 | 0; $this.$field_9396_k = $var1; if ($var1 != 1200) return; $ptr = 4; continue main; } $this.$field_9398_i = 0; $this.$motionX = $this.$motionX * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionY = $this.$motionY * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionZ = $this.$motionZ * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$field_9396_k = 0; $this.$field_9395_l = 0; $var15 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var3 = $this.$worldObj0; $ptr = 3; case 3: $tmp = nms_World_rayTraceBlocks($var3, $var15, $var2); if ($rt_suspending()) { break main; } $var3 = $tmp; $var15 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var3 !== null) { $var2 = $var3.$hitVec; $var2 = nms_Vec3D_createVector($var2.$xCoord, $var2.$yCoord, $var2.$zCoord); } $var4 = null; $var5 = $this.$worldObj0; $var9 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ), 1.0, 1.0, 1.0); $ptr = 5; continue main; case 4: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; case 5: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var5, $this, $var9); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = 0.0; $var8 = 0; while ($var8 < ju_ArrayList_size($var5)) { $var9 = ju_ArrayList_get($var5, $var8); if ($var9.$canBeCollidedWith() && !($var9 === $this.$field_9397_j && $this.$field_9395_l < 25)) { $var12 = nms_AxisAlignedBB_func_1169_a(nms_AxisAlignedBB_expands($var9.$boundingBox, 0.30000001192092896, 0.30000001192092896, 0.30000001192092896), $var15, $var2); if ($var12 !== null) { $var13 = nms_Vec3D_distanceTo($var15, $var12.$hitVec); if (!($var13 >= $var6 && $var6 !== 0.0)) { $var4 = $var9; $var6 = $var13; } } } $var8 = $var8 + 1 | 0; } if ($var4 !== null) $var3 = nms_MovingObjectPosition__init_($var4); if ($var3 !== null) { $var15 = $var3.$entityHit; if ($var15 !== null) { $var2 = $this.$field_9397_j; $var1 = 0; $ptr = 8; continue main; } $var15 = $this.$worldObj0; $var2 = null; $var6 = $this.$posX; $var13 = $this.$posY; var$13 = $this.$posZ; $var16 = 1.0; $var1 = 1; $ptr = 6; continue main; } $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$13 = $this.$motionZ; $this.$posZ = $var6 + var$13; $var16 = nms_MathHelper_sqrt_double($var13 * $var13 + var$13 * var$13); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var16 = jl_Math_atan2($this.$motionY, $var16) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var16; while (true) { $var17 = $this.$prevRotationPitch; if ($var16 - $var17 >= (-180.0)) break; $this.$prevRotationPitch = $var17 - 360.0; } while (true) { $var17 = $this.$prevRotationPitch; var$16 = $var16 - $var17; if (var$16 < 180.0) break; $this.$prevRotationPitch = $var17 + 360.0; } while (true) { $var16 = $this.$rotationYaw; var$17 = $this.$prevRotationYaw; if ($var16 - var$17 >= (-180.0)) break; $this.$prevRotationYaw = var$17 - 360.0; } while (true) { var$17 = $this.$prevRotationYaw; var$18 = $var16 - var$17; if (var$18 < 180.0) break; $this.$prevRotationYaw = var$17 + 360.0; } $this.$rotationPitch = $var17 + var$16 * 0.20000000298023224; $this.$rotationYaw = var$17 + var$18 * 0.20000000298023224; $var17 = 0.949999988079071; $ptr = 9; continue main; case 6: nms_World_func_12244_a($var15, $var2, $var6, $var13, var$13, $var16, $var1); if ($rt_suspending()) { break main; } $ptr = 7; case 7: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $var6 = $this.$posX; $var13 = $this.$motionX; $this.$posX = $var6 + $var13; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; var$13 = $this.$motionZ; $this.$posZ = $var6 + var$13; $var16 = nms_MathHelper_sqrt_double($var13 * $var13 + var$13 * var$13); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var16 = jl_Math_atan2($this.$motionY, $var16) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var16; while (true) { $var17 = $this.$prevRotationPitch; if ($var16 - $var17 >= (-180.0)) break; $this.$prevRotationPitch = $var17 - 360.0; } while (true) { $var17 = $this.$prevRotationPitch; var$16 = $var16 - $var17; if (var$16 < 180.0) break; $this.$prevRotationPitch = $var17 + 360.0; } while (true) { $var16 = $this.$rotationYaw; var$17 = $this.$prevRotationYaw; if ($var16 - var$17 >= (-180.0)) break; $this.$prevRotationYaw = var$17 - 360.0; } while (true) { var$17 = $this.$prevRotationYaw; var$18 = $var16 - var$17; if (var$18 < 180.0) break; $this.$prevRotationYaw = var$17 + 360.0; } $this.$rotationPitch = $var17 + var$16 * 0.20000000298023224; $this.$rotationYaw = var$17 + var$18 * 0.20000000298023224; $var17 = 0.949999988079071; $ptr = 9; continue main; case 8: $tmp = $var15.$canAttackEntity($var2, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; $var15 = $this.$worldObj0; $var2 = null; $var6 = $this.$posX; $var13 = $this.$posY; var$13 = $this.$posZ; $var16 = 1.0; $var1 = 1; $ptr = 6; continue main; case 9: $tmp = nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1) { $var18 = 0; while ($var18 < 4) { $var15 = $this.$worldObj0; $var6 = $this.$posX; $var13 = $this.$motionX; $var6 = $var6 - $var13 * 0.25; var$19 = $this.$posY; var$20 = $this.$motionY; var$19 = var$19 - var$20 * 0.25; var$21 = $this.$posZ; var$22 = $this.$motionZ; nms_World_spawnParticle($var15, $rt_s(487), $var6, var$19, var$21 - var$22 * 0.25, $var13, var$20, var$22); $var18 = $var18 + 1 | 0; } $var17 = 0.800000011920929; } $var6 = $this.$motionX + $this.$field_9405_b; $this.$motionX = $var6; $var13 = $this.$motionY + $this.$field_9404_c; $this.$motionY = $var13; var$13 = $this.$motionZ + $this.$field_9403_d; $this.$motionZ = var$13; var$19 = $var17; $this.$motionX = $var6 * var$19; $this.$motionY = $var13 * var$19; $this.$motionZ = var$13 * var$19; nms_World_spawnParticle($this.$worldObj0, $rt_s(299), $this.$posX, $this.$posY + 0.5, $this.$posZ, 0.0, 0.0, 0.0); nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var15, $var8, $var18, $var2, $var3, $var4, $var5, $var9, $var6, $var12, $var13, var$13, $var16, $var17, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); } function nms_EntityFireball_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setShort($var1, $rt_s(659), $this.$field_9402_e << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(660), $this.$field_9401_f << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(661), $this.$field_9400_g << 16 >> 16); nms_NBTTagCompound_setByte($var1, $rt_s(662), $this.$field_9399_h << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(663), $this.$field_9406_a << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(664), (!$this.$field_9398_i ? 0 : 1) << 24 >> 24); } function nms_EntityFireball_canBeCollidedWith($this) { return 1; } function nms_EntityFireball_func_4035_j_($this) { return 1.0; } function nms_EntityFireball_canAttackEntity($this, $var1, $var2) { var $var3, var$4, var$5, var$6; nms_Entity_func_9281_M($this); if ($var1 === null) return 0; $var3 = nms_EntityLiving_func_4037_H($var1); if ($var3 !== null) { var$4 = $var3.$xCoord; $this.$motionX = var$4; var$5 = $var3.$yCoord; $this.$motionY = var$5; var$6 = $var3.$zCoord; $this.$motionZ = var$6; $this.$field_9405_b = var$4 * 0.1; $this.$field_9404_c = var$5 * 0.1; $this.$field_9403_d = var$6 * 0.1; } return 1; } function nms_EntityFireball_func_392_h_($this) { return 0.0; } var nms_RenderFireball = $rt_classWithoutFields(nms_Render); function nms_RenderFireball__init_0() { var var_0 = new nms_RenderFireball(); nms_RenderFireball__init_(var_0); return var_0; } function nms_RenderFireball__init_($this) { nms_Render__init_($this); } function nms_RenderFireball_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glScalef(2.0, 2.0, 2.0); nms_Item_$callClinit(); var$7 = nms_Item_snowball.$iconIndex; $var1 = $rt_s(182); $ptr = 1; case 1: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } nms_Tessellator_$callClinit(); $var1 = nms_Tessellator_instance; var$8 = (var$7 % 16 | 0) * 16 | 0; $var8 = (var$8 + 0 | 0) / 256.0; var$9 = (var$8 + 16 | 0) / 256.0; var$8 = (var$7 / 16 | 0) * 16 | 0; var$10 = (var$8 + 0 | 0) / 256.0; var$11 = (var$8 + 16 | 0) / 256.0; olo_EaglerAdapterGL30_glRotatef(180.0 - $this.$renderManager.$field_1225_i, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$this.$renderManager.$field_1224_j, 1.0, 0.0, 0.0); nms_Tessellator_startDrawingQuads($var1); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); var$12 = $var8; var$13 = var$11; nms_Tessellator_addVertexWithUV($var1, (-0.5), (-0.25), 0.0, var$12, var$13); var$14 = var$9; nms_Tessellator_addVertexWithUV($var1, 0.5, (-0.25), 0.0, var$14, var$13); var$15 = var$10; nms_Tessellator_addVertexWithUV($var1, 0.5, 0.75, 0.0, var$14, var$15); nms_Tessellator_addVertexWithUV($var1, (-0.5), 0.75, 0.0, var$12, var$15); nms_Tessellator_draw($var1); olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); } function nms_EntityItem() { var a = this; nms_Entity.call(a); a.$item0 = null; a.$field_803_e = 0; a.$age = 0; a.$field_805_c = 0; a.$health0 = 0; a.$field_804_d = 0.0; } function nms_EntityItem__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_EntityItem(); nms_EntityItem__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_EntityItem__init_0($this, $var1, $var2, $var4, $var6, $var8) { nms_Entity__init_($this, $var1); $this.$age = 0; $this.$health0 = 5; $this.$field_804_d = jl_Math_random() * 3.141592653589793 * 2.0; nms_Entity_setSize($this, 0.25, 0.25); $this.$yOffset = $this.$height / 2.0; nms_Entity_setPosition($this, $var2, $var4, $var6); $this.$item0 = $var8; $this.$rotationYaw = jl_Math_random() * 360.0; $this.$motionX = jl_Math_random() * 0.20000000298023224 - 0.10000000149011612; $this.$motionY = 0.20000000298023224; $this.$motionZ = jl_Math_random() * 0.20000000298023224 - 0.10000000149011612; $this.$entityWalks = 0; } function nms_EntityItem_onUpdate($this) { var $var2, var$2, var$3, var$4, var$5, var$6, var$7, $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$func_391_y(); if ($rt_suspending()) { break main; } $var2 = $this.$field_805_c; if ($var2 > 0) $this.$field_805_c = $var2 - 1 | 0; var$2 = $this.$posX; $this.$prevPosX = var$2; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $this.$motionY = $this.$motionY - 0.03999999910593033; var$3 = $this.$worldObj0; $var2 = nms_MathHelper_floor_double(var$2); var$4 = nms_MathHelper_floor_double($this.$posY); var$5 = nms_MathHelper_floor_double($this.$posZ); $ptr = 2; case 2: $tmp = nms_World_getBlockMaterial(var$3, $var2, var$4, var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; nms_Material_$callClinit(); if (var$3 === nms_Material_lava) { $this.$motionY = 0.20000000298023224; $this.$motionX = (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224; $this.$motionZ = (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224; nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(197), 0.4000000059604645, 2.0 + ju_Random_nextFloat($this.$rand2) * 0.4000000059604645); } var$6 = $this.$posX; var$2 = $this.$posY; var$7 = $this.$posZ; $ptr = 3; case 3: nms_EntityItem_func_466_g($this, var$6, var$2, var$7); if ($rt_suspending()) { break main; } $ptr = 4; case 4: nms_EntityItem_handleWaterMovement($this); if ($rt_suspending()) { break main; } var$6 = $this.$motionX; var$2 = $this.$motionY; var$7 = $this.$motionZ; $ptr = 5; case 5: nms_Entity_moveEntity($this, var$6, var$2, var$7); if ($rt_suspending()) { break main; } $var1 = 0.9800000190734863; if ($this.$onGround) { $var1 = 0.5880000591278076; var$3 = $this.$worldObj0; $var2 = nms_MathHelper_floor_double($this.$posX); var$4 = nms_MathHelper_floor_double($this.$boundingBox.$minY0) - 1 | 0; var$5 = nms_MathHelper_floor_double($this.$posZ); $ptr = 6; continue main; } var$6 = $this.$motionX; var$2 = $var1; $this.$motionX = var$6 * var$2; var$6 = $this.$motionY * 0.9800000190734863; $this.$motionY = var$6; $this.$motionZ = $this.$motionZ * var$2; if ($this.$onGround) $this.$motionY = var$6 * (-0.5); $this.$field_803_e = $this.$field_803_e + 1 | 0; $var2 = $this.$age + 1 | 0; $this.$age = $var2; if ($var2 < 6000) return; $ptr = 7; continue main; case 6: $tmp = nms_World_getBlockId(var$3, $var2, var$4, var$5); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 > 0) { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[$var2].$slipperiness * 0.9800000190734863; } var$6 = $this.$motionX; var$2 = $var1; $this.$motionX = var$6 * var$2; var$6 = $this.$motionY * 0.9800000190734863; $this.$motionY = var$6; $this.$motionZ = $this.$motionZ * var$2; if ($this.$onGround) $this.$motionY = var$6 * (-0.5); $this.$field_803_e = $this.$field_803_e + 1 | 0; $var2 = $this.$age + 1 | 0; $this.$age = $var2; if ($var2 < 6000) return; $ptr = 7; case 7: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, var$3, var$4, var$5, var$6, var$7, $var1, $ptr); } function nms_EntityItem_handleWaterMovement($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; var$2 = $this.$boundingBox; nms_Material_$callClinit(); var$3 = nms_Material_water; $ptr = 1; case 1: $tmp = nms_World_func_682_a(var$1, var$2, var$3, $this); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_EntityItem_func_466_g($this, $var1, $var3, $var5) { var $var7, $var8, $var9, $var10, $var12, $var14, var$10, var$11, $var20, $var16, $var17, $var18, $var19, $var21, $var22, $var23, $var25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var25 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var20 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = nms_MathHelper_floor_double($var1); $var8 = nms_MathHelper_floor_double($var3); $var9 = nms_MathHelper_floor_double($var5); $var10 = $var1 - $var7; $var12 = $var3 - $var8; $var14 = $var5 - $var9; nms_Block_$callClinit(); var$10 = nms_Block_opaqueCubeLookup.data; var$11 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$11, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var20 = $tmp; if (!var$10[$var20]) return 0; var$10 = nms_Block_opaqueCubeLookup.data; var$11 = $this.$worldObj0; $var20 = $var7 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId(var$11, $var20, $var8, $var9); if ($rt_suspending()) { break main; } $var20 = $tmp; $var16 = var$10[$var20] ? 0 : 1; var$10 = nms_Block_opaqueCubeLookup.data; var$11 = $this.$worldObj0; $var20 = $var7 + 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId(var$11, $var20, $var8, $var9); if ($rt_suspending()) { break main; } $var20 = $tmp; $var17 = var$10[$var20] ? 0 : 1; var$10 = nms_Block_opaqueCubeLookup.data; var$11 = $this.$worldObj0; $var20 = $var8 - 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockId(var$11, $var7, $var20, $var9); if ($rt_suspending()) { break main; } $var20 = $tmp; $var18 = var$10[$var20] ? 0 : 1; var$10 = nms_Block_opaqueCubeLookup.data; var$11 = $this.$worldObj0; $var20 = $var8 + 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockId(var$11, $var7, $var20, $var9); if ($rt_suspending()) { break main; } $var20 = $tmp; $var19 = var$10[$var20] ? 0 : 1; var$10 = nms_Block_opaqueCubeLookup.data; var$11 = $this.$worldObj0; $var20 = $var9 - 1 | 0; $ptr = 6; case 6: $tmp = nms_World_getBlockId(var$11, $var7, $var8, $var20); if ($rt_suspending()) { break main; } $var20 = $tmp; $var20 = var$10[$var20] ? 0 : 1; var$10 = nms_Block_opaqueCubeLookup.data; var$11 = $this.$worldObj0; $var21 = $var9 + 1 | 0; $ptr = 7; case 7: $tmp = nms_World_getBlockId(var$11, $var7, $var8, $var21); if ($rt_suspending()) { break main; } $var7 = $tmp; $var21 = var$10[$var7] ? 0 : 1; $var22 = (-1); $var23 = 9999.0; if ($var16 && $var10 < $var23) { $var22 = 0; $var23 = $var10; } if (!$var17) $var1 = $var23; else { $var1 = 1.0 - $var10; if ($var1 < $var23) $var22 = 1; else $var1 = $var23; } if ($var18 && $var12 < $var1) { $var22 = 2; $var1 = $var12; } if (!$var19) $var3 = $var1; else { $var3 = 1.0 - $var12; if ($var3 < $var1) $var22 = 3; else $var3 = $var1; } if ($var20 && $var14 < $var3) { $var22 = 4; $var3 = $var14; } if ($var21 && 1.0 - $var14 < $var3) $var22 = 5; $var25 = ju_Random_nextFloat($this.$rand2) * 0.20000000298023224 + 0.10000000149011612; if (!$var22) $this.$motionX = -$var25; if ($var22 == 1) $this.$motionX = $var25; if ($var22 == 2) $this.$motionY = -$var25; if ($var22 == 3) $this.$motionY = $var25; if ($var22 == 4) $this.$motionZ = -$var25; if ($var22 == 5) $this.$motionZ = $var25; return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var7, $var8, $var9, $var10, $var12, $var14, var$10, var$11, $var20, $var16, $var17, $var18, $var19, $var21, $var22, $var23, $var25, $ptr); } function nms_EntityItem_func_355_a($this, $var1) { nms_EntityItem_canAttackEntity($this, null, $var1); } function nms_EntityItem_canAttackEntity($this, $var1, $var2) { nms_Entity_func_9281_M($this); $var2 = $this.$health0 - $var2 | 0; $this.$health0 = $var2; if ($var2 <= 0) nms_Entity_setEntityDead($this); return 0; } function nms_EntityItem_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setShort($var1, $rt_s(539), $this.$health0 << 24 >> 24 << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(667), $this.$age << 16 >> 16); nms_NBTTagCompound_setCompoundTag($var1, $rt_s(668), nms_ItemStack_writeToNBT($this.$item0, nms_NBTTagCompound__init_0())); } function nms_EntityItem_readEntityFromNBT($this, $var1) { $this.$health0 = nms_NBTTagCompound_getShort($var1, $rt_s(539)) & 255; $this.$age = nms_NBTTagCompound_getShort($var1, $rt_s(667)); $this.$item0 = nms_ItemStack__init_5(nms_NBTTagCompound_getCompoundTag($var1, $rt_s(668))); } function nms_EntityItem_onCollideWithPlayer($this, $var1) { var var$2, $var2; var$2 = $this.$item0; $var2 = var$2.$stackSize; if (!$this.$field_805_c && nms_InventoryPlayer_addItemStackToInventory($var1.$inventory0, var$2)) { nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(665), 0.20000000298023224, ((ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.699999988079071 + 1.0) * 2.0); nms_EntityPlayerSP_func_443_a_($var1, $this, $var2); nms_Entity_setEntityDead($this); } } function nms_EntityTNTPrimed() { nms_Entity.call(this); this.$fuse = 0; } function nms_EntityTNTPrimed__init_0(var_0) { var var_1 = new nms_EntityTNTPrimed(); nms_EntityTNTPrimed__init_1(var_1, var_0); return var_1; } function nms_EntityTNTPrimed__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_EntityTNTPrimed(); nms_EntityTNTPrimed__init_2(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_EntityTNTPrimed__init_1($this, $var1) { nms_Entity__init_($this, $var1); $this.$fuse = 0; $this.$field_618_ad = 1; nms_Entity_setSize($this, 0.9800000190734863, 0.9800000190734863); $this.$yOffset = $this.$height / 2.0; } function nms_EntityTNTPrimed__init_2($this, $var1, $var2, $var4, $var6) { var $var8; nms_EntityTNTPrimed__init_1($this, $var1); nms_Entity_setPosition($this, $var2, $var4, $var6); $var8 = jl_Math_random() * 3.1415927410125732 * 2.0 * 3.1415927410125732 / 180.0; $this.$motionX = -nms_MathHelper_sin($var8) * 0.019999999552965164; $this.$motionY = 0.20000000298023224; $this.$motionZ = -nms_MathHelper_cos($var8) * 0.019999999552965164; $this.$entityWalks = 0; $this.$fuse = 80; $this.$prevPosX = $var2; $this.$prevPosY = $var4; $this.$prevPosZ = $var6; } function nms_EntityTNTPrimed_canBeCollidedWith($this) { return $this.$isDead ? 0 : 1; } function nms_EntityTNTPrimed_onUpdate($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$motionY - 0.03999999910593033; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$1, var$3); if ($rt_suspending()) { break main; } var$1 = $this.$motionX * 0.9800000190734863; $this.$motionX = var$1; var$2 = $this.$motionY * 0.9800000190734863; $this.$motionY = var$2; var$3 = $this.$motionZ * 0.9800000190734863; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$1 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; $this.$motionY = var$2 * (-0.5); } var$4 = $this.$fuse; $this.$fuse = var$4 - 1 | 0; if (var$4 > 0) { nms_World_spawnParticle($this.$worldObj0, $rt_s(299), $this.$posX, $this.$posY + 0.5, $this.$posZ, 0.0, 0.0, 0.0); return; } $ptr = 2; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } var$5 = 4.0; var$6 = $this.$worldObj0; var$7 = null; var$1 = $this.$posX; var$2 = $this.$posY; var$3 = $this.$posZ; $ptr = 3; case 3: nms_World_func_12243_a(var$6, var$7, var$1, var$2, var$3, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_EntityTNTPrimed_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setByte($var1, $rt_s(669), $this.$fuse << 24 >> 24); } function nms_EntityTNTPrimed_readEntityFromNBT($this, $var1) { $this.$fuse = nms_NBTTagCompound_getByte($var1, $rt_s(669)); } function nms_EntityTNTPrimed_func_392_h_($this) { return 0.0; } function nms_RenderTNTPrimed() { nms_Render.call(this); this.$field_196_d = null; } function nms_RenderTNTPrimed__init_0() { var var_0 = new nms_RenderTNTPrimed(); nms_RenderTNTPrimed__init_(var_0); return var_0; } function nms_RenderTNTPrimed__init_($this) { nms_Render__init_($this); $this.$field_196_d = nms_RenderBlocks__init_1(); $this.$field_9246_c = 0.5; } function nms_RenderTNTPrimed_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); $var8 = $var1.$fuse - $var9 + 1.0; if ($var8 < 10.0) { var$7 = 1.0 - $var8 / 10.0; if (var$7 < 0.0) var$7 = 0.0; if (var$7 > 1.0) var$7 = 1.0; $var8 = var$7 * var$7; $var8 = 1.0 + $var8 * $var8 * 0.30000001192092896; olo_EaglerAdapterGL30_glScalef($var8, $var8, $var8); } $var8 = (1.0 - ($var1.$fuse - $var9 + 1.0) / 100.0) * 0.800000011920929; var$8 = $rt_s(198); $ptr = 1; case 1: nms_Render_loadTexture($this, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$field_196_d; nms_Block_$callClinit(); nms_RenderBlocks_func_1227_a(var$8, nms_Block_tnt); if (!(($var1.$fuse / 5 | 0) % 2 | 0)) { olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glEnable(3042); olo_EaglerAdapterGL30_glBlendFunc(770, 772); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, $var8); nms_RenderBlocks_func_1227_a($this.$field_196_d, nms_Block_tnt); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glDisable(3042); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(3553); } olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, var$8, $ptr); } function nms_EntityFallingSand() { var a = this; nms_Entity.call(a); a.$field_799_a = 0; a.$field_798_b = 0; } function nms_EntityFallingSand_canBeCollidedWith($this) { return $this.$isDead ? 0 : 1; } function nms_EntityFallingSand_onUpdate($this) { var var$1, var$2, var$3, $var1, $var2, $var3, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$field_799_a) { $ptr = 3; continue main; } $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $this.$field_798_b = $this.$field_798_b + 1 | 0; var$1 = $this.$motionY - 0.03999999910593033; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$1, var$3); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.9800000190734863; $this.$motionY = $this.$motionY * 0.9800000190734863; $this.$motionZ = $this.$motionZ * 0.9800000190734863; $var1 = nms_MathHelper_floor_double($this.$posX); $var2 = nms_MathHelper_floor_double($this.$posY); $var3 = nms_MathHelper_floor_double($this.$posZ); var$7 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getBlockId(var$7, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 == $this.$field_799_a) { var$7 = $this.$worldObj0; var$8 = 0; $ptr = 4; continue main; } if (!$this.$onGround) { if ($this.$field_798_b <= 100) return; $var1 = $this.$field_799_a; $var2 = 1; $ptr = 7; continue main; } $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; $this.$motionY = $this.$motionY * (-0.5); $ptr = 5; continue main; case 3: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; case 4: nms_World_setBlockWithNotify(var$7, $var1, $var2, $var3, var$8); if ($rt_suspending()) { break main; } if (!$this.$onGround) { if ($this.$field_798_b <= 100) return; $var1 = $this.$field_799_a; $var2 = 1; $ptr = 7; continue main; } $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; $this.$motionY = $this.$motionY * (-0.5); $ptr = 5; case 5: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } var$7 = $this.$worldObj0; var$8 = $this.$field_799_a; var$9 = 1; $ptr = 6; case 6: $tmp = nms_World_canBlockBePlacedAt(var$7, var$8, $var1, $var2, $var3, var$9); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) { $var1 = $this.$field_799_a; $var2 = 1; $ptr = 9; continue main; } var$7 = $this.$worldObj0; var$8 = $this.$field_799_a; $ptr = 10; continue main; case 7: nms_Entity_dropItem($this, $var1, $var2); if ($rt_suspending()) { break main; } $ptr = 8; case 8: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; case 9: nms_Entity_dropItem($this, $var1, $var2); if ($rt_suspending()) { break main; } return; case 10: $tmp = nms_World_setBlockWithNotify(var$7, $var1, $var2, $var3, var$8); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1) return; $var1 = $this.$field_799_a; $var2 = 1; $ptr = 9; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, $var2, $var3, var$7, var$8, var$9, $ptr); } function nms_EntityFallingSand_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setByte($var1, $rt_s(670), $this.$field_799_a << 24 >> 24); } function nms_EntityFallingSand_readEntityFromNBT($this, $var1) { $this.$field_799_a = nms_NBTTagCompound_getByte($var1, $rt_s(670)) & 255; } function nms_EntityFallingSand_func_392_h_($this) { return 0.0; } function nms_RenderFallingSand() { nms_Render.call(this); this.$field_197_d = null; } function nms_RenderFallingSand__init_0() { var var_0 = new nms_RenderFallingSand(); nms_RenderFallingSand__init_(var_0); return var_0; } function nms_RenderFallingSand__init_($this) { nms_Render__init_($this); $this.$field_197_d = nms_RenderBlocks__init_1(); $this.$field_9246_c = 0.5; } function nms_RenderFallingSand_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); var$7 = $rt_s(198); $ptr = 1; case 1: nms_Render_loadTexture($this, var$7); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$var1.$field_799_a]; var$8 = $var1.$worldObj0; olo_EaglerAdapterGL30_glDisable(2896); var$9 = $this.$field_197_d; var$10 = nms_MathHelper_floor_double($var1.$posX); var$11 = nms_MathHelper_floor_double($var1.$posY); var$12 = nms_MathHelper_floor_double($var1.$posZ); $var8 = 0.5; var$13 = 1.0; var$14 = 0.800000011920929; var$15 = 0.6000000238418579; nms_Tessellator_$callClinit(); $var1 = nms_Tessellator_instance; nms_Tessellator_startDrawingQuads($var1); $ptr = 2; case 2: $tmp = var$7.$getBlockBrightness(var$8, var$10, var$11, var$12); if ($rt_suspending()) { break main; } $var9 = $tmp; var$16 = var$11 - 1 | 0; $ptr = 3; case 3: $tmp = var$7.$getBlockBrightness(var$8, var$10, var$16, var$12); if ($rt_suspending()) { break main; } var$17 = $tmp; if (var$17 < $var9) var$17 = $var9; $var8 = $var8 * var$17; nms_Tessellator_setColorOpaque_F($var1, $var8, $var8, $var8); nms_RenderBlocks_renderBottomFace(var$9, var$7, (-0.5), (-0.5), (-0.5), var$7.$getBlockTextureFromSide(0)); var$16 = var$11 + 1 | 0; $ptr = 4; case 4: $tmp = var$7.$getBlockBrightness(var$8, var$10, var$16, var$12); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 < $var9) $var8 = $var9; $var8 = var$13 * $var8; nms_Tessellator_setColorOpaque_F($var1, $var8, $var8, $var8); nms_RenderBlocks_renderTopFace(var$9, var$7, (-0.5), (-0.5), (-0.5), var$7.$getBlockTextureFromSide(1)); var$16 = var$12 - 1 | 0; $ptr = 5; case 5: $tmp = var$7.$getBlockBrightness(var$8, var$10, var$11, var$16); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 < $var9) $var8 = $var9; $var8 = var$14 * $var8; nms_Tessellator_setColorOpaque_F($var1, $var8, $var8, $var8); nms_RenderBlocks_renderEastFace(var$9, var$7, (-0.5), (-0.5), (-0.5), var$7.$getBlockTextureFromSide(2)); var$16 = var$12 + 1 | 0; $ptr = 6; case 6: $tmp = var$7.$getBlockBrightness(var$8, var$10, var$11, var$16); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 < $var9) $var8 = $var9; $var8 = var$14 * $var8; nms_Tessellator_setColorOpaque_F($var1, $var8, $var8, $var8); nms_RenderBlocks_renderWestFace(var$9, var$7, (-0.5), (-0.5), (-0.5), var$7.$getBlockTextureFromSide(3)); var$16 = var$10 - 1 | 0; $ptr = 7; case 7: $tmp = var$7.$getBlockBrightness(var$8, var$16, var$11, var$12); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 < $var9) $var8 = $var9; $var8 = var$15 * $var8; nms_Tessellator_setColorOpaque_F($var1, $var8, $var8, $var8); nms_RenderBlocks_renderNorthFace(var$9, var$7, (-0.5), (-0.5), (-0.5), var$7.$getBlockTextureFromSide(4)); var$16 = var$10 + 1 | 0; $ptr = 8; case 8: $tmp = var$7.$getBlockBrightness(var$8, var$16, var$11, var$12); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 >= $var9) $var9 = $var8; $var8 = var$15 * $var9; nms_Tessellator_setColorOpaque_F($var1, $var8, $var8, $var8); nms_RenderBlocks_renderSouthFace(var$9, var$7, (-0.5), (-0.5), (-0.5), var$7.$getBlockTextureFromSide(5)); nms_Tessellator_draw($var1); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); } function nms_EntityMinecart() { var a = this; nms_Entity.call(a); a.$cargoItems = null; a.$a5 = 0; a.$b1 = 0; a.$c1 = 0; a.$field_856_i = 0; a.$d = 0; a.$fuel = 0; a.$pushX = 0.0; a.$pushZ = 0.0; } var nms_EntityMinecart_field_855_j = null; function nms_EntityMinecart__init_0(var_0) { var var_1 = new nms_EntityMinecart(); nms_EntityMinecart__init_(var_1, var_0); return var_1; } function nms_EntityMinecart__init_($this, $var1) { nms_Entity__init_($this, $var1); $this.$cargoItems = $rt_createArray(nms_ItemStack, 36); $this.$a5 = 0; $this.$b1 = 0; $this.$c1 = 1; $this.$field_856_i = 0; $this.$field_618_ad = 1; nms_Entity_setSize($this, 0.9800000190734863, 0.699999988079071); $this.$yOffset = $this.$height / 2.0; $this.$entityWalks = 0; } function nms_EntityMinecart_func_383_b_($this, $var1) { return $var1.$boundingBox; } function nms_EntityMinecart_func_372_f_($this) { return null; } function nms_EntityMinecart_canBePushed($this) { return 1; } function nms_EntityMinecart_func_402_h($this) { return $this.$height * 0.0 - 0.30000001192092896; } function nms_EntityMinecart_canAttackEntity($this, $var1, $var2) { var var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isDead) return 1; $this.$c1 = -$this.$c1 | 0; $this.$b1 = 10; nms_Entity_func_9281_M($this); $var2 = $this.$a5 + ($var2 * 10 | 0) | 0; $this.$a5 = $var2; if ($var2 <= 40) return 1; nms_Item_$callClinit(); $var2 = nms_Item_minecartEmpty.$shiftedIndex; var$3 = 1; var$4 = 0.0; $ptr = 1; case 1: nms_Entity_dropItemWithOffset($this, $var2, var$3, var$4); if ($rt_suspending()) { break main; } $var2 = $this.$d; if ($var2 == 1) { nms_Block_$callClinit(); $var2 = nms_Block_crate.$blockID; var$3 = 1; var$4 = 0.0; $ptr = 2; continue main; } if ($var2 == 2) { nms_Block_$callClinit(); $var2 = nms_Block_stoneOvenIdle.$blockID; var$3 = 1; var$4 = 0.0; $ptr = 3; continue main; } $var2 = 0; var$5 = 27; while ($var2 < var$5) { $var1 = nms_EntityMinecart_getStackInSlot($this, $var2); if ($var1 !== null) { var$4 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$6 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$7 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$8 = var$4; var$9 = var$6; var$10 = var$7; if ($var1.$stackSize > 0) { var$11 = ju_Random_nextInt($this.$rand2, 21) + 10 | 0; var$3 = $var1.$stackSize; if (var$11 > var$3) var$11 = var$3; $var1.$stackSize = var$3 - var$11 | 0; var$12 = nms_EntityItem__init_($this.$worldObj0, $this.$posX + var$8, $this.$posY + var$9, $this.$posZ + var$10, nms_ItemStack__init_1($var1.$itemID, var$11, $var1.$itemDamage)); var$12.$motionX = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$12.$motionY = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806 + 0.20000000298023224; var$12.$motionZ = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$13 = $this.$worldObj0; $ptr = 5; continue main; } } $var2 = $var2 + 1 | 0; } $ptr = 4; continue main; case 2: nms_Entity_dropItemWithOffset($this, $var2, var$3, var$4); if ($rt_suspending()) { break main; } $var2 = 0; var$5 = 27; while ($var2 < var$5) { $var1 = nms_EntityMinecart_getStackInSlot($this, $var2); if ($var1 !== null) { var$4 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$6 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$7 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$8 = var$4; var$9 = var$6; var$10 = var$7; if ($var1.$stackSize > 0) { var$11 = ju_Random_nextInt($this.$rand2, 21) + 10 | 0; var$3 = $var1.$stackSize; if (var$11 > var$3) var$11 = var$3; $var1.$stackSize = var$3 - var$11 | 0; var$12 = nms_EntityItem__init_($this.$worldObj0, $this.$posX + var$8, $this.$posY + var$9, $this.$posZ + var$10, nms_ItemStack__init_1($var1.$itemID, var$11, $var1.$itemDamage)); var$12.$motionX = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$12.$motionY = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806 + 0.20000000298023224; var$12.$motionZ = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$13 = $this.$worldObj0; $ptr = 5; continue main; } } $var2 = $var2 + 1 | 0; } $ptr = 4; continue main; case 3: nms_Entity_dropItemWithOffset($this, $var2, var$3, var$4); if ($rt_suspending()) { break main; } $var2 = 0; var$5 = 27; while ($var2 < var$5) { $var1 = nms_EntityMinecart_getStackInSlot($this, $var2); if ($var1 !== null) { var$4 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$6 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$7 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$8 = var$4; var$9 = var$6; var$10 = var$7; if ($var1.$stackSize > 0) { var$11 = ju_Random_nextInt($this.$rand2, 21) + 10 | 0; var$3 = $var1.$stackSize; if (var$11 > var$3) var$11 = var$3; $var1.$stackSize = var$3 - var$11 | 0; var$12 = nms_EntityItem__init_($this.$worldObj0, $this.$posX + var$8, $this.$posY + var$9, $this.$posZ + var$10, nms_ItemStack__init_1($var1.$itemID, var$11, $var1.$itemDamage)); var$12.$motionX = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$12.$motionY = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806 + 0.20000000298023224; var$12.$motionZ = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$13 = $this.$worldObj0; $ptr = 5; continue main; } } $var2 = $var2 + 1 | 0; } $ptr = 4; case 4: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return 1; case 5: nms_World_entityJoinedWorld(var$13, var$12); if ($rt_suspending()) { break main; } a: while (true) { if ($var1.$stackSize > 0) { var$11 = ju_Random_nextInt($this.$rand2, 21) + 10 | 0; var$3 = $var1.$stackSize; if (var$11 > var$3) var$11 = var$3; $var1.$stackSize = var$3 - var$11 | 0; var$12 = nms_EntityItem__init_($this.$worldObj0, $this.$posX + var$8, $this.$posY + var$9, $this.$posZ + var$10, nms_ItemStack__init_1($var1.$itemID, var$11, $var1.$itemDamage)); var$12.$motionX = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$12.$motionY = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806 + 0.20000000298023224; var$12.$motionZ = ju_Random_nextGaussian($this.$rand2) * 0.05000000074505806; var$13 = $this.$worldObj0; continue main; } while (true) { $var2 = $var2 + 1 | 0; if ($var2 >= var$5) break a; $var1 = nms_EntityMinecart_getStackInSlot($this, $var2); if ($var1 === null) continue; else break; } var$4 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$6 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$7 = ju_Random_nextFloat($this.$rand2) * 0.800000011920929 + 0.10000000149011612; var$8 = var$4; var$9 = var$6; var$10 = var$7; } $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); } function nms_EntityMinecart_canBeCollidedWith($this) { return $this.$isDead ? 0 : 1; } function nms_EntityMinecart_onUpdate($this) { var $var2, $var32, $var1, $var3, $var46, $var47, $var4, $var6, $var7, $var36, $var34, $var9, $var10, $var48, var$15, $var12, $var14, $var16, $var38, $var20, $var24, $var26, $var28, $var30, $var37, $var18, $var43, $var44, var$29, $var13, $var15, $var45, $var17, $var39, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var39 = $thread.pop();$var17 = $thread.pop();$var45 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();var$29 = $thread.pop();$var44 = $thread.pop();$var43 = $thread.pop();$var18 = $thread.pop();$var37 = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var20 = $thread.pop();$var38 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();var$15 = $thread.pop();$var48 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var34 = $thread.pop();$var36 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var47 = $thread.pop();$var46 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$var32 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$b1; if ($var2 > 0) $this.$b1 = $var2 - 1 | 0; $var2 = $this.$a5; if ($var2 > 0) $this.$a5 = $var2 - 1 | 0; $var32 = $this.$posX; $this.$prevPosX = $var32; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $this.$motionY = $this.$motionY - 0.03999999910593033; $var1 = nms_MathHelper_floor_double($var32); $var2 = nms_MathHelper_floor_double($this.$posY); $var3 = nms_MathHelper_floor_double($this.$posZ); $var46 = $this.$worldObj0; $var47 = $var2 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var46, $var1, $var47, $var3); if ($rt_suspending()) { break main; } $var47 = $tmp; nms_Block_$callClinit(); if ($var47 == nms_Block_minecartTrack.$blockID) $var2 = $var2 + (-1) | 0; $var4 = 0.4; $var6 = 0; $var7 = 0.0078125; $var46 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var46, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var47 = $tmp; if ($var47 == nms_Block_minecartTrack.$blockID) { $var36 = $this.$posX; $var32 = $this.$posY; $var34 = $this.$posZ; $ptr = 3; continue main; } if ($this.$motionX < (-0.4)) $this.$motionX = (-0.4); if ($this.$motionX > $var4) $this.$motionX = $var4; if ($this.$motionZ < (-0.4)) $this.$motionZ = (-0.4); if ($this.$motionZ > $var4) $this.$motionZ = $var4; if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $var36 = $this.$motionX; $var32 = $this.$motionY; $var34 = $this.$motionZ; $ptr = 5; continue main; case 3: $tmp = nms_EntityMinecart_func_514_g($this, $var36, $var32, $var34); if ($rt_suspending()) { break main; } $var9 = $tmp; $var46 = $this.$worldObj0; $ptr = 4; case 4: $tmp = nms_World_getBlockMetadata($var46, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var10 = $tmp; $this.$posY = $var2; $var48 = $rt_compare($var10, 2); if ($var48 >= 0 && $var10 <= 5) $this.$posY = $var2 + 1 | 0; if (!$var48) $this.$motionX = $this.$motionX - $var7; if ($var10 == 3) $this.$motionX = $this.$motionX + $var7; if ($var10 == 4) $this.$motionZ = $this.$motionZ + $var7; if ($var10 == 5) $this.$motionZ = $this.$motionZ - $var7; var$15 = nms_EntityMinecart_field_855_j.data[$var10].data; $var12 = var$15[1].data[0] - var$15[0].data[0] | 0; $var14 = var$15[1].data[2] - var$15[0].data[2] | 0; $var16 = jl_Math_sqrt($var12 * $var12 + $var14 * $var14); $var34 = $this.$motionX; $var38 = $var34 * $var12; $var36 = $this.$motionZ; if ($var38 + $var36 * $var14 < 0.0) { $var12 = -$var12; $var14 = -$var14; } $var20 = jl_Math_sqrt($var34 * $var34 + $var36 * $var36); $this.$motionX = $var20 * $var12 / $var16; $this.$motionZ = $var20 * $var14 / $var16; $var32 = $var1; $var36 = $var32 + 0.5; $var24 = $var36 + var$15[0].data[0] * 0.5; $var34 = $var3; $var38 = $var34 + 0.5; $var26 = $var38 + var$15[0].data[2] * 0.5; $var28 = $var36 + var$15[1].data[0] * 0.5; $var30 = $var38 + var$15[1].data[2] * 0.5; $var37 = $var28 - $var24; $var18 = $var30 - $var26; if ($var37 === 0.0) { $this.$posX = $var36; $var36 = $this.$posZ - $var34; } else if ($var18 === 0.0) { $this.$posZ = $var38; $var36 = $this.$posX - $var32; } else $var36 = (($this.$posX - $var24) * $var37 + ($this.$posZ - $var26) * $var18) * 2.0; $var32 = $var24 + $var37 * $var36; $this.$posX = $var32; $var36 = $var26 + $var18 * $var36; $this.$posZ = $var36; nms_Entity_setPosition($this, $var32, $this.$posY + $this.$yOffset, $var36); $var32 = $this.$motionX; $var34 = $this.$motionZ; if ($this.$riddenByEntity !== null) { $var32 = $var32 * 0.75; $var34 = $var34 * 0.75; } $var36 = (-0.4); if ($var32 < $var36) $var32 = $var36; if ($var32 > $var4) $var32 = $var4; if ($var34 >= $var36) $var36 = $var34; if ($var36 <= $var4) $var4 = $var36; $var36 = 0.0; $ptr = 7; continue main; case 5: nms_Entity_moveEntity($this, $var36, $var32, $var34); if ($rt_suspending()) { break main; } if (!$this.$onGround) { $this.$motionX = $this.$motionX * 0.949999988079071; $this.$motionY = $this.$motionY * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.949999988079071; } $this.$rotationPitch = 0.0; $var43 = $this.$prevPosX - $this.$posX; $var44 = $this.$prevPosZ - $this.$posZ; if ($var43 * $var43 + $var44 * $var44 > 0.001) { var$29 = jl_Math_atan2($var44, $var43) * 180.0 / 3.141592653589793; $this.$rotationYaw = var$29; if ($this.$field_856_i) $this.$rotationYaw = var$29 + 180.0; } var$29 = $this.$rotationYaw; $var13 = var$29 - $this.$prevRotationYaw; while ($var13 >= 180.0) { $var13 = $var13 - 360.0; } while ($var13 < (-180.0)) { $var13 = $var13 + 360.0; } if (!($var13 >= (-170.0) && $var13 < 170.0)) { $this.$rotationYaw = var$29 + 180.0; $this.$field_856_i = $this.$field_856_i ? 0 : 1; } nms_Entity_setRotation($this, $this.$rotationYaw, $this.$rotationPitch); $var46 = $this.$worldObj0; $var15 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.20000000298023224, 0.0, 0.20000000298023224); $ptr = 6; case 6: a: { $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var46, $this, $var15); if ($rt_suspending()) { break main; } $var15 = $tmp; if ($var15 !== null && ju_ArrayList_size($var15) > 0) { $var45 = 0; while (true) { if ($var45 >= ju_ArrayList_size($var15)) break a; $var17 = ju_ArrayList_get($var15, $var45); if ($var17 !== $this.$riddenByEntity && $var17.$canBePushed() && $var17 instanceof nms_EntityMinecart) $var17.$applyEntityCollision($this); $var45 = $var45 + 1 | 0; } } } $var46 = $this.$riddenByEntity; if ($var46 !== null && $var46.$isDead) $this.$riddenByEntity = null; if ($var6 && !ju_Random_nextInt($this.$rand2, 4)) { $var2 = $this.$fuel - 1 | 0; $this.$fuel = $var2; if ($var2 < 0) { $this.$pushZ = 0.0; $this.$pushX = 0.0; } nms_World_spawnParticle($this.$worldObj0, $rt_s(296), $this.$posX, $this.$posY + 0.8, $this.$posZ, 0.0, 0.0, 0.0); } return; case 7: nms_Entity_moveEntity($this, $var32, $var36, $var4); if ($rt_suspending()) { break main; } if (var$15[0].data[1] && (nms_MathHelper_floor_double($this.$posX) - $var1 | 0) == var$15[0].data[0] && (nms_MathHelper_floor_double($this.$posZ) - $var3 | 0) == var$15[0].data[2]) nms_Entity_setPosition($this, $this.$posX, $this.$posY + var$15[0].data[1], $this.$posZ); else if (var$15[1].data[1] && (nms_MathHelper_floor_double($this.$posX) - $var1 | 0) == var$15[1].data[0] && (nms_MathHelper_floor_double($this.$posZ) - $var3 | 0) == var$15[1].data[2]) nms_Entity_setPosition($this, $this.$posX, $this.$posY + var$15[1].data[1], $this.$posZ); if ($this.$riddenByEntity !== null) { $this.$motionX = $this.$motionX * 0.996999979019165; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.996999979019165; } else { if ($this.$d == 2) { $var36 = $this.$pushX; $var36 = $var36 * $var36; $var32 = $this.$pushZ; $var36 = nms_MathHelper_sqrt_double($var36 + $var32 * $var32); if ($var36 <= 0.01) { $this.$motionX = $this.$motionX * 0.8999999761581421; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.8999999761581421; } else { $var6 = 1; $var32 = $this.$pushX / $var36; $this.$pushX = $var32; $var36 = $this.$pushZ / $var36; $this.$pushZ = $var36; $var34 = $this.$motionX * 0.800000011920929; $this.$motionX = $var34; $this.$motionY = $this.$motionY * 0.0; $var37 = $this.$motionZ * 0.800000011920929; $this.$motionZ = $var37; $this.$motionX = $var34 + $var32 * 0.04; $this.$motionZ = $var37 + $var36 * 0.04; } } $this.$motionX = $this.$motionX * 0.9599999785423279; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.9599999785423279; } $var36 = $this.$posX; $var32 = $this.$posY; $var34 = $this.$posZ; $ptr = 8; case 8: $tmp = nms_EntityMinecart_func_514_g($this, $var36, $var32, $var34); if ($rt_suspending()) { break main; } $var46 = $tmp; if ($var46 !== null && $var9 !== null) { $var37 = ($var9.$yCoord - $var46.$yCoord) * 0.05; $var36 = $this.$motionX; $var36 = $var36 * $var36; $var32 = $this.$motionZ; $var36 = jl_Math_sqrt($var36 + $var32 * $var32); if ($var36 > 0.0) { $var32 = $this.$motionX / $var36; $var34 = $var36 + $var37; $this.$motionX = $var32 * $var34; $this.$motionZ = $this.$motionZ / $var36 * $var34; } nms_Entity_setPosition($this, $this.$posX, $var46.$yCoord, $this.$posZ); } $var47 = nms_MathHelper_floor_double($this.$posX); $var48 = nms_MathHelper_floor_double($this.$posZ); if (!($var47 == $var1 && $var48 == $var3)) { $var36 = $this.$motionX; $var36 = $var36 * $var36; $var32 = $this.$motionZ; $var36 = jl_Math_sqrt($var36 + $var32 * $var32); $this.$motionX = $var36 * ($var47 - $var1 | 0); $this.$motionZ = $var36 * ($var48 - $var3 | 0); } if ($this.$d == 2) { $var36 = $this.$pushX; $var36 = $var36 * $var36; $var32 = $this.$pushZ; $var39 = nms_MathHelper_sqrt_double($var36 + $var32 * $var32); if ($var39 > 0.01) { $var36 = $this.$motionX; $var32 = $var36 * $var36; $var34 = $this.$motionZ; if ($var32 + $var34 * $var34 > 0.001) { $var32 = $this.$pushX / $var39; $this.$pushX = $var32; $var38 = $this.$pushZ / $var39; $this.$pushZ = $var38; if ($var32 * $var36 + $var38 * $var34 >= 0.0) { $this.$pushX = $var36; $this.$pushZ = $var34; } else { $this.$pushX = 0.0; $this.$pushZ = 0.0; } } } } $this.$rotationPitch = 0.0; $var43 = $this.$prevPosX - $this.$posX; $var44 = $this.$prevPosZ - $this.$posZ; if ($var43 * $var43 + $var44 * $var44 > 0.001) { var$29 = jl_Math_atan2($var44, $var43) * 180.0 / 3.141592653589793; $this.$rotationYaw = var$29; if ($this.$field_856_i) $this.$rotationYaw = var$29 + 180.0; } var$29 = $this.$rotationYaw; $var13 = var$29 - $this.$prevRotationYaw; while ($var13 >= 180.0) { $var13 = $var13 - 360.0; } while ($var13 < (-180.0)) { $var13 = $var13 + 360.0; } if (!($var13 >= (-170.0) && $var13 < 170.0)) { $this.$rotationYaw = var$29 + 180.0; $this.$field_856_i = $this.$field_856_i ? 0 : 1; } nms_Entity_setRotation($this, $this.$rotationYaw, $this.$rotationPitch); $var46 = $this.$worldObj0; $var15 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.20000000298023224, 0.0, 0.20000000298023224); $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var32, $var1, $var3, $var46, $var47, $var4, $var6, $var7, $var36, $var34, $var9, $var10, $var48, var$15, $var12, $var14, $var16, $var38, $var20, $var24, $var26, $var28, $var30, $var37, $var18, $var43, $var44, var$29, $var13, $var15, $var45, $var17, $var39, $ptr); } function nms_EntityMinecart_func_515_a($this, $var1, $var3, $var5, $var7) { var $var9, $var10, $var11, var$8, $var12, var$10, $var14, $var16, $var18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();var$10 = $thread.pop();$var12 = $thread.pop();var$8 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = nms_MathHelper_floor_double($var1); $var10 = nms_MathHelper_floor_double($var3); $var11 = nms_MathHelper_floor_double($var5); var$8 = $this.$worldObj0; $var12 = $var10 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$8, $var9, $var12, $var11); if ($rt_suspending()) { break main; } $var12 = $tmp; nms_Block_$callClinit(); if ($var12 == nms_Block_minecartTrack.$blockID) $var10 = $var10 + (-1) | 0; var$8 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getBlockId(var$8, $var9, $var10, $var11); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 != nms_Block_minecartTrack.$blockID) return null; var$8 = $this.$worldObj0; $ptr = 3; case 3: $tmp = nms_World_getBlockMetadata(var$8, $var9, $var10, $var11); if ($rt_suspending()) { break main; } $var12 = $tmp; $var3 = $var10; if ($var12 >= 2 && $var12 <= 5) $var3 = $var10 + 1 | 0; var$10 = nms_EntityMinecart_field_855_j.data[$var12].data; $var14 = var$10[1].data[0] - var$10[0].data[0] | 0; $var16 = var$10[1].data[2] - var$10[0].data[2] | 0; $var18 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16); $var14 = $var14 / $var18; $var16 = $var16 / $var18; $var14 = $var1 + $var14 * $var7; $var5 = $var5 + $var16 * $var7; if (var$10[0].data[1] && (nms_MathHelper_floor_double($var14) - $var9 | 0) == var$10[0].data[0] && (nms_MathHelper_floor_double($var5) - $var11 | 0) == var$10[0].data[2]) $var3 = $var3 + var$10[0].data[1]; else if (var$10[1].data[1] && (nms_MathHelper_floor_double($var14) - $var9 | 0) == var$10[1].data[0] && (nms_MathHelper_floor_double($var5) - $var11 | 0) == var$10[1].data[2]) $var3 = $var3 + var$10[1].data[1]; $ptr = 4; case 4: $tmp = nms_EntityMinecart_func_514_g($this, $var14, $var3, $var5); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var7, $var9, $var10, $var11, var$8, $var12, var$10, $var14, $var16, $var18, $ptr); } function nms_EntityMinecart_func_514_g($this, $var1, $var3, $var5) { var $var7, $var8, $var9, var$7, var$8, $var10, $var11, $var36, $var20, $var14, $var24, $var16, $var32, $var26, $var18, $var22, $var28, $var30, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();$var22 = $thread.pop();$var18 = $thread.pop();$var26 = $thread.pop();$var32 = $thread.pop();$var16 = $thread.pop();$var24 = $thread.pop();$var14 = $thread.pop();$var20 = $thread.pop();$var36 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = nms_MathHelper_floor_double($var1); $var8 = nms_MathHelper_floor_double($var3); $var9 = nms_MathHelper_floor_double($var5); var$7 = $this.$worldObj0; var$8 = $var8 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$7, $var7, var$8, $var9); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_Block_$callClinit(); if (var$8 == nms_Block_minecartTrack.$blockID) $var8 = $var8 + (-1) | 0; var$7 = $this.$worldObj0; $ptr = 2; case 2: $tmp = nms_World_getBlockId(var$7, $var7, $var8, $var9); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 != nms_Block_minecartTrack.$blockID) return null; var$7 = $this.$worldObj0; $ptr = 3; case 3: $tmp = nms_World_getBlockMetadata(var$7, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var10 = $tmp; $var3 = $var8; $var10 >= 2 && $var10 > 5; $var11 = nms_EntityMinecart_field_855_j.data[$var10].data; $var36 = $var7; $var20 = $var36 + 0.5; $var14 = $var20 + $var11[0].data[0] * 0.5; $var24 = $var3 + 0.5; $var16 = $var24 + $var11[0].data[1] * 0.5; $var32 = $var9; $var26 = $var32 + 0.5; $var18 = $var26 + $var11[0].data[2] * 0.5; $var20 = $var20 + $var11[1].data[0] * 0.5; $var22 = $var24 + $var11[1].data[1] * 0.5; $var24 = $var26 + $var11[1].data[2] * 0.5; $var26 = $var20 - $var14; $var28 = ($var22 - $var16) * 2.0; $var30 = $var24 - $var18; $var36 = $var26 === 0.0 ? $var5 - $var32 : $var30 === 0.0 ? $var1 - $var36 : (($var1 - $var14) * $var26 + ($var5 - $var18) * $var30) * 2.0; $var1 = $var14 + $var26 * $var36; $var3 = $var16 + $var28 * $var36; $var5 = $var18 + $var30 * $var36; var$8 = $rt_compare($var28, 0.0); if (var$8 < 0) $var3 = $var3 + 1.0; if (var$8 > 0) $var3 = $var3 + 0.5; return nms_Vec3D_createVector($var1, $var3, $var5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var7, $var8, $var9, var$7, var$8, $var10, $var11, $var36, $var20, $var14, $var24, $var16, $var32, $var26, $var18, $var22, $var28, $var30, $ptr); } function nms_EntityMinecart_writeEntityToNBT($this, $var1) { var $var3, $var2, var$4, $var4; nms_NBTTagCompound_setInteger($var1, $rt_s(671), $this.$d); $var3 = $this.$d; if ($var3 == 2) { nms_NBTTagCompound_setDouble($var1, $rt_s(672), $this.$pushX); nms_NBTTagCompound_setDouble($var1, $rt_s(673), $this.$pushZ); nms_NBTTagCompound_setShort($var1, $rt_s(674), $this.$fuel << 16 >> 16); } else if ($var3 == 1) { $var2 = nms_NBTTagList__init_0(); $var3 = 0; while (true) { var$4 = $this.$cargoItems.data; if ($var3 >= var$4.length) break; if (var$4[$var3] !== null) { $var4 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setByte($var4, $rt_s(544), $var3 << 24 >> 24); nms_ItemStack_writeToNBT($this.$cargoItems.data[$var3], $var4); nms_NBTTagList_setTag($var2, $var4); } $var3 = $var3 + 1 | 0; } nms_NBTTagCompound_setTag($var1, $rt_s(675), $var2); } } function nms_EntityMinecart_readEntityFromNBT($this, $var1) { var $var3, $var2, $var4, $var5, var$6; a: { $var3 = nms_NBTTagCompound_getInteger($var1, $rt_s(671)); $this.$d = $var3; if ($var3 == 2) { $this.$pushX = nms_NBTTagCompound_getDouble($var1, $rt_s(672)); $this.$pushZ = nms_NBTTagCompound_getDouble($var1, $rt_s(673)); $this.$fuel = nms_NBTTagCompound_getShort($var1, $rt_s(674)); } else if ($var3 == 1) { $var2 = nms_NBTTagCompound_getTagList($var1, $rt_s(675)); $this.$cargoItems = $rt_createArray(nms_ItemStack, 27); $var3 = 0; while (true) { if ($var3 >= nms_NBTTagList_tagCount($var2)) break a; $var4 = nms_NBTTagList_tagAt($var2, $var3); $var5 = nms_NBTTagCompound_getByte($var4, $rt_s(544)) & 255; if ($var5 >= 0) { var$6 = $this.$cargoItems.data; if ($var5 < var$6.length) var$6[$var5] = nms_ItemStack__init_5($var4); } $var3 = $var3 + 1 | 0; } } } } function nms_EntityMinecart_func_392_h_($this) { return 0.0; } function nms_EntityMinecart_applyEntityCollision($this, $var1) { var var$2, $var2, $var4, $var6, $var8, $var10, var$8, var$9, $var12, var$11; var$2 = $this.$riddenByEntity; if ($var1 !== var$2) { if ($var1 instanceof nms_EntityLiving && !($var1 instanceof nms_EntityPlayer) && !$this.$d) { $var2 = $this.$motionX; $var2 = $var2 * $var2; $var4 = $this.$motionZ; if ($var2 + $var4 * $var4 > 0.01 && var$2 === null && $var1.$ridingEntity === null) nms_Entity_mountEntity($var1, $this); } $var2 = $var1.$posX - $this.$posX; $var4 = $var1.$posZ - $this.$posZ; $var6 = $var2 * $var2 + $var4 * $var4; if ($var6 >= 9.999999747378752E-5) { $var6 = nms_MathHelper_sqrt_double($var6); $var2 = $var2 / $var6; $var4 = $var4 / $var6; $var8 = 1.0 / $var6; if ($var8 > 1.0) $var8 = 1.0; $var2 = $var2 * $var8; $var4 = $var4 * $var8; $var2 = $var2 * 0.10000000149011612; $var4 = $var4 * 0.10000000149011612; $var6 = 1.0 - $this.$field_632_aO; $var2 = $var2 * $var6; $var4 = $var4 * $var6; $var2 = $var2 * 0.5; $var4 = $var4 * 0.5; if (!($var1 instanceof nms_EntityMinecart)) { nms_Entity_addVelocity($this, -$var2, 0.0, -$var4); nms_Entity_addVelocity($var1, $var2 / 4.0, 0.0, $var4 / 4.0); } else { $var6 = $var1.$motionX; $var8 = $this.$motionX; $var10 = $var6 + $var8; var$8 = $var1.$motionZ; var$9 = $this.$motionZ; $var12 = var$8 + var$9; var$11 = $rt_compare($var1.$d, 2); if (!var$11 && $this.$d != 2) { $this.$motionX = $var8 * 0.20000000298023224; $this.$motionZ = var$9 * 0.20000000298023224; nms_Entity_addVelocity($this, $var1.$motionX - $var2, 0.0, $var1.$motionZ - $var4); $var1.$motionX = $var1.$motionX * 0.699999988079071; $var1.$motionZ = $var1.$motionZ * 0.699999988079071; } else if (var$11 && $this.$d == 2) { $var1.$motionX = $var6 * 0.20000000298023224; $var1.$motionZ = var$8 * 0.20000000298023224; nms_Entity_addVelocity($var1, $this.$motionX + $var2, 0.0, $this.$motionZ + $var4); $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; } else { $var6 = $var10 / 2.0; $var10 = $var12 / 2.0; $this.$motionX = $var8 * 0.20000000298023224; $this.$motionZ = var$9 * 0.20000000298023224; nms_Entity_addVelocity($this, $var6 - $var2, 0.0, $var10 - $var4); $var1.$motionX = $var1.$motionX * 0.20000000298023224; $var1.$motionZ = $var1.$motionZ * 0.20000000298023224; nms_Entity_addVelocity($var1, $var6 + $var2, 0.0, $var10 + $var4); } } } } } function nms_EntityMinecart_getSizeInventory($this) { return 27; } function nms_EntityMinecart_getStackInSlot($this, $var1) { return $this.$cargoItems.data[$var1]; } function nms_EntityMinecart_decrStackSize($this, $var1, $var2) { var var$3, $var3; var$3 = $this.$cargoItems.data; if (var$3[$var1] === null) return null; if (var$3[$var1].$stackSize <= $var2) { $var3 = var$3[$var1]; var$3[$var1] = null; return $var3; } $var3 = nms_ItemStack_splitStack(var$3[$var1], $var2); var$3 = $this.$cargoItems.data; if (!var$3[$var1].$stackSize) var$3[$var1] = null; return $var3; } function nms_EntityMinecart_setInventorySlotContents($this, $var1, $var2) { $this.$cargoItems.data[$var1] = $var2; if ($var2 !== null && $var2.$stackSize > 64) $var2.$stackSize = 64; } function nms_EntityMinecart_getInvName($this) { return $rt_s(676); } function nms_EntityMinecart_getInventoryStackLimit($this) { return 64; } function nms_EntityMinecart_onInventoryChanged($this) {} function nms_EntityMinecart_interact($this, $var1) { var var$2, $var2, 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();$var2 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$d; if (!var$2) { $var2 = $this.$riddenByEntity; if ($var2 !== null && $var2 instanceof nms_EntityPlayer && $var2 !== $var1) return 1; nms_Entity_mountEntity($var1, $this); } else { if (var$2 == 1) { $ptr = 1; continue main; } if (var$2 == 2) { $var2 = nms_InventoryPlayer_getCurrentItem($var1.$inventory0); if ($var2 !== null) { var$4 = $var2.$itemID; nms_Item_$callClinit(); if (var$4 == nms_Item_coal.$shiftedIndex) { var$4 = $var2.$stackSize - 1 | 0; $var2.$stackSize = var$4; if (!var$4) { $var2 = $var1.$inventory0; var$4 = $var2.$currentItem; var$5 = null; $ptr = 2; continue main; } $this.$fuel = $this.$fuel + 1200 | 0; } } $this.$pushX = $this.$posX - $var1.$posX; $this.$pushZ = $this.$posZ - $var1.$posZ; } } return 1; case 1: nms_EntityPlayerSP_displayGUIChest($var1, $this); if ($rt_suspending()) { break main; } return 1; case 2: nms_InventoryPlayer_setInventorySlotContents($var2, var$4, var$5); if ($rt_suspending()) { break main; } $this.$fuel = $this.$fuel + 1200 | 0; $this.$pushX = $this.$posX - $var1.$posX; $this.$pushZ = $this.$posZ - $var1.$posZ; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var2, var$4, var$5, $ptr); } function nms_EntityMinecart__clinit_() { nms_EntityMinecart_field_855_j = $rt_createArrayFromData($rt_arraycls($rt_arraycls($rt_intcls())), [$rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([0, 0, (-1)]), $rt_createIntArrayFromData([0, 0, 1])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([(-1), 0, 0]), $rt_createIntArrayFromData([1, 0, 0])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([(-1), (-1), 0]), $rt_createIntArrayFromData([1, 0, 0])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([(-1), 0, 0]), $rt_createIntArrayFromData([1, (-1), 0])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([0, 0, (-1)]), $rt_createIntArrayFromData([0, (-1), 1])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([0, (-1), (-1)]), $rt_createIntArrayFromData([0, 0, 1])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([0, 0, 1]), $rt_createIntArrayFromData([1, 0, 0])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([0, 0, 1]), $rt_createIntArrayFromData([(-1), 0, 0])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([0, 0, (-1)]), $rt_createIntArrayFromData([(-1), 0, 0])]), $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([0, 0, (-1)]), $rt_createIntArrayFromData([1, 0, 0])])]); } function nms_RenderMinecart() { nms_Render.call(this); this.$a6 = null; } function nms_RenderMinecart__init_0() { var var_0 = new nms_RenderMinecart(); nms_RenderMinecart__init_(var_0); return var_0; } function nms_RenderMinecart__init_($this) { nms_Render__init_($this); $this.$field_9246_c = 0.5; $this.$a6 = nms_ModelMinecart__init_0(); } function nms_RenderMinecart_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $var10, $var12, $var14, $var16, $var18, $var19, $var23, $var24, $var21, $var20, $var22, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var21 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glPushMatrix(); $var10 = $var1.$lastTickPosX; $var12 = $var1.$posX - $var10; $var14 = $var9; $var10 = $var10 + $var12 * $var14; $var12 = $var1.$lastTickPosY; $var12 = $var12 + ($var1.$posY - $var12) * $var14; $var16 = $var1.$lastTickPosZ; $var14 = $var16 + ($var1.$posZ - $var16) * $var14; $var16 = 0.30000001192092896; $ptr = 1; case 1: $tmp = nms_EntityMinecart_func_514_g($var1, $var10, $var12, $var14); if ($rt_suspending()) { break main; } $var18 = $tmp; $var19 = $var1.$prevRotationPitch; $var19 = $var19 + ($var1.$rotationPitch - $var19) * $var9; if ($var18 !== null) { $ptr = 2; continue main; } olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); olo_EaglerAdapterGL30_glRotatef(180.0 - $var8, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var19, 0.0, 0.0, 1.0); $var23 = $var1.$b1 - $var9; $var24 = $var1.$a5 - $var9; if ($var24 < 0.0) $var24 = 0.0; if ($var23 > 0.0) olo_EaglerAdapterGL30_glRotatef(nms_MathHelper_sin($var23) * $var23 * $var24 / 10.0 * $var1.$c1, 1.0, 0.0, 0.0); if (!$var1.$d) { $var1 = $rt_s(677); $ptr = 4; continue main; } $var21 = $rt_s(198); $ptr = 5; continue main; case 2: $tmp = nms_EntityMinecart_func_515_a($var1, $var10, $var12, $var14, $var16); if ($rt_suspending()) { break main; } $var20 = $tmp; $var16 = (-0.30000001192092896); $ptr = 3; case 3: $tmp = nms_EntityMinecart_func_515_a($var1, $var10, $var12, $var14, $var16); if ($rt_suspending()) { break main; } $var21 = $tmp; if ($var20 === null) $var20 = $var18; if ($var21 === null) $var21 = $var18; $var2 = $var2 + $var18.$xCoord - $var10; $var10 = $var20.$yCoord; $var4 = $var4 + ($var10 + $var21.$yCoord) / 2.0 - $var12; $var6 = $var6 + $var18.$zCoord - $var14; $var22 = nms_Vec3D_addVector($var21, -$var20.$xCoord, -$var10, -$var20.$zCoord); if (nms_Vec3D_lengthVector($var22) !== 0.0) { $var21 = nms_Vec3D_normalize($var22); $var8 = jl_Math_atan2($var21.$zCoord, $var21.$xCoord) * 180.0 / 3.141592653589793; $var19 = jl_Math_atan($var21.$yCoord) * 73.0; } olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); olo_EaglerAdapterGL30_glRotatef(180.0 - $var8, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$var19, 0.0, 0.0, 1.0); $var23 = $var1.$b1 - $var9; $var24 = $var1.$a5 - $var9; if ($var24 < 0.0) $var24 = 0.0; if ($var23 > 0.0) olo_EaglerAdapterGL30_glRotatef(nms_MathHelper_sin($var23) * $var23 * $var24 / 10.0 * $var1.$c1, 1.0, 0.0, 0.0); if (!$var1.$d) { $var1 = $rt_s(677); $ptr = 4; continue main; } $var21 = $rt_s(198); $ptr = 5; continue main; case 4: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glScalef((-1.0), (-1.0), 1.0); $var1 = $this.$a6; $var1.$field_1256_a.data[5].$offsetY = 4.099999904632568; var$18 = 0; while (var$18 < 6) { nms_ModelRenderer_render($var1.$field_1256_a.data[var$18], 0.0625); var$18 = var$18 + 1 | 0; } olo_EaglerAdapterGL30_glPopMatrix(); return; case 5: nms_Render_loadTexture($this, $var21); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glScalef(0.75, 0.75, 0.75); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.3125, 0.0); olo_EaglerAdapterGL30_glRotatef(90.0, 0.0, 1.0, 0.0); var$18 = $var1.$d; if (var$18 == 1) { $var1 = nms_RenderBlocks__init_1(); nms_Block_$callClinit(); nms_RenderBlocks_func_1227_a($var1, nms_Block_crate); } else if (var$18 == 2) { $var1 = nms_RenderBlocks__init_1(); nms_Block_$callClinit(); nms_RenderBlocks_func_1227_a($var1, nms_Block_stoneOvenIdle); } olo_EaglerAdapterGL30_glRotatef((-90.0), 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.3125), 0.0); olo_EaglerAdapterGL30_glScalef(1.3333333730697632, 1.3333333730697632, 1.3333333730697632); $var1 = $rt_s(677); $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var12, $var14, $var16, $var18, $var19, $var23, $var24, $var21, $var20, $var22, var$18, $ptr); } function nms_RenderMinecart_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderMinecart_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_EntityBoat() { var a = this; nms_Entity.call(a); a.$field_807_a = 0; a.$field_806_b = 0; a.$field_808_c = 0; } function nms_EntityBoat__init_0(var_0) { var var_1 = new nms_EntityBoat(); nms_EntityBoat__init_(var_1, var_0); return var_1; } function nms_EntityBoat__init_($this, $var1) { nms_Entity__init_($this, $var1); $this.$field_807_a = 0; $this.$field_806_b = 0; $this.$field_808_c = 1; $this.$field_618_ad = 1; nms_Entity_setSize($this, 1.5, 0.6000000238418579); $this.$yOffset = $this.$height / 2.0; $this.$entityWalks = 0; } function nms_EntityBoat_func_383_b_($this, $var1) { return $var1.$boundingBox; } function nms_EntityBoat_func_372_f_($this) { return $this.$boundingBox; } function nms_EntityBoat_canBePushed($this) { return 1; } function nms_EntityBoat_func_402_h($this) { return $this.$height * 0.0 - 0.30000001192092896; } function nms_EntityBoat_canAttackEntity($this, $var1, $var2) { var $var3, 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: if ($this.$isDead) return 1; $this.$field_808_c = -$this.$field_808_c | 0; $this.$field_806_b = 10; $this.$field_807_a = $this.$field_807_a + ($var2 * 10 | 0) | 0; nms_Entity_func_9281_M($this); if ($this.$field_807_a <= 40) return 1; $var3 = 0; if ($var3 < 3) { nms_Block_$callClinit(); $var2 = nms_Block_planks.$blockID; var$4 = 1; var$5 = 0.0; $ptr = 1; continue main; } $var2 = 0; if ($var2 >= 2) { $ptr = 2; continue main; } nms_Item_$callClinit(); $var3 = nms_Item_stick.$shiftedIndex; var$4 = 1; var$5 = 0.0; $ptr = 3; continue main; case 1: nms_Entity_dropItemWithOffset($this, $var2, var$4, var$5); if ($rt_suspending()) { break main; } $var3 = $var3 + 1 | 0; if ($var3 < 3) { nms_Block_$callClinit(); $var2 = nms_Block_planks.$blockID; var$4 = 1; var$5 = 0.0; continue main; } $var2 = 0; if ($var2 >= 2) { $ptr = 2; continue main; } nms_Item_$callClinit(); $var3 = nms_Item_stick.$shiftedIndex; var$4 = 1; var$5 = 0.0; $ptr = 3; continue main; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return 1; case 3: nms_Entity_dropItemWithOffset($this, $var3, var$4, var$5); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 >= 2) { $ptr = 2; continue main; } nms_Item_$callClinit(); $var3 = nms_Item_stick.$shiftedIndex; var$4 = 1; var$5 = 0.0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $ptr); } function nms_EntityBoat_canBeCollidedWith($this) { return $this.$isDead ? 0 : 1; } function nms_EntityBoat_onUpdate($this) { var $var1, $var2, $var4, $var25, $var18, $var8, $var23, $var5, $var7, $var9, $var20, $var24, $var10, $var12, $var14, $var15, $var17, $var19, $var21, $var16, var$21, $var26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var26 = $thread.pop();var$21 = $thread.pop();$var16 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var24 = $thread.pop();$var20 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var23 = $thread.pop();$var8 = $thread.pop();$var18 = $thread.pop();$var25 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onUpdate($this); if ($rt_suspending()) { break main; } $var1 = $this.$field_806_b; if ($var1 > 0) $this.$field_806_b = $var1 - 1 | 0; $var1 = $this.$field_807_a; if ($var1 > 0) $this.$field_807_a = $var1 - 1 | 0; $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $var1 = 5; $var2 = 0.0; $var4 = 0; $var25 = 0.2; if ($var4 < $var1) { $var18 = $this.$boundingBox; $var8 = $var18.$minY0; $var23 = $var18.$maxY0 - $var8; $var5 = $var8 + $var23 * ($var4 + 0 | 0) / 5.0 - 0.125; $var4 = $var4 + 1 | 0; $var7 = $var8 + $var23 * $var4 / 5.0 - 0.125; $var9 = nms_AxisAlignedBB_getBoundingBoxFromPool($var18.$minX, $var5, $var18.$minZ0, $var18.$maxX0, $var7, $var18.$maxZ0); $var18 = $this.$worldObj0; nms_Material_$callClinit(); $var20 = nms_Material_water; $ptr = 2; continue main; } $var23 = $var2 * 2.0 - 1.0; $var8 = $this.$motionY + 0.03999999910593033 * $var23; $this.$motionY = $var8; $var18 = $this.$riddenByEntity; if ($var18 !== null) { $this.$motionX = $this.$motionX + $var18.$motionX * 0.2; $this.$motionZ = $this.$motionZ + $var18.$motionZ * 0.2; } if ($this.$motionX < (-0.4)) $this.$motionX = (-0.4); if ($this.$motionX > 0.4) $this.$motionX = 0.4; if ($this.$motionZ < (-0.4)) $this.$motionZ = (-0.4); if ($this.$motionZ > 0.4) $this.$motionZ = 0.4; if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $var8 * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $var8 = $this.$motionX; $var2 = $this.$motionY; $var23 = $this.$motionZ; $ptr = 3; continue main; case 2: $tmp = nms_World_func_707_b($var18, $var9, $var20); if ($rt_suspending()) { break main; } $var24 = $tmp; if ($var24) $var2 = $var2 + $var25; if ($var4 < $var1) { $var18 = $this.$boundingBox; $var8 = $var18.$minY0; $var23 = $var18.$maxY0 - $var8; $var5 = $var8 + $var23 * ($var4 + 0 | 0) / 5.0 - 0.125; $var4 = $var4 + 1 | 0; $var7 = $var8 + $var23 * $var4 / 5.0 - 0.125; $var9 = nms_AxisAlignedBB_getBoundingBoxFromPool($var18.$minX, $var5, $var18.$minZ0, $var18.$maxX0, $var7, $var18.$maxZ0); $var18 = $this.$worldObj0; nms_Material_$callClinit(); $var20 = nms_Material_water; continue main; } $var23 = $var2 * 2.0 - 1.0; $var8 = $this.$motionY + 0.03999999910593033 * $var23; $this.$motionY = $var8; $var18 = $this.$riddenByEntity; if ($var18 !== null) { $this.$motionX = $this.$motionX + $var18.$motionX * 0.2; $this.$motionZ = $this.$motionZ + $var18.$motionZ * 0.2; } if ($this.$motionX < (-0.4)) $this.$motionX = (-0.4); if ($this.$motionX > 0.4) $this.$motionX = 0.4; if ($this.$motionZ < (-0.4)) $this.$motionZ = (-0.4); if ($this.$motionZ > 0.4) $this.$motionZ = 0.4; if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $var8 * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $var8 = $this.$motionX; $var2 = $this.$motionY; $var23 = $this.$motionZ; $ptr = 3; case 3: a: { nms_Entity_moveEntity($this, $var8, $var2, $var23); if ($rt_suspending()) { break main; } $var8 = $this.$motionX; $var8 = $var8 * $var8; $var2 = $this.$motionZ; $var8 = jl_Math_sqrt($var8 + $var2 * $var2); $var1 = $rt_compare($var8, 0.15); if ($var1 > 0) { $var10 = jl_Math_cos($this.$rotationYaw * 3.141592653589793 / 180.0); $var12 = jl_Math_sin($this.$rotationYaw * 3.141592653589793 / 180.0); $var14 = 0; $var25 = 1.0 + $var8 * 60.0; while (true) { if ($var14 >= $var25) break a; $var15 = ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0; $var17 = ((ju_Random_nextInt($this.$rand2, 2) * 2 | 0) - 1 | 0) * 0.7; if (!jur_RandomGenerator_nextBoolean($this.$rand2)) { $var19 = $this.$posX + $var10 + $var12 * $var15 * 0.7; $var21 = $this.$posZ + $var12 - $var10 * $var15 * 0.7; nms_World_spawnParticle($this.$worldObj0, $rt_s(489), $var19, $this.$posY - 0.125, $var21, $this.$motionX, $this.$motionY, $this.$motionZ); } else { $var19 = $this.$posX - $var10 * $var15 * 0.8 + $var12 * $var17; $var21 = $this.$posZ - $var12 * $var15 * 0.8 - $var10 * $var17; nms_World_spawnParticle($this.$worldObj0, $rt_s(489), $var19, $this.$posY - 0.125, $var21, $this.$motionX, $this.$motionY, $this.$motionZ); } $var14 = $var14 + 1 | 0; } } } if ($this.$field_9297_aI && $var1 > 0) { $ptr = 4; continue main; } $this.$motionX = $this.$motionX * 0.9900000095367432; $this.$motionY = $this.$motionY * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.9900000095367432; $this.$rotationPitch = 0.0; $var10 = $this.$rotationYaw; $var12 = $this.$prevPosX - $this.$posX; $var25 = $this.$prevPosZ - $this.$posZ; if ($var12 * $var12 + $var25 * $var25 > 0.001) $var10 = jl_Math_atan2($var25, $var12) * 180.0 / 3.141592653589793; $var8 = $this.$rotationYaw; $var16 = $var10 - $var8; while ($var16 >= 180.0) { $var16 = $var16 - 360.0; } while ($var16 < (-180.0)) { $var16 = $var16 + 360.0; } if ($var16 > 20.0) $var16 = 20.0; if ($var16 < (-20.0)) $var16 = (-20.0); var$21 = $var8 + $var16; $this.$rotationYaw = var$21; nms_Entity_setRotation($this, var$21, $this.$rotationPitch); $var18 = $this.$worldObj0; $var20 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.20000000298023224, 0.0, 0.20000000298023224); $ptr = 7; continue main; case 4: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $var24 = 0; if ($var24 < 3) { nms_Block_$callClinit(); $var1 = nms_Block_planks.$blockID; $var4 = 1; var$21 = 0.0; $ptr = 5; continue main; } $var1 = 0; if ($var1 < 2) { nms_Item_$callClinit(); $var4 = nms_Item_stick.$shiftedIndex; $var24 = 1; var$21 = 0.0; $ptr = 6; continue main; } $this.$rotationPitch = 0.0; $var10 = $this.$rotationYaw; $var12 = $this.$prevPosX - $this.$posX; $var25 = $this.$prevPosZ - $this.$posZ; if ($var12 * $var12 + $var25 * $var25 > 0.001) $var10 = jl_Math_atan2($var25, $var12) * 180.0 / 3.141592653589793; $var8 = $this.$rotationYaw; $var16 = $var10 - $var8; while ($var16 >= 180.0) { $var16 = $var16 - 360.0; } while ($var16 < (-180.0)) { $var16 = $var16 + 360.0; } if ($var16 > 20.0) $var16 = 20.0; if ($var16 < (-20.0)) $var16 = (-20.0); var$21 = $var8 + $var16; $this.$rotationYaw = var$21; nms_Entity_setRotation($this, var$21, $this.$rotationPitch); $var18 = $this.$worldObj0; $var20 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.20000000298023224, 0.0, 0.20000000298023224); $ptr = 7; continue main; case 5: nms_Entity_dropItemWithOffset($this, $var1, $var4, var$21); if ($rt_suspending()) { break main; } $var24 = $var24 + 1 | 0; if ($var24 < 3) { nms_Block_$callClinit(); $var1 = nms_Block_planks.$blockID; $var4 = 1; var$21 = 0.0; continue main; } $var1 = 0; if ($var1 < 2) { nms_Item_$callClinit(); $var4 = nms_Item_stick.$shiftedIndex; $var24 = 1; var$21 = 0.0; $ptr = 6; continue main; } $this.$rotationPitch = 0.0; $var10 = $this.$rotationYaw; $var12 = $this.$prevPosX - $this.$posX; $var25 = $this.$prevPosZ - $this.$posZ; if ($var12 * $var12 + $var25 * $var25 > 0.001) $var10 = jl_Math_atan2($var25, $var12) * 180.0 / 3.141592653589793; $var8 = $this.$rotationYaw; $var16 = $var10 - $var8; while ($var16 >= 180.0) { $var16 = $var16 - 360.0; } while ($var16 < (-180.0)) { $var16 = $var16 + 360.0; } if ($var16 > 20.0) $var16 = 20.0; if ($var16 < (-20.0)) $var16 = (-20.0); var$21 = $var8 + $var16; $this.$rotationYaw = var$21; nms_Entity_setRotation($this, var$21, $this.$rotationPitch); $var18 = $this.$worldObj0; $var20 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.20000000298023224, 0.0, 0.20000000298023224); $ptr = 7; continue main; case 6: nms_Entity_dropItemWithOffset($this, $var4, $var24, var$21); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; if ($var1 < 2) { nms_Item_$callClinit(); $var4 = nms_Item_stick.$shiftedIndex; $var24 = 1; var$21 = 0.0; continue main; } $this.$rotationPitch = 0.0; $var10 = $this.$rotationYaw; $var12 = $this.$prevPosX - $this.$posX; $var25 = $this.$prevPosZ - $this.$posZ; if ($var12 * $var12 + $var25 * $var25 > 0.001) $var10 = jl_Math_atan2($var25, $var12) * 180.0 / 3.141592653589793; $var8 = $this.$rotationYaw; $var16 = $var10 - $var8; while ($var16 >= 180.0) { $var16 = $var16 - 360.0; } while ($var16 < (-180.0)) { $var16 = $var16 + 360.0; } if ($var16 > 20.0) $var16 = 20.0; if ($var16 < (-20.0)) $var16 = (-20.0); var$21 = $var8 + $var16; $this.$rotationYaw = var$21; nms_Entity_setRotation($this, var$21, $this.$rotationPitch); $var18 = $this.$worldObj0; $var20 = nms_AxisAlignedBB_expands($this.$boundingBox, 0.20000000298023224, 0.0, 0.20000000298023224); $ptr = 7; case 7: a: { $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var18, $this, $var20); if ($rt_suspending()) { break main; } $var18 = $tmp; if ($var18 !== null && ju_ArrayList_size($var18) > 0) { $var26 = 0; while (true) { if ($var26 >= ju_ArrayList_size($var18)) break a; $var20 = ju_ArrayList_get($var18, $var26); if ($var20 !== $this.$riddenByEntity && $var20.$canBePushed() && $var20 instanceof nms_EntityBoat) $var20.$applyEntityCollision($this); $var26 = $var26 + 1 | 0; } } } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18.$isDead) $this.$riddenByEntity = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var25, $var18, $var8, $var23, $var5, $var7, $var9, $var20, $var24, $var10, $var12, $var14, $var15, $var17, $var19, $var21, $var16, var$21, $var26, $ptr); } function nms_EntityBoat_func_366_i_($this) { var $var1, $var3; if ($this.$riddenByEntity !== null) { $var1 = jl_Math_cos($this.$rotationYaw * 3.141592653589793 / 180.0) * 0.4; $var3 = jl_Math_sin($this.$rotationYaw * 3.141592653589793 / 180.0) * 0.4; nms_Entity_setPosition($this.$riddenByEntity, $this.$posX + $var1, $this.$posY + nms_EntityBoat_func_402_h($this) + $this.$riddenByEntity.$func_388_v(), $this.$posZ + $var3); } } function nms_EntityBoat_writeEntityToNBT($this, $var1) {} function nms_EntityBoat_readEntityFromNBT($this, $var1) {} function nms_EntityBoat_func_392_h_($this) { return 0.0; } function nms_EntityBoat_interact($this, $var1) { var var$2; var$2 = $this.$riddenByEntity; if (var$2 !== null && var$2 instanceof nms_EntityPlayer && var$2 !== $var1) return 1; nms_Entity_mountEntity($var1, $this); return 1; } function nms_RenderBoat() { nms_Render.call(this); this.$field_198_d = null; } function nms_RenderBoat__init_0() { var var_0 = new nms_RenderBoat(); nms_RenderBoat__init_(var_0); return var_0; } function nms_RenderBoat__init_($this) { nms_Render__init_($this); $this.$field_9246_c = 0.5; $this.$field_198_d = nms_ModelBoat__init_0(); } function nms_RenderBoat_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); olo_EaglerAdapterGL30_glRotatef(180.0 - $var8, 0.0, 1.0, 0.0); $var8 = $var1.$field_806_b - $var9; $var9 = $var1.$field_807_a - $var9; if ($var9 < 0.0) $var9 = 0.0; if ($var8 > 0.0) olo_EaglerAdapterGL30_glRotatef(nms_MathHelper_sin($var8) * $var8 * $var9 / 10.0 * $var1.$field_808_c, 1.0, 0.0, 0.0); $var1 = $rt_s(198); $ptr = 1; case 1: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glScalef(0.75, 0.75, 0.75); olo_EaglerAdapterGL30_glScalef(1.3333333730697632, 1.3333333730697632, 1.3333333730697632); $var1 = $rt_s(678); $ptr = 2; case 2: nms_Render_loadTexture($this, $var1); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glScalef((-1.0), (-1.0), 1.0); $var1 = $this.$field_198_d; var$7 = 0; while (var$7 < 5) { nms_ModelRenderer_render($var1.$field_1287_a.data[var$7], 0.0625); var$7 = var$7 + 1 | 0; } olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, $ptr); } function nms_EntityFish() { var a = this; nms_Entity.call(a); a.$field_4095_d = 0; a.$field_4094_e = 0; a.$field_4093_f = 0; a.$field_4092_g = 0; a.$field_4091_h = 0; a.$field_4098_a = 0; a.$field_4097_b = null; a.$field_4090_i = 0; a.$field_4089_j = 0; a.$field_4088_k = 0; a.$field_4096_c = null; a.$field_6388_l = 0; a.$field_6387_m = 0.0; a.$field_6386_n = 0.0; a.$field_6385_o = 0.0; a.$field_6384_p = 0.0; a.$field_6383_q = 0.0; } function nms_EntityFish__init_(var_0, var_1) { var var_2 = new nms_EntityFish(); nms_EntityFish__init_0(var_2, var_0, var_1); return var_2; } function nms_EntityFish_func_384_a($this, $var1) { var $var3; $var3 = nms_AxisAlignedBB_getAverageEdgeLength($this.$boundingBox) * 4.0 * 64.0; return $var1 >= $var3 * $var3 ? 0 : 1; } function nms_EntityFish__init_0($this, $var1, $var2) { var var$3, var$4, var$5, var$6, $var3, var$8; nms_Entity__init_($this, $var1); $this.$field_4095_d = (-1); $this.$field_4094_e = (-1); $this.$field_4093_f = (-1); $this.$field_4092_g = 0; $this.$field_4091_h = 0; $this.$field_4098_a = 0; $this.$field_4089_j = 0; $this.$field_4088_k = 0; $this.$field_4096_c = null; $this.$field_4097_b = $var2; $var2.$fishEntity = $this; nms_Entity_setSize($this, 0.25, 0.25); nms_Entity_setLocationAndAngles($this, $var2.$posX, $var2.$posY + 1.62 - $var2.$yOffset, $var2.$posZ, $var2.$rotationYaw, $var2.$rotationPitch); $this.$posX = $this.$posX - nms_MathHelper_cos($this.$rotationYaw / 180.0 * 3.1415927410125732) * 0.1599999964237213; $this.$posY = $this.$posY - 0.10000000149011612; var$3 = $this.$posZ - nms_MathHelper_sin($this.$rotationYaw / 180.0 * 3.1415927410125732) * 0.1599999964237213; $this.$posZ = var$3; nms_Entity_setPosition($this, $this.$posX, $this.$posY, var$3); $this.$yOffset = 0.0; $this.$motionX = -nms_MathHelper_sin($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.4000000059604645; $this.$motionZ = nms_MathHelper_cos($this.$rotationYaw / 180.0 * 3.1415927410125732) * nms_MathHelper_cos($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.4000000059604645; var$3 = -nms_MathHelper_sin($this.$rotationPitch / 180.0 * 3.1415927410125732) * 0.4000000059604645; $this.$motionY = var$3; var$4 = $this.$motionX; var$5 = $this.$motionZ; var$6 = nms_MathHelper_sqrt_double(var$4 * var$4 + var$3 * var$3 + var$5 * var$5); var$4 = var$4 / var$6; var$3 = var$3 / var$6; var$5 = var$5 / var$6; var$4 = var$4 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * 1.0; var$3 = var$3 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * 1.0; var$5 = var$5 + ju_Random_nextGaussian($this.$rand2) * 0.007499999832361937 * 1.0; var$4 = var$4 * 1.5; var$3 = var$3 * 1.5; var$5 = var$5 * 1.5; $this.$motionX = var$4; $this.$motionY = var$3; $this.$motionZ = var$5; $var3 = nms_MathHelper_sqrt_double(var$4 * var$4 + var$5 * var$5); var$8 = jl_Math_atan2(var$4, var$5) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$8; $this.$prevRotationYaw = var$8; $var3 = jl_Math_atan2(var$3, $var3) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var3; $this.$prevRotationPitch = $var3; $this.$field_4090_i = 0; } function nms_EntityFish_onUpdate($this) { var $var19, $var6, $var16, $var14, $var21, $var22, $var23, $var7, $var1, $var20, $var8, $var30, $var2, $var3, $var4, $var5, $var9, $var12, $var13, $var24, $var25, $var15, $var31, $var29, $var26, $var27, $var28, $var18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var18 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();$var29 = $thread.pop();$var31 = $thread.pop();$var15 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var30 = $thread.pop();$var8 = $thread.pop();$var20 = $thread.pop();$var1 = $thread.pop();$var7 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var14 = $thread.pop();$var16 = $thread.pop();$var6 = $thread.pop();$var19 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onUpdate($this); if ($rt_suspending()) { break main; } $var19 = $this.$field_6388_l; if ($var19 > 0) { $var6 = $this.$posX; $var16 = $this.$field_6387_m - $var6; $var14 = $var19; $var21 = $var6 + $var16 / $var14; $var6 = $this.$posY; $var22 = $var6 + ($this.$field_6386_n - $var6) / $var14; $var6 = $this.$posZ; $var23 = $var6 + ($this.$field_6385_o - $var6) / $var14; $var6 = $this.$field_6384_p; $var16 = $this.$rotationYaw; $var7 = $var6 - $var16; while ($var7 < (-180.0)) { $var7 = $var7 + 360.0; } while ($var7 >= 180.0) { $var7 = $var7 - 360.0; } $this.$rotationYaw = $var16 + $var7 / $var14; $var6 = $this.$rotationPitch; $this.$rotationPitch = $var6 + ($this.$field_6383_q - $var6) / $var14; $this.$field_6388_l = $var19 - 1 | 0; nms_Entity_setPosition($this, $var21, $var22, $var23); nms_Entity_setRotation($this, $this.$rotationYaw, $this.$rotationPitch); return; } $var1 = nms_EntityPlayer_getCurrentEquippedItem($this.$field_4097_b); $var20 = $this.$field_4097_b; if (!$var20.$isDead && nms_EntityLiving_isEntityAlive($var20) && $var1 !== null) { $var1 = nms_ItemStack_getItem($var1); nms_Item_$callClinit(); if ($var1 === nms_Item_fishingRod && nms_Entity_getDistanceSqToEntity($this, $this.$field_4097_b) <= 1024.0) { $var1 = $this.$field_4096_c; if ($var1 !== null) { if (!$var1.$isDead) { $this.$posX = $var1.$posX; $this.$posY = $var1.$boundingBox.$minY0 + $var1.$height * 0.8; $this.$posZ = $var1.$posZ; return; } $this.$field_4096_c = null; } $var19 = $this.$field_4098_a; if ($var19 > 0) $this.$field_4098_a = $var19 - 1 | 0; if ($this.$field_4091_h) { $var1 = $this.$worldObj0; $var19 = $this.$field_4095_d; $var8 = $this.$field_4094_e; $var30 = $this.$field_4093_f; $ptr = 3; continue main; } $this.$field_4089_j = $this.$field_4089_j + 1 | 0; $var20 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var1 = $this.$worldObj0; $ptr = 4; continue main; } } $ptr = 2; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$field_4097_b.$fishEntity = null; return; case 3: $tmp = nms_World_getBlockId($var1, $var19, $var8, $var30); if ($rt_suspending()) { break main; } $var19 = $tmp; if ($var19 == $this.$field_4092_g) { $var19 = $this.$field_4090_i + 1 | 0; $this.$field_4090_i = $var19; if ($var19 != 1200) return; $ptr = 5; continue main; } $this.$field_4091_h = 0; $this.$motionX = $this.$motionX * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionY = $this.$motionY * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$motionZ = $this.$motionZ * ju_Random_nextFloat($this.$rand2) * 0.20000000298023224; $this.$field_4090_i = 0; $this.$field_4089_j = 0; $var20 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var1 = $this.$worldObj0; $ptr = 4; case 4: $tmp = nms_World_rayTraceBlocks($var1, $var20, $var2); if ($rt_suspending()) { break main; } $var3 = $tmp; $var1 = nms_Vec3D_createVector($this.$posX, $this.$posY, $this.$posZ); $var20 = nms_Vec3D_createVector($this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var3 !== null) { $var20 = $var3.$hitVec; $var20 = nms_Vec3D_createVector($var20.$xCoord, $var20.$yCoord, $var20.$zCoord); } $var4 = null; $var2 = $this.$worldObj0; $var5 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ), 1.0, 1.0, 1.0); $ptr = 6; continue main; case 5: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; case 6: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var2, $this, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = 0.0; $var8 = 0; while ($var8 < ju_ArrayList_size($var5)) { $var9 = ju_ArrayList_get($var5, $var8); if ($var9.$canBeCollidedWith() && !($var9 === $this.$field_4097_b && $this.$field_4089_j < 5)) { $var12 = nms_AxisAlignedBB_func_1169_a(nms_AxisAlignedBB_expands($var9.$boundingBox, 0.30000001192092896, 0.30000001192092896, 0.30000001192092896), $var1, $var20); if ($var12 !== null) { $var13 = nms_Vec3D_distanceTo($var1, $var12.$hitVec); if (!($var13 >= $var6 && $var6 !== 0.0)) { $var4 = $var9; $var6 = $var13; } } } $var8 = $var8 + 1 | 0; } if ($var4 !== null) $var3 = nms_MovingObjectPosition__init_($var4); if ($var3 !== null) { $var1 = $var3.$entityHit; if ($var1 !== null) { $var20 = $this.$field_4097_b; $var19 = 0; $ptr = 8; continue main; } $this.$field_4091_h = 1; } if ($this.$field_4091_h) return; $var6 = $this.$motionX; $var16 = $this.$motionY; $var14 = $this.$motionZ; $ptr = 7; case 7: nms_Entity_moveEntity($this, $var6, $var16, $var14); if ($rt_suspending()) { break main; } $var6 = $this.$motionX; $var6 = $var6 * $var6; $var16 = $this.$motionZ; $var24 = nms_MathHelper_sqrt_double($var6 + $var16 * $var16); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $var24 = jl_Math_atan2($this.$motionY, $var24) * 180.0 / 3.1415927410125732; $this.$rotationPitch = $var24; while (true) { $var25 = $this.$prevRotationPitch; if ($var24 - $var25 >= (-180.0)) break; $this.$prevRotationPitch = $var25 - 360.0; } while (true) { $var25 = $this.$prevRotationPitch; $var15 = $var24 - $var25; if ($var15 < 180.0) break; $this.$prevRotationPitch = $var25 + 360.0; } while (true) { $var24 = $this.$rotationYaw; $var31 = $this.$prevRotationYaw; if ($var24 - $var31 >= (-180.0)) break; $this.$prevRotationYaw = $var31 - 360.0; } while (true) { $var31 = $this.$prevRotationYaw; $var29 = $var24 - $var31; if ($var29 < 180.0) break; $this.$prevRotationYaw = $var31 + 360.0; } $this.$rotationPitch = $var25 + $var15 * 0.20000000298023224; $this.$rotationYaw = $var31 + $var29 * 0.20000000298023224; $var25 = 0.9200000166893005; if (!(!$this.$onGround && !$this.$field_9297_aI)) $var25 = 0.5; $var26 = 5; $var27 = 0.0; $var28 = 0; $var23 = 0.2; if ($var28 >= $var26) { a: { $var8 = $rt_compare($var27, 0.0); if ($var8 > 0) { $var30 = $this.$field_4088_k; if ($var30 > 0) $this.$field_4088_k = $var30 - 1 | 0; else if (!ju_Random_nextInt($this.$rand2, 500)) { $this.$field_4088_k = ju_Random_nextInt($this.$rand2, 30) + 10 | 0; $this.$motionY = $this.$motionY - 0.20000000298023224; nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(528), 0.25, 1.0 + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.4000000059604645); $var29 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var30 = 0; $var21 = $var29 + 1.0; while ($var30 < 1.0 + $this.$width0 * 20.0) { $var15 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; $var31 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; nms_World_spawnParticle($this.$worldObj0, $rt_s(487), $this.$posX + $var15, $var21, $this.$posZ + $var31, $this.$motionX, $this.$motionY - ju_Random_nextFloat($this.$rand2) * 0.20000000298023224, $this.$motionZ); $var30 = $var30 + 1 | 0; } $var30 = 0; while (true) { if ($var30 >= 1.0 + $this.$width0 * 20.0) break a; $var15 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; $var31 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; nms_World_spawnParticle($this.$worldObj0, $rt_s(489), $this.$posX + $var15, $var21, $this.$posZ + $var31, $this.$motionX, $this.$motionY, $this.$motionZ); $var30 = $var30 + 1 | 0; } } } } if ($this.$field_4088_k > 0) $this.$motionY = $this.$motionY - ju_Random_nextFloat($this.$rand2) * ju_Random_nextFloat($this.$rand2) * ju_Random_nextFloat($this.$rand2) * 0.2; $var13 = $var27 * 2.0 - 1.0; $var6 = $this.$motionY + 0.03999999910593033 * $var13; $this.$motionY = $var6; if ($var8 > 0) { $var25 = $var25 * 0.9; $this.$motionY = $var6 * 0.8; } $var6 = $this.$motionX; $var16 = $var25; $this.$motionX = $var6 * $var16; $this.$motionY = $this.$motionY * $var16; $this.$motionZ = $this.$motionZ * $var16; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } $var1 = $this.$boundingBox; $var6 = $var1.$minY0; $var16 = $var1.$maxY0 - $var6; $var14 = $var6 + $var16 * ($var28 + 0 | 0) / 5.0 - 0.125 + 0.125; $var28 = $var28 + 1 | 0; $var16 = $var6 + $var16 * $var28 / 5.0 - 0.125 + 0.125; $var18 = nms_AxisAlignedBB_getBoundingBoxFromPool($var1.$minX, $var14, $var1.$minZ0, $var1.$maxX0, $var16, $var1.$maxZ0); $var1 = $this.$worldObj0; nms_Material_$callClinit(); $var20 = nms_Material_water; $ptr = 9; continue main; case 8: $tmp = $var1.$canAttackEntity($var20, $var19); if ($rt_suspending()) { break main; } $var19 = $tmp; if ($var19) $this.$field_4096_c = $var3.$entityHit; if ($this.$field_4091_h) return; $var6 = $this.$motionX; $var16 = $this.$motionY; $var14 = $this.$motionZ; $ptr = 7; continue main; case 9: $tmp = nms_World_func_707_b($var1, $var18, $var20); if ($rt_suspending()) { break main; } $var19 = $tmp; if ($var19) $var27 = $var27 + $var23; if ($var28 >= $var26) { b: { $var8 = $rt_compare($var27, 0.0); if ($var8 > 0) { $var30 = $this.$field_4088_k; if ($var30 > 0) $this.$field_4088_k = $var30 - 1 | 0; else if (!ju_Random_nextInt($this.$rand2, 500)) { $this.$field_4088_k = ju_Random_nextInt($this.$rand2, 30) + 10 | 0; $this.$motionY = $this.$motionY - 0.20000000298023224; nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(528), 0.25, 1.0 + (ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.4000000059604645); $var29 = nms_MathHelper_floor_double($this.$boundingBox.$minY0); $var30 = 0; $var21 = $var29 + 1.0; while ($var30 < 1.0 + $this.$width0 * 20.0) { $var15 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; $var31 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; nms_World_spawnParticle($this.$worldObj0, $rt_s(487), $this.$posX + $var15, $var21, $this.$posZ + $var31, $this.$motionX, $this.$motionY - ju_Random_nextFloat($this.$rand2) * 0.20000000298023224, $this.$motionZ); $var30 = $var30 + 1 | 0; } $var30 = 0; while (true) { if ($var30 >= 1.0 + $this.$width0 * 20.0) break b; $var15 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; $var31 = (ju_Random_nextFloat($this.$rand2) * 2.0 - 1.0) * $this.$width0; nms_World_spawnParticle($this.$worldObj0, $rt_s(489), $this.$posX + $var15, $var21, $this.$posZ + $var31, $this.$motionX, $this.$motionY, $this.$motionZ); $var30 = $var30 + 1 | 0; } } } } if ($this.$field_4088_k > 0) $this.$motionY = $this.$motionY - ju_Random_nextFloat($this.$rand2) * ju_Random_nextFloat($this.$rand2) * ju_Random_nextFloat($this.$rand2) * 0.2; $var13 = $var27 * 2.0 - 1.0; $var6 = $this.$motionY + 0.03999999910593033 * $var13; $this.$motionY = $var6; if ($var8 > 0) { $var25 = $var25 * 0.9; $this.$motionY = $var6 * 0.8; } $var6 = $this.$motionX; $var16 = $var25; $this.$motionX = $var6 * $var16; $this.$motionY = $this.$motionY * $var16; $this.$motionZ = $this.$motionZ * $var16; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } $var1 = $this.$boundingBox; $var6 = $var1.$minY0; $var16 = $var1.$maxY0 - $var6; $var14 = $var6 + $var16 * ($var28 + 0 | 0) / 5.0 - 0.125 + 0.125; $var28 = $var28 + 1 | 0; $var16 = $var6 + $var16 * $var28 / 5.0 - 0.125 + 0.125; $var18 = nms_AxisAlignedBB_getBoundingBoxFromPool($var1.$minX, $var14, $var1.$minZ0, $var1.$maxX0, $var16, $var1.$maxZ0); $var1 = $this.$worldObj0; nms_Material_$callClinit(); $var20 = nms_Material_water; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var19, $var6, $var16, $var14, $var21, $var22, $var23, $var7, $var1, $var20, $var8, $var30, $var2, $var3, $var4, $var5, $var9, $var12, $var13, $var24, $var25, $var15, $var31, $var29, $var26, $var27, $var28, $var18, $ptr); } function nms_EntityFish_writeEntityToNBT($this, $var1) { nms_NBTTagCompound_setShort($var1, $rt_s(659), $this.$field_4095_d << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(660), $this.$field_4094_e << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(661), $this.$field_4093_f << 16 >> 16); nms_NBTTagCompound_setByte($var1, $rt_s(662), $this.$field_4092_g << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(663), $this.$field_4098_a << 24 >> 24); nms_NBTTagCompound_setByte($var1, $rt_s(664), (!$this.$field_4091_h ? 0 : 1) << 24 >> 24); } function nms_EntityFish_func_392_h_($this) { return 0.0; } function nms_EntityFish_func_4043_i($this) { var $var1, var$2, $var2, $var4, $var6, $var8, $var13, var$8, $var3, $var5, $var7, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$8 = $thread.pop();$var13 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; if ($this.$field_4096_c !== null) { var$2 = $this.$field_4097_b; $var2 = var$2.$posX - $this.$posX; $var4 = var$2.$posY - $this.$posY; $var6 = var$2.$posZ - $this.$posZ; $var8 = nms_MathHelper_sqrt_double($var2 * $var2 + $var4 * $var4 + $var6 * $var6); var$2 = $this.$field_4096_c; var$2.$motionX = var$2.$motionX + $var2 * 0.1; var$2.$motionY = var$2.$motionY + $var4 * 0.1 + nms_MathHelper_sqrt_double($var8) * 0.08; var$2 = $this.$field_4096_c; var$2.$motionZ = var$2.$motionZ + $var6 * 0.1; $var1 = 3; } else if ($this.$field_4088_k > 0) { $var13 = new nms_EntityItem; var$8 = $this.$worldObj0; $var3 = $this.$posX; $var5 = $this.$posY; $var7 = $this.$posZ; var$2 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_(var$2, nms_Item_fishRaw.$shiftedIndex); nms_EntityItem__init_0($var13, var$8, $var3, $var5, $var7, var$2); var$2 = $this.$field_4097_b; $var3 = var$2.$posX - $this.$posX; $var5 = var$2.$posY - $this.$posY; $var7 = var$2.$posZ - $this.$posZ; $var9 = nms_MathHelper_sqrt_double($var3 * $var3 + $var5 * $var5 + $var7 * $var7); $var13.$motionX = $var3 * 0.1; $var13.$motionY = $var5 * 0.1 + nms_MathHelper_sqrt_double($var9) * 0.08; $var13.$motionZ = $var7 * 0.1; var$2 = $this.$worldObj0; $ptr = 1; continue main; } if ($this.$field_4091_h) $var1 = 2; $ptr = 2; continue main; case 1: nms_World_entityJoinedWorld(var$2, $var13); if ($rt_suspending()) { break main; } $var1 = 1; if ($this.$field_4091_h) $var1 = 2; $ptr = 2; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$field_4097_b.$fishEntity = null; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var2, $var4, $var6, $var8, $var13, var$8, $var3, $var5, $var7, $var9, $ptr); } var nms_RenderFish = $rt_classWithoutFields(nms_Render); function nms_RenderFish__init_0() { var var_0 = new nms_RenderFish(); nms_RenderFish__init_(var_0); return var_0; } function nms_RenderFish__init_($this) { nms_Render__init_($this); } function nms_RenderFish_a($this, $var1, $var2, $var4, $var6, $var8, $var9) { var var$7, $var12, $var20, $var21, $var22, $var24, $var26, $var28, var$15, $var34, $var36, $var42, $var30, $var32, $var38, $var40, $var44, $var46, $var49, $var50, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var50 = $thread.pop();$var49 = $thread.pop();$var46 = $thread.pop();$var44 = $thread.pop();$var40 = $thread.pop();$var38 = $thread.pop();$var32 = $thread.pop();$var30 = $thread.pop();$var42 = $thread.pop();$var36 = $thread.pop();$var34 = $thread.pop();var$15 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var12 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2, $var4, $var6); olo_EaglerAdapterGL30_glEnable(32826); olo_EaglerAdapterGL30_glScalef(0.5, 0.5, 0.5); var$7 = $rt_s(492); $ptr = 1; case 1: nms_Render_loadTexture($this, var$7); if ($rt_suspending()) { break main; } nms_Tessellator_$callClinit(); $var12 = nms_Tessellator_instance; olo_EaglerAdapterGL30_glRotatef(180.0 - $this.$renderManager.$field_1225_i, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef( -$this.$renderManager.$field_1224_j, 1.0, 0.0, 0.0); nms_Tessellator_startDrawingQuads($var12); olo_EaglerAdapterGL30_glNormal3f(0.0, 1.0, 0.0); nms_Tessellator_addVertexWithUV($var12, (-0.5), (-0.5), 0.0, 0.0625, 0.1875); nms_Tessellator_addVertexWithUV($var12, 0.5, (-0.5), 0.0, 0.125, 0.1875); nms_Tessellator_addVertexWithUV($var12, 0.5, 0.5, 0.0, 0.125, 0.125); nms_Tessellator_addVertexWithUV($var12, (-0.5), 0.5, 0.0, 0.0625, 0.125); nms_Tessellator_draw($var12); olo_EaglerAdapterGL30_glDisable(32826); olo_EaglerAdapterGL30_glPopMatrix(); var$7 = $var1.$field_4097_b; if (var$7 !== null) { $var8 = var$7.$prevRotationYaw; $var20 = ($var8 + (var$7.$rotationYaw - $var8) * $var9) * 3.1415927410125732 / 180.0; $var8 = var$7.$prevRotationPitch; $var21 = ($var8 + (var$7.$rotationPitch - $var8) * $var9) * 3.1415927410125732 / 180.0; $var22 = nms_MathHelper_sin($var20); $var24 = nms_MathHelper_cos($var20); $var26 = nms_MathHelper_sin($var21); $var28 = nms_MathHelper_cos($var21); var$15 = $var1.$field_4097_b; $var34 = var$15.$prevPosX; $var36 = var$15.$posX - $var34; $var42 = $var9; $var30 = $var34 + $var36 * $var42 - $var24 * 0.7 - $var22 * 0.5 * $var28; $var34 = var$15.$prevPosY; $var32 = $var34 + (var$15.$posY - $var34) * $var42 - $var26 * 0.5; $var34 = var$15.$prevPosZ; $var34 = $var34 + (var$15.$posZ - $var34) * $var42 - $var22 * 0.7 + $var24 * 0.5 * $var28; if ($this.$renderManager.$options0.$thirdPersonView) { $var8 = var$15.$field_734_o; $var8 = ($var8 + (var$15.$field_735_n - $var8) * $var9) * 3.1415927410125732 / 180.0; $var34 = nms_MathHelper_sin($var8); $var36 = nms_MathHelper_cos($var8); var$7 = $var1.$field_4097_b; $var38 = var$7.$prevPosX; $var30 = $var38 + (var$7.$posX - $var38) * $var42 - $var36 * 0.35 - $var34 * 0.85; $var38 = var$7.$prevPosY; $var32 = $var38 + (var$7.$posY - $var38) * $var42 - 0.45; $var38 = var$7.$prevPosZ; $var34 = $var38 + (var$7.$posZ - $var38) * $var42 - $var34 * 0.35 + $var36 * 0.85; } $var36 = $var1.$prevPosX; $var36 = $var36 + ($var1.$posX - $var36) * $var42; $var38 = $var1.$prevPosY; $var38 = $var38 + ($var1.$posY - $var38) * $var42 + 0.25; $var40 = $var1.$prevPosZ; $var40 = $var40 + ($var1.$posZ - $var40) * $var42; $var42 = $var30 - $var36; $var44 = $var32 - $var38; $var46 = $var34 - $var40; olo_EaglerAdapterGL30_glDisable(3553); olo_EaglerAdapterGL30_glDisable(2896); nms_Tessellator_startDrawing($var12, 3); nms_Tessellator_setColorOpaque_I($var12, 0); $var49 = 0; while ($var49 <= 16) { $var50 = $var49 / 16.0; $var40 = $var50; nms_Tessellator_addVertex($var12, $var2 + $var42 * $var40, $var4 + $var44 * ($var50 * $var50 + $var50) * 0.5 + 0.25, $var6 + $var46 * $var40); $var49 = $var49 + 1 | 0; } nms_Tessellator_draw($var12); olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(3553); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, var$7, $var12, $var20, $var21, $var22, $var24, $var26, $var28, var$15, $var34, $var36, $var42, $var30, $var32, $var38, $var40, $var44, $var46, $var49, $var50, $ptr); } function nms_RenderFish_doRender($this, $var1, $var2, $var4, $var6, $var8, $var9) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_RenderFish_a($this, $var1, $var2, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } var otp_PlatformQueue = $rt_classWithoutFields(); function otp_PlatformQueue_isEmpty$static($this) { return $this.length ? 0 : 1; } function otp_PlatformQueue_remove$static($this) { $this = $this.shift(); otji_JSWrapper_$callClinit(); if ($this !== null && !($this instanceof $rt_objcls())) $this = otji_JSWrapper_wrap($this); return $this; } 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$4; var$1 = var$0.$_00; if (!jl_Object_isEmptyMonitor(var$1)) { var$2 = var$1.$monitor; if (var$2.$owner === null) { var$1 = var$2.$enteringThreads; if (var$1 !== null && !otp_PlatformQueue_isEmpty$static(var$1)) { var$3 = otp_PlatformQueue_remove$static(var$2.$enteringThreads); var$2.$enteringThreads = null; var$1 = var$3.$_0; var$2 = var$3.$_1; var$4 = var$3.$_2; var$3 = var$3.$_3; jl_Thread_setCurrentThread(var$1); var$2 = var$2.$monitor; var$2.$owner = var$1; var$2.$count = var$2.$count + var$4 | 0; otpp_AsyncCallbackWrapper_complete(var$3, null); } } } } var jn_IntBufferImpl = $rt_classWithoutFields(jn_IntBuffer); function jn_IntBufferImpl__init_($this, $capacity, $position, $limit) { jn_Buffer__init_($this, $capacity); $this.$position = $position; $this.$limit = $limit; } function jn_IntBufferImpl_get($this) { var var$1, var$2; var$1 = $this.$position; if (var$1 < $this.$limit) { $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.$readOnly0()) { var$2 = new jn_ReadOnlyBufferException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } var$3 = $this.$position; if (var$3 < $this.$limit) { $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, var$3, var$4; if ($index >= 0 && $index < $this.$limit) return jn_IntBufferOverArray_getElement($this, $index); var$2 = new jl_IndexOutOfBoundsException; var$3 = $this.$limit; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(var$4, $rt_s(249)), $index), $rt_s(250)), var$3), 41); jl_Throwable__init_(var$2, jl_AbstractStringBuilder_toString(var$4)); $rt_throw(var$2); } function jn_IntBufferImpl_isReadOnly($this) { return $this.$readOnly0(); } function jn_IntBufferOverArray() { var a = this; jn_IntBufferImpl.call(a); a.$readOnly3 = 0; a.$start6 = 0; a.$array3 = null; } function jn_IntBufferOverArray_getElement($this, $index) { return $this.$array3.data[$index + $this.$start6 | 0]; } function jn_IntBufferOverArray_putElement($this, $index, $value) { $this.$array3.data[$index + $this.$start6 | 0] = $value; } function jn_IntBufferOverArray_readOnly($this) { return $this.$readOnly3; } function nms_ModelSpider() { var a = this; nms_ModelBase.call(a); a.$field_1255_a = null; a.$field_1254_b = null; a.$field_1253_c = null; a.$field_1252_d = null; a.$field_1251_e = null; a.$field_1250_f = null; a.$field_1249_g = null; a.$field_1248_h = null; a.$field_1247_i = null; a.$field_1246_j = null; a.$field_1245_m = null; } function nms_ModelSpider__init_0() { var var_0 = new nms_ModelSpider(); nms_ModelSpider__init_(var_0); return var_0; } function nms_ModelSpider__init_($this) { var var$1; nms_ModelBase__init_($this); var$1 = nms_ModelRenderer__init_(32, 4); $this.$field_1255_a = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), (-4.0), (-8.0), 8, 8, 8, 0.0); nms_ModelRenderer_setPosition($this.$field_1255_a, 0.0, 15.0, (-3.0)); var$1 = nms_ModelRenderer__init_(0, 0); $this.$field_1254_b = var$1; nms_ModelRenderer_addBox(var$1, (-3.0), (-3.0), (-3.0), 6, 6, 6, 0.0); nms_ModelRenderer_setPosition($this.$field_1254_b, 0.0, 15.0, 0.0); var$1 = nms_ModelRenderer__init_(0, 12); $this.$field_1253_c = var$1; nms_ModelRenderer_addBox(var$1, (-5.0), (-4.0), (-6.0), 10, 8, 12, 0.0); nms_ModelRenderer_setPosition($this.$field_1253_c, 0.0, 15.0, 9.0); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1252_d = var$1; nms_ModelRenderer_addBox(var$1, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1252_d, (-4.0), 15.0, 2.0); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1251_e = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1251_e, 4.0, 15.0, 2.0); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1250_f = var$1; nms_ModelRenderer_addBox(var$1, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1250_f, (-4.0), 15.0, 1.0); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1249_g = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1249_g, 4.0, 15.0, 1.0); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1248_h = var$1; nms_ModelRenderer_addBox(var$1, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1248_h, (-4.0), 15.0, 0.0); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1247_i = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1247_i, 4.0, 15.0, 0.0); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1246_j = var$1; nms_ModelRenderer_addBox(var$1, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1246_j, (-4.0), 15.0, (-1.0)); var$1 = nms_ModelRenderer__init_(18, 0); $this.$field_1245_m = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1245_m, 4.0, 15.0, (-1.0)); } function nms_ModelSpider_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { nms_ModelSpider_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6); nms_ModelRenderer_render($this.$field_1255_a, $var6); nms_ModelRenderer_render($this.$field_1254_b, $var6); nms_ModelRenderer_render($this.$field_1253_c, $var6); nms_ModelRenderer_render($this.$field_1252_d, $var6); nms_ModelRenderer_render($this.$field_1251_e, $var6); nms_ModelRenderer_render($this.$field_1250_f, $var6); nms_ModelRenderer_render($this.$field_1249_g, $var6); nms_ModelRenderer_render($this.$field_1248_h, $var6); nms_ModelRenderer_render($this.$field_1247_i, $var6); nms_ModelRenderer_render($this.$field_1246_j, $var6); nms_ModelRenderer_render($this.$field_1245_m, $var6); } function nms_ModelSpider_setRotationAngles($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17; var$7 = $this.$field_1255_a; var$7.$rotateAngleY = $var4 / 57.2957763671875; var$7.$rotateAngleX = $var5 / 57.2957763671875; var$7 = $this.$field_1252_d; var$7.$rotateAngleZ = (-0.7853981852531433); var$8 = $this.$field_1251_e; var$8.$rotateAngleZ = 0.7853981852531433; var$9 = $this.$field_1250_f; var$9.$rotateAngleZ = (-0.5811946392059326); var$10 = $this.$field_1249_g; var$10.$rotateAngleZ = 0.5811946392059326; var$11 = $this.$field_1248_h; var$11.$rotateAngleZ = (-0.5811946392059326); var$12 = $this.$field_1247_i; var$12.$rotateAngleZ = 0.5811946392059326; var$13 = $this.$field_1246_j; var$13.$rotateAngleZ = (-0.7853981852531433); var$14 = $this.$field_1245_m; var$14.$rotateAngleZ = 0.7853981852531433; var$7.$rotateAngleY = 0.7853981852531433; var$8.$rotateAngleY = (-0.7853981852531433); var$9.$rotateAngleY = 0.39269909262657166; var$10.$rotateAngleY = (-0.39269909262657166); var$11.$rotateAngleY = (-0.39269909262657166); var$12.$rotateAngleY = 0.39269909262657166; var$13.$rotateAngleY = (-0.7853981852531433); var$14.$rotateAngleY = 0.7853981852531433; $var1 = $var1 * 0.6661999821662903; $var3 = $var1 * 2.0; $var10 = -(nms_MathHelper_cos($var3 + 0.0) * 0.4000000059604645) * $var2; $var11 = -(nms_MathHelper_cos($var3 + 3.1415927410125732) * 0.4000000059604645) * $var2; $var12 = -(nms_MathHelper_cos($var3 + 1.5707963705062866) * 0.4000000059604645) * $var2; $var13 = -(nms_MathHelper_cos($var3 + 4.71238899230957) * 0.4000000059604645) * $var2; $var14 = jl_Math_abs(nms_MathHelper_sin($var1 + 0.0) * 0.4000000059604645) * $var2; $var15 = jl_Math_abs(nms_MathHelper_sin($var1 + 3.1415927410125732) * 0.4000000059604645) * $var2; $var16 = jl_Math_abs(nms_MathHelper_sin($var1 + 1.5707963705062866) * 0.4000000059604645) * $var2; $var17 = jl_Math_abs(nms_MathHelper_sin($var1 + 4.71238899230957) * 0.4000000059604645) * $var2; var$14 = $this.$field_1252_d; var$14.$rotateAngleY = var$14.$rotateAngleY + $var10; var$7 = $this.$field_1251_e; var$7.$rotateAngleY = var$7.$rotateAngleY + -$var10; var$8 = $this.$field_1250_f; var$8.$rotateAngleY = var$8.$rotateAngleY + $var11; var$9 = $this.$field_1249_g; var$9.$rotateAngleY = var$9.$rotateAngleY + -$var11; var$10 = $this.$field_1248_h; var$10.$rotateAngleY = var$10.$rotateAngleY + $var12; var$11 = $this.$field_1247_i; var$11.$rotateAngleY = var$11.$rotateAngleY + -$var12; var$12 = $this.$field_1246_j; var$12.$rotateAngleY = var$12.$rotateAngleY + $var13; var$13 = $this.$field_1245_m; var$13.$rotateAngleY = var$13.$rotateAngleY + -$var13; var$14.$rotateAngleZ = var$14.$rotateAngleZ + $var14; var$7.$rotateAngleZ = var$7.$rotateAngleZ + -$var14; var$8.$rotateAngleZ = var$8.$rotateAngleZ + $var15; var$9.$rotateAngleZ = var$9.$rotateAngleZ + -$var15; var$10.$rotateAngleZ = var$10.$rotateAngleZ + $var16; var$11.$rotateAngleZ = var$11.$rotateAngleZ + -$var16; var$12.$rotateAngleZ = var$12.$rotateAngleZ + $var17; var$13.$rotateAngleZ = var$13.$rotateAngleZ + -$var17; } function nms_ModelCreeper() { var a = this; nms_ModelBase.call(a); a.$head0 = null; a.$unusedModel = null; a.$body0 = null; a.$leg10 = null; a.$leg20 = null; a.$leg30 = null; a.$leg40 = null; } function nms_ModelCreeper__init_0() { var var_0 = new nms_ModelCreeper(); nms_ModelCreeper__init_(var_0); return var_0; } function nms_ModelCreeper__init_($this) { var var$1; nms_ModelBase__init_($this); var$1 = nms_ModelRenderer__init_(0, 0); $this.$head0 = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), (-8.0), (-4.0), 8, 8, 8, 0.0); nms_ModelRenderer_setPosition($this.$head0, 0.0, 4.0, 0.0); var$1 = nms_ModelRenderer__init_(32, 0); $this.$unusedModel = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), (-8.0), (-4.0), 8, 8, 8, 0.5); nms_ModelRenderer_setPosition($this.$unusedModel, 0.0, 4.0, 0.0); var$1 = nms_ModelRenderer__init_(16, 16); $this.$body0 = var$1; nms_ModelRenderer_addBox(var$1, (-4.0), 0.0, (-2.0), 8, 12, 4, 0.0); nms_ModelRenderer_setPosition($this.$body0, 0.0, 4.0, 0.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg10 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); nms_ModelRenderer_setPosition($this.$leg10, (-2.0), 16.0, 4.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg20 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); nms_ModelRenderer_setPosition($this.$leg20, 2.0, 16.0, 4.0); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg30 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); nms_ModelRenderer_setPosition($this.$leg30, (-2.0), 16.0, (-4.0)); var$1 = nms_ModelRenderer__init_(0, 16); $this.$leg40 = var$1; nms_ModelRenderer_addBox(var$1, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.0); nms_ModelRenderer_setPosition($this.$leg40, 2.0, 16.0, (-4.0)); } function nms_ModelCreeper_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7; var$7 = $this.$head0; var$7.$rotateAngleY = $var4 / 57.2957763671875; var$7.$rotateAngleX = $var5 / 57.2957763671875; var$7 = $this.$leg10; $var1 = $var1 * 0.6661999821662903; var$7.$rotateAngleX = nms_MathHelper_cos($var1) * 1.399999976158142 * $var2; var$7 = $this.$leg20; $var3 = $var1 + 3.1415927410125732; var$7.$rotateAngleX = nms_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg30.$rotateAngleX = nms_MathHelper_cos($var3) * 1.399999976158142 * $var2; $this.$leg40.$rotateAngleX = nms_MathHelper_cos($var1) * 1.399999976158142 * $var2; nms_ModelRenderer_render($this.$head0, $var6); nms_ModelRenderer_render($this.$body0, $var6); nms_ModelRenderer_render($this.$leg10, $var6); nms_ModelRenderer_render($this.$leg20, $var6); nms_ModelRenderer_render($this.$leg30, $var6); nms_ModelRenderer_render($this.$leg40, $var6); } function nms_ModelGhast() { var a = this; nms_ModelBase.call(a); a.$body1 = null; a.$tentacles = null; } function nms_ModelGhast__init_0() { var var_0 = new nms_ModelGhast(); nms_ModelGhast__init_(var_0); return var_0; } function nms_ModelGhast__init_($this) { var $var2, $var3, var$3, $var4, $var6, $var5; nms_ModelBase__init_($this); $this.$tentacles = $rt_createArray(nms_ModelRenderer, 9); $var2 = nms_ModelRenderer__init_(0, 0); $this.$body1 = $var2; nms_ModelRenderer_func_921_a($var2, (-8.0), (-8.0), (-8.0), 16, 16, 16); $var2 = $this.$body1; $var2.$offsetY = $var2.$offsetY + 8.0; $var2 = new ju_Random; $var3 = 0; while (true) { var$3 = $this.$tentacles.data; if ($var3 >= var$3.length) break; var$3[$var3] = nms_ModelRenderer__init_(0, 0); $var4 = $var3 % 3 | 0; $var6 = $var3 / 3 | 0; $var4 = (($var4 - ($var6 % 2 | 0) * 0.5 + 0.25) / 2.0 * 2.0 - 1.0) * 5.0; $var5 = ($var6 / 2.0 * 2.0 - 1.0) * 5.0; $var6 = ju_Random_nextInt($var2, 7) + 8 | 0; nms_ModelRenderer_func_921_a($this.$tentacles.data[$var3], (-1.0), 0.0, (-1.0), 2, $var6, 2); var$3 = $this.$tentacles.data; var$3[$var3].$offsetX = $var4; var$3[$var3].$offsetZ = $var5; var$3[$var3].$offsetY = 15.0; $var3 = $var3 + 1 | 0; } } function nms_ModelGhast_render($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, var$8; $var7 = 0; $var2 = $var3 * 0.30000001192092896; while (true) { var$8 = $this.$tentacles.data; if ($var7 >= var$8.length) break; var$8[$var7].$rotateAngleX = 0.20000000298023224 * nms_MathHelper_sin($var2 + $var7) + 0.4000000059604645; $var7 = $var7 + 1 | 0; } nms_ModelRenderer_render($this.$body1, $var6); $var7 = 0; while (true) { var$8 = $this.$tentacles.data; if ($var7 >= var$8.length) break; nms_ModelRenderer_render(var$8[$var7], $var6); $var7 = $var7 + 1 | 0; } } function nms_ModelMinecart() { nms_ModelBase.call(this); this.$field_1256_a = null; } function nms_ModelMinecart__init_0() { var var_0 = new nms_ModelMinecart(); nms_ModelMinecart__init_(var_0); return var_0; } function nms_ModelMinecart__init_($this) { var var$1, var$2; nms_ModelBase__init_($this); var$1 = $rt_createArray(nms_ModelRenderer, 7); var$2 = var$1.data; $this.$field_1256_a = var$1; var$2[0] = nms_ModelRenderer__init_(0, 10); $this.$field_1256_a.data[1] = nms_ModelRenderer__init_(0, 0); $this.$field_1256_a.data[2] = nms_ModelRenderer__init_(0, 0); $this.$field_1256_a.data[3] = nms_ModelRenderer__init_(0, 0); $this.$field_1256_a.data[4] = nms_ModelRenderer__init_(0, 0); $this.$field_1256_a.data[5] = nms_ModelRenderer__init_(44, 10); nms_ModelRenderer_addBox($this.$field_1256_a.data[0], (-10.0), (-8.0), (-1.0), 20, 16, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1256_a.data[0], 0.0, 4.0, 0.0); nms_ModelRenderer_addBox($this.$field_1256_a.data[5], (-9.0), (-7.0), (-1.0), 18, 14, 1, 0.0); nms_ModelRenderer_setPosition($this.$field_1256_a.data[5], 0.0, 4.0, 0.0); nms_ModelRenderer_addBox($this.$field_1256_a.data[1], (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1256_a.data[1], (-9.0), 4.0, 0.0); nms_ModelRenderer_addBox($this.$field_1256_a.data[2], (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1256_a.data[2], 9.0, 4.0, 0.0); nms_ModelRenderer_addBox($this.$field_1256_a.data[3], (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1256_a.data[3], 0.0, 4.0, (-7.0)); nms_ModelRenderer_addBox($this.$field_1256_a.data[4], (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1256_a.data[4], 0.0, 4.0, 7.0); var$1 = $this.$field_1256_a.data; var$1[0].$rotateAngleX = 1.5707963705062866; var$1[1].$rotateAngleY = 4.71238899230957; var$1[2].$rotateAngleY = 1.5707963705062866; var$1[3].$rotateAngleY = 3.1415927410125732; var$1[5].$rotateAngleX = (-1.5707963705062866); } function nms_ModelBoat() { nms_ModelBase.call(this); this.$field_1287_a = null; } function nms_ModelBoat__init_0() { var var_0 = new nms_ModelBoat(); nms_ModelBoat__init_(var_0); return var_0; } function nms_ModelBoat__init_($this) { var var$1, var$2; nms_ModelBase__init_($this); var$1 = $rt_createArray(nms_ModelRenderer, 5); var$2 = var$1.data; $this.$field_1287_a = var$1; var$2[0] = nms_ModelRenderer__init_(0, 8); $this.$field_1287_a.data[1] = nms_ModelRenderer__init_(0, 0); $this.$field_1287_a.data[2] = nms_ModelRenderer__init_(0, 0); $this.$field_1287_a.data[3] = nms_ModelRenderer__init_(0, 0); $this.$field_1287_a.data[4] = nms_ModelRenderer__init_(0, 0); nms_ModelRenderer_addBox($this.$field_1287_a.data[0], (-12.0), (-8.0), (-3.0), 24, 16, 4, 0.0); nms_ModelRenderer_setPosition($this.$field_1287_a.data[0], 0.0, 4.0, 0.0); nms_ModelRenderer_addBox($this.$field_1287_a.data[1], (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1287_a.data[1], (-11.0), 4.0, 0.0); nms_ModelRenderer_addBox($this.$field_1287_a.data[2], (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1287_a.data[2], 11.0, 4.0, 0.0); nms_ModelRenderer_addBox($this.$field_1287_a.data[3], (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1287_a.data[3], 0.0, 4.0, (-9.0)); nms_ModelRenderer_addBox($this.$field_1287_a.data[4], (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); nms_ModelRenderer_setPosition($this.$field_1287_a.data[4], 0.0, 4.0, 9.0); var$1 = $this.$field_1287_a.data; var$1[0].$rotateAngleX = 1.5707963705062866; var$1[1].$rotateAngleY = 4.71238899230957; var$1[2].$rotateAngleY = 1.5707963705062866; var$1[3].$rotateAngleY = 3.1415927410125732; } 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 $pxlsDat, var$3, var$4, $pxls, $totalPixels, $pixels, var$8, $i, var$10, var$11; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_imageLoadCanvas === null) nlea_EaglerAdapterImpl2_imageLoadCanvas = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); if (nlea_EaglerAdapterImpl2_imageLoadCanvas.width < $this.$val$toLoad.width) { $evt = nlea_EaglerAdapterImpl2_imageLoadCanvas; $pxlsDat = $this.$val$toLoad.width; $evt.width = $pxlsDat; } if (nlea_EaglerAdapterImpl2_imageLoadCanvas.height < $this.$val$toLoad.height) { $evt = nlea_EaglerAdapterImpl2_imageLoadCanvas; $pxlsDat = $this.$val$toLoad.height; $evt.height = $pxlsDat; } if (nlea_EaglerAdapterImpl2_imageLoadContext === null) nlea_EaglerAdapterImpl2_imageLoadContext = nlea_EaglerAdapterImpl2_imageLoadCanvas.getContext("2d"); $evt = nlea_EaglerAdapterImpl2_imageLoadContext; 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_imageLoadContext; $pxlsDat = $this.$val$toLoad; var$3 = $pxlsDat.width; var$4 = $this.$val$toLoad.height; $evt.drawImage($pxlsDat, 0.0, 0.0, var$3, var$4); $evt = nlea_EaglerAdapterImpl2_imageLoadContext; 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); $rt_globals.URL.revokeObjectURL($rt_ustr($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; $i = $pxlsDat.width; var$11 = $pxlsDat.height; if ($totalPixels == $rt_imul($i, var$11)) { $pxls.$w1 = $i; $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(679)); $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$exported$0(var$0, var$1) { $rt_globals.URL.revokeObjectURL($rt_ustr($rt_str(var$0.$val$toLoad0.src))); otpp_AsyncCallbackWrapper_complete(var$0.$val$ret0, null); } function nlea_EaglerAdapterImpl2$ShaderGL() { jl_Object.call(this); this.$obj0 = null; } function nlea_EaglerAdapterImpl2$ProgramGL() { var a = this; jl_Object.call(a); a.$obj = null; a.$hashcode = 0; } function nlea_EaglerAdapterImpl2$UniformGL() { jl_Object.call(this); this.$obj2 = null; } 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; } var jl_UnsupportedOperationException = $rt_classWithoutFields(jl_RuntimeException); function jl_UnsupportedOperationException__init_0() { var var_0 = new jl_UnsupportedOperationException(); jl_UnsupportedOperationException__init_(var_0); return var_0; } function jl_UnsupportedOperationException__init_($this) { jl_Throwable__init_0($this); } var jn_ReadOnlyBufferException = $rt_classWithoutFields(jl_UnsupportedOperationException); function jn_ReadOnlyBufferException__init_0() { var var_0 = new jn_ReadOnlyBufferException(); jn_ReadOnlyBufferException__init_(var_0); return var_0; } function jn_ReadOnlyBufferException__init_($this) { jl_Throwable__init_0($this); } var jn_BufferOverflowException = $rt_classWithoutFields(jl_RuntimeException); function jn_BufferOverflowException__init_0() { var var_0 = new jn_BufferOverflowException(); jn_BufferOverflowException__init_(var_0); return var_0; } function jn_BufferOverflowException__init_($this) { jl_Throwable__init_0($this); } var jn_BufferUnderflowException = $rt_classWithoutFields(jl_RuntimeException); function jn_BufferUnderflowException__init_0() { var var_0 = new jn_BufferUnderflowException(); jn_BufferUnderflowException__init_(var_0); return var_0; } function jn_BufferUnderflowException__init_($this) { jl_Throwable__init_0($this); } function jnci_BufferedDecoder() { var a = this; jnc_CharsetDecoder.call(a); a.$inArray0 = null; a.$outArray0 = null; } function jnci_BufferedDecoder__init_($this, $cs, $averageCharsPerByte, $maxCharsPerByte) { var var$4; $this.$replacement0 = $rt_s(680); jnc_CodingErrorAction_$callClinit(); var$4 = jnc_CodingErrorAction_REPORT; $this.$malformedAction0 = var$4; $this.$unmappableAction0 = var$4; if ($averageCharsPerByte <= 0.0) { $cs = new jl_IllegalArgumentException; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append3(jl_StringBuilder_append(var$4, $rt_s(681)), $averageCharsPerByte); jl_Throwable__init_($cs, jl_AbstractStringBuilder_toString(var$4)); $rt_throw($cs); } if ($maxCharsPerByte > 0.0) { $this.$charset1 = $cs; $this.$averageCharsPerByte = $averageCharsPerByte; $this.$maxCharsPerByte = $maxCharsPerByte; $this.$inArray0 = $rt_createByteArray(512); $this.$outArray0 = $rt_createCharArray(512); return; } $cs = new jl_IllegalArgumentException; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append3(jl_StringBuilder_append(var$4, $rt_s(682)), $maxCharsPerByte); jl_Throwable__init_($cs, jl_AbstractStringBuilder_toString(var$4)); $rt_throw($cs); } function jnci_BufferedDecoder_decodeLoop($this, $in, $out) { var $inArray, $inPos, $inSize, $outArray, $i, var$8, $result, var$10, $outSize, $controller, $outPos, var$14, var$15; $inArray = $this.$inArray0; $inPos = 0; $inSize = 0; $outArray = $this.$outArray0; a: { while (true) { if (($inPos + 32 | 0) > $inSize && jn_Buffer_hasRemaining($in)) { $i = $inPos; while ($i < $inSize) { var$8 = $inArray.data; var$8[$i - $inPos | 0] = var$8[$i]; $i = $i + 1 | 0; } var$8 = $inArray.data; $i = $inSize - $inPos | 0; $inSize = jl_Math_min(jn_Buffer_remaining($in) + $i | 0, var$8.length); jn_ByteBuffer_get($in, $inArray, $i, $inSize - $i | 0); $inPos = 0; } if (!jn_Buffer_hasRemaining($out)) { $result = !jn_Buffer_hasRemaining($in) && $inPos >= $inSize ? jnc_CoderResult_UNDERFLOW : jnc_CoderResult_OVERFLOW; break a; } var$8 = $outArray.data; $i = jn_Buffer_remaining($out); var$10 = var$8.length; $outSize = jl_Math_min($i, var$10); $controller = new jnci_BufferedDecoder$Controller; $controller.$in1 = $in; $controller.$out4 = $out; $result = $this.$arrayDecode($inArray, $inPos, $inSize, $outArray, 0, $outSize, $controller); $inPos = $controller.$inPosition0; if ($result === null && 0 == $controller.$outPosition0) $result = jnc_CoderResult_UNDERFLOW; $i = $controller.$outPosition0; $outPos = 0; if ($out.$readOnly2) { $in = new jn_ReadOnlyBufferException; jl_Throwable__init_0($in); $rt_throw($in); } if (jn_Buffer_remaining($out) < $i) break; if ($outPos > var$10) { $in = new jl_IndexOutOfBoundsException; $out = new jl_StringBuilder; jl_AbstractStringBuilder__init_($out); jl_AbstractStringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append($out, $rt_s(285)), $outPos), $rt_s(250)), var$10), 41); jl_Throwable__init_($in, jl_AbstractStringBuilder_toString($out)); $rt_throw($in); } $outSize = $outPos + $i | 0; if ($outSize > var$10) { $in = new jl_IndexOutOfBoundsException; $out = new jl_StringBuilder; jl_AbstractStringBuilder__init_($out); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append($out, $rt_s(356)), $outSize), $rt_s(287)), var$10); jl_Throwable__init_($in, jl_AbstractStringBuilder_toString($out)); $rt_throw($in); } if ($i < 0) { $in = new jl_IndexOutOfBoundsException; $out = new jl_StringBuilder; jl_AbstractStringBuilder__init_($out); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append($out, $rt_s(288)), $i), $rt_s(289)); jl_Throwable__init_($in, jl_AbstractStringBuilder_toString($out)); $rt_throw($in); } $outSize = $out.$position; var$14 = 0; while (var$14 < $i) { var$15 = $outSize + 1 | 0; var$10 = $outPos + 1 | 0; jn_CharBufferOverArray_putChar($out, $outSize, var$8[$outPos]); var$14 = var$14 + 1 | 0; $outSize = var$15; $outPos = var$10; } $out.$position = $out.$position + $i | 0; if ($result !== null) break a; } $in = new jn_BufferOverflowException; jl_Throwable__init_0($in); $rt_throw($in); } jn_Buffer_position0($in, $in.$position - ($inSize - $inPos | 0) | 0); return $result; } var jnci_UTF8Decoder = $rt_classWithoutFields(jnci_BufferedDecoder); function jnci_UTF8Decoder_arrayDecode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, $b2, $b, $b2_0, $b3, $c, $b4, $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, 2)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = $b2 + 1 | 0; $b2 = var$9[$b2]; if (!jnci_UTF8Decoder_checkMidByte($this, $b2)) { $inPos = $inPos + (-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 = $inPos; } else if (($b & 240) == 224) { if (($b2 + 2 | 0) > $inSize) { $inPos = $b2 + (-1) | 0; if (jnci_BufferedDecoder$Controller_hasMoreInput($controller, 3)) 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, 4)) 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; } var jnci_AsciiDecoder = $rt_classWithoutFields(jnci_BufferedDecoder); function jnci_AsciiDecoder_arrayDecode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, var$10, $b, var$12; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; var$9 = $inArray.data; var$10 = $inPos + 1 | 0; $b = var$9[$inPos] & 255; if ($b & 128) { $result = jnc_CoderResult_malformedForLength(1); $inPos = var$10 + (-1) | 0; break a; } var$9 = $outArray.data; var$12 = $outPos + 1 | 0; var$9[$outPos] = $b & 65535; $inPos = var$10; $outPos = var$12; } } $controller.$inPosition0 = $inPos; $controller.$outPosition0 = $outPos; return $result; } var jnci_Iso8859Decoder = $rt_classWithoutFields(jnci_BufferedDecoder); function jnci_Iso8859Decoder_arrayDecode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, var$10, var$11, $b, var$13; $result = null; while ($inPos < $inSize && $outPos < $outSize) { var$9 = $inArray.data; var$10 = $outArray.data; var$11 = $inPos + 1 | 0; $b = var$9[$inPos] & 255; var$13 = $outPos + 1 | 0; var$10[$outPos] = $b & 65535; $inPos = var$11; $outPos = var$13; } $controller.$inPosition0 = $inPos; $controller.$outPosition0 = $outPos; return $result; } function jnci_UTF16Decoder() { var a = this; jnci_BufferedDecoder.call(a); a.$bom0 = 0; a.$littleEndian0 = 0; } function jnci_UTF16Decoder_arrayDecode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var var$8, var$9, $b; if ($this.$bom0) { if (($inPos + 2 | 0) > $inSize) return !jn_Buffer_hasRemaining($controller.$in1) ? jnc_CoderResult_UNDERFLOW : null; var$8 = $inArray.data; $this.$bom0 = 0; var$9 = $inPos + 1 | 0; $b = var$8[$inPos]; if ($b == (-1)) { if (var$8[var$9] != (-2)) $inPos = var$9 + (-1) | 0; else { $inPos = var$9 + 1 | 0; $this.$littleEndian0 = 1; } } else if ($b != (-2)) $inPos = var$9 + (-1) | 0; else if (var$8[var$9] != (-1)) $inPos = var$9 + (-1) | 0; else { $inPos = var$9 + 1 | 0; $this.$littleEndian0 = 0; } } return !$this.$littleEndian0 ? jnci_UTF16Decoder_decodeBE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) : jnci_UTF16Decoder_decodeLE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller); } function jnci_UTF16Decoder_decodeLE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, $b2, $b1, $c, $next; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; if (($inPos + 2 | 0) > $inSize) { if (jnci_BufferedDecoder$Controller_hasMoreInput($controller, 2)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } var$9 = $inArray.data; $b2 = $inPos + 1 | 0; $b1 = var$9[$inPos] & 255; $inPos = $b2 + 1 | 0; $c = ($b1 | (var$9[$b2] & 255) << 8) & 65535; if (!jl_Character_isHighSurrogate($c)) { if (jl_Character_isLowSurrogate($c)) { $inPos = $inPos + (-2) | 0; $result = jnc_CoderResult_malformedForLength(2); break a; } var$9 = $outArray.data; $b2 = $outPos + 1 | 0; var$9[$outPos] = $c; $outPos = $b2; } else { if (($inPos + 2 | 0) >= $inSize) { if (!jnci_BufferedDecoder$Controller_hasMoreInput($controller, 4)) $result = jnc_CoderResult_UNDERFLOW; $inPos = $inPos + (-2) | 0; break a; } $b2 = $inPos + 1 | 0; $b1 = var$9[$inPos] & 255; $inPos = $b2 + 1 | 0; $next = ($b1 | (var$9[$b2] & 255) << 8) & 65535; if (!jl_Character_isLowSurrogate($next)) { $inPos = $inPos + (-4) | 0; $result = jnc_CoderResult_malformedForLength(4); break a; } if (($outPos + 2 | 0) > $outSize) { if (jnci_BufferedDecoder$Controller_hasMoreOutput($controller, 2)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; $b2 = $outPos + 1 | 0; var$9[$outPos] = $c; $outPos = $b2 + 1 | 0; var$9[$b2] = $next; } } } $controller.$inPosition0 = $inPos; $controller.$outPosition0 = $outPos; return $result; } function jnci_UTF16Decoder_decodeBE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, $b2, $b1, $c, $next; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; if (($inPos + 2 | 0) > $inSize) { if (jnci_BufferedDecoder$Controller_hasMoreInput($controller, 2)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } var$9 = $inArray.data; $b2 = $inPos + 1 | 0; $b1 = var$9[$inPos] & 255; $inPos = $b2 + 1 | 0; $c = (var$9[$b2] & 255 | $b1 << 8) & 65535; if (!jl_Character_isHighSurrogate($c)) { if (jl_Character_isLowSurrogate($c)) { $inPos = $inPos + (-2) | 0; $result = jnc_CoderResult_malformedForLength(2); break a; } var$9 = $outArray.data; $b2 = $outPos + 1 | 0; var$9[$outPos] = $c; $outPos = $b2; } else { if (($inPos + 2 | 0) >= $inSize) { if (!jnci_BufferedDecoder$Controller_hasMoreInput($controller, 4)) $result = jnc_CoderResult_UNDERFLOW; $inPos = $inPos + (-2) | 0; break a; } $b2 = $inPos + 1 | 0; $b1 = var$9[$inPos] & 255; $inPos = $b2 + 1 | 0; $next = (var$9[$b2] & 255 | $b1 << 8) & 65535; if (!jl_Character_isLowSurrogate($next)) { $inPos = $inPos + (-4) | 0; $result = jnc_CoderResult_malformedForLength(4); break a; } if (($outPos + 2 | 0) > $outSize) { if (jnci_BufferedDecoder$Controller_hasMoreOutput($controller, 2)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; $b2 = $outPos + 1 | 0; var$9[$outPos] = $c; $outPos = $b2 + 1 | 0; var$9[$b2] = $next; } } } $controller.$inPosition0 = $inPos; $controller.$outPosition0 = $outPos; return $result; } function nms_GuiIngameMenu() { var a = this; nms_GuiScreen.call(a); a.$updateCounter20 = 0; a.$updateCounter3 = 0; } function nms_GuiIngameMenu__init_0() { var var_0 = new nms_GuiIngameMenu(); nms_GuiIngameMenu__init_(var_0); return var_0; } function nms_GuiIngameMenu__init_($this) { nms_GuiScreen__init_($this); $this.$updateCounter20 = 0; $this.$updateCounter3 = 0; } function nms_GuiIngameMenu_initGui($this) { $this.$updateCounter20 = 0; ju_ArrayList_clear($this.$controlList); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(1, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 48 | 0, $rt_s(683))); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(4, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 24 | 0, $rt_s(684))); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(0, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 96 | 0, $rt_s(522))); } function nms_GuiIngameMenu_actionPerformed($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.$id2) { var$2 = $this.$mc8; var$3 = nms_GuiOptions__init_($this, var$2.$gameSettings); $ptr = 1; continue main; } if ($var1.$id2 == 1) { var$2 = $this.$mc8; var$3 = null; $ptr = 2; continue main; } if ($var1.$id2 != 4) return; $var1 = $this.$mc8; var$2 = null; $ptr = 4; continue main; case 1: nmc_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($var1.$id2 == 1) { var$2 = $this.$mc8; var$3 = null; $ptr = 2; continue main; } if ($var1.$id2 != 4) return; $var1 = $this.$mc8; var$2 = null; $ptr = 4; continue main; case 2: nmc_Minecraft_func_6261_a(var$2, var$3); if ($rt_suspending()) { break main; } var$2 = $this.$mc8; var$3 = nms_GuiMainMenu__init_0(); $ptr = 3; case 3: nmc_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($var1.$id2 != 4) return; $var1 = $this.$mc8; var$2 = null; $ptr = 4; case 4: nmc_Minecraft_displayGuiScreen($var1, var$2); if ($rt_suspending()) { break main; } $var1 = $this.$mc8; $ptr = 5; case 5: nmc_Minecraft_func_6259_e($var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $ptr); } function nms_GuiIngameMenu_updateScreen($this) { $this.$updateCounter3 = $this.$updateCounter3 + 1 | 0; } function nms_GuiIngameMenu_drawScreen($this, $var1, $var2, $var3) { var var$4, $var4, var$6, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var4 = $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: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } var$4 = $this.$mc8.$theWorld; $var4 = $this.$updateCounter20; $this.$updateCounter20 = $var4 + 1 | 0; if (!$var4) { $ptr = 3; continue main; } var$6 = var$4.$chunkProvider; $var4 = 0; var$4 = null; $ptr = 2; case 2: $tmp = nms_ChunkProviderLoadOrGenerate_saveChunks(var$6, $var4, var$4); if ($rt_suspending()) { break main; } $var4 = $tmp; $var4 = $var4 ? 0 : 1; if (!(!$var4 && $this.$updateCounter3 >= 20)) { $var6 = 255.0 * (nms_MathHelper_sin((($this.$updateCounter3 % 10 | 0) + $var3) / 10.0 * 3.1415927410125732 * 2.0) * 0.20000000298023224 + 0.800000011920929) | 0; nms_FontRenderer_drawStringWithShadow($this.$fontRenderer0, $rt_s(685), 8, $this.$height0 - 16 | 0, $var6 << 16 | $var6 << 8 | $var6); } nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $rt_s(686), $this.$width / 2 | 0, 40, 16777215); $ptr = 4; continue main; case 3: nms_World_saveLevel(var$4); if ($rt_suspending()) { break main; } var$6 = var$4.$chunkProvider; $var4 = 0; var$4 = null; $ptr = 2; continue main; case 4: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var4, var$6, $var6, $ptr); } function nms_ClippingHelper() { var a = this; jl_Object.call(a); a.$field_1688_a = null; a.$field_1687_b = null; a.$field_1690_c = null; a.$field_1689_d = null; } function nms_ClippingHelper__init_0() { var var_0 = new nms_ClippingHelper(); nms_ClippingHelper__init_(var_0); return var_0; } function nms_ClippingHelper__init_($this) { $this.$field_1688_a = $rt_createFloatMultiArray([16, 16]); $this.$field_1687_b = $rt_createFloatArray(16); $this.$field_1690_c = $rt_createFloatArray(16); $this.$field_1689_d = $rt_createFloatArray(16); } function nms_ClippingHelper_func_1152_a($this, $var1, $var3, $var5, $var7, $var9, $var11) { var $var13, var$8; $var13 = 0; while ($var13 < 6) { var$8 = $this.$field_1688_a.data; if (var$8[$var13].data[0] * $var1 + var$8[$var13].data[1] * $var3 + var$8[$var13].data[2] * $var5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $var7 + var$8[$var13].data[1] * $var3 + var$8[$var13].data[2] * $var5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $var1 + var$8[$var13].data[1] * $var9 + var$8[$var13].data[2] * $var5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $var7 + var$8[$var13].data[1] * $var9 + var$8[$var13].data[2] * $var5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $var1 + var$8[$var13].data[1] * $var3 + var$8[$var13].data[2] * $var11 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $var7 + var$8[$var13].data[1] * $var3 + var$8[$var13].data[2] * $var11 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $var1 + var$8[$var13].data[1] * $var9 + var$8[$var13].data[2] * $var11 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $var7 + var$8[$var13].data[1] * $var9 + var$8[$var13].data[2] * $var11 + var$8[$var13].data[3] <= 0.0) return 0; $var13 = $var13 + 1 | 0; } return 1; } function nms_ClippingHelperImplementation() { var a = this; nms_ClippingHelper.call(a); a.$field_1693_f = null; a.$field_1692_g = null; a.$field_1691_h = null; } var nms_ClippingHelperImplementation_field_1694_e = null; function nms_ClippingHelperImplementation__init_0() { var var_0 = new nms_ClippingHelperImplementation(); nms_ClippingHelperImplementation__init_(var_0); return var_0; } function nms_ClippingHelperImplementation__init_($this) { nms_ClippingHelper__init_($this); $this.$field_1693_f = nms_GLAllocation_createDirectFloatBuffer(16); $this.$field_1692_g = nms_GLAllocation_createDirectFloatBuffer(16); $this.$field_1691_h = nms_GLAllocation_createDirectFloatBuffer(16); } function nms_ClippingHelperImplementation_func_1155_a() { nms_ClippingHelperImplementation_func_1153_b(nms_ClippingHelperImplementation_field_1694_e); return nms_ClippingHelperImplementation_field_1694_e; } function nms_ClippingHelperImplementation_func_1154_a($this, $var1, $var2) { var $var3, var$4; $var1 = $var1.data; $var3 = nms_MathHelper_sqrt_float($var1[$var2].data[0] * $var1[$var2].data[0] + $var1[$var2].data[1] * $var1[$var2].data[1] + $var1[$var2].data[2] * $var1[$var2].data[2]); var$4 = $var1[$var2].data; var$4[0] = var$4[0] / $var3; var$4 = $var1[$var2].data; var$4[1] = var$4[1] / $var3; var$4 = $var1[$var2].data; var$4[2] = var$4[2] / $var3; $var1 = $var1[$var2].data; $var1[3] = $var1[3] / $var3; } function nms_ClippingHelperImplementation_func_1153_b($this) { var var$1, var$2, var$3, var$4, var$5; jn_FloatBuffer_clear($this.$field_1693_f); jn_FloatBuffer_clear($this.$field_1692_g); jn_FloatBuffer_clear($this.$field_1691_h); olo_EaglerAdapterGL30_glGetFloat(2983, $this.$field_1693_f); olo_EaglerAdapterGL30_glGetFloat(2982, $this.$field_1692_g); jn_FloatBuffer_limit(jn_FloatBuffer_flip($this.$field_1693_f), 16); jn_FloatBuffer_get($this.$field_1693_f, $this.$field_1687_b); jn_FloatBuffer_limit(jn_FloatBuffer_flip($this.$field_1692_g), 16); jn_FloatBuffer_get($this.$field_1692_g, $this.$field_1690_c); var$1 = $this.$field_1689_d.data; var$2 = $this.$field_1690_c.data; var$3 = var$2[0]; var$4 = $this.$field_1687_b.data; var$1[0] = var$3 * var$4[0] + var$2[1] * var$4[4] + var$2[2] * var$4[8] + var$2[3] * var$4[12]; var$1[1] = var$2[0] * var$4[1] + var$2[1] * var$4[5] + var$2[2] * var$4[9] + var$2[3] * var$4[13]; var$1[2] = var$2[0] * var$4[2] + var$2[1] * var$4[6] + var$2[2] * var$4[10] + var$2[3] * var$4[14]; var$1[3] = var$2[0] * var$4[3] + var$2[1] * var$4[7] + var$2[2] * var$4[11] + var$2[3] * var$4[15]; var$1[4] = var$2[4] * var$4[0] + var$2[5] * var$4[4] + var$2[6] * var$4[8] + var$2[7] * var$4[12]; var$1[5] = var$2[4] * var$4[1] + var$2[5] * var$4[5] + var$2[6] * var$4[9] + var$2[7] * var$4[13]; var$1[6] = var$2[4] * var$4[2] + var$2[5] * var$4[6] + var$2[6] * var$4[10] + var$2[7] * var$4[14]; var$1[7] = var$2[4] * var$4[3] + var$2[5] * var$4[7] + var$2[6] * var$4[11] + var$2[7] * var$4[15]; var$1[8] = var$2[8] * var$4[0] + var$2[9] * var$4[4] + var$2[10] * var$4[8] + var$2[11] * var$4[12]; var$1[9] = var$2[8] * var$4[1] + var$2[9] * var$4[5] + var$2[10] * var$4[9] + var$2[11] * var$4[13]; var$1[10] = var$2[8] * var$4[2] + var$2[9] * var$4[6] + var$2[10] * var$4[10] + var$2[11] * var$4[14]; var$1[11] = var$2[8] * var$4[3] + var$2[9] * var$4[7] + var$2[10] * var$4[11] + var$2[11] * var$4[15]; var$1[12] = var$2[12] * var$4[0] + var$2[13] * var$4[4] + var$2[14] * var$4[8] + var$2[15] * var$4[12]; var$1[13] = var$2[12] * var$4[1] + var$2[13] * var$4[5] + var$2[14] * var$4[9] + var$2[15] * var$4[13]; var$1[14] = var$2[12] * var$4[2] + var$2[13] * var$4[6] + var$2[14] * var$4[10] + var$2[15] * var$4[14]; var$1[15] = var$2[12] * var$4[3] + var$2[13] * var$4[7] + var$2[14] * var$4[11] + var$2[15] * var$4[15]; var$2 = $this.$field_1688_a; var$4 = var$2.data; var$4[0].data[0] = var$1[3] - var$1[0]; var$4[0].data[1] = var$1[7] - var$1[4]; var$4[0].data[2] = var$1[11] - var$1[8]; var$4[0].data[3] = var$1[15] - var$1[12]; nms_ClippingHelperImplementation_func_1154_a($this, var$2, 0); var$2 = $this.$field_1688_a; var$4 = var$2.data; var$5 = var$4[1].data; var$1 = $this.$field_1689_d.data; var$5[0] = var$1[3] + var$1[0]; var$4[1].data[1] = var$1[7] + var$1[4]; var$4[1].data[2] = var$1[11] + var$1[8]; var$4[1].data[3] = var$1[15] + var$1[12]; nms_ClippingHelperImplementation_func_1154_a($this, var$2, 1); var$2 = $this.$field_1688_a; var$4 = var$2.data; var$5 = var$4[2].data; var$1 = $this.$field_1689_d.data; var$5[0] = var$1[3] + var$1[1]; var$4[2].data[1] = var$1[7] + var$1[5]; var$4[2].data[2] = var$1[11] + var$1[9]; var$4[2].data[3] = var$1[15] + var$1[13]; nms_ClippingHelperImplementation_func_1154_a($this, var$2, 2); var$2 = $this.$field_1688_a; var$4 = var$2.data; var$5 = var$4[3].data; var$1 = $this.$field_1689_d.data; var$5[0] = var$1[3] - var$1[1]; var$4[3].data[1] = var$1[7] - var$1[5]; var$4[3].data[2] = var$1[11] - var$1[9]; var$4[3].data[3] = var$1[15] - var$1[13]; nms_ClippingHelperImplementation_func_1154_a($this, var$2, 3); var$2 = $this.$field_1688_a; var$4 = var$2.data; var$5 = var$4[4].data; var$1 = $this.$field_1689_d.data; var$5[0] = var$1[3] - var$1[2]; var$4[4].data[1] = var$1[7] - var$1[6]; var$4[4].data[2] = var$1[11] - var$1[10]; var$4[4].data[3] = var$1[15] - var$1[14]; nms_ClippingHelperImplementation_func_1154_a($this, var$2, 4); var$2 = $this.$field_1688_a; var$4 = var$2.data; var$5 = var$4[5].data; var$1 = $this.$field_1689_d.data; var$5[0] = var$1[3] + var$1[2]; var$4[5].data[1] = var$1[7] + var$1[6]; var$4[5].data[2] = var$1[11] + var$1[10]; var$4[5].data[3] = var$1[15] + var$1[14]; nms_ClippingHelperImplementation_func_1154_a($this, var$2, 5); } function nms_ClippingHelperImplementation__clinit_() { nms_ClippingHelperImplementation_field_1694_e = nms_ClippingHelperImplementation__init_0(); } var nms_ICamera = $rt_classWithoutFields(0); function nms_Frustrum() { var a = this; jl_Object.call(a); a.$field_593_a = null; a.$field_592_b = 0.0; a.$field_595_c = 0.0; a.$field_594_d = 0.0; } function nms_Frustrum__init_0() { var var_0 = new nms_Frustrum(); nms_Frustrum__init_(var_0); return var_0; } function nms_Frustrum__init_($this) { $this.$field_593_a = nms_ClippingHelperImplementation_func_1155_a(); } function nms_Frustrum_func_342_a($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $var1.$minX; var$3 = $var1.$minY0; var$4 = $var1.$minZ0; var$5 = $var1.$maxX0; var$6 = $var1.$maxY0; var$7 = $var1.$maxZ0; $var1 = $this.$field_593_a; var$8 = $this.$field_592_b; var$2 = var$2 - var$8; var$9 = $this.$field_595_c; var$3 = var$3 - var$9; var$10 = $this.$field_594_d; return nms_ClippingHelper_func_1152_a($var1, var$2, var$3, var$4 - var$10, var$5 - var$8, var$6 - var$9, var$7 - var$10); } var nms_RenderHelper = $rt_classWithoutFields(); var nms_RenderHelper_field_1695_a = null; function nms_RenderHelper__init_0() { var var_0 = new nms_RenderHelper(); nms_RenderHelper__init_(var_0); return var_0; } function nms_RenderHelper__init_($this) {} function nms_RenderHelper_disableStandardItemLighting() { olo_EaglerAdapterGL30_glDisable(2896); olo_EaglerAdapterGL30_glDisable(16384); olo_EaglerAdapterGL30_glDisable(16385); olo_EaglerAdapterGL30_glDisable(2903); } function nms_RenderHelper_enableStandardItemLighting() { var $var3; olo_EaglerAdapterGL30_glEnable(2896); olo_EaglerAdapterGL30_glEnable(16384); olo_EaglerAdapterGL30_glEnable(16385); olo_EaglerAdapterGL30_glEnable(2903); $var3 = nms_Vec3D_normalize(nms_Vec3D_createVector(0.20000000298023224, 1.0, (-0.699999988079071))); nms_RenderHelper_func_1157_a($var3.$xCoord, $var3.$yCoord, $var3.$zCoord, 0.0); nms_RenderHelper_func_1156_a(0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0); nms_RenderHelper_func_1156_a(0.0, 0.0, 0.0, 1.0); nms_RenderHelper_func_1156_a(0.0, 0.0, 0.0, 1.0); $var3 = nms_Vec3D_normalize(nms_Vec3D_createVector((-0.20000000298023224), 1.0, 0.699999988079071)); nms_RenderHelper_func_1157_a($var3.$xCoord, $var3.$yCoord, $var3.$zCoord, 0.0); nms_RenderHelper_func_1156_a(0.6000000238418579, 0.6000000238418579, 0.6000000238418579, 1.0); nms_RenderHelper_func_1156_a(0.0, 0.0, 0.0, 1.0); nms_RenderHelper_func_1156_a(0.0, 0.0, 0.0, 1.0); nms_RenderHelper_func_1156_a(0.4000000059604645, 0.4000000059604645, 0.4000000059604645, 1.0); } function nms_RenderHelper_func_1157_a($var0, $var2, $var4, $var6) { return nms_RenderHelper_func_1156_a($var0, $var2, $var4, $var6); } function nms_RenderHelper_func_1156_a($var0, $var1, $var2, $var3) { jn_Buffer_clear(nms_RenderHelper_field_1695_a); jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(nms_RenderHelper_field_1695_a, $var0), $var1), $var2), $var3); jn_Buffer_flip(nms_RenderHelper_field_1695_a); return nms_RenderHelper_field_1695_a; } function nms_RenderHelper__clinit_() { nms_RenderHelper_field_1695_a = nms_GLAllocation_createDirectFloatBuffer(16); } function nms_GuiChat() { var a = this; nms_GuiScreen.call(a); a.$message1 = null; a.$updateCounter4 = 0; } function nms_GuiChat__init_0() { var var_0 = new nms_GuiChat(); nms_GuiChat__init_(var_0); return var_0; } function nms_GuiChat__init_($this) { nms_GuiScreen__init_($this); $this.$message1 = $rt_s(6); $this.$updateCounter4 = 0; } function nms_ChatLine() { var a = this; jl_Object.call(a); a.$message0 = null; a.$updateCounter1 = 0; } function nms_EntityFX() { var a = this; nms_Entity.call(a); a.$field_670_b = 0; a.$field_669_c = 0.0; a.$field_668_d = 0.0; a.$e0 = 0; a.$field_666_f = 0; a.$field_665_g = 0.0; a.$field_664_h = 0.0; a.$field_663_i = 0.0; a.$field_662_j = 0.0; a.$field_661_k = 0.0; } var nms_EntityFX_field_660_l = 0.0; var nms_EntityFX_field_659_m = 0.0; var nms_EntityFX_field_658_n = 0.0; function nms_EntityFX__init_0(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new nms_EntityFX(); nms_EntityFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12) { var $var14, $var15; nms_Entity__init_($this, $var1); $this.$e0 = 0; $this.$field_666_f = 0; nms_Entity_setSize($this, 0.20000000298023224, 0.20000000298023224); $this.$yOffset = $this.$height / 2.0; nms_Entity_setPosition($this, $var2, $var4, $var6); $this.$field_661_k = 1.0; $this.$field_662_j = 1.0; $this.$field_663_i = 1.0; $this.$motionX = $var8 + (jl_Math_random() * 2.0 - 1.0) * 0.4000000059604645; $this.$motionY = $var10 + (jl_Math_random() * 2.0 - 1.0) * 0.4000000059604645; $this.$motionZ = $var12 + (jl_Math_random() * 2.0 - 1.0) * 0.4000000059604645; $var14 = (jl_Math_random() + jl_Math_random() + 1.0) * 0.15000000596046448; $var2 = $this.$motionX; $var2 = $var2 * $var2; $var4 = $this.$motionY; $var2 = $var2 + $var4 * $var4; $var4 = $this.$motionZ; $var15 = nms_MathHelper_sqrt_double($var2 + $var4 * $var4); $var2 = $this.$motionX; $var4 = $var15; $var2 = $var2 / $var4; $var6 = $var14; $this.$motionX = $var2 * $var6 * 0.4000000059604645; $this.$motionY = $this.$motionY / $var4 * $var6 * 0.4000000059604645 + 0.10000000149011612; $this.$motionZ = $this.$motionZ / $var4 * $var6 * 0.4000000059604645; $this.$field_669_c = ju_Random_nextFloat($this.$rand2) * 3.0; $this.$field_668_d = ju_Random_nextFloat($this.$rand2) * 3.0; $this.$field_665_g = (ju_Random_nextFloat($this.$rand2) * 0.5 + 0.5) * 2.0; $this.$field_666_f = 4.0 / (ju_Random_nextFloat($this.$rand2) * 0.8999999761581421 + 0.10000000149011612) | 0; $this.$e0 = 0; $this.$entityWalks = 0; } function nms_EntityFX_onUpdate($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$e0; $this.$e0 = var$1 + 1 | 0; if (var$1 >= $this.$field_666_f) { $ptr = 2; continue main; } var$2 = $this.$motionY - 0.04 * $this.$field_664_h; $this.$motionY = var$2; var$3 = $this.$motionX; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$3, var$2, var$4); if ($rt_suspending()) { break main; } var$2 = $this.$motionX * 0.9800000190734863; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.9800000190734863; var$3 = $this.$motionZ * 0.9800000190734863; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } var$2 = $this.$motionY - 0.04 * $this.$field_664_h; $this.$motionY = var$2; var$3 = $this.$motionX; var$4 = $this.$motionZ; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, $var8, $var9, $var10, $var11, $var12, var$14, var$15, var$16, $var13, $var14, $var15, $var16, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = $this.$field_670_b; $var8 = (var$8 % 16 | 0) / 16.0; $var9 = $var8 + 0.062437500804662704; $var10 = (var$8 / 16 | 0) / 16.0; $var11 = $var10 + 0.062437500804662704; $var12 = 0.10000000149011612 * $this.$field_665_g; var$14 = $this.$prevPosX; var$15 = $this.$posX - var$14; var$16 = $var2; $var13 = var$14 + var$15 * var$16 - nms_EntityFX_field_660_l; var$15 = $this.$prevPosY; $var14 = var$15 + ($this.$posY - var$15) * var$16 - nms_EntityFX_field_659_m; var$15 = $this.$prevPosZ; $var15 = var$15 + ($this.$posZ - var$15) * var$16 - nms_EntityFX_field_658_n; $ptr = 1; case 1: $tmp = $this.$getEntityBrightness($var2); if ($rt_suspending()) { break main; } $var16 = $tmp; nms_Tessellator_setColorOpaque_F($var1, $this.$field_663_i * $var16, $this.$field_662_j * $var16, $this.$field_661_k * $var16); $var3 = $var3 * $var12; $var16 = $var13 - $var3; $var6 = $var6 * $var12; var$15 = $var16 - $var6; $var4 = $var4 * $var12; var$14 = $var14 - $var4; $var2 = $var5 * $var12; $var5 = $var15 - $var2; $var7 = $var7 * $var12; var$16 = $var5 - $var7; var$21 = $var8; var$22 = $var11; nms_Tessellator_addVertexWithUV($var1, var$15, var$14, var$16, var$21, var$22); var$15 = $var16 + $var6; var$16 = $var14 + $var4; var$23 = $var5 + $var7; var$24 = $var10; nms_Tessellator_addVertexWithUV($var1, var$15, var$16, var$23, var$21, var$24); $var3 = $var13 + $var3; var$15 = $var3 + $var6; $var2 = $var15 + $var2; var$21 = $var2 + $var7; var$23 = $var9; nms_Tessellator_addVertexWithUV($var1, var$15, var$16, var$21, var$23, var$24); nms_Tessellator_addVertexWithUV($var1, $var3 - $var6, var$14, $var2 - $var7, var$23, var$22); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var8, $var9, $var10, $var11, $var12, var$14, var$15, var$16, $var13, $var14, $var15, $var16, var$21, var$22, var$23, var$24, $ptr); } function nms_EntityFX_func_404_c($this) { return 0; } function nms_EntityFX_writeEntityToNBT($this, $var1) {} var otcic_Console = $rt_classWithoutFields(); function otcic_Console__init_0() { var var_0 = new otcic_Console(); otcic_Console__init_(var_0); return var_0; } function otcic_Console__init_($this) {} function nms_EntityDiggingFX() { nms_EntityFX.call(this); this.$field_4082_a = null; } function nms_EntityDiggingFX__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) { var var_8 = new nms_EntityDiggingFX(); nms_EntityDiggingFX__init_0(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; } function nms_EntityDiggingFX__init_0($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12, $var14) { nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12); $this.$field_4082_a = $var14; $this.$field_670_b = $var14.$blockIndexInTexture; $this.$field_664_h = $var14.$field_357_bm; $this.$field_661_k = 0.6000000238418579; $this.$field_662_j = 0.6000000238418579; $this.$field_663_i = 0.6000000238418579; $this.$field_665_g = $this.$field_665_g / 2.0; } function nms_EntityDiggingFX_func_4041_a($this, $var1, $var2, $var3) { var var$4, var$5, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $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: var$4 = $this.$field_4082_a; nms_Block_$callClinit(); if (var$4 === nms_Block_grass) return $this; var$5 = $this.$worldObj0; $ptr = 1; case 1: $tmp = var$4.$colorMultiplier(var$5, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; $this.$field_663_i = $this.$field_663_i * ($var4 >> 16 & 255) / 255.0; $this.$field_662_j = $this.$field_662_j * ($var4 >> 8 & 255) / 255.0; $this.$field_661_k = $this.$field_661_k * ($var4 & 255) / 255.0; return $this; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var4, $ptr); } function nms_EntityDiggingFX_func_404_c($this) { return 1; } function nms_EntityDiggingFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, $var8, $var9, $var10, $var11, $var12, var$14, var$15, var$16, $var13, $var14, $var15, $var16, var$21, var$22, var$23, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = $this.$field_670_b; $var8 = ((var$8 % 16 | 0) + $this.$field_669_c / 4.0) / 16.0; $var9 = $var8 + 0.015609375201165676; $var10 = ((var$8 / 16 | 0) + $this.$field_668_d / 4.0) / 16.0; $var11 = $var10 + 0.015609375201165676; $var12 = 0.10000000149011612 * $this.$field_665_g; var$14 = $this.$prevPosX; var$15 = $this.$posX - var$14; var$16 = $var2; $var13 = var$14 + var$15 * var$16 - nms_EntityFX_field_660_l; var$14 = $this.$prevPosY; $var14 = var$14 + ($this.$posY - var$14) * var$16 - nms_EntityFX_field_659_m; var$14 = $this.$prevPosZ; $var15 = var$14 + ($this.$posZ - var$14) * var$16 - nms_EntityFX_field_658_n; $ptr = 1; case 1: $tmp = nms_Entity_getEntityBrightness($this, $var2); if ($rt_suspending()) { break main; } $var16 = $tmp; nms_Tessellator_setColorOpaque_F($var1, $var16 * $this.$field_663_i, $var16 * $this.$field_662_j, $var16 * $this.$field_661_k); $var2 = $var3 * $var12; $var3 = $var13 - $var2; $var6 = $var6 * $var12; var$14 = $var3 - $var6; $var4 = $var4 * $var12; var$15 = $var14 - $var4; $var5 = $var5 * $var12; var$21 = $var15 - $var5; $var7 = $var7 * $var12; var$16 = var$21 - $var7; var$22 = $var8; var$23 = $var11; nms_Tessellator_addVertexWithUV($var1, var$14, var$15, var$16, var$22, var$23); var$24 = $var3 + $var6; var$14 = $var14 + $var4; var$16 = var$21 + $var7; var$25 = $var10; nms_Tessellator_addVertexWithUV($var1, var$24, var$14, var$16, var$22, var$25); $var2 = $var13 + $var2; var$16 = $var2 + $var6; $var3 = $var15 + $var5; var$24 = $var3 + $var7; var$22 = $var9; nms_Tessellator_addVertexWithUV($var1, var$16, var$14, var$24, var$22, var$25); nms_Tessellator_addVertexWithUV($var1, $var2 - $var6, var$15, $var3 - $var7, var$22, var$23); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var8, $var9, $var10, $var11, $var12, var$14, var$15, var$16, $var13, $var14, $var15, $var16, var$21, var$22, var$23, var$24, var$25, $ptr); } var jl_Object$NotifyListener = $rt_classWithoutFields(0); function nms_CraftingManager() { jl_Object.call(this); this.$recipes = null; } var nms_CraftingManager_instance = null; function nms_CraftingManager_$callClinit() { nms_CraftingManager_$callClinit = $rt_eraseClinit(nms_CraftingManager); nms_CraftingManager__clinit_(); } function nms_CraftingManager__init_0() { var var_0 = new nms_CraftingManager(); nms_CraftingManager__init_(var_0); return var_0; } function nms_CraftingManager_getInstance() { nms_CraftingManager_$callClinit(); return nms_CraftingManager_instance; } function nms_CraftingManager__init_($this) { var var$1, var$2, var$3; nms_CraftingManager_$callClinit(); jl_Object__init_0($this); $this.$recipes = ju_ArrayList__init_0(); nms_RecipesTools_func_1122_a(nms_RecipesTools__init_0(), $this); nms_RecipesWeapons_func_766_a(nms_RecipesWeapons__init_0(), $this); nms_RecipesIngots_func_810_a(nms_RecipesIngots__init_0(), $this); nms_RecipesFood_func_976_a(nms_RecipesFood__init_0(), $this); nms_RecipesCrafting_func_1051_a(nms_RecipesCrafting__init_0(), $this); nms_RecipesArmor_func_1148_a(nms_RecipesArmor__init_0(), $this); var$1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$1, nms_Item_paper, 3); nms_CraftingManager_addRecipe($this, var$1, $rt_createArrayFromData(jl_Object, [$rt_s(687), jl_Character_valueOf(35), nms_Item_reed])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_book, 1), $rt_createArrayFromData(jl_Object, [$rt_s(688), $rt_s(688), $rt_s(688), jl_Character_valueOf(35), nms_Item_paper])); var$2 = new nms_ItemStack; nms_Block_$callClinit(); nms_ItemStack__init_9(var$2, nms_Block_fence, 2); nms_CraftingManager_addRecipe($this, var$2, $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(687), jl_Character_valueOf(35), nms_Item_stick])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_jukebox, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(689), $rt_s(687), jl_Character_valueOf(35), nms_Block_planks, jl_Character_valueOf(88), nms_Item_diamond])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_bookShelf, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(690), $rt_s(687), jl_Character_valueOf(35), nms_Block_planks, jl_Character_valueOf(88), nms_Item_book])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_blockSnow, 1), $rt_createArrayFromData(jl_Object, [$rt_s(691), $rt_s(691), jl_Character_valueOf(35), nms_Item_snowball])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_blockClay, 1), $rt_createArrayFromData(jl_Object, [$rt_s(691), $rt_s(691), jl_Character_valueOf(35), nms_Item_clay])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_brick, 1), $rt_createArrayFromData(jl_Object, [$rt_s(691), $rt_s(691), jl_Character_valueOf(35), nms_Item_brick])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_lightStone, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(687), $rt_s(687), jl_Character_valueOf(35), nms_Item_lightStoneDust])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_cloth, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(687), $rt_s(687), jl_Character_valueOf(35), nms_Item_silk])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_tnt, 1), $rt_createArrayFromData(jl_Object, [$rt_s(692), $rt_s(689), $rt_s(692), jl_Character_valueOf(88), nms_Item_gunpowder, jl_Character_valueOf(35), nms_Block_sand])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_stairSingle, 3), $rt_createArrayFromData(jl_Object, [$rt_s(687), jl_Character_valueOf(35), nms_Block_cobblestone])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_ladder, 1), $rt_createArrayFromData(jl_Object, [$rt_s(693), $rt_s(687), $rt_s(693), jl_Character_valueOf(35), nms_Item_stick])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_doorWood, 1), $rt_createArrayFromData(jl_Object, [$rt_s(691), $rt_s(691), $rt_s(691), jl_Character_valueOf(35), nms_Block_planks])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_doorSteel, 1), $rt_createArrayFromData(jl_Object, [$rt_s(691), $rt_s(691), $rt_s(691), jl_Character_valueOf(35), nms_Item_ingotIron])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_sign, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(687), $rt_s(694), jl_Character_valueOf(35), nms_Block_planks, jl_Character_valueOf(88), nms_Item_stick])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_planks, 4), $rt_createArrayFromData(jl_Object, [$rt_s(688), jl_Character_valueOf(35), nms_Block_wood])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_stick, 4), $rt_createArrayFromData(jl_Object, [$rt_s(688), $rt_s(688), jl_Character_valueOf(35), nms_Block_planks])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_torchWood, 4), $rt_createArrayFromData(jl_Object, [$rt_s(85), $rt_s(688), jl_Character_valueOf(88), nms_Item_coal, jl_Character_valueOf(35), nms_Item_stick])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_bowlEmpty, 4), $rt_createArrayFromData(jl_Object, [$rt_s(693), $rt_s(695), jl_Character_valueOf(35), nms_Block_planks])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_minecartTrack, 16), $rt_createArrayFromData(jl_Object, [$rt_s(696), $rt_s(692), $rt_s(696), jl_Character_valueOf(88), nms_Item_ingotIron, jl_Character_valueOf(35), nms_Item_stick])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_minecartEmpty, 1), $rt_createArrayFromData(jl_Object, [$rt_s(693), $rt_s(687), jl_Character_valueOf(35), nms_Item_ingotIron])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_pumpkinLantern, 1), $rt_createArrayFromData(jl_Object, [$rt_s(70), $rt_s(88), jl_Character_valueOf(65), nms_Block_pumpkin, jl_Character_valueOf(66), nms_Block_torchWood])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_minecartCrate, 1), $rt_createArrayFromData(jl_Object, [$rt_s(70), $rt_s(88), jl_Character_valueOf(65), nms_Block_crate, jl_Character_valueOf(66), nms_Item_minecartEmpty])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_minecartPowered, 1), $rt_createArrayFromData(jl_Object, [$rt_s(70), $rt_s(88), jl_Character_valueOf(65), nms_Block_stoneOvenIdle, jl_Character_valueOf(66), nms_Item_minecartEmpty])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_boat, 1), $rt_createArrayFromData(jl_Object, [$rt_s(693), $rt_s(687), jl_Character_valueOf(35), nms_Block_planks])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_bucketEmpty, 1), $rt_createArrayFromData(jl_Object, [$rt_s(693), $rt_s(695), jl_Character_valueOf(35), nms_Item_ingotIron])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_flintAndSteel, 1), $rt_createArrayFromData(jl_Object, [$rt_s(697), $rt_s(698), jl_Character_valueOf(65), nms_Item_ingotIron, jl_Character_valueOf(66), nms_Item_flint])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_bread, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), jl_Character_valueOf(35), nms_Item_wheat])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_stairCompactPlanks, 4), $rt_createArrayFromData(jl_Object, [$rt_s(699), $rt_s(700), $rt_s(687), jl_Character_valueOf(35), nms_Block_planks])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_fishingRod, 1), $rt_createArrayFromData(jl_Object, [$rt_s(701), $rt_s(702), $rt_s(703), jl_Character_valueOf(35), nms_Item_stick, jl_Character_valueOf(88), nms_Item_silk])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_stairCompactCobblestone, 4), $rt_createArrayFromData(jl_Object, [$rt_s(699), $rt_s(700), $rt_s(687), jl_Character_valueOf(35), nms_Block_cobblestone])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_painting, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(689), $rt_s(687), jl_Character_valueOf(35), nms_Item_stick, jl_Character_valueOf(88), nms_Block_cloth])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_appleGold, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(689), $rt_s(687), jl_Character_valueOf(35), nms_Block_blockGold, jl_Character_valueOf(88), nms_Item_appleRed])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_lever, 1), $rt_createArrayFromData(jl_Object, [$rt_s(85), $rt_s(688), jl_Character_valueOf(35), nms_Block_cobblestone, jl_Character_valueOf(88), nms_Item_stick])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_torchRedstoneActive, 1), $rt_createArrayFromData(jl_Object, [$rt_s(85), $rt_s(688), jl_Character_valueOf(35), nms_Item_stick, jl_Character_valueOf(88), nms_Item_redstone])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_pocketSundial, 1), $rt_createArrayFromData(jl_Object, [$rt_s(695), $rt_s(689), $rt_s(695), jl_Character_valueOf(35), nms_Item_ingotGold, jl_Character_valueOf(88), nms_Item_redstone])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_11(nms_Item_compass, 1), $rt_createArrayFromData(jl_Object, [$rt_s(695), $rt_s(689), $rt_s(695), jl_Character_valueOf(35), nms_Item_ingotIron, jl_Character_valueOf(88), nms_Item_redstone])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_button, 1), $rt_createArrayFromData(jl_Object, [$rt_s(688), $rt_s(688), jl_Character_valueOf(35), nms_Block_stone])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_pressurePlateStone, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), jl_Character_valueOf(35), nms_Block_stone])); nms_CraftingManager_addRecipe($this, nms_ItemStack__init_8(nms_Block_pressurePlatePlanks, 1), $rt_createArrayFromData(jl_Object, [$rt_s(687), jl_Character_valueOf(35), nms_Block_planks])); ju_Collections_sort($this.$recipes, nms_RecipeSorter__init_($this)); var$2 = jl_System_out(); var$3 = ju_ArrayList_size($this.$recipes); var$1 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append1(var$1, var$3), $rt_s(704)); ji_PrintStream_println(var$2, jl_StringBuilder_toString(var$1)); } function nms_CraftingManager_addRecipe($this, $var1, $var2) { var $var14, $var3, $var4, $var5, $var6, $var10, $var7, $var9, $var11, $var8, $var12, $var13, $var15; $var14 = $var2.data; $var3 = $rt_s(6); $var4 = 0; $var5 = 0; $var6 = 0; if (!$rt_isInstance($var14[$var4], $rt_arraycls(jl_String))) { while ($var14[$var4] instanceof jl_String) { $var10 = $var4 + 1 | 0; $var7 = $var14[$var4]; $var6 = $var6 + 1 | 0; $var5 = jl_String_length($var7); $var9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var9); jl_StringBuilder_append(jl_StringBuilder_append($var9, $var3), $var7); $var3 = jl_AbstractStringBuilder_toString($var9); $var4 = $var10; } $var10 = $var4; } else { $var10 = 1; $var11 = $var14[$var4]; $var8 = 0; while (true) { $var2 = $var11.data; if ($var8 >= $var2.length) break; $var9 = $var2[$var8]; $var6 = $var6 + 1 | 0; $var5 = jl_String_length($var9); $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7); jl_StringBuilder_append(jl_StringBuilder_append($var7, $var3), $var9); $var3 = jl_AbstractStringBuilder_toString($var7); $var8 = $var8 + 1 | 0; } } $var12 = ju_HashMap__init_0(); while ($var10 < $var14.length) { $var13 = $var14[$var10]; $var15 = 0; $var8 = $var10 + 1 | 0; if ($var14[$var8] instanceof nms_Item) $var15 = $var14[$var8].$shiftedIndex; else if ($var14[$var8] instanceof nms_Block) $var15 = $var14[$var8].$blockID; ju_HashMap_put($var12, $var13, jl_Integer_valueOf($var15)); $var10 = $var10 + 2 | 0; } $var8 = $rt_imul($var5, $var6); $var14 = $rt_createIntArray($var8); $var2 = $var14.data; $var15 = 0; while ($var15 < $var8) { $var10 = jl_String_charAt($var3, $var15); if (!ju_HashMap_containsKey($var12, jl_Character_valueOf($var10))) $var2[$var15] = (-1); else $var2[$var15] = (ju_HashMap_get($var12, jl_Character_valueOf($var10))).$value; $var15 = $var15 + 1 | 0; } $var3 = $this.$recipes; $var7 = new nms_CraftingRecipe; $var7.$resultId = $var1.$itemID; $var7.$width1 = $var5; $var7.$height1 = $var6; $var7.$ingredientMap = $var14; $var7.$resultStack = $var1; ju_ArrayList_add($var3, $var7); } function nms_CraftingManager_craft($this, $var1) { var $var2, $var3, var$4, var$5, var$6, var$7; $var2 = 0; while (true) { $var3 = $this.$recipes; if ($var2 >= $var3.$size) break; $var3 = ju_ArrayList_get($var3, $var2); var$4 = 0; a: { while (var$4 <= (3 - $var3.$width1 | 0)) { var$5 = 0; while (var$5 <= (3 - $var3.$height1 | 0)) { if (nms_CraftingRecipe_matches($var3, $var1, var$4, var$5, 1)) { var$6 = 1; break a; } if (nms_CraftingRecipe_matches($var3, $var1, var$4, var$5, 0)) { var$6 = 1; break a; } var$5 = var$5 + 1 | 0; } var$4 = var$4 + 1 | 0; } var$6 = 0; } if (var$6) { var$7 = new nms_ItemStack; $var3 = $var3.$resultStack; nms_ItemStack__init_12(var$7, $var3.$itemID, $var3.$stackSize); return var$7; } $var2 = $var2 + 1 | 0; } return null; } function nms_CraftingManager__clinit_() { nms_CraftingManager_instance = nms_CraftingManager__init_0(); } function ju_HashMap$2() { ju_AbstractCollection.call(this); this.$this$01 = null; } function ju_HashMap$2_contains($this, $object) { var var$2, var$3, var$4, var$5; a: { b: { var$2 = $this.$this$01; if ($object === null) { var$3 = 0; c: while (true) { var$4 = var$2.$elementData.data; if (var$3 >= var$4.length) break b; $object = var$4[var$3]; while ($object !== null) { if ($object.$value1 === null) break c; $object = $object.$next2; } var$3 = var$3 + 1 | 0; } var$3 = 1; break a; } var$3 = 0; d: while (true) { var$4 = var$2.$elementData.data; if (var$3 >= var$4.length) break b; var$5 = var$4[var$3]; while (var$5 !== null) { if ($object.$equals(var$5.$value1)) break d; var$5 = var$5.$next2; } var$3 = var$3 + 1 | 0; } var$3 = 1; break a; } var$3 = 0; } return var$3; } function ju_HashMap$2_iterator($this) { var var$1; var$1 = new ju_HashMap$ValueIterator; ju_HashMap$AbstractMapIterator__init_(var$1, $this.$this$01); return var$1; } function nms_GuiButton() { var a = this; nms_Gui.call(a); a.$width2 = 0; a.$height2 = 0; a.$xPosition0 = 0; a.$yPosition = 0; a.$displayString = null; a.$id2 = 0; a.$enabled = 0; a.$enabled2 = 0; } function nms_GuiButton__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_GuiButton(); nms_GuiButton__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_GuiButton__init_1(var_0, var_1, var_2, var_3, var_4, var_5) { var var_6 = new nms_GuiButton(); nms_GuiButton__init_2(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; } function nms_GuiButton__init_0($this, $var1, $var2, $var3, $var4) { nms_GuiButton__init_2($this, $var1, $var2, $var3, 200, 20, $var4); } function nms_GuiButton__init_2($this, $var1, $var2, $var3, $var4, $var5, $var6) { nms_Gui__init_($this); $this.$width2 = 200; $this.$height2 = 20; $this.$enabled = 1; $this.$enabled2 = 1; $this.$id2 = $var1; $this.$xPosition0 = $var2; $this.$yPosition = $var3; $this.$width2 = $var4; $this.$height2 = $var5; $this.$displayString = $var6; } function nms_GuiButton_getHoverState($this, $var1) { var $var2; $var2 = 1; if (!$this.$enabled) $var2 = 0; else if ($var1) $var2 = 2; return $var2; } function nms_GuiButton_drawButton($this, $var1, $var2, $var3) { var $var4, $var5, var$6, var$7, $var6, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $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: if (!$this.$enabled2) return; $var4 = $var1.$fontRenderer; $var5 = 3553; var$6 = $var1.$renderEngine; var$7 = $rt_s(493); $ptr = 1; case 1: a: { $tmp = nms_RenderEngine_getTexture(var$6, var$7); if ($rt_suspending()) { break main; } $var6 = $tmp; olo_EaglerAdapterGL30_glBindTexture($var5, $var6); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $var5 = $this.$xPosition0; if ($var2 >= $var5) { $var6 = $this.$yPosition; if ($var3 >= $var6 && $var2 < ($var5 + $this.$width2 | 0) && $var3 < ($var6 + $this.$height2 | 0)) { $var5 = 1; break a; } } $var5 = 0; } $var6 = $this.$getHoverState($var5); var$9 = $this.$xPosition0; var$10 = $this.$yPosition; $var6 = 46 + ($var6 * 20 | 0) | 0; nms_Gui_drawTexturedModalRect($this, var$9, var$10, 0, $var6, $this.$width2 / 2 | 0, $this.$height2); var$9 = $this.$xPosition0; var$10 = $this.$width2 / 2 | 0; nms_Gui_drawTexturedModalRect($this, var$9 + var$10 | 0, $this.$yPosition, 200 - var$10 | 0, $var6, var$10, $this.$height2); $this.$mouseDragged($var1, $var2, $var3); if (!$this.$enabled) nms_Gui_drawCenteredString($this, $var4, $this.$displayString, $this.$xPosition0 + ($this.$width2 / 2 | 0) | 0, $this.$yPosition + (($this.$height2 - 8 | 0) / 2 | 0) | 0, (-6250336)); else if (!$var5) nms_Gui_drawCenteredString($this, $var4, $this.$displayString, $this.$xPosition0 + ($this.$width2 / 2 | 0) | 0, $this.$yPosition + (($this.$height2 - 8 | 0) / 2 | 0) | 0, 14737632); else nms_Gui_drawCenteredString($this, $var4, $this.$displayString, $this.$xPosition0 + ($this.$width2 / 2 | 0) | 0, $this.$yPosition + (($this.$height2 - 8 | 0) / 2 | 0) | 0, 16777120); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, $var6, var$9, var$10, $ptr); } function nms_GuiButton_mouseDragged($this, $var1, $var2, $var3) {} function nms_GuiButton_mouseReleased($this, $var1, $var2) {} function nms_GuiButton_mousePressed($this, $var1, $var2, $var3) { var var$4, var$5; a: { if ($this.$enabled) { var$4 = $this.$xPosition0; if ($var2 >= var$4) { var$5 = $this.$yPosition; if ($var3 >= var$5 && $var2 < (var$4 + $this.$width2 | 0) && $var3 < (var$5 + $this.$height2 | 0)) { $var2 = 1; break a; } } } $var2 = 0; } return $var2; } function nms_LogoEffectRandomizer() { var a = this; jl_Object.call(a); a.$field_1312_a = 0.0; a.$field_1311_b = 0.0; a.$field_1314_c = 0.0; a.$mainMenu = null; } function nms_WorldProvider() { var a = this; jl_Object.call(a); a.$worldObj8 = null; a.$worldChunkMgr = null; a.$field_4220_c = 0; a.$field_6479_d = 0; a.$field_6478_e = 0; a.$lightBrightnessTable = null; a.$field_4218_e = 0; a.$field_4217_f = null; } function nms_WorldProvider__init_0() { var var_0 = new nms_WorldProvider(); nms_WorldProvider__init_(var_0); return var_0; } function nms_WorldProvider__init_($this) { $this.$field_4220_c = 0; $this.$field_6479_d = 0; $this.$field_6478_e = 0; $this.$lightBrightnessTable = $rt_createFloatArray(16); $this.$field_4218_e = 0; $this.$field_4217_f = $rt_createFloatArray(4); } function nms_WorldProvider_registerWorld($this, $var1) { $this.$worldObj8 = $var1; $this.$registerWorldChunkManager(); $this.$generateLightBrightnessTable(); } function nms_WorldProvider_generateLightBrightnessTable($this) { var $var2, $var3; $var2 = 0; while ($var2 <= 15) { $var3 = 1.0 - $var2 / 15.0; $this.$lightBrightnessTable.data[$var2] = (1.0 - $var3) / ($var3 * 3.0 + 1.0) * 0.949999988079071 + 0.05000000074505806; $var2 = $var2 + 1 | 0; } } function nms_WorldProvider_registerWorldChunkManager($this) { var var$1; var$1 = new nms_WorldChunkManager; var$1.$field_4194_e = nms_NoiseGeneratorOctaves2__init_(new ju_Random, 4); var$1.$field_4193_f = nms_NoiseGeneratorOctaves2__init_(new ju_Random, 4); var$1.$field_4192_g = nms_NoiseGeneratorOctaves2__init_(new ju_Random, 2); $this.$worldChunkMgr = var$1; } function nms_WorldProvider_getChunkProvider($this) { var var$1, var$2, var$3; var$1 = new nms_ChunkProviderGenerate; var$2 = $this.$worldObj8; var$1.$field_905_r = $rt_createDoubleArray(256); var$1.$field_904_s = $rt_createDoubleArray(256); var$1.$field_903_t = $rt_createDoubleArray(256); var$3 = new nms_MapGenCaves; nms_MapGenBase__init_(var$3); var$1.$field_902_u = var$3; var$1.$field_914_i = $rt_createIntMultiArray([32, 32]); var$1.$worldObj9 = var$2; var$2 = new ju_Random; var$1.$rand4 = var$2; var$1.$field_912_k = nms_NoiseGeneratorOctaves__init_(var$2, 16); var$1.$field_911_l = nms_NoiseGeneratorOctaves__init_(var$1.$rand4, 16); var$1.$field_910_m = nms_NoiseGeneratorOctaves__init_(var$1.$rand4, 8); var$1.$field_909_n = nms_NoiseGeneratorOctaves__init_(var$1.$rand4, 4); var$1.$field_908_o = nms_NoiseGeneratorOctaves__init_(var$1.$rand4, 4); var$1.$field_922_a = nms_NoiseGeneratorOctaves__init_(var$1.$rand4, 10); var$1.$field_921_b = nms_NoiseGeneratorOctaves__init_(var$1.$rand4, 16); var$1.$field_920_c = nms_NoiseGeneratorOctaves__init_(var$1.$rand4, 8); return var$1; } function nms_WorldProvider_getChunkLoader($this, $var1) { return nms_ChunkLoader__init_($var1, 1); } function nms_WorldProvider_canCoordinateBeSpawn($this, $var1, $var2) { var var$3, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$worldObj8; $ptr = 1; case 1: $tmp = nms_World_func_614_g(var$3, $var1, $var2); if ($rt_suspending()) { break main; } $var3 = $tmp; nms_Block_$callClinit(); return $var3 != nms_Block_sand.$blockID ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, $ptr); } function nms_WorldProvider_calculateCelestialAngle($this, $var1, $var3) { var $var5; $var5 = (Long_lo(Long_rem($var1, Long_fromInt(24000))) + $var3) / 24000.0 - 0.25; if ($var5 < 0.0) $var5 = $var5 + 1.0; if ($var5 > 1.0) $var5 = $var5 - 1.0; return $var5 + (1.0 - (jl_Math_cos($var5 * 3.141592653589793) + 1.0) / 2.0 - $var5) / 3.0; } function nms_WorldProvider_func_4097_b($this, $var1, $var2) { var $var4, $var6, $var7, var$6, var$7; $var4 = nms_MathHelper_cos($var1 * 3.1415927410125732 * 2.0) - 0.0; if ($var4 >= (-0.4000000059604645) && $var4 <= 0.4000000059604645) { $var6 = ($var4 - -0.0) / 0.4000000059604645 * 0.5 + 0.5; $var7 = 1.0 - (1.0 - nms_MathHelper_sin($var6 * 3.1415927410125732)) * 0.9900000095367432; $var1 = $var7 * $var7; var$6 = $this.$field_4217_f; var$7 = var$6.data; var$7[0] = $var6 * 0.30000001192092896 + 0.699999988079071; $var2 = $var6 * $var6; var$7[1] = $var2 * 0.699999988079071 + 0.20000000298023224; var$7[2] = $var2 * 0.0 + 0.20000000298023224; var$7[3] = $var1; return var$6; } return null; } function nms_WorldProvider_func_4096_a($this, $var1, $var2) { var $var3; $var3 = nms_MathHelper_cos($var1 * 3.1415927410125732 * 2.0) * 2.0 + 0.5; if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; $var1 = $var3 * 0.9399999976158142 + 0.05999999865889549; return nms_Vec3D_createVector(0.7529411911964417 * $var1, 0.8470588326454163 * $var1, 1.0 * ($var3 * 0.9100000262260437 + 0.09000000357627869)); } function nms_WorldProvider_func_6477_d($this) { return 1; } var nms_EntityRainFX = $rt_classWithoutFields(nms_EntityFX); function nms_EntityRainFX__init_0(var_0, var_1, var_2, var_3) { var var_4 = new nms_EntityRainFX(); nms_EntityRainFX__init_(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_EntityRainFX__init_($this, $var1, $var2, $var4, $var6) { nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, 0.0, 0.0, 0.0); $this.$motionX = $this.$motionX * 0.30000001192092896; $this.$motionY = jl_Math_random() * 0.20000000298023224 + 0.10000000149011612; $this.$motionZ = $this.$motionZ * 0.30000001192092896; $this.$field_663_i = 1.0; $this.$field_662_j = 1.0; $this.$field_661_k = 1.0; $this.$field_670_b = 19 + ju_Random_nextInt($this.$rand2, 4) | 0; nms_Entity_setSize($this, 0.009999999776482582, 0.009999999776482582); $this.$field_664_h = 0.05999999865889549; $this.$field_666_f = 8.0 / (jl_Math_random() * 0.8 + 0.2) | 0; } function nms_EntityRainFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_EntityRainFX_onUpdate($this) { var $var2, var$2, var$3, var$4, $var1, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $var2 = $this.$motionY - $this.$field_664_h; $this.$motionY = $var2; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, $var2, var$3); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.9800000190734863; $this.$motionY = $this.$motionY * 0.9800000190734863; $this.$motionZ = $this.$motionZ * 0.9800000190734863; var$4 = $this.$field_666_f; $this.$field_666_f = var$4 - 1 | 0; if (var$4 <= 0) { $ptr = 2; continue main; } if ($this.$onGround) { if (jl_Math_random() < 0.5) { $ptr = 5; continue main; } $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; } $var1 = $this.$worldObj0; var$4 = nms_MathHelper_floor_double($this.$posX); var$6 = nms_MathHelper_floor_double($this.$posY); var$7 = nms_MathHelper_floor_double($this.$posZ); $ptr = 3; continue main; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } if ($this.$onGround) { if (jl_Math_random() < 0.5) { $ptr = 5; continue main; } $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; } $var1 = $this.$worldObj0; var$4 = nms_MathHelper_floor_double($this.$posX); var$6 = nms_MathHelper_floor_double($this.$posY); var$7 = nms_MathHelper_floor_double($this.$posZ); $ptr = 3; case 3: $tmp = nms_World_getBlockMaterial($var1, var$4, var$6, var$7); if ($rt_suspending()) { break main; } $var1 = $tmp; if (!$var1.$getIsLiquid() && !$var1.$func_878_a()) return; var$8 = nms_MathHelper_floor_double($this.$posY) + 1 | 0; $var1 = $this.$worldObj0; var$4 = nms_MathHelper_floor_double($this.$posX); var$6 = nms_MathHelper_floor_double($this.$posY); var$7 = nms_MathHelper_floor_double($this.$posZ); $ptr = 4; case 4: $tmp = nms_World_getBlockMetadata($var1, var$4, var$6, var$7); if ($rt_suspending()) { break main; } var$4 = $tmp; $var2 = var$8 - nms_BlockFluids_func_288_b(var$4); if ($this.$posY >= $var2) return; $ptr = 6; continue main; case 5: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; $var1 = $this.$worldObj0; var$4 = nms_MathHelper_floor_double($this.$posX); var$6 = nms_MathHelper_floor_double($this.$posY); var$7 = nms_MathHelper_floor_double($this.$posZ); $ptr = 3; continue main; case 6: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, var$3, var$4, $var1, var$6, var$7, var$8, $ptr); } function jl_ClassLoader() { jl_Object.call(this); this.$parent = null; } var jl_ClassLoader_systemClassLoader = null; var jl_ClassLoader_resources = null; function jl_ClassLoader_$callClinit() { jl_ClassLoader_$callClinit = $rt_eraseClinit(jl_ClassLoader); jl_ClassLoader__clinit_(); } function jl_ClassLoader_getResourceAsStream($this, $name) { var $dataString, $bytes, var$4, $i, var$6, var$7, var$8, var$9; jl_ClassLoader_$callClinit(); if (jl_ClassLoader_resources === null) jl_ClassLoader_resources = {}; $dataString = $rt_str(jl_ClassLoader_resourceToString$js_body$_6(jl_ClassLoader_resources[$rt_ustr($name)])); if ($dataString === null) return null; $bytes = $rt_createByteArray(jl_String_length($dataString)); var$4 = $bytes.data; $i = 0; var$6 = var$4.length; while ($i < var$6) { var$4[$i] = jl_String_charAt($dataString, $i) << 24 >> 24; $i = $i + 1 | 0; } $name = new ji_ByteArrayInputStream; var$7 = otci_Base64Impl_reverse; var$8 = (var$6 / 4 | 0) * 3 | 0; var$9 = var$6 % 4 | 0; if (!(var$9 != 2 && var$9 != 3)) var$8 = var$8 + (var$9 - 1 | 0) | 0; $i = var$6 - 1 | 0; while ($i >= 0 && var$4[$i] == 61) { var$8 = var$8 + (-1) | 0; $i = $i + (-1) | 0; } var$4 = $rt_createByteArray(var$8); otci_Base64Impl_decode($bytes, var$4, var$7); ji_ByteArrayInputStream__init_0($name, var$4); return $name; } function jl_ClassLoader__clinit_() { jl_ClassLoader_systemClassLoader = jl_SystemClassLoader__init_0(); } function jl_ClassLoader_resourceToString$js_body$_6(var$1) { return var$1 !== null && var$1 !== void 0 ? var$1 : null; } var ji_UnsupportedEncodingException = $rt_classWithoutFields(ji_IOException); function ji_UnsupportedEncodingException__init_0() { var var_0 = new ji_UnsupportedEncodingException(); ji_UnsupportedEncodingException__init_(var_0); return var_0; } function ji_UnsupportedEncodingException__init_($this) { jl_Throwable__init_0($this); } var jl_NumberFormatException = $rt_classWithoutFields(jl_IllegalArgumentException); function jl_NumberFormatException__init_0() { var var_0 = new jl_NumberFormatException(); jl_NumberFormatException__init_(var_0); return var_0; } function jl_NumberFormatException__init_($this) { jl_Throwable__init_0($this); } var otcit_FloatSynthesizer = $rt_classWithoutFields(); var otcit_FloatSynthesizer_mantissa10Table = null; var otcit_FloatSynthesizer_exp10Table = null; function otcit_FloatSynthesizer__init_0() { var var_0 = new otcit_FloatSynthesizer(); otcit_FloatSynthesizer__init_(var_0); return var_0; } function otcit_FloatSynthesizer__init_($this) {} function otcit_FloatSynthesizer__clinit_() { otcit_FloatSynthesizer_mantissa10Table = $rt_createIntArrayFromData([(-1598972629), (-924973963), (-82475629), (-1662160004), (-1003958181), (-181205903), (-1723866425), (-1081091207), (-277622185), (-1784126602), (-1156416428), (-371778711), (-1842974431), (-1229976214), (-463728444), (-1900443013), (-1301811943), (-553523104), (-1956564676), (-1371964021), (-641213203), (-2011370988), (-1440471911), (-726848064), (-2064892776), (-1507374146), (-810475859), (-2117160148), (-1572708361), (-892143627), (-41437709), (-1636511304), (-971897307), (-141129809), (-1698818867), (-1049781759), (-238485375), (-1759666096), (-1125840795), (-333559170), (-1819087217), (-1200117198), (-426404673), (-1877115657), (-1272652747), (-517074110), (-1933784055), (-1343488244), (-605618481), (-1989124287), (-1412663534), (-692087594), (-2043167482), (-1480217529), (-776530087), (-2095944040), (-1546188227), (-858993459), (-2147483648), (-1610612736), (-939524096), (-100663296), (-1673527296), (-1018167296), (-198967296), (-1734967296), (-1094967296), (-294967296), (-1794967296), (-1169967296), (-388717296), (-1853561046), (-1243209483), (-480270030), (-1910781505), (-1314735057), (-569676998), (-1966660859), (-1384584250), (-656988489), (-2021230542), (-1452796353), (-742253617), (-2074521247), (-1519409734), (-825520344), (-2126562951), (-1584461865), (-906835507), (-59802560), (-1647989336), (-986244846), (-159064233), (-1710027882), (-1063793028), (-255999461), (-1770612399), (-1139523675), (-350662770), (-1829776967)]); otcit_FloatSynthesizer_exp10Table = $rt_createIntArrayFromData([(-35), (-32), (-29), (-25), (-22), (-19), (-15), (-12), (-9), (-5), (-2), 1, 5, 8, 11, 15, 18, 21, 25, 28, 31, 35, 38, 41, 45, 48, 51, 55, 58, 61, 64, 68, 71, 74, 78, 81, 84, 88, 91, 94, 98, 101, 104, 108, 111, 114, 118, 121, 124, 128, 131, 134, 138, 141, 144, 148, 151, 154, 158, 161, 164, 167, 171, 174, 177, 181, 184, 187, 191, 194, 197, 201, 204, 207, 211, 214, 217, 221, 224, 227, 231, 234, 237, 241, 244, 247, 251, 254, 257, 260, 264, 267, 270, 274, 277, 280, 284, 287, 290, 294]); } var otcit_FloatAnalyzer = $rt_classWithoutFields(); var otcit_FloatAnalyzer_MAX_MANTISSA = 0; var otcit_FloatAnalyzer_mantissa10Table = null; var otcit_FloatAnalyzer_exp10Table = null; function otcit_FloatAnalyzer__init_0() { var var_0 = new otcit_FloatAnalyzer(); otcit_FloatAnalyzer__init_(var_0); return var_0; } function otcit_FloatAnalyzer__init_($this) {} function otcit_FloatAnalyzer_analyze($d, $result) { var $bits, $mantissa, $exponent, var$6, $decExponent, $posCmp, $upperPos, $mantissaShift, $decMantissa, $decMantissaHi, $decMantissaLow, $lowerPos, $lowerPos_0, $upperPos_0; $bits = jl_Float_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; } if ($exponent) $bits = $mantissa | 8388608; else { $bits = $mantissa << 1; while (Long_eq(Long_and(Long_fromInt($bits), Long_fromInt(8388608)), Long_ZERO)) { $bits = $bits << 1; $exponent = $exponent + (-1) | 0; } } var$6 = otcit_FloatAnalyzer_exp10Table.data; $mantissa = 0; $decExponent = var$6.length; if ($mantissa > $decExponent) { $result = new jl_IllegalArgumentException; jl_Throwable__init_0($result); $rt_throw($result); } $posCmp = $decExponent - 1 | 0; a: { while (true) { if ($mantissa > $posCmp) { $decExponent = ( -$mantissa | 0) - 1 | 0; break a; } $decExponent = ($mantissa + $posCmp | 0) / 2 | 0; $upperPos = var$6[$decExponent]; if ($upperPos == $exponent) break; if ($exponent >= $upperPos) $mantissa = $decExponent + 1 | 0; else $posCmp = $decExponent - 1 | 0; } } if ($decExponent < 0) $decExponent = -$decExponent | 0; $mantissa = $decExponent + 1 | 0; $mantissaShift = 9 + ($exponent - var$6[$mantissa] | 0) | 0; $decMantissa = otcit_FloatAnalyzer_mulAndShiftRight($bits, otcit_FloatAnalyzer_mantissa10Table.data[$mantissa], $mantissaShift); if ($decMantissa < otcit_FloatAnalyzer_MAX_MANTISSA) { while ($rt_ucmp($decMantissa, otcit_FloatAnalyzer_MAX_MANTISSA) <= 0) { $decExponent = $decExponent + (-1) | 0; $decMantissa = ($decMantissa * 10 | 0) + 9 | 0; } var$6 = otcit_FloatAnalyzer_exp10Table.data; $mantissa = $decExponent + 1 | 0; $mantissaShift = 9 + ($exponent - var$6[$mantissa] | 0) | 0; $decMantissa = otcit_FloatAnalyzer_mulAndShiftRight($bits, otcit_FloatAnalyzer_mantissa10Table.data[$mantissa], $mantissaShift); } $mantissa = $bits << 1; $bits = $mantissa + 1 | 0; var$6 = otcit_FloatAnalyzer_mantissa10Table.data; $exponent = $decExponent + 1 | 0; $posCmp = var$6[$exponent]; $upperPos = $mantissaShift - 1 | 0; $decMantissaHi = otcit_FloatAnalyzer_mulAndShiftRight($bits, $posCmp, $upperPos); $decMantissaLow = otcit_FloatAnalyzer_mulAndShiftRight($mantissa - 1 | 0, otcit_FloatAnalyzer_mantissa10Table.data[$exponent], $upperPos); $lowerPos = 1; while (true) { $lowerPos_0 = $lowerPos * 10 | 0; if ($rt_ucmp($rt_udiv($decMantissa, $lowerPos_0), $rt_udiv($decMantissaLow, $lowerPos_0)) <= 0) break; $lowerPos = $lowerPos_0; } $upperPos = 1; while (true) { $upperPos_0 = $upperPos * 10 | 0; if ($rt_ucmp($rt_udiv($decMantissa, $upperPos_0), $rt_udiv($decMantissaHi, $upperPos_0)) >= 0) break; $upperPos = $upperPos_0; } $posCmp = $rt_ucmp($lowerPos, $upperPos); $mantissa = $posCmp > 0 ? $rt_imul($rt_udiv($decMantissa, $lowerPos), $lowerPos) : $posCmp < 0 ? $rt_imul($rt_udiv($decMantissa, $upperPos), $upperPos) + $upperPos | 0 : $rt_imul($rt_udiv(($decMantissa + ($upperPos / 2 | 0) | 0), $upperPos), $upperPos); if (jl_Long_compareUnsigned(Long_fromInt($mantissa), Long_fromInt(1000000000)) >= 0) while (true) { $decExponent = $decExponent + 1 | 0; $mantissa = $rt_udiv($mantissa, 10); if ($rt_ucmp($mantissa, 1000000000) < 0) break; } else if ($rt_ucmp($mantissa, 100000000) < 0) { $decExponent = $decExponent + (-1) | 0; $mantissa = $mantissa * 10 | 0; } $result.$mantissa = $mantissa; $result.$exponent = $decExponent - 50 | 0; } function otcit_FloatAnalyzer_mulAndShiftRight($a, $b, $shift) { return Long_lo(Long_shru(Long_mul(Long_and(Long_fromInt($a), Long_create(4294967295, 0)), Long_and(Long_fromInt($b), Long_create(4294967295, 0))), 32 - $shift | 0)); } function otcit_FloatAnalyzer__clinit_() { otcit_FloatAnalyzer_MAX_MANTISSA = $rt_udiv((-1), 10); otcit_FloatAnalyzer_mantissa10Table = $rt_createIntArrayFromData([(-18543760), (-873828468), (-1558056233), (-2105438446), (-791721136), (-1492370368), (-2052889754), (-707643228), (-1425108042), (-1999079893), (-621547450), (-1356231419), (-1943978595), (-533385374), (-1285701758), (-1887554866), (-443107408), (-1213479385), (-1829776968), (-350662770), (-1139523676), (-1770612400), (-255999462), (-1063793029), (-1710027882), (-159064234), (-986244846), (-1647989336), (-59802560), (-906835507), (-1584461865), (-2126562952), (-825520345), (-1519409735), (-2074521247), (-742253618), (-1452796353), (-2021230542), (-656988489), (-1384584251), (-1966660860), (-569676998), (-1314735058), (-1910781505), (-480270031), (-1243209484), (-1853561046), (-388717296), (-1169967296), (-1794967296), (-294967296), (-1094967296), (-1734967296), (-198967296), (-1018167296), (-1673527296), (-100663296), (-939524096), (-1610612736), (-2147483648), (-858993460), (-1546188227), (-2095944041), (-776530088), (-1480217529), (-2043167483), (-692087595), (-1412663535), (-1989124287), (-605618482), (-1343488245), (-1933784055), (-517074110), (-1272652747), (-1877115657), (-426404674), (-1200117198), (-1819087218), (-333559171), (-1125840796), (-1759666096), (-238485376), (-1049781760), (-1698818867), (-141129810), (-971897307), (-1636511305), (-41437710), (-892143627), (-1572708361), (-2117160148), (-810475859), (-1507374147), (-2064892777), (-726848065), (-1440471911), (-2011370988), (-641213203), (-1371964022), (-1956564688)]); otcit_FloatAnalyzer_exp10Table = $rt_createIntArrayFromData([(-37), (-34), (-31), (-28), (-24), (-21), (-18), (-14), (-11), (-8), (-4), (-1), 2, 6, 9, 12, 16, 19, 22, 26, 29, 32, 36, 39, 42, 46, 49, 52, 56, 59, 62, 65, 69, 72, 75, 79, 82, 85, 89, 92, 95, 99, 102, 105, 109, 112, 115, 119, 122, 125, 129, 132, 135, 139, 142, 145, 149, 152, 155, 158, 162, 165, 168, 172, 175, 178, 182, 185, 188, 192, 195, 198, 202, 205, 208, 212, 215, 218, 222, 225, 228, 232, 235, 238, 242, 245, 248, 252, 255, 258, 261, 265, 268, 271, 275, 278, 281, 285, 288, 291]); } var jl_SystemClassLoader = $rt_classWithoutFields(jl_ClassLoader); function jl_SystemClassLoader__init_0() { var var_0 = new jl_SystemClassLoader(); jl_SystemClassLoader__init_(var_0); return var_0; } function jl_SystemClassLoader__init_($this) { jl_ClassLoader_$callClinit(); $this.$parent = null; } function nms_RecipesTools() { var a = this; jl_Object.call(a); a.$field_1665_a = null; a.$field_1664_b = null; } function nms_RecipesTools__init_0() { var var_0 = new nms_RecipesTools(); nms_RecipesTools__init_(var_0); return var_0; } function nms_RecipesTools__init_($this) { var var$1, var$2, var$3, var$4; $this.$field_1665_a = $rt_createArrayFromData($rt_arraycls(jl_String), [$rt_createArrayFromData(jl_String, [$rt_s(690), $rt_s(695), $rt_s(695)]), $rt_createArrayFromData(jl_String, [$rt_s(85), $rt_s(688), $rt_s(688)]), $rt_createArrayFromData(jl_String, [$rt_s(705), $rt_s(706), $rt_s(707)]), $rt_createArrayFromData(jl_String, [$rt_s(705), $rt_s(707), $rt_s(707)])]); var$1 = $rt_createArray($rt_arraycls(jl_Object), 5); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; nms_Block_$callClinit(); var$4[0] = nms_Block_planks; var$4[1] = nms_Block_cobblestone; nms_Item_$callClinit(); var$4[2] = nms_Item_ingotIron; var$4[3] = nms_Item_diamond; var$4[4] = nms_Item_ingotGold; var$2[0] = var$3; var$2[1] = $rt_createArrayFromData(jl_Object, [nms_Item_pickaxeWood, nms_Item_pickaxeStone, nms_Item_pickaxeSteel, nms_Item_pickaxeDiamond, nms_Item_pickaxeGold]); var$2[2] = $rt_createArrayFromData(jl_Object, [nms_Item_shovelWood, nms_Item_shovelStone, nms_Item_shovelSteel, nms_Item_shovelDiamond, nms_Item_shovelGold]); var$2[3] = $rt_createArrayFromData(jl_Object, [nms_Item_axeWood, nms_Item_axeStone, nms_Item_axeSteel, nms_Item_axeDiamond, nms_Item_axeGold]); var$2[4] = $rt_createArrayFromData(jl_Object, [nms_Item_hoeWood, nms_Item_hoeStone, nms_Item_hoeSteel, nms_Item_hoeDiamond, nms_Item_hoeGold]); $this.$field_1664_b = var$1; } function nms_RecipesTools_func_1122_a($this, $var1) { var $var2, var$3, $var3, $var4, var$6, $var4_0, $var5, var$9, var$10; $var2 = 0; while (true) { var$3 = $this.$field_1664_b.data; if ($var2 >= var$3[0].data.length) break; $var3 = var$3[0].data[$var2]; $var4 = 0; while (true) { var$6 = $this.$field_1664_b.data; if ($var4 >= (var$6.length - 1 | 0)) break; $var4_0 = $var4 + 1 | 0; $var5 = var$6[$var4_0].data[$var2]; var$9 = nms_ItemStack__init_10($var5); var$10 = $rt_createArray(jl_Object, 5); var$3 = var$10.data; var$3[0] = $this.$field_1665_a.data[$var4]; var$3[1] = jl_Character_valueOf(35); nms_Item_$callClinit(); var$3[2] = nms_Item_stick; var$3[3] = jl_Character_valueOf(88); var$3[4] = $var3; nms_CraftingManager_addRecipe($var1, var$9, var$10); $var4 = $var4_0; } $var2 = $var2 + 1 | 0; } } function nms_RecipesWeapons() { var a = this; jl_Object.call(a); a.$field_1100_a = null; a.$field_1099_b = null; } function nms_RecipesWeapons__init_0() { var var_0 = new nms_RecipesWeapons(); nms_RecipesWeapons__init_(var_0); return var_0; } function nms_RecipesWeapons__init_($this) { var var$1, var$2, var$3, var$4; var$1 = $rt_createArray($rt_arraycls(jl_String), 1); var$1.data[0] = $rt_createArrayFromData(jl_String, [$rt_s(85), $rt_s(85), $rt_s(688)]); $this.$field_1100_a = var$1; var$1 = $rt_createArray($rt_arraycls(jl_Object), 2); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; nms_Block_$callClinit(); var$4[0] = nms_Block_planks; var$4[1] = nms_Block_cobblestone; nms_Item_$callClinit(); var$4[2] = nms_Item_ingotIron; var$4[3] = nms_Item_diamond; var$4[4] = nms_Item_ingotGold; var$2[0] = var$3; var$2[1] = $rt_createArrayFromData(jl_Object, [nms_Item_swordWood, nms_Item_swordStone, nms_Item_swordSteel, nms_Item_swordDiamond, nms_Item_swordGold]); $this.$field_1099_b = var$1; } function nms_RecipesWeapons_func_766_a($this, $var1) { var $var2, var$3, $var3, $var4, $var4_0, $var5, var$8, var$9, var$10; $var2 = 0; while (true) { var$3 = $this.$field_1099_b.data; if ($var2 >= var$3[0].data.length) break; $var3 = var$3[0].data[$var2]; $var4 = 0; while (true) { var$3 = $this.$field_1099_b.data; if ($var4 >= (var$3.length - 1 | 0)) break; $var4_0 = $var4 + 1 | 0; $var5 = var$3[$var4_0].data[$var2]; var$8 = nms_ItemStack__init_10($var5); var$9 = $rt_createArray(jl_Object, 5); var$10 = var$9.data; var$10[0] = $this.$field_1100_a.data[$var4]; var$10[1] = jl_Character_valueOf(35); nms_Item_$callClinit(); var$10[2] = nms_Item_stick; var$10[3] = jl_Character_valueOf(88); var$10[4] = $var3; nms_CraftingManager_addRecipe($var1, var$8, var$9); $var4 = $var4_0; } $var2 = $var2 + 1 | 0; } $var5 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4($var5, nms_Item_bow, 1); nms_CraftingManager_addRecipe($var1, $var5, $rt_createArrayFromData(jl_Object, [$rt_s(702), $rt_s(703), $rt_s(702), jl_Character_valueOf(88), nms_Item_silk, jl_Character_valueOf(35), nms_Item_stick])); nms_CraftingManager_addRecipe($var1, nms_ItemStack__init_11(nms_Item_arrow, 4), $rt_createArrayFromData(jl_Object, [$rt_s(85), $rt_s(688), $rt_s(61), jl_Character_valueOf(89), nms_Item_feather, jl_Character_valueOf(88), nms_Item_flint, jl_Character_valueOf(35), nms_Item_stick])); } function nms_RecipesIngots() { jl_Object.call(this); this.$field_1198_a = null; } function nms_RecipesIngots__init_0() { var var_0 = new nms_RecipesIngots(); nms_RecipesIngots__init_(var_0); return var_0; } function nms_RecipesIngots__init_($this) { var var$1, var$2, var$3, var$4; var$1 = $rt_createArray($rt_arraycls(jl_Object), 3); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; nms_Block_$callClinit(); var$4[0] = nms_Block_blockGold; nms_Item_$callClinit(); var$4[1] = nms_Item_ingotGold; var$2[0] = var$3; var$2[1] = $rt_createArrayFromData(jl_Object, [nms_Block_blockSteel, nms_Item_ingotIron]); var$2[2] = $rt_createArrayFromData(jl_Object, [nms_Block_blockDiamond, nms_Item_diamond]); $this.$field_1198_a = var$1; } function nms_RecipesIngots_func_810_a($this, $var1) { var $var2, var$3, $var3, $var4; $var2 = 0; while (true) { var$3 = $this.$field_1198_a.data; if ($var2 >= var$3.length) break; $var3 = var$3[$var2].data[0]; $var4 = var$3[$var2].data[1]; nms_CraftingManager_addRecipe($var1, nms_ItemStack__init_6($var3), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(687), $rt_s(687), jl_Character_valueOf(35), $var4])); nms_CraftingManager_addRecipe($var1, nms_ItemStack__init_11($var4, 9), $rt_createArrayFromData(jl_Object, [$rt_s(688), jl_Character_valueOf(35), $var3])); $var2 = $var2 + 1 | 0; } } var nms_RecipesFood = $rt_classWithoutFields(); function nms_RecipesFood__init_0() { var var_0 = new nms_RecipesFood(); nms_RecipesFood__init_(var_0); return var_0; } function nms_RecipesFood__init_($this) {} function nms_RecipesFood_func_976_a($this, $var1) { var var$2, var$3, var$4; var$2 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$2, nms_Item_bowlSoup); var$3 = $rt_createArray(jl_Object, 9); var$4 = var$3.data; var$4[0] = $rt_s(61); var$4[1] = $rt_s(85); var$4[2] = $rt_s(688); var$4[3] = jl_Character_valueOf(88); nms_Block_$callClinit(); var$4[4] = nms_Block_mushroomBrown; var$4[5] = jl_Character_valueOf(89); var$4[6] = nms_Block_mushroomRed; var$4[7] = jl_Character_valueOf(35); var$4[8] = nms_Item_bowlEmpty; nms_CraftingManager_addRecipe($var1, var$2, var$3); nms_CraftingManager_addRecipe($var1, nms_ItemStack__init_10(nms_Item_bowlSoup), $rt_createArrayFromData(jl_Object, [$rt_s(61), $rt_s(85), $rt_s(688), jl_Character_valueOf(88), nms_Block_mushroomRed, jl_Character_valueOf(89), nms_Block_mushroomBrown, jl_Character_valueOf(35), nms_Item_bowlEmpty])); } var nms_RecipesCrafting = $rt_classWithoutFields(); function nms_RecipesCrafting__init_0() { var var_0 = new nms_RecipesCrafting(); nms_RecipesCrafting__init_(var_0); return var_0; } function nms_RecipesCrafting__init_($this) {} function nms_RecipesCrafting_func_1051_a($this, $var1) { var var$2; var$2 = new nms_ItemStack; nms_Block_$callClinit(); nms_ItemStack__init_7(var$2, nms_Block_crate); nms_CraftingManager_addRecipe($var1, var$2, $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(693), $rt_s(687), jl_Character_valueOf(35), nms_Block_planks])); nms_CraftingManager_addRecipe($var1, nms_ItemStack__init_6(nms_Block_stoneOvenIdle), $rt_createArrayFromData(jl_Object, [$rt_s(687), $rt_s(693), $rt_s(687), jl_Character_valueOf(35), nms_Block_cobblestone])); nms_CraftingManager_addRecipe($var1, nms_ItemStack__init_6(nms_Block_workbench), $rt_createArrayFromData(jl_Object, [$rt_s(691), $rt_s(691), jl_Character_valueOf(35), nms_Block_planks])); } function nms_RecipesArmor() { var a = this; jl_Object.call(a); a.$field_1681_a = null; a.$field_1680_b = null; } function nms_RecipesArmor__init_0() { var var_0 = new nms_RecipesArmor(); nms_RecipesArmor__init_(var_0); return var_0; } function nms_RecipesArmor__init_($this) { var var$1, var$2, var$3, var$4; $this.$field_1681_a = $rt_createArrayFromData($rt_arraycls(jl_String), [$rt_createArrayFromData(jl_String, [$rt_s(690), $rt_s(696)]), $rt_createArrayFromData(jl_String, [$rt_s(696), $rt_s(690), $rt_s(690)]), $rt_createArrayFromData(jl_String, [$rt_s(690), $rt_s(696), $rt_s(696)]), $rt_createArrayFromData(jl_String, [$rt_s(696), $rt_s(696)])]); var$1 = $rt_createArray($rt_arraycls(jl_Object), 5); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; nms_Item_$callClinit(); var$4[0] = nms_Item_leather; nms_Block_$callClinit(); var$4[1] = nms_Block_fire; var$4[2] = nms_Item_ingotIron; var$4[3] = nms_Item_diamond; var$4[4] = nms_Item_ingotGold; var$2[0] = var$3; var$2[1] = $rt_createArrayFromData(jl_Object, [nms_Item_helmetLeather, nms_Item_helmetChain, nms_Item_helmetSteel, nms_Item_helmetDiamond, nms_Item_helmetGold]); var$2[2] = $rt_createArrayFromData(jl_Object, [nms_Item_plateLeather, nms_Item_plateChain, nms_Item_plateSteel, nms_Item_plateDiamond, nms_Item_plateGold]); var$2[3] = $rt_createArrayFromData(jl_Object, [nms_Item_legsLeather, nms_Item_legsChain, nms_Item_legsSteel, nms_Item_legsDiamond, nms_Item_legsGold]); var$2[4] = $rt_createArrayFromData(jl_Object, [nms_Item_bootsLeather, nms_Item_bootsChain, nms_Item_bootsSteel, nms_Item_bootsDiamond, nms_Item_bootsGold]); $this.$field_1680_b = var$1; } function nms_RecipesArmor_func_1148_a($this, $var1) { var $var2, var$3, $var3, $var4, var$6, $var4_0; $var2 = 0; while (true) { var$3 = $this.$field_1680_b.data; if ($var2 >= var$3[0].data.length) break; $var3 = var$3[0].data[$var2]; $var4 = 0; while (true) { var$6 = $this.$field_1680_b.data; if ($var4 >= (var$6.length - 1 | 0)) break; $var4_0 = $var4 + 1 | 0; nms_CraftingManager_addRecipe($var1, nms_ItemStack__init_10(var$6[$var4_0].data[$var2]), $rt_createArrayFromData(jl_Object, [$this.$field_1681_a.data[$var4], jl_Character_valueOf(88), $var3])); $var4 = $var4_0; } $var2 = $var2 + 1 | 0; } } function nms_RecipeSorter() { jl_Object.call(this); this.$field_1557_a = null; } function nms_RecipeSorter__init_(var_0) { var var_1 = new nms_RecipeSorter(); nms_RecipeSorter__init_0(var_1, var_0); return var_1; } function nms_RecipeSorter__init_0($this, $var1) { $this.$field_1557_a = $var1; } function nms_RecipeSorter_compare($this, $var1, $var2) { $var1 = $var1; $var2 = $var2; return nms_CraftingRecipe_getRecipeSize($var2) < nms_CraftingRecipe_getRecipeSize($var1) ? (-1) : nms_CraftingRecipe_getRecipeSize($var2) <= nms_CraftingRecipe_getRecipeSize($var1) ? 0 : 1; } var ju_Collections = $rt_classWithoutFields(); var ju_Collections_EMPTY_SET = null; var ju_Collections_EMPTY_MAP = null; var ju_Collections_EMPTY_LIST = null; var ju_Collections_EMPTY_ITERATOR = null; var ju_Collections_EMPTY_LIST_ITERATOR = null; var ju_Collections_reverseOrder = null; function ju_Collections__init_0() { var var_0 = new ju_Collections(); ju_Collections__init_(var_0); return var_0; } function ju_Collections__init_($this) {} function ju_Collections_sort($list, $c) { var $array, var$4, $i, var$6; if ($c === null) $c = ju_Comparator$NaturalOrder_INSTANCE; $array = $rt_createArray(jl_Object, $list.$size); var$4 = $array.data; ju_AbstractCollection_toArray($list, $array); ju_Arrays_sort($array, $c); $i = 0; var$6 = var$4.length; while ($i < var$6) { ju_ArrayList_set($list, $i, var$4[$i]); $i = $i + 1 | 0; } } function ju_Collections__clinit_() { ju_Collections_EMPTY_SET = new ju_Collections$1; ju_Collections_EMPTY_MAP = new ju_Collections$2; ju_Collections_EMPTY_LIST = new ju_Collections$3; ju_Collections_EMPTY_ITERATOR = new ju_Collections$4; ju_Collections_EMPTY_LIST_ITERATOR = new ju_Collections$5; ju_Collections_reverseOrder = new ju_Collections$_clinit_$lambda$_59_0; } function nleat_IndexedDBFilesystem$AsyncHandlers$7() { var a = this; jl_Object.call(a); a.$val$cb5 = null; a.$val$r = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$7_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb5, otji_JSWrapper_wrap((nleat_IndexedDBFilesystem$AsyncHandlers_isRowDirectory$js_body$_6(var$0.$val$r.result) ? 1 : 0) ? null : nleat_IndexedDBFilesystem$AsyncHandlers_readRow$js_body$_5(var$0.$val$r.result))); } function nleat_IndexedDBFilesystem$AsyncHandlers$8() { jl_Object.call(this); this.$val$cb6 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$8_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb6, null); } var ju_Comparator$NaturalOrder = $rt_classWithoutFields(); var ju_Comparator$NaturalOrder_INSTANCE = null; function ju_Comparator$NaturalOrder__init_0() { var var_0 = new ju_Comparator$NaturalOrder(); ju_Comparator$NaturalOrder__init_(var_0); return var_0; } function ju_Comparator$NaturalOrder__init_($this) {} function ju_Comparator$NaturalOrder_compare($this, $o1, $o2) { return $o1.$compareTo1($o2); } function ju_Comparator$NaturalOrder__clinit_() { ju_Comparator$NaturalOrder_INSTANCE = new ju_Comparator$NaturalOrder; } var ju_Set = $rt_classWithoutFields(0); var ju_AbstractSet = $rt_classWithoutFields(ju_AbstractCollection); function ju_AbstractSet_removeAll($this, $c) { var $modified, $iter, $elem, var$5, var$6, var$7, var$8; $modified = 0; if (ju_HashSet_size($this) >= $c.$size0()) { $iter = $c.$iterator(); while ($iter.$hasNext()) { if (!ju_HashSet_remove($this, $iter.$next0())) continue; $modified = 1; } } else { $iter = ju_HashSet_iterator($this); while (ju_HashMap$AbstractMapIterator_hasNext($iter)) { if ($c.$contains(ju_HashMap$KeyIterator_next($iter))) { $modified = 1; ju_HashMap$AbstractMapIterator_checkConcurrentMod($iter); $elem = $iter.$currentEntry0; if ($elem === null) { $c = new jl_IllegalStateException; jl_Throwable__init_0($c); $rt_throw($c); } var$5 = $iter.$prevEntry0; if (var$5 !== null) var$5.$next2 = $elem.$next2; else { var$6 = $elem.$origKeyHash; var$7 = $iter.$associatedMap.$elementData.data; var$8 = var$6 & (var$7.length - 1 | 0); var$7[var$8] = var$7[var$8].$next2; } $iter.$currentEntry0 = null; $iter.$expectedModCount = $iter.$expectedModCount + 1 | 0; $elem = $iter.$associatedMap; $elem.$modCount1 = $elem.$modCount1 + 1 | 0; $elem.$elementCount = $elem.$elementCount - 1 | 0; } } } return $modified; } function ju_AbstractSet_equals($this, $obj) { var $other, $iter; if ($this === $obj) return 1; if (!$rt_isInstance($obj, ju_Set)) return 0; $other = $obj; if (ju_HashSet_size($this) != ju_HashSet_size($other)) return 0; $iter = ju_HashSet_iterator($other); while (ju_HashMap$AbstractMapIterator_hasNext($iter)) { if (ju_HashSet_contains($this, ju_HashMap$KeyIterator_next($iter))) continue; else return 0; } return 1; } function ju_AbstractSet_hashCode($this) { var $result, $iter, $e; $result = 0; $iter = ju_HashSet_iterator($this); while (ju_HashMap$AbstractMapIterator_hasNext($iter)) { $e = ju_HashMap$KeyIterator_next($iter); if ($e !== null) $result = $result + $e.$hashCode0() | 0; } return $result; } var ju_TemplateCollections$AbstractImmutableSet = $rt_classWithoutFields(ju_AbstractSet); var ju_Collections$1 = $rt_classWithoutFields(ju_TemplateCollections$AbstractImmutableSet); function ju_Collections$1__init_0() { var var_0 = new ju_Collections$1(); ju_Collections$1__init_(var_0); return var_0; } function ju_Collections$1__init_($this) {} var ju_TemplateCollections$AbstractImmutableMap = $rt_classWithoutFields(ju_AbstractMap); var ju_Collections$2 = $rt_classWithoutFields(ju_TemplateCollections$AbstractImmutableMap); function ju_Collections$2__init_0() { var var_0 = new ju_Collections$2(); ju_Collections$2__init_(var_0); return var_0; } function ju_Collections$2__init_($this) {} var ju_TemplateCollections$AbstractImmutableList = $rt_classWithoutFields(ju_AbstractList); var ju_Collections$3 = $rt_classWithoutFields(ju_TemplateCollections$AbstractImmutableList); function ju_Collections$3__init_0() { var var_0 = new ju_Collections$3(); ju_Collections$3__init_(var_0); return var_0; } function ju_Collections$3__init_($this) {} var ju_Iterator = $rt_classWithoutFields(0); var ju_Collections$4 = $rt_classWithoutFields(); function ju_Collections$4__init_0() { var var_0 = new ju_Collections$4(); ju_Collections$4__init_(var_0); return var_0; } function ju_Collections$4__init_($this) {} var ju_ListIterator = $rt_classWithoutFields(0); var ju_Collections$5 = $rt_classWithoutFields(); function ju_Collections$5__init_0() { var var_0 = new ju_Collections$5(); ju_Collections$5__init_(var_0); return var_0; } function ju_Collections$5__init_($this) {} var ju_Collections$_clinit_$lambda$_59_0 = $rt_classWithoutFields(); function ju_Collections$_clinit_$lambda$_59_0__init_0() { var var_0 = new ju_Collections$_clinit_$lambda$_59_0(); ju_Collections$_clinit_$lambda$_59_0__init_(var_0); return var_0; } function ju_Collections$_clinit_$lambda$_59_0__init_(var$0) {} function jn_IntBufferOverByteBuffer() { var a = this; jn_IntBufferImpl.call(a); a.$byteByffer = null; a.$readOnly4 = 0; a.$start7 = 0; } function jn_IntBufferOverByteBuffer__init_($this, $start, $capacity, $byteBuffer, $position, $limit, $readOnly) { jn_IntBufferImpl__init_($this, $capacity, $position, $limit); $this.$start7 = $start; $this.$byteByffer = $byteBuffer; $this.$readOnly4 = $readOnly; } function jn_IntBufferOverByteBuffer_readOnly($this) { return $this.$readOnly4; } var jn_IntBufferOverByteBufferLittleEndian = $rt_classWithoutFields(jn_IntBufferOverByteBuffer); function jn_IntBufferOverByteBufferLittleEndian_getElement($this, $index) { var var$2; var$2 = $this.$byteByffer.$array0.data; $index = $this.$start7 + ($index * 4 | 0) | 0; return var$2[$index] & 255 | (var$2[$index + 1 | 0] & 255) << 8 | (var$2[$index + 2 | 0] & 255) << 16 | (var$2[$index + 3 | 0] & 255) << 24; } function jn_IntBufferOverByteBufferLittleEndian_putElement($this, $index, $value) { var var$3; var$3 = $this.$byteByffer.$array0.data; $index = $this.$start7 + ($index * 4 | 0) | 0; var$3[$index] = $value << 24 >> 24; var$3[$index + 1 | 0] = $value >> 8 << 24 >> 24; var$3[$index + 2 | 0] = $value >> 16 << 24 >> 24; var$3[$index + 3 | 0] = $value >> 24 << 24 >> 24; } var jn_IntBufferOverByteBufferBigEndian = $rt_classWithoutFields(jn_IntBufferOverByteBuffer); function jn_IntBufferOverByteBufferBigEndian_getElement($this, $index) { var var$2; var$2 = $this.$byteByffer.$array0.data; $index = $this.$start7 + ($index * 4 | 0) | 0; return (var$2[$index] & 255) << 24 | (var$2[$index + 1 | 0] & 255) << 16 | (var$2[$index + 2 | 0] & 255) << 8 | var$2[$index + 3 | 0] & 255; } function jn_IntBufferOverByteBufferBigEndian_putElement($this, $index, $value) { var var$3; var$3 = $this.$byteByffer.$array0.data; $index = $this.$start7 + ($index * 4 | 0) | 0; var$3[$index] = $value >> 24 << 24 >> 24; var$3[$index + 1 | 0] = $value >> 16 << 24 >> 24; var$3[$index + 2 | 0] = $value >> 8 << 24 >> 24; var$3[$index + 3 | 0] = $value << 24 >> 24; } function ju_HashMap$AbstractMapIterator() { var a = this; jl_Object.call(a); a.$position1 = 0; a.$expectedModCount = 0; a.$futureEntry = null; a.$currentEntry0 = null; a.$prevEntry0 = null; a.$associatedMap = null; } function ju_HashMap$AbstractMapIterator__init_0(var_0) { var var_1 = new ju_HashMap$AbstractMapIterator(); ju_HashMap$AbstractMapIterator__init_(var_1, var_0); return var_1; } function ju_HashMap$AbstractMapIterator__init_($this, $hm) { $this.$associatedMap = $hm; $this.$expectedModCount = $hm.$modCount1; $this.$futureEntry = null; } function ju_HashMap$AbstractMapIterator_hasNext($this) { var var$1, var$2; if ($this.$futureEntry !== null) return 1; while (true) { var$1 = $this.$position1; var$2 = $this.$associatedMap.$elementData.data; if (var$1 >= var$2.length) break; if (var$2[var$1] !== null) return 1; $this.$position1 = var$1 + 1 | 0; } return 0; } function ju_HashMap$AbstractMapIterator_checkConcurrentMod($this) { var var$1; if ($this.$expectedModCount == $this.$associatedMap.$modCount1) return; var$1 = new ju_ConcurrentModificationException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } function ju_HashMap$AbstractMapIterator_makeNext($this) { var var$1, var$2, var$3, var$4; ju_HashMap$AbstractMapIterator_checkConcurrentMod($this); if (!ju_HashMap$AbstractMapIterator_hasNext($this)) { var$1 = new ju_NoSuchElementException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } var$1 = $this.$futureEntry; if (var$1 !== null) { var$2 = $this.$currentEntry0; if (var$2 !== null) $this.$prevEntry0 = var$2; $this.$currentEntry0 = var$1; $this.$futureEntry = var$1.$next2; } else { var$3 = $this.$associatedMap.$elementData.data; var$4 = $this.$position1; $this.$position1 = var$4 + 1 | 0; var$1 = var$3[var$4]; $this.$currentEntry0 = var$1; $this.$futureEntry = var$1.$next2; $this.$prevEntry0 = null; } } var ju_HashMap$ValueIterator = $rt_classWithoutFields(ju_HashMap$AbstractMapIterator); function ju_HashMap$ValueIterator_next($this) { ju_HashMap$AbstractMapIterator_makeNext($this); return $this.$currentEntry0.$value1; } function nms_CraftingRecipe() { var a = this; jl_Object.call(a); a.$width1 = 0; a.$height1 = 0; a.$ingredientMap = null; a.$resultStack = null; a.$resultId = 0; } function nms_CraftingRecipe_matches($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, $var8, $var9, var$10; $var5 = 0; while ($var5 < 3) { $var6 = 0; while ($var6 < 3) { $var7 = $var5 - $var2 | 0; $var8 = $var6 - $var3 | 0; $var9 = (-1); if ($var7 >= 0 && $var8 >= 0) { var$10 = $this.$width1; if ($var7 < var$10 && $var8 < $this.$height1) $var9 = !$var4 ? $this.$ingredientMap.data[$var7 + $rt_imul($var8, var$10) | 0] : $this.$ingredientMap.data[((var$10 - $var7 | 0) - 1 | 0) + $rt_imul($var8, var$10) | 0]; } if ($var1.data[$var5 + ($var6 * 3 | 0) | 0] != $var9) return 0; $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } return 1; } function nms_CraftingRecipe_getRecipeSize($this) { return $rt_imul($this.$width1, $this.$height1); } function ju_Date() { jl_Object.call(this); this.$value3 = Long_ZERO; } function ju_Date__init_0() { var var_0 = new ju_Date(); ju_Date__init_(var_0); return var_0; } function ju_Date__init_($this) { $this.$value3 = jl_System_currentTimeMillis(); } function ju_Date__clinit_() {} var nms_FontAllowedCharacters = $rt_classWithoutFields(); var nms_FontAllowedCharacters_allowedChars = null; var nms_FontAllowedCharacters_field_22286_b = null; function nms_FontAllowedCharacters__init_0() { var var_0 = new nms_FontAllowedCharacters(); nms_FontAllowedCharacters__init_(var_0); return var_0; } function nms_FontAllowedCharacters__init_($this) {} function nms_FontAllowedCharacters_isAllowed($c) { var $i, var$3; $i = 0; while (true) { var$3 = nms_FontAllowedCharacters_allowedChars.data; if ($i >= var$3.length) return (-1); if ($c == var$3[$i]) break; $i = $i + 1 | 0; } return $i; } function nms_FontAllowedCharacters__clinit_() { nms_FontAllowedCharacters_allowedChars = $rt_createIntArrayFromData([32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 39, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 8962, 199, 252, 233, 226, 228, 224, 229, 231, 234, 235, 232, 239, 238, 236, 196, 197, 201, 230, 198, 244, 246, 242, 251, 249, 255, 214, 220, 248, 163, 216, 215, 402, 225, 237, 243, 250, 241, 209, 170, 186, 191, 174, 172, 189, 188, 161, 171, 187]); nms_FontAllowedCharacters_field_22286_b = $rt_createCharArrayFromData([47, 10, 13, 9, 0, 12, 96, 63, 42, 92, 60, 62, 124, 34, 58]); } function ju_AbstractList$1() { var a = this; jl_Object.call(a); a.$index = 0; a.$modCount = 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; ju_AbstractList$1_checkConcurrentModification($this); var$1 = $this.$index; $this.$removeIndex = var$1; var$2 = $this.$this$0; $this.$index = var$1 + 1 | 0; return ju_ArrayList_get(var$2, var$1); } function ju_AbstractList$1_checkConcurrentModification($this) { var var$1; if ($this.$modCount >= $this.$this$0.$modCount0) return; var$1 = new ju_ConcurrentModificationException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } function nms_RenderSorter() { jl_Object.call(this); this.$field_4274_a = null; } function nms_RenderSorter_compare($this, $var1, $var2) { var var$3, var$4; $var1 = $var1; $var2 = $var2; var$3 = $var1.$field_1749_o; var$4 = $var2.$field_1749_o; if (var$3 && !var$4) var$3 = 1; else if (var$4 && !var$3) var$3 = (-1); else { var$3 = $rt_compare(nms_WorldRenderer_func_1202_a($var1, $this.$field_4274_a), nms_WorldRenderer_func_1202_a($var2, $this.$field_4274_a)); var$3 = var$3 < 0 ? 1 : var$3 > 0 ? (-1) : $var1.$field_1735_w >= $var2.$field_1735_w ? (-1) : 1; } return var$3; } function nms_EntitySorter() { jl_Object.call(this); this.$field_1594_a = null; } function nms_EntitySorter__init_(var_0) { var var_1 = new nms_EntitySorter(); nms_EntitySorter__init_0(var_1, var_0); return var_1; } function nms_EntitySorter__init_0($this, $var1) { $this.$field_1594_a = $var1; } function nms_EntitySorter_compare($this, $var1, $var2) { $var1 = $var1; $var2 = $var2; return nms_WorldRenderer_func_1202_a($var1, $this.$field_1594_a) >= nms_WorldRenderer_func_1202_a($var2, $this.$field_1594_a) ? 1 : (-1); } function nms_TileEntityRenderer() { var a = this; jl_Object.call(a); a.$specialRendererMap = null; a.$fontRenderer1 = null; a.$renderEngine2 = null; a.$worldObj7 = null; a.$entityPlayer = null; a.$playerYaw = 0.0; a.$playerPitch = 0.0; a.$playerX = 0.0; a.$playerY = 0.0; a.$playerZ = 0.0; } var nms_TileEntityRenderer_instance = null; var nms_TileEntityRenderer_staticPlayerX = 0.0; var nms_TileEntityRenderer_staticPlayerY = 0.0; var nms_TileEntityRenderer_staticPlayerZ = 0.0; function nms_TileEntityRenderer_$callClinit() { nms_TileEntityRenderer_$callClinit = $rt_eraseClinit(nms_TileEntityRenderer); nms_TileEntityRenderer__clinit_(); } function nms_TileEntityRenderer__init_0() { var var_0 = new nms_TileEntityRenderer(); nms_TileEntityRenderer__init_(var_0); return var_0; } function nms_TileEntityRenderer__init_($this) { var $var1; nms_TileEntityRenderer_$callClinit(); $var1 = ju_HashMap__init_0(); $this.$specialRendererMap = $var1; ju_HashMap_put($var1, $rt_cls(nms_TileEntitySign), nms_TileEntitySignRenderer__init_0()); ju_HashMap_put($this.$specialRendererMap, $rt_cls(nms_TileEntityMobSpawner), nms_TileEntityMobSpawnerRenderer__init_0()); $var1 = ju_HashMap$2_iterator(ju_HashMap_values($this.$specialRendererMap)); while (ju_HashMap$AbstractMapIterator_hasNext($var1)) { (ju_HashMap$ValueIterator_next($var1)).$tileEntityRenderer = $this; } } function nms_TileEntityRenderer_getSpecialRendererForClass($this, $var1) { var $var2; $var2 = ju_HashMap_get($this.$specialRendererMap, $var1); if ($var2 === null && $var1 !== $rt_cls(nms_TileEntity)) { $var2 = nms_TileEntityRenderer_getSpecialRendererForClass($this, jl_Class_getSuperclass($var1)); ju_HashMap_put($this.$specialRendererMap, $var1, $var2); } return $var2; } function nms_TileEntityRenderer_getSpecialRendererForEntity($this, $var1) { return $var1 === null ? null : nms_TileEntityRenderer_getSpecialRendererForClass($this, jl_Object_getClass($var1)); } function nms_TileEntityRenderer_renderTileEntityAt($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = nms_TileEntityRenderer_getSpecialRendererForEntity($this, $var1); if ($var9 === null) return; $ptr = 1; case 1: $var9.$renderTileEntityAt($var1, $var2, $var4, $var6, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $ptr); } function nms_TileEntityRenderer__clinit_() { nms_TileEntityRenderer_instance = nms_TileEntityRenderer__init_0(); } function jur_Pattern() { var a = this; jl_Object.call(a); a.$lexemes = null; a.$flags0 = 0; a.$backRefs = null; a.$needsBackRefReplacement = 0; a.$globalGroupIndex = 0; a.$compCount = 0; a.$consCount = 0; a.$start = null; } function jur_Pattern__init_0() { var var_0 = new jur_Pattern(); jur_Pattern__init_(var_0); return var_0; } function jur_Pattern_pattern($this) { return $this.$lexemes.$orig; } function jur_Pattern_processExpression($this, $ch, $newFlags, $last) { var $children, $saveFlags, $saveChangedFlags, $fSet, $child, var$9; $children = ju_ArrayList__init_0(); $saveFlags = $this.$flags0; $saveChangedFlags = 0; if ($newFlags != $saveFlags) $this.$flags0 = $newFlags; a: { switch ($ch) { case -1073741784: $fSet = new jur_NonCapFSet; $newFlags = $this.$consCount + 1 | 0; $this.$consCount = $newFlags; jur_FSet__init_($fSet, $newFlags); break a; case -536870872: case -268435416: break; case -134217688: case -67108824: $fSet = new jur_BehindFSet; $newFlags = $this.$consCount + 1 | 0; $this.$consCount = $newFlags; jur_FSet__init_($fSet, $newFlags); break a; case -33554392: $fSet = new jur_AtomicFSet; $newFlags = $this.$consCount + 1 | 0; $this.$consCount = $newFlags; jur_FSet__init_($fSet, $newFlags); break a; default: $newFlags = $this.$globalGroupIndex + 1 | 0; $this.$globalGroupIndex = $newFlags; if ($last !== null) $fSet = jur_FSet__init_0($newFlags); else { $fSet = jur_FinalSet__init_0(); $saveChangedFlags = 1; } $newFlags = $this.$globalGroupIndex; if ($newFlags <= (-1)) break a; if ($newFlags >= 10) break a; $this.$backRefs.data[$newFlags] = $fSet; break a; } $fSet = jur_AheadFSet__init_0(); } while (true) { if (jur_Lexer_isLetter($this.$lexemes) && $this.$lexemes.$lookAhead == (-536870788)) { $last = jur_CharClass__init_0(jur_Pattern_hasFlag($this, 2), jur_Pattern_hasFlag($this, 64)); while (!jur_Lexer_isEmpty($this.$lexemes) && jur_Lexer_isLetter($this.$lexemes)) { $child = $this.$lexemes; var$9 = $child.$lookAhead; if (var$9 && var$9 != (-536870788) && var$9 != (-536870871)) break; jur_CharClass_add($last, jur_Lexer_next($child)); $child = $this.$lexemes; if ($child.$ch != (-536870788)) continue; jur_Lexer_next($child); } $child = jur_Pattern_processRangeSet($this, $last); $child.$setNext($fSet); } else if ($this.$lexemes.$ch == (-536870788)) { $child = jur_EmptySet__init_($fSet); jur_Lexer_next($this.$lexemes); } else { $child = jur_Pattern_processSubExpression($this, $fSet); $last = $this.$lexemes; if ($last.$ch == (-536870788)) jur_Lexer_next($last); } if ($child !== null) ju_ArrayList_add($children, $child); if (jur_Lexer_isEmpty($this.$lexemes)) break; if ($this.$lexemes.$ch == (-536870871)) break; } if ($this.$lexemes.$lookBack == (-536870788)) ju_ArrayList_add($children, jur_EmptySet__init_($fSet)); if ($this.$flags0 != $saveFlags && !$saveChangedFlags) { $this.$flags0 = $saveFlags; $last = $this.$lexemes; $last.$flags = $saveFlags; $last.$lookAhead = $last.$ch; $last.$lookAheadST = $last.$curST; var$9 = $last.$curToc; $last.$index4 = var$9 + 1 | 0; $last.$lookAheadToc = var$9; jur_Lexer_movePointer($last); } switch ($ch) { case -1073741784: break; case -536870872: $last = new jur_PositiveLookAhead; jur_JointSet__init_0($last, $children, $fSet); return $last; case -268435416: $last = new jur_NegativeLookAhead; jur_JointSet__init_0($last, $children, $fSet); return $last; case -134217688: $last = new jur_PositiveLookBehind; jur_JointSet__init_0($last, $children, $fSet); return $last; case -67108824: $last = new jur_NegativeLookBehind; jur_JointSet__init_0($last, $children, $fSet); return $last; case -33554392: $last = new jur_AtomicJointSet; jur_JointSet__init_0($last, $children, $fSet); return $last; default: switch ($children.$size) { case 0: break; case 1: return jur_SingleSet__init_(ju_ArrayList_get($children, 0), $fSet); default: return jur_JointSet__init_1($children, $fSet); } return jur_EmptySet__init_($fSet); } $last = new jur_NonCapJointSet; jur_JointSet__init_0($last, $children, $fSet); return $last; } function jur_Pattern_processDecomposedChar($this) { var $codePoints, $curSymb, $curSymbIndex, $codePointsHangul, var$5, var$6, $readCodePoints; $codePoints = $rt_createIntArray(4); $curSymb = (-1); $curSymbIndex = (-1); if (!jur_Lexer_isEmpty($this.$lexemes) && jur_Lexer_isLetter($this.$lexemes)) { $codePointsHangul = $codePoints.data; $curSymb = jur_Lexer_next($this.$lexemes); $codePointsHangul[0] = $curSymb; $curSymbIndex = $curSymb - 4352 | 0; } if ($curSymbIndex >= 0 && $curSymbIndex < 19) { $codePointsHangul = $rt_createCharArray(3); $codePoints = $codePointsHangul.data; $codePoints[0] = $curSymb & 65535; var$5 = $this.$lexemes; var$6 = var$5.$ch; $readCodePoints = var$6 - 4449 | 0; if ($readCodePoints >= 0 && $readCodePoints < 21) { $codePoints[1] = var$6 & 65535; jur_Lexer_next(var$5); var$5 = $this.$lexemes; var$6 = var$5.$ch; $curSymb = var$6 - 4519 | 0; if ($curSymb >= 0 && $curSymb < 28) { $codePoints[2] = var$6 & 65535; jur_Lexer_next(var$5); return jur_HangulDecomposedCharSet__init_($codePointsHangul, 3); } return jur_HangulDecomposedCharSet__init_($codePointsHangul, 2); } if (!jur_Pattern_hasFlag($this, 2)) return jur_CharSet__init_($codePoints[0]); if (jur_Pattern_hasFlag($this, 64)) return jur_UCICharSet__init_($codePoints[0]); return jur_CICharSet__init_($codePoints[0]); } $codePointsHangul = $codePoints.data; $curSymb = 1; while ($curSymb < 4 && !jur_Lexer_isEmpty($this.$lexemes) && jur_Lexer_isLetter($this.$lexemes)) { $readCodePoints = $curSymb + 1 | 0; $codePointsHangul[$curSymb] = jur_Lexer_next($this.$lexemes); $curSymb = $readCodePoints; } if ($curSymb == 1) { $readCodePoints = $codePointsHangul[0]; if (!(jur_Lexer_singleDecompTable.$get6($readCodePoints) == jur_Lexer_singleDecompTableSize ? 0 : 1)) return jur_Pattern_processCharSet($this, $codePointsHangul[0]); } if (!jur_Pattern_hasFlag($this, 2)) return jur_DecomposedCharSet__init_($codePoints, $curSymb); if (jur_Pattern_hasFlag($this, 64)) { var$5 = new jur_UCIDecomposedCharSet; jur_DecomposedCharSet__init_0(var$5, $codePoints, $curSymb); return var$5; } var$5 = new jur_CIDecomposedCharSet; jur_DecomposedCharSet__init_0(var$5, $codePoints, $curSymb); return var$5; } function jur_Pattern_processSubExpression($this, $last) { var $cur, $term, var$4, $next, var$6, var$7, var$8; if (jur_Lexer_isLetter($this.$lexemes) && !jur_Lexer_isNextSpecial($this.$lexemes) && jur_Lexer_isLetter0($this.$lexemes.$lookAhead)) { if (jur_Pattern_hasFlag($this, 128)) { $cur = jur_Pattern_processDecomposedChar($this); if (!jur_Lexer_isEmpty($this.$lexemes)) { $term = $this.$lexemes; var$4 = $term.$ch; if (!(var$4 == (-536870871) && !($last instanceof jur_FinalSet)) && var$4 != (-536870788) && !jur_Lexer_isLetter($term)) $cur = jur_Pattern_processQuantifier($this, $last, $cur); } } else if (!jur_Lexer_isHighSurrogate($this.$lexemes) && !jur_Lexer_isLowSurrogate($this.$lexemes)) { $next = new jl_StringBuffer; jl_AbstractStringBuilder__init_($next); while (!jur_Lexer_isEmpty($this.$lexemes) && jur_Lexer_isLetter($this.$lexemes) && !jur_Lexer_isHighSurrogate($this.$lexemes) && !jur_Lexer_isLowSurrogate($this.$lexemes)) { if (!(!jur_Lexer_isNextSpecial($this.$lexemes) && !$this.$lexemes.$lookAhead) && !(!jur_Lexer_isNextSpecial($this.$lexemes) && jur_Lexer_isLetter0($this.$lexemes.$lookAhead))) { var$6 = $this.$lexemes.$lookAhead; if (var$6 != (-536870871) && (var$6 & (-2147418113)) != (-2147483608) && var$6 != (-536870788) && var$6 != (-536870876)) break; } var$4 = jur_Lexer_next($this.$lexemes); if (!jl_Character_isSupplementaryCodePoint(var$4)) jl_AbstractStringBuilder_append($next, var$4 & 65535); else jl_AbstractStringBuilder_append2($next, jl_Character_toChars(var$4)); } if (!jur_Pattern_hasFlag($this, 2)) { $cur = new jur_SequenceSet; jur_LeafSet__init_($cur); $cur.$string0 = jl_AbstractStringBuilder_toString($next); var$4 = $next.$length0; $cur.$charCount = var$4; $cur.$leftToRight = jur_SequenceSet$IntHash__init_(var$4); $cur.$rightToLeft = jur_SequenceSet$IntHash__init_($cur.$charCount); var$7 = 0; while (var$7 < ($cur.$charCount - 1 | 0)) { jur_SequenceSet$IntHash_put($cur.$leftToRight, jl_String_charAt($cur.$string0, var$7), ($cur.$charCount - var$7 | 0) - 1 | 0); jur_SequenceSet$IntHash_put($cur.$rightToLeft, jl_String_charAt($cur.$string0, ($cur.$charCount - var$7 | 0) - 1 | 0), ($cur.$charCount - var$7 | 0) - 1 | 0); var$7 = var$7 + 1 | 0; } } else if (jur_Pattern_hasFlag($this, 64)) $cur = jur_UCISequenceSet__init_($next); else { $cur = new jur_CISequenceSet; jur_LeafSet__init_($cur); $cur.$string1 = jl_AbstractStringBuilder_toString($next); $cur.$charCount = $next.$length0; } } else $cur = jur_Pattern_processQuantifier($this, $last, jur_Pattern_processTerminal($this, $last)); } else { $term = $this.$lexemes; if ($term.$ch != (-536870871)) $cur = jur_Pattern_processQuantifier($this, $last, jur_Pattern_processTerminal($this, $last)); else { if ($last instanceof jur_FinalSet) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $term.$orig, jur_Lexer_getIndex($term))); $cur = jur_EmptySet__init_($last); } } a: { if (!jur_Lexer_isEmpty($this.$lexemes)) { var$4 = $this.$lexemes.$ch; if (!(var$4 == (-536870871) && !($last instanceof jur_FinalSet)) && var$4 != (-536870788)) { $next = jur_Pattern_processSubExpression($this, $last); if ($cur instanceof jur_LeafQuantifierSet && !($cur instanceof jur_CompositeQuantifierSet) && !($cur instanceof jur_GroupQuantifierSet) && !($cur instanceof jur_AltQuantifierSet)) { var$8 = $cur; if (!$next.$first(var$8.$innerSet)) { $cur = new jur_UnifiedQuantifierSet; jur_LeafQuantifierSet__init_($cur, var$8.$innerSet, var$8.$next4, var$8.$type); $cur.$innerSet.$setNext($cur); } } if (($next.$getType1() & 65535) != 43) $cur.$setNext($next); else $cur.$setNext($next.$innerSet); break a; } } if ($cur === null) return null; $cur.$setNext($last); } if (($cur.$getType1() & 65535) != 43) return $cur; return $cur.$innerSet; } function jur_Pattern_processQuantifier($this, $last, $term) { var $q, $quant, $leaf, var$6, $q_0; $q = $this.$lexemes; $quant = $q.$ch; if ($term !== null && !($term instanceof jur_LeafSet)) { switch ($quant) { case -2147483606: jur_Lexer_next($q); $q = new jur_PossessiveGroupQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, $quant); jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $q; case -2147483605: jur_Lexer_next($q); $q = new jur_PosPlusGroupQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, (-2147483606)); jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $q; case -2147483585: jur_Lexer_next($q); $q = new jur_PosAltGroupQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, (-536870849)); jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $q; case -2147483525: $leaf = new jur_PosCompositeGroupQuantifierSet; $q = jur_Lexer_nextSpecial($q); var$6 = $this.$compCount + 1 | 0; $this.$compCount = var$6; jur_CompositeGroupQuantifierSet__init_($leaf, $q, $term, $last, (-536870849), var$6); jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $leaf; case -1073741782: case -1073741781: jur_Lexer_next($q); $q = new jur_ReluctantGroupQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, $quant); $term.$setNext($q); return $q; case -1073741761: jur_Lexer_next($q); $q = new jur_RelAltGroupQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, (-536870849)); $term.$setNext($last); return $q; case -1073741701: $q_0 = new jur_RelCompositeGroupQuantifierSet; $q = jur_Lexer_nextSpecial($q); $quant = $this.$compCount + 1 | 0; $this.$compCount = $quant; jur_CompositeGroupQuantifierSet__init_($q_0, $q, $term, $last, (-536870849), $quant); $term.$setNext($q_0); return $q_0; case -536870870: case -536870869: jur_Lexer_next($q); if ($term.$getType1() != (-2147483602)) { $q = new jur_GroupQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, $quant); } else if (jur_Pattern_hasFlag($this, 32)) { $q = new jur_DotAllQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, $quant); } else { $q = new jur_DotQuantifierSet; $leaf = jur_AbstractLineTerminator_getInstance($this.$flags0); jur_QuantifierSet__init_($q, $term, $last, $quant); $q.$lt = $leaf; } $term.$setNext($q); return $q; case -536870849: jur_Lexer_next($q); $q = new jur_AltGroupQuantifierSet; jur_QuantifierSet__init_($q, $term, $last, (-536870849)); $term.$setNext($last); return $q; case -536870789: $q_0 = new jur_CompositeGroupQuantifierSet; $q = jur_Lexer_nextSpecial($q); $quant = $this.$compCount + 1 | 0; $this.$compCount = $quant; jur_CompositeGroupQuantifierSet__init_($q_0, $q, $term, $last, (-536870849), $quant); $term.$setNext($q_0); return $q_0; default: } return $term; } $leaf = null; if ($term !== null) $leaf = $term; switch ($quant) { case -2147483606: case -2147483605: jur_Lexer_next($q); $q = new jur_PossessiveQuantifierSet; jur_LeafQuantifierSet__init_($q, $leaf, $last, $quant); $leaf.$next4 = $q; return $q; case -2147483585: jur_Lexer_next($q); $term = new jur_PossessiveAltQuantifierSet; jur_LeafQuantifierSet__init_($term, $leaf, $last, (-2147483585)); return $term; case -2147483525: $term = new jur_PossessiveCompositeQuantifierSet; jur_CompositeQuantifierSet__init_($term, jur_Lexer_nextSpecial($q), $leaf, $last, (-2147483525)); return $term; case -1073741782: case -1073741781: jur_Lexer_next($q); $q = new jur_ReluctantQuantifierSet; jur_LeafQuantifierSet__init_($q, $leaf, $last, $quant); $leaf.$next4 = $q; return $q; case -1073741761: jur_Lexer_next($q); $term = new jur_ReluctantAltQuantifierSet; jur_LeafQuantifierSet__init_($term, $leaf, $last, (-1073741761)); return $term; case -1073741701: $term = new jur_ReluctantCompositeQuantifierSet; jur_CompositeQuantifierSet__init_($term, jur_Lexer_nextSpecial($q), $leaf, $last, (-1073741701)); return $term; case -536870870: case -536870869: jur_Lexer_next($q); $q = jur_LeafQuantifierSet__init_0($leaf, $last, $quant); $leaf.$next4 = $q; return $q; case -536870849: jur_Lexer_next($q); $term = new jur_AltQuantifierSet; jur_LeafQuantifierSet__init_($term, $leaf, $last, (-536870849)); return $term; case -536870789: return jur_CompositeQuantifierSet__init_0(jur_Lexer_nextSpecial($q), $leaf, $last, (-536870789)); default: } return $term; } function jur_Pattern_processTerminal($this, $last) { var $term, var$3, var$4, $ch, $newFlags, $number, $negative, $cc; $term = null; var$3 = $last instanceof jur_FinalSet; while (true) { a: { var$4 = $this.$lexemes; $ch = var$4.$ch; if (($ch & (-2147418113)) == (-2147483608)) { jur_Lexer_next(var$4); $newFlags = ($ch & 16711680) >> 16; $ch = $ch & (-16711681); if ($ch == (-16777176)) $this.$flags0 = $newFlags; else { if ($ch != (-1073741784)) $newFlags = $this.$flags0; $term = jur_Pattern_processExpression($this, $ch, $newFlags, $last); var$4 = $this.$lexemes; if (var$4.$ch != (-536870871)) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), var$4.$orig, var$4.$curToc)); jur_Lexer_next(var$4); } } else { b: { c: { switch ($ch) { case -2147483599: case -2147483598: case -2147483597: case -2147483596: case -2147483595: case -2147483594: case -2147483593: case -2147483592: case -2147483591: break c; case -2147483583: break; case -2147483582: jur_Lexer_next(var$4); $term = jur_WordBoundary__init_(0); break a; case -2147483577: jur_Lexer_next(var$4); $term = new jur_PreviousMatch; jur_AbstractSet__init_($term); break a; case -2147483558: jur_Lexer_next(var$4); $term = new jur_EOLSet; $number = $this.$consCount + 1 | 0; $this.$consCount = $number; jur_EOLSet__init_($term, $number); break a; case -2147483550: jur_Lexer_next(var$4); $term = jur_WordBoundary__init_(1); break a; case -2147483526: jur_Lexer_next(var$4); $term = new jur_EOISet; jur_AbstractSet__init_($term); break a; case -536870876: jur_Lexer_next(var$4); $this.$consCount = $this.$consCount + 1 | 0; if (jur_Pattern_hasFlag($this, 8)) { if (jur_Pattern_hasFlag($this, 1)) { $term = jur_UMultiLineEOLSet__init_($this.$consCount); break a; } $term = jur_MultiLineEOLSet__init_($this.$consCount); break a; } if (jur_Pattern_hasFlag($this, 1)) { $term = jur_UEOLSet__init_($this.$consCount); break a; } $term = jur_EOLSet__init_0($this.$consCount); break a; case -536870866: jur_Lexer_next(var$4); if (jur_Pattern_hasFlag($this, 32)) { $term = jur_DotAllSet__init_0(); break a; } $term = jur_DotSet__init_(jur_AbstractLineTerminator_getInstance($this.$flags0)); break a; case -536870821: jur_Lexer_next(var$4); $negative = 0; $term = $this.$lexemes; if ($term.$ch == (-536870818)) { $negative = 1; jur_Lexer_next($term); } $term = jur_Pattern_processRangeSet($this, jur_Pattern_processRangeExpression($this, $negative)); $term.$setNext($last); var$4 = $this.$lexemes; if (var$4.$ch != (-536870819)) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), var$4.$orig, var$4.$curToc)); jur_Lexer_setMode(var$4, 1); jur_Lexer_next($this.$lexemes); break a; case -536870818: jur_Lexer_next(var$4); $this.$consCount = $this.$consCount + 1 | 0; if (!jur_Pattern_hasFlag($this, 8)) { $term = new jur_SOLSet; jur_AbstractSet__init_($term); break a; } $term = new jur_MultiLineSOLSet; var$4 = jur_AbstractLineTerminator_getInstance($this.$flags0); jur_AbstractSet__init_($term); $term.$lt0 = var$4; break a; case 0: $cc = var$4.$curST; if ($cc !== null) $term = jur_Pattern_processRangeSet($this, $cc); else { if (jur_Lexer_isEmpty(var$4)) { $term = jur_EmptySet__init_($last); break a; } $term = jur_CharSet__init_($ch & 65535); } jur_Lexer_next($this.$lexemes); break a; default: break b; } jur_Lexer_next(var$4); $term = new jur_SOLSet; jur_AbstractSet__init_($term); break a; } $number = ($ch & 2147483647) - 48 | 0; if ($this.$globalGroupIndex < $number) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Lexer_toString(var$4), jur_Lexer_getIndex($this.$lexemes))); jur_Lexer_next(var$4); $this.$consCount = $this.$consCount + 1 | 0; $term = !jur_Pattern_hasFlag($this, 2) ? jur_BackReferenceSet__init_($number, $this.$consCount) : jur_Pattern_hasFlag($this, 64) ? jur_UCIBackReferenceSet__init_($number, $this.$consCount) : jur_CIBackReferenceSet__init_($number, $this.$consCount); $this.$backRefs.data[$number].$isBackReferenced = 1; $this.$needsBackRefReplacement = 1; break a; } if ($ch >= 0 && !jur_Lexer_isSpecial(var$4)) { $term = jur_Pattern_processCharSet($this, $ch); jur_Lexer_next($this.$lexemes); } else if ($ch == (-536870788)) $term = jur_EmptySet__init_($last); else { if ($ch != (-536870871)) { $last = new jur_PatternSyntaxException; $term = !jur_Lexer_isSpecial($this.$lexemes) ? jl_Character_toString($ch & 65535) : $this.$lexemes.$curST.$toString(); var$4 = $this.$lexemes; jur_PatternSyntaxException__init_($last, $term, var$4.$orig, var$4.$curToc); $rt_throw($last); } if (var$3) { $last = new jur_PatternSyntaxException; var$4 = $this.$lexemes; jur_PatternSyntaxException__init_($last, $rt_s(6), var$4.$orig, var$4.$curToc); $rt_throw($last); } $term = jur_EmptySet__init_($last); } } } if ($ch != (-16777176)) break; } return $term; } function jur_Pattern_processRangeExpression($this, $alt) { var $res, $buffer, $intersection, $notClosed, $firstInClass, $cs, $cur, $negative, $$je; $res = jur_CharClass__init_0(jur_Pattern_hasFlag($this, 2), jur_Pattern_hasFlag($this, 64)); jur_AbstractCharClass_setNegative($res, $alt); $buffer = (-1); $intersection = 0; $notClosed = 0; $firstInClass = 1; a: { b: { c: while (true) { if (jur_Lexer_isEmpty($this.$lexemes)) break a; $cs = $this.$lexemes; $alt = $cs.$ch; $notClosed = $alt == (-536870819) && !$firstInClass ? 0 : 1; if (!$notClosed) break a; d: { switch ($alt) { case -536870874: if ($buffer >= 0) jur_CharClass_add($res, $buffer); $buffer = jur_Lexer_next($this.$lexemes); $cs = $this.$lexemes; if ($cs.$ch != (-536870874)) { $buffer = 38; break d; } if ($cs.$lookAhead == (-536870821)) { jur_Lexer_next($cs); $intersection = 1; $buffer = (-1); break d; } jur_Lexer_next($cs); if ($firstInClass) { $res = jur_Pattern_processRangeExpression($this, 0); break d; } if ($this.$lexemes.$ch == (-536870819)) break d; jur_CharClass_intersection($res, jur_Pattern_processRangeExpression($this, 0)); break d; case -536870867: if (!$firstInClass) { $alt = $cs.$lookAhead; if ($alt != (-536870819) && $alt != (-536870821) && $buffer >= 0) { jur_Lexer_next($cs); $cs = $this.$lexemes; $cur = $cs.$ch; if (jur_Lexer_isSpecial($cs)) break c; if ($cur < 0) { $negative = $this.$lexemes.$lookAhead; if ($negative != (-536870819) && $negative != (-536870821) && $buffer >= 0) break c; } e: { try { if (jur_Lexer_isLetter0($cur)) break e; $cur = $cur & 65535; break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break b; } else { throw $$e; } } } try { jur_CharClass_add0($res, $buffer, $cur); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break b; } else { throw $$e; } } jur_Lexer_next($this.$lexemes); $buffer = (-1); break d; } } if ($buffer >= 0) jur_CharClass_add($res, $buffer); $buffer = 45; jur_Lexer_next($this.$lexemes); break d; case -536870821: if ($buffer >= 0) { jur_CharClass_add($res, $buffer); $buffer = (-1); } jur_Lexer_next($this.$lexemes); $negative = 0; $cs = $this.$lexemes; if ($cs.$ch == (-536870818)) { jur_Lexer_next($cs); $negative = 1; } if (!$intersection) jur_CharClass_union($res, jur_Pattern_processRangeExpression($this, $negative)); else jur_CharClass_intersection($res, jur_Pattern_processRangeExpression($this, $negative)); $intersection = 0; jur_Lexer_next($this.$lexemes); break d; case -536870819: if ($buffer >= 0) jur_CharClass_add($res, $buffer); $buffer = 93; jur_Lexer_next($this.$lexemes); break d; case -536870818: if ($buffer >= 0) jur_CharClass_add($res, $buffer); $buffer = 94; jur_Lexer_next($this.$lexemes); break d; case 0: if ($buffer >= 0) jur_CharClass_add($res, $buffer); $cs = $this.$lexemes.$curST; if ($cs === null) $buffer = 0; else { jur_CharClass_add1($res, $cs); $buffer = (-1); } jur_Lexer_next($this.$lexemes); break d; default: } if ($buffer >= 0) jur_CharClass_add($res, $buffer); $buffer = jur_Lexer_next($this.$lexemes); } $firstInClass = 0; } $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Pattern_pattern($this), $this.$lexemes.$curToc)); } $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Pattern_pattern($this), $this.$lexemes.$curToc)); } if (!$notClosed) { if ($buffer >= 0) jur_CharClass_add($res, $buffer); return $res; } $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Pattern_pattern($this), $this.$lexemes.$curToc - 1 | 0)); } function jur_Pattern_processCharSet($this, $ch) { var $isSupplCodePoint, var$3, var$4; $isSupplCodePoint = jl_Character_isSupplementaryCodePoint($ch); if (jur_Pattern_hasFlag($this, 2)) { a: { if (!($ch >= 97 && $ch <= 122)) { if ($ch < 65) break a; if ($ch > 90) break a; } return jur_CICharSet__init_($ch & 65535); } if (jur_Pattern_hasFlag($this, 64) && $ch > 128) { if ($isSupplCodePoint) { var$3 = new jur_UCISupplCharSet; jur_LeafSet__init_(var$3); var$3.$charCount = 2; var$3.$ch0 = jl_Character_toLowerCase0(jl_Character_toUpperCase0($ch)); return var$3; } if (jur_Lexer_isLowSurrogate0($ch)) return jur_LowSurrogateCharSet__init_($ch & 65535); if (!jur_Lexer_isHighSurrogate0($ch)) return jur_UCICharSet__init_($ch & 65535); return jur_HighSurrogateCharSet__init_($ch & 65535); } } if (!$isSupplCodePoint) { if (jur_Lexer_isLowSurrogate0($ch)) return jur_LowSurrogateCharSet__init_($ch & 65535); if (!jur_Lexer_isHighSurrogate0($ch)) return jur_CharSet__init_($ch & 65535); return jur_HighSurrogateCharSet__init_($ch & 65535); } var$3 = new jur_SupplCharSet; jur_LeafSet__init_(var$3); var$3.$charCount = 2; var$3.$ch1 = $ch; var$4 = (jl_Character_toChars($ch)).data; var$3.$high = var$4[0]; var$3.$low = var$4[1]; return var$3; } function jur_Pattern_processRangeSet($this, $charClass) { var $surrogates, $lowHighSurrRangeSet, var$4; if (!jur_AbstractCharClass_hasLowHighSurrogates($charClass)) { if (!$charClass.$mayContainSupplCodepoints) { if ($charClass.$hasUCI()) return jur_UCIRangeSet__init_($charClass); return jur_RangeSet__init_($charClass); } if (!$charClass.$hasUCI()) return jur_SupplRangeSet__init_($charClass); $surrogates = new jur_UCISupplRangeSet; jur_SupplRangeSet__init_0($surrogates, $charClass); return $surrogates; } $surrogates = jur_AbstractCharClass_getSurrogates($charClass); $lowHighSurrRangeSet = new jur_LowHighSurrogateRangeSet; jur_AbstractSet__init_($lowHighSurrRangeSet); $lowHighSurrRangeSet.$surrChars = $surrogates; $lowHighSurrRangeSet.$alt = $surrogates.$alt0; if (!$charClass.$mayContainSupplCodepoints) { if ($charClass.$hasUCI()) return jur_CompositeRangeSet__init_(jur_UCIRangeSet__init_(jur_AbstractCharClass_getWithoutSurrogates($charClass)), $lowHighSurrRangeSet); return jur_CompositeRangeSet__init_(jur_RangeSet__init_(jur_AbstractCharClass_getWithoutSurrogates($charClass)), $lowHighSurrRangeSet); } if (!$charClass.$hasUCI()) return jur_CompositeRangeSet__init_(jur_SupplRangeSet__init_(jur_AbstractCharClass_getWithoutSurrogates($charClass)), $lowHighSurrRangeSet); $surrogates = new jur_CompositeRangeSet; var$4 = new jur_UCISupplRangeSet; jur_SupplRangeSet__init_0(var$4, jur_AbstractCharClass_getWithoutSurrogates($charClass)); jur_CompositeRangeSet__init_0($surrogates, var$4, $lowHighSurrRangeSet); return $surrogates; } function jur_Pattern_getSupplement($ch) { if ($ch >= 97 && $ch <= 122) $ch = ($ch - 32 | 0) & 65535; else if ($ch >= 65 && $ch <= 90) $ch = ($ch + 32 | 0) & 65535; return $ch; } function jur_Pattern_hasFlag($this, $flag) { return ($this.$flags0 & $flag) != $flag ? 0 : 1; } function jur_Pattern__init_($this) { $this.$backRefs = $rt_createArray(jur_FSet, 10); $this.$globalGroupIndex = (-1); $this.$compCount = (-1); $this.$consCount = (-1); } function ji_ByteArrayOutputStream() { var a = this; ji_OutputStream.call(a); a.$buf2 = null; a.$count2 = 0; } function ji_ByteArrayOutputStream__init_0() { var var_0 = new ji_ByteArrayOutputStream(); ji_ByteArrayOutputStream__init_(var_0); return var_0; } function ji_ByteArrayOutputStream__init_($this) { $this.$buf2 = $rt_createByteArray(32); } function ji_ByteArrayOutputStream_write0($this, $b) { var var$2, var$3; ji_ByteArrayOutputStream_ensureCapacity($this, $this.$count2 + 1 | 0); var$2 = $this.$buf2.data; var$3 = $this.$count2; $this.$count2 = var$3 + 1 | 0; var$2[var$3] = $b << 24 >> 24; } function ji_ByteArrayOutputStream_write($this, $b, $off, $len) { var $i, var$5, var$6, var$7, var$8; ji_ByteArrayOutputStream_ensureCapacity($this, $this.$count2 + $len | 0); $i = 0; while ($i < $len) { var$5 = $b.data; var$6 = $this.$buf2.data; var$7 = $this.$count2; $this.$count2 = var$7 + 1 | 0; var$8 = $off + 1 | 0; var$6[var$7] = var$5[$off]; $i = $i + 1 | 0; $off = var$8; } } function ji_ByteArrayOutputStream_ensureCapacity($this, $capacity) { var var$2; var$2 = $this.$buf2.data.length; if (var$2 < $capacity) { $capacity = jl_Math_max($capacity, (var$2 * 3 | 0) / 2 | 0); $this.$buf2 = ju_Arrays_copyOf1($this.$buf2, $capacity); } } function ji_ByteArrayOutputStream_toByteArray($this) { return ju_Arrays_copyOf1($this.$buf2, $this.$count2); } function nms_MovementInput() { var a = this; jl_Object.call(a); a.$field_1174_a = 0.0; a.$field_1173_b = 0.0; a.$field_1177_c = 0; a.$field_1176_d = 0; a.$field_1175_e = 0; } function nms_MovementInput__init_0() { var var_0 = new nms_MovementInput(); nms_MovementInput__init_(var_0); return var_0; } function nms_MovementInput__init_($this) { $this.$field_1174_a = 0.0; $this.$field_1173_b = 0.0; $this.$field_1177_c = 0; $this.$field_1176_d = 0; $this.$field_1175_e = 0; } function nms_MovementInputFromOptions() { var a = this; nms_MovementInput.call(a); a.$field_1179_f = null; a.$field_1178_g = null; } function nms_MovementInputFromOptions__init_(var_0) { var var_1 = new nms_MovementInputFromOptions(); nms_MovementInputFromOptions__init_0(var_1, var_0); return var_1; } function nms_MovementInputFromOptions__init_0($this, $var1) { nms_MovementInput__init_($this); $this.$field_1179_f = $rt_createBooleanArray(10); $this.$field_1178_g = $var1; } function cjj_Inflate$Return() { var a = this; jl_Exception.call(a); a.$r = 0; a.$this$02 = 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$02 = var$1; jl_Throwable__init_0($this); $this.$r = $r; } function cjj_GZIPHeader() { var a = this; jl_Object.call(a); a.$text = 0; a.$fhcrc = 0; a.$time0 = Long_ZERO; a.$xflags = 0; a.$os = 0; a.$extra = null; a.$name3 = null; a.$comment = null; a.$hcrc = 0; a.$crc = Long_ZERO; a.$done = 0; a.$mtime = Long_ZERO; } function cjj_GZIPHeader__init_0() { var var_0 = new cjj_GZIPHeader(); cjj_GZIPHeader__init_(var_0); return var_0; } function cjj_GZIPHeader__init_($this) { $this.$text = 0; $this.$fhcrc = 0; $this.$os = 255; $this.$done = 0; $this.$mtime = Long_ZERO; } function cjj_CRC32() { jl_Object.call(this); this.$v0 = 0; } var cjj_CRC32_crc_table = null; function cjj_CRC32__init_0() { var var_0 = new cjj_CRC32(); cjj_CRC32__init_(var_0); return var_0; } function cjj_CRC32__init_($this) { $this.$v0 = 0; } function cjj_CRC32_update($this, $buf, $index, $len) { var $c, var$5, var$6, var$7; $c = $this.$v0 ^ (-1); while (true) { $len = $len + (-1) | 0; if ($len < 0) break; var$5 = $buf.data; var$6 = cjj_CRC32_crc_table.data; var$7 = $index + 1 | 0; $c = var$6[($c ^ var$5[$index]) & 255] ^ ($c >>> 8 | 0); $index = var$7; } $this.$v0 = $c ^ (-1); } function cjj_CRC32_reset($this) { $this.$v0 = 0; } function cjj_CRC32_reset0($this, $vv) { $this.$v0 = Long_lo(Long_and($vv, Long_create(4294967295, 0))); } function cjj_CRC32_getValue($this) { return Long_and(Long_fromInt($this.$v0), Long_create(4294967295, 0)); } function cjj_CRC32__clinit_() { var var$1, var$2, $n, $k, var$5; cjj_CRC32_crc_table = null; var$1 = $rt_createIntArray(256); var$2 = var$1.data; cjj_CRC32_crc_table = var$1; $n = 0; while ($n < 256) { $k = 8; var$5 = $n; while (true) { $k = $k + (-1) | 0; if ($k < 0) break; if (!(var$5 & 1)) { var$5 = var$5 >>> 1 | 0; continue; } var$5 = (-306674912) ^ (var$5 >>> 1 | 0); } var$2[$n] = var$5; $n = $n + 1 | 0; } } var jnci_AsciiEncoder = $rt_classWithoutFields(jnci_BufferedEncoder); function jnci_AsciiEncoder_arrayEncode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, var$10, $c, $next; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) { var$9 = $inPos; break a; } var$10 = $inArray.data; var$9 = $inPos + 1 | 0; $c = var$10[$inPos]; if (jl_Character_isHighSurrogate($c)) { if (var$9 >= $inSize) { if (!jnci_BufferedEncoder$Controller_hasMoreInput($controller, 2)) { $result = jnc_CoderResult_UNDERFLOW; break a; } var$9 = var$9 + (-1) | 0; break a; } if (!jl_Character_isLowSurrogate(var$10[var$9])) { $result = jnc_CoderResult_malformedForLength(1); break a; } var$9 = var$9 + (-1) | 0; $result = jnc_CoderResult_unmappableForLength(2); break a; } if (jl_Character_isLowSurrogate($c)) $result = jnc_CoderResult_malformedForLength(1); if ($c >= 128) { $result = jnc_CoderResult_unmappableForLength(1); var$9 = var$9 + (-1) | 0; break a; } var$10 = $outArray.data; $next = $outPos + 1 | 0; var$10[$outPos] = $c << 24 >> 24; $inPos = var$9; $outPos = $next; } var$9 = $inPos; } $controller.$inPosition = var$9; $controller.$outPosition = $outPos; return $result; } var jnci_Iso8859Encoder = $rt_classWithoutFields(jnci_BufferedEncoder); function jnci_Iso8859Encoder_arrayEncode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, var$10, $c, $next; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) { var$9 = $inPos; break a; } var$10 = $inArray.data; var$9 = $inPos + 1 | 0; $c = var$10[$inPos]; if (jl_Character_isHighSurrogate($c)) { if (var$9 == $inSize) { if (!jnci_BufferedEncoder$Controller_hasMoreInput($controller, 2)) { $result = jnc_CoderResult_UNDERFLOW; break a; } var$9 = var$9 + (-1) | 0; break a; } if (!jl_Character_isLowSurrogate(var$10[var$9])) { $result = jnc_CoderResult_malformedForLength(1); break a; } var$9 = var$9 + (-1) | 0; $result = jnc_CoderResult_unmappableForLength(2); break a; } if (jl_Character_isLowSurrogate($c)) $result = jnc_CoderResult_malformedForLength(1); if ($c >= 256) { var$9 = var$9 + (-1) | 0; $result = jnc_CoderResult_unmappableForLength(1); break a; } var$10 = $outArray.data; $next = $outPos + 1 | 0; var$10[$outPos] = $c << 24 >> 24; $inPos = var$9; $outPos = $next; } var$9 = $inPos; } $controller.$inPosition = var$9; $controller.$outPosition = $outPos; return $result; } function jnci_UTF16Encoder() { var a = this; jnci_BufferedEncoder.call(a); a.$bom1 = 0; a.$littleEndian1 = 0; } function jnci_UTF16Encoder_arrayEncode($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var var$8, var$9; if ($this.$bom1) { if (($outPos + 2 | 0) > $outSize) return !jn_Buffer_hasRemaining($controller.$out3) ? jnc_CoderResult_OVERFLOW : null; $this.$bom1 = 0; if (!$this.$littleEndian1) { var$8 = $outArray.data; var$9 = $outPos + 1 | 0; var$8[$outPos] = (-2); $outPos = var$9 + 1 | 0; var$8[var$9] = (-1); } else { var$8 = $outArray.data; var$9 = $outPos + 1 | 0; var$8[$outPos] = (-1); $outPos = var$9 + 1 | 0; var$8[var$9] = (-2); } } return !$this.$littleEndian1 ? jnci_UTF16Encoder_arrayEncodeBE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) : jnci_UTF16Encoder_arrayEncodeLE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller); } function jnci_UTF16Encoder_arrayEncodeLE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, var$10, $c, $next, var$13; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; var$9 = $inArray.data; var$10 = $inPos + 1 | 0; $c = var$9[$inPos]; if (!jl_Character_isHighSurrogate($c)) { if (jl_Character_isLowSurrogate($c)) { $inPos = var$10 + (-1) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } if (($outPos + 2 | 0) > $outSize) { $inPos = var$10 + (-1) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 2)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; $inPos = $outPos + 1 | 0; var$9[$outPos] = ($c & 255) << 24 >> 24; $outPos = $inPos + 1 | 0; var$9[$inPos] = $c >> 8 << 24 >> 24; $inPos = var$10; } else { if (var$10 == $inSize) { $inPos = var$10 + (-1) | 0; if (jnci_BufferedEncoder$Controller_hasMoreInput($controller, 2)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = var$10 + 1 | 0; $next = var$9[var$10]; if (!jl_Character_isLowSurrogate($next)) { $inPos = $inPos + (-2) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } if (($outPos + 4 | 0) > $outSize) { $inPos = $inPos + (-2) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 4)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; var$13 = $outPos + 1 | 0; var$9[$outPos] = ($c & 255) << 24 >> 24; $outPos = var$13 + 1 | 0; var$9[var$13] = $c >> 8 << 24 >> 24; var$13 = $outPos + 1 | 0; var$9[$outPos] = ($next & 255) << 24 >> 24; $outPos = var$13 + 1 | 0; var$9[var$13] = $next >> 8 << 24 >> 24; } } } $controller.$inPosition = $inPos; $controller.$outPosition = $outPos; return $result; } function jnci_UTF16Encoder_arrayEncodeBE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) { var $result, var$9, var$10, $c, $next, var$13; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; var$9 = $inArray.data; var$10 = $inPos + 1 | 0; $c = var$9[$inPos]; if (!jl_Character_isHighSurrogate($c)) { if (jl_Character_isLowSurrogate($c)) { $inPos = var$10 + (-1) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } if (($outPos + 2 | 0) > $outSize) { $inPos = var$10 + (-1) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 2)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; $inPos = $outPos + 1 | 0; var$9[$outPos] = $c >> 8 << 24 >> 24; $outPos = $inPos + 1 | 0; var$9[$inPos] = ($c & 255) << 24 >> 24; $inPos = var$10; } else { if (var$10 == $inSize) { $inPos = var$10 + (-1) | 0; if (jnci_BufferedEncoder$Controller_hasMoreInput($controller, 2)) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = var$10 + 1 | 0; $next = var$9[var$10]; if (!jl_Character_isLowSurrogate($next)) { $inPos = $inPos + (-2) | 0; $result = jnc_CoderResult_malformedForLength(1); break a; } if (($outPos + 4 | 0) > $outSize) { $inPos = $inPos + (-2) | 0; if (jnci_BufferedEncoder$Controller_hasMoreOutput($controller, 4)) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; var$13 = $outPos + 1 | 0; var$9[$outPos] = $c >> 8 << 24 >> 24; $outPos = var$13 + 1 | 0; var$9[var$13] = ($c & 255) << 24 >> 24; var$13 = $outPos + 1 | 0; var$9[$outPos] = $next >> 8 << 24 >> 24; $outPos = var$13 + 1 | 0; var$9[var$13] = ($next & 255) << 24 >> 24; } } } $controller.$inPosition = $inPos; $controller.$outPosition = $outPos; return $result; } function ju_LinkedList$SequentialListIterator() { var a = this; jl_Object.call(a); a.$nextEntry = null; a.$prevEntry = null; a.$currentEntry = null; a.$index0 = 0; a.$version = 0; a.$this$00 = 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$00 = var$1; $this.$version = var$1.$modCount0; $this.$nextEntry = $nextEntry; $this.$prevEntry = $prevEntry; $this.$index0 = $index; } function ju_LinkedList$SequentialListIterator_hasNext($this) { return $this.$nextEntry === null ? 0 : 1; } function ju_LinkedList$SequentialListIterator_next($this) { var var$1, $result; ju_LinkedList$SequentialListIterator_checkConcurrentModification($this); var$1 = $this.$nextEntry; if (var$1 === null) { var$1 = new ju_NoSuchElementException; jl_Throwable__init_0(var$1); $rt_throw(var$1); } $result = var$1.$item; $this.$currentEntry = var$1; $this.$prevEntry = var$1; $this.$nextEntry = var$1.$next1; $this.$index0 = $this.$index0 + 1 | 0; return $result; } function ju_LinkedList$SequentialListIterator_checkConcurrentModification($this) { var var$1; if ($this.$version >= $this.$this$00.$modCount0) 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.$next1 = null; a.$previous = null; } function ju_LinkedList$Entry__init_0() { var var_0 = new ju_LinkedList$Entry(); ju_LinkedList$Entry__init_(var_0); return var_0; } function ju_LinkedList$Entry__init_($this) {} function ji_OutputStreamWriter() { var a = this; ji_Writer.call(a); a.$out2 = null; a.$encoder = null; a.$bufferData = null; a.$buffer3 = null; a.$closed0 = 0; } function ji_OutputStreamWriter_nullCheck($stream) { if ($stream !== null) return $stream; $stream = new jl_NullPointerException; jl_Throwable__init_0($stream); $rt_throw($stream); } function ji_OutputStreamWriter_close($this) { if (!$this.$closed0) { ji_OutputStreamWriter_flush($this); $this.$closed0 = 1; } } function ji_OutputStreamWriter_flush($this) { var var$1; ji_OutputStreamWriter_checkStatus($this); var$1 = $this.$buffer3.$position; if (var$1 > 0) { ji_ByteArrayOutputStream_write($this.$out2, $this.$bufferData, 0, var$1); jn_Buffer_clear($this.$buffer3); } } function ji_OutputStreamWriter_checkStatus($this) { var var$1; if (!$this.$closed0) return; var$1 = new ji_IOException; jl_Throwable__init_(var$1, $rt_s(708)); $rt_throw(var$1); } function ji_OutputStreamWriter_write($this, $buf, $offset, $count) { var var$4, $input, var$6, $$je; var$4 = $this.$lock; jl_Object_monitorEnterSync(var$4); a: { try { ji_OutputStreamWriter_checkStatus($this); if ($buf === null) $rt_throw(jl_NullPointerException__init_()); if (!($offset >= 0 && $offset <= ($buf.data.length - $count | 0) && $count >= 0)) $rt_throw(jl_IndexOutOfBoundsException__init_0()); $input = jn_CharBuffer_wrap0($buf, $offset, $count); while (jn_Buffer_hasRemaining($input)) { if (!jnc_CoderResult_isOverflow(jnc_CharsetEncoder_encode($this.$encoder, $input, $this.$buffer3, 0))) continue; ji_ByteArrayOutputStream_write($this.$out2, $this.$bufferData, 0, jn_Buffer_position($this.$buffer3)); jn_ByteBuffer_clear($this.$buffer3); } jl_Object_monitorExitSync(var$4); } catch ($$e) { $$je = $rt_wrapException($$e); var$6 = $$je; break a; } return; } jl_Object_monitorExitSync(var$4); $rt_throw(var$6); } var ji_DataOutput = $rt_classWithoutFields(0); function ji_DataOutputStream() { var a = this; ji_FilterOutputStream.call(a); a.$written = 0; a.$buff0 = null; } function ji_DataOutputStream__init_(var_0) { var var_1 = new ji_DataOutputStream(); ji_DataOutputStream__init_0(var_1, var_0); return var_1; } function ji_DataOutputStream__init_0($this, $out) { ji_FilterOutputStream__init_0($this, $out); $this.$buff0 = $rt_createByteArray(8); } function ji_DataOutputStream_flush($this) { $this.$out1.$flush(); } function ji_DataOutputStream_write($this, $buffer, $offset, $count) { var var$4; if ($buffer !== null) { $this.$out1.$write0($buffer, $offset, $count); $this.$written = $this.$written + $count | 0; return; } var$4 = new jl_NullPointerException; jl_Throwable__init_0(var$4); $rt_throw(var$4); } function ji_DataOutputStream_writeByte($this, $val) { $this.$out1.$write3($val); $this.$written = $this.$written + 1 | 0; } function ji_DataOutputStream_writeDouble($this, $val) { ji_DataOutputStream_writeLong($this, jl_Double_doubleToLongBits($val)); } function ji_DataOutputStream_writeFloat($this, $val) { ji_DataOutputStream_writeInt($this, jl_Float_floatToIntBits($val)); } function ji_DataOutputStream_writeInt($this, $val) { var var$2, var$3; var$2 = $this.$buff0; var$3 = var$2.data; var$3[0] = $val >> 24 << 24 >> 24; var$3[1] = $val >> 16 << 24 >> 24; var$3[2] = $val >> 8 << 24 >> 24; var$3[3] = $val << 24 >> 24; $this.$out1.$write0(var$2, 0, 4); $this.$written = $this.$written + 4 | 0; } function ji_DataOutputStream_writeLong($this, $val) { var var$2, var$3; var$2 = $this.$buff0; var$3 = var$2.data; var$3[0] = Long_lo(Long_shr($val, 56)) << 24 >> 24; var$3[1] = Long_lo(Long_shr($val, 48)) << 24 >> 24; var$3[2] = Long_lo(Long_shr($val, 40)) << 24 >> 24; var$3[3] = Long_hi($val) << 24 >> 24; var$3[4] = Long_lo(Long_shr($val, 24)) << 24 >> 24; var$3[5] = Long_lo(Long_shr($val, 16)) << 24 >> 24; var$3[6] = Long_lo(Long_shr($val, 8)) << 24 >> 24; var$3[7] = Long_lo($val) << 24 >> 24; $this.$out1.$write0(var$2, 0, 8); $this.$written = $this.$written + 8 | 0; } function ji_DataOutputStream_writeShort($this, $val) { var var$2, var$3; var$2 = $this.$buff0; var$3 = var$2.data; var$3[0] = $val >> 8 << 24 >> 24; var$3[1] = $val << 24 >> 24; $this.$out1.$write0(var$2, 0, 2); $this.$written = $this.$written + 2 | 0; } function ji_DataOutputStream_writeUTF($this, $str) { var var$2, var$3, $offset, var$5, $utfCount, $buffer, var$8, var$9, var$10, var$11; var$2 = 0; var$3 = jl_String_length($str); $offset = 0; while ($offset < var$3) { var$5 = jl_String_charAt($str, $offset); var$2 = var$5 > 0 && var$5 <= 127 ? var$2 + 1 | 0 : var$5 > 2047 ? var$2 + 3 | 0 : var$2 + 2 | 0; $offset = $offset + 1 | 0; } $utfCount = Long_fromInt(var$2); if (Long_gt($utfCount, Long_fromInt(65535))) { $str = new ji_IOException; jl_Throwable__init_($str, $rt_s(709)); $rt_throw($str); } var$2 = Long_lo($utfCount); $buffer = $rt_createByteArray(var$2 + 2 | 0); var$8 = $buffer.data; var$8[0] = var$2 >> 8 << 24 >> 24; var$9 = 2; var$8[1] = var$2 << 24 >> 24; $offset = jl_String_length($str); var$5 = 0; while (var$5 < $offset) { var$10 = jl_String_charAt($str, var$5); if (var$10 > 0 && var$10 <= 127) { var$2 = var$9 + 1 | 0; var$8[var$9] = var$10 << 24 >> 24; } else if (var$10 <= 2047) { var$3 = var$9 + 1 | 0; var$8[var$9] = (192 | 31 & var$10 >> 6) << 24 >> 24; var$2 = var$3 + 1 | 0; var$8[var$3] = (128 | 63 & var$10) << 24 >> 24; } else { var$11 = var$9 + 1 | 0; var$8[var$9] = (224 | 15 & var$10 >> 12) << 24 >> 24; var$3 = var$11 + 1 | 0; var$8[var$11] = (128 | 63 & var$10 >> 6) << 24 >> 24; var$2 = var$3 + 1 | 0; var$8[var$3] = (128 | 63 & var$10) << 24 >> 24; } var$5 = var$5 + 1 | 0; var$9 = var$2; } ji_DataOutputStream_write($this, $buffer, 0, var$9); } function jur_AbstractSet() { var a = this; jl_Object.call(a); a.$next4 = null; a.$isSecondPassVisited = 0; a.$index5 = null; a.$type = 0; } var jur_AbstractSet_counter = 0; function jur_AbstractSet__init_($this) { var var$1; var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; $this.$index5 = jl_Integer_toString0(var$1); } function jur_AbstractSet__init_0($this, $n) { var var$2; var$2 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$2 + 1 | 0; $this.$index5 = jl_Integer_toString0(var$2); $this.$next4 = $n; } function jur_AbstractSet_find($this, $stringIndex, $testString, $matchResult) { var $length; $length = $matchResult.$rightBound0; while (true) { if ($stringIndex > $length) return (-1); if ($this.$matches0($stringIndex, $testString, $matchResult) >= 0) break; $stringIndex = $stringIndex + 1 | 0; } return $stringIndex; } function jur_AbstractSet_findBack($this, $stringIndex, $startSearch, $testString, $matchResult) { while (true) { if ($startSearch < $stringIndex) return (-1); if ($this.$matches0($startSearch, $testString, $matchResult) >= 0) break; $startSearch = $startSearch + (-1) | 0; } return $startSearch; } function jur_AbstractSet_setType($this, $type) { $this.$type = $type; } function jur_AbstractSet_getType($this) { return $this.$type; } function jur_AbstractSet_getNext($this) { return $this.$next4; } function jur_AbstractSet_setNext($this, $next) { $this.$next4 = $next; } function jur_AbstractSet_first($this, $set) { return 1; } function jur_AbstractSet_processBackRefReplacement($this) { return null; } function jur_AbstractSet_processSecondPass($this) { var $set; $this.$isSecondPassVisited = 1; $set = $this.$next4; if ($set !== null) { if (!$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$next4.$isSecondPassVisited = 1; $this.$next4 = $set; } $this.$next4.$processSecondPass(); } else if ($set instanceof jur_SingleSet && $set.$fSet.$isBackReferenced) $this.$next4 = $set.$next4; } } function jur_AbstractSet__clinit_() { jur_AbstractSet_counter = 1; } var otjb_TimerHandler = $rt_classWithoutFields(0); var nlea_EaglerAdapterImpl2$14 = $rt_classWithoutFields(); function nlea_EaglerAdapterImpl2$14__init_0() { var var_0 = new nlea_EaglerAdapterImpl2$14(); nlea_EaglerAdapterImpl2$14__init_(var_0); return var_0; } function nlea_EaglerAdapterImpl2$14__init_($this) {} function nlea_EaglerAdapterImpl2$14_onTimer$exported$0(var$0) { var var$1, var$2, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); var$1 = jl_System_currentTimeMillis(); var$2 = nlea_EaglerAdapterImpl2_mouseUngrabTimeout; if (var$2) $rt_globals.clearTimeout(var$2); nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; var$3 = Long_sub(var$1, nlea_EaglerAdapterImpl2_mouseUngrabTimer); if (Long_lt(var$3, Long_fromInt(3000))) { var$4 = new nlea_EaglerAdapterImpl2$14$1; var$4.$this$03 = var$0; var$2 = 3000 - Long_lo(var$3) | 0; nlea_EaglerAdapterImpl2_mouseUngrabTimeout = $rt_globals.setTimeout(otji_JS_function(var$4, "onTimer"), var$2); } } var jl_VirtualMachineError = $rt_classWithoutFields(jl_Error); function jl_VirtualMachineError__init_0() { var var_0 = new jl_VirtualMachineError(); jl_VirtualMachineError__init_(var_0); return var_0; } function jl_VirtualMachineError__init_($this) { jl_Throwable__init_0($this); } var jl_OutOfMemoryError = $rt_classWithoutFields(jl_VirtualMachineError); function jl_OutOfMemoryError__init_0() { var var_0 = new jl_OutOfMemoryError(); jl_OutOfMemoryError__init_(var_0); return var_0; } function jl_OutOfMemoryError__init_($this) { jl_Throwable__init_0($this); } function nms_TileEntitySpecialRenderer() { jl_Object.call(this); this.$tileEntityRenderer = null; } function nms_TileEntitySpecialRenderer_setTileEntityRenderer($this, $var1) { $this.$tileEntityRenderer = $var1; } function nms_TileEntitySignRenderer() { nms_TileEntitySpecialRenderer.call(this); this.$signModel = null; } function nms_TileEntitySignRenderer__init_0() { var var_0 = new nms_TileEntitySignRenderer(); nms_TileEntitySignRenderer__init_(var_0); return var_0; } function nms_TileEntitySignRenderer__init_($this) { $this.$signModel = nms_SignModel__init_0(); } function nms_TileEntitySignRenderer_a($this, $var1, $var2, $var4, $var6, $var8) { var $var9, $var10, $var16, $var12, $var15, $var14, 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();$var14 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();$var16 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_TileEntity_getBlockType($var1); if ($rt_suspending()) { break main; } $var9 = $tmp; olo_EaglerAdapterGL30_glPushMatrix(); $var10 = 0.6666666865348816; nms_Block_$callClinit(); if ($var9 !== nms_Block_signPost) { $ptr = 2; continue main; } olo_EaglerAdapterGL30_glTranslatef($var2 + 0.5, $var4 + 0.5, $var6 + 0.5); $ptr = 3; continue main; case 2: $tmp = nms_TileEntity_getBlockMetadata($var1); if ($rt_suspending()) { break main; } $var16 = $tmp; $var12 = 0.0; if ($var16 == 2) $var12 = 180.0; if ($var16 == 4) $var12 = 90.0; if ($var16 == 5) $var12 = (-90.0); olo_EaglerAdapterGL30_glTranslatef($var2 + 0.5, $var4 + 0.5, $var6 + 0.5); olo_EaglerAdapterGL30_glRotatef( -$var12, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.3125), (-0.4375)); $this.$signModel.$field_1345_b.$field_1403_h = 0; $var15 = $rt_s(710); $var9 = $this.$tileEntityRenderer.$renderEngine2; $ptr = 4; continue main; case 3: $tmp = nms_TileEntity_getBlockMetadata($var1); if ($rt_suspending()) { break main; } $var16 = $tmp; olo_EaglerAdapterGL30_glRotatef( -(($var16 * 360 | 0) / 16.0), 0.0, 1.0, 0.0); $this.$signModel.$field_1345_b.$field_1403_h = 1; $var15 = $rt_s(710); $var9 = $this.$tileEntityRenderer.$renderEngine2; $ptr = 4; case 4: $tmp = nms_RenderEngine_getTexture($var9, $var15); if ($rt_suspending()) { break main; } $var16 = $tmp; nms_RenderEngine_bindTexture($var9, $var16); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glScalef($var10, (-0.6666666865348816), (-0.6666666865348816)); $var15 = $this.$signModel; nms_ModelRenderer_render($var15.$field_1346_a, 0.0625); nms_ModelRenderer_render($var15.$field_1345_b, 0.0625); olo_EaglerAdapterGL30_glPopMatrix(); $var9 = $this.$tileEntityRenderer.$fontRenderer1; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.3333333432674408, 0.046666666865348816); olo_EaglerAdapterGL30_glScalef(0.01111111231148243, (-0.01111111231148243), 0.01111111231148243); olo_EaglerAdapterGL30_glNormal3f(0.0, 0.0, (-0.01111111231148243)); olo_EaglerAdapterGL30_glDepthMask(0); $var14 = 0; while (true) { var$12 = $var1.$signText.data; if ($var14 >= var$12.length) break; $var15 = var$12[$var14]; if ($var14 != $var1.$lineBeingEdited) nms_FontRenderer_drawString($var9, $var15, ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0, ($var14 * 10 | 0) - ($var1.$signText.data.length * 5 | 0) | 0, 0); else { var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$13, $rt_s(711)), $var15), $rt_s(712)); $var15 = jl_AbstractStringBuilder_toString(var$13); nms_FontRenderer_drawString($var9, $var15, ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0, ($var14 * 10 | 0) - ($var1.$signText.data.length * 5 | 0) | 0, 0); } $var14 = $var14 + 1 | 0; } olo_EaglerAdapterGL30_glDepthMask(1); olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var16, $var12, $var15, $var14, var$12, var$13, $ptr); } function nms_TileEntitySignRenderer_renderTileEntityAt($this, $var1, $var2, $var4, $var6, $var8) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $var1; $ptr = 1; case 1: nms_TileEntitySignRenderer_a($this, $var1, $var2, $var4, $var6, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, $ptr); } function nms_TileEntityMobSpawner() { var a = this; nms_TileEntity.call(a); a.$delay = 0; a.$entityID = null; a.$field_831_c = 0.0; a.$field_830_d = 0.0; } function nms_TileEntityMobSpawner__init_0() { var var_0 = new nms_TileEntityMobSpawner(); nms_TileEntityMobSpawner__init_(var_0); return var_0; } function nms_TileEntityMobSpawner__init_($this) { nms_TileEntity__init_($this); $this.$delay = (-1); $this.$entityID = $rt_s(713); $this.$field_830_d = 0.0; $this.$delay = 20; } function nms_TileEntityMobSpawner_updateEntity($this) { var $var1, $var3, $var5, $var11, $var10, $var7, $var8, $var9, var$9, var$10, $var17, var$12, $var13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var13 = $thread.pop();var$12 = $thread.pop();$var17 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var10 = $thread.pop();$var11 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_830_d = $this.$field_831_c; if (nms_World_getClosestPlayer($this.$worldObj4, $this.$xCoord0 + 0.5, $this.$yCoord0 + 0.5, $this.$zCoord0 + 0.5, 16.0) === null ? 0 : 1) { $var1 = $this.$xCoord0 + ju_Random_nextFloat($this.$worldObj4.$rand1); $var3 = $this.$yCoord0 + ju_Random_nextFloat($this.$worldObj4.$rand1); $var5 = $this.$zCoord0 + ju_Random_nextFloat($this.$worldObj4.$rand1); nms_World_spawnParticle($this.$worldObj4, $rt_s(299), $var1, $var3, $var5, 0.0, 0.0, 0.0); nms_World_spawnParticle($this.$worldObj4, $rt_s(300), $var1, $var3, $var5, 0.0, 0.0, 0.0); $var11 = $this.$field_831_c; $var10 = $this.$delay; $this.$field_831_c = $var11 + 1000.0 / ($var10 + 200.0); while (true) { $var11 = $this.$field_831_c; if ($var11 <= 360.0) break; $this.$field_831_c = $var11 - 360.0; $this.$field_830_d = $this.$field_830_d - 360.0; } if ($var10 == (-1)) nms_TileEntityMobSpawner_updateDelay($this); $var10 = $this.$delay; if ($var10 > 0) $this.$delay = $var10 - 1 | 0; else { $var7 = 4; $var8 = 0; if ($var8 < $var7) { $var9 = nms_EntityList_createEntityInWorld($this.$entityID, $this.$worldObj4); if ($var9 === null) return; var$9 = $this.$worldObj4; var$10 = jl_Object_getClass($var9); $var17 = $this.$xCoord0; $var11 = $var17; var$12 = $this.$yCoord0; $var13 = var$12; var$14 = $this.$zCoord0; var$15 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_getBoundingBoxFromPool($var11, $var13, var$14, $var17 + 1 | 0, var$12 + 1 | 0, var$14 + 1 | 0), 8.0, 4.0, 8.0); $ptr = 1; continue main; } } } return; case 1: $tmp = nms_World_getEntitiesWithinAABB(var$9, var$10, var$15); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9.$size >= 6) { nms_TileEntityMobSpawner_updateDelay($this); return; } nms_Entity_setLocationAndAngles($var9, $this.$xCoord0 + (ju_Random_nextDouble($this.$worldObj4.$rand1) - ju_Random_nextDouble($this.$worldObj4.$rand1)) * 4.0, ($this.$yCoord0 + ju_Random_nextInt($this.$worldObj4.$rand1, 3) | 0) - 1 | 0, $this.$zCoord0 + (ju_Random_nextDouble($this.$worldObj4.$rand1) - ju_Random_nextDouble($this.$worldObj4.$rand1)) * 4.0, ju_Random_nextFloat($this.$worldObj4.$rand1) * 360.0, 0.0); $ptr = 2; case 2: $tmp = $var9.$getCanSpawnHere(); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var10) { var$9 = $this.$worldObj4; $ptr = 3; continue main; } $var8 = $var8 + 1 | 0; if ($var8 >= $var7) return; $var9 = nms_EntityList_createEntityInWorld($this.$entityID, $this.$worldObj4); if ($var9 === null) return; var$9 = $this.$worldObj4; var$10 = jl_Object_getClass($var9); $var17 = $this.$xCoord0; $var11 = $var17; var$12 = $this.$yCoord0; $var13 = var$12; var$14 = $this.$zCoord0; var$15 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_getBoundingBoxFromPool($var11, $var13, var$14, $var17 + 1 | 0, var$12 + 1 | 0, var$14 + 1 | 0), 8.0, 4.0, 8.0); $ptr = 1; continue main; case 3: nms_World_entityJoinedWorld(var$9, $var9); if ($rt_suspending()) { break main; } $var17 = 0; while ($var17 < 20) { $var3 = $this.$xCoord0 + 0.5 + (ju_Random_nextFloat($this.$worldObj4.$rand1) - 0.5) * 2.0; $var5 = $this.$yCoord0 + 0.5 + (ju_Random_nextFloat($this.$worldObj4.$rand1) - 0.5) * 2.0; $var11 = $this.$zCoord0 + 0.5 + (ju_Random_nextFloat($this.$worldObj4.$rand1) - 0.5) * 2.0; nms_World_spawnParticle($this.$worldObj4, $rt_s(299), $var3, $var5, $var11, 0.0, 0.0, 0.0); nms_World_spawnParticle($this.$worldObj4, $rt_s(300), $var3, $var5, $var11, 0.0, 0.0, 0.0); $var17 = $var17 + 1 | 0; } nms_EntityLiving_spawnExplosionParticle($var9); nms_TileEntityMobSpawner_updateDelay($this); $var8 = $var8 + 1 | 0; if ($var8 >= $var7) return; $var9 = nms_EntityList_createEntityInWorld($this.$entityID, $this.$worldObj4); if ($var9 === null) return; var$9 = $this.$worldObj4; var$10 = jl_Object_getClass($var9); $var17 = $this.$xCoord0; $var11 = $var17; var$12 = $this.$yCoord0; $var13 = var$12; var$14 = $this.$zCoord0; var$15 = nms_AxisAlignedBB_expands(nms_AxisAlignedBB_getBoundingBoxFromPool($var11, $var13, var$14, $var17 + 1 | 0, var$12 + 1 | 0, var$14 + 1 | 0), 8.0, 4.0, 8.0); $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var11, $var10, $var7, $var8, $var9, var$9, var$10, $var17, var$12, $var13, var$14, var$15, $ptr); } function nms_TileEntityMobSpawner_updateDelay($this) { $this.$delay = 200 + ju_Random_nextInt($this.$worldObj4.$rand1, 600) | 0; } function nms_TileEntityMobSpawner_readFromNBT($this, $var1) { nms_TileEntity_readFromNBT($this, $var1); $this.$entityID = nms_NBTTagCompound_getString($var1, $rt_s(714)); $this.$delay = nms_NBTTagCompound_getShort($var1, $rt_s(715)); } function nms_TileEntityMobSpawner_writeToNBT($this, $var1) { nms_TileEntity_writeToNBT($this, $var1); nms_NBTTagCompound_setString($var1, $rt_s(714), $this.$entityID); nms_NBTTagCompound_setShort($var1, $rt_s(715), $this.$delay << 16 >> 16); } function nms_TileEntityMobSpawnerRenderer() { nms_TileEntitySpecialRenderer.call(this); this.$field_1412_b = null; } function nms_TileEntityMobSpawnerRenderer__init_0() { var var_0 = new nms_TileEntityMobSpawnerRenderer(); nms_TileEntityMobSpawnerRenderer__init_(var_0); return var_0; } function nms_TileEntityMobSpawnerRenderer__init_($this) { $this.$field_1412_b = ju_HashMap__init_0(); } function nms_TileEntityMobSpawnerRenderer_renderTileEntityAt($this, $var1, $var2, $var4, $var6, $var8) { var var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $var1; olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($var2 + 0.5, $var4, $var6 + 0.5); var$7 = ju_HashMap_get($this.$field_1412_b, var$6.$entityID); if (var$7 === null) { var$7 = nms_EntityList_createEntityInWorld(var$6.$entityID, null); ju_HashMap_put($this.$field_1412_b, var$6.$entityID, var$7); } if (var$7 === null) { olo_EaglerAdapterGL30_glPopMatrix(); return; } var$7.$worldObj0 = var$6.$worldObj4; olo_EaglerAdapterGL30_glTranslatef(0.0, 0.4000000059604645, 0.0); var$8 = var$6.$field_830_d; olo_EaglerAdapterGL30_glRotatef((var$8 + (var$6.$field_831_c - var$8) * $var8) * 10.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glRotatef((-30.0), 1.0, 0.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, (-0.4000000059604645), 0.0); olo_EaglerAdapterGL30_glScalef(0.4375, 0.4375, 0.4375); nms_Entity_setLocationAndAngles(var$7, $var2, $var4, $var6, 0.0, 0.0); nms_RenderManager_$callClinit(); $var1 = nms_RenderManager_instance; $var4 = 0.0; $var6 = 0.0; $var2 = 0.0; var$9 = 0.0; $ptr = 1; case 1: nms_RenderManager_func_853_a($var1, var$7, $var4, $var6, $var2, var$9, $var8); if ($rt_suspending()) { break main; } olo_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, var$6, var$7, var$8, var$9, $ptr); } function jur_FSet() { var a = this; jur_AbstractSet.call(a); a.$isBackReferenced = 0; a.$groupIndex = 0; } var jur_FSet_posFSet = null; function jur_FSet_$callClinit() { jur_FSet_$callClinit = $rt_eraseClinit(jur_FSet); jur_FSet__clinit_(); } function jur_FSet__init_0(var_0) { var var_1 = new jur_FSet(); jur_FSet__init_(var_1, var_0); return var_1; } function jur_FSet__init_($this, $groupIndex) { jur_FSet_$callClinit(); jur_AbstractSet__init_($this); $this.$groupIndex = $groupIndex; } function jur_FSet_matches($this, $stringIndex, $testString, $matchResult) { var $end, $shift; $end = jur_MatchResultImpl_getEnd($matchResult, $this.$groupIndex); jur_MatchResultImpl_setEnd($matchResult, $this.$groupIndex, $stringIndex); $shift = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($shift < 0) jur_MatchResultImpl_setEnd($matchResult, $this.$groupIndex, $end); return $shift; } function jur_FSet_getGroupIndex($this) { return $this.$groupIndex; } function jur_FSet_hasConsumed($this, $mr) { return 0; } function jur_FSet__clinit_() { var var$1; var$1 = new jur_FSet$PossessiveFSet; jur_AbstractSet__init_(var$1); jur_FSet_posFSet = var$1; } function jur_Lexer() { var a = this; jl_Object.call(a); a.$pattern = null; a.$flags = 0; a.$mode = 0; a.$savedMode = 0; a.$lookBack = 0; a.$ch = 0; a.$lookAhead = 0; a.$patternFullLength = 0; a.$curST = null; a.$lookAheadST = null; a.$index4 = 0; a.$prevNW = 0; a.$curToc = 0; a.$lookAheadToc = 0; a.$orig = null; } var jur_Lexer_decompTable = null; var jur_Lexer_singleDecompTable = null; var jur_Lexer_singleDecompTableSize = 0; function jur_Lexer_setMode($this, $mode) { if ($mode > 0 && $mode < 3) $this.$mode = $mode; if ($mode == 1) { $this.$lookAhead = $this.$ch; $this.$lookAheadST = $this.$curST; $this.$index4 = $this.$lookAheadToc; $this.$lookAheadToc = $this.$curToc; jur_Lexer_movePointer($this); } } function jur_Lexer_isSpecial($this) { return $this.$curST === null ? 0 : 1; } function jur_Lexer_isNextSpecial($this) { return $this.$lookAheadST === null ? 0 : 1; } function jur_Lexer_next($this) { jur_Lexer_movePointer($this); return $this.$lookBack; } function jur_Lexer_nextSpecial($this) { var $res; $res = $this.$curST; jur_Lexer_movePointer($this); return $res; } function jur_Lexer_movePointer($this) { var $reread, $nonCap, var$3, $behind, $mod, $cs, $negative, $$je; $this.$lookBack = $this.$ch; $this.$ch = $this.$lookAhead; $this.$curST = $this.$lookAheadST; $this.$curToc = $this.$lookAheadToc; $this.$lookAheadToc = $this.$index4; while (true) { $reread = 0; $nonCap = $this.$index4 >= $this.$pattern.data.length ? 0 : jur_Lexer_nextCodePoint($this); $this.$lookAhead = $nonCap; $this.$lookAheadST = null; if ($this.$mode == 4) { if ($nonCap != 92) return; $nonCap = $this.$index4; var$3 = $this.$pattern.data; $nonCap = $nonCap >= var$3.length ? 0 : var$3[jur_Lexer_nextIndex($this)]; $this.$lookAhead = $nonCap; switch ($nonCap) { case 69: break; default: $this.$lookAhead = 92; $this.$index4 = $this.$prevNW; return; } $this.$mode = $this.$savedMode; $this.$lookAhead = $this.$index4 > ($this.$pattern.data.length - 2 | 0) ? 0 : jur_Lexer_nextCodePoint($this); } a: { $nonCap = $this.$lookAhead; if ($nonCap != 92) { $behind = $this.$mode; if ($behind == 1) switch ($nonCap) { case 36: $this.$lookAhead = (-536870876); break a; case 40: if ($this.$pattern.data[$this.$index4] != 63) { $this.$lookAhead = (-2147483608); break a; } jur_Lexer_nextIndex($this); $nonCap = $this.$pattern.data[$this.$index4]; $behind = 0; while (true) { b: { if ($behind) { $behind = 0; switch ($nonCap) { case 33: break; case 61: $this.$lookAhead = (-134217688); jur_Lexer_nextIndex($this); break b; default: $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Lexer_toString($this), $this.$index4)); } $this.$lookAhead = (-67108824); jur_Lexer_nextIndex($this); } else { switch ($nonCap) { case 33: break; case 60: jur_Lexer_nextIndex($this); $nonCap = $this.$pattern.data[$this.$index4]; $behind = 1; break b; case 61: $this.$lookAhead = (-536870872); jur_Lexer_nextIndex($this); break b; case 62: $this.$lookAhead = (-33554392); jur_Lexer_nextIndex($this); break b; default: $mod = jur_Lexer_readFlags($this); $this.$lookAhead = $mod; if ($mod < 256) { $this.$flags = $mod; $mod = $mod << 16; $this.$lookAhead = $mod; $this.$lookAhead = (-1073741784) | $mod; break b; } $mod = $mod & 255; $this.$lookAhead = $mod; $this.$flags = $mod; $mod = $mod << 16; $this.$lookAhead = $mod; $this.$lookAhead = (-16777176) | $mod; break b; } $this.$lookAhead = (-268435416); jur_Lexer_nextIndex($this); } } if (!$behind) break; } break a; case 41: $this.$lookAhead = (-536870871); break a; case 42: case 43: case 63: $behind = $this.$index4; var$3 = $this.$pattern.data; switch ($behind >= var$3.length ? 42 : var$3[$behind]) { case 43: $this.$lookAhead = $nonCap | (-2147483648); jur_Lexer_nextIndex($this); break a; case 63: $this.$lookAhead = $nonCap | (-1073741824); jur_Lexer_nextIndex($this); break a; default: } $this.$lookAhead = $nonCap | (-536870912); break a; case 46: $this.$lookAhead = (-536870866); break a; case 91: $this.$lookAhead = (-536870821); jur_Lexer_setMode($this, 2); break a; case 93: if ($behind != 2) break a; $this.$lookAhead = (-536870819); break a; case 94: $this.$lookAhead = (-536870818); break a; case 123: $this.$lookAheadST = jur_Lexer_processQuantifier($this, $nonCap); break a; case 124: $this.$lookAhead = (-536870788); break a; default: } else if ($behind == 2) switch ($nonCap) { case 38: $this.$lookAhead = (-536870874); break a; case 45: $this.$lookAhead = (-536870867); break a; case 91: $this.$lookAhead = (-536870821); break a; case 93: $this.$lookAhead = (-536870819); break a; case 94: $this.$lookAhead = (-536870818); break a; default: } } else { $nonCap = $this.$index4 >= ($this.$pattern.data.length - 2 | 0) ? (-1) : jur_Lexer_nextCodePoint($this); c: { $this.$lookAhead = $nonCap; switch ($nonCap) { case -1: $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Lexer_toString($this), $this.$index4)); case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 91: case 92: case 93: case 94: case 95: case 96: case 118: break; case 48: $this.$lookAhead = jur_Lexer_readOctals($this); break a; case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: if ($this.$mode != 1) break a; $this.$lookAhead = (-2147483648) | $nonCap; break a; case 65: $this.$lookAhead = (-2147483583); break a; case 66: $this.$lookAhead = (-2147483582); break a; case 67: case 69: case 70: case 72: case 73: case 74: case 75: case 76: case 77: case 78: case 79: case 82: case 84: case 85: case 86: case 88: case 89: case 103: case 104: case 105: case 106: case 107: case 108: case 109: case 111: case 113: case 121: $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Lexer_toString($this), $this.$index4)); case 68: case 83: case 87: case 100: case 115: case 119: $this.$lookAheadST = jur_AbstractCharClass_getPredefinedClass(jl_String__init_3($this.$pattern, $this.$prevNW, 1), 0); $this.$lookAhead = 0; break a; case 71: $this.$lookAhead = (-2147483577); break a; case 80: case 112: break c; case 81: $this.$savedMode = $this.$mode; $this.$mode = 4; $reread = 1; break a; case 90: $this.$lookAhead = (-2147483558); break a; case 97: $this.$lookAhead = 7; break a; case 98: $this.$lookAhead = (-2147483550); break a; case 99: $nonCap = $this.$index4; var$3 = $this.$pattern.data; if ($nonCap >= (var$3.length - 2 | 0)) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Lexer_toString($this), $this.$index4)); $this.$lookAhead = var$3[jur_Lexer_nextIndex($this)] & 31; break a; case 101: $this.$lookAhead = 27; break a; case 102: $this.$lookAhead = 12; break a; case 110: $this.$lookAhead = 10; break a; case 114: $this.$lookAhead = 13; break a; case 116: $this.$lookAhead = 9; break a; case 117: $this.$lookAhead = jur_Lexer_readHex($this, 4); break a; case 120: $this.$lookAhead = jur_Lexer_readHex($this, 2); break a; case 122: $this.$lookAhead = (-2147483526); break a; default: } break a; } $cs = jur_Lexer_parseCharClassName($this); $negative = 0; if ($this.$lookAhead == 80) $negative = 1; try { $this.$lookAheadST = jur_AbstractCharClass_getPredefinedClass($cs, $negative); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ju_MissingResourceException) { $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), jur_Lexer_toString($this), $this.$index4)); } else { throw $$e; } } $this.$lookAhead = 0; } } if ($reread) continue; else break; } } function jur_Lexer_parseCharClassName($this) { var $sb, $ch, var$3, var$4, $res, var$6; $sb = new jl_StringBuilder; jl_AbstractStringBuilder__init_2($sb, 10); $ch = $this.$index4; var$3 = $this.$pattern; var$4 = var$3.data; if ($ch < (var$4.length - 2 | 0)) { if (var$4[$ch] != 123) { $sb = jl_String__init_3(var$3, jur_Lexer_nextIndex($this), 1); $res = new jl_StringBuilder; jl_AbstractStringBuilder__init_($res); jl_StringBuilder_append(jl_StringBuilder_append($res, $rt_s(716)), $sb); return jl_AbstractStringBuilder_toString($res); } jur_Lexer_nextIndex($this); $ch = 0; a: { while (true) { var$6 = $this.$index4; var$3 = $this.$pattern.data; if (var$6 >= (var$3.length - 2 | 0)) break; $ch = var$3[jur_Lexer_nextIndex($this)]; if ($ch == 125) break a; jl_AbstractStringBuilder_append($sb, $ch); } } if ($ch != 125) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); } if (!$sb.$length0) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); $res = jl_AbstractStringBuilder_toString($sb); if (jl_String_length($res) == 1) { $sb = new jl_StringBuilder; jl_AbstractStringBuilder__init_($sb); jl_StringBuilder_append(jl_StringBuilder_append($sb, $rt_s(716)), $res); return jl_AbstractStringBuilder_toString($sb); } b: { c: { if (jl_String_length($res) > 3) { if (jl_String_startsWith($res, $rt_s(716))) break c; if (jl_String_startsWith($res, $rt_s(717))) break c; } break b; } $res = jl_String_substring($res, 2); } return $res; } function jur_Lexer_processQuantifier($this, $ch) { var $sb, $min, $max, $mod, var$6, $$je; $sb = new jl_StringBuilder; jl_AbstractStringBuilder__init_2($sb, 4); $min = (-1); $max = 2147483647; a: { while (true) { $mod = $this.$index4; var$6 = $this.$pattern.data; if ($mod >= var$6.length) break a; $ch = var$6[jur_Lexer_nextIndex($this)]; if ($ch == 125) break a; if ($ch == 44 && $min < 0) try { $min = jl_Integer_parseInt(jl_StringBuilder_toString($sb), 10); jl_StringBuilder_delete($sb, 0, jl_StringBuilder_length($sb)); continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { break; } else { throw $$e; } } jl_AbstractStringBuilder_append($sb, $ch & 65535); } $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); } if ($ch != 125) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); if ($sb.$length0 > 0) b: { try { $max = jl_Integer_parseInt(jl_StringBuilder_toString($sb), 10); if ($min >= 0) break b; $min = $max; break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); } else if ($min < 0) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); if (($min | $max | ($max - $min | 0)) < 0) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); $ch = $this.$index4; var$6 = $this.$pattern.data; $mod = $ch >= var$6.length ? 42 : var$6[$ch]; c: { switch ($mod) { case 43: $this.$lookAhead = (-2147483525); jur_Lexer_nextIndex($this); break c; case 63: $this.$lookAhead = (-1073741701); jur_Lexer_nextIndex($this); break c; default: } $this.$lookAhead = (-536870789); } $sb = new jur_Quantifier; $sb.$min1 = $min; $sb.$max1 = $max; return $sb; } function jur_Lexer_toString($this) { return $this.$orig; } function jur_Lexer_isEmpty($this) { return !$this.$ch && !$this.$lookAhead && $this.$index4 == $this.$patternFullLength && !jur_Lexer_isSpecial($this) ? 1 : 0; } function jur_Lexer_isLetter0($ch) { return $ch < 0 ? 0 : 1; } function jur_Lexer_isLetter($this) { return !jur_Lexer_isEmpty($this) && !jur_Lexer_isSpecial($this) && jur_Lexer_isLetter0($this.$ch) ? 1 : 0; } function jur_Lexer_isHighSurrogate($this) { var var$1; var$1 = $this.$ch; return var$1 <= 56319 && var$1 >= 55296 ? 1 : 0; } function jur_Lexer_isLowSurrogate($this) { var var$1; var$1 = $this.$ch; return var$1 <= 57343 && var$1 >= 56320 ? 1 : 0; } function jur_Lexer_isHighSurrogate0($ch) { return $ch <= 56319 && $ch >= 55296 ? 1 : 0; } function jur_Lexer_isLowSurrogate0($ch) { return $ch <= 57343 && $ch >= 56320 ? 1 : 0; } function jur_Lexer_readHex($this, $max) { var $st, $length, $i, var$5, $$je; $st = new jl_StringBuilder; jl_AbstractStringBuilder__init_2($st, $max); $length = $this.$pattern.data.length - 2 | 0; $i = 0; while (true) { var$5 = $rt_compare($i, $max); if (var$5 >= 0) break; if ($this.$index4 >= $length) break; jl_AbstractStringBuilder_append($st, $this.$pattern.data[jur_Lexer_nextIndex($this)]); $i = $i + 1 | 0; } if (!var$5) a: { try { $max = jl_Integer_parseInt(jl_StringBuilder_toString($st), 16); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { break a; } else { throw $$e; } } return $max; } $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); } function jur_Lexer_readOctals($this) { var $max, $i, var$3, $length, $res, var$6; $max = 3; $i = 1; var$3 = $this.$pattern.data; $length = var$3.length - 2 | 0; $res = jl_Character_digit(var$3[$this.$index4], 8); switch ($res) { case -1: break; default: if ($res > 3) $max = 2; jur_Lexer_nextIndex($this); a: { while (true) { if ($i >= $max) break a; var$6 = $this.$index4; if (var$6 >= $length) break a; var$6 = jl_Character_digit($this.$pattern.data[var$6], 8); if (var$6 < 0) break; $res = ($res * 8 | 0) + var$6 | 0; jur_Lexer_nextIndex($this); $i = $i + 1 | 0; } } return $res; } $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, $this.$index4)); } function jur_Lexer_readFlags($this) { var $pos, $res, var$3, var$4; $pos = 1; $res = $this.$flags; a: while (true) { var$3 = $this.$index4; var$4 = $this.$pattern.data; if (var$3 >= var$4.length) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, var$3)); b: { c: { switch (var$4[var$3]) { case 41: jur_Lexer_nextIndex($this); return $res | 256; case 45: if (!$pos) $rt_throw(jur_PatternSyntaxException__init_0($rt_s(6), $this.$orig, var$3)); $pos = 0; break b; case 58: break a; case 100: break c; case 105: $res = $pos ? $res | 2 : ($res ^ 2) & $res; break b; case 109: $res = $pos ? $res | 8 : ($res ^ 8) & $res; break b; case 115: $res = $pos ? $res | 32 : ($res ^ 32) & $res; break b; case 117: $res = $pos ? $res | 64 : ($res ^ 64) & $res; break b; case 120: $res = $pos ? $res | 4 : ($res ^ 4) & $res; break b; default: } break b; } $res = $pos ? $res | 1 : ($res ^ 1) & $res; } jur_Lexer_nextIndex($this); } jur_Lexer_nextIndex($this); return $res; } function jur_Lexer_nextIndex($this) { var var$1, var$2, var$3, var$4, var$5; var$1 = $this.$index4; $this.$prevNW = var$1; if (!($this.$flags & 4)) $this.$index4 = var$1 + 1 | 0; else { var$2 = $this.$pattern.data.length - 2 | 0; $this.$index4 = var$1 + 1 | 0; a: while (true) { var$3 = $this.$index4; if (var$3 < var$2 && jl_Character_isWhitespace($this.$pattern.data[var$3])) { $this.$index4 = $this.$index4 + 1 | 0; continue; } var$3 = $this.$index4; if (var$3 >= var$2) break; var$4 = $this.$pattern.data; if (var$4[var$3] != 35) break; $this.$index4 = var$3 + 1 | 0; while (true) { var$5 = $this.$index4; if (var$5 >= var$2) continue a; var$1 = var$4[var$5]; if (var$1 != 10 && var$1 != 13 && var$1 != 133 && (var$1 | 1) != 8233 ? 0 : 1) continue a; $this.$index4 = var$5 + 1 | 0; } } } return $this.$prevNW; } function jur_Lexer_getDecomposition($ch) { return jur_Lexer_decompTable.$get9($ch); } function jur_Lexer_nextCodePoint($this) { var $high, $lowExpectedIndex, var$3, $low; $high = $this.$pattern.data[jur_Lexer_nextIndex($this)]; if (jl_Character_isHighSurrogate($high)) { $lowExpectedIndex = $this.$prevNW + 1 | 0; var$3 = $this.$pattern.data; if ($lowExpectedIndex < var$3.length) { $low = var$3[$lowExpectedIndex]; if (jl_Character_isLowSurrogate($low)) { jur_Lexer_nextIndex($this); return jl_Character_toCodePoint($high, $low); } } } return $high; } function jur_Lexer_getIndex($this) { return $this.$curToc; } function jur_PatternSyntaxException() { var a = this; jl_IllegalArgumentException.call(a); a.$desc = null; a.$pattern3 = null; a.$index6 = 0; } function jur_PatternSyntaxException__init_0(var_0, var_1, var_2) { var var_3 = new jur_PatternSyntaxException(); jur_PatternSyntaxException__init_(var_3, var_0, var_1, var_2); return var_3; } function jur_PatternSyntaxException__init_($this, $description, $pattern, $index) { jl_Throwable__init_0($this); $this.$index6 = (-1); $this.$desc = $description; $this.$pattern3 = $pattern; $this.$index6 = $index; } function jur_PatternSyntaxException_getMessage($this) { var $filler, var$2, $temp, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $filler = $rt_s(6); var$2 = $this.$index6; if (var$2 >= 1) { $temp = $rt_createCharArray(var$2); var$4 = $temp.data; var$2 = 0; var$5 = var$4.length; if (var$2 > var$5) { $filler = new jl_IllegalArgumentException; jl_Throwable__init_0($filler); $rt_throw($filler); } while (var$2 < var$5) { var$6 = var$2 + 1 | 0; var$4[var$2] = 32; var$2 = var$6; } $filler = jl_String__init_($temp); } var$7 = $this.$desc; var$8 = $this.$pattern3; if (var$8 !== null && jl_String_length(var$8)) { var$9 = $this.$index6; var$8 = $this.$pattern3; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append1(var$10, var$9), $rt_s(325)), var$8), $rt_s(325)), $filler); $filler = jl_AbstractStringBuilder_toString(var$10); } else $filler = $rt_s(6); var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8); jl_StringBuilder_append(jl_StringBuilder_append(var$8, var$7), $filler); return jl_AbstractStringBuilder_toString(var$8); } function nleat_IndexedDBFilesystem$BooleanResult() { jl_Object.call(this); this.$bool = 0; } var nleat_IndexedDBFilesystem$BooleanResult_TRUE = null; var nleat_IndexedDBFilesystem$BooleanResult_FALSE = null; function nleat_IndexedDBFilesystem$BooleanResult__init_(var_0) { var var_1 = new nleat_IndexedDBFilesystem$BooleanResult(); nleat_IndexedDBFilesystem$BooleanResult__init_0(var_1, var_0); return var_1; } function nleat_IndexedDBFilesystem$BooleanResult__init_0($this, $b) { $this.$bool = $b; } function nleat_IndexedDBFilesystem$BooleanResult__new($b) { return !$b ? nleat_IndexedDBFilesystem$BooleanResult_FALSE : nleat_IndexedDBFilesystem$BooleanResult_TRUE; } function nleat_IndexedDBFilesystem$BooleanResult__clinit_() { nleat_IndexedDBFilesystem$BooleanResult_TRUE = nleat_IndexedDBFilesystem$BooleanResult__init_(1); nleat_IndexedDBFilesystem$BooleanResult_FALSE = nleat_IndexedDBFilesystem$BooleanResult__init_(0); } function nms_SignModel() { var a = this; jl_Object.call(a); a.$field_1346_a = null; a.$field_1345_b = null; } function nms_SignModel__init_0() { var var_0 = new nms_SignModel(); nms_SignModel__init_(var_0); return var_0; } function nms_SignModel__init_($this) { var var$1; var$1 = nms_ModelRenderer__init_(0, 0); $this.$field_1346_a = var$1; nms_ModelRenderer_addBox(var$1, (-12.0), (-14.0), (-1.0), 24, 12, 2, 0.0); var$1 = nms_ModelRenderer__init_(0, 14); $this.$field_1345_b = var$1; nms_ModelRenderer_addBox(var$1, (-1.0), (-2.0), (-1.0), 2, 14, 2, 0.0); } var jur_NonCapFSet = $rt_classWithoutFields(jur_FSet); function jur_NonCapFSet_matches($this, $stringIndex, $testString, $matchResult) { var $gr; $gr = $this.$groupIndex; jur_MatchResultImpl_setConsumed($matchResult, $gr, $stringIndex - jur_MatchResultImpl_getConsumed($matchResult, $gr) | 0); return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_NonCapFSet_hasConsumed($this, $mr) { return 0; } var jur_AheadFSet = $rt_classWithoutFields(jur_FSet); function jur_AheadFSet__init_0() { var var_0 = new jur_AheadFSet(); jur_AheadFSet__init_(var_0); return var_0; } function jur_AheadFSet__init_($this) { jur_FSet__init_($this, (-1)); } function jur_AheadFSet_matches($this, $stringIndex, $testString, $matchResult) { return $stringIndex; } var jur_BehindFSet = $rt_classWithoutFields(jur_FSet); function jur_BehindFSet_matches($this, $stringIndex, $testString, $matchResult) { if (jur_MatchResultImpl_getConsumed($matchResult, $this.$groupIndex) != $stringIndex) $stringIndex = (-1); return $stringIndex; } function jur_AtomicFSet() { jur_FSet.call(this); this.$index7 = 0; } function jur_AtomicFSet_matches($this, $stringIndex, $testString, $matchResult) { var $gr; $gr = $this.$groupIndex; jur_MatchResultImpl_setConsumed($matchResult, $gr, $stringIndex - jur_MatchResultImpl_getConsumed($matchResult, $gr) | 0); $this.$index7 = $stringIndex; return $stringIndex; } function jur_AtomicFSet_hasConsumed($this, $mr) { return 0; } var jur_FinalSet = $rt_classWithoutFields(jur_FSet); function jur_FinalSet__init_0() { var var_0 = new jur_FinalSet(); jur_FinalSet__init_(var_0); return var_0; } function jur_FinalSet__init_($this) { jur_FSet__init_($this, 0); } function jur_FinalSet_matches($this, $stringIndex, $testString, $matchResult) { if ($matchResult.$mode0 != 1 && $stringIndex != $matchResult.$rightBound0) return (-1); $matchResult.$valid = 1; jur_MatchResultImpl_setEnd($matchResult, 0, $stringIndex); return $stringIndex; } function jur_LeafSet() { jur_AbstractSet.call(this); this.$charCount = 0; } function jur_LeafSet__init_($this) { jur_AbstractSet__init_($this); $this.$charCount = 1; } function jur_LeafSet_matches($this, $stringIndex, $testString, $matchResult) { var $shift; if (($stringIndex + $this.$charCount0() | 0) > $matchResult.$rightBound0) { $matchResult.$hitEnd = 1; return (-1); } $shift = $this.$accepts($stringIndex, $testString); if ($shift < 0) return (-1); return $this.$next4.$matches0($stringIndex + $shift | 0, $testString, $matchResult); } function jur_LeafSet_charCount($this) { return $this.$charCount; } function jur_LeafSet_hasConsumed($this, $mr) { return 1; } var jur_EmptySet = $rt_classWithoutFields(jur_LeafSet); function jur_EmptySet__init_(var_0) { var var_1 = new jur_EmptySet(); jur_EmptySet__init_0(var_1, var_0); return var_1; } function jur_EmptySet__init_0($this, $next) { jur_AbstractSet__init_0($this, $next); $this.$charCount = 1; $this.$type = 1; $this.$charCount = 0; } function jur_EmptySet_accepts($this, $stringIndex, $testString) { return 0; } function jur_EmptySet_find($this, $stringIndex, $testString, $matchResult) { var $strLength, $startStr, $high; $strLength = $matchResult.$rightBound0; $startStr = $matchResult.$leftBound0; while (true) { $high = $rt_compare($stringIndex, $strLength); if ($high > 0) return (-1); if ($high < 0 && jl_Character_isLowSurrogate(jl_String_charAt($testString, $stringIndex)) && $stringIndex > $startStr && jl_Character_isHighSurrogate(jl_String_charAt($testString, $stringIndex - 1 | 0))) { $stringIndex = $stringIndex + 1 | 0; continue; } if ($this.$next4.$matches0($stringIndex, $testString, $matchResult) >= 0) break; $stringIndex = $stringIndex + 1 | 0; } return $stringIndex; } function jur_EmptySet_findBack($this, $stringIndex, $startSearch, $testString, $matchResult) { var $strLength, $startStr; $strLength = $matchResult.$rightBound0; $startStr = $matchResult.$leftBound0; while (true) { if ($startSearch < $stringIndex) return (-1); if ($startSearch < $strLength && jl_Character_isLowSurrogate(jl_String_charAt($testString, $startSearch)) && $startSearch > $startStr && jl_Character_isHighSurrogate(jl_String_charAt($testString, $startSearch - 1 | 0))) { $startSearch = $startSearch + (-1) | 0; continue; } if ($this.$next4.$matches0($startSearch, $testString, $matchResult) >= 0) break; $startSearch = $startSearch + (-1) | 0; } return $startSearch; } function jur_EmptySet_hasConsumed($this, $mr) { return 0; } function jur_JointSet() { var a = this; jur_AbstractSet.call(a); a.$children = null; a.$fSet = null; a.$groupIndex0 = 0; } function jur_JointSet__init_2() { var var_0 = new jur_JointSet(); jur_JointSet__init_(var_0); return var_0; } function jur_JointSet__init_1(var_0, var_1) { var var_2 = new jur_JointSet(); jur_JointSet__init_0(var_2, var_0, var_1); return var_2; } function jur_JointSet__init_($this) { jur_AbstractSet__init_($this); } function jur_JointSet__init_0($this, $children, $fSet) { jur_AbstractSet__init_($this); $this.$children = $children; $this.$fSet = $fSet; $this.$groupIndex0 = $fSet.$groupIndex; } function jur_JointSet_matches($this, $stringIndex, $testString, $matchResult) { var $start, $size, $i, $shift; if ($this.$children === null) return (-1); $start = jur_MatchResultImpl_getStart($matchResult, $this.$groupIndex0); jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $stringIndex); $size = $this.$children.$size; $i = 0; while (true) { if ($i >= $size) { jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $start); return (-1); } $shift = (ju_ArrayList_get($this.$children, $i)).$matches0($stringIndex, $testString, $matchResult); if ($shift >= 0) break; $i = $i + 1 | 0; } return $shift; } function jur_JointSet_setNext($this, $next) { $this.$fSet.$next4 = $next; } function jur_JointSet_first($this, $set) { var $i; a: { $i = $this.$children; if ($i !== null) { $i = ju_AbstractList_iterator($i); while (true) { if (!ju_AbstractList$1_hasNext($i)) break a; if (!(ju_AbstractList$1_next($i)).$first($set)) continue; else return 1; } } } return 0; } function jur_JointSet_hasConsumed($this, $matchResult) { return jur_MatchResultImpl_getEnd($matchResult, $this.$groupIndex0) >= 0 && jur_MatchResultImpl_getStart($matchResult, $this.$groupIndex0) == jur_MatchResultImpl_getEnd($matchResult, $this.$groupIndex0) ? 0 : 1; } function jur_JointSet_processSecondPass($this) { var $child, $childrenSize, $i, $set, var$5, var$6, var$7, var$8, var$9; $this.$isSecondPassVisited = 1; $child = $this.$fSet; if ($child !== null && !$child.$isSecondPassVisited) jur_AbstractSet_processSecondPass($child); a: { b: { $child = $this.$children; if ($child !== null) { $childrenSize = $child.$size; $i = 0; while (true) { if ($i >= $childrenSize) break b; $child = ju_ArrayList_get($this.$children, $i); $set = $child.$processBackRefReplacement(); if ($set === null) $set = $child; else { $child.$isSecondPassVisited = 1; ju_ArrayList_remove($this.$children, $i); var$5 = $this.$children; if ($i < 0) break a; var$6 = var$5.$size; if ($i > var$6) break a; ju_ArrayList_ensureCapacity(var$5, var$6 + 1 | 0); var$7 = var$5.$size; var$8 = var$7; while (var$8 > $i) { var$9 = var$5.$array2.data; var$9[var$8] = var$9[var$8 - 1 | 0]; var$8 = var$8 + (-1) | 0; } var$5.$array2.data[$i] = $set; var$5.$size = var$7 + 1 | 0; var$5.$modCount0 = var$5.$modCount0 + 1 | 0; } if (!$set.$isSecondPassVisited) $set.$processSecondPass(); $i = $i + 1 | 0; } } } if ($this.$next4 !== null) jur_AbstractSet_processSecondPass($this); return; } $child = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($child); $rt_throw($child); } var jur_NonCapJointSet = $rt_classWithoutFields(jur_JointSet); function jur_NonCapJointSet__init_0() { var var_0 = new jur_NonCapJointSet(); jur_NonCapJointSet__init_(var_0); return var_0; } function jur_NonCapJointSet__init_($this) { jur_AbstractSet__init_($this); } function jur_NonCapJointSet_matches($this, $stringIndex, $testString, $matchResult) { var $start, $size, $i, $shift; $start = jur_MatchResultImpl_getConsumed($matchResult, $this.$groupIndex0); jur_MatchResultImpl_setConsumed($matchResult, $this.$groupIndex0, $stringIndex); $size = $this.$children.$size; $i = 0; while (true) { if ($i >= $size) { jur_MatchResultImpl_setConsumed($matchResult, $this.$groupIndex0, $start); return (-1); } $shift = (ju_ArrayList_get($this.$children, $i)).$matches0($stringIndex, $testString, $matchResult); if ($shift >= 0) break; $i = $i + 1 | 0; } return $shift; } function jur_NonCapJointSet_hasConsumed($this, $matchResult) { return !jur_MatchResultImpl_getConsumed($matchResult, $this.$groupIndex0) ? 0 : 1; } var jur_AtomicJointSet = $rt_classWithoutFields(jur_NonCapJointSet); function jur_AtomicJointSet_matches($this, $stringIndex, $testString, $matchResult) { var $start, $size, $i; $start = jur_MatchResultImpl_getConsumed($matchResult, $this.$groupIndex0); jur_MatchResultImpl_setConsumed($matchResult, $this.$groupIndex0, $stringIndex); $size = $this.$children.$size; $i = 0; while ($i < $size) { if ((ju_ArrayList_get($this.$children, $i)).$matches0($stringIndex, $testString, $matchResult) >= 0) return $this.$next4.$matches0($this.$fSet.$index7, $testString, $matchResult); $i = $i + 1 | 0; } jur_MatchResultImpl_setConsumed($matchResult, $this.$groupIndex0, $start); return (-1); } function jur_AtomicJointSet_setNext($this, $next) { $this.$next4 = $next; } var jur_PositiveLookAhead = $rt_classWithoutFields(jur_AtomicJointSet); function jur_PositiveLookAhead_matches($this, $stringIndex, $testString, $matchResult) { var $size, $i; $size = $this.$children.$size; $i = 0; while ($i < $size) { if ((ju_ArrayList_get($this.$children, $i)).$matches0($stringIndex, $testString, $matchResult) >= 0) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); $i = $i + 1 | 0; } return (-1); } function jur_PositiveLookAhead_hasConsumed($this, $matchResult) { return 0; } var jur_NegativeLookAhead = $rt_classWithoutFields(jur_AtomicJointSet); function jur_NegativeLookAhead_matches($this, $stringIndex, $testString, $matchResult) { var $size, $i; $size = $this.$children.$size; $i = 0; while (true) { if ($i >= $size) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ((ju_ArrayList_get($this.$children, $i)).$matches0($stringIndex, $testString, $matchResult) >= 0) break; $i = $i + 1 | 0; } return (-1); } function jur_NegativeLookAhead_hasConsumed($this, $matchResult) { return 0; } var jur_PositiveLookBehind = $rt_classWithoutFields(jur_AtomicJointSet); function jur_PositiveLookBehind_matches($this, $stringIndex, $testString, $matchResult) { var $size, $leftBound, $shift, $i; $size = $this.$children.$size; $leftBound = $matchResult.$transparentBounds ? 0 : $matchResult.$leftBound0; a: { $shift = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($shift >= 0) { jur_MatchResultImpl_setConsumed($matchResult, $this.$groupIndex0, $stringIndex); $i = 0; while (true) { if ($i >= $size) break a; if ((ju_ArrayList_get($this.$children, $i)).$findBack($leftBound, $stringIndex, $testString, $matchResult) >= 0) { jur_MatchResultImpl_setConsumed($matchResult, $this.$groupIndex0, (-1)); return $shift; } $i = $i + 1 | 0; } } } return (-1); } function jur_PositiveLookBehind_hasConsumed($this, $matchResult) { return 0; } var jur_NegativeLookBehind = $rt_classWithoutFields(jur_AtomicJointSet); function jur_NegativeLookBehind_matches($this, $stringIndex, $testString, $matchResult) { var $size, $i; $size = $this.$children.$size; jur_MatchResultImpl_setConsumed($matchResult, $this.$groupIndex0, $stringIndex); $i = 0; while (true) { if ($i >= $size) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ((ju_ArrayList_get($this.$children, $i)).$findBack(0, $stringIndex, $testString, $matchResult) >= 0) break; $i = $i + 1 | 0; } return (-1); } function jur_NegativeLookBehind_hasConsumed($this, $matchResult) { return 0; } function jur_SingleSet() { jur_JointSet.call(this); this.$kid = null; } function jur_SingleSet__init_(var_0, var_1) { var var_2 = new jur_SingleSet(); jur_SingleSet__init_0(var_2, var_0, var_1); return var_2; } function jur_SingleSet__init_0($this, $child, $fSet) { jur_AbstractSet__init_($this); $this.$kid = $child; $this.$fSet = $fSet; $this.$groupIndex0 = $fSet.$groupIndex; } function jur_SingleSet_matches($this, $stringIndex, $testString, $matchResult) { var $start, $shift; $start = jur_MatchResultImpl_getStart($matchResult, $this.$groupIndex0); jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $stringIndex); $shift = $this.$kid.$matches0($stringIndex, $testString, $matchResult); if ($shift >= 0) return $shift; jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $start); return (-1); } function jur_SingleSet_find($this, $stringIndex, $testString, $matchResult) { var $res; $res = $this.$kid.$find0($stringIndex, $testString, $matchResult); if ($res >= 0) jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $res); return $res; } function jur_SingleSet_findBack($this, $stringIndex, $lastIndex, $testString, $matchResult) { var $res; $res = $this.$kid.$findBack($stringIndex, $lastIndex, $testString, $matchResult); if ($res >= 0) jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $res); return $res; } function jur_SingleSet_first($this, $set) { return $this.$kid.$first($set); } function jur_SingleSet_processBackRefReplacement($this) { var $set; $set = new jur_BackReferencedSingleSet; jur_SingleSet__init_0($set, $this.$kid, $this.$fSet); $this.$next4 = $set; return $set; } function jur_SingleSet_processSecondPass($this) { var $set; $this.$isSecondPassVisited = 1; $set = $this.$fSet; if ($set !== null && !$set.$isSecondPassVisited) jur_AbstractSet_processSecondPass($set); $set = $this.$kid; if ($set !== null && !$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$kid.$isSecondPassVisited = 1; $this.$kid = $set; } $this.$kid.$processSecondPass(); } } function nleat_IndexedDBFilesystem$AsyncHandlers$19() { jl_Object.call(this); this.$val$cb11 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$19_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb11, nleat_IndexedDBFilesystem$BooleanResult__new(1)); } function nleat_IndexedDBFilesystem$AsyncHandlers$20() { jl_Object.call(this); this.$val$cb12 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$20_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb12, nleat_IndexedDBFilesystem$BooleanResult__new(0)); } var nleat_IndexedDBFilesystem$FileExists = $rt_classWithoutFields(jl_Enum); var nleat_IndexedDBFilesystem$FileExists_FILE = null; var nleat_IndexedDBFilesystem$FileExists_DIRECTORY = null; var nleat_IndexedDBFilesystem$FileExists_FALSE = null; var nleat_IndexedDBFilesystem$FileExists_$VALUES = null; function nleat_IndexedDBFilesystem$FileExists_$callClinit() { nleat_IndexedDBFilesystem$FileExists_$callClinit = $rt_eraseClinit(nleat_IndexedDBFilesystem$FileExists); nleat_IndexedDBFilesystem$FileExists__clinit_(); } function nleat_IndexedDBFilesystem$FileExists__init_(var_0, var_1) { var var_2 = new nleat_IndexedDBFilesystem$FileExists(); nleat_IndexedDBFilesystem$FileExists__init_0(var_2, var_0, var_1); return var_2; } function nleat_IndexedDBFilesystem$FileExists__init_0($this, var$1, var$2) { nleat_IndexedDBFilesystem$FileExists_$callClinit(); jl_Enum__init_($this, var$1, var$2); } function nleat_IndexedDBFilesystem$FileExists__clinit_() { var var$1; nleat_IndexedDBFilesystem$FileExists_FILE = nleat_IndexedDBFilesystem$FileExists__init_($rt_s(718), 0); nleat_IndexedDBFilesystem$FileExists_DIRECTORY = nleat_IndexedDBFilesystem$FileExists__init_($rt_s(719), 1); var$1 = nleat_IndexedDBFilesystem$FileExists__init_($rt_s(720), 2); nleat_IndexedDBFilesystem$FileExists_FALSE = var$1; nleat_IndexedDBFilesystem$FileExists_$VALUES = $rt_createArrayFromData(nleat_IndexedDBFilesystem$FileExists, [nleat_IndexedDBFilesystem$FileExists_FILE, nleat_IndexedDBFilesystem$FileExists_DIRECTORY, var$1]); } var jur_SpecialToken = $rt_classWithoutFields(); function jur_AbstractCharClass() { var a = this; jur_SpecialToken.call(a); a.$alt0 = 0; a.$altSurrogates = 0; a.$lowHighSurrogates = null; a.$charClassWithoutSurrogates = null; a.$charClassWithSurrogates = null; a.$mayContainSupplCodepoints = 0; } var jur_AbstractCharClass_charClasses = null; function jur_AbstractCharClass_$callClinit() { jur_AbstractCharClass_$callClinit = $rt_eraseClinit(jur_AbstractCharClass); jur_AbstractCharClass__clinit_(); } function jur_AbstractCharClass__init_($this) { var var$1; jur_AbstractCharClass_$callClinit(); var$1 = new ju_BitSet; var$1.$data2 = $rt_createIntArray(64); $this.$lowHighSurrogates = var$1; } function jur_AbstractCharClass_getBits($this) { return null; } function jur_AbstractCharClass_getLowHighSurrogates($this) { return $this.$lowHighSurrogates; } function jur_AbstractCharClass_hasLowHighSurrogates($this) { var var$1, var$2, var$3, var$4, var$5; if (!$this.$altSurrogates) var$1 = ju_BitSet_nextSetBit($this.$lowHighSurrogates, 0) >= 2048 ? 0 : 1; else { a: { var$2 = $this.$lowHighSurrogates; var$1 = 0; var$3 = var$2.$length5; if (var$1 < var$3) { var$4 = var$2.$data2.data; var$5 = (var$4[0] ^ (-1)) >>> 0 | 0; if (var$5) var$1 = jl_Integer_numberOfTrailingZeros(var$5) + var$1 | 0; else { var$1 = (var$3 + 31 | 0) / 32 | 0; var$5 = 1; while (var$5 < var$1) { if (var$4[var$5] != (-1)) { var$1 = (var$5 * 32 | 0) + jl_Integer_numberOfTrailingZeros(var$4[var$5] ^ (-1)) | 0; break a; } var$5 = var$5 + 1 | 0; } var$1 = var$3; } } } var$1 = var$1 >= 2048 ? 0 : 1; } return var$1; } function jur_AbstractCharClass_mayContainSupplCodepoints($this) { return $this.$mayContainSupplCodepoints; } function jur_AbstractCharClass_getInstance($this) { return $this; } function jur_AbstractCharClass_getSurrogates($this) { var $lHS, var$2; if ($this.$charClassWithSurrogates === null) { $lHS = $this.$getLowHighSurrogates(); var$2 = new jur_AbstractCharClass$1; var$2.$this$04 = $this; var$2.$val$lHS = $lHS; jur_AbstractCharClass__init_(var$2); $this.$charClassWithSurrogates = var$2; jur_AbstractCharClass_setNegative(var$2, $this.$altSurrogates); } return $this.$charClassWithSurrogates; } function jur_AbstractCharClass_getWithoutSurrogates($this) { var $lHS, var$2; if ($this.$charClassWithoutSurrogates === null) { $lHS = $this.$getLowHighSurrogates(); var$2 = new jur_AbstractCharClass$2; var$2.$this$05 = $this; var$2.$val$lHS0 = $lHS; var$2.$val$thisClass = $this; jur_AbstractCharClass__init_(var$2); $this.$charClassWithoutSurrogates = var$2; jur_AbstractCharClass_setNegative(var$2, $this.$alt0); $this.$charClassWithoutSurrogates.$mayContainSupplCodepoints = $this.$mayContainSupplCodepoints; } return $this.$charClassWithoutSurrogates; } function jur_AbstractCharClass_hasUCI($this) { return 0; } function jur_AbstractCharClass_setNegative($this, $value) { var var$2; var$2 = $this.$alt0; if (var$2 ^ $value) { $this.$alt0 = var$2 ? 0 : 1; $this.$altSurrogates = $this.$altSurrogates ? 0 : 1; } if (!$this.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; return $this; } function jur_AbstractCharClass_isNegative($this) { return $this.$alt0; } function jur_AbstractCharClass_intersects($cc, $ch) { jur_AbstractCharClass_$callClinit(); return $cc.$contains1($ch); } function jur_AbstractCharClass_intersects0($cc1, $cc2) { var var$3, var$4; jur_AbstractCharClass_$callClinit(); if ($cc1.$getBits() !== null && $cc2.$getBits() !== null) { $cc1 = $cc1.$getBits(); $cc2 = $cc2.$getBits(); var$3 = jl_Math_min($cc1.$data2.data.length, $cc2.$data2.data.length); var$4 = 0; a: { while (var$4 < var$3) { if ($cc1.$data2.data[var$4] & $cc2.$data2.data[var$4]) { var$3 = 1; break a; } var$4 = var$4 + 1 | 0; } var$3 = 0; } return var$3; } return 1; } function jur_AbstractCharClass_getPredefinedClass($name, $negative) { var var$3, var$4, var$5; jur_AbstractCharClass_$callClinit(); var$3 = 0; while (true) { jur_AbstractCharClass$PredefinedCharacterClasses_$callClinit(); var$4 = jur_AbstractCharClass$PredefinedCharacterClasses_contents.data; if (var$3 >= var$4.length) { var$5 = new ju_MissingResourceException; jl_Throwable__init_(var$5, $rt_s(6)); var$5.$className = $rt_s(6); var$5.$key3 = $name; $rt_throw(var$5); } var$4 = var$4[var$3].data; if (jl_String_equals($name, var$4[0])) break; var$3 = var$3 + 1 | 0; } return jur_AbstractCharClass$LazyCharClass_getValue(var$4[1], $negative); } function jur_AbstractCharClass__clinit_() { var var$1; var$1 = new jur_AbstractCharClass$PredefinedCharacterClasses; jur_AbstractCharClass$PredefinedCharacterClasses_$callClinit(); jur_AbstractCharClass_charClasses = var$1; } function jur_CharClass() { var a = this; jur_AbstractCharClass.call(a); a.$ci = 0; a.$uci = 0; a.$hasUCI0 = 0; a.$invertedSurrogates = 0; a.$inverted = 0; a.$hideBits = 0; a.$bits = null; a.$nonBitSet = null; } function jur_CharClass__init_1() { var var_0 = new jur_CharClass(); jur_CharClass__init_(var_0); return var_0; } function jur_CharClass__init_0(var_0, var_1) { var var_2 = new jur_CharClass(); jur_CharClass__init_2(var_2, var_0, var_1); return var_2; } function jur_CharClass__init_($this) { jur_AbstractCharClass__init_($this); $this.$bits = ju_BitSet__init_0(); } function jur_CharClass__init_2($this, $ci, $uci) { jur_AbstractCharClass__init_($this); $this.$bits = ju_BitSet__init_0(); $this.$ci = $ci; $this.$uci = $uci; } function jur_CharClass_add($this, $ch) { a: { if ($this.$ci) { b: { if (!($ch >= 97 && $ch <= 122)) { if ($ch < 65) break b; if ($ch > 90) break b; } if ($this.$inverted) { ju_BitSet_clear($this.$bits, jur_Pattern_getSupplement($ch & 65535)); break a; } ju_BitSet_set($this.$bits, jur_Pattern_getSupplement($ch & 65535)); break a; } if ($this.$uci && $ch > 128) { $this.$hasUCI0 = 1; $ch = jl_Character_toLowerCase0(jl_Character_toUpperCase0($ch)); } } } if (!(!jur_Lexer_isHighSurrogate0($ch) && !jur_Lexer_isLowSurrogate0($ch))) { if ($this.$invertedSurrogates) ju_BitSet_clear($this.$lowHighSurrogates, $ch - 55296 | 0); else ju_BitSet_set($this.$lowHighSurrogates, $ch - 55296 | 0); } if ($this.$inverted) ju_BitSet_clear($this.$bits, $ch); else ju_BitSet_set($this.$bits, $ch); if (!$this.$mayContainSupplCodepoints && jl_Character_isSupplementaryCodePoint($ch)) $this.$mayContainSupplCodepoints = 1; return $this; } function jur_CharClass_add1($this, $cc) { var $curAlt, $nb, var$4; if (!$this.$mayContainSupplCodepoints && $cc.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; if ($this.$invertedSurrogates) { if (!$cc.$altSurrogates) ju_BitSet_andNot($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); else ju_BitSet_and($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); } else if (!$cc.$altSurrogates) ju_BitSet_or($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); else { ju_BitSet_xor($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); ju_BitSet_and($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); $this.$altSurrogates = $this.$altSurrogates ? 0 : 1; $this.$invertedSurrogates = 1; } if (!$this.$hideBits && $cc.$getBits() !== null) { if ($this.$inverted) { if (!$cc.$alt0) ju_BitSet_andNot($this.$bits, $cc.$getBits()); else ju_BitSet_and($this.$bits, $cc.$getBits()); } else if (!$cc.$alt0) ju_BitSet_or($this.$bits, $cc.$getBits()); else { ju_BitSet_xor($this.$bits, $cc.$getBits()); ju_BitSet_and($this.$bits, $cc.$getBits()); $this.$alt0 = $this.$alt0 ? 0 : 1; $this.$inverted = 1; } } else { $curAlt = $this.$alt0; $nb = $this.$nonBitSet; if ($nb !== null) { if (!$curAlt) { var$4 = new jur_CharClass$5; var$4.$this$06 = $this; var$4.$val$curAlt = $curAlt; var$4.$val$nb = $nb; var$4.$val$cc = $cc; jur_AbstractCharClass__init_(var$4); $this.$nonBitSet = var$4; } else { var$4 = new jur_CharClass$4; var$4.$this$07 = $this; var$4.$val$curAlt0 = $curAlt; var$4.$val$nb0 = $nb; var$4.$val$cc0 = $cc; jur_AbstractCharClass__init_(var$4); $this.$nonBitSet = var$4; } } else { if ($curAlt && !$this.$inverted && ju_BitSet_isEmpty($this.$bits)) { $nb = new jur_CharClass$1; $nb.$this$08 = $this; $nb.$val$cc1 = $cc; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } else if (!$curAlt) { $nb = new jur_CharClass$3; $nb.$this$09 = $this; $nb.$val$curAlt1 = $curAlt; $nb.$val$cc2 = $cc; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$2; $nb.$this$010 = $this; $nb.$val$curAlt2 = $curAlt; $nb.$val$cc3 = $cc; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } $this.$hideBits = 1; } } return $this; } function jur_CharClass_add0($this, $i, $end) { var var$3, var$4, var$5, var$6, var$7; if ($i > $end) { var$3 = new jl_IllegalArgumentException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } a: { b: { if (!$this.$ci) { if ($end < 55296) break b; if ($i > 57343) break b; } $end = $end + 1 | 0; while (true) { if ($i >= $end) break a; jur_CharClass_add($this, $i); $i = $i + 1 | 0; } } if (!$this.$inverted) ju_BitSet_set0($this.$bits, $i, $end + 1 | 0); else { var$3 = $this.$bits; $end = $end + 1 | 0; if ($i >= 0 && $i <= $end) { var$4 = var$3.$length5; if ($i < var$4) { var$5 = jl_Math_min(var$4, $end); if ($i != var$5) { var$6 = $i / 32 | 0; $end = var$5 / 32 | 0; if (var$6 == $end) { var$7 = var$3.$data2.data; var$7[var$6] = var$7[var$6] & (ju_BitSet_trailingOneBits(var$3, $i) | ju_BitSet_trailingZeroBits(var$3, var$5)); } else { var$7 = var$3.$data2.data; var$7[var$6] = var$7[var$6] & ju_BitSet_trailingOneBits(var$3, $i); var$4 = var$6 + 1 | 0; while (var$4 < $end) { var$3.$data2.data[var$4] = 0; var$4 = var$4 + 1 | 0; } if (var$5 & 31) { var$7 = var$3.$data2.data; var$7[$end] = var$7[$end] & ju_BitSet_trailingZeroBits(var$3, var$5); } } ju_BitSet_recalculateLength(var$3); } } } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } } } return $this; } function jur_CharClass_union($this, $clazz) { var $curAlt, $nb, var$4; if (!$this.$mayContainSupplCodepoints && $clazz.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; if ($clazz.$hasUCI0) $this.$hasUCI0 = 1; $curAlt = $this.$altSurrogates; if (!($curAlt ^ $clazz.$altSurrogates)) { if (!$curAlt) ju_BitSet_or($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); } else if ($curAlt) ju_BitSet_andNot($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else { ju_BitSet_xor($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); $this.$altSurrogates = 1; } if (!$this.$hideBits && jur_CharClass_getBits($clazz) !== null) { $curAlt = $this.$alt0; if (!($curAlt ^ $clazz.$alt0)) { if (!$curAlt) ju_BitSet_or($this.$bits, jur_CharClass_getBits($clazz)); else ju_BitSet_and($this.$bits, jur_CharClass_getBits($clazz)); } else if ($curAlt) ju_BitSet_andNot($this.$bits, jur_CharClass_getBits($clazz)); else { ju_BitSet_xor($this.$bits, jur_CharClass_getBits($clazz)); ju_BitSet_and($this.$bits, jur_CharClass_getBits($clazz)); $this.$alt0 = 1; } } else { $curAlt = $this.$alt0; $nb = $this.$nonBitSet; if ($nb !== null) { if (!$curAlt) { var$4 = new jur_CharClass$11; var$4.$this$011 = $this; var$4.$val$curAlt3 = $curAlt; var$4.$val$nb1 = $nb; var$4.$val$clazz = $clazz; jur_AbstractCharClass__init_(var$4); $this.$nonBitSet = var$4; } else { var$4 = new jur_CharClass$10; var$4.$this$012 = $this; var$4.$val$curAlt4 = $curAlt; var$4.$val$nb2 = $nb; var$4.$val$clazz0 = $clazz; jur_AbstractCharClass__init_(var$4); $this.$nonBitSet = var$4; } } else { if (!$this.$inverted && ju_BitSet_isEmpty($this.$bits)) { if (!$curAlt) { $nb = new jur_CharClass$7; $nb.$this$013 = $this; $nb.$val$clazz1 = $clazz; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$6; $nb.$this$014 = $this; $nb.$val$clazz2 = $clazz; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } } else if (!$curAlt) { $nb = new jur_CharClass$9; $nb.$this$015 = $this; $nb.$val$clazz3 = $clazz; $nb.$val$curAlt5 = $curAlt; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$8; $nb.$this$016 = $this; $nb.$val$clazz4 = $clazz; $nb.$val$curAlt6 = $curAlt; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } $this.$hideBits = 1; } } } function jur_CharClass_intersection($this, $clazz) { var $curAlt, $nb, var$4; if (!$this.$mayContainSupplCodepoints && $clazz.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; if ($clazz.$hasUCI0) $this.$hasUCI0 = 1; $curAlt = $this.$altSurrogates; if (!($curAlt ^ $clazz.$altSurrogates)) { if (!$curAlt) ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else ju_BitSet_or($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); } else if (!$curAlt) ju_BitSet_andNot($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else { ju_BitSet_xor($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); $this.$altSurrogates = 0; } if (!$this.$hideBits && jur_CharClass_getBits($clazz) !== null) { $curAlt = $this.$alt0; if (!($curAlt ^ $clazz.$alt0)) { if (!$curAlt) ju_BitSet_and($this.$bits, jur_CharClass_getBits($clazz)); else ju_BitSet_or($this.$bits, jur_CharClass_getBits($clazz)); } else if (!$curAlt) ju_BitSet_andNot($this.$bits, jur_CharClass_getBits($clazz)); else { ju_BitSet_xor($this.$bits, jur_CharClass_getBits($clazz)); ju_BitSet_and($this.$bits, jur_CharClass_getBits($clazz)); $this.$alt0 = 0; } } else { $curAlt = $this.$alt0; $nb = $this.$nonBitSet; if ($nb !== null) { if (!$curAlt) { var$4 = new jur_CharClass$17; var$4.$this$017 = $this; var$4.$val$curAlt7 = $curAlt; var$4.$val$nb3 = $nb; var$4.$val$clazz5 = $clazz; jur_AbstractCharClass__init_(var$4); $this.$nonBitSet = var$4; } else { var$4 = new jur_CharClass$16; var$4.$this$018 = $this; var$4.$val$curAlt8 = $curAlt; var$4.$val$nb4 = $nb; var$4.$val$clazz6 = $clazz; jur_AbstractCharClass__init_(var$4); $this.$nonBitSet = var$4; } } else { if (!$this.$inverted && ju_BitSet_isEmpty($this.$bits)) { if (!$curAlt) { $nb = new jur_CharClass$13; $nb.$this$019 = $this; $nb.$val$clazz7 = $clazz; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$12; $nb.$this$020 = $this; $nb.$val$clazz8 = $clazz; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } } else if (!$curAlt) { $nb = new jur_CharClass$15; $nb.$this$021 = $this; $nb.$val$clazz9 = $clazz; $nb.$val$curAlt9 = $curAlt; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$14; $nb.$this$022 = $this; $nb.$val$clazz10 = $clazz; $nb.$val$curAlt10 = $curAlt; jur_AbstractCharClass__init_($nb); $this.$nonBitSet = $nb; } $this.$hideBits = 1; } } } function jur_CharClass_contains($this, $ch) { var var$2; var$2 = $this.$nonBitSet; if (var$2 !== null) return $this.$alt0 ^ var$2.$contains1($ch); return $this.$alt0 ^ ju_BitSet_get($this.$bits, $ch); } function jur_CharClass_getBits($this) { if (!$this.$hideBits) return $this.$bits; return null; } function jur_CharClass_getLowHighSurrogates($this) { return $this.$lowHighSurrogates; } function jur_CharClass_getInstance($this) { var $bs, $res; if ($this.$nonBitSet !== null) return $this; $bs = jur_CharClass_getBits($this); $res = new jur_CharClass$18; $res.$this$023 = $this; $res.$val$bs = $bs; jur_AbstractCharClass__init_($res); return jur_AbstractCharClass_setNegative($res, $this.$alt0); } function jur_CharClass_toString($this) { var $temp, $i, var$3; $temp = new jl_StringBuilder; jl_AbstractStringBuilder__init_($temp); $i = ju_BitSet_nextSetBit($this.$bits, 0); while ($i >= 0) { jl_AbstractStringBuilder_append2($temp, jl_Character_toChars($i)); jl_AbstractStringBuilder_append($temp, 124); $i = ju_BitSet_nextSetBit($this.$bits, $i + 1 | 0); } var$3 = $temp.$length0; if (var$3 > 0) jl_StringBuilder_deleteCharAt($temp, var$3 - 1 | 0); return jl_AbstractStringBuilder_toString($temp); } function jur_CharClass_hasUCI($this) { return $this.$hasUCI0; } function ju_MissingResourceException() { var a = this; jl_RuntimeException.call(a); a.$className = null; a.$key3 = null; } function jur_QuantifierSet() { jur_AbstractSet.call(this); this.$innerSet = null; } function jur_QuantifierSet__init_($this, $innerSet, $next, $type) { jur_AbstractSet__init_0($this, $next); $this.$innerSet = $innerSet; $this.$type = $type; } function jur_QuantifierSet_getInnerSet($this) { return $this.$innerSet; } function jur_QuantifierSet_first($this, $set) { return !$this.$innerSet.$first($set) && !$this.$next4.$first($set) ? 0 : 1; } function jur_QuantifierSet_hasConsumed($this, $mr) { return 1; } function jur_QuantifierSet_processSecondPass($this) { var $set; $this.$isSecondPassVisited = 1; $set = $this.$next4; if ($set !== null && !$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$next4.$isSecondPassVisited = 1; $this.$next4 = $set; } $this.$next4.$processSecondPass(); } $set = $this.$innerSet; if ($set !== null) { if (!$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$innerSet.$isSecondPassVisited = 1; $this.$innerSet = $set; } $this.$innerSet.$processSecondPass(); } else if ($set instanceof jur_SingleSet && $set.$fSet.$isBackReferenced) $this.$innerSet = $set.$next4; } } function jur_LeafQuantifierSet() { jur_QuantifierSet.call(this); this.$leaf = null; } function jur_LeafQuantifierSet__init_0(var_0, var_1, var_2) { var var_3 = new jur_LeafQuantifierSet(); jur_LeafQuantifierSet__init_(var_3, var_0, var_1, var_2); return var_3; } function jur_LeafQuantifierSet__init_($this, $innerSet, $next, $type) { jur_QuantifierSet__init_($this, $innerSet, $next, $type); $this.$leaf = $innerSet; } function jur_LeafQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $i, var$5; $i = 0; a: { while (($stringIndex + $this.$leaf.$charCount0() | 0) <= $matchResult.$rightBound0) { var$5 = $this.$leaf.$accepts($stringIndex, $testString); if (var$5 <= 0) break a; $stringIndex = $stringIndex + var$5 | 0; $i = $i + 1 | 0; } } while (true) { if ($i < 0) return (-1); var$5 = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if (var$5 >= 0) break; $stringIndex = $stringIndex - $this.$leaf.$charCount0() | 0; $i = $i + (-1) | 0; } return var$5; } function jur_CompositeQuantifierSet() { jur_LeafQuantifierSet.call(this); this.$quantifier = null; } function jur_CompositeQuantifierSet__init_0(var_0, var_1, var_2, var_3) { var var_4 = new jur_CompositeQuantifierSet(); jur_CompositeQuantifierSet__init_(var_4, var_0, var_1, var_2, var_3); return var_4; } function jur_CompositeQuantifierSet__init_($this, $quant, $innerSet, $next, $type) { jur_LeafQuantifierSet__init_($this, $innerSet, $next, $type); $this.$quantifier = $quant; } function jur_CompositeQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var var$4, $min, $max, $i, $shift; var$4 = $this.$quantifier; $min = var$4.$min1; $max = var$4.$max1; $i = 0; while (true) { if ($i >= $min) { a: { while ($i < $max) { if (($stringIndex + $this.$leaf.$charCount0() | 0) > $matchResult.$rightBound0) break a; $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break a; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } } while (true) { if ($i < $min) return (-1); $shift = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($shift >= 0) break; $stringIndex = $stringIndex - $this.$leaf.$charCount0() | 0; $i = $i + (-1) | 0; } return $shift; } if (($stringIndex + $this.$leaf.$charCount0() | 0) > $matchResult.$rightBound0) { $matchResult.$hitEnd = 1; return (-1); } $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } return (-1); } var jur_GroupQuantifierSet = $rt_classWithoutFields(jur_QuantifierSet); function jur_GroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $nextIndex; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) return $nextIndex; return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } var jur_AltQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet); function jur_AltQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $shift; $shift = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($shift < 0) $shift = $this.$next4.$matches0($stringIndex, $testString, $matchResult); return $shift; } function jur_AltQuantifierSet_setNext($this, $next) { $this.$next4 = $next; $this.$innerSet.$setNext($next); } var jur_UnifiedQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet); function jur_UnifiedQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { while (($stringIndex + $this.$leaf.$charCount0() | 0) <= $matchResult.$rightBound0 && $this.$leaf.$accepts($stringIndex, $testString) > 0) { $stringIndex = $stringIndex + $this.$leaf.$charCount0() | 0; } return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_UnifiedQuantifierSet_find($this, $stringIndex, $testString, $matchResult) { var $startSearch, $newSearch, $newSearch_0; $startSearch = $this.$next4.$find0($stringIndex, $testString, $matchResult); if ($startSearch < 0) return (-1); $newSearch = $startSearch - $this.$leaf.$charCount0() | 0; while ($newSearch >= $stringIndex && $this.$leaf.$accepts($newSearch, $testString) > 0) { $newSearch_0 = $newSearch - $this.$leaf.$charCount0() | 0; $startSearch = $newSearch; $newSearch = $newSearch_0; } return $startSearch; } function jur_AbstractCharClass$LazyCharClass() { var a = this; jl_Object.call(a); a.$posValue = null; a.$negValue = null; } function jur_AbstractCharClass$LazyCharClass_getValue($this, $negative) { if (!$negative && $this.$posValue === null) $this.$posValue = $this.$computeValue(); else if ($negative && $this.$negValue === null) $this.$negValue = jur_AbstractCharClass_setNegative($this.$computeValue(), 1); if ($negative) return $this.$negValue; return $this.$posValue; } function jur_Quantifier() { var a = this; jur_SpecialToken.call(a); a.$min1 = 0; a.$max1 = 0; } function jur_Quantifier_toString($this) { var var$1, var$2, var$3, var$4, var$5; var$1 = $this.$min1; var$2 = $this.$max1; var$3 = var$2 != 2147483647 ? jl_Integer_toString0(var$2) : $rt_s(6); var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_AbstractStringBuilder_append(var$4, 123); var$5 = jl_StringBuilder_append1(var$4, var$1); jl_AbstractStringBuilder_append(var$5, 44); jl_AbstractStringBuilder_append(jl_StringBuilder_append(var$5, var$3), 125); return jl_AbstractStringBuilder_toString(var$4); } var jur_FSet$PossessiveFSet = $rt_classWithoutFields(jur_AbstractSet); function jur_FSet$PossessiveFSet__init_0() { var var_0 = new jur_FSet$PossessiveFSet(); jur_FSet$PossessiveFSet__init_(var_0); return var_0; } function jur_FSet$PossessiveFSet__init_($this) { jur_AbstractSet__init_($this); } function jur_FSet$PossessiveFSet_matches($this, $stringIndex, $testString, $matchResult) { return $stringIndex; } function jur_FSet$PossessiveFSet_hasConsumed($this, $mr) { return 0; } function ju_BitSet() { var a = this; jl_Object.call(a); a.$data2 = null; a.$length5 = 0; } function ju_BitSet__init_0() { var var_0 = new ju_BitSet(); ju_BitSet__init_(var_0); return var_0; } function ju_BitSet__init_($this) { $this.$data2 = $rt_createIntArray(2); } function ju_BitSet_set($this, $bitIndex) { var var$2, $index, var$4; if ($bitIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } $index = $bitIndex / 32 | 0; if ($bitIndex >= $this.$length5) { ju_BitSet_ensureCapacity($this, $index + 1 | 0); $this.$length5 = $bitIndex + 1 | 0; } var$4 = $this.$data2.data; var$4[$index] = var$4[$index] | 1 << ($bitIndex % 32 | 0); } function ju_BitSet_set0($this, $fromIndex, $toIndex) { var $fromDataIndex, $toDataIndex, var$5, $i, var$7; if ($fromIndex >= 0) { $fromDataIndex = $rt_compare($fromIndex, $toIndex); if ($fromDataIndex <= 0) { if (!$fromDataIndex) return; $fromDataIndex = $fromIndex / 32 | 0; $toDataIndex = $toIndex / 32 | 0; if ($toIndex > $this.$length5) { ju_BitSet_ensureCapacity($this, $toDataIndex + 1 | 0); $this.$length5 = $toIndex; } if ($fromDataIndex == $toDataIndex) { var$5 = $this.$data2.data; var$5[$fromDataIndex] = var$5[$fromDataIndex] | ju_BitSet_trailingZeroBits($this, $fromIndex) & ju_BitSet_trailingOneBits($this, $toIndex); } else { var$5 = $this.$data2.data; var$5[$fromDataIndex] = var$5[$fromDataIndex] | ju_BitSet_trailingZeroBits($this, $fromIndex); $i = $fromDataIndex + 1 | 0; while ($i < $toDataIndex) { $this.$data2.data[$i] = (-1); $i = $i + 1 | 0; } if ($toIndex & 31) { var$5 = $this.$data2.data; var$5[$toDataIndex] = var$5[$toDataIndex] | ju_BitSet_trailingOneBits($this, $toIndex); } } return; } } var$7 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$7); $rt_throw(var$7); } function ju_BitSet_trailingZeroBits($this, $num) { return (-1) << ($num % 32 | 0); } function ju_BitSet_trailingOneBits($this, $num) { $num = $num % 32 | 0; return !$num ? 0 : (-1) >>> (32 - $num | 0) | 0; } function ju_BitSet_clear($this, $bitIndex) { var var$2, $index, var$4, var$5, var$6; if ($bitIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } $index = $bitIndex / 32 | 0; var$4 = $this.$data2.data; if ($index < var$4.length) { var$5 = var$4[$index]; var$6 = ($bitIndex % 32 | 0) & 31; var$4[$index] = var$5 & ((-2) << var$6 | ((-2) >>> (32 - var$6 | 0) | 0)); if ($bitIndex == ($this.$length5 - 1 | 0)) ju_BitSet_recalculateLength($this); } } function ju_BitSet_get($this, $bitIndex) { var var$2, $index, var$4; if ($bitIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } $index = $bitIndex / 32 | 0; var$4 = $this.$data2.data; return $index < var$4.length && var$4[$index] & 1 << ($bitIndex % 32 | 0) ? 1 : 0; } function ju_BitSet_nextSetBit($this, $fromIndex) { var var$2, $top, $index, var$5, $i; if ($fromIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } $top = $this.$length5; if ($fromIndex >= $top) return (-1); $index = $fromIndex / 32 | 0; var$5 = $this.$data2.data; $i = var$5[$index] >>> ($fromIndex % 32 | 0) | 0; if ($i) return jl_Integer_numberOfTrailingZeros($i) + $fromIndex | 0; $top = ($top + 31 | 0) / 32 | 0; $i = $index + 1 | 0; while ($i < $top) { if (var$5[$i]) return ($i * 32 | 0) + jl_Integer_numberOfTrailingZeros(var$5[$i]) | 0; $i = $i + 1 | 0; } return (-1); } function ju_BitSet_ensureCapacity($this, $capacity) { var $newArrayLength, var$3, var$4, var$5; $newArrayLength = $this.$data2.data.length; if ($newArrayLength >= $capacity) return; $newArrayLength = jl_Math_max(($capacity * 3 | 0) / 2 | 0, ($newArrayLength * 2 | 0) + 1 | 0); var$3 = $this.$data2.data; var$4 = $rt_createIntArray($newArrayLength); var$5 = var$4.data; $capacity = jl_Math_min($newArrayLength, var$3.length); $newArrayLength = 0; while ($newArrayLength < $capacity) { var$5[$newArrayLength] = var$3[$newArrayLength]; $newArrayLength = $newArrayLength + 1 | 0; } $this.$data2 = var$4; } function ju_BitSet_recalculateLength($this) { var $top, $i, $sz; $top = ($this.$length5 + 31 | 0) / 32 | 0; $this.$length5 = $top * 32 | 0; $i = $top - 1 | 0; a: { while (true) { if ($i < 0) break a; $sz = jl_Integer_numberOfLeadingZeros($this.$data2.data[$i]); if ($sz < 32) break; $i = $i + (-1) | 0; $this.$length5 = $this.$length5 - 32 | 0; } $this.$length5 = $this.$length5 - $sz | 0; } } function ju_BitSet_and($this, $set) { var $i, $i_0, var$4, var$5; $i = jl_Math_min($this.$data2.data.length, $set.$data2.data.length); $i_0 = 0; while ($i_0 < $i) { var$4 = $this.$data2.data; var$4[$i_0] = var$4[$i_0] & $set.$data2.data[$i_0]; $i_0 = $i_0 + 1 | 0; } while (true) { var$5 = $this.$data2.data; if ($i >= var$5.length) break; var$5[$i] = 0; $i = $i + 1 | 0; } $this.$length5 = jl_Math_min($this.$length5, $set.$length5); ju_BitSet_recalculateLength($this); } function ju_BitSet_andNot($this, $set) { var $sz, $i, var$4; $sz = jl_Math_min($this.$data2.data.length, $set.$data2.data.length); $i = 0; while ($i < $sz) { var$4 = $this.$data2.data; var$4[$i] = var$4[$i] & ($set.$data2.data[$i] ^ (-1)); $i = $i + 1 | 0; } ju_BitSet_recalculateLength($this); } function ju_BitSet_or($this, $set) { var $sz, $i, var$4; $sz = jl_Math_max($this.$length5, $set.$length5); $this.$length5 = $sz; ju_BitSet_ensureCapacity($this, ($sz + 31 | 0) / 32 | 0); $sz = jl_Math_min($this.$data2.data.length, $set.$data2.data.length); $i = 0; while ($i < $sz) { var$4 = $this.$data2.data; var$4[$i] = var$4[$i] | $set.$data2.data[$i]; $i = $i + 1 | 0; } } function ju_BitSet_xor($this, $set) { var $sz, $i, var$4; $sz = jl_Math_max($this.$length5, $set.$length5); $this.$length5 = $sz; ju_BitSet_ensureCapacity($this, ($sz + 31 | 0) / 32 | 0); $sz = jl_Math_min($this.$data2.data.length, $set.$data2.data.length); $i = 0; while ($i < $sz) { var$4 = $this.$data2.data; var$4[$i] = var$4[$i] ^ $set.$data2.data[$i]; $i = $i + 1 | 0; } ju_BitSet_recalculateLength($this); } function ju_BitSet_isEmpty($this) { return $this.$length5 ? 0 : 1; } function jur_LowHighSurrogateRangeSet() { var a = this; jur_JointSet.call(a); a.$surrChars = null; a.$alt = 0; } function jur_CompositeRangeSet() { var a = this; jur_JointSet.call(a); a.$withoutSurrogates = null; a.$withSurrogates = null; } function jur_CompositeRangeSet__init_(var_0, var_1) { var var_2 = new jur_CompositeRangeSet(); jur_CompositeRangeSet__init_0(var_2, var_0, var_1); return var_2; } function jur_CompositeRangeSet__init_0($this, $withoutSurrogates, $withSurrogates) { jur_AbstractSet__init_($this); $this.$withoutSurrogates = $withoutSurrogates; $this.$withSurrogates = $withSurrogates; } function jur_CompositeRangeSet_matches($this, $stringIndex, $testString, $matchResult) { var $shift, var$5, var$6, var$7, var$8; $shift = $this.$withoutSurrogates.$matches0($stringIndex, $testString, $matchResult); if ($shift < 0) a: { var$5 = $this.$withSurrogates; var$6 = $matchResult.$leftBound0; $shift = $matchResult.$rightBound0; var$7 = $stringIndex + 1 | 0; $shift = $rt_compare(var$7, $shift); if ($shift > 0) { $matchResult.$hitEnd = 1; $shift = (-1); } else { var$8 = jl_String_charAt($testString, $stringIndex); if (!var$5.$surrChars.$contains1(var$8)) $shift = (-1); else { if (jl_Character_isHighSurrogate(var$8)) { if ($shift < 0 && jl_Character_isLowSurrogate(jl_String_charAt($testString, var$7))) { $shift = (-1); break a; } } else if (jl_Character_isLowSurrogate(var$8) && $stringIndex > var$6 && jl_Character_isHighSurrogate(jl_String_charAt($testString, $stringIndex - 1 | 0))) { $shift = (-1); break a; } $shift = var$5.$next4.$matches0(var$7, $testString, $matchResult); } } } if ($shift >= 0) return $shift; return (-1); } function jur_CompositeRangeSet_setNext($this, $next) { $this.$next4 = $next; $this.$withSurrogates.$next4 = $next; $this.$withoutSurrogates.$setNext($next); } function jur_CompositeRangeSet_hasConsumed($this, $matchResult) { return 1; } function jur_CompositeRangeSet_first($this, $set) { return 1; } function jur_SupplRangeSet() { var a = this; jur_JointSet.call(a); a.$chars = null; a.$alt1 = 0; } function jur_SupplRangeSet__init_(var_0) { var var_1 = new jur_SupplRangeSet(); jur_SupplRangeSet__init_0(var_1, var_0); return var_1; } function jur_SupplRangeSet__init_0($this, $cc) { jur_AbstractSet__init_($this); $this.$chars = $cc.$getInstance2(); $this.$alt1 = $cc.$alt0; } function jur_SupplRangeSet_matches($this, $stringIndex, $testString, $matchResult) { var $strLength, $low, $high, $offset; $strLength = $matchResult.$rightBound0; if ($stringIndex < $strLength) { $low = $stringIndex + 1 | 0; $high = jl_String_charAt($testString, $stringIndex); if ($this.$contains1($high)) { $offset = $this.$next4.$matches0($low, $testString, $matchResult); if ($offset > 0) return $offset; } if ($low < $strLength) { $stringIndex = $low + 1 | 0; $low = jl_String_charAt($testString, $low); if (jl_Character_isSurrogatePair($high, $low) && $this.$contains1(jl_Character_toCodePoint($high, $low))) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } } return (-1); } function jur_SupplRangeSet_contains($this, $ch) { return $this.$chars.$contains1($ch); } function jur_SupplRangeSet_first($this, $set) { if ($set instanceof jur_SupplCharSet) return jur_AbstractCharClass_intersects($this.$chars, $set.$ch1); if ($set instanceof jur_CharSet) return jur_AbstractCharClass_intersects($this.$chars, $set.$ch2); if ($set instanceof jur_SupplRangeSet) return jur_AbstractCharClass_intersects0($this.$chars, $set.$chars); if (!($set instanceof jur_RangeSet)) return 1; return jur_AbstractCharClass_intersects0($this.$chars, $set.$chars0); } function jur_SupplRangeSet_getChars($this) { return $this.$chars; } function jur_SupplRangeSet_setNext($this, $next) { $this.$next4 = $next; } function jur_SupplRangeSet_hasConsumed($this, $mr) { return 1; } var jur_UCISupplRangeSet = $rt_classWithoutFields(jur_SupplRangeSet); function jur_UCISupplRangeSet_contains($this, $ch) { return $this.$chars.$contains1(jl_Character_toLowerCase0(jl_Character_toUpperCase0($ch))); } function jur_UCIRangeSet() { var a = this; jur_LeafSet.call(a); a.$chars1 = null; a.$alt2 = 0; } function jur_UCIRangeSet__init_(var_0) { var var_1 = new jur_UCIRangeSet(); jur_UCIRangeSet__init_0(var_1, var_0); return var_1; } function jur_UCIRangeSet__init_0($this, $cc) { jur_LeafSet__init_($this); $this.$chars1 = $cc.$getInstance2(); $this.$alt2 = $cc.$alt0; } function jur_UCIRangeSet_accepts($this, $strIndex, $testString) { return !$this.$chars1.$contains1(jl_Character_toLowerCase(jl_Character_toUpperCase(jl_String_charAt($testString, $strIndex)))) ? (-1) : 1; } function jur_RangeSet() { var a = this; jur_LeafSet.call(a); a.$chars0 = null; a.$alt3 = 0; } function jur_RangeSet__init_(var_0) { var var_1 = new jur_RangeSet(); jur_RangeSet__init_0(var_1, var_0); return var_1; } function jur_RangeSet__init_0($this, $cc) { jur_LeafSet__init_($this); $this.$chars0 = $cc.$getInstance2(); $this.$alt3 = $cc.$alt0; } function jur_RangeSet_accepts($this, $strIndex, $testString) { return !$this.$chars0.$contains1(jl_String_charAt($testString, $strIndex)) ? (-1) : 1; } function jur_RangeSet_first($this, $set) { if ($set instanceof jur_CharSet) return jur_AbstractCharClass_intersects($this.$chars0, $set.$ch2); if ($set instanceof jur_RangeSet) return jur_AbstractCharClass_intersects0($this.$chars0, $set.$chars0); if (!($set instanceof jur_SupplRangeSet)) { if (!($set instanceof jur_SupplCharSet)) return 1; return 0; } return jur_AbstractCharClass_intersects0($this.$chars0, $set.$chars); } function jur_HangulDecomposedCharSet() { var a = this; jur_JointSet.call(a); a.$decomposedChar = null; a.$decomposedCharUTF16 = null; a.$decomposedCharLength = 0; } function jur_HangulDecomposedCharSet__init_(var_0, var_1) { var var_2 = new jur_HangulDecomposedCharSet(); jur_HangulDecomposedCharSet__init_0(var_2, var_0, var_1); return var_2; } function jur_HangulDecomposedCharSet__init_0($this, $decomposedChar, $decomposedCharLength) { jur_AbstractSet__init_($this); $this.$decomposedChar = $decomposedChar; $this.$decomposedCharLength = $decomposedCharLength; } function jur_HangulDecomposedCharSet_setNext($this, $next) { $this.$next4 = $next; } function jur_HangulDecomposedCharSet_getDecomposedChar($this) { if ($this.$decomposedCharUTF16 === null) $this.$decomposedCharUTF16 = jl_String__init_($this.$decomposedChar); return $this.$decomposedCharUTF16; } function jur_HangulDecomposedCharSet_matches($this, $strIndex, $testString, $matchResult) { var $rightBound, $decompSyllable, $vIndex, $tIndex, var$8, $curSymb, $lIndex, $i, $decompCurSymb, $syllIndex; $rightBound = $matchResult.$rightBound0; $decompSyllable = $rt_createIntArray(3); $vIndex = (-1); $tIndex = (-1); if ($strIndex >= $rightBound) return (-1); var$8 = $strIndex + 1 | 0; $curSymb = jl_String_charAt($testString, $strIndex); $strIndex = $curSymb - 44032 | 0; if ($strIndex >= 0 && $strIndex < 11172) { $lIndex = 4352 + ($strIndex / 588 | 0) | 0; $i = 4449 + (($strIndex % 588 | 0) / 28 | 0) | 0; $strIndex = $strIndex % 28 | 0; $decompCurSymb = !$strIndex ? $rt_createIntArrayFromData([$lIndex, $i]) : $rt_createIntArrayFromData([$lIndex, $i, 4519 + $strIndex | 0]); } else $decompCurSymb = null; if ($decompCurSymb !== null) { $decompCurSymb = $decompCurSymb.data; $i = 0; $strIndex = $decompCurSymb.length; $syllIndex = $this.$decomposedCharLength; if ($strIndex != $syllIndex) return (-1); while (true) { if ($i >= $syllIndex) return $this.$next4.$matches0(var$8, $testString, $matchResult); if ($decompCurSymb[$i] != $this.$decomposedChar.data[$i]) break; $i = $i + 1 | 0; } return (-1); } $decompSyllable = $decompSyllable.data; $decompSyllable[0] = $curSymb; $lIndex = $curSymb - 4352 | 0; if ($lIndex >= 0 && $lIndex < 19) { if (var$8 < $rightBound) { $curSymb = jl_String_charAt($testString, var$8); $vIndex = $curSymb - 4449 | 0; } if ($vIndex >= 0 && $vIndex < 21) { $lIndex = var$8 + 1 | 0; $decompSyllable[1] = $curSymb; if ($lIndex < $rightBound) { $curSymb = jl_String_charAt($testString, $lIndex); $tIndex = $curSymb - 4519 | 0; } if ($tIndex >= 0 && $tIndex < 28) { a: { $strIndex = $lIndex + 1 | 0; $decompSyllable[2] = $curSymb; if ($this.$decomposedCharLength == 3) { $lIndex = $decompSyllable[0]; $decompCurSymb = $this.$decomposedChar.data; if ($lIndex == $decompCurSymb[0] && $decompSyllable[1] == $decompCurSymb[1] && $decompSyllable[2] == $decompCurSymb[2]) { $strIndex = $this.$next4.$matches0($strIndex, $testString, $matchResult); break a; } } $strIndex = (-1); } return $strIndex; } b: { if ($this.$decomposedCharLength == 2) { $strIndex = $decompSyllable[0]; $decompCurSymb = $this.$decomposedChar.data; if ($strIndex == $decompCurSymb[0] && $decompSyllable[1] == $decompCurSymb[1]) { $strIndex = $this.$next4.$matches0($lIndex, $testString, $matchResult); break b; } } $strIndex = (-1); } return $strIndex; } return (-1); } return (-1); } function jur_HangulDecomposedCharSet_first($this, $set) { return $set instanceof jur_HangulDecomposedCharSet && !jl_String_equals(jur_HangulDecomposedCharSet_getDecomposedChar($set), jur_HangulDecomposedCharSet_getDecomposedChar($this)) ? 0 : 1; } function jur_HangulDecomposedCharSet_hasConsumed($this, $matchResult) { return 1; } function jur_CharSet() { jur_LeafSet.call(this); this.$ch2 = 0; } function jur_CharSet__init_(var_0) { var var_1 = new jur_CharSet(); jur_CharSet__init_0(var_1, var_0); return var_1; } function jur_CharSet__init_0($this, $ch) { jur_LeafSet__init_($this); $this.$ch2 = $ch; } function jur_CharSet_charCount($this) { return 1; } function jur_CharSet_accepts($this, $strIndex, $testString) { return $this.$ch2 != jl_String_charAt($testString, $strIndex) ? (-1) : 1; } function jur_CharSet_find($this, $strIndex, $testStr, $matchResult) { var $strLength, var$5, var$6; if (!($testStr instanceof jl_String)) return jur_AbstractSet_find($this, $strIndex, $testStr, $matchResult); $strLength = $matchResult.$rightBound0; while (true) { if ($strIndex >= $strLength) return (-1); var$5 = jl_String_indexOf($testStr, $this.$ch2, $strIndex); if (var$5 < 0) return (-1); var$6 = $this.$next4; $strIndex = var$5 + 1 | 0; if (var$6.$matches0($strIndex, $testStr, $matchResult) >= 0) break; } return var$5; } function jur_CharSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult) { var var$5; if (!($testStr instanceof jl_String)) return jur_AbstractSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult); a: { while (true) { if ($lastIndex < $strIndex) return (-1); var$5 = jl_String_lastIndexOf0($testStr, $this.$ch2, $lastIndex); if (var$5 < 0) break a; if (var$5 < $strIndex) break a; if ($this.$next4.$matches0(var$5 + 1 | 0, $testStr, $matchResult) >= 0) break; $lastIndex = var$5 + (-1) | 0; } return var$5; } return (-1); } function jur_CharSet_first($this, $set) { if ($set instanceof jur_CharSet) return $set.$ch2 != $this.$ch2 ? 0 : 1; if (!($set instanceof jur_RangeSet)) { if ($set instanceof jur_SupplRangeSet) return $set.$contains1($this.$ch2); if (!($set instanceof jur_SupplCharSet)) return 1; return 0; } return jur_RangeSet_accepts($set, 0, jl_Character_toString($this.$ch2)) <= 0 ? 0 : 1; } function jur_UCICharSet() { jur_LeafSet.call(this); this.$ch3 = 0; } function jur_UCICharSet__init_(var_0) { var var_1 = new jur_UCICharSet(); jur_UCICharSet__init_0(var_1, var_0); return var_1; } function jur_UCICharSet__init_0($this, $ch) { jur_LeafSet__init_($this); $this.$ch3 = jl_Character_toLowerCase(jl_Character_toUpperCase($ch)); } function jur_UCICharSet_accepts($this, $strIndex, $testString) { return $this.$ch3 != jl_Character_toLowerCase(jl_Character_toUpperCase(jl_String_charAt($testString, $strIndex))) ? (-1) : 1; } function jur_CICharSet() { var a = this; jur_LeafSet.call(a); a.$ch4 = 0; a.$supplement = 0; } function jur_CICharSet__init_(var_0) { var var_1 = new jur_CICharSet(); jur_CICharSet__init_0(var_1, var_0); return var_1; } function jur_CICharSet__init_0($this, $ch) { jur_LeafSet__init_($this); $this.$ch4 = $ch; $this.$supplement = jur_Pattern_getSupplement($ch); } function jur_CICharSet_accepts($this, $strIndex, $testString) { return $this.$ch4 != jl_String_charAt($testString, $strIndex) && $this.$supplement != jl_String_charAt($testString, $strIndex) ? (-1) : 1; } function jur_DecomposedCharSet() { var a = this; jur_JointSet.call(a); a.$readCharsForCodePoint = 0; a.$decomposedCharUTF160 = null; a.$decomposedChar0 = null; a.$decomposedCharLength0 = 0; } function jur_DecomposedCharSet__init_(var_0, var_1) { var var_2 = new jur_DecomposedCharSet(); jur_DecomposedCharSet__init_0(var_2, var_0, var_1); return var_2; } function jur_DecomposedCharSet__init_0($this, $decomposedChar, $decomposedCharLength) { jur_AbstractSet__init_($this); $this.$readCharsForCodePoint = 1; $this.$decomposedChar0 = $decomposedChar; $this.$decomposedCharLength0 = $decomposedCharLength; } function jur_DecomposedCharSet_setNext($this, $next) { $this.$next4 = $next; } function jur_DecomposedCharSet_matches($this, $strIndex, $testString, $matchResult) { var $decCodePoint, $rightBound, $curChar, var$7, $decCurCodePoint, var$9, var$10, $readCodePoints; $decCodePoint = $rt_createIntArray(4); $rightBound = $matchResult.$rightBound0; if ($strIndex >= $rightBound) return (-1); $curChar = jur_DecomposedCharSet_codePointAt($this, $strIndex, $testString, $rightBound); var$7 = $strIndex + $this.$readCharsForCodePoint | 0; $decCurCodePoint = jur_Lexer_getDecomposition($curChar); if ($decCurCodePoint === null) { $decCurCodePoint = $decCodePoint.data; $strIndex = 1; $decCurCodePoint[0] = $curChar; } else { $strIndex = $decCurCodePoint.data.length; jl_System_fastArraycopy($decCurCodePoint, 0, $decCodePoint, 0, $strIndex); $strIndex = 0 + $strIndex | 0; } a: { if (var$7 < $rightBound) { var$9 = $decCodePoint.data; $curChar = jur_DecomposedCharSet_codePointAt($this, var$7, $testString, $rightBound); while ($strIndex < 4) { if (!(($curChar != 832 ? 0 : 1) | ($curChar != 833 ? 0 : 1) | ($curChar != 835 ? 0 : 1) | ($curChar != 836 ? 0 : 1))) { var$10 = $strIndex + 1 | 0; var$9[$strIndex] = $curChar; } else { $decCurCodePoint = (jur_Lexer_getDecomposition($curChar)).data; if ($decCurCodePoint.length != 2) { var$10 = $strIndex + 1 | 0; var$9[$strIndex] = $decCurCodePoint[0]; } else { $readCodePoints = $strIndex + 1 | 0; var$9[$strIndex] = $decCurCodePoint[0]; var$10 = $readCodePoints + 1 | 0; var$9[$readCodePoints] = $decCurCodePoint[1]; } } var$7 = var$7 + $this.$readCharsForCodePoint | 0; if (var$7 >= $rightBound) { $strIndex = var$10; break a; } $curChar = jur_DecomposedCharSet_codePointAt($this, var$7, $testString, $rightBound); $strIndex = var$10; } } } if ($strIndex != $this.$decomposedCharLength0) return (-1); $decCurCodePoint = $decCodePoint.data; $curChar = 0; while (true) { if ($curChar >= $strIndex) return $this.$next4.$matches0(var$7, $testString, $matchResult); if ($decCurCodePoint[$curChar] != $this.$decomposedChar0.data[$curChar]) break; $curChar = $curChar + 1 | 0; } return (-1); } function jur_DecomposedCharSet_getDecomposedChar($this) { var $strBuff, $i; if ($this.$decomposedCharUTF160 === null) { $strBuff = new jl_StringBuilder; jl_AbstractStringBuilder__init_($strBuff); $i = 0; while ($i < $this.$decomposedCharLength0) { jl_AbstractStringBuilder_append2($strBuff, jl_Character_toChars($this.$decomposedChar0.data[$i])); $i = $i + 1 | 0; } $this.$decomposedCharUTF160 = jl_AbstractStringBuilder_toString($strBuff); } return $this.$decomposedCharUTF160; } function jur_DecomposedCharSet_codePointAt($this, $strIndex, $testString, $rightBound) { var $curChar, $low, $curCodePointUTF16; $this.$readCharsForCodePoint = 1; if ($strIndex >= ($rightBound - 1 | 0)) $curChar = jl_String_charAt($testString, $strIndex); else { $rightBound = $strIndex + 1 | 0; $curChar = jl_String_charAt($testString, $strIndex); $low = jl_String_charAt($testString, $rightBound); if (jl_Character_isSurrogatePair($curChar, $low)) { $curCodePointUTF16 = $rt_createCharArray(2).data; $curCodePointUTF16[0] = $curChar; $curCodePointUTF16[1] = $low; $curChar = 0 < ($curCodePointUTF16.length - 1 | 0) && jl_Character_isHighSurrogate($curCodePointUTF16[0]) && jl_Character_isLowSurrogate($curCodePointUTF16[1]) ? jl_Character_toCodePoint($curCodePointUTF16[0], $curCodePointUTF16[1]) : $curCodePointUTF16[0]; $this.$readCharsForCodePoint = 2; } } return $curChar; } function jur_DecomposedCharSet_first($this, $set) { return $set instanceof jur_DecomposedCharSet && !jl_String_equals(jur_DecomposedCharSet_getDecomposedChar($set), jur_DecomposedCharSet_getDecomposedChar($this)) ? 0 : 1; } function jur_DecomposedCharSet_hasConsumed($this, $matchResult) { return 1; } var jur_UCIDecomposedCharSet = $rt_classWithoutFields(jur_DecomposedCharSet); var jur_CIDecomposedCharSet = $rt_classWithoutFields(jur_DecomposedCharSet); var jur_PossessiveGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet); function jur_PossessiveGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $stringIndex_0; while (true) { $stringIndex_0 = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($stringIndex_0 <= 0) break; $stringIndex = $stringIndex_0; } return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } var jur_PosPlusGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet); function jur_PosPlusGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $nextIndex; $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex < 0) return (-1); if ($nextIndex > $stringIndex) { while (true) { $stringIndex = $this.$innerSet.$matches0($nextIndex, $testString, $matchResult); if ($stringIndex <= $nextIndex) break; $nextIndex = $stringIndex; } $stringIndex = $nextIndex; } return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } var jur_AltGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet); function jur_AltGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $nextIndex; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) return $nextIndex; return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_AltGroupQuantifierSet_setNext($this, $next) { $this.$next4 = $next; $this.$innerSet.$setNext($next); } var jur_PosAltGroupQuantifierSet = $rt_classWithoutFields(jur_AltGroupQuantifierSet); function jur_PosAltGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $nextIndex; $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex <= 0) $nextIndex = $stringIndex; return $this.$next4.$matches0($nextIndex, $testString, $matchResult); } function jur_PosAltGroupQuantifierSet_setNext($this, $next) { $this.$next4 = $next; } function jur_CompositeGroupQuantifierSet() { var a = this; jur_GroupQuantifierSet.call(a); a.$quantifier0 = null; a.$setCounter = 0; } function jur_CompositeGroupQuantifierSet__init_0(var_0, var_1, var_2, var_3, var_4) { var var_5 = new jur_CompositeGroupQuantifierSet(); jur_CompositeGroupQuantifierSet__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function jur_CompositeGroupQuantifierSet__init_($this, $quant, $innerSet, $next, $type, $setCounter) { jur_QuantifierSet__init_($this, $innerSet, $next, $type); $this.$quantifier0 = $quant; $this.$setCounter = $setCounter; } function jur_CompositeGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $enterCounter, $nextIndex; $enterCounter = jur_MatchResultImpl_getEnterCounter($matchResult, $this.$setCounter); if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($enterCounter >= $this.$quantifier0.$max1) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); $nextIndex = $this.$setCounter; $enterCounter = $enterCounter + 1 | 0; jur_MatchResultImpl_setEnterCounter($matchResult, $nextIndex, $enterCounter); $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) { jur_MatchResultImpl_setEnterCounter($matchResult, $this.$setCounter, 0); return $nextIndex; } $nextIndex = $this.$setCounter; $enterCounter = $enterCounter + (-1) | 0; jur_MatchResultImpl_setEnterCounter($matchResult, $nextIndex, $enterCounter); if ($enterCounter >= $this.$quantifier0.$min1) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); jur_MatchResultImpl_setEnterCounter($matchResult, $this.$setCounter, 0); return (-1); } var jur_PosCompositeGroupQuantifierSet = $rt_classWithoutFields(jur_CompositeGroupQuantifierSet); function jur_PosCompositeGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $counter, $max, $nextIndex; $counter = 0; $max = $this.$quantifier0.$max1; a: { while (true) { $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex <= $stringIndex) break a; if ($counter >= $max) break; $counter = $counter + 1 | 0; $stringIndex = $nextIndex; } } if ($nextIndex < 0 && $counter < $this.$quantifier0.$min1) return (-1); return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } var jur_ReluctantGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet); function jur_ReluctantGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $res; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); $res = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($res >= 0) return $res; return $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); } var jur_RelAltGroupQuantifierSet = $rt_classWithoutFields(jur_AltGroupQuantifierSet); function jur_RelAltGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $nextIndex; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); $nextIndex = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex < 0) $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); return $nextIndex; } var jur_RelCompositeGroupQuantifierSet = $rt_classWithoutFields(jur_CompositeGroupQuantifierSet); function jur_RelCompositeGroupQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $enterCounter, var$5, $nextIndex; $enterCounter = jur_MatchResultImpl_getEnterCounter($matchResult, $this.$setCounter); if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches0($stringIndex, $testString, $matchResult); var$5 = $this.$quantifier0; if ($enterCounter >= var$5.$max1) { jur_MatchResultImpl_setEnterCounter($matchResult, $this.$setCounter, 0); return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } if ($enterCounter < var$5.$min1) { jur_MatchResultImpl_setEnterCounter($matchResult, $this.$setCounter, $enterCounter + 1 | 0); $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); } else { $nextIndex = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) { jur_MatchResultImpl_setEnterCounter($matchResult, $this.$setCounter, 0); return $nextIndex; } jur_MatchResultImpl_setEnterCounter($matchResult, $this.$setCounter, $enterCounter + 1 | 0); $nextIndex = $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); } return $nextIndex; } var jur_DotAllQuantifierSet = $rt_classWithoutFields(jur_QuantifierSet); function jur_DotAllQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $strLength; $strLength = $matchResult.$rightBound0; if ($strLength > $stringIndex) return $this.$next4.$findBack($stringIndex, $strLength, $testString, $matchResult); return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_DotAllQuantifierSet_find($this, $stringIndex, $testString, $matchResult) { var $strLength; $strLength = $matchResult.$rightBound0; if ($this.$next4.$findBack($stringIndex, $strLength, $testString, $matchResult) >= 0) return $stringIndex; return (-1); } function jur_DotQuantifierSet() { jur_QuantifierSet.call(this); this.$lt = null; } function jur_DotQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $strLength, $startSearch; $strLength = $matchResult.$rightBound0; $startSearch = jur_DotQuantifierSet_findLineTerminator($this, $stringIndex, $strLength, $testString); if ($startSearch >= 0) $strLength = $startSearch; if ($strLength > $stringIndex) return $this.$next4.$findBack($stringIndex, $strLength, $testString, $matchResult); return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_DotQuantifierSet_find($this, $stringIndex, $testString, $matchResult) { var $strLength, $res, $nextSearch, $leftBound; $strLength = $matchResult.$rightBound0; $res = $this.$next4.$find0($stringIndex, $testString, $matchResult); if ($res < 0) return (-1); $nextSearch = jur_DotQuantifierSet_findLineTerminator($this, $res, $strLength, $testString); if ($nextSearch >= 0) $strLength = $nextSearch; $nextSearch = jl_Math_max($res, $this.$next4.$findBack($res, $strLength, $testString, $matchResult)); if ($nextSearch <= 0) $leftBound = $nextSearch ? (-1) : 0; else { $leftBound = $nextSearch - 1 | 0; a: { while (true) { if ($leftBound < $stringIndex) { $leftBound = (-1); break a; } if ($this.$lt.$isLineTerminator(jl_String_charAt($testString, $leftBound))) break; $leftBound = $leftBound + (-1) | 0; } } } if ($leftBound >= $stringIndex) $stringIndex = $leftBound >= $nextSearch ? $leftBound : $leftBound + 1 | 0; return $stringIndex; } function jur_DotQuantifierSet_findLineTerminator($this, $i, $to, $testString) { while (true) { if ($i >= $to) return (-1); if ($this.$lt.$isLineTerminator(jl_String_charAt($testString, $i))) break; $i = $i + 1 | 0; } return $i; } var jur_AbstractLineTerminator = $rt_classWithoutFields(); var jur_AbstractLineTerminator_unixLT = null; var jur_AbstractLineTerminator_unicodeLT = null; function jur_AbstractLineTerminator_getInstance($flag) { var var$2; if (!($flag & 1)) { var$2 = jur_AbstractLineTerminator_unicodeLT; if (var$2 !== null) return var$2; var$2 = new jur_AbstractLineTerminator$2; jur_AbstractLineTerminator_unicodeLT = var$2; return var$2; } var$2 = jur_AbstractLineTerminator_unixLT; if (var$2 !== null) return var$2; var$2 = new jur_AbstractLineTerminator$1; jur_AbstractLineTerminator_unixLT = var$2; return var$2; } var jur_PossessiveQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet); function jur_PossessiveQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var var$4; a: { while (true) { if (($stringIndex + $this.$leaf.$charCount0() | 0) > $matchResult.$rightBound0) break a; var$4 = $this.$leaf.$accepts($stringIndex, $testString); if (var$4 < 1) break; $stringIndex = $stringIndex + var$4 | 0; } } return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } var jur_PossessiveAltQuantifierSet = $rt_classWithoutFields(jur_AltQuantifierSet); function jur_PossessiveAltQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var var$4; if (($stringIndex + $this.$leaf.$charCount0() | 0) <= $matchResult.$rightBound0) { var$4 = $this.$leaf.$accepts($stringIndex, $testString); if (var$4 >= 1) $stringIndex = $stringIndex + var$4 | 0; } return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } var jur_PossessiveCompositeQuantifierSet = $rt_classWithoutFields(jur_CompositeQuantifierSet); function jur_PossessiveCompositeQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var var$4, $min, $max, $i, $shift; var$4 = $this.$quantifier; $min = var$4.$min1; $max = var$4.$max1; $i = 0; while (true) { if ($i >= $min) { a: { while (true) { if ($i >= $max) break a; if (($stringIndex + $this.$leaf.$charCount0() | 0) > $matchResult.$rightBound0) break a; $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } } return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } if (($stringIndex + $this.$leaf.$charCount0() | 0) > $matchResult.$rightBound0) { $matchResult.$hitEnd = 1; return (-1); } $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } return (-1); } var jur_ReluctantQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet); function jur_ReluctantQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var var$4; while (true) { var$4 = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if (var$4 >= 0) break; if (($stringIndex + $this.$leaf.$charCount0() | 0) <= $matchResult.$rightBound0) { var$4 = $this.$leaf.$accepts($stringIndex, $testString); $stringIndex = $stringIndex + var$4 | 0; } if (var$4 < 1) return (-1); } return var$4; } var jur_ReluctantAltQuantifierSet = $rt_classWithoutFields(jur_AltQuantifierSet); function jur_ReluctantAltQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var $shift; $shift = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if ($shift >= 0) return $shift; return $this.$innerSet.$matches0($stringIndex, $testString, $matchResult); } var jur_ReluctantCompositeQuantifierSet = $rt_classWithoutFields(jur_CompositeQuantifierSet); function jur_ReluctantCompositeQuantifierSet_matches($this, $stringIndex, $testString, $matchResult) { var var$4, $min, $max, $i, var$8, var$9; var$4 = $this.$quantifier; $min = var$4.$min1; $max = var$4.$max1; $i = 0; while (true) { if ($i >= $min) { a: { while (true) { var$8 = $this.$next4.$matches0($stringIndex, $testString, $matchResult); if (var$8 >= 0) break; if (($stringIndex + $this.$leaf.$charCount0() | 0) <= $matchResult.$rightBound0) { var$8 = $this.$leaf.$accepts($stringIndex, $testString); $stringIndex = $stringIndex + var$8 | 0; $i = $i + 1 | 0; } if (var$8 < 1) break a; if ($i > $max) break a; } return var$8; } return (-1); } if (($stringIndex + $this.$leaf.$charCount0() | 0) > $matchResult.$rightBound0) { $matchResult.$hitEnd = 1; return (-1); } var$9 = $this.$leaf.$accepts($stringIndex, $testString); if (var$9 < 1) break; $stringIndex = $stringIndex + var$9 | 0; $i = $i + 1 | 0; } return (-1); } var jur_SOLSet = $rt_classWithoutFields(jur_AbstractSet); function jur_SOLSet__init_0() { var var_0 = new jur_SOLSet(); jur_SOLSet__init_(var_0); return var_0; } function jur_SOLSet__init_($this) { jur_AbstractSet__init_($this); } function jur_SOLSet_matches($this, $strIndex, $testString, $matchResult) { if ($strIndex && !($matchResult.$anchoringBounds && $strIndex == $matchResult.$leftBound0)) return (-1); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } function jur_SOLSet_hasConsumed($this, $matchResult) { return 0; } function jur_WordBoundary() { jur_AbstractSet.call(this); this.$positive = 0; } function jur_WordBoundary__init_(var_0) { var var_1 = new jur_WordBoundary(); jur_WordBoundary__init_0(var_1, var_0); return var_1; } function jur_WordBoundary__init_0($this, $positive) { jur_AbstractSet__init_($this); $this.$positive = $positive; } function jur_WordBoundary_matches($this, $stringIndex, $testString, $matchResult) { var $ch1, $ch2, $leftBound; $ch1 = $stringIndex < $matchResult.$rightBound0 ? jl_String_charAt($testString, $stringIndex) : 32; $ch2 = !$stringIndex ? 32 : jl_String_charAt($testString, $stringIndex - 1 | 0); $leftBound = $matchResult.$transparentBounds ? 0 : $matchResult.$leftBound0; return ($ch1 != 32 && !jur_WordBoundary_isSpace($this, $ch1, $stringIndex, $leftBound, $testString) ? 0 : 1) ^ ($ch2 != 32 && !jur_WordBoundary_isSpace($this, $ch2, $stringIndex - 1 | 0, $leftBound, $testString) ? 0 : 1) ^ $this.$positive ? (-1) : $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_WordBoundary_hasConsumed($this, $matchResult) { return 0; } function jur_WordBoundary_isSpace($this, $ch, $index, $leftBound, $testString) { var var$5; if (!jl_Character_isLetterOrDigit($ch) && $ch != 95) { a: { if (jl_Character_getType($ch) == 6) while (true) { $index = $index + (-1) | 0; if ($index < $leftBound) break a; var$5 = jl_String_charAt($testString, $index); if (jl_Character_isLetterOrDigit(var$5)) return 0; if (jl_Character_getType(var$5) != 6) return 1; } } return 1; } return 0; } var jur_PreviousMatch = $rt_classWithoutFields(jur_AbstractSet); function jur_PreviousMatch__init_0() { var var_0 = new jur_PreviousMatch(); jur_PreviousMatch__init_(var_0); return var_0; } function jur_PreviousMatch__init_($this) { jur_AbstractSet__init_($this); } function jur_PreviousMatch_matches($this, $stringIndex, $testString, $matchResult) { if ($stringIndex != $matchResult.$previousMatch) return (-1); return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_PreviousMatch_hasConsumed($this, $matchResult) { return 0; } function jur_EOLSet() { jur_AbstractSet.call(this); this.$consCounter = 0; } function jur_EOLSet__init_0(var_0) { var var_1 = new jur_EOLSet(); jur_EOLSet__init_(var_1, var_0); return var_1; } function jur_EOLSet__init_($this, $counter) { jur_AbstractSet__init_($this); $this.$consCounter = $counter; } function jur_EOLSet_matches($this, $strIndex, $testString, $matchResult) { var $rightBound, var$5, $ch; $rightBound = !$matchResult.$anchoringBounds ? jl_String_length($testString) : $matchResult.$rightBound0; if ($strIndex >= $rightBound) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } var$5 = $rightBound - $strIndex | 0; if (var$5 == 2 && jl_String_charAt($testString, $strIndex) == 13 && jl_String_charAt($testString, $strIndex + 1 | 0) == 10) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } a: { if (var$5 == 1) { $ch = jl_String_charAt($testString, $strIndex); if ($ch == 10) break a; if ($ch == 13) break a; if ($ch == 133) break a; if (($ch | 1) == 8233) break a; } return (-1); } jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } function jur_EOLSet_hasConsumed($this, $matchResult) { var $res; $res = !jur_MatchResultImpl_getConsumed($matchResult, $this.$consCounter) ? 0 : 1; jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter, (-1)); return $res; } var jur_EOISet = $rt_classWithoutFields(jur_AbstractSet); function jur_EOISet__init_0() { var var_0 = new jur_EOISet(); jur_EOISet__init_(var_0); return var_0; } function jur_EOISet__init_($this) { jur_AbstractSet__init_($this); } function jur_EOISet_matches($this, $stringIndex, $testString, $matchResult) { if ($stringIndex < ($matchResult.$transparentBounds ? jl_String_length($testString) : $matchResult.$rightBound0)) return (-1); $matchResult.$hitEnd = 1; $matchResult.$requireEnd = 1; return $this.$next4.$matches0($stringIndex, $testString, $matchResult); } function jur_EOISet_hasConsumed($this, $matchResult) { return 0; } function jur_MultiLineSOLSet() { jur_AbstractSet.call(this); this.$lt0 = null; } function jur_MultiLineSOLSet_matches($this, $strIndex, $testString, $matchResult) { a: { if ($strIndex != $matchResult.$rightBound0) { if (!$strIndex) break a; if ($matchResult.$anchoringBounds && $strIndex == $matchResult.$leftBound0) break a; if ($this.$lt0.$isAfterLineTerminator(jl_String_charAt($testString, $strIndex - 1 | 0), jl_String_charAt($testString, $strIndex))) break a; } return (-1); } return $this.$next4.$matches0($strIndex, $testString, $matchResult); } function jur_MultiLineSOLSet_hasConsumed($this, $matchResult) { return 0; } var jur_DotAllSet = $rt_classWithoutFields(jur_JointSet); function jur_DotAllSet__init_0() { var var_0 = new jur_DotAllSet(); jur_DotAllSet__init_(var_0); return var_0; } function jur_DotAllSet__init_($this) { jur_AbstractSet__init_($this); } function jur_DotAllSet_matches($this, $stringIndex, $testString, $matchResult) { var $strLength, var$5, $high, var$7; $strLength = $matchResult.$rightBound0; var$5 = $stringIndex + 1 | 0; if (var$5 > $strLength) { $matchResult.$hitEnd = 1; return (-1); } $high = jl_String_charAt($testString, $stringIndex); if (jl_Character_isHighSurrogate($high)) { var$7 = $stringIndex + 2 | 0; if (var$7 <= $strLength && jl_Character_isSurrogatePair($high, jl_String_charAt($testString, var$5))) return $this.$next4.$matches0(var$7, $testString, $matchResult); } return $this.$next4.$matches0(var$5, $testString, $matchResult); } function jur_DotAllSet_setNext($this, $next) { $this.$next4 = $next; } function jur_DotAllSet_getType($this) { return (-2147483602); } function jur_DotAllSet_hasConsumed($this, $matchResult) { return 1; } function jur_DotSet() { jur_JointSet.call(this); this.$lt1 = null; } function jur_DotSet__init_(var_0) { var var_1 = new jur_DotSet(); jur_DotSet__init_0(var_1, var_0); return var_1; } function jur_DotSet__init_0($this, $lt) { jur_AbstractSet__init_($this); $this.$lt1 = $lt; } function jur_DotSet_matches($this, $stringIndex, $testString, $matchResult) { var $strLength, var$5, $high, $low; $strLength = $matchResult.$rightBound0; var$5 = $stringIndex + 1 | 0; if (var$5 > $strLength) { $matchResult.$hitEnd = 1; return (-1); } $high = jl_String_charAt($testString, $stringIndex); if (jl_Character_isHighSurrogate($high)) { $stringIndex = $stringIndex + 2 | 0; if ($stringIndex <= $strLength) { $low = jl_String_charAt($testString, var$5); if (jl_Character_isSurrogatePair($high, $low)) return $this.$lt1.$isLineTerminator(jl_Character_toCodePoint($high, $low)) ? (-1) : $this.$next4.$matches0($stringIndex, $testString, $matchResult); } } return $this.$lt1.$isLineTerminator($high) ? (-1) : $this.$next4.$matches0(var$5, $testString, $matchResult); } function jur_DotSet_setNext($this, $next) { $this.$next4 = $next; } function jur_DotSet_getType($this) { return (-2147483602); } function jur_DotSet_hasConsumed($this, $matchResult) { return 1; } function jur_UEOLSet() { jur_AbstractSet.call(this); this.$consCounter0 = 0; } function jur_UEOLSet__init_(var_0) { var var_1 = new jur_UEOLSet(); jur_UEOLSet__init_0(var_1, var_0); return var_1; } function jur_UEOLSet__init_0($this, $counter) { jur_AbstractSet__init_($this); $this.$consCounter0 = $counter; } function jur_UEOLSet_matches($this, $strIndex, $testString, $matchResult) { var $rightBound; $rightBound = !$matchResult.$anchoringBounds ? jl_String_length($testString) : $matchResult.$rightBound0; if ($strIndex >= $rightBound) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter0, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } if (($rightBound - $strIndex | 0) == 1 && jl_String_charAt($testString, $strIndex) == 10) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter0, 1); return $this.$next4.$matches0($strIndex + 1 | 0, $testString, $matchResult); } return (-1); } function jur_UEOLSet_hasConsumed($this, $matchResult) { var $res; $res = !jur_MatchResultImpl_getConsumed($matchResult, $this.$consCounter0) ? 0 : 1; jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter0, (-1)); return $res; } function jur_UMultiLineEOLSet() { jur_AbstractSet.call(this); this.$consCounter1 = 0; } function jur_UMultiLineEOLSet__init_(var_0) { var var_1 = new jur_UMultiLineEOLSet(); jur_UMultiLineEOLSet__init_0(var_1, var_0); return var_1; } function jur_UMultiLineEOLSet__init_0($this, $counter) { jur_AbstractSet__init_($this); $this.$consCounter1 = $counter; } function jur_UMultiLineEOLSet_matches($this, $strIndex, $testString, $matchResult) { if ((!$matchResult.$anchoringBounds ? jl_String_length($testString) - $strIndex | 0 : $matchResult.$rightBound0 - $strIndex | 0) <= 0) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter1, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } if (jl_String_charAt($testString, $strIndex) != 10) return (-1); jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter1, 1); return $this.$next4.$matches0($strIndex + 1 | 0, $testString, $matchResult); } function jur_UMultiLineEOLSet_hasConsumed($this, $matchResult) { var $res; $res = !jur_MatchResultImpl_getConsumed($matchResult, $this.$consCounter1) ? 0 : 1; jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter1, (-1)); return $res; } function jur_MultiLineEOLSet() { jur_AbstractSet.call(this); this.$consCounter2 = 0; } function jur_MultiLineEOLSet__init_(var_0) { var var_1 = new jur_MultiLineEOLSet(); jur_MultiLineEOLSet__init_0(var_1, var_0); return var_1; } function jur_MultiLineEOLSet__init_0($this, $counter) { jur_AbstractSet__init_($this); $this.$consCounter2 = $counter; } function jur_MultiLineEOLSet_matches($this, $strIndex, $testString, $matchResult) { var $strDif, $ch1, $ch2; $strDif = !$matchResult.$anchoringBounds ? jl_String_length($testString) - $strIndex | 0 : $matchResult.$rightBound0 - $strIndex | 0; if (!$strDif) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter2, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } if ($strDif < 2) { $ch1 = jl_String_charAt($testString, $strIndex); $ch2 = 97; } else { $ch1 = jl_String_charAt($testString, $strIndex); $ch2 = jl_String_charAt($testString, $strIndex + 1 | 0); } switch ($ch1) { case 10: case 133: case 8232: case 8233: jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter2, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); case 13: if ($ch2 != 10) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter2, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); } jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter2, 0); return $this.$next4.$matches0($strIndex, $testString, $matchResult); default: } return (-1); } function jur_MultiLineEOLSet_hasConsumed($this, $matchResult) { var $res; $res = !jur_MatchResultImpl_getConsumed($matchResult, $this.$consCounter2) ? 0 : 1; jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter2, (-1)); return $res; } function jur_CIBackReferenceSet() { var a = this; jur_JointSet.call(a); a.$referencedGroup = 0; a.$consCounter3 = 0; } function jur_CIBackReferenceSet__init_(var_0, var_1) { var var_2 = new jur_CIBackReferenceSet(); jur_CIBackReferenceSet__init_0(var_2, var_0, var_1); return var_2; } function jur_CIBackReferenceSet__init_0($this, $groupIndex, $consCounter) { jur_AbstractSet__init_($this); $this.$referencedGroup = $groupIndex; $this.$consCounter3 = $consCounter; } function jur_CIBackReferenceSet_matches($this, $stringIndex, $testString, $matchResult) { var $group, $i, var$6, var$7; $group = jur_CIBackReferenceSet_getString($this, $matchResult); if ($group !== null && ($stringIndex + jl_String_length($group) | 0) <= $matchResult.$rightBound0) { $i = 0; while (true) { if ($i >= jl_String_length($group)) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter3, jl_String_length($group)); return $this.$next4.$matches0($stringIndex + jl_String_length($group) | 0, $testString, $matchResult); } var$6 = jl_String_charAt($group, $i); var$7 = $stringIndex + $i | 0; if (var$6 != jl_String_charAt($testString, var$7) && jur_Pattern_getSupplement(jl_String_charAt($group, $i)) != jl_String_charAt($testString, var$7)) break; $i = $i + 1 | 0; } return (-1); } return (-1); } function jur_CIBackReferenceSet_setNext($this, $next) { $this.$next4 = $next; } function jur_CIBackReferenceSet_getString($this, $matchResult) { var var$2, var$3; var$2 = $this.$referencedGroup; var$3 = jur_MatchResultImpl_getStart($matchResult, var$2); var$2 = jur_MatchResultImpl_getEnd($matchResult, var$2); return (var$2 | var$3 | (var$2 - var$3 | 0)) >= 0 && var$2 <= jl_String_length($matchResult.$string2) ? jl_String_substring0($matchResult.$string2, var$3, var$2) : null; } function jur_CIBackReferenceSet_hasConsumed($this, $matchResult) { var $res; $res = !jur_MatchResultImpl_getConsumed($matchResult, $this.$consCounter3) ? 0 : 1; jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter3, (-1)); return $res; } var jur_BackReferenceSet = $rt_classWithoutFields(jur_CIBackReferenceSet); function jur_BackReferenceSet__init_(var_0, var_1) { var var_2 = new jur_BackReferenceSet(); jur_BackReferenceSet__init_0(var_2, var_0, var_1); return var_2; } function jur_BackReferenceSet__init_0($this, $groupIndex, $consCounter) { jur_CIBackReferenceSet__init_0($this, $groupIndex, $consCounter); } function jur_BackReferenceSet_matches($this, $stringIndex, $testString, $matchResult) { var $group, $shift; $group = jur_CIBackReferenceSet_getString($this, $matchResult); if ($group !== null && ($stringIndex + jl_String_length($group) | 0) <= $matchResult.$rightBound0) { $shift = !jl_String_startsWith0($testString, $group, $stringIndex) ? (-1) : jl_String_length($group); if ($shift < 0) return (-1); jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter3, $shift); return $this.$next4.$matches0($stringIndex + $shift | 0, $testString, $matchResult); } return (-1); } function jur_BackReferenceSet_find($this, $strIndex, $testString, $matchResult) { var $group, $strLength; $group = jur_CIBackReferenceSet_getString($this, $matchResult); $strLength = $matchResult.$leftBound0; if ($group !== null && ($strIndex + jl_String_length($group) | 0) <= $strLength) { while (true) { if ($strIndex > $strLength) return (-1); $strIndex = jl_String_indexOf1($testString, $group, $strIndex); if ($strIndex < 0) return (-1); if ($this.$next4.$matches0($strIndex + jl_String_length($group) | 0, $testString, $matchResult) >= 0) break; $strIndex = $strIndex + 1 | 0; } return $strIndex; } return (-1); } function jur_BackReferenceSet_findBack($this, $strIndex, $lastIndex, $testString, $matchResult) { var $group, var$6; $group = jur_CIBackReferenceSet_getString($this, $matchResult); if ($group === null) return (-1); a: { while (true) { if ($lastIndex < $strIndex) return (-1); var$6 = jl_Math_min($lastIndex, jl_String_length($testString) - jl_String_length($group) | 0); b: { c: while (true) { if (var$6 < 0) { var$6 = (-1); break b; } $lastIndex = 0; while (true) { if ($lastIndex >= jl_String_length($group)) break c; if (jl_String_charAt($testString, var$6 + $lastIndex | 0) != jl_String_charAt($group, $lastIndex)) break; $lastIndex = $lastIndex + 1 | 0; } var$6 = var$6 + (-1) | 0; } } if (var$6 < 0) break a; if (var$6 < $strIndex) break a; if ($this.$next4.$matches0(var$6 + jl_String_length($group) | 0, $testString, $matchResult) >= 0) break; $lastIndex = var$6 + (-1) | 0; } return var$6; } return (-1); } function jur_BackReferenceSet_first($this, $set) { return 1; } var jur_UCIBackReferenceSet = $rt_classWithoutFields(jur_CIBackReferenceSet); function jur_UCIBackReferenceSet__init_(var_0, var_1) { var var_2 = new jur_UCIBackReferenceSet(); jur_UCIBackReferenceSet__init_0(var_2, var_0, var_1); return var_2; } function jur_UCIBackReferenceSet__init_0($this, $groupIndex, $consCounter) { jur_CIBackReferenceSet__init_0($this, $groupIndex, $consCounter); } function jur_UCIBackReferenceSet_matches($this, $stringIndex, $testString, $matchResult) { var $group, $i; $group = jur_CIBackReferenceSet_getString($this, $matchResult); if ($group !== null && ($stringIndex + jl_String_length($group) | 0) <= $matchResult.$rightBound0) { $i = 0; while (true) { if ($i >= jl_String_length($group)) { jur_MatchResultImpl_setConsumed($matchResult, $this.$consCounter3, jl_String_length($group)); return $this.$next4.$matches0($stringIndex + jl_String_length($group) | 0, $testString, $matchResult); } if (jl_Character_toLowerCase(jl_Character_toUpperCase(jl_String_charAt($group, $i))) != jl_Character_toLowerCase(jl_Character_toUpperCase(jl_String_charAt($testString, $stringIndex + $i | 0)))) break; $i = $i + 1 | 0; } return (-1); } return (-1); } function jur_SequenceSet() { var a = this; jur_LeafSet.call(a); a.$string0 = null; a.$leftToRight = null; a.$rightToLeft = null; } function jur_SequenceSet_accepts($this, $strIndex, $testString) { return !jur_SequenceSet_startsWith($this, $testString, $strIndex) ? (-1) : $this.$charCount; } function jur_SequenceSet_find($this, $strIndex, $testString, $matchResult) { var $strLength, var$5, var$6; $strLength = $matchResult.$rightBound0; while (true) { if ($strIndex > $strLength) return (-1); var$5 = jl_String_charAt($this.$string0, $this.$charCount - 1 | 0); a: { while (true) { var$6 = $this.$charCount; if ($strIndex > ($strLength - var$6 | 0)) { $strIndex = (-1); break a; } var$6 = jl_String_charAt($testString, ($strIndex + var$6 | 0) - 1 | 0); if (var$6 == var$5 && jur_SequenceSet_startsWith($this, $testString, $strIndex)) break; $strIndex = $strIndex + jur_SequenceSet$IntHash_get($this.$leftToRight, var$6) | 0; } } if ($strIndex < 0) return (-1); if ($this.$next4.$matches0($strIndex + $this.$charCount | 0, $testString, $matchResult) >= 0) break; $strIndex = $strIndex + 1 | 0; } return $strIndex; } function jur_SequenceSet_findBack($this, $strIndex, $lastIndex, $testString, $matchResult) { var var$5, var$6; while (true) { if ($lastIndex < $strIndex) return (-1); var$5 = jl_String_charAt($this.$string0, 0); var$6 = (jl_String_length($testString) - $lastIndex | 0) - $this.$charCount | 0; if (var$6 <= 0) $lastIndex = $lastIndex + var$6 | 0; a: { while (true) { if ($lastIndex < $strIndex) { $lastIndex = (-1); break a; } var$6 = jl_String_charAt($testString, $lastIndex); if (var$6 == var$5 && jur_SequenceSet_startsWith($this, $testString, $lastIndex)) break; $lastIndex = $lastIndex - jur_SequenceSet$IntHash_get($this.$rightToLeft, var$6) | 0; } } if ($lastIndex < 0) return (-1); if ($this.$next4.$matches0($lastIndex + $this.$charCount | 0, $testString, $matchResult) >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } return $lastIndex; } function jur_SequenceSet_first($this, $set) { var var$2; if ($set instanceof jur_CharSet) return $set.$ch2 != jl_String_charAt($this.$string0, 0) ? 0 : 1; if ($set instanceof jur_RangeSet) return jur_RangeSet_accepts($set, 0, jl_String_substring0($this.$string0, 0, 1)) <= 0 ? 0 : 1; if (!($set instanceof jur_SupplRangeSet)) { if (!($set instanceof jur_SupplCharSet)) return 1; return jl_String_length($this.$string0) > 1 && $set.$ch1 == jl_Character_toCodePoint(jl_String_charAt($this.$string0, 0), jl_String_charAt($this.$string0, 1)) ? 1 : 0; } a: { b: { $set = $set; if (!$set.$contains1(jl_String_charAt($this.$string0, 0))) { if (jl_String_length($this.$string0) <= 1) break b; if (!$set.$contains1(jl_Character_toCodePoint(jl_String_charAt($this.$string0, 0), jl_String_charAt($this.$string0, 1)))) break b; } var$2 = 1; break a; } var$2 = 0; } return var$2; } function jur_SequenceSet_startsWith($this, $str, $from) { var $i; $i = 0; while ($i < $this.$charCount) { if (jl_String_charAt($str, $i + $from | 0) != jl_String_charAt($this.$string0, $i)) return 0; $i = $i + 1 | 0; } return 1; } function jur_UCISequenceSet() { jur_LeafSet.call(this); this.$string3 = null; } function jur_UCISequenceSet__init_(var_0) { var var_1 = new jur_UCISequenceSet(); jur_UCISequenceSet__init_0(var_1, var_0); return var_1; } function jur_UCISequenceSet__init_0($this, $substring) { var $res, $i, var$4; jur_LeafSet__init_($this); $res = new jl_StringBuilder; jl_AbstractStringBuilder__init_($res); $i = 0; while (true) { var$4 = $rt_compare($i, $substring.$length0); if (var$4 >= 0) { $this.$string3 = jl_AbstractStringBuilder_toString($res); $this.$charCount = $res.$length0; return; } if ($i < 0) break; if (var$4 >= 0) break; jl_AbstractStringBuilder_append($res, jl_Character_toLowerCase(jl_Character_toUpperCase($substring.$buffer0.data[$i]))); $i = $i + 1 | 0; } $substring = new jl_IndexOutOfBoundsException; jl_Throwable__init_0($substring); $rt_throw($substring); } function jur_UCISequenceSet_accepts($this, $strIndex, $testString) { var $i; $i = 0; while (true) { if ($i >= jl_String_length($this.$string3)) return jl_String_length($this.$string3); if (jl_String_charAt($this.$string3, $i) != jl_Character_toLowerCase(jl_Character_toUpperCase(jl_String_charAt($testString, $strIndex + $i | 0)))) break; $i = $i + 1 | 0; } return (-1); } function jur_CISequenceSet() { jur_LeafSet.call(this); this.$string1 = null; } function jur_CISequenceSet_accepts($this, $strIndex, $testString) { var $i, var$4, var$5; $i = 0; while (true) { if ($i >= jl_String_length($this.$string1)) return jl_String_length($this.$string1); var$4 = jl_String_charAt($this.$string1, $i); var$5 = $strIndex + $i | 0; if (var$4 != jl_String_charAt($testString, var$5) && jur_Pattern_getSupplement(jl_String_charAt($this.$string1, $i)) != jl_String_charAt($testString, var$5)) break; $i = $i + 1 | 0; } return (-1); } function nleat_IndexedDBFilesystem$AsyncHandlers$17() { var a = this; jl_Object.call(a); a.$val$cb9 = null; a.$val$r1 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$17_handleEvent$exported$0(var$0) { var var$1, var$2; var$1 = var$0.$val$cb9; if (var$0.$val$r1.result === null) { nleat_IndexedDBFilesystem$FileExists_$callClinit(); var$2 = nleat_IndexedDBFilesystem$FileExists_FALSE; } else if (!(nleat_IndexedDBFilesystem$AsyncHandlers_isRowDirectory$js_body$_6(var$0.$val$r1.result) ? 1 : 0)) { nleat_IndexedDBFilesystem$FileExists_$callClinit(); var$2 = nleat_IndexedDBFilesystem$FileExists_FILE; } else { nleat_IndexedDBFilesystem$FileExists_$callClinit(); var$2 = nleat_IndexedDBFilesystem$FileExists_DIRECTORY; } otpp_AsyncCallbackWrapper_complete(var$1, var$2); } function nleat_IndexedDBFilesystem$AsyncHandlers$18() { jl_Object.call(this); this.$val$cb10 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$18_handleEvent$exported$0(var$0) { var var$1; var$1 = var$0.$val$cb10; nleat_IndexedDBFilesystem$FileExists_$callClinit(); otpp_AsyncCallbackWrapper_complete(var$1, nleat_IndexedDBFilesystem$FileExists_FALSE); } var jur_AbstractCharClass$PredefinedCharacterClasses = $rt_classWithoutFields(); var jur_AbstractCharClass$PredefinedCharacterClasses_space = null; var jur_AbstractCharClass$PredefinedCharacterClasses_digit = null; var jur_AbstractCharClass$PredefinedCharacterClasses_contents = null; function jur_AbstractCharClass$PredefinedCharacterClasses_$callClinit() { jur_AbstractCharClass$PredefinedCharacterClasses_$callClinit = $rt_eraseClinit(jur_AbstractCharClass$PredefinedCharacterClasses); jur_AbstractCharClass$PredefinedCharacterClasses__clinit_(); } function jur_AbstractCharClass$PredefinedCharacterClasses__init_0() { var var_0 = new jur_AbstractCharClass$PredefinedCharacterClasses(); jur_AbstractCharClass$PredefinedCharacterClasses__init_(var_0); return var_0; } function jur_AbstractCharClass$PredefinedCharacterClasses__init_($this) { jur_AbstractCharClass$PredefinedCharacterClasses_$callClinit(); } function jur_AbstractCharClass$PredefinedCharacterClasses__clinit_() { jur_AbstractCharClass$PredefinedCharacterClasses_space = jur_AbstractCharClass$LazySpace__init_0(); jur_AbstractCharClass$PredefinedCharacterClasses_digit = jur_AbstractCharClass$LazyDigit__init_0(); jur_AbstractCharClass$PredefinedCharacterClasses_contents = $rt_createArrayFromData($rt_arraycls(jl_Object), [$rt_createArrayFromData(jl_Object, [$rt_s(721), jur_AbstractCharClass$LazyLower__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(722), jur_AbstractCharClass$LazyUpper__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(723), jur_AbstractCharClass$LazyASCII__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(724), jur_AbstractCharClass$LazyAlpha__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(725), jur_AbstractCharClass$PredefinedCharacterClasses_digit]), $rt_createArrayFromData(jl_Object, [$rt_s(726), jur_AbstractCharClass$LazyAlnum__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(727), jur_AbstractCharClass$LazyPunct__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(728), jur_AbstractCharClass$LazyGraph__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(729), jur_AbstractCharClass$LazyPrint__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(730), jur_AbstractCharClass$LazyBlank__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(731), jur_AbstractCharClass$LazyCntrl__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(732), jur_AbstractCharClass$LazyXDigit__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(733), jur_AbstractCharClass$LazyJavaLowerCase__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(734), jur_AbstractCharClass$LazyJavaUpperCase__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(735), jur_AbstractCharClass$LazyJavaWhitespace__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(736), jur_AbstractCharClass$LazyJavaMirrored__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(737), jur_AbstractCharClass$LazyJavaDefined__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(738), jur_AbstractCharClass$LazyJavaDigit__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(739), jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(740), jur_AbstractCharClass$LazyJavaISOControl__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(741), jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(742), jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(743), jur_AbstractCharClass$LazyJavaLetter__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(744), jur_AbstractCharClass$LazyJavaLetterOrDigit__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(745), jur_AbstractCharClass$LazyJavaSpaceChar__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(746), jur_AbstractCharClass$LazyJavaTitleCase__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(747), jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(748), jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(749), jur_AbstractCharClass$PredefinedCharacterClasses_space]), $rt_createArrayFromData(jl_Object, [$rt_s(750), jur_AbstractCharClass$LazyWord__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(57), jur_AbstractCharClass$LazyNonWord__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(751), jur_AbstractCharClass$PredefinedCharacterClasses_space]), $rt_createArrayFromData(jl_Object, [$rt_s(71), jur_AbstractCharClass$LazyNonSpace__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(752), jur_AbstractCharClass$PredefinedCharacterClasses_digit]), $rt_createArrayFromData(jl_Object, [$rt_s(72), jur_AbstractCharClass$LazyNonDigit__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(753), jur_AbstractCharClass$LazyRange__init_(0, 127)]), $rt_createArrayFromData(jl_Object, [$rt_s(754), jur_AbstractCharClass$LazyRange__init_(128, 255)]), $rt_createArrayFromData(jl_Object, [$rt_s(755), jur_AbstractCharClass$LazyRange__init_(256, 383)]), $rt_createArrayFromData(jl_Object, [$rt_s(756), jur_AbstractCharClass$LazyRange__init_(384, 591)]), $rt_createArrayFromData(jl_Object, [$rt_s(757), jur_AbstractCharClass$LazyRange__init_(592, 687)]), $rt_createArrayFromData(jl_Object, [$rt_s(758), jur_AbstractCharClass$LazyRange__init_(688, 767)]), $rt_createArrayFromData(jl_Object, [$rt_s(759), jur_AbstractCharClass$LazyRange__init_(768, 879)]), $rt_createArrayFromData(jl_Object, [$rt_s(760), jur_AbstractCharClass$LazyRange__init_(880, 1023)]), $rt_createArrayFromData(jl_Object, [$rt_s(761), jur_AbstractCharClass$LazyRange__init_(1024, 1279)]), $rt_createArrayFromData(jl_Object, [$rt_s(762), jur_AbstractCharClass$LazyRange__init_(1280, 1327)]), $rt_createArrayFromData(jl_Object, [$rt_s(763), jur_AbstractCharClass$LazyRange__init_(1328, 1423)]), $rt_createArrayFromData(jl_Object, [$rt_s(764), jur_AbstractCharClass$LazyRange__init_(1424, 1535)]), $rt_createArrayFromData(jl_Object, [$rt_s(765), jur_AbstractCharClass$LazyRange__init_(1536, 1791)]), $rt_createArrayFromData(jl_Object, [$rt_s(766), jur_AbstractCharClass$LazyRange__init_(1792, 1871)]), $rt_createArrayFromData(jl_Object, [$rt_s(767), jur_AbstractCharClass$LazyRange__init_(1872, 1919)]), $rt_createArrayFromData(jl_Object, [$rt_s(768), jur_AbstractCharClass$LazyRange__init_(1920, 1983)]), $rt_createArrayFromData(jl_Object, [$rt_s(769), jur_AbstractCharClass$LazyRange__init_(2304, 2431)]), $rt_createArrayFromData(jl_Object, [$rt_s(770), jur_AbstractCharClass$LazyRange__init_(2432, 2559)]), $rt_createArrayFromData(jl_Object, [$rt_s(771), jur_AbstractCharClass$LazyRange__init_(2560, 2687)]), $rt_createArrayFromData(jl_Object, [$rt_s(772), jur_AbstractCharClass$LazyRange__init_(2688, 2815)]), $rt_createArrayFromData(jl_Object, [$rt_s(773), jur_AbstractCharClass$LazyRange__init_(2816, 2943)]), $rt_createArrayFromData(jl_Object, [$rt_s(774), jur_AbstractCharClass$LazyRange__init_(2944, 3071)]), $rt_createArrayFromData(jl_Object, [$rt_s(775), jur_AbstractCharClass$LazyRange__init_(3072, 3199)]), $rt_createArrayFromData(jl_Object, [$rt_s(776), jur_AbstractCharClass$LazyRange__init_(3200, 3327)]), $rt_createArrayFromData(jl_Object, [$rt_s(777), jur_AbstractCharClass$LazyRange__init_(3328, 3455)]), $rt_createArrayFromData(jl_Object, [$rt_s(778), jur_AbstractCharClass$LazyRange__init_(3456, 3583)]), $rt_createArrayFromData(jl_Object, [$rt_s(779), jur_AbstractCharClass$LazyRange__init_(3584, 3711)]), $rt_createArrayFromData(jl_Object, [$rt_s(780), jur_AbstractCharClass$LazyRange__init_(3712, 3839)]), $rt_createArrayFromData(jl_Object, [$rt_s(781), jur_AbstractCharClass$LazyRange__init_(3840, 4095)]), $rt_createArrayFromData(jl_Object, [$rt_s(782), jur_AbstractCharClass$LazyRange__init_(4096, 4255)]), $rt_createArrayFromData(jl_Object, [$rt_s(783), jur_AbstractCharClass$LazyRange__init_(4256, 4351)]), $rt_createArrayFromData(jl_Object, [$rt_s(784), jur_AbstractCharClass$LazyRange__init_(4352, 4607)]), $rt_createArrayFromData(jl_Object, [$rt_s(785), jur_AbstractCharClass$LazyRange__init_(4608, 4991)]), $rt_createArrayFromData(jl_Object, [$rt_s(786), jur_AbstractCharClass$LazyRange__init_(4992, 5023)]), $rt_createArrayFromData(jl_Object, [$rt_s(787), jur_AbstractCharClass$LazyRange__init_(5024, 5119)]), $rt_createArrayFromData(jl_Object, [$rt_s(788), jur_AbstractCharClass$LazyRange__init_(5120, 5759)]), $rt_createArrayFromData(jl_Object, [$rt_s(789), jur_AbstractCharClass$LazyRange__init_(5760, 5791)]), $rt_createArrayFromData(jl_Object, [$rt_s(790), jur_AbstractCharClass$LazyRange__init_(5792, 5887)]), $rt_createArrayFromData(jl_Object, [$rt_s(791), jur_AbstractCharClass$LazyRange__init_(5888, 5919)]), $rt_createArrayFromData(jl_Object, [$rt_s(792), jur_AbstractCharClass$LazyRange__init_(5920, 5951)]), $rt_createArrayFromData(jl_Object, [$rt_s(793), jur_AbstractCharClass$LazyRange__init_(5952, 5983)]), $rt_createArrayFromData(jl_Object, [$rt_s(794), jur_AbstractCharClass$LazyRange__init_(5984, 6015)]), $rt_createArrayFromData(jl_Object, [$rt_s(795), jur_AbstractCharClass$LazyRange__init_(6016, 6143)]), $rt_createArrayFromData(jl_Object, [$rt_s(796), jur_AbstractCharClass$LazyRange__init_(6144, 6319)]), $rt_createArrayFromData(jl_Object, [$rt_s(797), jur_AbstractCharClass$LazyRange__init_(6400, 6479)]), $rt_createArrayFromData(jl_Object, [$rt_s(798), jur_AbstractCharClass$LazyRange__init_(6480, 6527)]), $rt_createArrayFromData(jl_Object, [$rt_s(799), jur_AbstractCharClass$LazyRange__init_(6528, 6623)]), $rt_createArrayFromData(jl_Object, [$rt_s(800), jur_AbstractCharClass$LazyRange__init_(6624, 6655)]), $rt_createArrayFromData(jl_Object, [$rt_s(801), jur_AbstractCharClass$LazyRange__init_(6656, 6687)]), $rt_createArrayFromData(jl_Object, [$rt_s(802), jur_AbstractCharClass$LazyRange__init_(7424, 7551)]), $rt_createArrayFromData(jl_Object, [$rt_s(803), jur_AbstractCharClass$LazyRange__init_(7552, 7615)]), $rt_createArrayFromData(jl_Object, [$rt_s(804), jur_AbstractCharClass$LazyRange__init_(7616, 7679)]), $rt_createArrayFromData(jl_Object, [$rt_s(805), jur_AbstractCharClass$LazyRange__init_(7680, 7935)]), $rt_createArrayFromData(jl_Object, [$rt_s(806), jur_AbstractCharClass$LazyRange__init_(7936, 8191)]), $rt_createArrayFromData(jl_Object, [$rt_s(807), jur_AbstractCharClass$LazyRange__init_(8192, 8303)]), $rt_createArrayFromData(jl_Object, [$rt_s(808), jur_AbstractCharClass$LazyRange__init_(8304, 8351)]), $rt_createArrayFromData(jl_Object, [$rt_s(809), jur_AbstractCharClass$LazyRange__init_(8352, 8399)]), $rt_createArrayFromData(jl_Object, [$rt_s(810), jur_AbstractCharClass$LazyRange__init_(8400, 8447)]), $rt_createArrayFromData(jl_Object, [$rt_s(811), jur_AbstractCharClass$LazyRange__init_(8448, 8527)]), $rt_createArrayFromData(jl_Object, [$rt_s(812), jur_AbstractCharClass$LazyRange__init_(8528, 8591)]), $rt_createArrayFromData(jl_Object, [$rt_s(813), jur_AbstractCharClass$LazyRange__init_(8592, 8703)]), $rt_createArrayFromData(jl_Object, [$rt_s(814), jur_AbstractCharClass$LazyRange__init_(8704, 8959)]), $rt_createArrayFromData(jl_Object, [$rt_s(815), jur_AbstractCharClass$LazyRange__init_(8960, 9215)]), $rt_createArrayFromData(jl_Object, [$rt_s(816), jur_AbstractCharClass$LazyRange__init_(9216, 9279)]), $rt_createArrayFromData(jl_Object, [$rt_s(817), jur_AbstractCharClass$LazyRange__init_(9280, 9311)]), $rt_createArrayFromData(jl_Object, [$rt_s(818), jur_AbstractCharClass$LazyRange__init_(9312, 9471)]), $rt_createArrayFromData(jl_Object, [$rt_s(819), jur_AbstractCharClass$LazyRange__init_(9472, 9599)]), $rt_createArrayFromData(jl_Object, [$rt_s(820), jur_AbstractCharClass$LazyRange__init_(9600, 9631)]), $rt_createArrayFromData(jl_Object, [$rt_s(821), jur_AbstractCharClass$LazyRange__init_(9632, 9727)]), $rt_createArrayFromData(jl_Object, [$rt_s(822), jur_AbstractCharClass$LazyRange__init_(9728, 9983)]), $rt_createArrayFromData(jl_Object, [$rt_s(823), jur_AbstractCharClass$LazyRange__init_(9984, 10175)]), $rt_createArrayFromData(jl_Object, [$rt_s(824), jur_AbstractCharClass$LazyRange__init_(10176, 10223)]), $rt_createArrayFromData(jl_Object, [$rt_s(825), jur_AbstractCharClass$LazyRange__init_(10224, 10239)]), $rt_createArrayFromData(jl_Object, [$rt_s(826), jur_AbstractCharClass$LazyRange__init_(10240, 10495)]), $rt_createArrayFromData(jl_Object, [$rt_s(827), jur_AbstractCharClass$LazyRange__init_(10496, 10623)]), $rt_createArrayFromData(jl_Object, [$rt_s(828), jur_AbstractCharClass$LazyRange__init_(10624, 10751)]), $rt_createArrayFromData(jl_Object, [$rt_s(829), jur_AbstractCharClass$LazyRange__init_(10752, 11007)]), $rt_createArrayFromData(jl_Object, [$rt_s(830), jur_AbstractCharClass$LazyRange__init_(11008, 11263)]), $rt_createArrayFromData(jl_Object, [$rt_s(831), jur_AbstractCharClass$LazyRange__init_(11264, 11359)]), $rt_createArrayFromData(jl_Object, [$rt_s(832), jur_AbstractCharClass$LazyRange__init_(11392, 11519)]), $rt_createArrayFromData(jl_Object, [$rt_s(833), jur_AbstractCharClass$LazyRange__init_(11520, 11567)]), $rt_createArrayFromData(jl_Object, [$rt_s(834), jur_AbstractCharClass$LazyRange__init_(11568, 11647)]), $rt_createArrayFromData(jl_Object, [$rt_s(835), jur_AbstractCharClass$LazyRange__init_(11648, 11743)]), $rt_createArrayFromData(jl_Object, [$rt_s(836), jur_AbstractCharClass$LazyRange__init_(11776, 11903)]), $rt_createArrayFromData(jl_Object, [$rt_s(837), jur_AbstractCharClass$LazyRange__init_(11904, 12031)]), $rt_createArrayFromData(jl_Object, [$rt_s(838), jur_AbstractCharClass$LazyRange__init_(12032, 12255)]), $rt_createArrayFromData(jl_Object, [$rt_s(839), jur_AbstractCharClass$LazyRange__init_(12272, 12287)]), $rt_createArrayFromData(jl_Object, [$rt_s(840), jur_AbstractCharClass$LazyRange__init_(12288, 12351)]), $rt_createArrayFromData(jl_Object, [$rt_s(841), jur_AbstractCharClass$LazyRange__init_(12352, 12447)]), $rt_createArrayFromData(jl_Object, [$rt_s(842), jur_AbstractCharClass$LazyRange__init_(12448, 12543)]), $rt_createArrayFromData(jl_Object, [$rt_s(843), jur_AbstractCharClass$LazyRange__init_(12544, 12591)]), $rt_createArrayFromData(jl_Object, [$rt_s(844), jur_AbstractCharClass$LazyRange__init_(12592, 12687)]), $rt_createArrayFromData(jl_Object, [$rt_s(845), jur_AbstractCharClass$LazyRange__init_(12688, 12703)]), $rt_createArrayFromData(jl_Object, [$rt_s(846), jur_AbstractCharClass$LazyRange__init_(12704, 12735)]), $rt_createArrayFromData(jl_Object, [$rt_s(847), jur_AbstractCharClass$LazyRange__init_(12736, 12783)]), $rt_createArrayFromData(jl_Object, [$rt_s(848), jur_AbstractCharClass$LazyRange__init_(12784, 12799)]), $rt_createArrayFromData(jl_Object, [$rt_s(849), jur_AbstractCharClass$LazyRange__init_(12800, 13055)]), $rt_createArrayFromData(jl_Object, [$rt_s(850), jur_AbstractCharClass$LazyRange__init_(13056, 13311)]), $rt_createArrayFromData(jl_Object, [$rt_s(851), jur_AbstractCharClass$LazyRange__init_(13312, 19893)]), $rt_createArrayFromData(jl_Object, [$rt_s(852), jur_AbstractCharClass$LazyRange__init_(19904, 19967)]), $rt_createArrayFromData(jl_Object, [$rt_s(853), jur_AbstractCharClass$LazyRange__init_(19968, 40959)]), $rt_createArrayFromData(jl_Object, [$rt_s(854), jur_AbstractCharClass$LazyRange__init_(40960, 42127)]), $rt_createArrayFromData(jl_Object, [$rt_s(855), jur_AbstractCharClass$LazyRange__init_(42128, 42191)]), $rt_createArrayFromData(jl_Object, [$rt_s(856), jur_AbstractCharClass$LazyRange__init_(42752, 42783)]), $rt_createArrayFromData(jl_Object, [$rt_s(857), jur_AbstractCharClass$LazyRange__init_(43008, 43055)]), $rt_createArrayFromData(jl_Object, [$rt_s(858), jur_AbstractCharClass$LazyRange__init_(44032, 55203)]), $rt_createArrayFromData(jl_Object, [$rt_s(859), jur_AbstractCharClass$LazyRange__init_(55296, 56191)]), $rt_createArrayFromData(jl_Object, [$rt_s(860), jur_AbstractCharClass$LazyRange__init_(56192, 56319)]), $rt_createArrayFromData(jl_Object, [$rt_s(861), jur_AbstractCharClass$LazyRange__init_(56320, 57343)]), $rt_createArrayFromData(jl_Object, [$rt_s(862), jur_AbstractCharClass$LazyRange__init_(57344, 63743)]), $rt_createArrayFromData(jl_Object, [$rt_s(863), jur_AbstractCharClass$LazyRange__init_(63744, 64255)]), $rt_createArrayFromData(jl_Object, [$rt_s(864), jur_AbstractCharClass$LazyRange__init_(64256, 64335)]), $rt_createArrayFromData(jl_Object, [$rt_s(865), jur_AbstractCharClass$LazyRange__init_(64336, 65023)]), $rt_createArrayFromData(jl_Object, [$rt_s(866), jur_AbstractCharClass$LazyRange__init_(65024, 65039)]), $rt_createArrayFromData(jl_Object, [$rt_s(867), jur_AbstractCharClass$LazyRange__init_(65040, 65055)]), $rt_createArrayFromData(jl_Object, [$rt_s(868), jur_AbstractCharClass$LazyRange__init_(65056, 65071)]), $rt_createArrayFromData(jl_Object, [$rt_s(869), jur_AbstractCharClass$LazyRange__init_(65072, 65103)]), $rt_createArrayFromData(jl_Object, [$rt_s(870), jur_AbstractCharClass$LazyRange__init_(65104, 65135)]), $rt_createArrayFromData(jl_Object, [$rt_s(871), jur_AbstractCharClass$LazyRange__init_(65136, 65279)]), $rt_createArrayFromData(jl_Object, [$rt_s(872), jur_AbstractCharClass$LazyRange__init_(65280, 65519)]), $rt_createArrayFromData(jl_Object, [$rt_s(873), jur_AbstractCharClass$LazyRange__init_(0, 1114111)]), $rt_createArrayFromData(jl_Object, [$rt_s(874), jur_AbstractCharClass$LazySpecialsBlock__init_0()]), $rt_createArrayFromData(jl_Object, [$rt_s(875), jur_AbstractCharClass$LazyCategory__init_(0, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(876), jur_AbstractCharClass$LazyCategoryScope__init_(62, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(877), jur_AbstractCharClass$LazyCategory__init_(1, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(878), jur_AbstractCharClass$LazyCategory__init_(2, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(879), jur_AbstractCharClass$LazyCategory__init_(3, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(880), jur_AbstractCharClass$LazyCategory__init_(4, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(881), jur_AbstractCharClass$LazyCategory__init_(5, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(882), jur_AbstractCharClass$LazyCategoryScope__init_(448, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(883), jur_AbstractCharClass$LazyCategory__init_(6, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(884), jur_AbstractCharClass$LazyCategory__init_(7, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(885), jur_AbstractCharClass$LazyCategory__init_(8, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(89), jur_AbstractCharClass$LazyCategoryScope__init_(3584, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(886), jur_AbstractCharClass$LazyCategory__init_(9, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(887), jur_AbstractCharClass$LazyCategory__init_(10, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(888), jur_AbstractCharClass$LazyCategory__init_(11, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(889), jur_AbstractCharClass$LazyCategoryScope__init_(28672, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(890), jur_AbstractCharClass$LazyCategory__init_(12, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(891), jur_AbstractCharClass$LazyCategory__init_(13, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(892), jur_AbstractCharClass$LazyCategory__init_(14, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(893), jur_AbstractCharClass$LazyCategoryScope__init_0(983040, 1, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(894), jur_AbstractCharClass$LazyCategory__init_(15, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(895), jur_AbstractCharClass$LazyCategory__init_(16, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(896), jur_AbstractCharClass$LazyCategory__init_(18, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(897), jur_AbstractCharClass$LazyCategory__init_0(19, 0, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(898), jur_AbstractCharClass$LazyCategoryScope__init_(1643118592, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(899), jur_AbstractCharClass$LazyCategory__init_(20, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(900), jur_AbstractCharClass$LazyCategory__init_(21, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(901), jur_AbstractCharClass$LazyCategory__init_(22, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(902), jur_AbstractCharClass$LazyCategory__init_(23, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(903), jur_AbstractCharClass$LazyCategory__init_(24, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(904), jur_AbstractCharClass$LazyCategoryScope__init_(2113929216, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(905), jur_AbstractCharClass$LazyCategory__init_(25, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(906), jur_AbstractCharClass$LazyCategory__init_(26, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(907), jur_AbstractCharClass$LazyCategory__init_(27, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(908), jur_AbstractCharClass$LazyCategory__init_(28, 1)]), $rt_createArrayFromData(jl_Object, [$rt_s(909), jur_AbstractCharClass$LazyCategory__init_(29, 0)]), $rt_createArrayFromData(jl_Object, [$rt_s(910), jur_AbstractCharClass$LazyCategory__init_(30, 0)])]); } function jur_UCISupplCharSet() { jur_LeafSet.call(this); this.$ch0 = 0; } function jur_UCISupplCharSet_accepts($this, $strIndex, $testString) { var $low, $high; $low = $strIndex + 1 | 0; $high = jl_String_charAt($testString, $strIndex); $low = jl_String_charAt($testString, $low); return $this.$ch0 != jl_Character_toLowerCase0(jl_Character_toUpperCase0(jl_Character_toCodePoint($high, $low))) ? (-1) : 2; } function jur_LowSurrogateCharSet() { jur_JointSet.call(this); this.$low0 = 0; } function jur_LowSurrogateCharSet__init_(var_0) { var var_1 = new jur_LowSurrogateCharSet(); jur_LowSurrogateCharSet__init_0(var_1, var_0); return var_1; } function jur_LowSurrogateCharSet__init_0($this, $low) { jur_AbstractSet__init_($this); $this.$low0 = $low; } function jur_LowSurrogateCharSet_setNext($this, $next) { $this.$next4 = $next; } function jur_LowSurrogateCharSet_matches($this, $stringIndex, $testString, $matchResult) { var var$4, $low; var$4 = $stringIndex + 1 | 0; if (var$4 > $matchResult.$rightBound0) { $matchResult.$hitEnd = 1; return (-1); } $low = jl_String_charAt($testString, $stringIndex); if ($stringIndex > $matchResult.$leftBound0 && jl_Character_isHighSurrogate(jl_String_charAt($testString, $stringIndex - 1 | 0))) return (-1); if ($this.$low0 != $low) return (-1); return $this.$next4.$matches0(var$4, $testString, $matchResult); } function jur_LowSurrogateCharSet_find($this, $strIndex, $testStr, $matchResult) { var $startStr, $strLength, var$6, var$7; if (!($testStr instanceof jl_String)) return jur_AbstractSet_find($this, $strIndex, $testStr, $matchResult); $startStr = $matchResult.$leftBound0; $strLength = $matchResult.$rightBound0; while (true) { if ($strIndex >= $strLength) return (-1); var$6 = jl_String_indexOf($testStr, $this.$low0, $strIndex); if (var$6 < 0) return (-1); if (var$6 > $startStr && jl_Character_isHighSurrogate(jl_String_charAt($testStr, var$6 - 1 | 0))) { $strIndex = var$6 + 1 | 0; continue; } var$7 = $this.$next4; $strIndex = var$6 + 1 | 0; if (var$7.$matches0($strIndex, $testStr, $matchResult) >= 0) break; } return var$6; } function jur_LowSurrogateCharSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult) { var $startStr, var$6; if (!($testStr instanceof jl_String)) return jur_AbstractSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult); $startStr = $matchResult.$leftBound0; a: { while (true) { if ($lastIndex < $strIndex) return (-1); var$6 = jl_String_lastIndexOf0($testStr, $this.$low0, $lastIndex); if (var$6 < 0) break a; if (var$6 < $strIndex) break a; if (var$6 > $startStr && jl_Character_isHighSurrogate(jl_String_charAt($testStr, var$6 - 1 | 0))) { $lastIndex = var$6 + (-2) | 0; continue; } if ($this.$next4.$matches0(var$6 + 1 | 0, $testStr, $matchResult) >= 0) break; $lastIndex = var$6 + (-1) | 0; } return var$6; } return (-1); } function jur_LowSurrogateCharSet_first($this, $set) { if ($set instanceof jur_CharSet) return 0; if ($set instanceof jur_RangeSet) return 0; if ($set instanceof jur_SupplRangeSet) return 0; if ($set instanceof jur_SupplCharSet) return 0; if ($set instanceof jur_HighSurrogateCharSet) return 0; if (!($set instanceof jur_LowSurrogateCharSet)) return 1; return $set.$low0 != $this.$low0 ? 0 : 1; } function jur_LowSurrogateCharSet_hasConsumed($this, $matchResult) { return 1; } function jur_HighSurrogateCharSet() { jur_JointSet.call(this); this.$high0 = 0; } function jur_HighSurrogateCharSet__init_(var_0) { var var_1 = new jur_HighSurrogateCharSet(); jur_HighSurrogateCharSet__init_0(var_1, var_0); return var_1; } function jur_HighSurrogateCharSet__init_0($this, $high) { jur_AbstractSet__init_($this); $this.$high0 = $high; } function jur_HighSurrogateCharSet_setNext($this, $next) { $this.$next4 = $next; } function jur_HighSurrogateCharSet_matches($this, $stringIndex, $testString, $matchResult) { var $strLength, var$5, $low, $high; $strLength = $matchResult.$rightBound0; var$5 = $stringIndex + 1 | 0; $low = $rt_compare(var$5, $strLength); if ($low > 0) { $matchResult.$hitEnd = 1; return (-1); } $high = jl_String_charAt($testString, $stringIndex); if ($low < 0 && jl_Character_isLowSurrogate(jl_String_charAt($testString, var$5))) return (-1); if ($this.$high0 != $high) return (-1); return $this.$next4.$matches0(var$5, $testString, $matchResult); } function jur_HighSurrogateCharSet_find($this, $strIndex, $testStr, $matchResult) { var $strLength, var$5; if (!($testStr instanceof jl_String)) return jur_AbstractSet_find($this, $strIndex, $testStr, $matchResult); $strLength = $matchResult.$rightBound0; while (true) { if ($strIndex >= $strLength) return (-1); var$5 = jl_String_indexOf($testStr, $this.$high0, $strIndex); if (var$5 < 0) return (-1); $strIndex = var$5 + 1 | 0; if ($strIndex < $strLength && jl_Character_isLowSurrogate(jl_String_charAt($testStr, $strIndex))) { $strIndex = var$5 + 2 | 0; continue; } if ($this.$next4.$matches0($strIndex, $testStr, $matchResult) >= 0) break; } return var$5; } function jur_HighSurrogateCharSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult) { var $strLength, var$6; if (!($testStr instanceof jl_String)) return jur_AbstractSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult); $strLength = $matchResult.$rightBound0; a: { while (true) { if ($lastIndex < $strIndex) return (-1); var$6 = jl_String_lastIndexOf0($testStr, $this.$high0, $lastIndex); if (var$6 < 0) break a; if (var$6 < $strIndex) break a; $lastIndex = var$6 + 1 | 0; if ($lastIndex < $strLength && jl_Character_isLowSurrogate(jl_String_charAt($testStr, $lastIndex))) { $lastIndex = var$6 + (-1) | 0; continue; } if ($this.$next4.$matches0($lastIndex, $testStr, $matchResult) >= 0) break; $lastIndex = var$6 + (-1) | 0; } return var$6; } return (-1); } function jur_HighSurrogateCharSet_first($this, $set) { if ($set instanceof jur_CharSet) return 0; if ($set instanceof jur_RangeSet) return 0; if ($set instanceof jur_SupplRangeSet) return 0; if ($set instanceof jur_SupplCharSet) return 0; if ($set instanceof jur_LowSurrogateCharSet) return 0; if (!($set instanceof jur_HighSurrogateCharSet)) return 1; return $set.$high0 != $this.$high0 ? 0 : 1; } function jur_HighSurrogateCharSet_hasConsumed($this, $matchResult) { return 1; } function jur_SupplCharSet() { var a = this; jur_LeafSet.call(a); a.$high = 0; a.$low = 0; a.$ch1 = 0; } function jur_SupplCharSet_accepts($this, $strIndex, $testString) { var $low, $high; $low = $strIndex + 1 | 0; $high = jl_String_charAt($testString, $strIndex); $low = jl_String_charAt($testString, $low); return $this.$high == $high && $this.$low == $low ? 2 : (-1); } function jur_SupplCharSet_find($this, $strIndex, $testStr, $matchResult) { var $strLength, $ch; if (!($testStr instanceof jl_String)) return jur_AbstractSet_find($this, $strIndex, $testStr, $matchResult); $strLength = $matchResult.$rightBound0; while ($strIndex < $strLength) { $strIndex = jl_String_indexOf($testStr, $this.$high, $strIndex); if ($strIndex < 0) return (-1); $strIndex = $strIndex + 1 | 0; if ($strIndex >= $strLength) continue; $ch = jl_String_charAt($testStr, $strIndex); if ($this.$low == $ch && $this.$next4.$matches0($strIndex + 1 | 0, $testStr, $matchResult) >= 0) return $strIndex + (-1) | 0; $strIndex = $strIndex + 1 | 0; } return (-1); } function jur_SupplCharSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult) { var var$5; if (!($testStr instanceof jl_String)) return jur_AbstractSet_findBack($this, $strIndex, $lastIndex, $testStr, $matchResult); a: { while (true) { if ($lastIndex < $strIndex) return (-1); var$5 = jl_String_lastIndexOf0($testStr, $this.$low, $lastIndex) + (-1) | 0; if (var$5 < 0) break a; if (var$5 < $strIndex) break a; if ($this.$high == jl_String_charAt($testStr, var$5) && $this.$next4.$matches0(var$5 + 2 | 0, $testStr, $matchResult) >= 0) break; $lastIndex = var$5 + (-1) | 0; } return var$5; } return (-1); } function jur_SupplCharSet_first($this, $set) { if ($set instanceof jur_SupplCharSet) return $set.$ch1 != $this.$ch1 ? 0 : 1; if ($set instanceof jur_SupplRangeSet) return $set.$contains1($this.$ch1); if ($set instanceof jur_CharSet) return 0; if (!($set instanceof jur_RangeSet)) return 1; return 0; } var jur_AbstractLineTerminator$1 = $rt_classWithoutFields(jur_AbstractLineTerminator); function jur_AbstractLineTerminator$1__init_0() { var var_0 = new jur_AbstractLineTerminator$1(); jur_AbstractLineTerminator$1__init_(var_0); return var_0; } function jur_AbstractLineTerminator$1__init_($this) {} function jur_AbstractLineTerminator$1_isLineTerminator($this, $ch) { return $ch != 10 ? 0 : 1; } function jur_AbstractLineTerminator$1_isAfterLineTerminator($this, $ch, $ch2) { return $ch != 10 ? 0 : 1; } var jur_AbstractLineTerminator$2 = $rt_classWithoutFields(jur_AbstractLineTerminator); function jur_AbstractLineTerminator$2__init_0() { var var_0 = new jur_AbstractLineTerminator$2(); jur_AbstractLineTerminator$2__init_(var_0); return var_0; } function jur_AbstractLineTerminator$2__init_($this) {} function jur_AbstractLineTerminator$2_isLineTerminator($this, $ch) { return $ch != 10 && $ch != 13 && $ch != 133 && ($ch | 1) != 8233 ? 0 : 1; } function jur_AbstractLineTerminator$2_isAfterLineTerminator($this, $ch, $ch2) { a: { b: { if ($ch != 10 && $ch != 133 && ($ch | 1) != 8233) { if ($ch != 13) break b; if ($ch2 == 10) break b; } $ch = 1; break a; } $ch = 0; } return $ch; } function jur_SequenceSet$IntHash() { var a = this; jl_Object.call(a); a.$table0 = null; a.$values2 = null; a.$mask = 0; a.$size5 = 0; } function jur_SequenceSet$IntHash__init_(var_0) { var var_1 = new jur_SequenceSet$IntHash(); jur_SequenceSet$IntHash__init_0(var_1, var_0); return var_1; } function jur_SequenceSet$IntHash__init_0($this, $size) { var var$2, var$3; while (true) { var$2 = $this.$mask; if ($size < var$2) break; $this.$mask = var$2 << 1 | 1; } var$3 = var$2 << 1 | 1; $this.$mask = var$3; var$3 = var$3 + 1 | 0; $this.$table0 = $rt_createIntArray(var$3); $this.$values2 = $rt_createIntArray(var$3); $this.$size5 = $size; } function jur_SequenceSet$IntHash_put($this, $key, $value) { var $i, var$4, $hashCode, var$6; $i = 0; var$4 = $this.$mask; $hashCode = $key & var$4; while (true) { var$6 = $this.$table0.data; if (!var$6[$hashCode]) break; if (var$6[$hashCode] == $key) break; $i = ($i + 1 | 0) & var$4; $hashCode = ($hashCode + $i | 0) & var$4; } var$6[$hashCode] = $key; $this.$values2.data[$hashCode] = $value; } function jur_SequenceSet$IntHash_get($this, $key) { var var$2, $hashCode, $i, $storedKey; var$2 = $this.$mask; $hashCode = $key & var$2; $i = 0; while (true) { $storedKey = $this.$table0.data[$hashCode]; if (!$storedKey) break; if ($storedKey == $key) return $this.$values2.data[$hashCode]; $i = ($i + 1 | 0) & var$2; $hashCode = ($hashCode + $i | 0) & var$2; } return $this.$size5; } var jur_IntHash = $rt_classWithoutFields(); var jur_AbstractCharClass$LazySpace = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazySpace__init_0() { var var_0 = new jur_AbstractCharClass$LazySpace(); jur_AbstractCharClass$LazySpace__init_(var_0); return var_0; } function jur_AbstractCharClass$LazySpace__init_($this) {} function jur_AbstractCharClass$LazySpace_computeValue($this) { return jur_CharClass_add(jur_CharClass_add0(jur_CharClass__init_1(), 9, 13), 32); } var jur_AbstractCharClass$LazyDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyDigit__init_0() { var var_0 = new jur_AbstractCharClass$LazyDigit(); jur_AbstractCharClass$LazyDigit__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyDigit__init_($this) {} function jur_AbstractCharClass$LazyDigit_computeValue($this) { return jur_CharClass_add0(jur_CharClass__init_1(), 48, 57); } var jur_AbstractCharClass$LazyLower = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyLower__init_0() { var var_0 = new jur_AbstractCharClass$LazyLower(); jur_AbstractCharClass$LazyLower__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyLower__init_($this) {} function jur_AbstractCharClass$LazyLower_computeValue($this) { return jur_CharClass_add0(jur_CharClass__init_1(), 97, 122); } var jur_AbstractCharClass$LazyUpper = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyUpper__init_0() { var var_0 = new jur_AbstractCharClass$LazyUpper(); jur_AbstractCharClass$LazyUpper__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyUpper__init_($this) {} function jur_AbstractCharClass$LazyUpper_computeValue($this) { return jur_CharClass_add0(jur_CharClass__init_1(), 65, 90); } var jur_AbstractCharClass$LazyASCII = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyASCII__init_0() { var var_0 = new jur_AbstractCharClass$LazyASCII(); jur_AbstractCharClass$LazyASCII__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyASCII__init_($this) {} function jur_AbstractCharClass$LazyASCII_computeValue($this) { return jur_CharClass_add0(jur_CharClass__init_1(), 0, 127); } var jur_AbstractCharClass$LazyAlpha = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyAlpha__init_0() { var var_0 = new jur_AbstractCharClass$LazyAlpha(); jur_AbstractCharClass$LazyAlpha__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyAlpha__init_($this) {} function jur_AbstractCharClass$LazyAlpha_computeValue($this) { return jur_CharClass_add0(jur_CharClass_add0(jur_CharClass__init_1(), 97, 122), 65, 90); } var jur_AbstractCharClass$LazyAlnum = $rt_classWithoutFields(jur_AbstractCharClass$LazyAlpha); function jur_AbstractCharClass$LazyAlnum__init_0() { var var_0 = new jur_AbstractCharClass$LazyAlnum(); jur_AbstractCharClass$LazyAlnum__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyAlnum__init_($this) {} function jur_AbstractCharClass$LazyAlnum_computeValue($this) { return jur_CharClass_add0(jur_AbstractCharClass$LazyAlpha_computeValue($this), 48, 57); } var jur_AbstractCharClass$LazyPunct = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyPunct__init_0() { var var_0 = new jur_AbstractCharClass$LazyPunct(); jur_AbstractCharClass$LazyPunct__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyPunct__init_($this) {} function jur_AbstractCharClass$LazyPunct_computeValue($this) { return jur_CharClass_add0(jur_CharClass_add0(jur_CharClass_add0(jur_CharClass__init_1(), 33, 64), 91, 96), 123, 126); } var jur_AbstractCharClass$LazyGraph = $rt_classWithoutFields(jur_AbstractCharClass$LazyAlnum); function jur_AbstractCharClass$LazyGraph__init_0() { var var_0 = new jur_AbstractCharClass$LazyGraph(); jur_AbstractCharClass$LazyGraph__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyGraph__init_($this) {} function jur_AbstractCharClass$LazyGraph_computeValue($this) { return jur_CharClass_add0(jur_CharClass_add0(jur_CharClass_add0(jur_AbstractCharClass$LazyAlnum_computeValue($this), 33, 64), 91, 96), 123, 126); } var jur_AbstractCharClass$LazyPrint = $rt_classWithoutFields(jur_AbstractCharClass$LazyGraph); function jur_AbstractCharClass$LazyPrint__init_0() { var var_0 = new jur_AbstractCharClass$LazyPrint(); jur_AbstractCharClass$LazyPrint__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyPrint__init_($this) {} function jur_AbstractCharClass$LazyPrint_computeValue($this) { return jur_CharClass_add(jur_AbstractCharClass$LazyGraph_computeValue($this), 32); } var jur_AbstractCharClass$LazyBlank = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyBlank__init_0() { var var_0 = new jur_AbstractCharClass$LazyBlank(); jur_AbstractCharClass$LazyBlank__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyBlank__init_($this) {} function jur_AbstractCharClass$LazyBlank_computeValue($this) { return jur_CharClass_add(jur_CharClass_add(jur_CharClass__init_1(), 32), 9); } var jur_AbstractCharClass$LazyCntrl = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyCntrl__init_0() { var var_0 = new jur_AbstractCharClass$LazyCntrl(); jur_AbstractCharClass$LazyCntrl__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyCntrl__init_($this) {} function jur_AbstractCharClass$LazyCntrl_computeValue($this) { return jur_CharClass_add(jur_CharClass_add0(jur_CharClass__init_1(), 0, 31), 127); } var jur_AbstractCharClass$LazyXDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyXDigit__init_0() { var var_0 = new jur_AbstractCharClass$LazyXDigit(); jur_AbstractCharClass$LazyXDigit__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyXDigit__init_($this) {} function jur_AbstractCharClass$LazyXDigit_computeValue($this) { return jur_CharClass_add0(jur_CharClass_add0(jur_CharClass_add0(jur_CharClass__init_1(), 48, 57), 97, 102), 65, 70); } var jur_AbstractCharClass$LazyJavaLowerCase = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaLowerCase__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaLowerCase(); jur_AbstractCharClass$LazyJavaLowerCase__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaLowerCase__init_($this) {} function jur_AbstractCharClass$LazyJavaLowerCase_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaLowerCase$1; $chCl.$this$024 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaUpperCase = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaUpperCase__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaUpperCase(); jur_AbstractCharClass$LazyJavaUpperCase__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaUpperCase__init_($this) {} function jur_AbstractCharClass$LazyJavaUpperCase_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaUpperCase$1; $chCl.$this$025 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaWhitespace = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaWhitespace__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaWhitespace(); jur_AbstractCharClass$LazyJavaWhitespace__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaWhitespace__init_($this) {} function jur_AbstractCharClass$LazyJavaWhitespace_computeValue($this) { var var$1; var$1 = new jur_AbstractCharClass$LazyJavaWhitespace$1; var$1.$this$026 = $this; jur_AbstractCharClass__init_(var$1); return var$1; } var jur_AbstractCharClass$LazyJavaMirrored = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaMirrored__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaMirrored(); jur_AbstractCharClass$LazyJavaMirrored__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaMirrored__init_($this) {} function jur_AbstractCharClass$LazyJavaMirrored_computeValue($this) { var var$1; var$1 = new jur_AbstractCharClass$LazyJavaMirrored$1; var$1.$this$027 = $this; jur_AbstractCharClass__init_(var$1); return var$1; } var jur_AbstractCharClass$LazyJavaDefined = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaDefined__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaDefined(); jur_AbstractCharClass$LazyJavaDefined__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaDefined__init_($this) {} function jur_AbstractCharClass$LazyJavaDefined_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaDefined$1; $chCl.$this$028 = $this; jur_AbstractCharClass__init_($chCl); ju_BitSet_set0($chCl.$lowHighSurrogates, 0, 2048); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaDigit__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaDigit(); jur_AbstractCharClass$LazyJavaDigit__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaDigit__init_($this) {} function jur_AbstractCharClass$LazyJavaDigit_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaDigit$1; $chCl.$this$029 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaIdentifierIgnorable = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaIdentifierIgnorable(); jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_($this) {} function jur_AbstractCharClass$LazyJavaIdentifierIgnorable_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1; $chCl.$this$030 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaISOControl = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaISOControl__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaISOControl(); jur_AbstractCharClass$LazyJavaISOControl__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaISOControl__init_($this) {} function jur_AbstractCharClass$LazyJavaISOControl_computeValue($this) { var var$1; var$1 = new jur_AbstractCharClass$LazyJavaISOControl$1; var$1.$this$031 = $this; jur_AbstractCharClass__init_(var$1); return var$1; } var jur_AbstractCharClass$LazyJavaJavaIdentifierPart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaJavaIdentifierPart(); jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_($this) {} function jur_AbstractCharClass$LazyJavaJavaIdentifierPart_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1; $chCl.$this$032 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaJavaIdentifierStart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaJavaIdentifierStart(); jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_($this) {} function jur_AbstractCharClass$LazyJavaJavaIdentifierStart_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1; $chCl.$this$033 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaLetter = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaLetter__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaLetter(); jur_AbstractCharClass$LazyJavaLetter__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaLetter__init_($this) {} function jur_AbstractCharClass$LazyJavaLetter_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaLetter$1; $chCl.$this$034 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaLetterOrDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaLetterOrDigit__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaLetterOrDigit(); jur_AbstractCharClass$LazyJavaLetterOrDigit__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaLetterOrDigit__init_($this) {} function jur_AbstractCharClass$LazyJavaLetterOrDigit_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaLetterOrDigit$1; $chCl.$this$035 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaSpaceChar = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaSpaceChar__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaSpaceChar(); jur_AbstractCharClass$LazyJavaSpaceChar__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaSpaceChar__init_($this) {} function jur_AbstractCharClass$LazyJavaSpaceChar_computeValue($this) { var var$1; var$1 = new jur_AbstractCharClass$LazyJavaSpaceChar$1; var$1.$this$036 = $this; jur_AbstractCharClass__init_(var$1); return var$1; } var jur_AbstractCharClass$LazyJavaTitleCase = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaTitleCase__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaTitleCase(); jur_AbstractCharClass$LazyJavaTitleCase__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaTitleCase__init_($this) {} function jur_AbstractCharClass$LazyJavaTitleCase_computeValue($this) { var var$1; var$1 = new jur_AbstractCharClass$LazyJavaTitleCase$1; var$1.$this$037 = $this; jur_AbstractCharClass__init_(var$1); return var$1; } var jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart(); jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_($this) {} function jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1; $chCl.$this$038 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_0() { var var_0 = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart(); jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_($this) {} function jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart_computeValue($this) { var $chCl; $chCl = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1; $chCl.$this$039 = $this; jur_AbstractCharClass__init_($chCl); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyWord = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazyWord__init_0() { var var_0 = new jur_AbstractCharClass$LazyWord(); jur_AbstractCharClass$LazyWord__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyWord__init_($this) {} function jur_AbstractCharClass$LazyWord_computeValue($this) { return jur_CharClass_add(jur_CharClass_add0(jur_CharClass_add0(jur_CharClass_add0(jur_CharClass__init_1(), 97, 122), 65, 90), 48, 57), 95); } var jur_AbstractCharClass$LazyNonWord = $rt_classWithoutFields(jur_AbstractCharClass$LazyWord); function jur_AbstractCharClass$LazyNonWord__init_0() { var var_0 = new jur_AbstractCharClass$LazyNonWord(); jur_AbstractCharClass$LazyNonWord__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyNonWord__init_($this) {} function jur_AbstractCharClass$LazyNonWord_computeValue($this) { var $chCl; $chCl = jur_AbstractCharClass_setNegative(jur_AbstractCharClass$LazyWord_computeValue($this), 1); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyNonSpace = $rt_classWithoutFields(jur_AbstractCharClass$LazySpace); function jur_AbstractCharClass$LazyNonSpace__init_0() { var var_0 = new jur_AbstractCharClass$LazyNonSpace(); jur_AbstractCharClass$LazyNonSpace__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyNonSpace__init_($this) {} function jur_AbstractCharClass$LazyNonSpace_computeValue($this) { var $chCl; $chCl = jur_AbstractCharClass_setNegative(jur_AbstractCharClass$LazySpace_computeValue($this), 1); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } var jur_AbstractCharClass$LazyNonDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyDigit); function jur_AbstractCharClass$LazyNonDigit__init_0() { var var_0 = new jur_AbstractCharClass$LazyNonDigit(); jur_AbstractCharClass$LazyNonDigit__init_(var_0); return var_0; } function jur_AbstractCharClass$LazyNonDigit__init_($this) {} function jur_AbstractCharClass$LazyNonDigit_computeValue($this) { var $chCl; $chCl = jur_AbstractCharClass_setNegative(jur_AbstractCharClass$LazyDigit_computeValue($this), 1); $chCl.$mayContainSupplCodepoints = 1; return $chCl; } function jur_AbstractCharClass$LazyRange() { var a = this; jur_AbstractCharClass$LazyCharClass.call(a); a.$start8 = 0; a.$end2 = 0; } function jur_AbstractCharClass$LazyRange__init_(var_0, var_1) { var var_2 = new jur_AbstractCharClass$LazyRange(); jur_AbstractCharClass$LazyRange__init_0(var_2, var_0, var_1); return var_2; } function jur_AbstractCharClass$LazyRange__init_0($this, $start, $end) { $this.$start8 = $start; $this.$end2 = $end; } function jur_AbstractCharClass$LazyRange_computeValue($this) { return jur_CharClass_add0(jur_CharClass__init_1(), $this.$start8, $this.$end2); } var jur_AbstractCharClass$LazySpecialsBlock = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass); function jur_AbstractCharClass$LazySpecialsBlock__init_0() { var var_0 = new jur_AbstractCharClass$LazySpecialsBlock(); jur_AbstractCharClass$LazySpecialsBlock__init_(var_0); return var_0; } function jur_AbstractCharClass$LazySpecialsBlock__init_($this) {} function jur_AbstractCharClass$LazySpecialsBlock_computeValue($this) { return jur_CharClass_add0(jur_CharClass_add0(jur_CharClass__init_1(), 65279, 65279), 65520, 65533); } function jur_AbstractCharClass$LazyCategory() { var a = this; jur_AbstractCharClass$LazyCharClass.call(a); a.$category = 0; a.$mayContainSupplCodepoints0 = 0; a.$containsAllSurrogates = 0; } function jur_AbstractCharClass$LazyCategory__init_(var_0, var_1) { var var_2 = new jur_AbstractCharClass$LazyCategory(); jur_AbstractCharClass$LazyCategory__init_1(var_2, var_0, var_1); return var_2; } function jur_AbstractCharClass$LazyCategory__init_0(var_0, var_1, var_2) { var var_3 = new jur_AbstractCharClass$LazyCategory(); jur_AbstractCharClass$LazyCategory__init_2(var_3, var_0, var_1, var_2); return var_3; } function jur_AbstractCharClass$LazyCategory__init_1($this, $cat, $mayContainSupplCodepoints) { $this.$mayContainSupplCodepoints0 = $mayContainSupplCodepoints; $this.$category = $cat; } function jur_AbstractCharClass$LazyCategory__init_2($this, $cat, $mayContainSupplCodepoints, $containsAllSurrogates) { $this.$containsAllSurrogates = $containsAllSurrogates; $this.$mayContainSupplCodepoints0 = $mayContainSupplCodepoints; $this.$category = $cat; } function jur_AbstractCharClass$LazyCategory_computeValue($this) { var $chCl; $chCl = jur_UnicodeCategory__init_($this.$category); if ($this.$containsAllSurrogates) ju_BitSet_set0($chCl.$lowHighSurrogates, 0, 2048); $chCl.$mayContainSupplCodepoints = $this.$mayContainSupplCodepoints0; return $chCl; } function jur_AbstractCharClass$LazyCategoryScope() { var a = this; jur_AbstractCharClass$LazyCharClass.call(a); a.$category0 = 0; a.$mayContainSupplCodepoints1 = 0; a.$containsAllSurrogates0 = 0; } function jur_AbstractCharClass$LazyCategoryScope__init_(var_0, var_1) { var var_2 = new jur_AbstractCharClass$LazyCategoryScope(); jur_AbstractCharClass$LazyCategoryScope__init_1(var_2, var_0, var_1); return var_2; } function jur_AbstractCharClass$LazyCategoryScope__init_0(var_0, var_1, var_2) { var var_3 = new jur_AbstractCharClass$LazyCategoryScope(); jur_AbstractCharClass$LazyCategoryScope__init_2(var_3, var_0, var_1, var_2); return var_3; } function jur_AbstractCharClass$LazyCategoryScope__init_1($this, $cat, $mayContainSupplCodepoints) { $this.$mayContainSupplCodepoints1 = $mayContainSupplCodepoints; $this.$category0 = $cat; } function jur_AbstractCharClass$LazyCategoryScope__init_2($this, $cat, $mayContainSupplCodepoints, $containsAllSurrogates) { $this.$containsAllSurrogates0 = $containsAllSurrogates; $this.$mayContainSupplCodepoints1 = $mayContainSupplCodepoints; $this.$category0 = $cat; } function jur_AbstractCharClass$LazyCategoryScope_computeValue($this) { var $chCl; $chCl = new jur_UnicodeCategoryScope; jur_UnicodeCategory__init_0($chCl, $this.$category0); if ($this.$containsAllSurrogates0) ju_BitSet_set0($chCl.$lowHighSurrogates, 0, 2048); $chCl.$mayContainSupplCodepoints = $this.$mayContainSupplCodepoints1; return $chCl; } function otciu_UnicodeHelper$Range() { var a = this; jl_Object.call(a); a.$start2 = 0; a.$end0 = 0; a.$data0 = null; } function otciu_UnicodeHelper$Range__init_(var_0, var_1, var_2) { var var_3 = new otciu_UnicodeHelper$Range(); otciu_UnicodeHelper$Range__init_0(var_3, var_0, var_1, var_2); return var_3; } function otciu_UnicodeHelper$Range__init_0($this, $start, $end, $data) { $this.$start2 = $start; $this.$end0 = $end; $this.$data0 = $data; } var jnc_CoderMalfunctionError = $rt_classWithoutFields(jl_Error); var ju_NoSuchElementException = $rt_classWithoutFields(jl_RuntimeException); function ju_NoSuchElementException__init_0() { var var_0 = new ju_NoSuchElementException(); ju_NoSuchElementException__init_(var_0); return var_0; } function ju_NoSuchElementException__init_($this) { jl_Throwable__init_0($this); } var otci_Base64Impl = $rt_classWithoutFields(); var otci_Base64Impl_alphabet = null; var otci_Base64Impl_urlAlphabet = null; var otci_Base64Impl_reverse = null; var otci_Base64Impl_urlReverse = null; function otci_Base64Impl__init_0() { var var_0 = new otci_Base64Impl(); otci_Base64Impl__init_(var_0); return var_0; } function otci_Base64Impl__init_($this) {} function otci_Base64Impl_decode($text, $output, $mapping) { var $inputSize, $i, $triples, $c, $j, var$9, $a, $b, $c_0, $d, $out, $rem; $text = $text.data; $inputSize = $text.length; $i = $inputSize - 1 | 0; while ($i >= 0 && $text[$i] == 61) { $inputSize = $inputSize + (-1) | 0; $i = $i + (-1) | 0; } $triples = ($inputSize / 4 | 0) * 4 | 0; $c = 0; $j = 0; while ($c < $triples) { var$9 = $output.data; $i = $c + 1 | 0; $a = otci_Base64Impl_decode0($mapping, $text[$c]); $c = $i + 1 | 0; $b = otci_Base64Impl_decode0($mapping, $text[$i]); $i = $c + 1 | 0; $c_0 = otci_Base64Impl_decode0($mapping, $text[$c]); $c = $i + 1 | 0; $d = otci_Base64Impl_decode0($mapping, $text[$i]); $out = $a << 18 | $b << 12 | $c_0 << 6 | $d; $i = $j + 1 | 0; var$9[$j] = ($out >>> 16 | 0) << 24 >> 24; $a = $i + 1 | 0; var$9[$i] = ($out >>> 8 | 0) << 24 >> 24; $j = $a + 1 | 0; var$9[$a] = $out << 24 >> 24; } $rem = $inputSize - $c | 0; if ($rem == 2) $output.data[$j] = (otci_Base64Impl_decode0($mapping, $text[$c]) << 2 | (otci_Base64Impl_decode0($mapping, $text[$c + 1 | 0]) >>> 4 | 0)) << 24 >> 24; else if ($rem == 3) { $output = $output.data; $a = otci_Base64Impl_decode0($mapping, $text[$c]); $b = otci_Base64Impl_decode0($mapping, $text[$c + 1 | 0]); $c = otci_Base64Impl_decode0($mapping, $text[$c + 2 | 0]); $output[$j] = ($a << 2 | ($b >>> 4 | 0)) << 24 >> 24; $output[$j + 1 | 0] = ($b << 4 | ($c >>> 2 | 0)) << 24 >> 24; } } function otci_Base64Impl_decode0($mapping, $c) { return $mapping.data[$c]; } function otci_Base64Impl__clinit_() { var var$1, var$2, var$3, $i, $c, $c_0; var$1 = $rt_createByteArray(64); var$2 = var$1.data; otci_Base64Impl_alphabet = var$1; var$1 = $rt_createByteArray(64); var$3 = var$1.data; otci_Base64Impl_urlAlphabet = var$1; var$1 = $rt_createIntArray(256); otci_Base64Impl_reverse = var$1; otci_Base64Impl_urlReverse = $rt_createIntArray(256); $i = 0; $c = 65; while ($c <= 90) { $c_0 = $c << 24 >> 24; var$2[$i] = $c_0; var$3[$i] = $c_0; $i = $i + 1 | 0; $c = ($c + 1 | 0) & 65535; } $c = 97; while ($c <= 122) { $c_0 = $c << 24 >> 24; var$2[$i] = $c_0; var$3[$i] = $c_0; $i = $i + 1 | 0; $c = ($c + 1 | 0) & 65535; } $c_0 = 48; while ($c_0 <= 57) { $c = $c_0 << 24 >> 24; var$2[$i] = $c; var$3[$i] = $c; $i = $i + 1 | 0; $c_0 = ($c_0 + 1 | 0) & 65535; } var$2[$i] = 43; var$3[$i] = 45; $i = $i + 1 | 0; var$2[$i] = 47; var$3[$i] = 95; ju_Arrays_fill(var$1, (-1)); ju_Arrays_fill(otci_Base64Impl_urlReverse, (-1)); $c_0 = 0; while (true) { var$1 = otci_Base64Impl_alphabet.data; if ($c_0 >= var$1.length) break; otci_Base64Impl_reverse.data[var$1[$c_0]] = $c_0; otci_Base64Impl_urlReverse.data[otci_Base64Impl_urlAlphabet.data[$c_0]] = $c_0; $c_0 = $c_0 + 1 | 0; } } function nms_GuiOptions() { var a = this; nms_GuiScreen.call(a); a.$parentScreen = null; a.$screenTitle0 = null; a.$options1 = null; } function nms_GuiOptions__init_(var_0, var_1) { var var_2 = new nms_GuiOptions(); nms_GuiOptions__init_0(var_2, var_0, var_1); return var_2; } function nms_GuiOptions__init_0($this, $var1, $var2) { nms_GuiScreen__init_($this); $this.$screenTitle0 = $rt_s(911); $this.$parentScreen = $var1; $this.$options1 = $var2; } function nms_GuiOptions_initGui($this) { var $var1, var$2, var$3, var$4, var$5, $var2, var$7, var$8; $var1 = 0; while (true) { var$2 = $this.$options1; if ($var1 >= var$2.$numberOfOptions) break; if (!(!$var1 ? 1 : $var1 == 1 ? 1 : $var1 != 3 ? 0 : 1)) ju_ArrayList_add($this.$controlList, nms_GuiSmallButton__init_($var1, (($this.$width / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0, ($this.$height0 / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0, nms_GameSettings_getOptionDisplayString(var$2, $var1))); else { var$3 = $this.$controlList; var$4 = new nms_GuiSlider; var$5 = (($this.$width / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0; $var2 = ($this.$height0 / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0; var$2 = nms_GameSettings_getOptionDisplayString(var$2, $var1); var$7 = $this.$options1; var$8 = !$var1 ? var$7.$musicVolume : $var1 == 1 ? var$7.$soundVolume : $var1 != 3 ? 0.0 : var$7.$mouseSensitivity; nms_GuiButton__init_2(var$4, $var1, var$5, $var2, 150, 20, var$2); var$4.$sliderValue = 1.0; var$4.$dragging = 0; var$4.$idFloat = 0; var$4.$idFloat = $var1; var$4.$sliderValue = var$8; ju_ArrayList_add(var$3, var$4); } $var1 = $var1 + 1 | 0; } ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(100, ($this.$width / 2 | 0) - 100 | 0, (($this.$height0 / 6 | 0) + 120 | 0) + 12 | 0, $rt_s(912))); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(200, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 6 | 0) + 168 | 0, $rt_s(913))); } function nms_GuiOptions_actionPerformed($this, $var1) { var var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1.$enabled) { var$2 = $var1.$id2; if (var$2 < 100) { var$3 = $this.$options1; var$4 = 1; $ptr = 1; continue main; } if ($var1.$id2 == 100) { var$3 = $this.$mc8.$gameSettings; $ptr = 2; continue main; } if ($var1.$id2 == 200) { $var1 = $this.$mc8.$gameSettings; $ptr = 4; continue main; } } return; case 1: nms_GameSettings_setOptionValue(var$3, var$2, var$4); if ($rt_suspending()) { break main; } $var1.$displayString = nms_GameSettings_getOptionDisplayString($this.$options1, $var1.$id2); if ($var1.$id2 == 100) { var$3 = $this.$mc8.$gameSettings; $ptr = 2; continue main; } if ($var1.$id2 != 200) return; $var1 = $this.$mc8.$gameSettings; $ptr = 4; continue main; case 2: nms_GameSettings_saveOptions(var$3); if ($rt_suspending()) { break main; } var$3 = $this.$mc8; var$5 = new nms_GuiControls; var$6 = $this.$options1; nms_GuiScreen__init_(var$5); var$5.$screenTitle1 = $rt_s(914); var$5.$buttonId = (-1); var$5.$parentScreen0 = $this; var$5.$options2 = var$6; $ptr = 3; case 3: nmc_Minecraft_displayGuiScreen(var$3, var$5); if ($rt_suspending()) { break main; } if ($var1.$id2 != 200) return; $var1 = $this.$mc8.$gameSettings; $ptr = 4; case 4: nms_GameSettings_saveOptions($var1); if ($rt_suspending()) { break main; } $var1 = $this.$mc8; var$3 = $this.$parentScreen; $ptr = 5; case 5: nmc_Minecraft_displayGuiScreen($var1, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, $ptr); } function nms_GuiOptions_drawScreen($this, $var1, $var2, $var3) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $this.$screenTitle0, $this.$width / 2 | 0, 20, 16777215); $ptr = 2; case 2: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } function nms_GuiSelectWorld() { var a = this; nms_GuiScreen.call(a); a.$parentScreen1 = null; a.$screenTitle2 = null; a.$selected = 0; } function nms_GuiSelectWorld__init_(var_0) { var var_1 = new nms_GuiSelectWorld(); nms_GuiSelectWorld__init_0(var_1, var_0); return var_1; } function nms_GuiSelectWorld__init_0($this, $var1) { nms_GuiScreen__init_($this); $this.$screenTitle2 = $rt_s(915); $this.$selected = 0; $this.$parentScreen1 = $var1; } function nms_GuiSelectWorld_initGui($this) { var $var2, $var2_0, $var3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2_0 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = 0; if ($var2 >= 5) { $this.$initGui2(); return; } $var2_0 = $var2 + 1 | 0; $var3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var3); jl_StringBuilder_append1(jl_StringBuilder_append($var3, $rt_s(916)), $var2_0); $var3 = jl_AbstractStringBuilder_toString($var3); $ptr = 1; case 1: $tmp = nms_World_func_629_a($var3); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 === null) ju_ArrayList_add($this.$controlList, nms_GuiButton__init_($var2, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 6 | 0) + (24 * $var2 | 0) | 0, $rt_s(917))); else { var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4); jl_StringBuilder_append1(jl_StringBuilder_append(var$4, $rt_s(918)), $var2_0); var$5 = jl_AbstractStringBuilder_toString(var$4); var$6 = Long_toNumber(Long_div(Long_mul(Long_div(nms_NBTTagCompound_getLong($var3, $rt_s(442)), Long_fromInt(1024)), Long_fromInt(100)), Long_fromInt(1024))) / 100.0; $var3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var3); jl_StringBuilder_append(jl_StringBuilder_append3(jl_StringBuilder_append(jl_StringBuilder_append($var3, var$5), $rt_s(919)), var$6), $rt_s(920)); var$4 = jl_AbstractStringBuilder_toString($var3); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_($var2, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 6 | 0) + (24 * $var2 | 0) | 0, var$4)); } $var2 = $var2_0; if ($var2 >= 5) { $this.$initGui2(); return; } $var2_0 = $var2 + 1 | 0; $var3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var3); jl_StringBuilder_append1(jl_StringBuilder_append($var3, $rt_s(916)), $var2_0); $var3 = jl_AbstractStringBuilder_toString($var3); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var2_0, $var3, var$4, var$5, var$6, $ptr); } function nms_GuiSelectWorld_getWorldName($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 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append1(jl_StringBuilder_append(var$2, $rt_s(916)), $var1); var$2 = jl_AbstractStringBuilder_toString(var$2); $ptr = 1; case 1: $tmp = nms_World_func_629_a(var$2); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 === null) var$2 = null; else { var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append1(jl_StringBuilder_append(var$2, $rt_s(916)), $var1); var$2 = jl_AbstractStringBuilder_toString(var$2); } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_GuiSelectWorld_initGui2($this) { ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(5, ($this.$width / 2 | 0) - 100 | 0, (($this.$height0 / 6 | 0) + 120 | 0) + 12 | 0, $rt_s(921))); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(6, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 6 | 0) + 168 | 0, $rt_s(922))); } function nms_GuiSelectWorld_actionPerformed($this, $var1) { var 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();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1.$enabled) { var$2 = $var1.$id2; var$3 = $rt_compare(var$2, 5); if (var$3 < 0) { var$3 = var$2 + 1 | 0; $ptr = 1; continue main; } if (!var$3) { $var1 = $this.$mc8; var$4 = new nms_GuiDeleteWorld; nms_GuiSelectWorld__init_0(var$4, $this); var$4.$screenTitle2 = $rt_s(923); $ptr = 2; continue main; } if (var$2 == 6) { $var1 = $this.$mc8; var$4 = $this.$parentScreen1; $ptr = 3; continue main; } } return; case 1: $this.$selectWorld(var$3); if ($rt_suspending()) { break main; } return; case 2: nmc_Minecraft_displayGuiScreen($var1, var$4); if ($rt_suspending()) { break main; } return; case 3: nmc_Minecraft_displayGuiScreen($var1, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $ptr); } function nms_GuiSelectWorld_selectWorld($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc8; var$3 = null; $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($this.$selected) return; $this.$selected = 1; var$3 = $this.$mc8; var$2 = new nms_PlayerControllerSP; var$2.$field_1064_b = 0; var$2.$mc3 = var$3; var$2.$field_1074_c = (-1); var$2.$field_1073_d = (-1); var$2.$field_1072_e = (-1); var$2.$field_1071_f = 0.0; var$2.$field_1070_g = 0.0; var$2.$field_1069_h = 0.0; var$2.$field_1068_i = 0; var$3.$field_6327_b = var$2; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append1(jl_StringBuilder_append(var$2, $rt_s(916)), $var1); var$4 = jl_AbstractStringBuilder_toString(var$2); var$2 = null; $ptr = 2; case 2: nmc_Minecraft_func_6261_a(var$3, var$2); if ($rt_suspending()) { break main; } var$5 = new nms_World; var$2 = $rt_s(924); var$6 = ju_Random_nextLong(new ju_Random); var$7 = null; $ptr = 3; case 3: nms_World__init_2(var$5, var$2, var$4, var$6, var$7); if ($rt_suspending()) { break main; } if (!var$5.$field_1033_r) { var$2 = $rt_s(925); $ptr = 4; continue main; } var$2 = $rt_s(926); $ptr = 5; continue main; case 4: nmc_Minecraft_func_6263_a(var$3, var$5, var$2); if ($rt_suspending()) { break main; } var$3 = $this.$mc8; var$2 = null; $ptr = 6; continue main; case 5: nmc_Minecraft_func_6263_a(var$3, var$5, var$2); if ($rt_suspending()) { break main; } var$3 = $this.$mc8; var$2 = null; $ptr = 6; case 6: nmc_Minecraft_displayGuiScreen(var$3, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_GuiSelectWorld_drawScreen($this, $var1, $var2, $var3) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $this.$screenTitle2, $this.$width / 2 | 0, 20, 16777215); $ptr = 2; case 2: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } function nms_Chunk() { var a = this; jl_Object.call(a); a.$blocks0 = null; a.$isChunkLoaded = 0; a.$worldObj3 = null; a.$data1 = null; a.$skylightMap = null; a.$blocklightMap = null; a.$heightMap = null; a.$field_1532_i = 0; a.$xPosition = 0; a.$zPosition = 0; a.$chunkTileEntityMap = null; a.$entities = null; a.$isTerrainPopulated = 0; a.$isModified = 0; a.$neverSave = 0; a.$field_1524_q = 0; a.$hasEntities = 0; a.$lastSaveTime = Long_ZERO; } var nms_Chunk_field_1540_a = 0; function nms_Chunk__init_0(var_0, var_1, var_2) { var var_3 = new nms_Chunk(); nms_Chunk__init_1(var_3, var_0, var_1, var_2); return var_3; } function nms_Chunk__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_Chunk(); nms_Chunk__init_2(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_Chunk__init_1($this, $var1, $var2, $var3) { var $var4, var$5; $this.$chunkTileEntityMap = ju_HashMap__init_0(); $this.$entities = $rt_createArray(ju_List, 8); $this.$isTerrainPopulated = 0; $this.$isModified = 0; $this.$field_1524_q = 0; $this.$hasEntities = 0; $this.$lastSaveTime = Long_ZERO; $this.$worldObj3 = $var1; $this.$xPosition = $var2; $this.$zPosition = $var3; $this.$heightMap = $rt_createByteArray(256); $var4 = 0; while (true) { var$5 = $this.$entities.data; if ($var4 >= var$5.length) break; var$5[$var4] = ju_ArrayList__init_0(); $var4 = $var4 + 1 | 0; } } function nms_Chunk__init_2($this, $var1, $var2, $var3, $var4) { var var$5; var$5 = $var2.data; nms_Chunk__init_1($this, $var1, $var3, $var4); $this.$blocks0 = $var2; $var1 = new nms_NibbleArray; $var3 = var$5.length; nms_NibbleArray__init_($var1, $var3); $this.$data1 = $var1; $this.$skylightMap = nms_NibbleArray__init_0($var3); $this.$blocklightMap = nms_NibbleArray__init_0($var3); } function nms_Chunk_isAtLocation($this, $var1, $var2) { return $var1 == $this.$xPosition && $var2 == $this.$zPosition ? 1 : 0; } function nms_Chunk_getHeightValue($this, $var1, $var2) { return $this.$heightMap.data[$var2 << 4 | $var1] & 255; } function nms_Chunk_func_1024_c($this) { var $var1, $var2, $var3, var$4, var$5, $var3_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3_0 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 127; $var2 = 0; while ($var2 < 16) { $var3 = 0; while ($var3 < 16) { var$4 = $this.$heightMap.data; var$5 = $var3 << 4 | $var2; var$4[var$5] = (-128); nms_Chunk_func_1003_g($this, $var2, 127, $var3); var$4 = $this.$heightMap.data; if ((var$4[var$5] & 255) < $var1) $var1 = var$4[var$5] & 255; $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } $this.$field_1532_i = $var1; $var1 = 0; while ($var1 < 16) { $var3_0 = 0; if ($var3_0 < 16) { $ptr = 1; continue main; } $var1 = $var1 + 1 | 0; } $this.$isModified = 1; return; case 1: nms_Chunk_func_996_c($this, $var1, $var3_0); if ($rt_suspending()) { break main; } $var3_0 = $var3_0 + 1 | 0; while (true) { if ($var3_0 < 16) { continue main; } $var1 = $var1 + 1 | 0; if ($var1 >= 16) break; $var3_0 = 0; } $this.$isModified = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var3_0, $ptr); } function nms_Chunk_func_4143_d($this) { var $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$9, var$10; $var2 = 0; while ($var2 < 16) { $var3 = 0; while ($var3 < 16) { $var4 = $var2 << 11 | $var3 << 7; $var5 = 0; while ($var5 < 128) { nms_Block_$callClinit(); $var6 = nms_Block_lightValue.data[$this.$blocks0.data[$var4 + $var5 | 0]]; if ($var6 > 0) nms_NibbleArray_setNibble($this.$blocklightMap, $var2, $var5, $var3, $var6); $var5 = $var5 + 1 | 0; } $var5 = 15; $var6 = 30; while ($var6 < 128 && $var5 > 0) { $var6 = $var6 + 1 | 0; $var7 = $this.$blocks0.data[$var4 + $var6 | 0]; nms_Block_$callClinit(); $var8 = nms_Block_lightOpacity.data[$var7]; $var9 = nms_Block_lightValue.data[$var7]; if (!$var8) $var8 = 1; $var5 = $var5 - $var8 | 0; if ($var9 <= $var5) $var9 = $var5; $var5 = $var9 < 0 ? 0 : $var9; nms_NibbleArray_setNibble($this.$blocklightMap, $var2, $var6, $var3, $var5); } $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } var$9 = $this.$worldObj3; nms_EnumSkyBlock_$callClinit(); var$10 = nms_EnumSkyBlock_Block; $var5 = $this.$xPosition * 16 | 0; $var7 = $this.$zPosition * 16 | 0; nms_World_func_616_a(var$9, var$10, $var5, 31, $var7, $var5 + 16 | 0, 33, $var7 + 16 | 0); $this.$isModified = 1; } function nms_Chunk_func_996_c($this, $var1, $var2) { var $var3, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = nms_Chunk_getHeightValue($this, $var1, $var2); $var4 = ($this.$xPosition * 16 | 0) + $var1 | 0; $var5 = ($this.$zPosition * 16 | 0) + $var2 | 0; $var1 = $var4 - 1 | 0; $ptr = 1; case 1: nms_Chunk_func_1020_f($this, $var1, $var5, $var3); if ($rt_suspending()) { break main; } $var1 = $var4 + 1 | 0; $ptr = 2; case 2: nms_Chunk_func_1020_f($this, $var1, $var5, $var3); if ($rt_suspending()) { break main; } $var1 = $var5 - 1 | 0; $ptr = 3; case 3: nms_Chunk_func_1020_f($this, $var4, $var1, $var3); if ($rt_suspending()) { break main; } $var1 = $var5 + 1 | 0; $ptr = 4; case 4: nms_Chunk_func_1020_f($this, $var4, $var1, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_Chunk_func_1020_f($this, $var1, $var2, $var3) { var var$4, $var4, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var4 = $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: var$4 = $this.$worldObj3; $ptr = 1; case 1: $tmp = nms_World_getHeightValue(var$4, $var1, $var2); if ($rt_suspending()) { break main; } $var4 = $tmp; var$6 = $rt_compare($var4, $var3); if (var$6 > 0) { var$4 = $this.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$4, nms_EnumSkyBlock_Sky, $var1, $var3, $var2, $var1, $var4, $var2); } else if (var$6 < 0) { var$4 = $this.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$4, nms_EnumSkyBlock_Sky, $var1, $var4, $var2, $var1, $var3, $var2); } $this.$isModified = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var4, var$6, $ptr); } function nms_Chunk_func_1003_g($this, $var1, $var2, $var3) { var var$4, $var8, $var9, $var6, var$8, $var7, $var9_0, $var11; var$4 = $this.$heightMap.data; $var8 = $var3 << 4 | $var1; $var9 = var$4[$var8] & 255; if ($var2 <= $var9) $var2 = $var9; $var6 = $var1 << 11 | $var3 << 7; while ($var2 > 0) { nms_Block_$callClinit(); if (nms_Block_lightOpacity.data[$this.$blocks0.data[($var6 + $var2 | 0) - 1 | 0]]) break; $var2 = $var2 + (-1) | 0; } $var6 = $rt_compare($var2, $var9); if ($var6) { var$8 = $this.$worldObj3; if ($var6 <= 0) { $var7 = $var9; $var9_0 = $var2; } else { $var7 = $var2; $var9_0 = $var9; } nms_World_func_701_b(var$8, $var1, $var9_0, $var3, $var1, $var7, $var3); var$4 = $this.$heightMap.data; var$4[$var8] = $var2 << 24 >> 24; if ($var2 < $this.$field_1532_i) $this.$field_1532_i = $var2; else { $var7 = 127; $var8 = 0; while ($var8 < 16) { $var9_0 = 0; while ($var9_0 < 16) { $var11 = $var9_0 << 4 | $var8; if ((var$4[$var11] & 255) < $var7) $var7 = var$4[$var11] & 255; $var9_0 = $var9_0 + 1 | 0; } $var8 = $var8 + 1 | 0; } $this.$field_1532_i = $var7; } a: { $var7 = ($this.$xPosition * 16 | 0) + $var1 | 0; $var8 = ($this.$zPosition * 16 | 0) + $var3 | 0; if ($var6 < 0) { $var9_0 = $var2; while (true) { if ($var9_0 >= $var9) break a; nms_NibbleArray_setNibble($this.$skylightMap, $var1, $var9_0, $var3, 15); $var9_0 = $var9_0 + 1 | 0; } } var$8 = $this.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$8, nms_EnumSkyBlock_Sky, $var7, $var9, $var8, $var7, $var2, $var8); while (true) { if ($var9 >= $var2) break a; nms_NibbleArray_setNibble($this.$skylightMap, $var1, $var9, $var3, 0); $var9 = $var9 + 1 | 0; } } $var9_0 = 15; $var9 = $var2; b: { while ($var9 > 0) { if ($var9_0 <= 0) break b; $var9 = $var9 + (-1) | 0; nms_Block_$callClinit(); $var11 = nms_Block_lightOpacity.data[nms_Chunk_getBlockID($this, $var1, $var9, $var3)]; if (!$var11) $var11 = 1; $var9_0 = $var9_0 - $var11 | 0; if ($var9_0 < 0) $var9_0 = 0; nms_NibbleArray_setNibble($this.$skylightMap, $var1, $var9, $var3, $var9_0); } } while ($var9 > 0) { nms_Block_$callClinit(); if (nms_Block_lightOpacity.data[nms_Chunk_getBlockID($this, $var1, $var9 - 1 | 0, $var3)]) break; $var9 = $var9 + (-1) | 0; } if ($var9 != $var2) { var$8 = $this.$worldObj3; nms_EnumSkyBlock_$callClinit(); nms_World_func_616_a(var$8, nms_EnumSkyBlock_Sky, $var7 - 1 | 0, $var9, $var8 - 1 | 0, $var7 + 1 | 0, $var2, $var8 + 1 | 0); } $this.$isModified = 1; } } function nms_Chunk_getBlockID($this, $var1, $var2, $var3) { return $this.$blocks0.data[$var1 << 11 | $var3 << 7 | $var2]; } function nms_Chunk_getBlockMetadata($this, $var1, $var2, $var3) { return nms_NibbleArray_getNibble($this.$data1, $var1, $var2, $var3); } function nms_Chunk_getBlockLightValue($this, $var1, $var2, $var3, $var4) { var $var5, $var6; $var5 = nms_NibbleArray_getNibble($this.$skylightMap, $var1, $var2, $var3); if ($var5 > 0) nms_Chunk_field_1540_a = 1; $var4 = $var5 - $var4 | 0; $var6 = nms_NibbleArray_getNibble($this.$blocklightMap, $var1, $var2, $var3); if ($var6 <= $var4) $var6 = $var4; return $var6; } function nms_Chunk_addEntity($this, $var1) { var $var2, $var3, var$4, var$5, $var4, var$7; if (!$this.$field_1524_q) { $this.$hasEntities = 1; $var2 = nms_MathHelper_floor_double($var1.$posX / 16.0); $var3 = nms_MathHelper_floor_double($var1.$posZ / 16.0); if (!($var2 == $this.$xPosition && $var3 == $this.$zPosition)) { var$4 = jl_System_err(); var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(927)), $var1); ji_PrintStream_println(var$4, jl_AbstractStringBuilder_toString(var$5)); } $var4 = nms_MathHelper_floor_double($var1.$posY / 16.0); if ($var4 < 0) $var4 = 0; var$7 = $this.$entities.data; $var2 = var$7.length; if ($var4 >= $var2) $var4 = $var2 - 1 | 0; $var1.$field_621_aZ = 1; $var1.$field_657_ba = $this.$xPosition; $var1.$field_656_bb = $var4; $var1.$field_654_bc = $this.$zPosition; ju_ArrayList_add(var$7[$var4], $var1); } } function nms_Chunk_func_1015_b($this, $var1) { nms_Chunk_func_1016_a($this, $var1, $var1.$field_656_bb); } function nms_Chunk_func_1016_a($this, $var1, $var2) { var var$3, var$4; if ($var2 < 0) $var2 = 0; var$3 = $this.$entities.data; var$4 = var$3.length; if ($var2 >= var$4) $var2 = var$4 - 1 | 0; ju_ArrayList_remove0(var$3[$var2], $var1); } function nms_Chunk_canBlockSeeTheSky($this, $var1, $var2, $var3) { return $var2 < ($this.$heightMap.data[$var3 << 4 | $var1] & 255) ? 0 : 1; } function nms_Chunk_getChunkBlockTileEntity($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = nms_ChunkPosition__init_($var1, $var2, $var3); $var5 = ju_HashMap_get($this.$chunkTileEntityMap, $var4); if ($var5 !== null) return $var5; $var6 = nms_Chunk_getBlockID($this, $var1, $var2, $var3); nms_Block_$callClinit(); if (!nms_Block_isBlockContainer.data[$var6]) return null; $var7 = nms_Block_blocksList.data[$var6]; $var5 = $this.$worldObj3; $var1 = ($this.$xPosition * 16 | 0) + $var1 | 0; $var3 = ($this.$zPosition * 16 | 0) + $var3 | 0; $ptr = 1; case 1: $var7.$onBlockAdded($var5, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return ju_HashMap_get($this.$chunkTileEntityMap, $var4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_Chunk_setChunkBlockTileEntity($this, $var1, $var2, $var3, $var4) { var $var5; a: { $var5 = nms_ChunkPosition__init_($var1, $var2, $var3); $var4.$worldObj4 = $this.$worldObj3; $var4.$xCoord0 = ($this.$xPosition * 16 | 0) + $var1 | 0; $var4.$yCoord0 = $var2; $var4.$zCoord0 = ($this.$zPosition * 16 | 0) + $var3 | 0; if (nms_Chunk_getBlockID($this, $var1, $var2, $var3)) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[nms_Chunk_getBlockID($this, $var1, $var2, $var3)] instanceof nms_BlockContainer) { if ($this.$isChunkLoaded) { if (ju_HashMap_get($this.$chunkTileEntityMap, $var5) !== null) ju_ArrayList_remove0($this.$worldObj3.$loadedTileEntityList, ju_HashMap_get($this.$chunkTileEntityMap, $var5)); ju_ArrayList_add($this.$worldObj3.$loadedTileEntityList, $var4); } ju_HashMap_put($this.$chunkTileEntityMap, $var5, $var4); break a; } } ji_PrintStream_println(jl_System_out(), $rt_s(928)); } } function nms_Chunk_setChunkModified($this) { $this.$isModified = 1; } function nms_Chunk_needsSaving($this, $var1) { return $this.$neverSave ? 0 : $this.$hasEntities && Long_ne($this.$worldObj3.$worldTime, $this.$lastSaveTime) ? 1 : $this.$isModified; } function ju_HashSet() { ju_AbstractSet.call(this); this.$backingMap = null; } function ju_HashSet__init_0() { var var_0 = new ju_HashSet(); ju_HashSet__init_(var_0); return var_0; } function ju_HashSet__init_($this) { $this.$backingMap = ju_HashMap__init_0(); } function ju_HashSet_add($this, $object) { return ju_HashMap_put($this.$backingMap, $object, $this) !== null ? 0 : 1; } function ju_HashSet_clear($this) { ju_HashMap_clear($this.$backingMap); } function ju_HashSet_contains($this, $object) { return ju_HashMap_containsKey($this.$backingMap, $object); } function ju_HashSet_iterator($this) { var var$1, var$2; var$1 = $this.$backingMap; if (var$1.$cachedKeySet === null) { var$2 = new ju_HashMap$1; var$2.$this$040 = var$1; var$1.$cachedKeySet = var$2; } var$2 = var$1.$cachedKeySet; var$1 = new ju_HashMap$KeyIterator; ju_HashMap$AbstractMapIterator__init_(var$1, var$2.$this$040); return var$1; } function ju_HashSet_remove($this, $object) { return ju_HashMap_remove($this.$backingMap, $object) === null ? 0 : 1; } function ju_HashSet_size($this) { return $this.$backingMap.$elementCount; } function nms_ChunkCache() { var a = this; jl_Object.call(a); a.$field_1060_a = 0; a.$field_1059_b = 0; a.$field_1062_c = null; a.$worldObj10 = null; } function nms_ChunkCache__init_0(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new nms_ChunkCache(); nms_ChunkCache__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function nms_ChunkCache__init_($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var10, $var8, $var9, $var11, 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();$var11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$worldObj10 = $var1; $var10 = $var2 >> 4; $this.$field_1060_a = $var10; $var2 = $var4 >> 4; $this.$field_1059_b = $var2; $var8 = $var5 >> 4; $var9 = $var7 >> 4; $this.$field_1062_c = $rt_createMultiArray(nms_Chunk, [($var9 - $var2 | 0) + 1 | 0, ($var8 - $var10 | 0) + 1 | 0]); while ($var10 <= $var8) { $var11 = $this.$field_1059_b; if ($var11 <= $var9) { var$12 = $this.$field_1062_c.data[$var10 - $this.$field_1060_a | 0].data; $var2 = $var11 - $this.$field_1059_b | 0; $ptr = 1; continue main; } $var10 = $var10 + 1 | 0; } return; case 1: $tmp = nms_World_getChunkFromChunkCoords($var1, $var10, $var11); if ($rt_suspending()) { break main; } var$13 = $tmp; var$12[$var2] = var$13; $var11 = $var11 + 1 | 0; while (true) { if ($var11 <= $var9) { var$12 = $this.$field_1062_c.data[$var10 - $this.$field_1060_a | 0].data; $var2 = $var11 - $this.$field_1059_b | 0; continue main; } $var10 = $var10 + 1 | 0; if ($var10 > $var8) break; $var11 = $this.$field_1059_b; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var10, $var8, $var9, $var11, var$12, var$13, $ptr); } function nms_ChunkCache_getBlockId($this, $var1, $var2, $var3) { var $var4, $var5; if ($var2 < 0) return 0; if ($var2 >= 128) return 0; $var4 = ($var1 >> 4) - $this.$field_1060_a | 0; $var5 = ($var3 >> 4) - $this.$field_1059_b | 0; return nms_Chunk_getBlockID($this.$field_1062_c.data[$var4].data[$var5], $var1 & 15, $var2, $var3 & 15); } function nms_ChunkCache_getLightBrightness($this, $var1, $var2, $var3) { return $this.$worldObj10.$worldProvider.$lightBrightnessTable.data[nms_ChunkCache_func_716_a($this, $var1, $var2, $var3, 1)]; } function nms_ChunkCache_func_716_a($this, $var1, $var2, $var3, $var4) { var $var5, $var6, $var7, $var8, $var9, $var10; if ($var1 >= (-32000000) && $var3 >= (-32000000) && $var1 < 32000000 && $var3 <= 32000000) { a: { if ($var4) { $var5 = nms_ChunkCache_getBlockId($this, $var1, $var2, $var3); nms_Block_$callClinit(); if ($var5 == nms_Block_stairSingle.$blockID) break a; if ($var5 == nms_Block_tilledField.$blockID) break a; } if ($var2 < 0) return 0; if ($var2 >= 128) { $var5 = 15 - $this.$worldObj10.$skylightSubtracted | 0; if ($var5 < 0) $var5 = 0; return $var5; } $var5 = ($var1 >> 4) - $this.$field_1060_a | 0; $var6 = ($var3 >> 4) - $this.$field_1059_b | 0; return nms_Chunk_getBlockLightValue($this.$field_1062_c.data[$var5].data[$var6], $var1 & 15, $var2, $var3 & 15, $this.$worldObj10.$skylightSubtracted); } $var6 = nms_ChunkCache_func_716_a($this, $var1, $var2 + 1 | 0, $var3, 0); $var7 = nms_ChunkCache_func_716_a($this, $var1 + 1 | 0, $var2, $var3, 0); $var8 = nms_ChunkCache_func_716_a($this, $var1 - 1 | 0, $var2, $var3, 0); $var9 = nms_ChunkCache_func_716_a($this, $var1, $var2, $var3 + 1 | 0, 0); $var10 = nms_ChunkCache_func_716_a($this, $var1, $var2, $var3 - 1 | 0, 0); if ($var7 <= $var6) $var7 = $var6; if ($var8 <= $var7) $var8 = $var7; if ($var9 <= $var8) $var9 = $var8; if ($var10 <= $var9) $var10 = $var9; return $var10; } return 15; } function nms_ChunkCache_getBlockMetadata($this, $var1, $var2, $var3) { var $var4, $var5; if ($var2 < 0) return 0; if ($var2 >= 128) return 0; $var4 = ($var1 >> 4) - $this.$field_1060_a | 0; $var5 = ($var3 >> 4) - $this.$field_1059_b | 0; return nms_Chunk_getBlockMetadata($this.$field_1062_c.data[$var4].data[$var5], $var1 & 15, $var2, $var3 & 15); } function nms_ChunkCache_getBlockMaterial($this, $var1, $var2, $var3) { var $var4, var$5; $var4 = nms_ChunkCache_getBlockId($this, $var1, $var2, $var3); if (!$var4) { nms_Material_$callClinit(); var$5 = nms_Material_air; } else { nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[$var4].$blockMaterial; } return var$5; } function nms_ChunkCache_isBlockOpaqueCube($this, $var1, $var2, $var3) { var $var4; nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[nms_ChunkCache_getBlockId($this, $var1, $var2, $var3)]; return $var4 !== null ? $var4.$isOpaqueCube() : 0; } function nms_ChunkCache_func_4075_a($this) { return nms_World_func_4075_a($this.$worldObj10); } var nms_MinecraftError = $rt_classWithoutFields(jl_Error); function nms_MinecraftError__init_0() { var var_0 = new nms_MinecraftError(); nms_MinecraftError__init_(var_0); return var_0; } function nms_MinecraftError__init_($this) { jl_Throwable__init_0($this); } function nms_WorldChunkManager() { var a = this; jl_Object.call(a); a.$field_4194_e = null; a.$field_4193_f = null; a.$field_4192_g = null; a.$temperature = null; a.$humidity = null; a.$field_4196_c = null; a.$field_4195_d = null; } function nms_WorldChunkManager__init_0() { var var_0 = new nms_WorldChunkManager(); nms_WorldChunkManager__init_(var_0); return var_0; } function nms_WorldChunkManager__init_($this) {} function nms_WorldChunkManager_func_4074_a($this, $var1) { return $this.$func_4073_a($var1.$chunkXPos, $var1.$chunkZPos); } function nms_WorldChunkManager_func_4073_a($this, $var1, $var2) { return ($this.$func_4069_a($var1, $var2, 1, 1)).data[0]; } function nms_WorldChunkManager_func_4072_b($this, $var1, $var2) { var var$3, var$4; var$3 = nms_NoiseGeneratorOctaves2_func_4112_a($this.$field_4194_e, $this.$temperature, $var1, $var2, 1, 1, 0.02500000037252903, 0.02500000037252903, 0.5); var$4 = var$3.data; $this.$temperature = var$3; return var$4[0]; } function nms_WorldChunkManager_func_4069_a($this, $var1, $var2, $var3, $var4) { var var$5; var$5 = $this.$loadBlockGeneratorData($this.$field_4195_d, $var1, $var2, $var3, $var4); $this.$field_4195_d = var$5; return var$5; } function nms_WorldChunkManager_getTemperatures($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, $var15, var$9, $var6, $var7, $var8, var$13, var$14, $var9; if (!($var1 !== null && $var1.data.length >= $rt_imul($var4, $var5))) $var1 = $rt_createDoubleArray($rt_imul($var4, $var5)); var$6 = $this.$field_4194_e; var$7 = $var2; $var15 = $var3; $var1 = nms_NoiseGeneratorOctaves2_func_4112_a(var$6, $var1, var$7, $var15, $var4, $var4, 0.02500000037252903, 0.02500000037252903, 0.25); var$9 = nms_NoiseGeneratorOctaves2_func_4112_a($this.$field_4192_g, $this.$field_4196_c, var$7, $var15, $var4, $var4, 0.25, 0.25, 0.5882352941176471); $this.$field_4196_c = var$9; $var6 = 0; $var7 = 0; while ($var7 < $var4) { $var8 = 0; while ($var8 < $var5) { var$13 = var$9.data; var$14 = $var1.data; $var9 = var$13[$var6] * 1.1 + 0.5; $var15 = 1.0 - ((var$14[$var6] * 0.15 + 0.7) * 0.99 + $var9 * 0.01); $var15 = 1.0 - $var15 * $var15; if ($var15 < 0.0) $var15 = 0.0; if ($var15 > 1.0) $var15 = 1.0; var$14[$var6] = $var15; $var6 = $var6 + 1 | 0; $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } return $var1; } function nms_WorldChunkManager_loadBlockGeneratorData($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, $var13, $var9, var$10, $var6, $var7, $var8, var$14, $var15, $var17, $var11, var$18, var$19, var$20; if (!($var1 !== null && $var1.data.length >= $rt_imul($var4, $var5))) $var1 = $rt_createArray(nms_MobSpawnerBase, $rt_imul($var4, $var5)); var$6 = $this.$field_4194_e; var$7 = $this.$temperature; $var13 = $var2; $var9 = $var3; $this.$temperature = nms_NoiseGeneratorOctaves2_func_4112_a(var$6, var$7, $var13, $var9, $var4, $var4, 0.02500000037252903, 0.02500000037252903, 0.25); $this.$humidity = nms_NoiseGeneratorOctaves2_func_4112_a($this.$field_4193_f, $this.$humidity, $var13, $var9, $var4, $var4, 0.05000000074505806, 0.05000000074505806, 0.3333333333333333); var$10 = nms_NoiseGeneratorOctaves2_func_4112_a($this.$field_4192_g, $this.$field_4196_c, $var13, $var9, $var4, $var4, 0.25, 0.25, 0.5882352941176471); $this.$field_4196_c = var$10; $var6 = 0; $var7 = 0; while ($var7 < $var4) { $var8 = 0; while ($var8 < $var5) { $var9 = var$10.data[$var6] * 1.1 + 0.5; var$14 = $this.$temperature.data; $var15 = (var$14[$var6] * 0.15 + 0.7) * 0.99 + $var9 * 0.01; var$7 = $this.$humidity.data; $var17 = (var$7[$var6] * 0.15 + 0.5) * 0.998 + $var9 * 0.002; $var11 = 1.0 - $var15; var$18 = 1.0 - $var11 * $var11; if (var$18 < 0.0) var$18 = 0.0; if ($var17 < 0.0) $var17 = 0.0; if (var$18 > 1.0) var$18 = 1.0; if ($var17 > 1.0) $var17 = 1.0; var$19 = $var1.data; var$14[$var6] = var$18; var$7[$var6] = $var17; $var3 = $var6 + 1 | 0; nms_MobSpawnerBase_$callClinit(); var$20 = var$18 * 63.0 | 0; $var2 = $var17 * 63.0 | 0; var$19[$var6] = nms_MobSpawnerBase_biomeLookupTable.data[var$20 + ($var2 * 64 | 0) | 0]; $var8 = $var8 + 1 | 0; $var6 = $var3; } $var7 = $var7 + 1 | 0; } return $var1; } var nms_ColorizerGrass = $rt_classWithoutFields(); var nms_ColorizerGrass_field_6540_a = null; function nms_ColorizerGrass__init_0() { var var_0 = new nms_ColorizerGrass(); nms_ColorizerGrass__init_(var_0); return var_0; } function nms_ColorizerGrass__init_($this) {} function nms_ColorizerGrass__clinit_() { nms_ColorizerGrass_field_6540_a = null; } var nms_ColorizerFoliage = $rt_classWithoutFields(); var nms_ColorizerFoliage_field_6529_a = null; function nms_ColorizerFoliage__init_0() { var var_0 = new nms_ColorizerFoliage(); nms_ColorizerFoliage__init_(var_0); return var_0; } function nms_ColorizerFoliage__init_($this) {} function nms_ColorizerFoliage__clinit_() { nms_ColorizerFoliage_field_6529_a = null; } function nlea_EaglerAdapterImpl2$14$1() { jl_Object.call(this); this.$this$03 = null; } function nlea_EaglerAdapterImpl2$14$1_onTimer$exported$0(var$0) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; } function jur_AbstractCharClass$1() { var a = this; jur_AbstractCharClass.call(a); a.$val$lHS = null; a.$this$04 = null; } function jur_AbstractCharClass$1_contains($this, $ch) { var $index; $index = $ch - 55296 | 0; return $index >= 0 && $index < 2048 ? $this.$altSurrogates ^ ju_BitSet_get($this.$val$lHS, $index) : 0; } function jur_AbstractCharClass$2() { var a = this; jur_AbstractCharClass.call(a); a.$val$lHS0 = null; a.$val$thisClass = null; a.$this$05 = null; } function jur_AbstractCharClass$2_contains($this, $ch) { var $index, $containslHS; $index = $ch - 55296 | 0; $containslHS = $index >= 0 && $index < 2048 ? $this.$altSurrogates ^ ju_BitSet_get($this.$val$lHS0, $index) : 0; return $this.$val$thisClass.$contains1($ch) && !$containslHS ? 1 : 0; } function jur_CharClass$18() { var a = this; jur_AbstractCharClass.call(a); a.$val$bs = null; a.$this$023 = null; } function jur_CharClass$18_contains($this, $ch) { return $this.$alt0 ^ ju_BitSet_get($this.$val$bs, $ch); } function jur_CharClass$18_toString($this) { var $temp, $i, var$3; $temp = new jl_StringBuilder; jl_AbstractStringBuilder__init_($temp); $i = ju_BitSet_nextSetBit($this.$val$bs, 0); while ($i >= 0) { jl_AbstractStringBuilder_append2($temp, jl_Character_toChars($i)); jl_AbstractStringBuilder_append($temp, 124); $i = ju_BitSet_nextSetBit($this.$val$bs, $i + 1 | 0); } var$3 = $temp.$length0; if (var$3 > 0) jl_StringBuilder_deleteCharAt($temp, var$3 - 1 | 0); return jl_AbstractStringBuilder_toString($temp); } function jur_CharClass$1() { var a = this; jur_AbstractCharClass.call(a); a.$val$cc1 = null; a.$this$08 = null; } function jur_CharClass$1_contains($this, $ch) { return $this.$val$cc1.$contains1($ch); } function jur_CharClass$3() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt1 = 0; a.$val$cc2 = null; a.$this$09 = null; } function jur_CharClass$3_contains($this, $ch) { return !($this.$val$curAlt1 ^ ju_BitSet_get($this.$this$09.$bits, $ch)) && !($this.$val$curAlt1 ^ $this.$this$09.$inverted ^ $this.$val$cc2.$contains1($ch)) ? 0 : 1; } function jur_CharClass$2() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt2 = 0; a.$val$cc3 = null; a.$this$010 = null; } function jur_CharClass$2_contains($this, $ch) { return !($this.$val$curAlt2 ^ ju_BitSet_get($this.$this$010.$bits, $ch)) && !($this.$val$curAlt2 ^ $this.$this$010.$inverted ^ $this.$val$cc3.$contains1($ch)) ? 1 : 0; } function jur_CharClass$5() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt = 0; a.$val$nb = null; a.$val$cc = null; a.$this$06 = null; } function jur_CharClass$5_contains($this, $ch) { return $this.$val$curAlt ^ (!$this.$val$nb.$contains1($ch) && !$this.$val$cc.$contains1($ch) ? 0 : 1); } function jur_CharClass$4() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt0 = 0; a.$val$nb0 = null; a.$val$cc0 = null; a.$this$07 = null; } function jur_CharClass$4_contains($this, $ch) { return $this.$val$curAlt0 ^ (!$this.$val$nb0.$contains1($ch) && !$this.$val$cc0.$contains1($ch) ? 0 : 1) ? 0 : 1; } function jur_CharClass$7() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz1 = null; a.$this$013 = null; } function jur_CharClass$7_contains($this, $ch) { return jur_CharClass_contains($this.$val$clazz1, $ch); } function jur_CharClass$6() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz2 = null; a.$this$014 = null; } function jur_CharClass$6_contains($this, $ch) { return jur_CharClass_contains($this.$val$clazz2, $ch) ? 0 : 1; } function jur_CharClass$9() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz3 = null; a.$val$curAlt5 = 0; a.$this$015 = null; } function jur_CharClass$9_contains($this, $ch) { return !jur_CharClass_contains($this.$val$clazz3, $ch) && !($this.$val$curAlt5 ^ ju_BitSet_get($this.$this$015.$bits, $ch)) ? 0 : 1; } function jur_CharClass$8() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz4 = null; a.$val$curAlt6 = 0; a.$this$016 = null; } function jur_CharClass$8_contains($this, $ch) { return !jur_CharClass_contains($this.$val$clazz4, $ch) && !($this.$val$curAlt6 ^ ju_BitSet_get($this.$this$016.$bits, $ch)) ? 1 : 0; } function jur_CharClass$11() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt3 = 0; a.$val$nb1 = null; a.$val$clazz = null; a.$this$011 = null; } function jur_CharClass$11_contains($this, $ch) { return !($this.$val$curAlt3 ^ $this.$val$nb1.$contains1($ch)) && !jur_CharClass_contains($this.$val$clazz, $ch) ? 0 : 1; } function jur_CharClass$10() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt4 = 0; a.$val$nb2 = null; a.$val$clazz0 = null; a.$this$012 = null; } function jur_CharClass$10_contains($this, $ch) { return !($this.$val$curAlt4 ^ $this.$val$nb2.$contains1($ch)) && !jur_CharClass_contains($this.$val$clazz0, $ch) ? 1 : 0; } function jur_CharClass$13() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz7 = null; a.$this$019 = null; } function jur_CharClass$13_contains($this, $ch) { return jur_CharClass_contains($this.$val$clazz7, $ch); } function jur_CharClass$12() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz8 = null; a.$this$020 = null; } function jur_CharClass$12_contains($this, $ch) { return jur_CharClass_contains($this.$val$clazz8, $ch) ? 0 : 1; } function jur_CharClass$15() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz9 = null; a.$val$curAlt9 = 0; a.$this$021 = null; } function jur_CharClass$15_contains($this, $ch) { return jur_CharClass_contains($this.$val$clazz9, $ch) && $this.$val$curAlt9 ^ ju_BitSet_get($this.$this$021.$bits, $ch) ? 1 : 0; } function jur_CharClass$14() { var a = this; jur_AbstractCharClass.call(a); a.$val$clazz10 = null; a.$val$curAlt10 = 0; a.$this$022 = null; } function jur_CharClass$14_contains($this, $ch) { return jur_CharClass_contains($this.$val$clazz10, $ch) && $this.$val$curAlt10 ^ ju_BitSet_get($this.$this$022.$bits, $ch) ? 0 : 1; } function jur_CharClass$17() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt7 = 0; a.$val$nb3 = null; a.$val$clazz5 = null; a.$this$017 = null; } function jur_CharClass$17_contains($this, $ch) { return $this.$val$curAlt7 ^ $this.$val$nb3.$contains1($ch) && jur_CharClass_contains($this.$val$clazz5, $ch) ? 1 : 0; } function jur_CharClass$16() { var a = this; jur_AbstractCharClass.call(a); a.$val$curAlt8 = 0; a.$val$nb4 = null; a.$val$clazz6 = null; a.$this$018 = null; } function jur_CharClass$16_contains($this, $ch) { return $this.$val$curAlt8 ^ $this.$val$nb4.$contains1($ch) && jur_CharClass_contains($this.$val$clazz6, $ch) ? 0 : 1; } var ju_ConcurrentModificationException = $rt_classWithoutFields(jl_RuntimeException); function ju_ConcurrentModificationException__init_0() { var var_0 = new ju_ConcurrentModificationException(); ju_ConcurrentModificationException__init_(var_0); return var_0; } function ju_ConcurrentModificationException__init_($this) { jl_Throwable__init_0($this); } var jl_AbstractStringBuilder$Constants = $rt_classWithoutFields(); 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__init_0() { var var_0 = new jl_AbstractStringBuilder$Constants(); jl_AbstractStringBuilder$Constants__init_(var_0); return var_0; } function jl_AbstractStringBuilder$Constants__init_($this) {} function jl_AbstractStringBuilder$Constants__clinit_() { jl_AbstractStringBuilder$Constants_intPowersOfTen = $rt_createIntArrayFromData([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000]); jl_AbstractStringBuilder$Constants_longPowersOfTen = $rt_createLongArrayFromData([Long_fromInt(1), Long_fromInt(10), Long_fromInt(100), Long_fromInt(1000), Long_fromInt(10000), Long_fromInt(100000), Long_fromInt(1000000), Long_fromInt(10000000), Long_fromInt(100000000), Long_fromInt(1000000000), Long_create(1410065408, 2), Long_create(1215752192, 23), Long_create(3567587328, 232), Long_create(1316134912, 2328), Long_create(276447232, 23283), Long_create(2764472320, 232830), Long_create(1874919424, 2328306), Long_create(1569325056, 23283064), Long_create(2808348672, 232830643)]); jl_AbstractStringBuilder$Constants_longLogPowersOfTen = $rt_createLongArrayFromData([Long_fromInt(1), Long_fromInt(10), Long_fromInt(100), Long_fromInt(10000), Long_fromInt(100000000), Long_create(1874919424, 2328306)]); jl_AbstractStringBuilder$Constants_doubleAnalysisResult = new otcit_DoubleAnalyzer$Result; jl_AbstractStringBuilder$Constants_floatAnalysisResult = new otcit_FloatAnalyzer$Result; } var otcit_DoubleAnalyzer = $rt_classWithoutFields(); var otcit_DoubleAnalyzer_MAX_MANTISSA = Long_ZERO; var otcit_DoubleAnalyzer_mantissa10Table = null; var otcit_DoubleAnalyzer_exp10Table = null; function otcit_DoubleAnalyzer__init_0() { var var_0 = new otcit_DoubleAnalyzer(); otcit_DoubleAnalyzer__init_(var_0); return var_0; } function otcit_DoubleAnalyzer__init_($this) {} function otcit_DoubleAnalyzer_analyze($d, $result) { var $bits, $mantissa, $exponent, var$6, $posCmp, $mantissaShift, $decExponent, $binExponentCorrection, var$11, $decMantissa, $decMantissaHi, $decMantissaLow, $lowerPos, $lowerPos_0, $upperPos, $upperPos_0; $bits = jl_Double_doubleToLongBits($d); $result.$sign0 = Long_eq(Long_and($bits, Long_create(0, 2147483648)), Long_ZERO) ? 0 : 1; $mantissa = Long_and($bits, Long_create(4294967295, 1048575)); $exponent = Long_lo(Long_shr($bits, 52)) & 2047; if (Long_eq($mantissa, Long_ZERO) && !$exponent) { $result.$mantissa0 = Long_ZERO; $result.$exponent0 = 0; return; } if ($exponent) $mantissa = Long_or($mantissa, Long_create(0, 1048576)); else { $mantissa = Long_shl($mantissa, 1); while (Long_eq(Long_and($mantissa, Long_create(0, 1048576)), Long_ZERO)) { $mantissa = Long_shl($mantissa, 1); $exponent = $exponent + (-1) | 0; } } var$6 = otcit_DoubleAnalyzer_exp10Table.data; $posCmp = $exponent << 16 >> 16; $mantissaShift = 0; $decExponent = var$6.length; if ($mantissaShift > $decExponent) { $result = new jl_IllegalArgumentException; jl_Throwable__init_0($result); $rt_throw($result); } $binExponentCorrection = $decExponent - 1 | 0; a: { while (true) { if ($mantissaShift > $binExponentCorrection) { $decExponent = ( -$mantissaShift | 0) - 1 | 0; break a; } $decExponent = ($mantissaShift + $binExponentCorrection | 0) / 2 | 0; var$11 = $rt_compare(var$6[$decExponent], $posCmp); if (!var$11) break; if (var$11 <= 0) $mantissaShift = $decExponent + 1 | 0; else $binExponentCorrection = $decExponent - 1 | 0; } } if ($decExponent < 0) $decExponent = -$decExponent | 0; $posCmp = $decExponent + 1 | 0; $mantissaShift = 12 + ($exponent - var$6[$posCmp] | 0) | 0; $decMantissa = otcit_DoubleAnalyzer_mulAndShiftRight($mantissa, otcit_DoubleAnalyzer_mantissa10Table.data[$posCmp], $mantissaShift); if (Long_le($decMantissa, otcit_DoubleAnalyzer_MAX_MANTISSA)) { while (jl_Long_compareUnsigned($decMantissa, otcit_DoubleAnalyzer_MAX_MANTISSA) <= 0) { $decExponent = $decExponent + (-1) | 0; $decMantissa = Long_add(Long_mul($decMantissa, Long_fromInt(10)), Long_fromInt(9)); } var$6 = otcit_DoubleAnalyzer_exp10Table.data; $posCmp = $decExponent + 1 | 0; $mantissaShift = 12 + ($exponent - var$6[$posCmp] | 0) | 0; $decMantissa = otcit_DoubleAnalyzer_mulAndShiftRight($mantissa, otcit_DoubleAnalyzer_mantissa10Table.data[$posCmp], $mantissaShift); } $mantissa = Long_shl($mantissa, 1); $bits = Long_add($mantissa, Long_fromInt(1)); var$6 = otcit_DoubleAnalyzer_mantissa10Table.data; $posCmp = $decExponent + 1 | 0; $decMantissaHi = var$6[$posCmp]; $exponent = $mantissaShift - 1 | 0; $decMantissaHi = otcit_DoubleAnalyzer_mulAndShiftRight($bits, $decMantissaHi, $exponent); $decMantissaLow = otcit_DoubleAnalyzer_mulAndShiftRight(Long_sub($mantissa, Long_fromInt(1)), otcit_DoubleAnalyzer_mantissa10Table.data[$posCmp], $exponent); $lowerPos = Long_fromInt(1); while (true) { $lowerPos_0 = Long_mul($lowerPos, Long_fromInt(10)); if (jl_Long_compareUnsigned(jl_Long_divideUnsigned($decMantissa, $lowerPos_0), jl_Long_divideUnsigned($decMantissaLow, $lowerPos_0)) <= 0) break; $lowerPos = $lowerPos_0; } $upperPos = Long_fromInt(1); while (true) { $upperPos_0 = Long_mul($upperPos, Long_fromInt(10)); if (jl_Long_compareUnsigned(jl_Long_divideUnsigned($decMantissa, $upperPos_0), jl_Long_divideUnsigned($decMantissaHi, $upperPos_0)) >= 0) break; $upperPos = $upperPos_0; } $posCmp = jl_Long_compareUnsigned($lowerPos, $upperPos); $mantissa = $posCmp > 0 ? Long_mul(jl_Long_divideUnsigned($decMantissa, $lowerPos), $lowerPos) : $posCmp < 0 ? Long_add(Long_mul(jl_Long_divideUnsigned($decMantissa, $upperPos), $upperPos), $upperPos) : Long_mul(jl_Long_divideUnsigned(Long_add($decMantissa, Long_div($upperPos, Long_fromInt(2))), $upperPos), $upperPos); if (jl_Long_compareUnsigned($mantissa, Long_create(2808348672, 232830643)) >= 0) while (true) { $decExponent = $decExponent + 1 | 0; $mantissa = jl_Long_divideUnsigned($mantissa, Long_fromInt(10)); if (jl_Long_compareUnsigned($mantissa, Long_create(2808348672, 232830643)) < 0) break; } else if (jl_Long_compareUnsigned($mantissa, Long_create(1569325056, 23283064)) < 0) { $decExponent = $decExponent + (-1) | 0; $mantissa = Long_mul($mantissa, Long_fromInt(10)); } $result.$mantissa0 = $mantissa; $result.$exponent0 = $decExponent - 330 | 0; } function otcit_DoubleAnalyzer_mulAndShiftRight($a, $b, $shift) { var $a1, $a2, $a3, $a4, $b1, $b2, $b3, $b4; $a1 = Long_and($a, Long_fromInt(65535)); $a2 = Long_and(Long_shru($a, 16), Long_fromInt(65535)); $a3 = Long_and(Long_shru($a, 32), Long_fromInt(65535)); $a4 = Long_and(Long_shru($a, 48), Long_fromInt(65535)); $b1 = Long_and($b, Long_fromInt(65535)); $b2 = Long_and(Long_shru($b, 16), Long_fromInt(65535)); $b3 = Long_and(Long_shru($b, 32), Long_fromInt(65535)); $b4 = Long_and(Long_shru($b, 48), Long_fromInt(65535)); return Long_add(Long_add(Long_add(Long_shl(Long_mul($b4, $a4), 32 + $shift | 0), Long_shl(Long_add(Long_mul($b4, $a3), Long_mul($b3, $a4)), 16 + $shift | 0)), Long_shl(Long_add(Long_add(Long_mul($b4, $a2), Long_mul($b3, $a3)), Long_mul($b2, $a4)), $shift)), Long_shru(Long_add(Long_add(Long_add(Long_mul($b3, $a1), Long_mul($b2, $a2)), Long_mul($b1, $a3)), Long_shl(Long_add(Long_add(Long_add(Long_mul($b4, $a1), Long_mul($b3, $a2)), Long_mul($b2, $a3)), Long_mul($b1, $a4)), 16)), 32 - $shift | 0)); } function otcit_DoubleAnalyzer__clinit_() { otcit_DoubleAnalyzer_MAX_MANTISSA = jl_Long_divideUnsigned(Long_fromInt(-1), Long_fromInt(10)); otcit_DoubleAnalyzer_mantissa10Table = $rt_createLongArrayFromData([Long_create(3251292512, 2194092222), Long_create(1766094183, 3510547556), Long_create(553881887, 2808438045), Long_create(443105509, 2246750436), Long_create(3285949193, 3594800697), Long_create(910772436, 2875840558), Long_create(2446604867, 2300672446), Long_create(2196580869, 3681075914), Long_create(2616258154, 2944860731), Long_create(1234013064, 2355888585), Long_create(1974420903, 3769421736), Long_create(720543263, 3015537389), Long_create(1435428070, 2412429911), Long_create(578697993, 3859887858), Long_create(2180945313, 3087910286), Long_create(885762791, 2470328229), Long_create(3135207384, 3952525166), Long_create(1649172448, 3162020133), Long_create(3037324877, 2529616106), Long_create(3141732885, 4047385770), Long_create(2513386308, 3237908616), Long_create(1151715587, 2590326893), Long_create(983751480, 4144523029), Long_create(1645994643, 3315618423), Long_create(3034782633, 2652494738), Long_create(3996658754, 4243991581), Long_create(2338333544, 3395193265), Long_create(1870666835, 2716154612), Long_create(4073513845, 2172923689), Long_create(3940641775, 3476677903), Long_create(575533043, 2781342323), Long_create(2178413352, 2225073858), Long_create(2626467905, 3560118173), Long_create(3819161242, 2848094538), Long_create(478348616, 2278475631), Long_create(3342338164, 3645561009), Long_create(3532863990, 2916448807), Long_create(1108304273, 2333159046), Long_create(55299919, 3733054474), Long_create(903233395, 2986443579), Long_create(1581580175, 2389154863), Long_create(1671534821, 3822647781), Long_create(478234397, 3058118225), Long_create(382587518, 2446494580), Long_create(612140029, 3914391328), Long_create(2207698941, 3131513062), Long_create(48172235, 2505210450), Long_create(77075576, 4008336720), Long_create(61660460, 3206669376), Long_create(3485302205, 2565335500), Long_create(1281516232, 4104536801), Long_create(166219527, 3283629441), Long_create(3568949458, 2626903552), Long_create(2274345296, 4203045684), Long_create(2678469696, 3362436547), Long_create(424788838, 2689949238), Long_create(2057817989, 2151959390), Long_create(3292508783, 3443135024), Long_create(3493000485, 2754508019), Long_create(3653393847, 2203606415), Long_create(1550462860, 3525770265), Long_create(1240370288, 2820616212), Long_create(3569276608, 2256492969), Long_create(3133862195, 3610388751), Long_create(1648096297, 2888311001), Long_create(459483578, 2310648801), Long_create(3312154103, 3697038081), Long_create(1790729823, 2957630465), Long_create(1432583858, 2366104372), Long_create(3151127633, 3785766995), Long_create(2520902106, 3028613596), Long_create(1157728226, 2422890877), Long_create(2711358621, 3876625403), Long_create(3887073815, 3101300322), Long_create(1391672133, 2481040258), Long_create(1367681954, 3969664413), Long_create(2812132482, 3175731530), Long_create(2249705985, 2540585224), Long_create(1022549199, 4064936359), Long_create(1677032818, 3251949087), Long_create(3918606632, 2601559269), Long_create(3692790234, 4162494831), Long_create(2095238728, 3329995865), Long_create(1676190982, 2663996692), Long_create(3540899031, 4262394707), Long_create(1114732307, 3409915766), Long_create(32792386, 2727932613), Long_create(1744220827, 2182346090), Long_create(2790753324, 3491753744), Long_create(3091596118, 2793402995), Long_create(2473276894, 2234722396), Long_create(2239256113, 3575555834), Long_create(2650398349, 2860444667), Long_create(402331761, 2288355734), Long_create(2361717736, 3661369174), Long_create(2748367648, 2929095339), Long_create(3057687578, 2343276271), Long_create(3174313206, 3749242034), Long_create(3398444024, 2999393627), Long_create(1000768301, 2399514902), Long_create(2460222741, 3839223843), Long_create(3686165111, 3071379074), Long_create(3807925548, 2457103259), Long_create(3515700499, 3931365215), Long_create(2812560399, 3145092172), Long_create(532061401, 2516073738), Long_create(4287272078, 4025717980), Long_create(3429817663, 3220574384), Long_create(3602847589, 2576459507), Long_create(2328582306, 4122335212), Long_create(144878926, 3297868170), Long_create(115903141, 2638294536), Long_create(2762425404, 4221271257), Long_create(491953404, 3377017006), Long_create(3829536560, 2701613604), Long_create(3922622707, 2161290883), Long_create(1122235577, 3458065414), Long_create(1756781920, 2766452331), Long_create(546432077, 2213161865), Long_create(874291324, 3541058984), Long_create(1558426518, 2832847187), Long_create(3823721592, 2266277749), Long_create(3540974170, 3626044399), Long_create(3691772795, 2900835519), Long_create(3812411695, 2320668415), Long_create(1804891416, 3713069465), Long_create(1443913133, 2970455572), Long_create(3732110884, 2376364457), Long_create(2535403578, 3802183132), Long_create(310335944, 3041746506), Long_create(3684242592, 2433397204), Long_create(3317807769, 3893435527), Long_create(936259297, 3114748422), Long_create(3325987815, 2491798737), Long_create(1885606668, 3986877980), Long_create(1508485334, 3189502384), Long_create(2065781726, 2551601907), Long_create(4164244222, 4082563051), Long_create(2472401918, 3266050441), Long_create(1118928075, 2612840353), Long_create(931291461, 4180544565), Long_create(745033169, 3344435652), Long_create(3173006913, 2675548521), Long_create(3358824142, 4280877634), Long_create(3546052773, 3424702107), Long_create(1118855300, 2739761686), Long_create(36090780, 2191809349), Long_create(1775732167, 3506894958), Long_create(3138572652, 2805515966), Long_create(1651864662, 2244412773), Long_create(1783990001, 3591060437), Long_create(4004172378, 2872848349), Long_create(4062331362, 2298278679), Long_create(3922749802, 3677245887), Long_create(1420212923, 2941796710), Long_create(1136170338, 2353437368), Long_create(958879082, 3765499789), Long_create(1626096725, 3012399831), Long_create(441883920, 2409919865), Long_create(707014273, 3855871784), Long_create(1424604878, 3084697427), Long_create(3716664280, 2467757941), Long_create(4228675929, 3948412706), Long_create(2523947284, 3158730165), Long_create(2019157827, 2526984132), Long_create(4089645983, 4043174611), Long_create(2412723327, 3234539689), Long_create(2789172121, 2587631751), Long_create(2744688475, 4140210802), Long_create(477763862, 3312168642), Long_create(2959191467, 2649734913), Long_create(3875712888, 4239575861), Long_create(2241576851, 3391660689), Long_create(2652254940, 2713328551), Long_create(1262810493, 2170662841), Long_create(302509870, 3473060546), Long_create(3677981733, 2778448436), Long_create(2083391927, 2222758749), Long_create(756446706, 3556413999), Long_create(1464150824, 2845131199), Long_create(2030314118, 2276104959), Long_create(671522212, 3641767935), Long_create(537217769, 2913414348), Long_create(2147761134, 2330731478), Long_create(2577424355, 3729170365), Long_create(2061939484, 2983336292), Long_create(4226531965, 2386669033), Long_create(1608490388, 3818670454), Long_create(2145785770, 3054936363), Long_create(3434615534, 2443949090), Long_create(1200417559, 3910318545), Long_create(960334047, 3128254836), Long_create(4204241074, 2502603868), Long_create(1572824964, 4004166190), Long_create(1258259971, 3203332952), Long_create(3583588354, 2562666361), Long_create(4015754449, 4100266178), Long_create(635623181, 3280212943), Long_create(2226485463, 2624170354), Long_create(985396364, 4198672567), Long_create(3365297469, 3358938053), Long_create(115257597, 2687150443), Long_create(1810192996, 2149720354), Long_create(319328417, 3439552567), Long_create(2832443111, 2751642053), Long_create(3983941407, 2201313642), Long_create(2938332415, 3522101828), Long_create(4068652850, 2817681462), Long_create(1536935362, 2254145170), Long_create(2459096579, 3606632272), Long_create(249290345, 2885305818), Long_create(1917419194, 2308244654), Long_create(490890333, 3693191447), Long_create(2969692644, 2954553157), Long_create(657767197, 2363642526), Long_create(3629407892, 3781828041), Long_create(2044532855, 3025462433), Long_create(3353613202, 2420369946), Long_create(3647794205, 3872591914), Long_create(3777228823, 3098073531), Long_create(2162789599, 2478458825), Long_create(3460463359, 3965534120), Long_create(2768370687, 3172427296), Long_create(1355703090, 2537941837), Long_create(3028118404, 4060706939), Long_create(3281488183, 3248565551), Long_create(1766197087, 2598852441), Long_create(1107928421, 4158163906), Long_create(27349277, 3326531125), Long_create(21879422, 2661224900), Long_create(35007075, 4257959840), Long_create(28005660, 3406367872), Long_create(2599384905, 2725094297), Long_create(361521006, 2180075438), Long_create(4014407446, 3488120700), Long_create(3211525957, 2790496560), Long_create(2569220766, 2232397248), Long_create(3251759766, 3571835597), Long_create(883420894, 2857468478), Long_create(2424723634, 2285974782), Long_create(443583977, 3657559652), Long_create(2931847559, 2926047721), Long_create(1486484588, 2340838177), Long_create(3237368801, 3745341083), Long_create(12914663, 2996272867), Long_create(2587312108, 2397018293), Long_create(3280705914, 3835229269), Long_create(3483558190, 3068183415), Long_create(2786846552, 2454546732), Long_create(1022980646, 3927274772), Long_create(3395364895, 3141819817), Long_create(998304997, 2513455854), Long_create(3315274914, 4021529366), Long_create(1793226472, 3217223493), Long_create(3152568096, 2573778794), Long_create(2467128576, 4118046071), Long_create(1114709402, 3294436857), Long_create(3468747899, 2635549485), Long_create(1255029343, 4216879177), Long_create(3581003852, 3373503341), Long_create(2005809622, 2698802673), Long_create(3322634616, 2159042138), Long_create(162254630, 3454467422), Long_create(2706784082, 2763573937), Long_create(447440347, 2210859150), Long_create(715904555, 3537374640), Long_create(572723644, 2829899712), Long_create(3035159293, 2263919769), Long_create(2279274491, 3622271631), Long_create(964426134, 2897817305), Long_create(771540907, 2318253844), Long_create(2952452370, 3709206150), Long_create(2361961896, 2967364920), Long_create(1889569516, 2373891936), Long_create(1305324308, 3798227098), Long_create(2762246365, 3038581678), Long_create(3927784010, 2430865342), Long_create(2848480580, 3889384548), Long_create(3996771382, 3111507638), Long_create(620436728, 2489206111), Long_create(3569679143, 3982729777), Long_create(1137756396, 3186183822), Long_create(3487185494, 2548947057), Long_create(2143522954, 4078315292), Long_create(4291798741, 3262652233), Long_create(856458615, 2610121787), Long_create(2229327243, 4176194859), Long_create(2642455254, 3340955887), Long_create(395977285, 2672764710), Long_create(633563656, 4276423536), Long_create(3942824761, 3421138828), Long_create(577279431, 2736911063), Long_create(2179810463, 2189528850), Long_create(3487696741, 3503246160), Long_create(2790157393, 2802596928), Long_create(3950112833, 2242077542), Long_create(2884206696, 3587324068), Long_create(4025352275, 2869859254), Long_create(4079275279, 2295887403), Long_create(1372879692, 3673419846), Long_create(239310294, 2938735877), Long_create(2768428613, 2350988701), Long_create(2711498862, 3761581922), Long_create(451212171, 3009265538), Long_create(2078956655, 2407412430), Long_create(3326330649, 3851859888), Long_create(84084141, 3081487911), Long_create(3503241150, 2465190328), Long_create(451225085, 3944304526), Long_create(3796953905, 3155443620), Long_create(3037563124, 2524354896), Long_create(3142114080, 4038967834), Long_create(3372684723, 3231174267), Long_create(980160860, 2584939414), Long_create(3286244294, 4135903062), Long_create(911008517, 3308722450), Long_create(728806813, 2646977960), Long_create(1166090902, 4235164736), Long_create(73879262, 3388131789), Long_create(918096869, 2710505431), Long_create(4170451332, 2168404344), Long_create(4095741754, 3469446951), Long_create(2417599944, 2775557561), Long_create(1075086496, 2220446049), Long_create(3438125312, 3552713678), Long_create(173519872, 2842170943), Long_create(1856802816, 2273736754), Long_create(393904128, 3637978807), Long_create(2892103680, 2910383045), Long_create(2313682944, 2328306436), Long_create(1983905792, 3725290298), Long_create(3305111552, 2980232238), Long_create(67108864, 2384185791), Long_create(2684354560, 3814697265), Long_create(2147483648, 3051757812), Long_create(0, 2441406250), Long_create(0, 3906250000), Long_create(0, 3125000000), Long_create(0, 2500000000), Long_create(0, 4000000000), Long_create(0, 3200000000), Long_create(0, 2560000000), Long_create(0, 4096000000), Long_create(0, 3276800000), Long_create(0, 2621440000), Long_create(0, 4194304000), Long_create(0, 3355443200), Long_create(0, 2684354560), Long_create(0, 2147483648), Long_create(3435973836, 3435973836), Long_create(1889785610, 2748779069), Long_create(2370821947, 2199023255), Long_create(3793315115, 3518437208), Long_create(457671715, 2814749767), Long_create(2943117749, 2251799813), Long_create(3849994940, 3602879701), Long_create(2221002492, 2882303761), Long_create(917808535, 2305843009), Long_create(3186480574, 3689348814), Long_create(3408177918, 2951479051), Long_create(1867548875, 2361183241), Long_create(1270091283, 3777893186), Long_create(157079567, 3022314549), Long_create(984657113, 2417851639), Long_create(3293438299, 3868562622), Long_create(916763721, 3094850098), Long_create(2451397895, 2475880078), Long_create(3063243173, 3961408125), Long_create(2450594538, 3169126500), Long_create(1960475630, 2535301200), Long_create(3136761009, 4056481920), Long_create(2509408807, 3245185536), Long_create(1148533586, 2596148429), Long_create(3555640657, 4153837486), Long_create(1985519066, 3323069989), Long_create(2447408712, 2658455991), Long_create(2197867021, 4253529586), Long_create(899300158, 3402823669), Long_create(1578433585, 2722258935), Long_create(1262746868, 2177807148), Long_create(1161401530, 3484491437), Long_create(3506101601, 2787593149), Long_create(3663874740, 2230074519), Long_create(3285219207, 3568119231), Long_create(1769181906, 2854495385), Long_create(1415345525, 2283596308), Long_create(1405559381, 3653754093), Long_create(2842434423, 2923003274), Long_create(3132940998, 2338402619), Long_create(2435725219, 3741444191), Long_create(1089586716, 2993155353), Long_create(2589656291, 2394524282), Long_create(707476229, 3831238852), Long_create(3142961361, 3064991081), Long_create(1655375629, 2451992865), Long_create(2648601007, 3923188584), Long_create(2977874265, 3138550867), Long_create(664312493, 2510840694), Long_create(2780886908, 4017345110), Long_create(2224709526, 3213876088), Long_create(3497754539, 2571100870), Long_create(1301439967, 4113761393), Long_create(2759138892, 3291009114), Long_create(3066304573, 2632807291), Long_create(3188100398, 4212491666), Long_create(1691486859, 3369993333), Long_create(3071176406, 2695994666), Long_create(1597947665, 2156795733), Long_create(1697722806, 3450873173), Long_create(3076165163, 2760698538), Long_create(4178919049, 2208558830), Long_create(2391303182, 3533694129), Long_create(2772036005, 2826955303), Long_create(3935615722, 2261564242), Long_create(2861011319, 3618502788), Long_create(4006795973, 2894802230), Long_create(3205436779, 2315841784), Long_create(2551718468, 3705346855), Long_create(2041374775, 2964277484), Long_create(2492093279, 2371421987), Long_create(551375410, 3794275180), Long_create(441100328, 3035420144), Long_create(1211873721, 2428336115), Long_create(1938997954, 3885337784), Long_create(2410191822, 3108270227), Long_create(210166539, 2486616182), Long_create(1195259923, 3978585891), Long_create(97214479, 3182868713), Long_create(1795758501, 2546294970), Long_create(2873213602, 4074071952), Long_create(580583963, 3259257562), Long_create(3041447548, 2607406049), Long_create(2289335700, 4171849679), Long_create(2690462019, 3337479743), Long_create(3870356534, 2669983794), Long_create(3615590076, 4271974071), Long_create(2033478602, 3417579257), Long_create(4203763259, 2734063405), Long_create(3363010607, 2187250724), Long_create(2803836594, 3499601159), Long_create(3102062734, 2799680927), Long_create(763663269, 2239744742), Long_create(2080854690, 3583591587), Long_create(4241664129, 2866873269), Long_create(4252324763, 2293498615), Long_create(2508752324, 3669597785), Long_create(2007001859, 2935678228), Long_create(3323588406, 2348542582), Long_create(1881767613, 3757668132), Long_create(4082394468, 3006134505), Long_create(3265915574, 2404907604), Long_create(2648484541, 3847852167), Long_create(400800715, 3078281734), Long_create(1179634031, 2462625387), Long_create(2746407909, 3940200619), Long_create(3056119786, 3152160495), Long_create(2444895829, 2521728396), Long_create(2193846408, 4034765434), Long_create(2614070585, 3227812347), Long_create(373269550, 2582249878), Long_create(4033205117, 4131599804), Long_create(4085557553, 3305279843), Long_create(691465664, 2644223875), Long_create(1106345063, 4230758200), Long_create(885076050, 3384606560), Long_create(708060840, 2707685248), Long_create(2284435591, 2166148198), Long_create(2796103486, 3465837117), Long_create(518895870, 2772669694), Long_create(1274110155, 2218135755), Long_create(2038576249, 3549017208), Long_create(3348847917, 2839213766), Long_create(1820084875, 2271371013), Long_create(2053142340, 3634193621), Long_create(783520413, 2907354897), Long_create(3203796708, 2325883917), Long_create(1690100896, 3721414268), Long_create(3070067635, 2977131414), Long_create(3315047567, 2381705131), Long_create(3586089190, 3810728210), Long_create(2868871352, 3048582568), Long_create(4013084000, 2438866054), Long_create(3843954022, 3902185687), Long_create(1357176299, 3121748550), Long_create(1085741039, 2497398840), Long_create(1737185663, 3995838144), Long_create(2248741989, 3196670515), Long_create(1798993591, 2557336412), Long_create(3737383206, 4091738259), Long_create(3848900024, 3273390607), Long_create(1361133101, 2618712486), Long_create(459826043, 4189939978), Long_create(2085847752, 3351951982), Long_create(4245658579, 2681561585), Long_create(2498086431, 4290498537), Long_create(280482227, 3432398830), Long_create(224385781, 2745919064), Long_create(1038502084, 2196735251), Long_create(4238583712, 3514776401), Long_create(2531873511, 2811821121), Long_create(1166505349, 2249456897), Long_create(2725402018, 3599131035), Long_create(2180321615, 2879304828), Long_create(3462244210, 2303443862), Long_create(2103616899, 3685510180), Long_create(1682893519, 2948408144), Long_create(2205308275, 2358726515), Long_create(3528493240, 3773962424), Long_create(3681788051, 3019169939), Long_create(3804423900, 2415335951), Long_create(74124026, 3864537523), Long_create(1777286139, 3091630018), Long_create(3139815829, 2473304014), Long_create(2446724950, 3957286423), Long_create(3675366878, 3165829138), Long_create(363313125, 2532663311), Long_create(3158281377, 4052261297), Long_create(808638183, 3241809038), Long_create(2364897465, 2593447230), Long_create(3783835944, 4149515568), Long_create(450088378, 3319612455), Long_create(360070702, 2655689964), Long_create(2294100042, 4249103942), Long_create(117293115, 3399283154), Long_create(952827951, 2719426523), Long_create(2480249279, 2175541218), Long_create(3109405388, 3480865949), Long_create(3346517769, 2784692759), Long_create(3536207675, 2227754207), Long_create(2221958443, 3564406732), Long_create(59579836, 2851525386), Long_create(3483637705, 2281220308), Long_create(419859574, 3649952494), Long_create(1194881118, 2919961995), Long_create(955904894, 2335969596), Long_create(4106428209, 3737551353), Long_create(708162189, 2990041083), Long_create(2284516670, 2392032866), Long_create(1937239754, 3827252586), Long_create(690798344, 3061802069), Long_create(1411632134, 2449441655), Long_create(2258611415, 3919106648), Long_create(3524876050, 3135285318), Long_create(242920462, 2508228255), Long_create(388672740, 4013165208), Long_create(2028925110, 3210532166), Long_create(764146629, 2568425733), Long_create(363641147, 4109481173), Long_create(2008899836, 3287584938), Long_create(3325106787, 2630067950), Long_create(1025203564, 4208108721), Long_create(4256136688, 3366486976), Long_create(2545915891, 2693189581), Long_create(1177739254, 2154551665), Long_create(1884382806, 3447282664), Long_create(2366499704, 2757826131), Long_create(1034206304, 2206260905), Long_create(1654730086, 3530017448), Long_create(3041770987, 2824013958), Long_create(4151403708, 2259211166), Long_create(629291719, 3614737867), Long_create(3080413753, 2891790293), Long_create(4182317920, 2313432234), Long_create(4114728295, 3701491575), Long_create(3291782636, 2961193260), Long_create(2633426109, 2368954608), Long_create(3354488315, 3790327373), Long_create(106610275, 3032261899), Long_create(944281679, 2425809519), Long_create(3228837605, 3881295230), Long_create(2583070084, 3105036184), Long_create(2925449526, 2484028947), Long_create(1244745405, 3974446316), Long_create(136802865, 3179557053), Long_create(1827429210, 2543645642), Long_create(3782880196, 4069833027), Long_create(1308317238, 3255866422), Long_create(3623634168, 2604693137), Long_create(2361840832, 4167509020), Long_create(1889472666, 3334007216), Long_create(652584673, 2667205773), Long_create(185142018, 4267529237), Long_create(2725093992, 3414023389), Long_create(3039068653, 2731218711), Long_create(1572261463, 2184974969), Long_create(4233605259, 3495959950), Long_create(3386884207, 2796767960), Long_create(2709507366, 2237414368), Long_create(3476218326, 3579862989), Long_create(3639968120, 2863890391), Long_create(2052981037, 2291112313), Long_create(2425776200, 3665779701), Long_create(1081627501, 2932623761), Long_create(6308541, 2346099009), Long_create(1728080585, 3753758414), Long_create(2241457927, 3003006731), Long_create(934172882, 2402405385), Long_create(1494676612, 3843848616), Long_create(336747830, 3075078893), Long_create(1987385183, 2460063114), Long_create(602835915, 3936100983), Long_create(2200255650, 3148880786), Long_create(901211061, 2519104629), Long_create(3159924616, 4030567406), Long_create(1668946233, 3224453925), Long_create(1335156987, 2579563140), Long_create(2136251179, 4127301024), Long_create(2567994402, 3301840819), Long_create(2913388981, 2641472655), Long_create(366455074, 4226356249), Long_create(1152157518, 3381084999), Long_create(1780719474, 2704867999), Long_create(2283569038, 2163894399), Long_create(1076730083, 3462231039), Long_create(1720377526, 2769784831), Long_create(517308561, 2215827865), Long_create(827693699, 3545324584), Long_create(1521148418, 2836259667), Long_create(3793899112, 2269007733), Long_create(916277824, 3630412374), Long_create(1592015718, 2904329899), Long_create(2132606034, 2323463919), Long_create(835189277, 3717542271), Long_create(4104125258, 2974033816), Long_create(2424306747, 2379227053), Long_create(3019897337, 3806763285), Long_create(2415917869, 3045410628), Long_create(3650721214, 2436328502), Long_create(2405180105, 3898125604), Long_create(2783137543, 3118500483), Long_create(3944496953, 2494800386), Long_create(298240911, 3991680619), Long_create(1097586188, 3193344495), Long_create(878068950, 2554675596), Long_create(3981890698, 4087480953), Long_create(608532181, 3269984763), Long_create(2204812663, 2615987810), Long_create(3527700261, 4185580496), Long_create(1963166749, 3348464397), Long_create(4147513777, 2678771517), Long_create(3200048207, 4286034428), Long_create(4278025484, 3428827542), Long_create(1704433468, 2743062034), Long_create(2222540234, 2194449627), Long_create(120090538, 3511119404), Long_create(955065889, 2808895523), Long_create(2482039630, 2247116418), Long_create(3112269949, 3595386269), Long_create(3348809418, 2876309015), Long_create(2679047534, 2301047212), Long_create(850502218, 3681675540), Long_create(680401775, 2945340432), Long_create(3121301797, 2356272345), Long_create(699115580, 3770035753), Long_create(2277279382, 3016028602), Long_create(103836587, 2412822882), Long_create(1025131999, 3860516611), Long_create(4256079436, 3088413288), Long_create(827883168, 2470730631), Long_create(3901593088, 3953169009)]); otcit_DoubleAnalyzer_exp10Table = $rt_createShortArrayFromData([(-70), (-66), (-63), (-60), (-56), (-53), (-50), (-46), (-43), (-40), (-36), (-33), (-30), (-26), (-23), (-20), (-16), (-13), (-10), (-6), (-3), 0, 4, 7, 10, 14, 17, 20, 23, 27, 30, 33, 37, 40, 43, 47, 50, 53, 57, 60, 63, 67, 70, 73, 77, 80, 83, 87, 90, 93, 97, 100, 103, 107, 110, 113, 116, 120, 123, 126, 130, 133, 136, 140, 143, 146, 150, 153, 156, 160, 163, 166, 170, 173, 176, 180, 183, 186, 190, 193, 196, 200, 203, 206, 210, 213, 216, 219, 223, 226, 229, 233, 236, 239, 243, 246, 249, 253, 256, 259, 263, 266, 269, 273, 276, 279, 283, 286, 289, 293, 296, 299, 303, 306, 309, 312, 316, 319, 322, 326, 329, 332, 336, 339, 342, 346, 349, 352, 356, 359, 362, 366, 369, 372, 376, 379, 382, 386, 389, 392, 396, 399, 402, 406, 409, 412, 415, 419, 422, 425, 429, 432, 435, 439, 442, 445, 449, 452, 455, 459, 462, 465, 469, 472, 475, 479, 482, 485, 489, 492, 495, 499, 502, 505, 508, 512, 515, 518, 522, 525, 528, 532, 535, 538, 542, 545, 548, 552, 555, 558, 562, 565, 568, 572, 575, 578, 582, 585, 588, 592, 595, 598, 601, 605, 608, 611, 615, 618, 621, 625, 628, 631, 635, 638, 641, 645, 648, 651, 655, 658, 661, 665, 668, 671, 675, 678, 681, 685, 688, 691, 695, 698, 701, 704, 708, 711, 714, 718, 721, 724, 728, 731, 734, 738, 741, 744, 748, 751, 754, 758, 761, 764, 768, 771, 774, 778, 781, 784, 788, 791, 794, 797, 801, 804, 807, 811, 814, 817, 821, 824, 827, 831, 834, 837, 841, 844, 847, 851, 854, 857, 861, 864, 867, 871, 874, 877, 881, 884, 887, 891, 894, 897, 900, 904, 907, 910, 914, 917, 920, 924, 927, 930, 934, 937, 940, 944, 947, 950, 954, 957, 960, 964, 967, 970, 974, 977, 980, 984, 987, 990, 993, 997, 1000, 1003, 1007, 1010, 1013, 1017, 1020, 1023, 1027, 1030, 1033, 1037, 1040, 1043, 1047, 1050, 1053, 1057, 1060, 1063, 1067, 1070, 1073, 1077, 1080, 1083, 1086, 1090, 1093, 1096, 1100, 1103, 1106, 1110, 1113, 1116, 1120, 1123, 1126, 1130, 1133, 1136, 1140, 1143, 1146, 1150, 1153, 1156, 1160, 1163, 1166, 1170, 1173, 1176, 1180, 1183, 1186, 1189, 1193, 1196, 1199, 1203, 1206, 1209, 1213, 1216, 1219, 1223, 1226, 1229, 1233, 1236, 1239, 1243, 1246, 1249, 1253, 1256, 1259, 1263, 1266, 1269, 1273, 1276, 1279, 1282, 1286, 1289, 1292, 1296, 1299, 1302, 1306, 1309, 1312, 1316, 1319, 1322, 1326, 1329, 1332, 1336, 1339, 1342, 1346, 1349, 1352, 1356, 1359, 1362, 1366, 1369, 1372, 1376, 1379, 1382, 1385, 1389, 1392, 1395, 1399, 1402, 1405, 1409, 1412, 1415, 1419, 1422, 1425, 1429, 1432, 1435, 1439, 1442, 1445, 1449, 1452, 1455, 1459, 1462, 1465, 1469, 1472, 1475, 1478, 1482, 1485, 1488, 1492, 1495, 1498, 1502, 1505, 1508, 1512, 1515, 1518, 1522, 1525, 1528, 1532, 1535, 1538, 1542, 1545, 1548, 1552, 1555, 1558, 1562, 1565, 1568, 1572, 1575, 1578, 1581, 1585, 1588, 1591, 1595, 1598, 1601, 1605, 1608, 1611, 1615, 1618, 1621, 1625, 1628, 1631, 1635, 1638, 1641, 1645, 1648, 1651, 1655, 1658, 1661, 1665, 1668, 1671, 1674, 1678, 1681, 1684, 1688, 1691, 1694, 1698, 1701, 1704, 1708, 1711, 1714, 1718, 1721, 1724, 1728, 1731, 1734, 1738, 1741, 1744, 1748, 1751, 1754, 1758, 1761, 1764, 1767, 1771, 1774, 1777, 1781, 1784, 1787, 1791, 1794, 1797, 1801, 1804, 1807, 1811, 1814, 1817, 1821, 1824, 1827, 1831, 1834, 1837, 1841, 1844, 1847, 1851, 1854, 1857, 1861, 1864, 1867, 1870, 1874, 1877, 1880, 1884, 1887, 1890, 1894, 1897, 1900, 1904, 1907, 1910, 1914, 1917, 1920, 1924, 1927, 1930, 1934, 1937, 1940, 1944, 1947, 1950, 1954, 1957, 1960, 1963, 1967, 1970, 1973, 1977, 1980, 1983, 1987, 1990, 1993, 1997, 2000, 2003, 2007, 2010, 2013, 2017, 2020, 2023, 2027, 2030, 2033, 2037, 2040, 2043, 2047, 2050, 2053, 2057, 2060, 2063, 2066, 2070, 2073, 2076, 2080, 2083, 2086, 2090, 2093, 2096, 2100, 2103, 2106, 2110, 2113, 2116, 2120]); } function otcit_DoubleAnalyzer$Result() { var a = this; jl_Object.call(a); a.$mantissa0 = Long_ZERO; a.$exponent0 = 0; a.$sign0 = 0; } function otcit_DoubleAnalyzer$Result__init_0() { var var_0 = new otcit_DoubleAnalyzer$Result(); otcit_DoubleAnalyzer$Result__init_(var_0); return var_0; } function otcit_DoubleAnalyzer$Result__init_($this) {} function otcit_FloatAnalyzer$Result() { var a = this; jl_Object.call(a); a.$mantissa = 0; a.$exponent = 0; a.$sign = 0; } function otcit_FloatAnalyzer$Result__init_0() { var var_0 = new otcit_FloatAnalyzer$Result(); otcit_FloatAnalyzer$Result__init_(var_0); return var_0; } function otcit_FloatAnalyzer$Result__init_($this) {} var jl_Long = $rt_classWithoutFields(jl_Number); var jl_Long_TYPE = null; function jl_Long_divideUnsigned(var$1, var$2) { return Long_udiv(var$1, var$2); } function jl_Long_remainderUnsigned(var$1, var$2) { return Long_urem(var$1, var$2); } function jl_Long_compareUnsigned(var$1, var$2) { return Long_ucompare(var$1, var$2); } function jl_Long__clinit_() { jl_Long_TYPE = $rt_cls($rt_longcls()); } function nms_TileEntityFurnace() { var a = this; nms_TileEntity.call(a); a.$furnaceItemStacks = null; a.$furnaceBurnTime = 0; a.$currentItemBurnTime = 0; a.$furnaceCookTime = 0; } function nms_TileEntityFurnace__init_0() { var var_0 = new nms_TileEntityFurnace(); nms_TileEntityFurnace__init_(var_0); return var_0; } function nms_TileEntityFurnace__init_($this) { nms_TileEntity__init_($this); $this.$furnaceItemStacks = $rt_createArray(nms_ItemStack, 3); $this.$furnaceBurnTime = 0; $this.$currentItemBurnTime = 0; $this.$furnaceCookTime = 0; } function nms_TileEntityFurnace_getStackInSlot($this, $var1) { return $this.$furnaceItemStacks.data[$var1]; } function nms_TileEntityFurnace_decrStackSize($this, $var1, $var2) { var var$3, $var3; var$3 = $this.$furnaceItemStacks.data; if (var$3[$var1] === null) return null; if (var$3[$var1].$stackSize <= $var2) { $var3 = var$3[$var1]; var$3[$var1] = null; return $var3; } $var3 = nms_ItemStack_splitStack(var$3[$var1], $var2); var$3 = $this.$furnaceItemStacks.data; if (!var$3[$var1].$stackSize) var$3[$var1] = null; return $var3; } function nms_TileEntityFurnace_setInventorySlotContents($this, $var1, $var2) { $this.$furnaceItemStacks.data[$var1] = $var2; if ($var2 !== null && $var2.$stackSize > 64) $var2.$stackSize = 64; } function nms_TileEntityFurnace_readFromNBT($this, $var1) { var $var2, $var3, $var4, $var5, var$6; nms_TileEntity_readFromNBT($this, $var1); $var2 = nms_NBTTagCompound_getTagList($var1, $rt_s(675)); $this.$furnaceItemStacks = $rt_createArray(nms_ItemStack, $this.$furnaceItemStacks.data.length); $var3 = 0; while ($var3 < nms_NBTTagList_tagCount($var2)) { $var4 = nms_NBTTagList_tagAt($var2, $var3); $var5 = nms_NBTTagCompound_getByte($var4, $rt_s(544)); if ($var5 >= 0) { var$6 = $this.$furnaceItemStacks.data; if ($var5 < var$6.length) var$6[$var5] = nms_ItemStack__init_5($var4); } $var3 = $var3 + 1 | 0; } $this.$furnaceBurnTime = nms_NBTTagCompound_getShort($var1, $rt_s(929)); $this.$furnaceCookTime = nms_NBTTagCompound_getShort($var1, $rt_s(930)); $this.$currentItemBurnTime = nms_TileEntityFurnace_getItemBurnTime($this, $this.$furnaceItemStacks.data[1]); } function nms_TileEntityFurnace_writeToNBT($this, $var1) { var $var2, $var3, var$4, $var4; nms_TileEntity_writeToNBT($this, $var1); nms_NBTTagCompound_setShort($var1, $rt_s(929), $this.$furnaceBurnTime << 16 >> 16); nms_NBTTagCompound_setShort($var1, $rt_s(930), $this.$furnaceCookTime << 16 >> 16); $var2 = nms_NBTTagList__init_0(); $var3 = 0; while (true) { var$4 = $this.$furnaceItemStacks.data; if ($var3 >= var$4.length) break; if (var$4[$var3] !== null) { $var4 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setByte($var4, $rt_s(544), $var3 << 24 >> 24); nms_ItemStack_writeToNBT($this.$furnaceItemStacks.data[$var3], $var4); nms_NBTTagList_setTag($var2, $var4); } $var3 = $var3 + 1 | 0; } nms_NBTTagCompound_setTag($var1, $rt_s(675), $var2); } function nms_TileEntityFurnace_getInventoryStackLimit($this) { return 64; } function nms_TileEntityFurnace_isBurning($this) { return $this.$furnaceBurnTime <= 0 ? 0 : 1; } function nms_TileEntityFurnace_updateEntity($this) { var var$1, $var1, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$furnaceBurnTime; $var1 = var$1 <= 0 ? 0 : 1; $var2 = 0; if (var$1 > 0) $this.$furnaceBurnTime = var$1 - 1 | 0; if (!$this.$furnaceBurnTime && nms_TileEntityFurnace_canSmelt($this)) { var$1 = nms_TileEntityFurnace_getItemBurnTime($this, $this.$furnaceItemStacks.data[1]); $this.$furnaceBurnTime = var$1; $this.$currentItemBurnTime = var$1; if (var$1 > 0) { $var2 = 1; var$4 = $this.$furnaceItemStacks.data; if (var$4[1] !== null) { var$5 = var$4[1]; var$5.$stackSize = var$5.$stackSize - 1 | 0; if (!var$4[1].$stackSize) var$4[1] = null; } } } if (nms_TileEntityFurnace_isBurning($this) && nms_TileEntityFurnace_canSmelt($this)) { var$1 = $this.$furnaceCookTime + 1 | 0; $this.$furnaceCookTime = var$1; if (var$1 == 200) { $this.$furnaceCookTime = 0; if (nms_TileEntityFurnace_canSmelt($this)) { $var2 = nms_TileEntityFurnace_getSmeltingResultItem($this, (nms_ItemStack_getItem($this.$furnaceItemStacks.data[0])).$shiftedIndex); var$4 = $this.$furnaceItemStacks.data; if (var$4[2] === null) var$4[2] = nms_ItemStack__init_3($var2, 1); else if (var$4[2].$itemID == $var2) { var$5 = var$4[2]; var$5.$stackSize = var$5.$stackSize + 1 | 0; } var$4 = $this.$furnaceItemStacks.data; var$5 = var$4[0]; var$5.$stackSize = var$5.$stackSize - 1 | 0; if (var$4[0].$stackSize <= 0) var$4[0] = null; } $var2 = 1; } } else $this.$furnaceCookTime = 0; var$6 = $this.$furnaceBurnTime; if ($var1 == (var$6 <= 0 ? 0 : 1)) { if (!$var2) return; $ptr = 1; continue main; } $var2 = 1; $var1 = var$6 <= 0 ? 0 : 1; var$7 = $this.$worldObj4; var$6 = $this.$xCoord0; var$8 = $this.$yCoord0; var$9 = $this.$zCoord0; $ptr = 2; continue main; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_World_getBlockMetadata(var$7, var$6, var$8, var$9); if ($rt_suspending()) { break main; } var$1 = $tmp; $ptr = 3; case 3: $tmp = nms_World_getBlockTileEntity(var$7, var$6, var$8, var$9); if ($rt_suspending()) { break main; } var$10 = $tmp; if (!$var1) { nms_Block_$callClinit(); $var1 = nms_Block_stoneOvenIdle.$blockID; $ptr = 4; continue main; } nms_Block_$callClinit(); $var1 = nms_Block_stoneOvenActive.$blockID; $ptr = 5; continue main; case 4: nms_World_setBlockWithNotify(var$7, var$6, var$8, var$9, $var1); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 5: nms_World_setBlockWithNotify(var$7, var$6, var$8, var$9, $var1); if ($rt_suspending()) { break main; } $ptr = 6; case 6: nms_World_setBlockMetadataWithNotify(var$7, var$6, var$8, var$9, var$1); if ($rt_suspending()) { break main; } $ptr = 7; case 7: nms_World_setBlockTileEntity(var$7, var$6, var$8, var$9, var$10); if ($rt_suspending()) { break main; } if (!$var2) return; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); } function nms_TileEntityFurnace_canSmelt($this) { var var$1, $var1, var$3; var$1 = $this.$furnaceItemStacks.data; if (var$1[0] === null) return 0; $var1 = nms_TileEntityFurnace_getSmeltingResultItem($this, (nms_ItemStack_getItem(var$1[0])).$shiftedIndex); if ($var1 < 0) $var1 = 0; else { var$1 = $this.$furnaceItemStacks.data; if (var$1[2] === null) $var1 = 1; else if (var$1[2].$itemID != $var1) $var1 = 0; else if (var$1[2].$stackSize < 64 && var$1[2].$stackSize < nms_ItemStack_getMaxStackSize(var$1[2])) $var1 = 1; else { var$3 = $this.$furnaceItemStacks.data[2].$stackSize; nms_Item_$callClinit(); $var1 = var$3 >= nms_Item_itemsList.data[$var1].$maxStackSize ? 0 : 1; } } return $var1; } function nms_TileEntityFurnace_getSmeltingResultItem($this, $var1) { a: { nms_Block_$callClinit(); if ($var1 == nms_Block_oreIron.$blockID) { nms_Item_$callClinit(); $var1 = nms_Item_ingotIron.$shiftedIndex; break a; } if ($var1 == nms_Block_oreGold.$blockID) { nms_Item_$callClinit(); $var1 = nms_Item_ingotGold.$shiftedIndex; break a; } if ($var1 == nms_Block_oreDiamond.$blockID) { nms_Item_$callClinit(); $var1 = nms_Item_diamond.$shiftedIndex; break a; } if ($var1 == nms_Block_sand.$blockID) { $var1 = nms_Block_glass.$blockID; break a; } nms_Item_$callClinit(); if ($var1 == nms_Item_porkRaw.$shiftedIndex) { $var1 = nms_Item_porkCooked.$shiftedIndex; break a; } if ($var1 == nms_Item_fishRaw.$shiftedIndex) { $var1 = nms_Item_fishCooked.$shiftedIndex; break a; } if ($var1 == nms_Block_cobblestone.$blockID) { $var1 = nms_Block_stone.$blockID; break a; } if ($var1 != nms_Item_clay.$shiftedIndex) { $var1 = (-1); break a; } $var1 = nms_Item_brick.$shiftedIndex; } return $var1; } function nms_TileEntityFurnace_getItemBurnTime($this, $var1) { var $var2, var$3; if ($var1 === null) return 0; a: { $var2 = (nms_ItemStack_getItem($var1)).$shiftedIndex; if ($var2 < 256) { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[$var2].$blockMaterial; nms_Material_$callClinit(); if ($var1 === nms_Material_wood) { var$3 = 300; break a; } } nms_Item_$callClinit(); if ($var2 == nms_Item_stick.$shiftedIndex) var$3 = 100; else if ($var2 == nms_Item_coal.$shiftedIndex) var$3 = 1600; else if ($var2 != nms_Item_bucketLava.$shiftedIndex) var$3 = 0; else var$3 = 20000; } return var$3; } function nms_TileEntityChest() { nms_TileEntity.call(this); this.$field_827_a = null; } function nms_TileEntityChest__init_0() { var var_0 = new nms_TileEntityChest(); nms_TileEntityChest__init_(var_0); return var_0; } function nms_TileEntityChest__init_($this) { nms_TileEntity__init_($this); $this.$field_827_a = $rt_createArray(nms_ItemStack, 36); } function nms_TileEntityChest_getSizeInventory($this) { return 27; } function nms_TileEntityChest_getStackInSlot($this, $var1) { return $this.$field_827_a.data[$var1]; } function nms_TileEntityChest_decrStackSize($this, $var1, $var2) { var var$3, $var3, $var3_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3_0 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$field_827_a.data; if (var$3[$var1] === null) return null; if (var$3[$var1].$stackSize <= $var2) { $var3 = var$3[$var1]; var$3[$var1] = null; $ptr = 1; continue main; } $var3_0 = nms_ItemStack_splitStack(var$3[$var1], $var2); var$3 = $this.$field_827_a.data; if (!var$3[$var1].$stackSize) var$3[$var1] = null; $ptr = 2; continue main; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return $var3; case 2: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return $var3_0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, $var3_0, $ptr); } function nms_TileEntityChest_setInventorySlotContents($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: $this.$field_827_a.data[$var1] = $var2; if ($var2 !== null && $var2.$stackSize > 64) $var2.$stackSize = 64; $ptr = 1; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $ptr); } function nms_TileEntityChest_getInvName($this) { return $rt_s(311); } function nms_TileEntityChest_readFromNBT($this, $var1) { var $var2, $var3, $var4, $var5, var$6; nms_TileEntity_readFromNBT($this, $var1); $var2 = nms_NBTTagCompound_getTagList($var1, $rt_s(675)); $this.$field_827_a = $rt_createArray(nms_ItemStack, 27); $var3 = 0; while ($var3 < nms_NBTTagList_tagCount($var2)) { $var4 = nms_NBTTagList_tagAt($var2, $var3); $var5 = nms_NBTTagCompound_getByte($var4, $rt_s(544)) & 255; if ($var5 >= 0) { var$6 = $this.$field_827_a.data; if ($var5 < var$6.length) var$6[$var5] = nms_ItemStack__init_5($var4); } $var3 = $var3 + 1 | 0; } } function nms_TileEntityChest_writeToNBT($this, $var1) { var $var2, $var3, var$4, $var4; nms_TileEntity_writeToNBT($this, $var1); $var2 = nms_NBTTagList__init_0(); $var3 = 0; while (true) { var$4 = $this.$field_827_a.data; if ($var3 >= var$4.length) break; if (var$4[$var3] !== null) { $var4 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setByte($var4, $rt_s(544), $var3 << 24 >> 24); nms_ItemStack_writeToNBT($this.$field_827_a.data[$var3], $var4); nms_NBTTagList_setTag($var2, $var4); } $var3 = $var3 + 1 | 0; } nms_NBTTagCompound_setTag($var1, $rt_s(675), $var2); } function nms_TileEntityChest_getInventoryStackLimit($this) { return 64; } var jur_BackReferencedSingleSet = $rt_classWithoutFields(jur_SingleSet); function jur_BackReferencedSingleSet_find($this, $startSearch, $testString, $matchResult) { var $res, $lastIndex, $saveStart; $res = 0; $lastIndex = $matchResult.$rightBound0; a: { while (true) { if ($startSearch > $lastIndex) { $startSearch = $res; break a; } $saveStart = jur_MatchResultImpl_getStart($matchResult, $this.$groupIndex0); jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $startSearch); $res = $this.$kid.$matches0($startSearch, $testString, $matchResult); if ($res >= 0) break; jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $saveStart); $startSearch = $startSearch + 1 | 0; } } return $startSearch; } function jur_BackReferencedSingleSet_findBack($this, $stringIndex, $startSearch, $testString, $matchResult) { var $res, $saveStart; $res = 0; a: { while (true) { if ($startSearch < $stringIndex) { $startSearch = $res; break a; } $saveStart = jur_MatchResultImpl_getStart($matchResult, $this.$groupIndex0); jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $startSearch); $res = $this.$kid.$matches0($startSearch, $testString, $matchResult); if ($res >= 0) break; jur_MatchResultImpl_setStart($matchResult, $this.$groupIndex0, $saveStart); $startSearch = $startSearch + (-1) | 0; } } return $startSearch; } function jur_BackReferencedSingleSet_processBackRefReplacement($this) { return null; } function jnci_BufferedEncoder$Controller() { var a = this; jl_Object.call(a); a.$in0 = null; a.$out3 = null; a.$inPosition = 0; a.$outPosition = 0; } function jnci_BufferedEncoder$Controller_hasMoreInput($this, $sz) { return jn_Buffer_remaining($this.$in0) < $sz ? 0 : 1; } function jnci_BufferedEncoder$Controller_hasMoreOutput($this, $sz) { return jn_Buffer_remaining($this.$out3) < $sz ? 0 : 1; } var jnc_BufferUnderflowException = $rt_classWithoutFields(jl_RuntimeException); function jnc_BufferUnderflowException__init_0() { var var_0 = new jnc_BufferUnderflowException(); jnc_BufferUnderflowException__init_(var_0); return var_0; } function jnc_BufferUnderflowException__init_($this) { jl_Throwable__init_0($this); } var jnc_BufferOverflowException = $rt_classWithoutFields(jl_RuntimeException); function jnc_BufferOverflowException__init_0() { var var_0 = new jnc_BufferOverflowException(); jnc_BufferOverflowException__init_(var_0); return var_0; } function jnc_BufferOverflowException__init_($this) { jl_Throwable__init_0($this); } function jnc_MalformedInputException() { jnc_CharacterCodingException.call(this); this.$length2 = 0; } function jnc_MalformedInputException_getMessage($this) { var var$1, var$2; var$1 = $this.$length2; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append1(jl_StringBuilder_append(var$2, $rt_s(931)), var$1); return jl_AbstractStringBuilder_toString(var$2); } function jnc_UnmappableCharacterException() { jnc_CharacterCodingException.call(this); this.$length3 = 0; } function jnc_UnmappableCharacterException_getMessage($this) { var var$1, var$2; var$1 = $this.$length3; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append1(jl_StringBuilder_append(var$2, $rt_s(932)), var$1); return jl_AbstractStringBuilder_toString(var$2); } function nms_GuiSlider() { var a = this; nms_GuiButton.call(a); a.$sliderValue = 0.0; a.$dragging = 0; a.$idFloat = 0; } function nms_GuiSlider_getHoverState($this, $var1) { return 0; } function nms_GuiSlider_mouseDragged($this, $var1, $var2, $var3) { var var$4; if ($this.$enabled2) { if ($this.$dragging) { var$4 = ($var2 - ($this.$xPosition0 + 4 | 0) | 0) / ($this.$width2 - 8 | 0); $this.$sliderValue = var$4; if (var$4 < 0.0) $this.$sliderValue = 0.0; if ($this.$sliderValue > 1.0) $this.$sliderValue = 1.0; nms_GameSettings_setOptionFloatValue($var1.$gameSettings, $this.$idFloat, $this.$sliderValue); $this.$displayString = nms_GameSettings_getOptionDisplayString($var1.$gameSettings, $this.$idFloat); } olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_Gui_drawTexturedModalRect($this, $this.$xPosition0 + ($this.$sliderValue * ($this.$width2 - 8 | 0) | 0) | 0, $this.$yPosition, 0, 66, 4, 20); nms_Gui_drawTexturedModalRect($this, ($this.$xPosition0 + ($this.$sliderValue * ($this.$width2 - 8 | 0) | 0) | 0) + 4 | 0, $this.$yPosition, 196, 66, 4, 20); } } function nms_GuiSlider_mousePressed($this, $var1, $var2, $var3) { var var$4; if (!nms_GuiButton_mousePressed($this, $var1, $var2, $var3)) return 0; var$4 = ($var2 - ($this.$xPosition0 + 4 | 0) | 0) / ($this.$width2 - 8 | 0); $this.$sliderValue = var$4; if (var$4 < 0.0) $this.$sliderValue = 0.0; if ($this.$sliderValue > 1.0) $this.$sliderValue = 1.0; nms_GameSettings_setOptionFloatValue($var1.$gameSettings, $this.$idFloat, $this.$sliderValue); $this.$displayString = nms_GameSettings_getOptionDisplayString($var1.$gameSettings, $this.$idFloat); $this.$dragging = 1; return 1; } function nms_GuiSlider_mouseReleased($this, $var1, $var2) { $this.$dragging = 0; } var nms_GuiSmallButton = $rt_classWithoutFields(nms_GuiButton); function nms_GuiSmallButton__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_GuiSmallButton(); nms_GuiSmallButton__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_GuiSmallButton__init_0($this, $var1, $var2, $var3, $var4) { nms_GuiButton__init_2($this, $var1, $var2, $var3, 150, 20, $var4); } function nms_GuiControls() { var a = this; nms_GuiScreen.call(a); a.$parentScreen0 = null; a.$screenTitle1 = null; a.$options2 = null; a.$buttonId = 0; } function nms_GuiControls_initGui($this) { var $var1, var$2; $var1 = 0; while (true) { var$2 = $this.$options2; if ($var1 >= var$2.$keyBindings.data.length) break; ju_ArrayList_add($this.$controlList, nms_GuiSmallButton__init_($var1, (($this.$width / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0, ($this.$height0 / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0, nms_GameSettings_getKeyBinding(var$2, $var1))); $var1 = $var1 + 1 | 0; } ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(200, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 6 | 0) + 168 | 0, $rt_s(913))); } function nms_GuiControls_actionPerformed($this, $var1) { var $var2, var$3, 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();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = 0; while (true) { var$3 = $this.$options2; if ($var2 >= var$3.$keyBindings.data.length) break; (ju_ArrayList_get($this.$controlList, $var2)).$displayString = nms_GameSettings_getKeyBinding($this.$options2, $var2); $var2 = $var2 + 1 | 0; } var$4 = $var1.$id2; if (var$4 != 200) { $this.$buttonId = var$4; var$3 = nms_GameSettings_getKeyBinding(var$3, var$4); var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(711)), var$3), $rt_s(712)); $var1.$displayString = jl_AbstractStringBuilder_toString(var$5); return; } $var1 = $this.$mc8; var$3 = $this.$parentScreen0; $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen($var1, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, $ptr); } function nms_GuiControls_keyTyped($this, $var1, $var2) { var 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();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$buttonId; if (var$3 < 0) { $ptr = 1; continue main; } var$4 = $this.$options2; var$4.$keyBindings.data[var$3].$keyCode = $var2; $ptr = 2; continue main; case 1: nms_GuiScreen_keyTyped($this, $var1, $var2); if ($rt_suspending()) { break main; } return; case 2: nms_GameSettings_saveOptions(var$4); if ($rt_suspending()) { break main; } (ju_ArrayList_get($this.$controlList, $this.$buttonId)).$displayString = nms_GameSettings_getKeyBinding($this.$options2, $this.$buttonId); $this.$buttonId = (-1); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $ptr); } function nms_GuiControls_drawScreen($this, $var1, $var2, $var3) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $this.$screenTitle1, $this.$width / 2 | 0, 20, 16777215); $ptr = 2; case 2: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } var nms_GuiDeleteWorld = $rt_classWithoutFields(nms_GuiSelectWorld); function nms_GuiDeleteWorld_initGui2($this) { ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(6, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 6 | 0) + 168 | 0, $rt_s(922))); } function nms_GuiDeleteWorld_selectWorld($this, $var1) { var $var2, var$3, 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();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_GuiSelectWorld_getWorldName($this, $var1); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 === null) return; var$3 = $this.$mc8; var$4 = new nms_GuiYesNo; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_AbstractStringBuilder_append(var$5, 39); jl_StringBuilder_append(jl_StringBuilder_append(var$5, $var2), $rt_s(933)); $var2 = jl_AbstractStringBuilder_toString(var$5); nms_GuiScreen__init_(var$4); var$4.$parentScreen2 = $this; var$4.$message10 = $rt_s(934); var$4.$message2 = $var2; var$4.$worldNumber = $var1; $ptr = 2; case 2: nmc_Minecraft_displayGuiScreen(var$3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, $ptr); } var ju_Objects = $rt_classWithoutFields(); function ju_Objects__init_0() { var var_0 = new ju_Objects(); ju_Objects__init_(var_0); return var_0; } function ju_Objects__init_($this) {} function ju_Objects_equals($a, $b) { if ($a === $b) return 1; return $a !== null ? $a.$equals($b) : $b !== null ? 0 : 1; } function ju_Objects_hashCode($o) { return $o !== null ? $o.$hashCode0() : 0; } var jur_MatchResult = $rt_classWithoutFields(0); function jur_Matcher() { var a = this; jl_Object.call(a); a.$pat = null; a.$start0 = null; a.$string = null; a.$matchResult = null; a.$leftBound = 0; a.$rightBound = 0; } function jur_Matcher_find($this, $start) { var $stringLength, var$3, var$4; $stringLength = jl_String_length($this.$string); if ($start >= 0 && $start <= $stringLength) { jur_MatchResultImpl_reset($this.$matchResult, null, (-1), (-1)); var$3 = $this.$matchResult; var$3.$mode0 = 1; var$3.$startIndex = $start; $stringLength = var$3.$previousMatch; if ($stringLength < 0) $stringLength = $start; var$3.$previousMatch = $stringLength; $start = $this.$start0.$find0($start, $this.$string, var$3); if ($start == (-1)) $this.$matchResult.$hitEnd = 1; if ($start >= 0) { var$3 = $this.$matchResult; if (var$3.$valid) { var$4 = var$3.$groupBounds.data; if (var$4[0] == (-1)) { $stringLength = var$3.$startIndex; var$4[0] = $stringLength; var$4[1] = $stringLength; } var$3.$previousMatch = jur_MatchResultImpl_end(var$3); return 1; } } $this.$matchResult.$startIndex = (-1); return 0; } var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3, jl_String_valueOf0($start)); $rt_throw(var$3); } function jur_Matcher_start($this, $group) { return jur_MatchResultImpl_start($this.$matchResult, $group); } function jur_Matcher_end($this) { return jur_MatchResultImpl_end0($this.$matchResult, 0); } function nms_NBTBase() { jl_Object.call(this); this.$key2 = null; } function nms_NBTBase__init_($this) { $this.$key2 = null; } function nms_NBTBase_getKey($this) { var var$1; var$1 = $this.$key2; if (var$1 === null) var$1 = $rt_s(6); return var$1; } function nms_NBTBase_setKey($this, $var1) { $this.$key2 = $var1; return $this; } function nms_NBTBase_readTag($var0) { var $var1, $var2; $var1 = ji_DataInputStream_readByte($var0); if (!$var1) { $var0 = new nms_NBTTagEnd; nms_NBTBase__init_($var0); return $var0; } $var2 = nms_NBTBase_createTagOfType($var1); $var2.$key2 = ji_DataInputStream_readUTF($var0); $var2.$readTagContents($var0); return $var2; } function nms_NBTBase_writeTag($var0, $var1) { ji_DataOutputStream_writeByte($var1, $var0.$getType0()); if ($var0.$getType0()) { ji_DataOutputStream_writeUTF($var1, nms_NBTBase_getKey($var0)); $var0.$writeTagContents($var1); } } function nms_NBTBase_createTagOfType($var0) { var var$2; switch ($var0) { case 0: var$2 = new nms_NBTTagEnd; nms_NBTBase__init_(var$2); return var$2; case 1: var$2 = new nms_NBTTagByte; nms_NBTBase__init_(var$2); return var$2; case 2: var$2 = new nms_NBTTagShort; nms_NBTBase__init_(var$2); return var$2; case 3: var$2 = new nms_NBTTagInt; nms_NBTBase__init_(var$2); return var$2; case 4: var$2 = new nms_NBTTagLong; nms_NBTBase__init_(var$2); return var$2; case 5: var$2 = new nms_NBTTagFloat; nms_NBTBase__init_(var$2); return var$2; case 6: var$2 = new nms_NBTTagDouble; nms_NBTBase__init_(var$2); return var$2; case 7: var$2 = new nms_NBTTagByteArray; nms_NBTBase__init_(var$2); return var$2; case 8: var$2 = new nms_NBTTagString; nms_NBTBase__init_(var$2); return var$2; case 9: return nms_NBTTagList__init_0(); case 10: return nms_NBTTagCompound__init_0(); default: } return null; } function nms_NBTTagCompound() { nms_NBTBase.call(this); this.$tagMap0 = null; } function nms_NBTTagCompound__init_0() { var var_0 = new nms_NBTTagCompound(); nms_NBTTagCompound__init_(var_0); return var_0; } function nms_NBTTagCompound__init_($this) { nms_NBTBase__init_($this); $this.$tagMap0 = ju_HashMap__init_0(); } function nms_NBTTagCompound_writeTagContents($this, $var1) { var $var2; $var2 = ju_HashMap$2_iterator(ju_HashMap_values($this.$tagMap0)); while (ju_HashMap$AbstractMapIterator_hasNext($var2)) { nms_NBTBase_writeTag(ju_HashMap$ValueIterator_next($var2), $var1); } ji_DataOutputStream_writeByte($var1, 0); } function nms_NBTTagCompound_readTagContents($this, $var1) { var $var2; ju_HashMap_clear($this.$tagMap0); while (true) { $var2 = nms_NBTBase_readTag($var1); if (!$var2.$getType0()) break; ju_HashMap_put($this.$tagMap0, nms_NBTBase_getKey($var2), $var2); } } function nms_NBTTagCompound_getType($this) { return 10; } function nms_NBTTagCompound_setTag($this, $var1, $var2) { var var$3; var$3 = $this.$tagMap0; $var2.$key2 = $var1; ju_HashMap_put(var$3, $var1, $var2); } function nms_NBTTagCompound_setByte($this, $var1, $var2) { var var$3, var$4; var$3 = $this.$tagMap0; var$4 = new nms_NBTTagByte; nms_NBTBase__init_(var$4); var$4.$byteValue0 = $var2; var$4.$key2 = $var1; ju_HashMap_put(var$3, $var1, var$4); } function nms_NBTTagCompound_setShort($this, $var1, $var2) { var var$3, var$4; var$3 = $this.$tagMap0; var$4 = new nms_NBTTagShort; nms_NBTBase__init_(var$4); var$4.$shortValue0 = $var2; var$4.$key2 = $var1; ju_HashMap_put(var$3, $var1, var$4); } function nms_NBTTagCompound_setInteger($this, $var1, $var2) { var var$3, var$4; var$3 = $this.$tagMap0; var$4 = new nms_NBTTagInt; nms_NBTBase__init_(var$4); var$4.$intValue0 = $var2; var$4.$key2 = $var1; ju_HashMap_put(var$3, $var1, var$4); } function nms_NBTTagCompound_setLong($this, $var1, $var2) { var var$3, var$4; var$3 = $this.$tagMap0; var$4 = new nms_NBTTagLong; nms_NBTBase__init_(var$4); var$4.$longValue0 = $var2; var$4.$key2 = $var1; ju_HashMap_put(var$3, $var1, var$4); } function nms_NBTTagCompound_setDouble($this, $var1, $var2) { var var$3, var$4; var$3 = $this.$tagMap0; var$4 = nms_NBTTagDouble__init_0($var2); var$4.$key2 = $var1; ju_HashMap_put(var$3, $var1, var$4); } function nms_NBTTagCompound_setString($this, $var1, $var2) { var var$3, var$4; var$3 = $this.$tagMap0; var$4 = new nms_NBTTagString; nms_NBTBase__init_(var$4); var$4.$stringValue0 = $var2; if ($var2 !== null) { var$4.$key2 = $var1; ju_HashMap_put(var$3, $var1, var$4); return; } $var2 = new jl_IllegalArgumentException; jl_Throwable__init_($var2, $rt_s(935)); $rt_throw($var2); } function nms_NBTTagCompound_setByteArray($this, $var1, $var2) { var var$3, var$4; var$3 = $this.$tagMap0; var$4 = new nms_NBTTagByteArray; nms_NBTBase__init_(var$4); var$4.$byteArray0 = $var2; var$4.$key2 = $var1; ju_HashMap_put(var$3, $var1, var$4); } function nms_NBTTagCompound_setCompoundTag($this, $var1, $var2) { var var$3; var$3 = $this.$tagMap0; $var2.$key2 = $var1; ju_HashMap_put(var$3, $var1, $var2); } function nms_NBTTagCompound_setBoolean($this, $var1, $var2) { nms_NBTTagCompound_setByte($this, $var1, (!$var2 ? 0 : 1) << 24 >> 24); } function nms_NBTTagCompound_hasKey($this, $var1) { return ju_HashMap_containsKey($this.$tagMap0, $var1); } function nms_NBTTagCompound_getByte($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? 0 : (ju_HashMap_get($this.$tagMap0, $var1)).$byteValue0; } function nms_NBTTagCompound_getShort($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? 0 : (ju_HashMap_get($this.$tagMap0, $var1)).$shortValue0; } function nms_NBTTagCompound_getInteger($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? 0 : (ju_HashMap_get($this.$tagMap0, $var1)).$intValue0; } function nms_NBTTagCompound_getLong($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? Long_ZERO : (ju_HashMap_get($this.$tagMap0, $var1)).$longValue0; } function nms_NBTTagCompound_getDouble($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? 0.0 : (ju_HashMap_get($this.$tagMap0, $var1)).$doubleValue0; } function nms_NBTTagCompound_getString($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? $rt_s(6) : (ju_HashMap_get($this.$tagMap0, $var1)).$stringValue0; } function nms_NBTTagCompound_getByteArray($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? $rt_createByteArray(0) : (ju_HashMap_get($this.$tagMap0, $var1)).$byteArray0; } function nms_NBTTagCompound_getCompoundTag($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? nms_NBTTagCompound__init_0() : ju_HashMap_get($this.$tagMap0, $var1); } function nms_NBTTagCompound_getTagList($this, $var1) { return !ju_HashMap_containsKey($this.$tagMap0, $var1) ? nms_NBTTagList__init_0() : ju_HashMap_get($this.$tagMap0, $var1); } function nms_NBTTagCompound_getBoolean($this, $var1) { return !nms_NBTTagCompound_getByte($this, $var1) ? 0 : 1; } var nms_NBTTagEnd = $rt_classWithoutFields(nms_NBTBase); function nms_NBTTagEnd__init_0() { var var_0 = new nms_NBTTagEnd(); nms_NBTTagEnd__init_(var_0); return var_0; } function nms_NBTTagEnd__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagEnd_readTagContents($this, $var1) {} function nms_NBTTagEnd_writeTagContents($this, $var1) {} function nms_NBTTagEnd_getType($this) { return 0; } function nms_NBTTagByte() { nms_NBTBase.call(this); this.$byteValue0 = 0; } function nms_NBTTagByte__init_0() { var var_0 = new nms_NBTTagByte(); nms_NBTTagByte__init_(var_0); return var_0; } function nms_NBTTagByte__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagByte_writeTagContents($this, $var1) { ji_DataOutputStream_writeByte($var1, $this.$byteValue0); } function nms_NBTTagByte_readTagContents($this, $var1) { $this.$byteValue0 = ji_DataInputStream_readByte($var1); } function nms_NBTTagByte_getType($this) { return 1; } function nms_NBTTagShort() { nms_NBTBase.call(this); this.$shortValue0 = 0; } function nms_NBTTagShort__init_0() { var var_0 = new nms_NBTTagShort(); nms_NBTTagShort__init_(var_0); return var_0; } function nms_NBTTagShort__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagShort_writeTagContents($this, $var1) { ji_DataOutputStream_writeShort($var1, $this.$shortValue0); } function nms_NBTTagShort_readTagContents($this, $var1) { $this.$shortValue0 = ji_DataInputStream_readShort($var1); } function nms_NBTTagShort_getType($this) { return 2; } function nms_NBTTagInt() { nms_NBTBase.call(this); this.$intValue0 = 0; } function nms_NBTTagInt__init_0() { var var_0 = new nms_NBTTagInt(); nms_NBTTagInt__init_(var_0); return var_0; } function nms_NBTTagInt__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagInt_writeTagContents($this, $var1) { ji_DataOutputStream_writeInt($var1, $this.$intValue0); } function nms_NBTTagInt_readTagContents($this, $var1) { $this.$intValue0 = ji_DataInputStream_readInt($var1); } function nms_NBTTagInt_getType($this) { return 3; } function nms_NBTTagLong() { nms_NBTBase.call(this); this.$longValue0 = Long_ZERO; } function nms_NBTTagLong__init_0() { var var_0 = new nms_NBTTagLong(); nms_NBTTagLong__init_(var_0); return var_0; } function nms_NBTTagLong__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagLong_writeTagContents($this, $var1) { ji_DataOutputStream_writeLong($var1, $this.$longValue0); } function nms_NBTTagLong_readTagContents($this, $var1) { $this.$longValue0 = ji_DataInputStream_readLong($var1); } function nms_NBTTagLong_getType($this) { return 4; } function nms_NBTTagFloat() { nms_NBTBase.call(this); this.$floatValue0 = 0.0; } function nms_NBTTagFloat__init_1() { var var_0 = new nms_NBTTagFloat(); nms_NBTTagFloat__init_(var_0); return var_0; } function nms_NBTTagFloat__init_0(var_0) { var var_1 = new nms_NBTTagFloat(); nms_NBTTagFloat__init_2(var_1, var_0); return var_1; } function nms_NBTTagFloat__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagFloat__init_2($this, $var1) { nms_NBTBase__init_($this); $this.$floatValue0 = $var1; } function nms_NBTTagFloat_writeTagContents($this, $var1) { ji_DataOutputStream_writeFloat($var1, $this.$floatValue0); } function nms_NBTTagFloat_readTagContents($this, $var1) { $this.$floatValue0 = ji_DataInputStream_readFloat($var1); } function nms_NBTTagFloat_getType($this) { return 5; } function nms_NBTTagDouble() { nms_NBTBase.call(this); this.$doubleValue0 = 0.0; } function nms_NBTTagDouble__init_1() { var var_0 = new nms_NBTTagDouble(); nms_NBTTagDouble__init_(var_0); return var_0; } function nms_NBTTagDouble__init_0(var_0) { var var_1 = new nms_NBTTagDouble(); nms_NBTTagDouble__init_2(var_1, var_0); return var_1; } function nms_NBTTagDouble__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagDouble__init_2($this, $var1) { nms_NBTBase__init_($this); $this.$doubleValue0 = $var1; } function nms_NBTTagDouble_writeTagContents($this, $var1) { ji_DataOutputStream_writeDouble($var1, $this.$doubleValue0); } function nms_NBTTagDouble_readTagContents($this, $var1) { $this.$doubleValue0 = ji_DataInputStream_readDouble($var1); } function nms_NBTTagDouble_getType($this) { return 6; } function nms_NBTTagByteArray() { nms_NBTBase.call(this); this.$byteArray0 = null; } function nms_NBTTagByteArray__init_0() { var var_0 = new nms_NBTTagByteArray(); nms_NBTTagByteArray__init_(var_0); return var_0; } function nms_NBTTagByteArray__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagByteArray_writeTagContents($this, $var1) { ji_DataOutputStream_writeInt($var1, $this.$byteArray0.data.length); ji_OutputStream_write($var1, $this.$byteArray0); } function nms_NBTTagByteArray_readTagContents($this, $var1) { var var$2; var$2 = $rt_createByteArray(ji_DataInputStream_readInt($var1)); $this.$byteArray0 = var$2; ji_DataInputStream_readFully($var1, var$2); } function nms_NBTTagByteArray_getType($this) { return 7; } function nms_NBTTagString() { nms_NBTBase.call(this); this.$stringValue0 = null; } function nms_NBTTagString__init_0() { var var_0 = new nms_NBTTagString(); nms_NBTTagString__init_(var_0); return var_0; } function nms_NBTTagString__init_($this) { nms_NBTBase__init_($this); } function nms_NBTTagString_writeTagContents($this, $var1) { ji_DataOutputStream_writeUTF($var1, $this.$stringValue0); } function nms_NBTTagString_readTagContents($this, $var1) { $this.$stringValue0 = ji_DataInputStream_readUTF($var1); } function nms_NBTTagString_getType($this) { return 8; } function nms_NBTTagList() { var a = this; nms_NBTBase.call(a); a.$tagList0 = null; a.$tagType0 = 0; } function nms_NBTTagList__init_0() { var var_0 = new nms_NBTTagList(); nms_NBTTagList__init_(var_0); return var_0; } function nms_NBTTagList__init_($this) { nms_NBTBase__init_($this); $this.$tagList0 = ju_ArrayList__init_0(); } function nms_NBTTagList_writeTagContents($this, $var1) { var var$2, $var2; var$2 = $this.$tagList0; if (var$2.$size <= 0) $this.$tagType0 = 1; else $this.$tagType0 = (ju_ArrayList_get(var$2, 0)).$getType0(); ji_DataOutputStream_writeByte($var1, $this.$tagType0); ji_DataOutputStream_writeInt($var1, $this.$tagList0.$size); $var2 = 0; while (true) { var$2 = $this.$tagList0; if ($var2 >= var$2.$size) break; (ju_ArrayList_get(var$2, $var2)).$writeTagContents($var1); $var2 = $var2 + 1 | 0; } } function nms_NBTTagList_readTagContents($this, $var1) { var $var2, $var3, $var4; $this.$tagType0 = ji_DataInputStream_readByte($var1); $var2 = ji_DataInputStream_readInt($var1); $this.$tagList0 = ju_ArrayList__init_0(); $var3 = 0; while ($var3 < $var2) { $var4 = nms_NBTBase_createTagOfType($this.$tagType0); $var4.$readTagContents($var1); ju_ArrayList_add($this.$tagList0, $var4); $var3 = $var3 + 1 | 0; } } function nms_NBTTagList_getType($this) { return 9; } function nms_NBTTagList_setTag($this, $var1) { $this.$tagType0 = $var1.$getType0(); ju_ArrayList_add($this.$tagList0, $var1); } function nms_NBTTagList_tagAt($this, $var1) { return ju_ArrayList_get($this.$tagList0, $var1); } function nms_NBTTagList_tagCount($this) { return $this.$tagList0.$size; } function jnci_BufferedDecoder$Controller() { var a = this; jl_Object.call(a); a.$in1 = null; a.$out4 = null; a.$inPosition0 = 0; a.$outPosition0 = 0; } function jnci_BufferedDecoder$Controller_hasMoreInput($this, $sz) { return jn_Buffer_remaining($this.$in1) < $sz ? 0 : 1; } function jnci_BufferedDecoder$Controller_hasMoreOutput($this, $sz) { return jn_Buffer_remaining($this.$out4) < $sz ? 0 : 1; } function jur_AbstractCharClass$LazyJavaLowerCase$1() { jur_AbstractCharClass.call(this); this.$this$024 = null; } function jur_AbstractCharClass$LazyJavaLowerCase$1_contains($this, $ch) { return jl_Character_getType($ch) != 2 ? 0 : 1; } function jur_AbstractCharClass$LazyJavaUpperCase$1() { jur_AbstractCharClass.call(this); this.$this$025 = null; } function jur_AbstractCharClass$LazyJavaUpperCase$1_contains($this, $ch) { return jl_Character_getType($ch) != 1 ? 0 : 1; } function jur_AbstractCharClass$LazyJavaWhitespace$1() { jur_AbstractCharClass.call(this); this.$this$026 = null; } function jur_AbstractCharClass$LazyJavaWhitespace$1_contains($this, $ch) { return jl_Character_isWhitespace($ch); } function jur_AbstractCharClass$LazyJavaMirrored$1() { jur_AbstractCharClass.call(this); this.$this$027 = null; } function jur_AbstractCharClass$LazyJavaMirrored$1_contains($this, $ch) { return 0; } function jur_AbstractCharClass$LazyJavaDefined$1() { jur_AbstractCharClass.call(this); this.$this$028 = null; } function jur_AbstractCharClass$LazyJavaDefined$1_contains($this, $ch) { return !jl_Character_getType($ch) ? 0 : 1; } function jur_AbstractCharClass$LazyJavaDigit$1() { jur_AbstractCharClass.call(this); this.$this$029 = null; } function jur_AbstractCharClass$LazyJavaDigit$1_contains($this, $ch) { return jl_Character_getType($ch) != 9 ? 0 : 1; } function jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1() { jur_AbstractCharClass.call(this); this.$this$030 = null; } function jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1_contains($this, $ch) { return jl_Character_isIdentifierIgnorable($ch); } function jur_AbstractCharClass$LazyJavaISOControl$1() { jur_AbstractCharClass.call(this); this.$this$031 = null; } function jur_AbstractCharClass$LazyJavaISOControl$1_contains($this, $ch) { a: { b: { if (!($ch >= 0 && $ch <= 31)) { if ($ch < 127) break b; if ($ch > 159) break b; } $ch = 1; break a; } $ch = 0; } return $ch; } function jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1() { jur_AbstractCharClass.call(this); this.$this$032 = null; } function jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1_contains($this, $ch) { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 6: case 8: case 9: case 10: case 23: case 26: break; case 7: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 24: case 25: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; } function jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1() { jur_AbstractCharClass.call(this); this.$this$033 = null; } function jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1_contains($this, $ch) { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 10: case 23: case 26: break; case 6: case 7: case 8: case 9: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 24: case 25: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; } function jur_AbstractCharClass$LazyJavaLetter$1() { jur_AbstractCharClass.call(this); this.$this$034 = null; } function jur_AbstractCharClass$LazyJavaLetter$1_contains($this, $ch) { a: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: break; default: $ch = 0; break a; } $ch = 1; } return $ch; } function jur_AbstractCharClass$LazyJavaLetterOrDigit$1() { jur_AbstractCharClass.call(this); this.$this$035 = null; } function jur_AbstractCharClass$LazyJavaLetterOrDigit$1_contains($this, $ch) { return jl_Character_isLetterOrDigit($ch); } function jur_AbstractCharClass$LazyJavaSpaceChar$1() { jur_AbstractCharClass.call(this); this.$this$036 = null; } function jur_AbstractCharClass$LazyJavaSpaceChar$1_contains($this, $ch) { return jl_Character_isSpaceChar($ch); } function jur_AbstractCharClass$LazyJavaTitleCase$1() { jur_AbstractCharClass.call(this); this.$this$037 = null; } function jur_AbstractCharClass$LazyJavaTitleCase$1_contains($this, $ch) { return jl_Character_getType($ch) != 3 ? 0 : 1; } function jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1() { jur_AbstractCharClass.call(this); this.$this$038 = null; } function jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1_contains($this, $ch) { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 6: case 8: case 9: case 10: case 23: break; case 7: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; } function jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1() { jur_AbstractCharClass.call(this); this.$this$039 = null; } function jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1_contains($this, $ch) { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 10: break; case 6: case 7: case 8: case 9: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; } function jur_UnicodeCategory() { jur_AbstractCharClass.call(this); this.$category1 = 0; } function jur_UnicodeCategory__init_(var_0) { var var_1 = new jur_UnicodeCategory(); jur_UnicodeCategory__init_0(var_1, var_0); return var_1; } function jur_UnicodeCategory__init_0($this, $category) { jur_AbstractCharClass__init_($this); $this.$category1 = $category; } function jur_UnicodeCategory_contains($this, $ch) { return $this.$alt0 ^ ($this.$category1 != jl_Character_getType($ch & 65535) ? 0 : 1); } var jur_UnicodeCategoryScope = $rt_classWithoutFields(jur_UnicodeCategory); function jur_UnicodeCategoryScope_contains($this, $ch) { return $this.$alt0 ^ (!($this.$category1 >> jl_Character_getType($ch & 65535) & 1) ? 0 : 1); } function nms_PlayerControllerSP() { var a = this; nms_PlayerController.call(a); a.$field_1074_c = 0; a.$field_1073_d = 0; a.$field_1072_e = 0; a.$field_1071_f = 0.0; a.$field_1070_g = 0.0; a.$field_1069_h = 0.0; a.$field_1068_i = 0; } function nms_PlayerControllerSP_flipPlayer($this, $var1) { $var1.$rotationYaw = (-180.0); } function nms_PlayerControllerSP_sendBlockRemoved($this, $var1, $var2, $var3, $var4) { var $var8, $var5, $var6, var$8, var$9, $var7, $var9, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var8 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $this.$mc3.$theWorld; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; $var8 = $this.$mc3.$theWorld; $ptr = 2; case 2: $tmp = nms_World_getBlockMetadata($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var6 = $tmp; $var8 = $this.$mc3.$field_6321_h; var$8 = $var8.$worldObj; $ptr = 3; case 3: a: { $tmp = nms_World_getBlockId(var$8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var4]; $var7 = 4; $var9 = 0; var$12 = $var1; var$13 = $var2; var$14 = $var3; while (true) { if ($var9 >= $var7) break a; var$15 = 0; while (var$15 < $var7) { var$16 = 0; if (var$16 < $var7) { var$17 = var$12 + ($var9 + 0.5) / 4.0; var$18 = var$13 + (var$15 + 0.5) / 4.0; var$19 = var$14 + (var$16 + 0.5) / 4.0; var$8 = nms_EntityDiggingFX__init_($var8.$worldObj, var$17, var$18, var$19, var$17 - var$12 - 0.5, var$18 - var$13 - 0.5, var$19 - var$14 - 0.5, var$9); $ptr = 9; continue main; } var$15 = var$15 + 1 | 0; } $var9 = $var9 + 1 | 0; } } } $var8 = $this.$mc3.$theWorld; nms_Block_$callClinit(); var$20 = nms_Block_blocksList.data; $ptr = 4; case 4: $tmp = nms_World_getBlockId($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; var$8 = var$20[$var4]; $ptr = 5; case 5: $tmp = nms_World_getBlockMetadata($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; $var7 = 0; $ptr = 6; case 6: $tmp = nms_World_setBlockWithNotify($var8, $var1, $var2, $var3, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; if (var$8 !== null && $var7) { $ptr = 7; continue main; } $var8 = nms_EntityPlayer_getCurrentEquippedItem($this.$mc3.$thePlayer); $var9 = nms_EntityPlayer_canHarvestBlock($this.$mc3.$thePlayer, nms_Block_blocksList.data[$var5]); if ($var8 !== null) { nms_Item_$callClinit(); nms_Item_itemsList.data[$var8.$itemID].$hitBlock($var8, $var5, $var1, $var2, $var3); if (!$var8.$stackSize) nms_EntityPlayer_destroyCurrentEquippedItem($this.$mc3.$thePlayer); } if ($var7 && $var9) { $var8 = nms_Block_blocksList.data[$var5]; var$8 = $this.$mc3.$theWorld; $ptr = 8; continue main; } return $var7; case 7: var$8.$onBlockDestroyedByPlayer($var8, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var8 = nms_EntityPlayer_getCurrentEquippedItem($this.$mc3.$thePlayer); $var9 = nms_EntityPlayer_canHarvestBlock($this.$mc3.$thePlayer, nms_Block_blocksList.data[$var5]); if ($var8 !== null) { nms_Item_$callClinit(); nms_Item_itemsList.data[$var8.$itemID].$hitBlock($var8, $var5, $var1, $var2, $var3); if (!$var8.$stackSize) nms_EntityPlayer_destroyCurrentEquippedItem($this.$mc3.$thePlayer); } if ($var7 && $var9) { $var8 = nms_Block_blocksList.data[$var5]; var$8 = $this.$mc3.$theWorld; $ptr = 8; continue main; } return $var7; case 8: $var8.$harvestBlock(var$8, $var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } return $var7; case 9: $tmp = nms_EntityDiggingFX_func_4041_a(var$8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$8 = $tmp; nms_EffectRenderer_func_1192_a($var8, var$8); var$16 = var$16 + 1 | 0; a: while (true) { if (var$16 < $var7) { var$17 = var$12 + ($var9 + 0.5) / 4.0; var$18 = var$13 + (var$15 + 0.5) / 4.0; var$19 = var$14 + (var$16 + 0.5) / 4.0; var$8 = nms_EntityDiggingFX__init_($var8.$worldObj, var$17, var$18, var$19, var$17 - var$12 - 0.5, var$18 - var$13 - 0.5, var$19 - var$14 - 0.5, var$9); continue main; } var$15 = var$15 + 1 | 0; while (var$15 >= $var7) { $var9 = $var9 + 1 | 0; if ($var9 >= $var7) break a; var$15 = 0; } var$16 = 0; } $var8 = $this.$mc3.$theWorld; nms_Block_$callClinit(); var$20 = nms_Block_blocksList.data; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var8, $var5, $var6, var$8, var$9, $var7, $var9, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); } function nms_PlayerControllerSP_clickBlock($this, $var1, $var2, $var3, $var4) { var var$5, $var5, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$mc3.$theWorld; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$5, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 > 0 && $this.$field_1071_f === 0.0) { nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[$var5]; var$7 = $this.$mc3; var$8 = var$7.$theWorld; var$7 = var$7.$thePlayer; $ptr = 3; continue main; } if ($var5 <= 0) return; nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[$var5]; var$7 = $this.$mc3.$thePlayer; $ptr = 2; case 2: $tmp = nms_Block_func_225_a(var$5, var$7); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 < 1.0) return; $ptr = 4; continue main; case 3: var$5.$onBlockClicked(var$8, $var1, $var2, $var3, var$7); if ($rt_suspending()) { break main; } if ($var5 <= 0) return; nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[$var5]; var$7 = $this.$mc3.$thePlayer; $ptr = 2; continue main; case 4: nms_PlayerControllerSP_sendBlockRemoved($this, $var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $var5, var$7, var$8, var$9, $ptr); } function nms_PlayerControllerSP_func_6474_c($this) { $this.$field_1070_g = $this.$field_1071_f; } function nms_GuiYesNo() { var a = this; nms_GuiScreen.call(a); a.$parentScreen2 = null; a.$message10 = null; a.$message2 = null; a.$worldNumber = 0; } function nms_GuiYesNo_initGui($this) { ju_ArrayList_add($this.$controlList, nms_GuiSmallButton__init_(0, (($this.$width / 2 | 0) - 155 | 0) + 0 | 0, ($this.$height0 / 6 | 0) + 96 | 0, $rt_s(936))); ju_ArrayList_add($this.$controlList, nms_GuiSmallButton__init_(1, (($this.$width / 2 | 0) - 155 | 0) + 160 | 0, ($this.$height0 / 6 | 0) + 96 | 0, $rt_s(888))); } function nms_GuiYesNo_actionPerformed($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$parentScreen2; var$3 = $var1.$id2 ? 0 : 1; var$4 = $this.$worldNumber; if (var$3) { $ptr = 2; continue main; } $var1 = var$2.$mc8; var$2 = var$2.$parentScreen1; $ptr = 1; case 1: nmc_Minecraft_displayGuiScreen($var1, var$2); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_GuiSelectWorld_getWorldName(var$2, var$4); if ($rt_suspending()) { break main; } $var1 = $tmp; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_AbstractStringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(432)), $var1), 47); var$6 = jl_AbstractStringBuilder_toString(var$5); var$3 = 1; var$4 = 1; nlea_EaglerAdapterImpl2_$callClinit(); nleat_IndexedDBFilesystem_$callClinit(); var$7 = new ju_LinkedList; jl_Object__init_0(var$7); $var1 = nleat_IndexedDBFilesystem_db; $ptr = 3; case 3: nleat_IndexedDBFilesystem$AsyncHandlers_iterateFiles$_asyncCall_$($var1, var$6, var$3, var$4, var$7); if ($rt_suspending()) { break main; } $var1 = ju_AbstractSequentialList_iterator(var$7); while (true) { if (!ju_LinkedList$SequentialListIterator_hasNext($var1)) { $var1 = ju_AbstractSequentialList_iterator(var$7); while (ju_LinkedList$SequentialListIterator_hasNext($var1)) { var$5 = ju_LinkedList$SequentialListIterator_next($var1); if (var$5.$isDirectory) { var$5 = var$5.$path; $ptr = 6; continue main; } } $ptr = 5; continue main; } var$5 = ju_LinkedList$SequentialListIterator_next($var1); if (!var$5.$isDirectory) break; } var$5 = var$5.$path; $ptr = 4; case 4: nlea_EaglerAdapterImpl2_deleteFile(var$5); if ($rt_suspending()) { break main; } while (true) { if (!ju_LinkedList$SequentialListIterator_hasNext($var1)) { $var1 = ju_AbstractSequentialList_iterator(var$7); while (ju_LinkedList$SequentialListIterator_hasNext($var1)) { var$5 = ju_LinkedList$SequentialListIterator_next($var1); if (var$5.$isDirectory) { var$5 = var$5.$path; $ptr = 6; continue main; } } $ptr = 5; continue main; } var$5 = ju_LinkedList$SequentialListIterator_next($var1); if (var$5.$isDirectory) continue; else break; } var$5 = var$5.$path; continue main; case 5: nlea_EaglerAdapterImpl2_deleteFile(var$6); if ($rt_suspending()) { break main; } $var1 = var$2.$mc8; var$2 = var$2.$parentScreen1; $ptr = 1; continue main; case 6: nlea_EaglerAdapterImpl2_deleteFile(var$5); if ($rt_suspending()) { break main; } while (ju_LinkedList$SequentialListIterator_hasNext($var1)) { var$5 = ju_LinkedList$SequentialListIterator_next($var1); if (!var$5.$isDirectory) continue; else { var$5 = var$5.$path; continue main; } } $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_GuiYesNo_drawScreen($this, $var1, $var2, $var3) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $this.$message10, $this.$width / 2 | 0, 70, 16777215); nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $this.$message2, $this.$width / 2 | 0, 90, 16777215); $ptr = 2; case 2: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } function jur_MatchResultImpl() { var a = this; jl_Object.call(a); a.$groupBounds = null; a.$consumers = null; a.$compQuantCounters = null; a.$string2 = null; a.$groupCount = 0; a.$valid = 0; a.$leftBound0 = 0; a.$rightBound0 = 0; a.$startIndex = 0; a.$transparentBounds = 0; a.$anchoringBounds = 0; a.$hitEnd = 0; a.$requireEnd = 0; a.$previousMatch = 0; a.$mode0 = 0; } function jur_MatchResultImpl_setConsumed($this, $counter, $value) { $this.$consumers.data[$counter] = $value; } function jur_MatchResultImpl_getConsumed($this, $counter) { return $this.$consumers.data[$counter]; } function jur_MatchResultImpl_end($this) { return jur_MatchResultImpl_end0($this, 0); } function jur_MatchResultImpl_end0($this, $group) { jur_MatchResultImpl_checkGroup($this, $group); return $this.$groupBounds.data[($group * 2 | 0) + 1 | 0]; } function jur_MatchResultImpl_setStart($this, $group, $offset) { $this.$groupBounds.data[$group * 2 | 0] = $offset; } function jur_MatchResultImpl_setEnd($this, $group, $offset) { $this.$groupBounds.data[($group * 2 | 0) + 1 | 0] = $offset; } function jur_MatchResultImpl_getStart($this, $group) { return $this.$groupBounds.data[$group * 2 | 0]; } function jur_MatchResultImpl_getEnd($this, $group) { return $this.$groupBounds.data[($group * 2 | 0) + 1 | 0]; } function jur_MatchResultImpl_start($this, $group) { jur_MatchResultImpl_checkGroup($this, $group); return $this.$groupBounds.data[$group * 2 | 0]; } function jur_MatchResultImpl_getEnterCounter($this, $setCounter) { return $this.$compQuantCounters.data[$setCounter]; } function jur_MatchResultImpl_setEnterCounter($this, $setCounter, $value) { $this.$compQuantCounters.data[$setCounter] = $value; } function jur_MatchResultImpl_checkGroup($this, $group) { var var$2; if (!$this.$valid) { var$2 = new jl_IllegalStateException; jl_Throwable__init_0(var$2); $rt_throw(var$2); } if ($group >= 0 && $group < $this.$groupCount) return; var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2, jl_String_valueOf0($group)); $rt_throw(var$2); } function jur_MatchResultImpl_reset($this, $newSequence, $leftBound, $rightBound) { $this.$valid = 0; $this.$mode0 = 2; ju_Arrays_fill($this.$groupBounds, (-1)); ju_Arrays_fill($this.$consumers, (-1)); if ($newSequence !== null) $this.$string2 = $newSequence; if ($leftBound >= 0) { $this.$leftBound0 = $leftBound; $this.$rightBound0 = $rightBound; } $this.$startIndex = $this.$leftBound0; } function ju_HashMap$1() { ju_AbstractSet.call(this); this.$this$040 = null; } function jl_Boolean() { jl_Object.call(this); this.$value4 = 0; } var jl_Boolean_TRUE = null; var jl_Boolean_FALSE = null; var jl_Boolean_TYPE = null; function jl_Boolean__init_(var_0) { var var_1 = new jl_Boolean(); jl_Boolean__init_0(var_1, var_0); return var_1; } function jl_Boolean__init_0($this, $value) { $this.$value4 = $value; } function jl_Boolean_valueOf($value) { return !$value ? jl_Boolean_FALSE : jl_Boolean_TRUE; } function jl_Boolean_hashCode($this) { return !$this.$value4 ? 1237 : 1231; } function jl_Boolean__clinit_() { jl_Boolean_TRUE = jl_Boolean__init_(1); jl_Boolean_FALSE = jl_Boolean__init_(0); jl_Boolean_TYPE = $rt_cls($rt_booleancls()); } function nms_EnumArt() { var a = this; jl_Enum.call(a); a.$field_1624_y = null; a.$field_1623_z = 0; a.$field_1636_A = 0; a.$field_1634_B = 0; a.$field_1632_C = 0; } var nms_EnumArt_Kebab = null; var nms_EnumArt_Aztec = null; var nms_EnumArt_Alban = null; var nms_EnumArt_Aztec2 = null; var nms_EnumArt_Bomb = null; var nms_EnumArt_Plant = null; var nms_EnumArt_Wasteland = null; var nms_EnumArt_Pool = null; var nms_EnumArt_Courbet = null; var nms_EnumArt_Sea = null; var nms_EnumArt_Sunset = null; var nms_EnumArt_Creebet = null; var nms_EnumArt_Wanderer = null; var nms_EnumArt_Graham = null; var nms_EnumArt_Match = null; var nms_EnumArt_Bust = null; var nms_EnumArt_Stage = null; var nms_EnumArt_Void = null; var nms_EnumArt_SkullAndRoses = null; var nms_EnumArt_Fighters = null; var nms_EnumArt_Pointer = null; var nms_EnumArt_Pigscene = null; var nms_EnumArt_Skeleton = null; var nms_EnumArt_DonkeyKong = null; var nms_EnumArt_$VALUES = null; function nms_EnumArt_$callClinit() { nms_EnumArt_$callClinit = $rt_eraseClinit(nms_EnumArt); nms_EnumArt__clinit_(); } function nms_EnumArt__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new nms_EnumArt(); nms_EnumArt__init_0(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function nms_EnumArt_values() { nms_EnumArt_$callClinit(); return nms_EnumArt_$VALUES.$clone(); } function nms_EnumArt__init_0($this, var$1, var$2, $var3, $var4, $var5, $var6, $var7) { nms_EnumArt_$callClinit(); jl_Enum__init_($this, var$1, var$2); $this.$field_1624_y = $var3; $this.$field_1623_z = $var4; $this.$field_1636_A = $var5; $this.$field_1634_B = $var6; $this.$field_1632_C = $var7; } function nms_EnumArt__clinit_() { var var$1; nms_EnumArt_Kebab = nms_EnumArt__init_($rt_s(937), 0, $rt_s(937), 16, 16, 0, 0); nms_EnumArt_Aztec = nms_EnumArt__init_($rt_s(938), 1, $rt_s(938), 16, 16, 16, 0); nms_EnumArt_Alban = nms_EnumArt__init_($rt_s(939), 2, $rt_s(939), 16, 16, 32, 0); nms_EnumArt_Aztec2 = nms_EnumArt__init_($rt_s(940), 3, $rt_s(940), 16, 16, 48, 0); nms_EnumArt_Bomb = nms_EnumArt__init_($rt_s(941), 4, $rt_s(941), 16, 16, 64, 0); nms_EnumArt_Plant = nms_EnumArt__init_($rt_s(942), 5, $rt_s(942), 16, 16, 80, 0); nms_EnumArt_Wasteland = nms_EnumArt__init_($rt_s(943), 6, $rt_s(943), 16, 16, 96, 0); nms_EnumArt_Pool = nms_EnumArt__init_($rt_s(944), 7, $rt_s(944), 32, 16, 0, 32); nms_EnumArt_Courbet = nms_EnumArt__init_($rt_s(945), 8, $rt_s(945), 32, 16, 32, 32); nms_EnumArt_Sea = nms_EnumArt__init_($rt_s(946), 9, $rt_s(946), 32, 16, 64, 32); nms_EnumArt_Sunset = nms_EnumArt__init_($rt_s(947), 10, $rt_s(947), 32, 16, 96, 32); nms_EnumArt_Creebet = nms_EnumArt__init_($rt_s(948), 11, $rt_s(948), 32, 16, 128, 32); nms_EnumArt_Wanderer = nms_EnumArt__init_($rt_s(949), 12, $rt_s(949), 16, 32, 0, 64); nms_EnumArt_Graham = nms_EnumArt__init_($rt_s(950), 13, $rt_s(950), 16, 32, 16, 64); nms_EnumArt_Match = nms_EnumArt__init_($rt_s(951), 14, $rt_s(951), 32, 32, 0, 128); nms_EnumArt_Bust = nms_EnumArt__init_($rt_s(952), 15, $rt_s(952), 32, 32, 32, 128); nms_EnumArt_Stage = nms_EnumArt__init_($rt_s(953), 16, $rt_s(953), 32, 32, 64, 128); nms_EnumArt_Void = nms_EnumArt__init_($rt_s(954), 17, $rt_s(954), 32, 32, 96, 128); nms_EnumArt_SkullAndRoses = nms_EnumArt__init_($rt_s(955), 18, $rt_s(955), 32, 32, 128, 128); nms_EnumArt_Fighters = nms_EnumArt__init_($rt_s(956), 19, $rt_s(956), 64, 32, 0, 96); nms_EnumArt_Pointer = nms_EnumArt__init_($rt_s(957), 20, $rt_s(957), 64, 64, 0, 192); nms_EnumArt_Pigscene = nms_EnumArt__init_($rt_s(958), 21, $rt_s(958), 64, 64, 64, 192); nms_EnumArt_Skeleton = nms_EnumArt__init_($rt_s(959), 22, $rt_s(959), 64, 48, 192, 64); var$1 = nms_EnumArt__init_($rt_s(960), 23, $rt_s(960), 64, 48, 192, 112); nms_EnumArt_DonkeyKong = var$1; nms_EnumArt_$VALUES = $rt_createArrayFromData(nms_EnumArt, [nms_EnumArt_Kebab, nms_EnumArt_Aztec, nms_EnumArt_Alban, nms_EnumArt_Aztec2, nms_EnumArt_Bomb, nms_EnumArt_Plant, nms_EnumArt_Wasteland, nms_EnumArt_Pool, nms_EnumArt_Courbet, nms_EnumArt_Sea, nms_EnumArt_Sunset, nms_EnumArt_Creebet, nms_EnumArt_Wanderer, nms_EnumArt_Graham, nms_EnumArt_Match, nms_EnumArt_Bust, nms_EnumArt_Stage, nms_EnumArt_Void, nms_EnumArt_SkullAndRoses, nms_EnumArt_Fighters, nms_EnumArt_Pointer, nms_EnumArt_Pigscene, nms_EnumArt_Skeleton, var$1]); } var ju_SequencedSet = $rt_classWithoutFields(0); var ju_SortedSet = $rt_classWithoutFields(0); var ju_NavigableSet = $rt_classWithoutFields(0); function ju_TreeSet() { ju_AbstractSet.call(this); this.$map = null; } var ju_TreeSet_VALUE = null; function ju_TreeSet__init_0() { var var_0 = new ju_TreeSet(); ju_TreeSet__init_(var_0); return var_0; } function ju_TreeSet__init_($this) { $this.$map = ju_TreeMap__init_0(); } function ju_TreeSet_size($this) { var var$1; var$1 = $this.$map.$root; return var$1 === null ? 0 : var$1.$size6; } function ju_TreeSet__clinit_() { ju_TreeSet_VALUE = new jl_Object; } var nms_WorldProviderHell = $rt_classWithoutFields(nms_WorldProvider); function nms_WorldProviderHell__init_0() { var var_0 = new nms_WorldProviderHell(); nms_WorldProviderHell__init_(var_0); return var_0; } function nms_WorldProviderHell__init_($this) { nms_WorldProvider__init_($this); } function nms_WorldProviderHell_registerWorldChunkManager($this) { var var$1; var$1 = new nms_WorldChunkManagerHell; nms_MobSpawnerBase_$callClinit(); var$1.$field_4201_e = nms_MobSpawnerBase_hell; var$1.$field_4200_f = 1.0; var$1.$field_4199_g = 0.0; $this.$worldChunkMgr = var$1; $this.$field_4220_c = 1; $this.$field_6479_d = 1; $this.$field_6478_e = 1; $this.$field_4218_e = (-1); } function nms_WorldProviderHell_func_4096_a($this, $var1, $var2) { return nms_Vec3D_createVector(0.20000000298023224, 0.029999999329447746, 0.029999999329447746); } function nms_WorldProviderHell_generateLightBrightnessTable($this) { var $var2, $var3; $var2 = 0; while ($var2 <= 15) { $var3 = 1.0 - $var2 / 15.0; $this.$lightBrightnessTable.data[$var2] = (1.0 - $var3) / ($var3 * 3.0 + 1.0) * 0.8999999761581421 + 0.10000000149011612; $var2 = $var2 + 1 | 0; } } function nms_WorldProviderHell_getChunkProvider($this) { var var$1, var$2, var$3; var$1 = new nms_ChunkProviderHell; var$2 = $this.$worldObj8; var$1.$field_4162_p = $rt_createDoubleArray(256); var$1.$field_4161_q = $rt_createDoubleArray(256); var$1.$field_4160_r = $rt_createDoubleArray(256); var$3 = new nms_MapGenCavesHell; nms_MapGenBase__init_(var$3); var$1.$field_4159_s = var$3; var$1.$field_4164_n = var$2; var$2 = new ju_Random; var$1.$field_4170_h = var$2; var$1.$field_4169_i = nms_NoiseGeneratorOctaves__init_(var$2, 16); var$1.$field_4168_j = nms_NoiseGeneratorOctaves__init_(var$1.$field_4170_h, 16); var$1.$field_4167_k = nms_NoiseGeneratorOctaves__init_(var$1.$field_4170_h, 8); var$1.$field_4166_l = nms_NoiseGeneratorOctaves__init_(var$1.$field_4170_h, 4); var$1.$field_4165_m = nms_NoiseGeneratorOctaves__init_(var$1.$field_4170_h, 4); var$1.$field_4177_a = nms_NoiseGeneratorOctaves__init_(var$1.$field_4170_h, 10); var$1.$field_4176_b = nms_NoiseGeneratorOctaves__init_(var$1.$field_4170_h, 16); return var$1; } function nms_WorldProviderHell_getChunkLoader($this, $var1) { var var$2; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2); jl_StringBuilder_append(jl_StringBuilder_append(var$2, $var1), $rt_s(961)); return nms_ChunkLoader__init_(jl_AbstractStringBuilder_toString(var$2), 1); } function nms_WorldProviderHell_canCoordinateBeSpawn($this, $var1, $var2) { var var$3, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$worldObj8; $ptr = 1; case 1: $tmp = nms_World_func_614_g(var$3, $var1, $var2); if ($rt_suspending()) { break main; } $var3 = $tmp; nms_Block_$callClinit(); return $var3 == nms_Block_bedrock.$blockID ? 0 : !$var3 ? 0 : nms_Block_opaqueCubeLookup.data[$var3]; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, $ptr); } function nms_WorldProviderHell_calculateCelestialAngle($this, $var1, $var3) { return 0.5; } function nms_WorldProviderHell_func_6477_d($this) { return 0; } var ju_SequencedMap = $rt_classWithoutFields(0); var ju_SortedMap = $rt_classWithoutFields(0); var ju_NavigableMap = $rt_classWithoutFields(0); function ju_TreeMap() { var a = this; ju_AbstractMap.call(a); a.$root = null; a.$comparator = null; a.$originalComparator = null; a.$modCount2 = 0; } function ju_TreeMap__init_0() { var var_0 = new ju_TreeMap(); ju_TreeMap__init_(var_0); return var_0; } function ju_TreeMap__init_($this) { $this.$originalComparator = null; $this.$comparator = ju_Comparator$NaturalOrder_INSTANCE; } function ju_TreeMap_findExact($this, $key) { var $node, $cmp; $node = $this.$root; ju_Comparator$NaturalOrder_compare($this.$comparator, $key, $key); while (true) { if ($node === null) return null; $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, $node.$key1); if (!$cmp) break; $node = $cmp >= 0 ? $node.$right : $node.$left; } return $node; } function ju_TreeMap_getOrCreateNode($this, $root, $key) { var var$3, $cmp; if ($root === null) { $root = new ju_TreeMap$TreeNode; var$3 = null; $root.$key1 = $key; $root.$value2 = var$3; $root.$height3 = 1; $root.$size6 = 1; return $root; } $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, $root.$key1); if (!$cmp) return $root; if ($cmp >= 0) $root.$right = ju_TreeMap_getOrCreateNode($this, $root.$right, $key); else $root.$left = ju_TreeMap_getOrCreateNode($this, $root.$left, $key); ju_TreeMap$TreeNode_fix($root); return ju_TreeMap$TreeNode_balance($root); } function ju_TreeMap_deleteNode($this, $root, $key) { var $cmp, $right, $left, $pathToMin, $minDepth, $minDepth_0, $node; if ($root === null) return null; $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, $root.$key1); if ($cmp < 0) $root.$left = ju_TreeMap_deleteNode($this, $root.$left, $key); else if ($cmp > 0) $root.$right = ju_TreeMap_deleteNode($this, $root.$right, $key); else { $right = $root.$right; if ($right === null) return $root.$left; $left = $root.$left; $pathToMin = $rt_createArray(ju_TreeMap$TreeNode, $right.$height3).data; $minDepth = 0; while (true) { $root = $right.$left; if ($root === null) break; $minDepth_0 = $minDepth + 1 | 0; $pathToMin[$minDepth] = $right; $minDepth = $minDepth_0; $right = $root; } $root = $right.$right; while ($minDepth > 0) { $minDepth = $minDepth + (-1) | 0; $node = $pathToMin[$minDepth]; $node.$left = $root; ju_TreeMap$TreeNode_fix($node); $root = ju_TreeMap$TreeNode_balance($node); } $right.$right = $root; $right.$left = $left; ju_TreeMap$TreeNode_fix($right); $root = $right; } ju_TreeMap$TreeNode_fix($root); return ju_TreeMap$TreeNode_balance($root); } var ju_HashMap$KeyIterator = $rt_classWithoutFields(ju_HashMap$AbstractMapIterator); function ju_HashMap$KeyIterator_next($this) { ju_HashMap$AbstractMapIterator_makeNext($this); return $this.$currentEntry0.$key0; } function nms_InventoryLargeChest() { var a = this; jl_Object.call(a); a.$name5 = null; a.$upperChest = null; a.$lowerChest = null; } function nms_InventoryLargeChest__init_0(var_0, var_1, var_2) { var var_3 = new nms_InventoryLargeChest(); nms_InventoryLargeChest__init_(var_3, var_0, var_1, var_2); return var_3; } function nms_InventoryLargeChest__init_($this, $var1, $var2, $var3) { $this.$name5 = $var1; $this.$upperChest = $var2; $this.$lowerChest = $var3; } function nms_InventoryLargeChest_getSizeInventory($this) { return $this.$upperChest.$getSizeInventory() + $this.$lowerChest.$getSizeInventory() | 0; } function nms_InventoryLargeChest_getInvName($this) { return $this.$name5; } function nms_InventoryLargeChest_getStackInSlot($this, $var1) { return $var1 < $this.$upperChest.$getSizeInventory() ? $this.$upperChest.$getStackInSlot($var1) : $this.$lowerChest.$getStackInSlot($var1 - $this.$upperChest.$getSizeInventory() | 0); } function nms_InventoryLargeChest_decrStackSize($this, $var1, $var2) { var 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 ($var1 < $this.$upperChest.$getSizeInventory()) { var$3 = $this.$upperChest; $ptr = 1; continue main; } var$3 = $this.$lowerChest; $var1 = $var1 - $this.$upperChest.$getSizeInventory() | 0; $ptr = 2; continue main; case 1: $tmp = var$3.$decrStackSize($var1, $var2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; case 2: $tmp = var$3.$decrStackSize($var1, $var2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_InventoryLargeChest_setInventorySlotContents($this, $var1, $var2) { var 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 ($var1 < $this.$upperChest.$getSizeInventory()) { var$3 = $this.$upperChest; $ptr = 1; continue main; } var$3 = $this.$lowerChest; $var1 = $var1 - $this.$upperChest.$getSizeInventory() | 0; $ptr = 2; continue main; case 1: var$3.$setInventorySlotContents($var1, $var2); if ($rt_suspending()) { break main; } return; case 2: var$3.$setInventorySlotContents($var1, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_InventoryLargeChest_getInventoryStackLimit($this) { return $this.$upperChest.$getInventoryStackLimit(); } function nms_InventoryLargeChest_onInventoryChanged($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 = $this.$upperChest; $ptr = 1; case 1: var$1.$onInventoryChanged(); if ($rt_suspending()) { break main; } var$1 = $this.$lowerChest; $ptr = 2; case 2: var$1.$onInventoryChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function nms_NextTickListEntry() { var a = this; jl_Object.call(a); a.$xCoord1 = 0; a.$yCoord1 = 0; a.$zCoord1 = 0; a.$blockID1 = 0; a.$scheduledTime = Long_ZERO; a.$tickEntryID = Long_ZERO; } var nms_NextTickListEntry_nextTickEntryID = Long_ZERO; function nms_NextTickListEntry_equals($this, $var1) { var $var2; if (!($var1 instanceof nms_NextTickListEntry)) return 0; $var2 = $var1; return $this.$xCoord1 == $var2.$xCoord1 && $this.$yCoord1 == $var2.$yCoord1 && $this.$zCoord1 == $var2.$zCoord1 && $this.$blockID1 == $var2.$blockID1 ? 1 : 0; } function nms_NextTickListEntry_hashCode($this) { return ((((($this.$xCoord1 * 128 | 0) * 1024 | 0) + ($this.$zCoord1 * 128 | 0) | 0) + $this.$yCoord1 | 0) * 256 | 0) + $this.$blockID1 | 0; } function nms_NextTickListEntry_compareTo($this, $var1) { var var$2; $var1 = $var1; var$2 = Long_compare($this.$scheduledTime, $var1.$scheduledTime); if (var$2 < 0) var$2 = (-1); else if (var$2 > 0) var$2 = 1; else { var$2 = Long_compare($this.$tickEntryID, $var1.$tickEntryID); var$2 = var$2 < 0 ? (-1) : var$2 <= 0 ? 0 : 1; } return var$2; } function nms_NextTickListEntry__clinit_() { nms_NextTickListEntry_nextTickEntryID = Long_ZERO; } function nms_MetadataChunkBlock() { var a = this; jl_Object.call(a); a.$field_1299_a = null; a.$field_1298_b = 0; a.$field_1304_c = 0; a.$field_1303_d = 0; a.$field_1302_e = 0; a.$field_1301_f = 0; a.$field_1300_g = 0; } function nms_MetadataChunkBlock_func_4127_a($this, $var1) { var $var18, $var6, $var7, $var8, $var3, var$7, $var9, $var11, $var12, $var20, $var14, $var15, $var16, $var17, $var19, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var20 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var18 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var18 = $this.$field_1302_e; $var6 = $this.$field_1298_b; if ($rt_imul($rt_imul(($var18 - $var6 | 0) + 1 | 0, ($this.$field_1301_f - $this.$field_1304_c | 0) + 1 | 0), ($this.$field_1300_g - $this.$field_1303_d | 0) + 1 | 0) <= 32768) while (true) { if ($var6 > $this.$field_1302_e) break a; $var7 = $this.$field_1303_d; while ($var7 <= $this.$field_1300_g) { b: { if (nms_World_blockExists($var1, $var6, 0, $var7)) { $var8 = $this.$field_1304_c; while (true) { if ($var8 > $this.$field_1301_f) break b; if ($var8 >= 0) { $var3 = $rt_compare($var8, 128); if ($var3 < 0) { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } $var8 = $var8 + 1 | 0; } } } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } } return; case 1: $tmp = nms_World_getSavedLightValue($var1, var$7, $var6, $var8, $var7); if ($rt_suspending()) { break main; } $var9 = $tmp; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var6, $var8, $var7); if ($rt_suspending()) { break main; } $var11 = $tmp; nms_Block_$callClinit(); $var12 = nms_Block_lightOpacity.data[$var11]; if (!$var12) $var12 = 1; $var20 = 0; var$7 = $this.$field_1299_a; nms_EnumSkyBlock_$callClinit(); if (var$7 === nms_EnumSkyBlock_Sky) { $ptr = 3; continue main; } if (var$7 === nms_EnumSkyBlock_Block) $var20 = nms_Block_lightValue.data[$var11]; if ($var12 >= 15 && !$var20) { $var20 = 0; if ($var9 == $var20) { c: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $this.$field_1301_f) { while (true) { $var7 = $var7 + 1 | 0; while ($var7 > $this.$field_1300_g) { $var6 = $var6 + 1 | 0; if ($var6 > $this.$field_1302_e) break c; $var7 = $this.$field_1303_d; } if (!nms_World_blockExists($var1, $var6, 0, $var7)) continue; else break; } $var8 = $this.$field_1304_c; } if ($var8 < 0) continue; $var3 = $rt_compare($var8, 128); if ($var3 >= 0) continue; else { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } return; } var$7 = $this.$field_1299_a; if ($var6 >= (-32000000) && $var7 >= (-32000000) && $var6 < 32000000 && $var7 <= 32000000 && $var8 >= 0 && $var3 < 0) { $var9 = $var6 >> 4; $var18 = $var7 >> 4; if (nms_World_chunkExists($var1, $var9, $var18)) { $ptr = 16; continue main; } } $var14 = $var20 - 1 | 0; if ($var14 < 0) $var14 = 0; var$7 = $this.$field_1299_a; $var18 = $var6 - 1 | 0; $ptr = 10; continue main; } var$7 = $this.$field_1299_a; $var18 = $var6 - 1 | 0; $ptr = 4; continue main; case 3: $tmp = nms_World_canExistingBlockSeeTheSky($var1, $var6, $var8, $var7); if ($rt_suspending()) { break main; } $var18 = $tmp; if ($var18) $var20 = 15; if ($var12 >= 15 && !$var20) { $var20 = 0; if ($var9 == $var20) { d: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $this.$field_1301_f) { while (true) { $var7 = $var7 + 1 | 0; while ($var7 > $this.$field_1300_g) { $var6 = $var6 + 1 | 0; if ($var6 > $this.$field_1302_e) break d; $var7 = $this.$field_1303_d; } if (!nms_World_blockExists($var1, $var6, 0, $var7)) continue; else break; } $var8 = $this.$field_1304_c; } if ($var8 < 0) continue; $var3 = $rt_compare($var8, 128); if ($var3 >= 0) continue; else { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } return; } var$7 = $this.$field_1299_a; if ($var6 >= (-32000000) && $var7 >= (-32000000) && $var6 < 32000000 && $var7 <= 32000000 && $var8 >= 0 && $var3 < 0) { $var9 = $var6 >> 4; $var18 = $var7 >> 4; if (nms_World_chunkExists($var1, $var9, $var18)) { $ptr = 16; continue main; } } $var14 = $var20 - 1 | 0; if ($var14 < 0) $var14 = 0; var$7 = $this.$field_1299_a; $var18 = $var6 - 1 | 0; $ptr = 10; continue main; } var$7 = $this.$field_1299_a; $var18 = $var6 - 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getSavedLightValue($var1, var$7, $var18, $var8, $var7); if ($rt_suspending()) { break main; } $var14 = $tmp; var$7 = $this.$field_1299_a; $var18 = $var6 + 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getSavedLightValue($var1, var$7, $var18, $var8, $var7); if ($rt_suspending()) { break main; } $var15 = $tmp; var$7 = $this.$field_1299_a; $var18 = $var8 - 1 | 0; $ptr = 6; case 6: $tmp = nms_World_getSavedLightValue($var1, var$7, $var6, $var18, $var7); if ($rt_suspending()) { break main; } $var16 = $tmp; var$7 = $this.$field_1299_a; $var18 = $var8 + 1 | 0; $ptr = 7; case 7: $tmp = nms_World_getSavedLightValue($var1, var$7, $var6, $var18, $var7); if ($rt_suspending()) { break main; } $var17 = $tmp; var$7 = $this.$field_1299_a; $var18 = $var7 - 1 | 0; $ptr = 8; case 8: $tmp = nms_World_getSavedLightValue($var1, var$7, $var6, $var8, $var18); if ($rt_suspending()) { break main; } $var18 = $tmp; var$7 = $this.$field_1299_a; $var19 = $var7 + 1 | 0; $ptr = 9; case 9: $tmp = nms_World_getSavedLightValue($var1, var$7, $var6, $var8, $var19); if ($rt_suspending()) { break main; } $var19 = $tmp; if ($var15 <= $var14) $var15 = $var14; if ($var16 <= $var15) $var16 = $var15; if ($var17 <= $var16) $var17 = $var16; if ($var18 <= $var17) $var18 = $var17; if ($var19 <= $var18) $var19 = $var18; $var18 = $var19 - $var12 | 0; if ($var18 < 0) $var18 = 0; if ($var20 <= $var18) $var20 = $var18; if ($var9 == $var20) { e: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $this.$field_1301_f) { while (true) { $var7 = $var7 + 1 | 0; while ($var7 > $this.$field_1300_g) { $var6 = $var6 + 1 | 0; if ($var6 > $this.$field_1302_e) break e; $var7 = $this.$field_1303_d; } if (!nms_World_blockExists($var1, $var6, 0, $var7)) continue; else break; } $var8 = $this.$field_1304_c; } if ($var8 < 0) continue; $var3 = $rt_compare($var8, 128); if ($var3 >= 0) continue; else { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } return; } var$7 = $this.$field_1299_a; if ($var6 >= (-32000000) && $var7 >= (-32000000) && $var6 < 32000000 && $var7 <= 32000000 && $var8 >= 0 && $var3 < 0) { $var9 = $var6 >> 4; $var18 = $var7 >> 4; if (nms_World_chunkExists($var1, $var9, $var18)) { $ptr = 16; continue main; } } $var14 = $var20 - 1 | 0; if ($var14 < 0) $var14 = 0; var$7 = $this.$field_1299_a; $var18 = $var6 - 1 | 0; $ptr = 10; case 10: nms_World_neighborLightPropagationChanged($var1, var$7, $var18, $var8, $var7, $var14); if ($rt_suspending()) { break main; } var$7 = $this.$field_1299_a; $var18 = $var8 - 1 | 0; $ptr = 11; case 11: nms_World_neighborLightPropagationChanged($var1, var$7, $var6, $var18, $var7, $var14); if ($rt_suspending()) { break main; } var$7 = $this.$field_1299_a; $var18 = $var7 - 1 | 0; $ptr = 12; case 12: nms_World_neighborLightPropagationChanged($var1, var$7, $var6, $var8, $var18, $var14); if ($rt_suspending()) { break main; } $var18 = $var6 + 1 | 0; if ($var18 >= $this.$field_1302_e) { var$7 = $this.$field_1299_a; $ptr = 13; continue main; } $var18 = $var8 + 1 | 0; if ($var18 >= $this.$field_1301_f) { var$7 = $this.$field_1299_a; $ptr = 14; continue main; } $var18 = $var7 + 1 | 0; if ($var18 >= $this.$field_1300_g) { var$7 = $this.$field_1299_a; $ptr = 15; continue main; } b: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $this.$field_1301_f) { while (true) { $var7 = $var7 + 1 | 0; while ($var7 > $this.$field_1300_g) { $var6 = $var6 + 1 | 0; if ($var6 > $this.$field_1302_e) break b; $var7 = $this.$field_1303_d; } if (!nms_World_blockExists($var1, $var6, 0, $var7)) continue; else break; } $var8 = $this.$field_1304_c; } if ($var8 < 0) continue; $var3 = $rt_compare($var8, 128); if ($var3 >= 0) continue; else { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } return; case 13: nms_World_neighborLightPropagationChanged($var1, var$7, $var18, $var8, $var7, $var14); if ($rt_suspending()) { break main; } $var18 = $var8 + 1 | 0; if ($var18 >= $this.$field_1301_f) { var$7 = $this.$field_1299_a; $ptr = 14; continue main; } $var18 = $var7 + 1 | 0; if ($var18 >= $this.$field_1300_g) { var$7 = $this.$field_1299_a; $ptr = 15; continue main; } f: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $this.$field_1301_f) { while (true) { $var7 = $var7 + 1 | 0; while ($var7 > $this.$field_1300_g) { $var6 = $var6 + 1 | 0; if ($var6 > $this.$field_1302_e) break f; $var7 = $this.$field_1303_d; } if (!nms_World_blockExists($var1, $var6, 0, $var7)) continue; else break; } $var8 = $this.$field_1304_c; } if ($var8 < 0) continue; $var3 = $rt_compare($var8, 128); if ($var3 >= 0) continue; else { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } return; case 14: nms_World_neighborLightPropagationChanged($var1, var$7, $var6, $var18, $var7, $var14); if ($rt_suspending()) { break main; } $var18 = $var7 + 1 | 0; if ($var18 >= $this.$field_1300_g) { var$7 = $this.$field_1299_a; $ptr = 15; continue main; } g: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $this.$field_1301_f) { while (true) { $var7 = $var7 + 1 | 0; while ($var7 > $this.$field_1300_g) { $var6 = $var6 + 1 | 0; if ($var6 > $this.$field_1302_e) break g; $var7 = $this.$field_1303_d; } if (!nms_World_blockExists($var1, $var6, 0, $var7)) continue; else break; } $var8 = $this.$field_1304_c; } if ($var8 < 0) continue; $var3 = $rt_compare($var8, 128); if ($var3 >= 0) continue; else { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } return; case 15: nms_World_neighborLightPropagationChanged($var1, var$7, $var6, $var8, $var18, $var14); if ($rt_suspending()) { break main; } a: while (true) { $var8 = $var8 + 1 | 0; while ($var8 > $this.$field_1301_f) { while (true) { $var7 = $var7 + 1 | 0; while ($var7 > $this.$field_1300_g) { $var6 = $var6 + 1 | 0; if ($var6 > $this.$field_1302_e) break a; $var7 = $this.$field_1303_d; } if (!nms_World_blockExists($var1, $var6, 0, $var7)) continue; else break; } $var8 = $this.$field_1304_c; } if ($var8 < 0) continue; $var3 = $rt_compare($var8, 128); if ($var3 >= 0) continue; else { var$7 = $this.$field_1299_a; $ptr = 1; continue main; } } return; case 16: $tmp = nms_World_getChunkFromChunkCoords($var1, $var9, $var18); if ($rt_suspending()) { break main; } var$17 = $tmp; $var9 = $var6 & 15; $var18 = $var7 & 15; var$17.$isModified = 1; if (var$7 === nms_EnumSkyBlock_Sky) nms_NibbleArray_setNibble(var$17.$skylightMap, $var9, $var8, $var18, $var20); else if (var$7 === nms_EnumSkyBlock_Block) nms_NibbleArray_setNibble(var$17.$blocklightMap, $var9, $var8, $var18, $var20); $var18 = 0; while (true) { var$7 = $var1.$worldAccesses; if ($var18 >= var$7.$size) break; nms_RenderGlobal_func_934_a(ju_ArrayList_get(var$7, $var18), $var6, $var8, $var7); $var18 = $var18 + 1 | 0; } $var14 = $var20 - 1 | 0; if ($var14 < 0) $var14 = 0; var$7 = $this.$field_1299_a; $var18 = $var6 - 1 | 0; $ptr = 10; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var18, $var6, $var7, $var8, $var3, var$7, $var9, $var11, $var12, $var20, $var14, $var15, $var16, $var17, $var19, var$17, $ptr); } function nms_MetadataChunkBlock_func_866_a($this, $var1, $var2, $var3, $var4, $var5, $var6) { var var$7, $var14, var$9, var$10, var$11, var$12, var$13, $var8, $var9, $var10; var$7 = $this.$field_1298_b; $var14 = $rt_compare($var1, var$7); if ($var14 >= 0 && $var2 >= $this.$field_1304_c && $var3 >= $this.$field_1303_d && $var4 <= $this.$field_1302_e && $var5 <= $this.$field_1301_f && $var6 <= $this.$field_1300_g) return 1; if ($var1 >= (var$7 - 1 | 0)) { var$9 = $this.$field_1304_c; if ($var2 >= (var$9 - 1 | 0)) { var$10 = $this.$field_1303_d; if ($var3 >= (var$10 - 1 | 0)) { var$11 = $this.$field_1302_e; if ($var4 <= (var$11 + 1 | 0)) { var$12 = $this.$field_1301_f; if ($var5 <= (var$12 + 1 | 0)) { var$13 = $this.$field_1300_g; if ($var6 <= (var$13 + 1 | 0)) { $var8 = var$11 - var$7 | 0; $var9 = var$12 - var$9 | 0; $var10 = var$13 - var$10 | 0; if ($var14 <= 0) var$7 = $var1; if ($var2 <= var$9) var$9 = $var2; if ($var3 <= var$10) var$10 = $var3; if ($var4 >= var$11) var$11 = $var4; if ($var5 >= var$12) var$12 = $var5; if ($var6 >= var$13) var$13 = $var6; if (($rt_imul($rt_imul(var$11 - var$7 | 0, var$12 - var$9 | 0), var$13 - var$10 | 0) - $rt_imul($rt_imul($var8, $var9), $var10) | 0) <= 2) { $this.$field_1298_b = var$7; $this.$field_1304_c = var$9; $this.$field_1303_d = var$10; $this.$field_1302_e = var$11; $this.$field_1301_f = var$12; $this.$field_1300_g = var$13; return 1; } } } } } } } return 0; } var nms_SpawnerAnimals = $rt_classWithoutFields(); var nms_SpawnerAnimals_eligibleChunksForSpawning = null; var nms_SpawnerAnimals_entityList = null; function nms_SpawnerAnimals__init_0() { var var_0 = new nms_SpawnerAnimals(); nms_SpawnerAnimals__init_(var_0); return var_0; } function nms_SpawnerAnimals__init_($this) {} function nms_SpawnerAnimals_performSpawning($var0) { var $var1, $var35, $var2, $var3, $var4, $var6, $var7, $var28, $var29, $var27, $var11, $var30, $var31, $var33, $var8, $var13, $var9, $var10, $var12, $var14, $var18, $var19, $var5, $var20, $var21, $var22, var$28, var$29, var$30, $var23, $var24, $var25, $var34, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var34 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var5 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var13 = $thread.pop();$var8 = $thread.pop();$var33 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var11 = $thread.pop();$var27 = $thread.pop();$var29 = $thread.pop();$var28 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var35 = $thread.pop();$var1 = $thread.pop();$var0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: ju_HashSet_clear(nms_SpawnerAnimals_eligibleChunksForSpawning); $var1 = 0; while (true) { $var35 = $var0.$playerEntities; if ($var1 >= $var35.$size) break; $var2 = ju_ArrayList_get($var35, $var1); $var3 = nms_MathHelper_floor_double($var2.$posX / 16.0); $var4 = nms_MathHelper_floor_double($var2.$posZ / 16.0); $var6 = (-8); while ($var6 <= 8) { $var7 = (-8); while ($var7 <= 8) { ju_HashSet_add(nms_SpawnerAnimals_eligibleChunksForSpawning, nms_ChunkCoordIntPair__init_($var6 + $var3 | 0, $var7 + $var4 | 0)); $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } $var1 = $var1 + 1 | 0; } $var3 = 0; $var28 = 0; while ($var28 < (nms_EnumCreatureType_values()).data.length) { $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) { $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); while (ju_HashMap$AbstractMapIterator_hasNext($var30)) { $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } } $var28 = $var28 + 1 | 0; } return $var3; case 1: $tmp = nms_World_isBlockOpaqueCube($var0, $var10, $var11, $var12); if ($rt_suspending()) { break main; } $var1 = $tmp; if (!$var1) { $ptr = 2; continue main; } a: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break a; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; continue main; } } return $var3; case 2: $tmp = nms_World_getBlockMaterial($var0, $var10, $var11, $var12); if ($rt_suspending()) { break main; } $var35 = $tmp; nms_Material_$callClinit(); if ($var35 === nms_Material_air) { $var13 = 0; $var14 = 0; while ($var14 < 3) { $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; if ($var19 < 4) { $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; $ptr = 3; continue main; } $var14 = $var14 + 1 | 0; } } b: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break b; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; case 3: $tmp = nms_World_isBlockOpaqueCube($var0, $var4, $var1, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1) { $ptr = 4; continue main; } $var19 = $var19 + 1 | 0; while ($var19 >= 4) { $var14 = $var14 + 1 | 0; if ($var14 >= 3) { c: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break c; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; } $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; } $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; continue main; case 4: $tmp = nms_World_isBlockOpaqueCube($var0, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; if (!$var1) { $ptr = 5; continue main; } $var19 = $var19 + 1 | 0; while ($var19 >= 4) { $var14 = $var14 + 1 | 0; if ($var14 >= 3) { c: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break c; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; } $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; } $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; $ptr = 3; continue main; case 5: $tmp = nms_World_getBlockMaterial($var0, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var35 = $tmp; if (!$var35.$getIsLiquid()) { $var1 = $var5 + 1 | 0; $ptr = 6; continue main; } $var19 = $var19 + 1 | 0; while ($var19 >= 4) { $var14 = $var14 + 1 | 0; if ($var14 >= 3) { c: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break c; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; } $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; } $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; $ptr = 3; continue main; case 6: $tmp = nms_World_isBlockOpaqueCube($var0, $var4, $var1, $var6); if ($rt_suspending()) { break main; } $var1 = $tmp; if (!$var1) { $var20 = $var4 + 0.5; $var21 = $var5; $var22 = $var6 + 0.5; var$28 = $var20; var$29 = $var21; var$30 = $var22; if (nms_World_getClosestPlayer($var0, var$28, var$29, var$30, 24.0) === null) { $var23 = $var20 - $var0.$spawnX; $var24 = $var21 - $var0.$spawnY; $var25 = $var22 - $var0.$spawnZ; if ($var23 * $var23 + $var24 * $var24 + $var25 * $var25 >= 576.0) { d: { try { $var34 = nms_SpawnerAnimals_setEntity($var33, $var8); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var27 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var27); return $var3; } if ($var34 === null) return $var3; nms_Entity_setLocationAndAngles($var34, var$28, var$29, var$30, ju_Random_nextFloat($var0.$rand1) * 360.0, 0.0); $ptr = 7; continue main; } } } $var19 = $var19 + 1 | 0; while ($var19 >= 4) { $var14 = $var14 + 1 | 0; if ($var14 >= 3) { e: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break e; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; } $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; } $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; $ptr = 3; continue main; case 7: $tmp = $var34.$getCanSpawnHere(); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1) { $var13 = $var13 + 1 | 0; $ptr = 8; continue main; } $var3 = $var3 + $var13 | 0; $var19 = $var19 + 1 | 0; while ($var19 >= 4) { $var14 = $var14 + 1 | 0; if ($var14 >= 3) { c: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break c; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; } $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; } $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; $ptr = 3; continue main; case 8: nms_World_entityJoinedWorld($var0, $var34); if ($rt_suspending()) { break main; } if ($var34 instanceof nms_EntitySpider && !ju_Random_nextInt($var0.$rand1, 100)) { $var35 = nms_EntitySkeleton__init_($var0); nms_Entity_setLocationAndAngles($var35, var$28, var$29, var$30, $var34.$rotationYaw, 0.0); $ptr = 9; continue main; } if ($var13 < $var34.$func_6391_i()) { $var3 = $var3 + $var13 | 0; $var19 = $var19 + 1 | 0; while (true) { if ($var19 < 4) { $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; $ptr = 3; continue main; } $var14 = $var14 + 1 | 0; if ($var14 >= 3) break; $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; } } e: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break e; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; case 9: nms_World_entityJoinedWorld($var0, $var35); if ($rt_suspending()) { break main; } nms_Entity_mountEntity($var35, $var34); if ($var13 < $var34.$func_6391_i()) { $var3 = $var3 + $var13 | 0; $var19 = $var19 + 1 | 0; while (true) { if ($var19 < 4) { $var4 = $var4 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var5 = $var5 + (ju_Random_nextInt($var0.$rand1, 1) - ju_Random_nextInt($var0.$rand1, 1) | 0) | 0; $var6 = $var6 + (ju_Random_nextInt($var0.$rand1, $var18) - ju_Random_nextInt($var0.$rand1, $var18) | 0) | 0; $var1 = $var5 - 1 | 0; $ptr = 3; continue main; } $var14 = $var14 + 1 | 0; if ($var14 >= 3) break; $var18 = 6; $var19 = 0; $var4 = $var10; $var5 = $var11; $var6 = $var12; } } f: while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($var30)) { while (true) { $var28 = $var28 + 1 | 0; if ($var28 >= (nms_EnumCreatureType_values()).data.length) break f; $var29 = (nms_EnumCreatureType_values()).data[$var28]; $var27 = $var29.$field_4278_c; $var1 = 0; $var11 = 0; while (true) { $var35 = $var0.$loadedEntityList; if ($var11 >= $var35.$size) break; if (jl_Class_isAssignableFrom($var27, jl_Object_getClass(ju_ArrayList_get($var35, $var11)))) $var1 = $var1 + 1 | 0; $var11 = $var11 + 1 | 0; } if ($var1 <= ($rt_imul($var29.$maxNumberOfEntityType, ju_HashSet_size(nms_SpawnerAnimals_eligibleChunksForSpawning)) / 256 | 0)) break; } $var30 = ju_HashSet_iterator(nms_SpawnerAnimals_eligibleChunksForSpawning); continue; } $var31 = ju_HashMap$KeyIterator_next($var30); if (ju_Random_nextInt($var0.$rand1, 50)) continue; $var33 = nms_MobSpawnerBase_getEntitiesForType((nms_World_func_4075_a($var0)).$func_4074_a($var31), $var29); if ($var33 === null) continue; $var1 = $var33.$size; if ($var1) { $var8 = ju_Random_nextInt($var0.$rand1, $var1); $var11 = $var31.$chunkXPos * 16 | 0; $var13 = $var31.$chunkZPos * 16 | 0; $var9 = nms_ChunkPosition__init_($var11 + ju_Random_nextInt($var0.$rand1, 16) | 0, ju_Random_nextInt($var0.$rand1, 128), $var13 + ju_Random_nextInt($var0.$rand1, 16) | 0); $var10 = $var9.$x3; $var11 = $var9.$y2; $var12 = $var9.$z5; $ptr = 1; continue main; } } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($var0, $var1, $var35, $var2, $var3, $var4, $var6, $var7, $var28, $var29, $var27, $var11, $var30, $var31, $var33, $var8, $var13, $var9, $var10, $var12, $var14, $var18, $var19, $var5, $var20, $var21, $var22, var$28, var$29, var$30, $var23, $var24, $var25, $var34, $ptr); } function nms_SpawnerAnimals_setEntity($l, $i) { var $e; $e = ju_ArrayList_get($l, $i); if ($e instanceof nms_EntitySpider) return nms_EntitySpider__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntityZombie) return nms_EntityZombie__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntitySkeleton) return nms_EntitySkeleton__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntityCreeper) return nms_EntityCreeper__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntitySheep) return nms_EntitySheep__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntityPig) return nms_EntityPig__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntityChicken) return nms_EntityChicken__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntityCow) return nms_EntityCow__init_(nmc_Minecraft_mc.$theWorld); if ($e instanceof nms_EntityGhast) return nms_EntityGhast__init_(nmc_Minecraft_mc.$theWorld); if (!($e instanceof nms_EntityPigZombie)) return null; return nms_EntityPigZombie__init_(nmc_Minecraft_mc.$theWorld); } function nms_SpawnerAnimals__clinit_() { nms_SpawnerAnimals_eligibleChunksForSpawning = ju_HashSet__init_0(); nms_SpawnerAnimals_entityList = ju_ArrayList__init_0(); } var nms_IChunkProvider = $rt_classWithoutFields(0); function nms_ChunkProviderLoadOrGenerate() { var a = this; jl_Object.call(a); a.$blankChunk = null; a.$chunkProvider0 = null; a.$chunkLoader = null; a.$chunks = null; a.$worldObj6 = null; a.$lastQueriedChunkXPos = 0; a.$lastQueriedChunkZPos = 0; a.$lastQueriedChunk = null; } function nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var2) { var $var5, var$4; if ($var1 == $this.$lastQueriedChunkXPos && $var2 == $this.$lastQueriedChunkZPos && $this.$lastQueriedChunk !== null) return 1; a: { b: { $var5 = ($var1 & 31) + (($var2 & 31) * 32 | 0) | 0; var$4 = $this.$chunks.data; if (var$4[$var5] !== null) { if (var$4[$var5] === $this.$blankChunk) break b; if (nms_Chunk_isAtLocation(var$4[$var5], $var1, $var2)) break b; } $var1 = 0; break a; } $var1 = 1; } return $var1; } function nms_ChunkProviderLoadOrGenerate_provideChunk($this, $var1, $var2) { var $var6, $var5, var$5, var$6, var$7, var$8, $var3, $var4, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($var1 == $this.$lastQueriedChunkXPos && $var2 == $this.$lastQueriedChunkZPos) { $var6 = $this.$lastQueriedChunk; if ($var6 !== null) return $var6; } $var5 = ($var1 & 31) + (($var2 & 31) * 32 | 0) | 0; if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var2)) { var$5 = $this.$chunks.data; if (var$5[$var5] !== null) { $var6 = var$5[$var5]; $var6.$isChunkLoaded = 0; ju_AbstractCollection_removeAll($var6.$worldObj3.$loadedTileEntityList, ju_HashMap_values($var6.$chunkTileEntityMap)); var$6 = 0; while (true) { var$5 = $var6.$entities.data; if (var$6 >= var$5.length) break; var$7 = $var6.$worldObj3; var$8 = var$5[var$6]; ju_AbstractCollection_addAll(var$7.$field_1024_A, var$8); var$6 = var$6 + 1 | 0; } $var6 = $this.$chunks.data[$var5]; $ptr = 2; continue main; } $var6 = $this.$chunkLoader; if ($var6 === null) $var6 = null; else { try { var$7 = $this.$worldObj6; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var6 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var6); $var6 = null; } if ($var6 === null) { $var6 = $this.$chunkProvider0; if ($var6 !== null) { $ptr = 3; continue main; } $var6 = $this.$blankChunk; } $this.$chunks.data[$var5] = $var6; nms_Chunk_func_4143_d($var6); var$5 = $this.$chunks.data; if (var$5[$var5] !== null) { $var6 = var$5[$var5]; $var6.$isChunkLoaded = 1; ju_AbstractCollection_addAll($var6.$worldObj3.$loadedTileEntityList, ju_HashMap_values($var6.$chunkTileEntityMap)); var$6 = 0; while (true) { var$5 = $var6.$entities.data; if (var$6 >= var$5.length) break; var$7 = $var6.$worldObj3; var$8 = var$5[var$6]; ju_AbstractCollection_addAll(var$7.$loadedEntityList, var$8); $var3 = 0; while ($var3 < var$8.$size) { nms_World_obtainEntitySkin(var$7, ju_ArrayList_get(var$8, $var3)); $var3 = $var3 + 1 | 0; } var$6 = var$6 + 1 | 0; } } if (!$this.$chunks.data[$var5].$isTerrainPopulated) { var$6 = $var1 + 1 | 0; $var3 = $var2 + 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 7; continue main; } } var$6 = $var1 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 4; continue main; } $var3 = $var2 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3)) { $ptr = 5; continue main; } if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $ptr = 6; continue main; } } $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; case 1: a: { try { $tmp = nms_ChunkLoader_loadChunk($var6, var$7, $var1, $var2); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 !== null) $var6.$lastSaveTime = $this.$worldObj6.$worldTime; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var6 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var6); $var6 = null; } if ($var6 === null) { $var6 = $this.$chunkProvider0; if ($var6 !== null) { $ptr = 3; continue main; } $var6 = $this.$blankChunk; } $this.$chunks.data[$var5] = $var6; nms_Chunk_func_4143_d($var6); var$5 = $this.$chunks.data; if (var$5[$var5] !== null) { $var6 = var$5[$var5]; $var6.$isChunkLoaded = 1; ju_AbstractCollection_addAll($var6.$worldObj3.$loadedTileEntityList, ju_HashMap_values($var6.$chunkTileEntityMap)); var$6 = 0; while (true) { var$5 = $var6.$entities.data; if (var$6 >= var$5.length) break; var$7 = $var6.$worldObj3; var$8 = var$5[var$6]; ju_AbstractCollection_addAll(var$7.$loadedEntityList, var$8); $var3 = 0; while ($var3 < var$8.$size) { nms_World_obtainEntitySkin(var$7, ju_ArrayList_get(var$8, $var3)); $var3 = $var3 + 1 | 0; } var$6 = var$6 + 1 | 0; } } if (!$this.$chunks.data[$var5].$isTerrainPopulated) { var$6 = $var1 + 1 | 0; $var3 = $var2 + 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 7; continue main; } } var$6 = $var1 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 4; continue main; } $var3 = $var2 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3)) { $ptr = 5; continue main; } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; continue main; case 2: nms_ChunkProviderLoadOrGenerate_saveChunk($this, $var6); if ($rt_suspending()) { break main; } nms_ChunkProviderLoadOrGenerate_saveExtraChunkData($this, $this.$chunks.data[$var5]); $var6 = $this.$chunkLoader; if ($var6 === null) $var6 = null; else { try { var$7 = $this.$worldObj6; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var6 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var6); $var6 = null; } if ($var6 === null) { $var6 = $this.$chunkProvider0; if ($var6 !== null) { $ptr = 3; continue main; } $var6 = $this.$blankChunk; } $this.$chunks.data[$var5] = $var6; nms_Chunk_func_4143_d($var6); var$5 = $this.$chunks.data; if (var$5[$var5] !== null) { $var6 = var$5[$var5]; $var6.$isChunkLoaded = 1; ju_AbstractCollection_addAll($var6.$worldObj3.$loadedTileEntityList, ju_HashMap_values($var6.$chunkTileEntityMap)); var$6 = 0; while (true) { var$5 = $var6.$entities.data; if (var$6 >= var$5.length) break; var$7 = $var6.$worldObj3; var$8 = var$5[var$6]; ju_AbstractCollection_addAll(var$7.$loadedEntityList, var$8); $var3 = 0; while ($var3 < var$8.$size) { nms_World_obtainEntitySkin(var$7, ju_ArrayList_get(var$8, $var3)); $var3 = $var3 + 1 | 0; } var$6 = var$6 + 1 | 0; } } if (!$this.$chunks.data[$var5].$isTerrainPopulated) { var$6 = $var1 + 1 | 0; $var3 = $var2 + 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 7; continue main; } } var$6 = $var1 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 4; continue main; } $var3 = $var2 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3)) { $ptr = 5; continue main; } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; continue main; case 3: $tmp = $var6.$provideChunk($var1, $var2); if ($rt_suspending()) { break main; } $var6 = $tmp; $this.$chunks.data[$var5] = $var6; nms_Chunk_func_4143_d($var6); var$5 = $this.$chunks.data; if (var$5[$var5] !== null) { $var6 = var$5[$var5]; $var6.$isChunkLoaded = 1; ju_AbstractCollection_addAll($var6.$worldObj3.$loadedTileEntityList, ju_HashMap_values($var6.$chunkTileEntityMap)); var$6 = 0; while (true) { var$5 = $var6.$entities.data; if (var$6 >= var$5.length) break; var$7 = $var6.$worldObj3; var$8 = var$5[var$6]; ju_AbstractCollection_addAll(var$7.$loadedEntityList, var$8); $var3 = 0; while ($var3 < var$8.$size) { nms_World_obtainEntitySkin(var$7, ju_ArrayList_get(var$8, $var3)); $var3 = $var3 + 1 | 0; } var$6 = var$6 + 1 | 0; } } if (!$this.$chunks.data[$var5].$isTerrainPopulated) { var$6 = $var1 + 1 | 0; $var3 = $var2 + 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 7; continue main; } } var$6 = $var1 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 4; continue main; } $var3 = $var2 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3)) { $ptr = 5; continue main; } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; continue main; case 4: $tmp = nms_ChunkProviderLoadOrGenerate_provideChunk($this, var$6, $var2); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6.$isTerrainPopulated) { $var3 = $var2 + 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 8; continue main; } } $var3 = $var2 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3)) { $ptr = 5; continue main; } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; continue main; case 5: $tmp = nms_ChunkProviderLoadOrGenerate_provideChunk($this, $var1, $var3); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6.$isTerrainPopulated) { $var4 = $var1 + 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var4, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var4, $var2)) { $ptr = 9; continue main; } } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; case 6: $tmp = nms_ChunkProviderLoadOrGenerate_provideChunk($this, var$6, $var3); if ($rt_suspending()) { break main; } $var6 = $tmp; if (!$var6.$isTerrainPopulated && nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3) && nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 10; continue main; } $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; case 7: nms_ChunkProviderLoadOrGenerate_populate($this, $this, $var1, $var2); if ($rt_suspending()) { break main; } var$6 = $var1 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var2)) { $ptr = 4; continue main; } $var3 = $var2 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3)) { $ptr = 5; continue main; } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; continue main; case 8: nms_ChunkProviderLoadOrGenerate_populate($this, $this, var$6, $var2); if ($rt_suspending()) { break main; } $var3 = $var2 - 1 | 0; if (nms_ChunkProviderLoadOrGenerate_chunkExists($this, $var1, $var3)) { $ptr = 5; continue main; } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; continue main; case 9: nms_ChunkProviderLoadOrGenerate_populate($this, $this, $var1, $var3); if ($rt_suspending()) { break main; } if (!nms_ChunkProviderLoadOrGenerate_chunkExists($this, var$6, $var3)) { $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; } $ptr = 6; continue main; case 10: nms_ChunkProviderLoadOrGenerate_populate($this, $this, var$6, $var3); if ($rt_suspending()) { break main; } $this.$lastQueriedChunkXPos = $var1; $this.$lastQueriedChunkZPos = $var2; var$5 = $this.$chunks.data; $this.$lastQueriedChunk = var$5[$var5]; return var$5[$var5]; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var6, $var5, var$5, var$6, var$7, var$8, $var3, $var4, $ptr); } function nms_ChunkProviderLoadOrGenerate_saveExtraChunkData($this, $var1) { var $var3, $$je; a: { $var3 = $this.$chunkLoader; if ($var3 !== null) { try { nms_ChunkLoader_saveExtraChunkData($var3, $this.$worldObj6, $var1); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; } else { throw $$e; } } $var3.$printStackTrace1(); } } } function nms_ChunkProviderLoadOrGenerate_saveChunk($this, $var1) { var $var3, var$3, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$chunkLoader; if ($var3 !== null) { try { var$3 = $this.$worldObj6; $var1.$lastSaveTime = var$3.$worldTime; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var3 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var3); } return; case 1: a: { try { nms_ChunkLoader_saveChunk($var3, var$3, $var1); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var3 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, var$3, $ptr); } function nms_ChunkProviderLoadOrGenerate_populate($this, $var1, $var2, $var3) { var $var4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_ChunkProviderLoadOrGenerate_provideChunk($this, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4.$isTerrainPopulated) { $var4.$isTerrainPopulated = 1; var$5 = $this.$chunkProvider0; if (var$5 !== null) { $ptr = 2; continue main; } } return; case 2: var$5.$populate($var1, $var2, $var3); if ($rt_suspending()) { break main; } nms_Chunk_setChunkModified($var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, var$5, $ptr); } function nms_ChunkProviderLoadOrGenerate_saveChunks($this, $var1, $var2) { var $var3, $var4, $var5, var$6, $var5_0, $var6, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var5_0 = $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 = 0; $var4 = 0; if ($var2 !== null) { $var5 = 0; while (true) { var$6 = $this.$chunks.data; if ($var5 >= var$6.length) break; if (var$6[$var5] !== null && nms_Chunk_needsSaving(var$6[$var5], $var1)) $var4 = $var4 + 1 | 0; $var5 = $var5 + 1 | 0; } } $var5_0 = 0; $var6 = 0; while (true) { var$6 = $this.$chunks.data; if ($var6 >= var$6.length) break; if (var$6[$var6] !== null) { if ($var1 && !var$6[$var6].$neverSave) nms_ChunkProviderLoadOrGenerate_saveExtraChunkData($this, var$6[$var6]); if (nms_Chunk_needsSaving($this.$chunks.data[$var6], $var1)) { var$9 = $this.$chunks.data[$var6]; $ptr = 1; continue main; } } $var6 = $var6 + 1 | 0; } if ($var1 && $this.$chunkLoader === null) return 1; return 1; case 1: nms_ChunkProviderLoadOrGenerate_saveChunk($this, var$9); if ($rt_suspending()) { break main; } $this.$chunks.data[$var6].$isModified = 0; $var3 = $var3 + 1 | 0; if ($var3 == 2 && !$var1) return 0; if ($var2 !== null) { $var5_0 = $var5_0 + 1 | 0; if (!($var5_0 % 10 | 0)) { $var5 = ($var5_0 * 100 | 0) / $var4 | 0; $ptr = 2; continue main; } } while (true) { $var6 = $var6 + 1 | 0; var$6 = $this.$chunks.data; if ($var6 >= var$6.length) break; if (var$6[$var6] === null) continue; if ($var1 && !var$6[$var6].$neverSave) nms_ChunkProviderLoadOrGenerate_saveExtraChunkData($this, var$6[$var6]); if (nms_Chunk_needsSaving($this.$chunks.data[$var6], $var1)) { var$9 = $this.$chunks.data[$var6]; continue main; } } if ($var1 && $this.$chunkLoader === null) return 1; return 1; case 2: nms_LoadingScreenRenderer_setLoadingProgress($var2, $var5); if ($rt_suspending()) { break main; } while (true) { $var6 = $var6 + 1 | 0; var$6 = $this.$chunks.data; if ($var6 >= var$6.length) break; if (var$6[$var6] === null) continue; if ($var1 && !var$6[$var6].$neverSave) nms_ChunkProviderLoadOrGenerate_saveExtraChunkData($this, var$6[$var6]); if (nms_Chunk_needsSaving($this.$chunks.data[$var6], $var1)) { var$9 = $this.$chunks.data[$var6]; $ptr = 1; continue main; } } if ($var1 && $this.$chunkLoader === null) return 1; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var5_0, $var6, var$9, $ptr); } function nms_ChunkProviderLoadOrGenerate_func_532_a($this) { return $this.$chunkProvider0.$func_532_a(); } function nms_MobSpawnerBase() { var a = this; jl_Object.call(a); a.$biomeName = null; a.$field_6503_n = 0; a.$topBlock = 0; a.$fillerBlock = 0; a.$field_6502_q = 0; a.$biomeMonsters = null; a.$biomeCreatures = null; } var nms_MobSpawnerBase_rainforest = null; var nms_MobSpawnerBase_swampland = null; var nms_MobSpawnerBase_seasonalForest = null; var nms_MobSpawnerBase_forest = null; var nms_MobSpawnerBase_savanna = null; var nms_MobSpawnerBase_shrubland = null; var nms_MobSpawnerBase_taiga = null; var nms_MobSpawnerBase_desert = null; var nms_MobSpawnerBase_plains = null; var nms_MobSpawnerBase_iceDesert = null; var nms_MobSpawnerBase_tundra = null; var nms_MobSpawnerBase_hell = null; var nms_MobSpawnerBase_biomeLookupTable = null; function nms_MobSpawnerBase_$callClinit() { nms_MobSpawnerBase_$callClinit = $rt_eraseClinit(nms_MobSpawnerBase); nms_MobSpawnerBase__clinit_(); } function nms_MobSpawnerBase__init_0() { var var_0 = new nms_MobSpawnerBase(); nms_MobSpawnerBase__init_(var_0); return var_0; } function nms_MobSpawnerBase__init_($this) { nms_MobSpawnerBase_$callClinit(); nms_Block_$callClinit(); $this.$topBlock = nms_Block_grass.$blockID << 24 >> 24; $this.$fillerBlock = nms_Block_dirt.$blockID << 24 >> 24; $this.$field_6502_q = 5169201; $this.$biomeMonsters = ju_ArrayList__init_0(); $this.$biomeCreatures = ju_ArrayList__init_0(); } function nms_MobSpawnerBase_func_4122_b($this) { return $this; } function nms_MobSpawnerBase_setBiomeName($this, $var1) { $this.$biomeName = $var1; return $this; } function nms_MobSpawnerBase_func_4124_a($this, $var1) { $this.$field_6502_q = $var1; return $this; } function nms_MobSpawnerBase_getSkyColorByTemp($this, $var1) { var var$2, var$3, var$4, var$5, var$6; var$2 = $var1 / 3.0; if (var$2 < (-1.0)) var$2 = (-1.0); if (var$2 > 1.0) var$2 = 1.0; a: { var$3 = 0.6222222447395325 - var$2 * 0.05000000074505806; $var1 = 0.5 + var$2 * 0.10000000149011612; var$2 = 1.0; nms_MobSpawnerBase_$callClinit(); if ($var1 === 0.0) { var$4 = var$2; $var1 = var$2; } else { var$3 = (var$3 - jl_Math_floor(var$3)) * 6.0; var$5 = var$3 - jl_Math_floor(var$3); var$4 = var$2 * (1.0 - $var1); var$6 = var$2 * (1.0 - $var1 * var$5); $var1 = var$2 * (1.0 - $var1 * (1.0 - var$5)); switch (var$3 | 0) { case 0: break; case 1: $var1 = var$2; var$2 = var$6; break a; case 2: var$3 = var$4; var$4 = $var1; $var1 = var$2; var$2 = var$3; break a; case 3: var$3 = var$4; var$4 = var$2; $var1 = var$6; var$2 = var$3; break a; case 4: var$3 = var$4; var$5 = $var1; var$4 = var$2; $var1 = var$3; var$2 = var$5; break a; case 5: $var1 = var$4; var$4 = var$6; break a; default: var$4 = var$2; $var1 = var$2; break a; } } } return (-16777216) | jl_Math_round(var$2 * 255.0) << 16 | jl_Math_round($var1 * 255.0) << 8 | jl_Math_round(var$4 * 255.0); } function nms_MobSpawnerBase_getEntitiesForType($this, $var1) { nms_EnumCreatureType_$callClinit(); if ($var1 === nms_EnumCreatureType_monster) { if (ju_AbstractCollection_isEmpty($this.$biomeMonsters)) $this.$initBiomeMonsters(); return $this.$biomeMonsters; } if ($var1 !== nms_EnumCreatureType_creature) return null; if (ju_AbstractCollection_isEmpty($this.$biomeCreatures)) $this.$initBiomeCreatures(); return $this.$biomeCreatures; } function nms_MobSpawnerBase_initBiomeMonsters($this) { ju_ArrayList_add($this.$biomeMonsters, nms_EntitySpider__init_(nmc_Minecraft_mc.$theWorld)); ju_ArrayList_add($this.$biomeMonsters, nms_EntityZombie__init_(nmc_Minecraft_mc.$theWorld)); ju_ArrayList_add($this.$biomeMonsters, nms_EntitySkeleton__init_(nmc_Minecraft_mc.$theWorld)); ju_ArrayList_add($this.$biomeMonsters, nms_EntityCreeper__init_(nmc_Minecraft_mc.$theWorld)); } function nms_MobSpawnerBase_initBiomeCreatures($this) { ju_ArrayList_add($this.$biomeCreatures, nms_EntitySheep__init_(nmc_Minecraft_mc.$theWorld)); ju_ArrayList_add($this.$biomeCreatures, nms_EntityPig__init_(nmc_Minecraft_mc.$theWorld)); ju_ArrayList_add($this.$biomeCreatures, nms_EntityChicken__init_(nmc_Minecraft_mc.$theWorld)); ju_ArrayList_add($this.$biomeCreatures, nms_EntityCow__init_(nmc_Minecraft_mc.$theWorld)); } function nms_MobSpawnerBase__clinit_() { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = nms_MobSpawnerBase__init_0(); var$1.$field_6503_n = 588342; var$1.$biomeName = $rt_s(962); var$1.$field_6502_q = 2094168; nms_MobSpawnerBase_rainforest = var$1; var$1 = new nms_MobSpawnerSwamp; nms_MobSpawnerBase__init_(var$1); var$1.$field_6503_n = 522674; var$1.$biomeName = $rt_s(963); var$1.$field_6502_q = 9154376; nms_MobSpawnerBase_swampland = var$1; var$1 = nms_MobSpawnerBase__init_0(); var$1.$field_6503_n = 10215459; var$1.$biomeName = $rt_s(964); nms_MobSpawnerBase_seasonalForest = var$1; var$1 = nms_MobSpawnerBase__init_0(); var$1.$field_6503_n = 353825; var$1.$biomeName = $rt_s(965); var$1.$field_6502_q = 5159473; nms_MobSpawnerBase_forest = var$1; var$1 = new nms_MobSpawnerDesert; nms_MobSpawnerBase__init_(var$1); var$1.$field_6503_n = 14278691; var$1.$biomeName = $rt_s(966); nms_MobSpawnerBase_savanna = var$1; var$1 = nms_MobSpawnerBase__init_0(); var$1.$field_6503_n = 10595616; var$1.$biomeName = $rt_s(967); nms_MobSpawnerBase_shrubland = var$1; var$1 = nms_MobSpawnerBase__init_0(); var$1.$field_6503_n = 3060051; var$1.$biomeName = $rt_s(968); var$1.$field_6502_q = 8107825; nms_MobSpawnerBase_taiga = var$1; var$1 = new nms_MobSpawnerDesert; nms_MobSpawnerBase__init_(var$1); var$1.$field_6503_n = 16421912; var$1.$biomeName = $rt_s(969); nms_MobSpawnerBase_desert = var$1; var$1 = new nms_MobSpawnerDesert; nms_MobSpawnerBase__init_(var$1); var$1.$field_6503_n = 16767248; var$1.$biomeName = $rt_s(970); nms_MobSpawnerBase_plains = var$1; var$1 = new nms_MobSpawnerDesert; nms_MobSpawnerBase__init_(var$1); var$1.$field_6503_n = 16772499; var$1.$biomeName = $rt_s(971); var$1.$field_6502_q = 12899129; nms_MobSpawnerBase_iceDesert = var$1; var$1 = nms_MobSpawnerBase__init_0(); var$1.$field_6503_n = 5762041; var$1.$biomeName = $rt_s(972); var$1.$field_6502_q = 12899129; nms_MobSpawnerBase_tundra = var$1; var$1 = nms_MobSpawnerHell__init_0(); var$1.$field_6503_n = 16711680; var$1.$biomeName = $rt_s(973); nms_MobSpawnerBase_hell = var$1; var$2 = $rt_createArray(nms_MobSpawnerBase, 4096); var$3 = var$2.data; nms_MobSpawnerBase_biomeLookupTable = var$2; var$4 = 0; while (var$4 < 64) { var$5 = 0; while (var$5 < 64) { var$6 = var$4 + (var$5 * 64 | 0) | 0; var$7 = var$4 / 63.0; var$8 = var$5 / 63.0 * var$7; var$3[var$6] = var$7 < 0.10000000149011612 ? nms_MobSpawnerBase_tundra : var$8 < 0.20000000298023224 ? (var$7 < 0.5 ? nms_MobSpawnerBase_tundra : var$7 >= 0.949999988079071 ? nms_MobSpawnerBase_desert : nms_MobSpawnerBase_savanna) : var$8 > 0.5 && var$7 < 0.699999988079071 ? nms_MobSpawnerBase_swampland : var$7 < 0.5 ? nms_MobSpawnerBase_taiga : var$7 < 0.9700000286102295 ? (var$8 >= 0.3499999940395355 ? nms_MobSpawnerBase_forest : nms_MobSpawnerBase_shrubland) : var$8 < 0.44999998807907104 ? nms_MobSpawnerBase_plains : var$8 >= 0.8999999761581421 ? nms_MobSpawnerBase_rainforest : nms_MobSpawnerBase_seasonalForest; var$5 = var$5 + 1 | 0; } var$4 = var$4 + 1 | 0; } var$9 = nms_MobSpawnerBase_desert; nms_Block_$callClinit(); var$4 = nms_Block_sand.$blockID << 24 >> 24; var$9.$fillerBlock = var$4; var$9.$topBlock = var$4; var$1 = nms_MobSpawnerBase_iceDesert; var$1.$fillerBlock = var$4; var$1.$topBlock = var$4; } function nms_ChunkCoordIntPair() { var a = this; jl_Object.call(a); a.$chunkXPos = 0; a.$chunkZPos = 0; } function nms_ChunkCoordIntPair__init_(var_0, var_1) { var var_2 = new nms_ChunkCoordIntPair(); nms_ChunkCoordIntPair__init_0(var_2, var_0, var_1); return var_2; } function nms_ChunkCoordIntPair__init_0($this, $var1, $var2) { $this.$chunkXPos = $var1; $this.$chunkZPos = $var2; } function nms_ChunkCoordIntPair_hashCode($this) { return $this.$chunkXPos << 8 | $this.$chunkZPos; } function nms_ChunkCoordIntPair_equals($this, $var1) { var $var2; $var2 = $var1; return $var2.$chunkXPos == $this.$chunkXPos && $var2.$chunkZPos == $this.$chunkZPos ? 1 : 0; } function nms_EnumCreatureType() { var a = this; jl_Enum.call(a); a.$field_4278_c = null; a.$maxNumberOfEntityType = 0; } var nms_EnumCreatureType_monster = null; var nms_EnumCreatureType_creature = null; var nms_EnumCreatureType_$VALUES = null; function nms_EnumCreatureType_$callClinit() { nms_EnumCreatureType_$callClinit = $rt_eraseClinit(nms_EnumCreatureType); nms_EnumCreatureType__clinit_(); } function nms_EnumCreatureType__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_EnumCreatureType(); nms_EnumCreatureType__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_EnumCreatureType_values() { nms_EnumCreatureType_$callClinit(); return nms_EnumCreatureType_$VALUES.$clone(); } function nms_EnumCreatureType__init_0($this, var$1, var$2, $var3, $var4) { nms_EnumCreatureType_$callClinit(); jl_Enum__init_($this, var$1, var$2); $this.$field_4278_c = $var3; $this.$maxNumberOfEntityType = $var4; } function nms_EnumCreatureType__clinit_() { var var$1; nms_EnumCreatureType_monster = nms_EnumCreatureType__init_($rt_s(974), 0, $rt_cls(nms_IMobs), 100); var$1 = nms_EnumCreatureType__init_($rt_s(975), 1, $rt_cls(nms_EntityAnimals), 20); nms_EnumCreatureType_creature = var$1; nms_EnumCreatureType_$VALUES = $rt_createArrayFromData(nms_EnumCreatureType, [nms_EnumCreatureType_monster, var$1]); } function nms_ChunkPosition() { var a = this; jl_Object.call(a); a.$x3 = 0; a.$y2 = 0; a.$z5 = 0; } function nms_ChunkPosition__init_(var_0, var_1, var_2) { var var_3 = new nms_ChunkPosition(); nms_ChunkPosition__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_ChunkPosition__init_0($this, $var1, $var2, $var3) { $this.$x3 = $var1; $this.$y2 = $var2; $this.$z5 = $var3; } function nms_ChunkPosition_equals($this, $var1) { var $var2; if (!($var1 instanceof nms_ChunkPosition)) return 0; $var2 = $var1; return $var2.$x3 == $this.$x3 && $var2.$y2 == $this.$y2 && $var2.$z5 == $this.$z5 ? 1 : 0; } function nms_ChunkPosition_hashCode($this) { return ($rt_imul($this.$x3, 8976890) + $rt_imul($this.$y2, 981131) | 0) + $this.$z5 | 0; } function ji_BufferedOutputStream() { var a = this; ji_FilterOutputStream.call(a); a.$buf3 = null; a.$count3 = 0; } function ji_BufferedOutputStream__init_(var_0) { var var_1 = new ji_BufferedOutputStream(); ji_BufferedOutputStream__init_0(var_1, var_0); return var_1; } function ji_BufferedOutputStream__init_0($this, $out) { ji_FilterOutputStream__init_0($this, $out); $this.$buf3 = $rt_createByteArray(8192); } function ji_BufferedOutputStream_flush($this) { ji_BufferedOutputStream_flushInternal($this); $this.$out1.$flush(); } function ji_BufferedOutputStream_write($this, $buffer, $offset, $length) { var $internalBuffer, var$5, var$6, var$7; $internalBuffer = $this.$buf3; if ($internalBuffer !== null && $length >= $internalBuffer.data.length) { ji_BufferedOutputStream_flushInternal($this); $this.$out1.$write0($buffer, $offset, $length); return; } if ($buffer === null) { var$5 = new jl_NullPointerException; jl_Throwable__init_(var$5, $rt_s(976)); $rt_throw(var$5); } if ($offset >= 0 && $offset <= ($buffer.data.length - $length | 0)) { if ($length < 0) { var$6 = new jl_ArrayIndexOutOfBoundsException; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_StringBuilder_append1(jl_StringBuilder_append(var$5, $rt_s(977)), $length); jl_Throwable__init_(var$6, jl_AbstractStringBuilder_toString(var$5)); $rt_throw(var$6); } if ($internalBuffer === null) { var$5 = new ji_IOException; jl_Throwable__init_0(var$5); $rt_throw(var$5); } if ($length >= ($internalBuffer.data.length - $this.$count3 | 0)) ji_BufferedOutputStream_flushInternal($this); jl_System_fastArraycopy($buffer, $offset, $internalBuffer, $this.$count3, $length); $this.$count3 = $this.$count3 + $length | 0; return; } var$5 = new jl_ArrayIndexOutOfBoundsException; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7); jl_StringBuilder_append1(jl_StringBuilder_append(var$7, $rt_s(978)), $offset); jl_Throwable__init_(var$5, jl_AbstractStringBuilder_toString(var$7)); $rt_throw(var$5); } function ji_BufferedOutputStream_close($this) { var var$1, $$je; if ($this.$buf3 === null) return; a: { try { ji_FilterOutputStream_close($this); } catch ($$e) { $$je = $rt_wrapException($$e); var$1 = $$je; break a; } $this.$buf3 = null; return; } $this.$buf3 = null; $rt_throw(var$1); } function ji_BufferedOutputStream_write0($this, $oneByte) { var $internalBuffer, var$3, var$4, var$5, var$6; $internalBuffer = $this.$buf3; if ($internalBuffer === null) { var$3 = new ji_IOException; jl_Throwable__init_0(var$3); $rt_throw(var$3); } var$4 = $internalBuffer.data; var$5 = $this.$count3; if (var$5 == var$4.length) { $this.$out1.$write0($internalBuffer, 0, var$5); $this.$count3 = 0; } var$6 = $this.$count3; $this.$count3 = var$6 + 1 | 0; var$4[var$6] = $oneByte << 24 >> 24; } function ji_BufferedOutputStream_flushInternal($this) { var var$1; var$1 = $this.$count3; if (var$1 > 0) { $this.$out1.$write0($this.$buf3, 0, var$1); $this.$count3 = 0; } } function nlea_EaglerAdapterImpl2$FileEntry() { var a = this; jl_Object.call(a); a.$path = null; a.$isDirectory = 0; a.$lastModified = Long_ZERO; } function nlea_EaglerAdapterImpl2$FileEntry__init_(var_0, var_1, var_2) { var var_3 = new nlea_EaglerAdapterImpl2$FileEntry(); nlea_EaglerAdapterImpl2$FileEntry__init_0(var_3, var_0, var_1, var_2); return var_3; } function nlea_EaglerAdapterImpl2$FileEntry__init_0($this, $path, $isDirectory, $lastModified) { $this.$path = $path; $this.$isDirectory = $isDirectory; $this.$lastModified = $lastModified; } function nms_EntityPigZombie() { var a = this; nms_EntityZombie.call(a); a.$angerLevel = 0; a.$randomSoundDelay = 0; } var nms_EntityPigZombie_defaultHeldItem = null; function nms_EntityPigZombie_$callClinit() { nms_EntityPigZombie_$callClinit = $rt_eraseClinit(nms_EntityPigZombie); nms_EntityPigZombie__clinit_(); } function nms_EntityPigZombie__init_(var_0) { var var_1 = new nms_EntityPigZombie(); nms_EntityPigZombie__init_0(var_1, var_0); return var_1; } function nms_EntityPigZombie__init_0($this, $var1) { nms_EntityPigZombie_$callClinit(); nms_EntityZombie__init_0($this, $var1); $this.$angerLevel = 0; $this.$randomSoundDelay = 0; $this.$texture = $rt_s(979); $this.$field_9333_am = 0.5; $this.$field_762_e = 5; $this.$isImmuneToFire = 1; } function nms_EntityPigZombie_onUpdate($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: $this.$field_9333_am = $this.$playerToAttack === null ? 0.5 : 0.949999988079071; var$1 = $this.$randomSoundDelay; if (var$1 > 0) { var$2 = var$1 - 1 | 0; $this.$randomSoundDelay = var$2; if (!var$2) nms_World_playSoundAtEntity($this.$worldObj0, $this, $rt_s(980), 2.0, ((ju_Random_nextFloat($this.$rand2) - ju_Random_nextFloat($this.$rand2)) * 0.20000000298023224 + 1.0) * 1.7999999523162842); } $ptr = 1; case 1: nms_EntityMobs_onUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); } function nms_EntityPigZombie_getCanSpawnHere($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; if (var$1.$difficultySetting <= 0) return 0; var$2 = $this.$boundingBox; $ptr = 1; case 1: $tmp = nms_World_checkIfAABBIsClear(var$1, var$2); if ($rt_suspending()) { break main; } var$3 = $tmp; if (!var$3) return 0; var$1 = $this.$worldObj0; var$2 = $this.$boundingBox; $ptr = 2; case 2: $tmp = nms_World_getCollidingBoundingBoxes(var$1, $this, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; if (var$1.$size) return 0; var$1 = $this.$worldObj0; var$2 = $this.$boundingBox; $ptr = 3; case 3: $tmp = nms_World_getIsAnyLiquid(var$1, var$2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); } function nms_EntityPigZombie_writeEntityToNBT($this, $var1) { nms_EntityLiving_writeEntityToNBT($this, $var1); nms_NBTTagCompound_setShort($var1, $rt_s(981), $this.$angerLevel << 16 >> 16); } function nms_EntityPigZombie_readEntityFromNBT($this, $var1) { nms_EntityLiving_readEntityFromNBT($this, $var1); $this.$angerLevel = nms_NBTTagCompound_getShort($var1, $rt_s(981)); } function nms_EntityPigZombie_findPlayerToAttack($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: if (!$this.$angerLevel) return null; $ptr = 1; case 1: $tmp = nms_EntityMobs_findPlayerToAttack($this); if ($rt_suspending()) { break main; } var$1 = $tmp; return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); } function nms_EntityPigZombie_onLivingUpdate($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: $ptr = 1; case 1: nms_EntityZombie_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); } function nms_EntityPigZombie_canAttackEntity($this, $var1, $var2) { var $var3, $var5, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($var1 instanceof nms_EntityPlayer)) { $ptr = 1; continue main; } $var3 = $this.$worldObj0; $var5 = nms_AxisAlignedBB_expands($this.$boundingBox, 32.0, 32.0, 32.0); $ptr = 2; continue main; case 1: $tmp = nms_EntityMobs_canAttackEntity($this, $var1, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; case 2: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var3, $this, $var5); if ($rt_suspending()) { break main; } $var3 = $tmp; $var4 = 0; while ($var4 < $var3.$size) { $var5 = ju_ArrayList_get($var3, $var4); if ($var5 instanceof nms_EntityPigZombie) nms_EntityPigZombie_becomeAngryAt($var5, $var1); $var4 = $var4 + 1 | 0; } nms_EntityPigZombie_becomeAngryAt($this, $var1); $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var5, $var4, $ptr); } function nms_EntityPigZombie_becomeAngryAt($this, $var1) { $this.$playerToAttack = $var1; $this.$angerLevel = 400 + ju_Random_nextInt($this.$rand2, 400) | 0; $this.$randomSoundDelay = ju_Random_nextInt($this.$rand2, 40); } function nms_EntityPigZombie_getLivingSound($this) { return $rt_s(982); } function nms_EntityPigZombie_getHurtSound($this) { return $rt_s(983); } function nms_EntityPigZombie_getDeathSound($this) { return $rt_s(984); } function nms_EntityPigZombie_getDropItemId($this) { nms_Item_$callClinit(); return nms_Item_porkCooked.$shiftedIndex; } function nms_EntityPigZombie_getHeldItem($this) { nms_EntityPigZombie_$callClinit(); return nms_EntityPigZombie_defaultHeldItem; } function nms_EntityPigZombie__clinit_() { var var$1; var$1 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$1, nms_Item_swordGold, 1); nms_EntityPigZombie_defaultHeldItem = var$1; } function nms_NibbleArray() { jl_Object.call(this); this.$data3 = null; } function nms_NibbleArray__init_0(var_0) { var var_1 = new nms_NibbleArray(); nms_NibbleArray__init_(var_1, var_0); return var_1; } function nms_NibbleArray__init_1(var_0) { var var_1 = new nms_NibbleArray(); nms_NibbleArray__init_2(var_1, var_0); return var_1; } function nms_NibbleArray__init_($this, $var1) { $this.$data3 = $rt_createByteArray($var1 >> 1); } function nms_NibbleArray__init_2($this, $var1) { $this.$data3 = $var1; } function nms_NibbleArray_getNibble($this, $var1, $var2, $var3) { var $var4, $var5; $var4 = $var1 << 11 | $var3 << 7 | $var2; $var5 = $var4 >> 1; return !($var4 & 1) ? $this.$data3.data[$var5] & 15 : $this.$data3.data[$var5] >> 4 & 15; } function nms_NibbleArray_setNibble($this, $var1, $var2, $var3, $var4) { var $var5, $var6, var$7; $var5 = $var1 << 11 | $var3 << 7 | $var2; $var6 = $var5 >> 1; if (!($var5 & 1)) { var$7 = $this.$data3.data; var$7[$var6] = (var$7[$var6] & 240 | $var4 & 15) << 24 >> 24; } else { var$7 = $this.$data3.data; var$7[$var6] = (var$7[$var6] & 15 | ($var4 & 15) << 4) << 24 >> 24; } } function nms_NibbleArray_isValid($this) { return $this.$data3 === null ? 0 : 1; } var nms_MobSpawnerSwamp = $rt_classWithoutFields(nms_MobSpawnerBase); function nms_MobSpawnerSwamp__init_0() { var var_0 = new nms_MobSpawnerSwamp(); nms_MobSpawnerSwamp__init_(var_0); return var_0; } function nms_MobSpawnerSwamp__init_($this) { nms_MobSpawnerBase__init_($this); } var nms_MobSpawnerDesert = $rt_classWithoutFields(nms_MobSpawnerBase); function nms_MobSpawnerDesert__init_0() { var var_0 = new nms_MobSpawnerDesert(); nms_MobSpawnerDesert__init_(var_0); return var_0; } function nms_MobSpawnerDesert__init_($this) { nms_MobSpawnerBase__init_($this); } var nms_MobSpawnerHell = $rt_classWithoutFields(nms_MobSpawnerBase); function nms_MobSpawnerHell__init_0() { var var_0 = new nms_MobSpawnerHell(); nms_MobSpawnerHell__init_(var_0); return var_0; } function nms_MobSpawnerHell__init_($this) { nms_MobSpawnerBase__init_($this); $this.$biomeMonsters = ju_ArrayList__init_0(); $this.$biomeCreatures = ju_ArrayList__init_0(); } function nms_MobSpawnerHell_initBiomeMonsters($this) { ju_ArrayList_add($this.$biomeMonsters, nms_EntityGhast__init_(nmc_Minecraft_mc.$theWorld)); ju_ArrayList_add($this.$biomeMonsters, nms_EntityPigZombie__init_(nmc_Minecraft_mc.$theWorld)); } function nms_MobSpawnerHell_initBiomeCreatures($this) { var var$1; var$1 = $this.$biomeCreatures; if (var$1 !== null) ju_ArrayList_clear(var$1); } function nleat_IndexedDBFilesystem$AsyncHandlers$5() { jl_Object.call(this); this.$val$cb3 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$5_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb3, nleat_IndexedDBFilesystem$BooleanResult__new(1)); } function nleat_IndexedDBFilesystem$AsyncHandlers$6() { jl_Object.call(this); this.$val$cb4 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$6_handleEvent$exported$0(var$0) { otpp_AsyncCallbackWrapper_complete(var$0.$val$cb4, nleat_IndexedDBFilesystem$BooleanResult__new(0)); } function nleat_IndexedDBFilesystem$AsyncHandlers$11() { var a = this; jl_Object.call(a); a.$val$r0 = null; a.$val$cb7 = null; a.$val$res = null; a.$val$prefix = null; a.$val$recursiveDirs = 0; a.$val$listDirs = 0; a.$val$lst = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$11_handleEvent$exported$0(var$0) { var var$1, var$2; var$1 = var$0.$val$r0.result; if (var$1 !== null && var$1.key !== null && var$1.value !== null) { var$2 = $rt_str(nleat_IndexedDBFilesystem$AsyncHandlers_readKey$js_body$_13(var$1.key)); if (var$2 !== null && jl_String_startsWith(var$2, var$0.$val$prefix) && !(!var$0.$val$recursiveDirs && jl_String_indexOf(var$2, 47, jl_String_length(var$0.$val$prefix) + 1 | 0) != (-1))) { if (!(nleat_IndexedDBFilesystem$AsyncHandlers_isRowDirectory$js_body$_6(var$1.value) ? 1 : 0)) ju_AbstractList_add(var$0.$val$lst, nlea_EaglerAdapterImpl2$FileEntry__init_(var$2, 0, Long_add(Long_create(596067632, 383), Long_fromInt(nleat_IndexedDBFilesystem$AsyncHandlers_readLastModified$js_body$_7(var$1.value))))); else if (var$0.$val$listDirs) ju_AbstractList_add(var$0.$val$lst, nlea_EaglerAdapterImpl2$FileEntry__init_(var$2, 1, Long_fromInt(-1))); } var$1.continue(); } else otpp_AsyncCallbackWrapper_complete(var$0.$val$cb7, jl_Integer_valueOf(var$0.$val$res.data[0])); } function nleat_IndexedDBFilesystem$AsyncHandlers$12() { var a = this; jl_Object.call(a); a.$val$cb8 = null; a.$val$res0 = null; } function nleat_IndexedDBFilesystem$AsyncHandlers$12_handleEvent$exported$0(var$0) { var var$1, var$2; var$1 = var$0.$val$cb8; var$2 = var$0.$val$res0.data; otpp_AsyncCallbackWrapper_complete(var$1, jl_Integer_valueOf(var$2[0] <= 0 ? (-1) : var$2[0])); } var jl_ArrayIndexOutOfBoundsException = $rt_classWithoutFields(jl_IndexOutOfBoundsException); function jl_ArrayIndexOutOfBoundsException__init_() { var var_0 = new jl_ArrayIndexOutOfBoundsException(); jl_ArrayIndexOutOfBoundsException__init_0(var_0); return var_0; } function jl_ArrayIndexOutOfBoundsException__init_0($this) { jl_Throwable__init_0($this); } function nms_EnumSkyBlock() { jl_Enum.call(this); this.$field_1722_c = 0; } var nms_EnumSkyBlock_Sky = null; var nms_EnumSkyBlock_Block = null; var nms_EnumSkyBlock_$VALUES = null; function nms_EnumSkyBlock_$callClinit() { nms_EnumSkyBlock_$callClinit = $rt_eraseClinit(nms_EnumSkyBlock); nms_EnumSkyBlock__clinit_(); } function nms_EnumSkyBlock__init_(var_0, var_1, var_2) { var var_3 = new nms_EnumSkyBlock(); nms_EnumSkyBlock__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_EnumSkyBlock__init_0($this, var$1, var$2, $var3) { nms_EnumSkyBlock_$callClinit(); jl_Enum__init_($this, var$1, var$2); $this.$field_1722_c = $var3; } function nms_EnumSkyBlock__clinit_() { var var$1; nms_EnumSkyBlock_Sky = nms_EnumSkyBlock__init_($rt_s(985), 0, 15); var$1 = nms_EnumSkyBlock__init_($rt_s(986), 1, 0); nms_EnumSkyBlock_Block = var$1; nms_EnumSkyBlock_$VALUES = $rt_createArrayFromData(nms_EnumSkyBlock, [nms_EnumSkyBlock_Sky, var$1]); } function nms_WorldChunkManagerHell() { var a = this; nms_WorldChunkManager.call(a); a.$field_4201_e = null; a.$field_4200_f = 0.0; a.$field_4199_g = 0.0; } function nms_WorldChunkManagerHell_func_4074_a($this, $var1) { return $this.$field_4201_e; } function nms_WorldChunkManagerHell_func_4073_a($this, $var1, $var2) { return $this.$field_4201_e; } function nms_WorldChunkManagerHell_func_4072_b($this, $var1, $var2) { return $this.$field_4200_f; } function nms_WorldChunkManagerHell_func_4069_a($this, $var1, $var2, $var3, $var4) { var var$5; var$5 = nms_WorldChunkManagerHell_loadBlockGeneratorData($this, $this.$field_4195_d, $var1, $var2, $var3, $var4); $this.$field_4195_d = var$5; return var$5; } function nms_WorldChunkManagerHell_getTemperatures($this, $var1, $var2, $var3, $var4, $var5) { if (!($var1 !== null && $var1.data.length >= $rt_imul($var4, $var5))) $var1 = $rt_createDoubleArray($rt_imul($var4, $var5)); ju_Arrays_fill2($var1, 0, $rt_imul($var4, $var5), $this.$field_4200_f); return $var1; } function nms_WorldChunkManagerHell_loadBlockGeneratorData($this, $var1, $var2, $var3, $var4, $var5) { if (!($var1 !== null && $var1.data.length >= $rt_imul($var4, $var5))) { $var2 = $rt_imul($var4, $var5); $var1 = $rt_createArray(nms_MobSpawnerBase, $var2); $this.$temperature = $rt_createDoubleArray($var2); $this.$humidity = $rt_createDoubleArray($var2); } $var3 = $rt_imul($var4, $var5); ju_Arrays_fill0($var1, 0, $var3, $this.$field_4201_e); ju_Arrays_fill2($this.$humidity, 0, $var3, $this.$field_4199_g); ju_Arrays_fill2($this.$temperature, 0, $var3, $this.$field_4200_f); return $var1; } function nms_GuiChest() { var a = this; nms_GuiContainer.call(a); a.$field_982_j = null; a.$field_981_l = null; a.$field_980_m = 0; } function nms_GuiChest_drawGuiContainerForegroundLayer($this) { nms_FontRenderer_drawString($this.$fontRenderer0, $this.$field_981_l.$getInvName(), 8, 6, 4210752); nms_FontRenderer_drawString($this.$fontRenderer0, $rt_s(376), 8, ($this.$ySize - 96 | 0) + 2 | 0, 4210752); } function nms_GuiChest_drawGuiContainerBackgroundLayer($this, $var1) { var var$2, var$3, $var2, var$5, $var3, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc8.$renderEngine; var$3 = $rt_s(987); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture(var$2, var$3); if ($rt_suspending()) { break main; } $var2 = $tmp; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_RenderEngine_bindTexture($this.$mc8.$renderEngine, $var2); $var2 = $this.$width; var$5 = $this.$xSize; $var3 = ($var2 - var$5 | 0) / 2 | 0; $var4 = ($this.$height0 - $this.$ySize | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var3, $var4, 0, 0, var$5, ($this.$field_980_m * 18 | 0) + 17 | 0); nms_Gui_drawTexturedModalRect($this, $var3, ($var4 + ($this.$field_980_m * 18 | 0) | 0) + 17 | 0, 0, 126, $this.$xSize, 96); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $var2, var$5, $var3, $var4, $ptr); } function nms_GuiCrafting() { nms_GuiContainer.call(this); this.$field_979_j = null; } function nms_GuiCrafting_onGuiClosed($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiContainer_onGuiClosed($this); if ($rt_suspending()) { break main; } var$1 = $this.$field_979_j; var$2 = $this.$mc8.$thePlayer; var$3 = var$2.$inventory0.$draggingItemStack; if (var$3 !== null) { $ptr = 2; continue main; } var$4 = 0; while (var$4 < 9) { var$3 = nms_InventoryCrafting_getStackInSlot(var$1.$craftMatrix, var$4); if (var$3 !== null) { $ptr = 3; continue main; } var$4 = var$4 + 1 | 0; } return; case 2: nms_EntityPlayer_dropPlayerItem(var$2, var$3); if ($rt_suspending()) { break main; } var$4 = 0; while (var$4 < 9) { var$3 = nms_InventoryCrafting_getStackInSlot(var$1.$craftMatrix, var$4); if (var$3 !== null) { $ptr = 3; continue main; } var$4 = var$4 + 1 | 0; } return; case 3: nms_EntityPlayer_dropPlayerItem(var$2, var$3); if ($rt_suspending()) { break main; } while (true) { var$4 = var$4 + 1 | 0; if (var$4 >= 9) break; var$3 = nms_InventoryCrafting_getStackInSlot(var$1.$craftMatrix, var$4); if (var$3 === null) continue; else { continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_GuiCrafting_drawGuiContainerForegroundLayer($this) { nms_FontRenderer_drawString($this.$fontRenderer0, $rt_s(546), 28, 6, 4210752); nms_FontRenderer_drawString($this.$fontRenderer0, $rt_s(376), 8, ($this.$ySize - 96 | 0) + 2 | 0, 4210752); } function nms_GuiCrafting_drawGuiContainerBackgroundLayer($this, $var1) { var var$2, var$3, $var2, var$5, $var3, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc8.$renderEngine; var$3 = $rt_s(988); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture(var$2, var$3); if ($rt_suspending()) { break main; } $var2 = $tmp; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_RenderEngine_bindTexture($this.$mc8.$renderEngine, $var2); $var2 = $this.$width; var$5 = $this.$xSize; $var3 = ($var2 - var$5 | 0) / 2 | 0; $var2 = $this.$height0; var$7 = $this.$ySize; nms_Gui_drawTexturedModalRect($this, $var3, ($var2 - var$7 | 0) / 2 | 0, 0, 0, var$5, var$7); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $var2, var$5, $var3, var$7, $ptr); } function nms_GuiFurnace() { nms_GuiContainer.call(this); this.$field_978_j = null; } function nms_GuiFurnace_drawGuiContainerForegroundLayer($this) { nms_FontRenderer_drawString($this.$fontRenderer0, $rt_s(310), 60, 6, 4210752); nms_FontRenderer_drawString($this.$fontRenderer0, $rt_s(376), 8, ($this.$ySize - 96 | 0) + 2 | 0, 4210752); } function nms_GuiFurnace_drawGuiContainerBackgroundLayer($this, $var1) { var var$2, var$3, $var2, $var5, $var3, var$7, $var4, $var5_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5_0 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc8.$renderEngine; var$3 = $rt_s(989); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture(var$2, var$3); if ($rt_suspending()) { break main; } $var2 = $tmp; olo_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nms_RenderEngine_bindTexture($this.$mc8.$renderEngine, $var2); $var2 = $this.$width; $var5 = $this.$xSize; $var3 = ($var2 - $var5 | 0) / 2 | 0; $var2 = $this.$height0; var$7 = $this.$ySize; $var4 = ($var2 - var$7 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var3, $var4, 0, 0, $var5, var$7); if (nms_TileEntityFurnace_isBurning($this.$field_978_j)) { var$3 = $this.$field_978_j; if (!var$3.$currentItemBurnTime) var$3.$currentItemBurnTime = 200; $var5_0 = (var$3.$furnaceBurnTime * 12 | 0) / var$3.$currentItemBurnTime | 0; nms_Gui_drawTexturedModalRect($this, $var3 + 56 | 0, (($var4 + 36 | 0) + 12 | 0) - $var5_0 | 0, 176, 12 - $var5_0 | 0, 14, $var5_0 + 2 | 0); } $var5 = ($this.$field_978_j.$furnaceCookTime * 24 | 0) / 200 | 0; nms_Gui_drawTexturedModalRect($this, $var3 + 79 | 0, $var4 + 34 | 0, 176, 14, $var5 + 1 | 0, 16); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, $var2, $var5, $var3, var$7, $var4, $var5_0, $ptr); } var nms_EntityList = $rt_classWithoutFields(); var nms_EntityList_stringToClassMapping = null; var nms_EntityList_classToStringMapping = null; var nms_EntityList_IDtoClassMapping = null; var nms_EntityList_classToIDMapping = null; function nms_EntityList_$callClinit() { nms_EntityList_$callClinit = $rt_eraseClinit(nms_EntityList); nms_EntityList__clinit_(); } function nms_EntityList__init_0() { var var_0 = new nms_EntityList(); nms_EntityList__init_(var_0); return var_0; } function nms_EntityList__init_($this) { nms_EntityList_$callClinit(); } function nms_EntityList_addMapping($var0, $var1, $var2) { nms_EntityList_$callClinit(); ju_HashMap_put(nms_EntityList_stringToClassMapping, $var1, $var0); ju_HashMap_put(nms_EntityList_classToStringMapping, $var0, $var1); ju_HashMap_put(nms_EntityList_IDtoClassMapping, jl_Integer_valueOf($var2), $var0); ju_HashMap_put(nms_EntityList_classToIDMapping, $var0, jl_Integer_valueOf($var2)); } function nms_EntityList_createEntityInWorld($var0, $var1) { var $var2, var$4, $var3, $entity, var$7, var$8, $var4, $$je; nms_EntityList_$callClinit(); $var2 = null; a: { try { var$4 = $var2; $var3 = ju_HashMap_get(nms_EntityList_stringToClassMapping, $var0); $entity = nms_EntityList_getEntity($var3); if ($var3 === null) $entity = $var2; else { var$4 = $var2; if ($entity === null) { var$4 = $var2; var$7 = 0; } else { var$4 = $var2; var$7 = 1; } b: { var$4 = $var2; if (!($entity instanceof nms_EntityPlayer)) { var$4 = $var2; if (!($entity instanceof nms_EntityPlayerSP)) { var$4 = $var2; var$8 = 1; break b; } } var$4 = $var2; var$8 = 0; } var$4 = $var2; if (!(var$7 & var$8)) $entity = $var2; else { var$4 = $entity; var$4 = $var2; } } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var4 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var4); $entity = var$4; } return $entity; } function nms_EntityList_getEntity($c) { nms_EntityList_$callClinit(); if ($c !== $rt_cls(nms_EntityPlayer) && $c !== $rt_cls(nms_EntityPlayerSP)) { if ($c === $rt_cls(nms_EntityArrow)) { $c = new nms_EntityArrow; nms_Entity__init_($c, nmc_Minecraft_mc.$theWorld); $c.$xTile = (-1); $c.$yTile = (-1); $c.$zTile = (-1); $c.$inTile = 0; $c.$inGround = 0; $c.$arrowShake = 0; $c.$field_680_i = 0; nms_Entity_setSize($c, 0.5, 0.5); return $c; } if ($c === $rt_cls(nms_EntitySnowball)) { $c = new nms_EntitySnowball; nms_Entity__init_($c, nmc_Minecraft_mc.$theWorld); $c.$field_816_b = (-1); $c.$field_815_c = (-1); $c.$field_814_d = (-1); $c.$field_813_e = 0; $c.$field_812_f = 0; $c.$field_817_a = 0; $c.$field_809_i = 0; nms_Entity_setSize($c, 0.25, 0.25); return $c; } if ($c === $rt_cls(nms_EntityItem)) { $c = new nms_EntityItem; nms_Entity__init_($c, nmc_Minecraft_mc.$theWorld); $c.$age = 0; $c.$health0 = 5; $c.$field_804_d = jl_Math_random() * 3.141592653589793 * 2.0; nms_Entity_setSize($c, 0.25, 0.25); $c.$yOffset = $c.$height / 2.0; return $c; } if ($c === $rt_cls(nms_EntityPainting)) return nms_EntityPainting__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityCreeper)) return nms_EntityCreeper__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntitySkeleton)) return nms_EntitySkeleton__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntitySpider)) return nms_EntitySpider__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityZombieSimple)) { $c = new nms_EntityZombieSimple; nms_EntityMobs__init_0($c, nmc_Minecraft_mc.$theWorld); $c.$texture = $rt_s(632); $c.$field_9333_am = 0.5; $c.$field_762_e = 50; $c.$health = $c.$health * 10 | 0; $c.$yOffset = $c.$yOffset * 6.0; nms_Entity_setSize($c, $c.$width0 * 6.0, $c.$height * 6.0); return $c; } if ($c === $rt_cls(nms_EntityZombie)) return nms_EntityZombie__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntitySlime)) return nms_EntitySlime__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityGhast)) return nms_EntityGhast__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityPigZombie)) return nms_EntityPigZombie__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityPig)) return nms_EntityPig__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntitySheep)) return nms_EntitySheep__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityCow)) return nms_EntityCow__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityChicken)) return nms_EntityChicken__init_(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityTNTPrimed)) return nms_EntityTNTPrimed__init_0(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityFallingSand)) { $c = new nms_EntityFallingSand; nms_Entity__init_($c, nmc_Minecraft_mc.$theWorld); $c.$field_798_b = 0; return $c; } if ($c === $rt_cls(nms_EntityMinecart)) return nms_EntityMinecart__init_0(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityBoat)) return nms_EntityBoat__init_0(nmc_Minecraft_mc.$theWorld); if ($c === $rt_cls(nms_EntityMobs)) return nms_EntityMobs__init_(nmc_Minecraft_mc.$theWorld); if ($c !== $rt_cls(nms_EntityLiving)) return null; return nms_EntityLiving__init_0(nmc_Minecraft_mc.$theWorld); } return null; } function nms_EntityList__clinit_() { nms_EntityList_stringToClassMapping = ju_HashMap__init_0(); nms_EntityList_classToStringMapping = ju_HashMap__init_0(); nms_EntityList_IDtoClassMapping = ju_HashMap__init_0(); nms_EntityList_classToIDMapping = ju_HashMap__init_0(); nms_EntityList_addMapping($rt_cls(nms_EntityArrow), $rt_s(990), 10); nms_EntityList_addMapping($rt_cls(nms_EntitySnowball), $rt_s(991), 11); nms_EntityList_addMapping($rt_cls(nms_EntityItem), $rt_s(668), 1); nms_EntityList_addMapping($rt_cls(nms_EntityPainting), $rt_s(992), 9); nms_EntityList_addMapping($rt_cls(nms_EntityLiving), $rt_s(993), 48); nms_EntityList_addMapping($rt_cls(nms_EntityMobs), $rt_s(994), 49); nms_EntityList_addMapping($rt_cls(nms_EntityCreeper), $rt_s(995), 50); nms_EntityList_addMapping($rt_cls(nms_EntitySkeleton), $rt_s(959), 51); nms_EntityList_addMapping($rt_cls(nms_EntitySpider), $rt_s(996), 52); nms_EntityList_addMapping($rt_cls(nms_EntityZombieSimple), $rt_s(997), 53); nms_EntityList_addMapping($rt_cls(nms_EntityZombie), $rt_s(998), 54); nms_EntityList_addMapping($rt_cls(nms_EntitySlime), $rt_s(999), 55); nms_EntityList_addMapping($rt_cls(nms_EntityGhast), $rt_s(1000), 56); nms_EntityList_addMapping($rt_cls(nms_EntityPigZombie), $rt_s(1001), 57); nms_EntityList_addMapping($rt_cls(nms_EntityPig), $rt_s(713), 90); nms_EntityList_addMapping($rt_cls(nms_EntitySheep), $rt_s(1002), 91); nms_EntityList_addMapping($rt_cls(nms_EntityCow), $rt_s(1003), 92); nms_EntityList_addMapping($rt_cls(nms_EntityChicken), $rt_s(1004), 93); nms_EntityList_addMapping($rt_cls(nms_EntityTNTPrimed), $rt_s(1005), 20); nms_EntityList_addMapping($rt_cls(nms_EntityFallingSand), $rt_s(1006), 21); nms_EntityList_addMapping($rt_cls(nms_EntityMinecart), $rt_s(676), 40); nms_EntityList_addMapping($rt_cls(nms_EntityBoat), $rt_s(1007), 41); } var nms_WorldGenerator = $rt_classWithoutFields(); function nms_WorldGenerator_func_517_a($this, $var1, $var3, $var5) {} var nms_WorldGenTrees = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenTrees__init_0() { var var_0 = new nms_WorldGenTrees(); nms_WorldGenTrees__init_(var_0); return var_0; } function nms_WorldGenTrees__init_($this) {} function nms_WorldGenTrees_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, var$8, $var13, $var16, $var8, $var10, $var9, $var10_0, $var11, $var11_0, $var12, $var14, $var15, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var11_0 = $thread.pop();$var11 = $thread.pop();$var10_0 = $thread.pop();$var9 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var16 = $thread.pop();$var13 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = ju_Random_nextInt($var2, 3) + 4 | 0; $var7 = 1; if ($var4 >= 1) { var$8 = $var4 + $var6 | 0; if ((var$8 + 1 | 0) <= 128) { $var13 = ($var4 + 1 | 0) + $var6 | 0; $var16 = $var13 - 2 | 0; $var8 = $var4; a: while (true) { if ($var8 > $var13) { if (!$var7) return 0; $var10 = $var4 - 1 | 0; $ptr = 1; continue main; } $var9 = 1; if ($var8 == $var4) $var9 = 0; if ($var8 >= $var16) $var9 = 2; $var10_0 = $var3 - $var9 | 0; while ($var10_0 <= ($var3 + $var9 | 0) && $var7) { $var11 = $var5 - $var9 | 0; while ($var11 <= ($var5 + $var9 | 0) && $var7) { if ($var8 >= 0 && $var8 < 128) break a; $var7 = 0; $var11 = $var11 + 1 | 0; } $var10_0 = $var10_0 + 1 | 0; } $var8 = $var8 + 1 | 0; } $ptr = 7; continue main; } } return 0; case 1: $tmp = nms_World_getBlockId($var1, $var3, $var10, $var5); if ($rt_suspending()) { break main; } $var16 = $tmp; nms_Block_$callClinit(); if (!($var16 != nms_Block_grass.$blockID && $var16 != nms_Block_dirt.$blockID) && $var4 < ((128 - $var6 | 0) - 1 | 0)) { $var16 = nms_Block_dirt.$blockID; $ptr = 2; continue main; } return 0; case 2: nms_World_setBlock($var1, $var3, $var10, $var5, $var16); if ($rt_suspending()) { break main; } $var16 = ($var4 - 3 | 0) + $var6 | 0; b: while (true) { if ($var16 > var$8) { $var16 = 0; if ($var16 >= $var6) return 1; $var10_0 = $var4 + $var16 | 0; $ptr = 3; continue main; } $var10_0 = $var16 - var$8 | 0; $var11_0 = 1 - ($var10_0 / 2 | 0) | 0; $var12 = $var3 - $var11_0 | 0; $var8 = $var3 + $var11_0 | 0; $var10 = $var5 - $var11_0 | 0; $var7 = $var5 + $var11_0 | 0; while ($var12 <= $var8) { $var13 = $var12 - $var3 | 0; $var14 = $var10; while ($var14 <= $var7) { $var15 = $var14 - $var5 | 0; if (jl_Math_abs0($var13) != $var11_0) break b; if (jl_Math_abs0($var15) != $var11_0) break b; if (ju_Random_nextInt($var2, 2) && $var10_0) break b; $var14 = $var14 + 1 | 0; } $var12 = $var12 + 1 | 0; } $var16 = $var16 + 1 | 0; } var$20 = nms_Block_opaqueCubeLookup.data; $ptr = 5; continue main; case 3: $tmp = nms_World_getBlockId($var1, $var3, $var10_0, $var5); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var10 && $var10 != nms_Block_leaves.$blockID) { $var16 = $var16 + 1 | 0; if ($var16 >= $var6) return 1; $var10_0 = $var4 + $var16 | 0; continue main; } $var10 = nms_Block_wood.$blockID; $ptr = 4; case 4: nms_World_setBlock($var1, $var3, $var10_0, $var5, $var10); if ($rt_suspending()) { break main; } $var16 = $var16 + 1 | 0; if ($var16 >= $var6) return 1; $var10_0 = $var4 + $var16 | 0; $ptr = 3; continue main; case 5: $tmp = nms_World_getBlockId($var1, $var12, $var16, $var14); if ($rt_suspending()) { break main; } $var15 = $tmp; if (!var$20[$var15]) { $var15 = nms_Block_leaves.$blockID; $ptr = 6; continue main; } while (true) { $var14 = $var14 + 1 | 0; while ($var14 > $var7) { $var12 = $var12 + 1 | 0; while ($var12 > $var8) { $var16 = $var16 + 1 | 0; if ($var16 > var$8) { $var16 = 0; if ($var16 >= $var6) return 1; $var10_0 = $var4 + $var16 | 0; $ptr = 3; continue main; } $var10_0 = $var16 - var$8 | 0; $var11_0 = 1 - ($var10_0 / 2 | 0) | 0; $var12 = $var3 - $var11_0 | 0; $var8 = $var3 + $var11_0 | 0; $var10 = $var5 - $var11_0 | 0; $var7 = $var5 + $var11_0 | 0; } $var13 = $var12 - $var3 | 0; $var14 = $var10; } $var15 = $var14 - $var5 | 0; if (jl_Math_abs0($var13) != $var11_0) break; if (jl_Math_abs0($var15) != $var11_0) break; if (!ju_Random_nextInt($var2, 2)) continue; if (!$var10_0) continue; else break; } var$20 = nms_Block_opaqueCubeLookup.data; continue main; case 6: nms_World_setBlock($var1, $var12, $var16, $var14, $var15); if ($rt_suspending()) { break main; } while (true) { $var14 = $var14 + 1 | 0; while ($var14 > $var7) { $var12 = $var12 + 1 | 0; while ($var12 > $var8) { $var16 = $var16 + 1 | 0; if ($var16 > var$8) { $var16 = 0; if ($var16 >= $var6) return 1; $var10_0 = $var4 + $var16 | 0; $ptr = 3; continue main; } $var10_0 = $var16 - var$8 | 0; $var11_0 = 1 - ($var10_0 / 2 | 0) | 0; $var12 = $var3 - $var11_0 | 0; $var8 = $var3 + $var11_0 | 0; $var10 = $var5 - $var11_0 | 0; $var7 = $var5 + $var11_0 | 0; } $var13 = $var12 - $var3 | 0; $var14 = $var10; } $var15 = $var14 - $var5 | 0; if (jl_Math_abs0($var13) != $var11_0) break; if (jl_Math_abs0($var15) != $var11_0) break; if (!ju_Random_nextInt($var2, 2)) continue; if (!$var10_0) continue; else break; } var$20 = nms_Block_opaqueCubeLookup.data; $ptr = 5; continue main; case 7: $tmp = nms_World_getBlockId($var1, $var10_0, $var8, $var11); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12) { nms_Block_$callClinit(); if ($var12 != nms_Block_leaves.$blockID) $var7 = 0; } while (true) { $var11 = $var11 + 1 | 0; while (!($var11 <= ($var5 + $var9 | 0) && $var7)) { $var10_0 = $var10_0 + 1 | 0; while (!($var10_0 <= ($var3 + $var9 | 0) && $var7)) { $var8 = $var8 + 1 | 0; if ($var8 > $var13) { if (!$var7) return 0; $var10 = $var4 - 1 | 0; $ptr = 1; continue main; } $var9 = 1; if ($var8 == $var4) $var9 = 0; if ($var8 >= $var16) $var9 = 2; $var10_0 = $var3 - $var9 | 0; } $var11 = $var5 - $var9 | 0; } if ($var8 >= 0 && $var8 < 128) break; $var7 = 0; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var13, $var16, $var8, $var10, $var9, $var10_0, $var11, $var11_0, $var12, $var14, $var15, var$20, $ptr); } function nms_WorldGenBigTree() { var a = this; nms_WorldGenerator.call(a); a.$field_881_b = null; a.$worldObj11 = null; a.$field_879_d = null; a.$field_878_e = 0; a.$field_877_f = 0; a.$field_876_g = 0.0; a.$field_875_h = 0.0; a.$field_874_i = 0.0; a.$field_873_j = 0.0; a.$field_872_k = 0.0; a.$field_871_l = 0; a.$field_870_m = 0; a.$field_869_n = 0; a.$field_868_o = null; } var nms_WorldGenBigTree_field_882_a = null; function nms_WorldGenBigTree__init_0() { var var_0 = new nms_WorldGenBigTree(); nms_WorldGenBigTree__init_(var_0); return var_0; } function nms_WorldGenBigTree__init_($this) { $this.$field_881_b = new ju_Random; $this.$field_879_d = $rt_createIntArrayFromData([0, 0, 0]); $this.$field_878_e = 0; $this.$field_876_g = 0.618; $this.$field_875_h = 1.0; $this.$field_874_i = 0.381; $this.$field_873_j = 1.0; $this.$field_872_k = 1.0; $this.$field_871_l = 1; $this.$field_870_m = 12; $this.$field_869_n = 4; } function nms_WorldGenBigTree_func_521_a($this) { var $var1, $var20, var$3, $var2, var$5, $var19, $var3, $var4, $var5, $var6, var$11, $var7, $var8, $var9, var$15, $var11, $var13, $var15, $var16, $var17, var$21, $var18, var$23, $var22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var22 = $thread.pop();var$23 = $thread.pop();$var18 = $thread.pop();var$21 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();var$15 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$11 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var19 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var20 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$field_878_e; $var20 = $var1; var$3 = $var20 * $this.$field_876_g | 0; $this.$field_877_f = var$3; if (var$3 >= $var1) $this.$field_877_f = $var1 - 1 | 0; $var1 = 1.382 + jl_Math_pow($this.$field_872_k * $var20 / 13.0, 2.0) | 0; if ($var1 < 1) $var1 = 1; var$3 = $this.$field_878_e; $var2 = $rt_createIntMultiArray([4, $rt_imul($var1, var$3)]); var$5 = $var2.data; $var19 = $this.$field_879_d.data; $var3 = ($var19[1] + var$3 | 0) - $this.$field_869_n | 0; $var4 = 1; $var5 = $var19[1] + $this.$field_877_f | 0; $var6 = $var3 - $var19[1] | 0; var$5[0].data[0] = $var19[0]; var$5[0].data[1] = $var3; var$5[0].data[2] = $var19[2]; var$5[0].data[3] = $var5; $var3 = $var3 + (-1) | 0; var$11 = $var5; while ($var6 >= 0) { $var7 = 0; $var8 = nms_WorldGenBigTree_func_528_a($this, $var6); if ($var8 < 0.0) { $var3 = $var3 + (-1) | 0; $var6 = $var6 + (-1) | 0; } else { $var9 = 0.5; var$15 = $var8; if ($var7 < $var1) { $var11 = $this.$field_873_j * var$15 * (ju_Random_nextFloat($this.$field_881_b) + 0.328); $var13 = ju_Random_nextFloat($this.$field_881_b) * 2.0 * 3.14159; $var15 = $var11 * jl_Math_sin($var13) + $this.$field_879_d.data[0] + $var9 | 0; $var16 = $var11 * jl_Math_cos($var13) + $this.$field_879_d.data[2] + $var9 | 0; $var17 = $rt_createIntArray(3); var$21 = $var17.data; var$21[0] = $var15; var$21[1] = $var3; var$21[2] = $var16; $var18 = $rt_createIntArrayFromData([$var15, $var3 + $this.$field_869_n | 0, $var16]); $ptr = 1; continue main; } $var3 = $var3 + (-1) | 0; $var6 = $var6 + (-1) | 0; } } var$5 = $rt_createIntMultiArray([4, $var4]); $this.$field_868_o = var$5; jl_System_fastArraycopy($var2, 0, var$5, 0, $var4); return; case 1: $tmp = nms_WorldGenBigTree_func_524_a($this, $var17, $var18); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3 == (-1)) { $var19 = $rt_createIntArray(3); var$23 = $var19.data; $var18 = $this.$field_879_d.data; var$23[0] = $var18[0]; var$23[1] = $var18[1]; var$23[2] = $var18[2]; $var22 = jl_Math_sqrt(jl_Math_pow(jl_Math_abs0($var18[0] - var$21[0] | 0), 2.0) + jl_Math_pow(jl_Math_abs0($this.$field_879_d.data[2] - var$21[2] | 0), 2.0)) * $this.$field_874_i; if (var$21[1] - $var22 > var$11) var$23[1] = $var5; else var$23[1] = var$21[1] - $var22 | 0; $ptr = 2; continue main; } $var7 = $var7 + 1 | 0; a: while (true) { if ($var7 < $var1) { $var11 = $this.$field_873_j * var$15 * (ju_Random_nextFloat($this.$field_881_b) + 0.328); $var13 = ju_Random_nextFloat($this.$field_881_b) * 2.0 * 3.14159; $var15 = $var11 * jl_Math_sin($var13) + $this.$field_879_d.data[0] + $var9 | 0; $var16 = $var11 * jl_Math_cos($var13) + $this.$field_879_d.data[2] + $var9 | 0; $var17 = $rt_createIntArray(3); var$21 = $var17.data; var$21[0] = $var15; var$21[1] = $var3; var$21[2] = $var16; $var18 = $rt_createIntArrayFromData([$var15, $var3 + $this.$field_869_n | 0, $var16]); continue main; } $var3 = $var3 + (-1) | 0; $var6 = $var6 + (-1) | 0; while (true) { if ($var6 < 0) break a; $var7 = 0; $var8 = nms_WorldGenBigTree_func_528_a($this, $var6); if ($var8 >= 0.0) break; $var3 = $var3 + (-1) | 0; $var6 = $var6 + (-1) | 0; } $var9 = 0.5; var$15 = $var8; } var$5 = $rt_createIntMultiArray([4, $var4]); $this.$field_868_o = var$5; jl_System_fastArraycopy($var2, 0, var$5, 0, $var4); return; case 2: $tmp = nms_WorldGenBigTree_func_524_a($this, $var19, $var17); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3 == (-1)) { var$5[$var4].data[0] = $var15; var$5[$var4].data[1] = $var3; var$5[$var4].data[2] = $var16; var$5[$var4].data[3] = var$23[1]; $var4 = $var4 + 1 | 0; } $var7 = $var7 + 1 | 0; b: while (true) { if ($var7 < $var1) { $var11 = $this.$field_873_j * var$15 * (ju_Random_nextFloat($this.$field_881_b) + 0.328); $var13 = ju_Random_nextFloat($this.$field_881_b) * 2.0 * 3.14159; $var15 = $var11 * jl_Math_sin($var13) + $this.$field_879_d.data[0] + $var9 | 0; $var16 = $var11 * jl_Math_cos($var13) + $this.$field_879_d.data[2] + $var9 | 0; $var17 = $rt_createIntArray(3); var$21 = $var17.data; var$21[0] = $var15; var$21[1] = $var3; var$21[2] = $var16; $var18 = $rt_createIntArrayFromData([$var15, $var3 + $this.$field_869_n | 0, $var16]); $ptr = 1; continue main; } $var3 = $var3 + (-1) | 0; $var6 = $var6 + (-1) | 0; while (true) { if ($var6 < 0) break b; $var7 = 0; $var8 = nms_WorldGenBigTree_func_528_a($this, $var6); if ($var8 >= 0.0) break; $var3 = $var3 + (-1) | 0; $var6 = $var6 + (-1) | 0; } $var9 = 0.5; var$15 = $var8; } var$5 = $rt_createIntMultiArray([4, $var4]); $this.$field_868_o = var$5; jl_System_fastArraycopy($var2, 0, var$5, 0, $var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var20, var$3, $var2, var$5, $var19, $var3, $var4, $var5, $var6, var$11, $var7, $var8, $var9, var$15, $var11, $var13, $var15, $var16, $var17, var$21, $var18, var$23, $var22, $ptr); } function nms_WorldGenBigTree_func_528_a($this, $var1) { var var$2, $var3, $var4; var$2 = $var1; $var3 = $this.$field_878_e; if (var$2 < $var3 * 0.3) return (-1.6180000305175781); $var4 = $var3 / 2.0; $var3 = $var4 - $var1; if ($var3 !== 0.0) $var4 = jl_Math_abs($var3) >= $var4 ? 0.0 : jl_Math_sqrt(jl_Math_pow(jl_Math_abs($var4), 2.0) - jl_Math_pow(jl_Math_abs($var3), 2.0)); return $var4 * 0.5; } function nms_WorldGenBigTree_func_522_a($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var14, var$8, $var7, $var8, $var9, $var10, $var12, $var15, $var16, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();$var14 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $rt_createIntArray(3).data; $var4[0] = 0; $var4[1] = 0; $var4[2] = 0; $var5 = 0; $var6 = 0; while ($var5 < 3) { $var14 = $var2.data; var$8 = $var1.data; $var4[$var5] = $var14[$var5] - var$8[$var5] | 0; if (jl_Math_abs0($var4[$var5]) > jl_Math_abs0($var4[$var6])) $var6 = $var5; $var5 = ($var5 + 1 | 0) << 24 >> 24; } if ($var4[$var6]) { $var2 = nms_WorldGenBigTree_field_882_a.data; $var7 = $var2[$var6]; $var8 = $var2[$var6 + 3 | 0]; $var9 = $var4[$var6] <= 0 ? (-1) : 1; $var10 = $var4[$var7] / $var4[$var6]; $var12 = $var4[$var8] / $var4[$var6]; $var14 = $rt_createIntArray(3).data; $var14[0] = 0; $var14[1] = 0; $var14[2] = 0; $var15 = 0; $var16 = $var4[$var6] + $var9 | 0; if ($var15 != $var16) { $var2 = $var1.data; $var14[$var6] = nms_MathHelper_floor_double(($var2[$var6] + $var15 | 0) + 0.5); var$16 = $var2[$var7]; var$17 = $var15; $var14[$var7] = nms_MathHelper_floor_double(var$16 + var$17 * $var10 + 0.5); $var14[$var8] = nms_MathHelper_floor_double($var2[$var8] + var$17 * $var12 + 0.5); var$18 = $this.$worldObj11; $var5 = $var14[0]; var$19 = $var14[1]; var$20 = $var14[2]; $ptr = 1; continue main; } } return; case 1: nms_World_setBlock(var$18, $var5, var$19, var$20, $var3); if ($rt_suspending()) { break main; } $var15 = $var15 + $var9 | 0; if ($var15 == $var16) return; $var2 = $var1.data; $var14[$var6] = nms_MathHelper_floor_double(($var2[$var6] + $var15 | 0) + 0.5); var$16 = $var2[$var7]; var$17 = $var15; $var14[$var7] = nms_MathHelper_floor_double(var$16 + var$17 * $var10 + 0.5); $var14[$var8] = nms_MathHelper_floor_double($var2[$var8] + var$17 * $var12 + 0.5); var$18 = $this.$worldObj11; $var5 = $var14[0]; var$19 = $var14[1]; var$20 = $var14[2]; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var14, var$8, $var7, $var8, $var9, $var10, $var12, $var15, $var16, var$16, var$17, var$18, var$19, var$20, $ptr); } function nms_WorldGenBigTree_func_529_c($this) { var $var5, $var1, $var2, $var3, $var4, var$6, $var6, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var5 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$field_879_d.data; $var1 = $var5[0]; $var2 = $var5[1]; $var3 = $var5[1] + $this.$field_877_f | 0; $var4 = $var5[2]; $var5 = $rt_createIntArray(3); var$6 = $var5.data; var$6[0] = $var1; var$6[1] = $var2; var$6[2] = $var4; $var6 = $rt_createIntArray(3); var$8 = $var6.data; var$8[0] = $var1; var$8[1] = $var3; var$8[2] = $var4; var$9 = 17; $ptr = 1; case 1: nms_WorldGenBigTree_func_522_a($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } if ($this.$field_871_l != 2) return; var$6[0] = var$6[0] + 1 | 0; var$8[0] = var$8[0] + 1 | 0; var$9 = 17; $ptr = 2; case 2: nms_WorldGenBigTree_func_522_a($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } var$6[2] = var$6[2] + 1 | 0; var$8[2] = var$8[2] + 1 | 0; var$9 = 17; $ptr = 3; case 3: nms_WorldGenBigTree_func_522_a($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } var$6[0] = var$6[0] + (-1) | 0; var$8[0] = var$8[0] + (-1) | 0; var$9 = 17; $ptr = 4; case 4: nms_WorldGenBigTree_func_522_a($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var5, $var1, $var2, $var3, $var4, var$6, $var6, var$8, var$9, $ptr); } function nms_WorldGenBigTree_func_525_d($this) { var $var1, $var2, $var3, var$4, $var5, $var4, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; $var2 = $this.$field_868_o.data.length; $var3 = $rt_createIntArray(3); var$4 = $var3.data; $var5 = $this.$field_879_d.data; var$4[0] = $var5[0]; var$4[1] = $var5[1]; var$4[2] = $var5[2]; while ($var1 < $var2) { $var4 = $this.$field_868_o.data[$var1].data; $var5 = $rt_createIntArrayFromData([$var4[0], $var4[1], $var4[2]]); var$4[1] = $var4[3]; if ((var$4[1] - $this.$field_879_d.data[1] | 0) < $this.$field_878_e * 0.2 ? 0 : 1) { $var6 = 17; $ptr = 1; continue main; } $var1 = $var1 + 1 | 0; } return; case 1: nms_WorldGenBigTree_func_522_a($this, $var3, $var5, $var6); if ($rt_suspending()) { break main; } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= $var2) break; $var4 = $this.$field_868_o.data[$var1].data; $var5 = $rt_createIntArrayFromData([$var4[0], $var4[1], $var4[2]]); var$4[1] = $var4[3]; if (!((var$4[1] - $this.$field_879_d.data[1] | 0) < $this.$field_878_e * 0.2 ? 0 : 1)) continue; else { $var6 = 17; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var5, $var4, $var6, $ptr); } function nms_WorldGenBigTree_func_524_a($this, $var1, $var2) { var var$3, $var4, $var5, $var3, $var13, $var6, $var7, $var8, $var9, $var11, $var14, $var15, var$15, var$16, var$17, var$18, var$19, $var16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var16 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var13 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $rt_createIntArray(3).data; var$3[0] = 0; var$3[1] = 0; var$3[2] = 0; $var4 = 0; $var5 = 0; while ($var4 < 3) { $var3 = $var2.data; $var13 = $var1.data; var$3[$var4] = $var3[$var4] - $var13[$var4] | 0; if (jl_Math_abs0(var$3[$var4]) > jl_Math_abs0(var$3[$var5])) $var5 = $var4; $var4 = ($var4 + 1 | 0) << 24 >> 24; } if (!var$3[$var5]) return (-1); $var2 = nms_WorldGenBigTree_field_882_a.data; $var6 = $var2[$var5]; $var7 = $var2[$var5 + 3 | 0]; $var8 = var$3[$var5] <= 0 ? (-1) : 1; $var9 = var$3[$var6] / var$3[$var5]; $var11 = var$3[$var7] / var$3[$var5]; $var2 = $rt_createIntArray(3).data; $var2[0] = 0; $var2[1] = 0; $var2[2] = 0; $var14 = 0; $var15 = var$3[$var5] + $var8 | 0; var$15 = $rt_compare($var14, $var15); if (!var$15) return var$15 ? jl_Math_abs0($var14) : (-1); $var3 = $var1.data; $var2[$var5] = $var3[$var5] + $var14 | 0; var$16 = $var3[$var6]; var$17 = $var14; $var2[$var6] = var$16 + var$17 * $var9 | 0; $var2[$var7] = $var3[$var7] + var$17 * $var11 | 0; var$18 = $this.$worldObj11; var$19 = $var2[0]; $var4 = $var2[1]; $var16 = $var2[2]; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$18, var$19, $var4, $var16); if ($rt_suspending()) { break main; } $var16 = $tmp; if (!($var16 && $var16 != 18)) { $var14 = $var14 + $var8 | 0; var$15 = $rt_compare($var14, $var15); if (var$15) { $var3 = $var1.data; $var2[$var5] = $var3[$var5] + $var14 | 0; var$16 = $var3[$var6]; var$17 = $var14; $var2[$var6] = var$16 + var$17 * $var9 | 0; $var2[$var7] = $var3[$var7] + var$17 * $var11 | 0; var$18 = $this.$worldObj11; var$19 = $var2[0]; $var4 = $var2[1]; $var16 = $var2[2]; continue main; } } return var$15 ? jl_Math_abs0($var14) : (-1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var4, $var5, $var3, $var13, $var6, $var7, $var8, $var9, $var11, $var14, $var15, var$15, var$16, var$17, var$18, var$19, $var16, $ptr); } function nms_WorldGenBigTree_func_517_a($this, $var1, $var3, $var5) { $this.$field_870_m = $var1 * 12.0 | 0; if ($var1 > 0.5) $this.$field_869_n = 5; $this.$field_873_j = $var3; $this.$field_872_k = $var5; } function nms_WorldGenBigTree_generate($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $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: $this.$worldObj11 = $var1; ju_Random_nextLong($var2); var$6 = $this.$field_879_d.data; var$6[0] = $var3; var$6[1] = $var4; var$6[2] = $var5; if (!$this.$field_878_e) $this.$field_878_e = 5 + ju_Random_nextInt($this.$field_881_b, $this.$field_870_m) | 0; var$6 = $rt_createIntArray(3); var$7 = var$6.data; var$8 = $this.$field_879_d.data; var$7[0] = var$8[0]; var$7[1] = var$8[1]; var$7[2] = var$8[2]; var$7 = $rt_createIntArrayFromData([var$8[0], (var$8[1] + $this.$field_878_e | 0) - 1 | 0, var$8[2]]); $var1 = $this.$worldObj11; $var3 = var$8[0]; $var4 = var$8[1] - 1 | 0; $var5 = var$8[2]; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 != 2 && $var3 != 3) { if (!0) return 0; $ptr = 3; continue main; } $ptr = 2; case 2: $tmp = nms_WorldGenBigTree_func_524_a($this, var$6, var$7); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 == (-1)) $var3 = 1; else if ($var3 < 6) $var3 = 0; else { $this.$field_878_e = $var3; $var3 = 1; } if (!$var3) return 0; $ptr = 3; case 3: nms_WorldGenBigTree_func_521_a($this); if ($rt_suspending()) { break main; } $var3 = 0; $var4 = $this.$field_868_o.data.length; var$9 = 4; while ($var3 < $var4) { var$6 = $this.$field_868_o.data; var$10 = var$6[$var3].data[0]; var$11 = var$6[$var3].data[1]; var$12 = var$6[$var3].data[2]; var$13 = var$11 + $this.$field_869_n | 0; var$14 = var$11; while (var$14 < var$13) { a: { $var5 = var$14 - var$11 | 0; if ($var5 >= 0) { var$15 = $this.$field_869_n; if ($var5 < var$15) { if ($var5 && $var5 != (var$15 - 1 | 0)) { var$16 = 3.0; break a; } var$16 = 2.0; break a; } } var$16 = (-1.0); } var$17 = 18; var$18 = var$16; var$19 = var$18 + 0.618 | 0; var$6 = nms_WorldGenBigTree_field_882_a.data; var$20 = var$6[1]; var$21 = var$6[var$9]; var$6 = $rt_createIntArray(3).data; var$6[0] = var$10; var$6[1] = var$14; var$6[2] = var$12; var$8 = $rt_createIntArray(3).data; var$8[0] = 0; var$8[1] = 0; var$8[2] = 0; var$22 = -var$19 | 0; var$8[1] = var$6[1]; var$23 = var$22; while (var$23 <= var$19) { var$8[var$20] = var$6[var$20] + var$23 | 0; var$24 = var$22; while (var$24 <= var$19) { if (jl_Math_sqrt(jl_Math_pow(jl_Math_abs0(var$23) + 0.5, 2.0) + jl_Math_pow(jl_Math_abs0(var$24) + 0.5, 2.0)) <= var$18) { var$8[var$21] = var$6[var$21] + var$24 | 0; $var1 = $this.$worldObj11; $var5 = var$8[0]; var$25 = var$8[1]; var$15 = var$8[2]; $ptr = 6; continue main; } var$24 = var$24 + 1 | 0; } var$23 = var$23 + 1 | 0; } var$14 = var$14 + 1 | 0; } $var3 = $var3 + 1 | 0; } $ptr = 4; case 4: nms_WorldGenBigTree_func_529_c($this); if ($rt_suspending()) { break main; } $ptr = 5; case 5: nms_WorldGenBigTree_func_525_d($this); if ($rt_suspending()) { break main; } return 1; case 6: $tmp = nms_World_getBlockId($var1, $var5, var$25, var$15); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 && $var5 != 18) { var$24 = var$24 + 1 | 0; a: while (true) { while (var$24 > var$19) { var$23 = var$23 + 1 | 0; while (var$23 > var$19) { var$14 = var$14 + 1 | 0; while (var$14 >= var$13) { $var3 = $var3 + 1 | 0; if ($var3 >= $var4) break a; var$6 = $this.$field_868_o.data; var$10 = var$6[$var3].data[0]; var$11 = var$6[$var3].data[1]; var$12 = var$6[$var3].data[2]; var$13 = var$11 + $this.$field_869_n | 0; var$14 = var$11; } b: { $var5 = var$14 - var$11 | 0; if ($var5 >= 0) { var$15 = $this.$field_869_n; if ($var5 < var$15) { if ($var5 && $var5 != (var$15 - 1 | 0)) { var$16 = 3.0; break b; } var$16 = 2.0; break b; } } var$16 = (-1.0); } var$17 = 18; var$18 = var$16; var$19 = var$18 + 0.618 | 0; var$6 = nms_WorldGenBigTree_field_882_a.data; var$20 = var$6[1]; var$21 = var$6[var$9]; var$6 = $rt_createIntArray(3).data; var$6[0] = var$10; var$6[1] = var$14; var$6[2] = var$12; var$8 = $rt_createIntArray(3).data; var$8[0] = 0; var$8[1] = 0; var$8[2] = 0; var$22 = -var$19 | 0; var$8[1] = var$6[1]; var$23 = var$22; } var$8[var$20] = var$6[var$20] + var$23 | 0; var$24 = var$22; } if (jl_Math_sqrt(jl_Math_pow(jl_Math_abs0(var$23) + 0.5, 2.0) + jl_Math_pow(jl_Math_abs0(var$24) + 0.5, 2.0)) <= var$18) { var$8[var$21] = var$6[var$21] + var$24 | 0; $var1 = $this.$worldObj11; $var5 = var$8[0]; var$25 = var$8[1]; var$15 = var$8[2]; continue main; } var$24 = var$24 + 1 | 0; } $ptr = 4; continue main; } $var1 = $this.$worldObj11; $var5 = var$8[0]; var$25 = var$8[1]; var$15 = var$8[2]; $ptr = 7; case 7: nms_World_setBlock($var1, $var5, var$25, var$15, var$17); if ($rt_suspending()) { break main; } var$24 = var$24 + 1 | 0; c: while (true) { while (var$24 > var$19) { var$23 = var$23 + 1 | 0; while (var$23 > var$19) { var$14 = var$14 + 1 | 0; while (var$14 >= var$13) { $var3 = $var3 + 1 | 0; if ($var3 >= $var4) break c; var$6 = $this.$field_868_o.data; var$10 = var$6[$var3].data[0]; var$11 = var$6[$var3].data[1]; var$12 = var$6[$var3].data[2]; var$13 = var$11 + $this.$field_869_n | 0; var$14 = var$11; } d: { $var5 = var$14 - var$11 | 0; if ($var5 >= 0) { var$15 = $this.$field_869_n; if ($var5 < var$15) { if ($var5 && $var5 != (var$15 - 1 | 0)) { var$16 = 3.0; break d; } var$16 = 2.0; break d; } } var$16 = (-1.0); } var$17 = 18; var$18 = var$16; var$19 = var$18 + 0.618 | 0; var$6 = nms_WorldGenBigTree_field_882_a.data; var$20 = var$6[1]; var$21 = var$6[var$9]; var$6 = $rt_createIntArray(3).data; var$6[0] = var$10; var$6[1] = var$14; var$6[2] = var$12; var$8 = $rt_createIntArray(3).data; var$8[0] = 0; var$8[1] = 0; var$8[2] = 0; var$22 = -var$19 | 0; var$8[1] = var$6[1]; var$23 = var$22; } var$8[var$20] = var$6[var$20] + var$23 | 0; var$24 = var$22; } if (jl_Math_sqrt(jl_Math_pow(jl_Math_abs0(var$23) + 0.5, 2.0) + jl_Math_pow(jl_Math_abs0(var$24) + 0.5, 2.0)) <= var$18) { var$8[var$21] = var$6[var$21] + var$24 | 0; $var1 = $this.$worldObj11; $var5 = var$8[0]; var$25 = var$8[1]; var$15 = var$8[2]; $ptr = 6; continue main; } var$24 = var$24 + 1 | 0; } $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ptr); } function nms_WorldGenBigTree__clinit_() { nms_WorldGenBigTree_field_882_a = $rt_createByteArrayFromData([2, 0, 0, 1, 2, 1]); } function nms_RedstoneUpdateInfo() { var a = this; jl_Object.call(a); a.$x1 = 0; a.$y1 = 0; a.$z4 = 0; a.$updateTime = Long_ZERO; } var nms_IChunkLoader = $rt_classWithoutFields(0); function nms_ChunkLoader() { var a = this; jl_Object.call(a); a.$saveDir = null; a.$createIfNecessary = 0; } function nms_ChunkLoader__init_(var_0, var_1) { var var_2 = new nms_ChunkLoader(); nms_ChunkLoader__init_0(var_2, var_0, var_1); return var_2; } function nms_ChunkLoader__init_0($this, $var1, $var2) { $this.$saveDir = $var1; $this.$createIfNecessary = $var2; } function nms_ChunkLoader_chunkFileForXZ($this, $var1, $var2) { var var$3, $var4, var$5, var$6; var$3 = jl_Integer_toString($var1, 36); $var4 = jl_Integer_toString($var2, 36); var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); var$3 = jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(1008)), var$3); jl_AbstractStringBuilder_append(var$3, 46); jl_StringBuilder_append(jl_StringBuilder_append(var$3, $var4), $rt_s(1009)); var$3 = jl_AbstractStringBuilder_toString(var$5); $var4 = jl_Integer_toString($var1 & 63, 36); jl_Integer_toString($var2 & 63, 36); var$6 = $this.$saveDir; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); var$6 = jl_StringBuilder_append(var$5, var$6); jl_AbstractStringBuilder_append(var$6, 47); $var4 = jl_StringBuilder_append(var$6, $var4); jl_AbstractStringBuilder_append($var4, 47); jl_StringBuilder_append($var4, var$3); return jl_AbstractStringBuilder_toString(var$5); } function nms_ChunkLoader_loadChunk($this, $var1, $var2, $var3) { var $var4, $data, $var8, $var6, $var7, $var5, var$10, var$11, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();$data = $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 = nms_ChunkLoader_chunkFileForXZ($this, $var2, $var3); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_readFile($var4); if ($rt_suspending()) { break main; } $data = $tmp; if ($data !== null) { try { $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); } return null; case 2: a: { b: { try { $tmp = nlea_EaglerAdapterImpl2_readFile($var4); if ($rt_suspending()) { break main; } $data = $tmp; $var6 = nms_NBTBase_readTag(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($data))); if (nms_NBTTagCompound_hasKey($var6, $rt_s(1010))) break b; $var1 = jl_System_out(); $var7 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append5(jl_StringBuilder_append1(jl_StringBuilder_append($var7, $rt_s(1011)), $var2), 44), $var3), $rt_s(1012)); ji_PrintStream_println($var1, jl_StringBuilder_toString($var7)); $var1 = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; break a; } else { throw $$e; } } return $var1; } c: { try { if (nms_NBTTagCompound_hasKey(nms_NBTTagCompound_getCompoundTag($var6, $rt_s(1010)), $rt_s(1013))) break c; $var1 = jl_System_out(); $var7 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append5(jl_StringBuilder_append1(jl_StringBuilder_append($var7, $rt_s(1011)), $var2), 44), $var3), $rt_s(1014)); ji_PrintStream_println($var1, jl_StringBuilder_toString($var7)); $var1 = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; break a; } else { throw $$e; } } return $var1; } try { $var7 = nms_NBTTagCompound_getCompoundTag($var6, $rt_s(1010)); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } } jl_Throwable_printStackTrace0($var8); return null; case 3: a: { b: { try { $tmp = nms_ChunkLoader_loadChunkIntoWorldFromCompound($var1, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; if (!nms_Chunk_isAtLocation($var7, $var2, $var3)) break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; break a; } else { throw $$e; } } return $var7; } try { $var5 = jl_System_out(); var$10 = $var7.$xPosition; var$11 = $var7.$zPosition; $var8 = jl_StringBuilder__init_0(); jl_StringBuilder_append5(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append5(jl_StringBuilder_append1(jl_StringBuilder_append($var8, $rt_s(1011)), $var2), 44), $var3), $rt_s(1015)), $var2), $rt_s(325)), $var3), $rt_s(1016)), var$10), $rt_s(325)), var$11), 41); ji_PrintStream_println($var5, jl_StringBuilder_toString($var8)); nms_NBTTagCompound_setInteger($var6, $rt_s(1017), $var2); nms_NBTTagCompound_setInteger($var6, $rt_s(1018), $var3); $var7 = nms_NBTTagCompound_getCompoundTag($var6, $rt_s(1010)); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } } jl_Throwable_printStackTrace0($var8); return null; case 4: a: { try { $tmp = nms_ChunkLoader_loadChunkIntoWorldFromCompound($var1, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; break a; } else { throw $$e; } } return $var7; } jl_Throwable_printStackTrace0($var8); return null; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $data, $var8, $var6, $var7, $var5, var$10, var$11, $ptr); } function nms_ChunkLoader_saveChunk($this, $var1, $var2) { var $var3, var$4, var$5, $var7, $var6, $var4, $var5, $var8, var$11, $dos, $e, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$e = $thread.pop();$dos = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var6 = $thread.pop();$var7 = $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: $ptr = 1; case 1: nms_World_func_663_l($var1); if ($rt_suspending()) { break main; } $var3 = nms_ChunkLoader_chunkFileForXZ($this, $var2.$xPosition, $var2.$zPosition); $ptr = 2; case 2: $tmp = nlea_EaglerAdapterImpl2_readFile($var3); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4 !== null) { var$5 = $var1.$sizeOnDisk; $ptr = 3; continue main; } try { $var7 = $this.$saveDir; $var6 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var6, $var7), $rt_s(1019)); $var4 = jl_StringBuilder_toString($var6); $var5 = ji_ByteArrayOutputStream__init_0(); $var6 = nms_NBTTagCompound__init_0(); $var7 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setTag($var6, $rt_s(1010), $var7); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); return; case 3: $tmp = nlea_EaglerAdapterImpl2_getFileSize($var3); if ($rt_suspending()) { break main; } var$11 = $tmp; $var1.$sizeOnDisk = Long_sub(var$5, Long_fromInt(var$11)); try { $var7 = $this.$saveDir; $var6 = jl_StringBuilder__init_0(); jl_StringBuilder_append(jl_StringBuilder_append($var6, $var7), $rt_s(1019)); $var4 = jl_StringBuilder_toString($var6); $var5 = ji_ByteArrayOutputStream__init_0(); $var6 = nms_NBTTagCompound__init_0(); $var7 = nms_NBTTagCompound__init_0(); nms_NBTTagCompound_setTag($var6, $rt_s(1010), $var7); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); return; case 4: try { nms_ChunkLoader_storeChunkInCompound($this, $var2, $var1, $var7); if ($rt_suspending()) { break main; } try { $dos = ji_DataOutputStream__init_(ji_BufferedOutputStream__init_($var5)); try { nms_NBTBase_writeTag($var6, $dos); ji_DataOutputStream_flush($dos); ji_OutputStream_flush($var5); var$4 = ji_ByteArrayOutputStream_toByteArray($var5); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var2 = $$je; } else { throw $$e; } } a: { try { ji_FilterOutputStream_close($dos); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var6 = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($var2, $var6); } $rt_throw($var2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); return; case 5: try { b: { try { c: { try { nlea_EaglerAdapterImpl2_writeFile($var4, var$4); if ($rt_suspending()) { break main; } ji_OutputStream_close($var5); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var2 = $$je; break c; } else { throw $$e; } } ji_FilterOutputStream_close($dos); break b; } d: { try { ji_FilterOutputStream_close($dos); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $var6 = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($var2, $var6); } $rt_throw($var2); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); } $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); return; case 6: try { $tmp = nlea_EaglerAdapterImpl2_readFile($var3); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4 === null) { $ptr = 7; continue main; } $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); return; case 7: try { nlea_EaglerAdapterImpl2_renameFile($var4, $var3); if ($rt_suspending()) { break main; } var$5 = $var1.$sizeOnDisk; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); return; case 8: e: { try { $tmp = nlea_EaglerAdapterImpl2_getFileSize($var3); if ($rt_suspending()) { break main; } var$11 = $tmp; $var1.$sizeOnDisk = Long_add(var$5, Long_fromInt(var$11)); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); } return; case 9: try { nlea_EaglerAdapterImpl2_deleteFile($var3); if ($rt_suspending()) { break main; } $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, $var7, $var6, $var4, $var5, $var8, var$11, $dos, $e, $ptr); } function nms_ChunkLoader_storeChunkInCompound($this, $var1, $var2, $var3) { var $var4, $var5, var$6, $var6, $var7, $var8, $var9, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $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: $ptr = 1; case 1: nms_World_func_663_l($var2); if ($rt_suspending()) { break main; } nms_NBTTagCompound_setInteger($var3, $rt_s(1017), $var1.$xPosition); nms_NBTTagCompound_setInteger($var3, $rt_s(1018), $var1.$zPosition); nms_NBTTagCompound_setLong($var3, $rt_s(1020), $var2.$worldTime); nms_NBTTagCompound_setByteArray($var3, $rt_s(1013), $var1.$blocks0); nms_NBTTagCompound_setByteArray($var3, $rt_s(434), $var1.$data1.$data3); nms_NBTTagCompound_setByteArray($var3, $rt_s(1021), $var1.$skylightMap.$data3); nms_NBTTagCompound_setByteArray($var3, $rt_s(1022), $var1.$blocklightMap.$data3); nms_NBTTagCompound_setByteArray($var3, $rt_s(1023), $var1.$heightMap); nms_NBTTagCompound_setBoolean($var3, $rt_s(1024), $var1.$isTerrainPopulated); $var1.$hasEntities = 0; $var4 = nms_NBTTagList__init_0(); $var5 = 0; while (true) { var$6 = $var1.$entities.data; if ($var5 >= var$6.length) break; $var6 = ju_AbstractList_iterator(var$6[$var5]); while (ju_AbstractList$1_hasNext($var6)) { $var7 = ju_AbstractList$1_next($var6); if (!($var7 instanceof nms_EntityPlayer) && !($var7 instanceof nms_EntityPlayerSP)) { $var1.$hasEntities = 1; $var8 = nms_NBTTagCompound__init_0(); if (nms_Entity_func_358_c($var7, $var8)) nms_NBTTagList_setTag($var4, $var8); } } $var5 = $var5 + 1 | 0; } nms_NBTTagCompound_setTag($var3, $rt_s(1025), $var4); $var9 = nms_NBTTagList__init_0(); $var6 = ju_HashMap$2_iterator(ju_HashMap_values($var1.$chunkTileEntityMap)); while (ju_HashMap$AbstractMapIterator_hasNext($var6)) { $var10 = ju_HashMap$ValueIterator_next($var6); $var8 = nms_NBTTagCompound__init_0(); $var10.$writeToNBT($var8); nms_NBTTagList_setTag($var9, $var8); } nms_NBTTagCompound_setTag($var3, $rt_s(1026), $var9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, $var8, $var9, $var10, $ptr); } function nms_ChunkLoader_loadChunkIntoWorldFromCompound($var0, $var1) { var $var4, $var5, $var6, $var7, $var8, $var10, $var8_0, $var11, $var12, $var9, $var9_0, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9_0 = $thread.pop();$var9 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var8_0 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var1 = $thread.pop();$var0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = nms_Chunk__init_0($var0, nms_NBTTagCompound_getInteger($var1, $rt_s(1017)), nms_NBTTagCompound_getInteger($var1, $rt_s(1018))); $var4.$blocks0 = nms_NBTTagCompound_getByteArray($var1, $rt_s(1013)); $var4.$data1 = nms_NibbleArray__init_1(nms_NBTTagCompound_getByteArray($var1, $rt_s(434))); $var4.$skylightMap = nms_NibbleArray__init_1(nms_NBTTagCompound_getByteArray($var1, $rt_s(1021))); $var4.$blocklightMap = nms_NibbleArray__init_1(nms_NBTTagCompound_getByteArray($var1, $rt_s(1022))); $var4.$heightMap = nms_NBTTagCompound_getByteArray($var1, $rt_s(1023)); $var4.$isTerrainPopulated = nms_NBTTagCompound_getBoolean($var1, $rt_s(1024)); if (!nms_NibbleArray_isValid($var4.$data1)) $var4.$data1 = nms_NibbleArray__init_0($var4.$blocks0.data.length); if ($var4.$heightMap !== null && nms_NibbleArray_isValid($var4.$skylightMap)) { if (!nms_NibbleArray_isValid($var4.$blocklightMap)) $var4.$blocklightMap = nms_NibbleArray__init_0($var4.$blocks0.data.length); a: { $var5 = nms_NBTTagCompound_getTagList($var1, $rt_s(1025)); if ($var5 !== null) { $var6 = 0; while (true) { if ($var6 >= nms_NBTTagList_tagCount($var5)) break a; $var7 = nms_NBTTagList_tagAt($var5, $var6); nms_EntityList_$callClinit(); $var0 = null; b: { try { $var8 = $var0; $var10 = ju_HashMap_get(nms_EntityList_stringToClassMapping, nms_NBTTagCompound_getString($var7, $rt_s(308))); $var8_0 = nms_EntityList_getEntity($var10); if ($var10 === null) $var8_0 = $var0; else { $var8 = $var0; if ($var8_0 === null) $var8_0 = $var0; else { $var8 = $var0; if ($var8_0 instanceof nms_EntityPlayer) $var8_0 = $var0; else { $var8 = $var0; if ($var8_0 instanceof nms_EntityPlayerSP) $var8_0 = $var0; else { $var8 = $var8_0; $var8 = $var0; } } } } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var0 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var0); $var8_0 = $var8; } if ($var8_0 !== null) nms_Entity_readFromNBT($var8_0, $var7); else { $var0 = jl_System_out(); $var7 = nms_NBTTagCompound_getString($var7, $rt_s(308)); $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10); jl_StringBuilder_append(jl_StringBuilder_append($var10, $rt_s(1027)), $var7); ji_PrintStream_println($var0, jl_AbstractStringBuilder_toString($var10)); } $var4.$hasEntities = 1; if ($var8_0 !== null && !($var8_0 instanceof nms_EntityPlayer) && !($var8_0 instanceof nms_EntityPlayerSP)) nms_Chunk_addEntity($var4, $var8_0); $var6 = $var6 + 1 | 0; } } } c: { $var10 = nms_NBTTagCompound_getTagList($var1, $rt_s(1026)); if ($var10 !== null) { $var11 = 0; while (true) { if ($var11 >= nms_NBTTagList_tagCount($var10)) break c; $var12 = nms_NBTTagList_tagAt($var10, $var11); nms_TileEntity_$callClinit(); $var9 = null; d: { try { $var9_0 = $var9; $var0 = ju_HashMap_get(nms_TileEntity_nameToClassMap, nms_NBTTagCompound_getString($var12, $rt_s(308))); if ($var0 !== null) { $var9_0 = $var9; $var9 = nms_TileEntity_getTileEntity($var0); $var9_0 = $var9; } break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var0 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var0); $var9 = $var9_0; } if ($var9 !== null) $var9.$readFromNBT($var12); else { $var0 = jl_System_out(); $var1 = nms_NBTTagCompound_getString($var12, $rt_s(308)); $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5); jl_StringBuilder_append(jl_StringBuilder_append($var5, $rt_s(1028)), $var1); ji_PrintStream_println($var0, jl_AbstractStringBuilder_toString($var5)); } if ($var9 !== null) nms_Chunk_setChunkBlockTileEntity($var4, $var9.$xCoord0 - ($var4.$xPosition * 16 | 0) | 0, $var9.$yCoord0, $var9.$zCoord0 - ($var4.$zPosition * 16 | 0) | 0, $var9); $var11 = $var11 + 1 | 0; } } } return $var4; } $var4.$heightMap = $rt_createByteArray(256); $var4.$skylightMap = nms_NibbleArray__init_0($var4.$blocks0.data.length); $ptr = 1; case 1: nms_Chunk_func_1024_c($var4); if ($rt_suspending()) { break main; } if (!nms_NibbleArray_isValid($var4.$blocklightMap)) $var4.$blocklightMap = nms_NibbleArray__init_0($var4.$blocks0.data.length); e: { $var5 = nms_NBTTagCompound_getTagList($var1, $rt_s(1025)); if ($var5 !== null) { $var6 = 0; while (true) { if ($var6 >= nms_NBTTagList_tagCount($var5)) break e; $var7 = nms_NBTTagList_tagAt($var5, $var6); nms_EntityList_$callClinit(); $var0 = null; a: { try { $var8 = $var0; $var10 = ju_HashMap_get(nms_EntityList_stringToClassMapping, nms_NBTTagCompound_getString($var7, $rt_s(308))); $var8_0 = nms_EntityList_getEntity($var10); if ($var10 === null) $var8_0 = $var0; else { $var8 = $var0; if ($var8_0 === null) $var8_0 = $var0; else { $var8 = $var0; if ($var8_0 instanceof nms_EntityPlayer) $var8_0 = $var0; else { $var8 = $var0; if ($var8_0 instanceof nms_EntityPlayerSP) $var8_0 = $var0; else { $var8 = $var8_0; $var8 = $var0; } } } } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var0 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var0); $var8_0 = $var8; } if ($var8_0 !== null) nms_Entity_readFromNBT($var8_0, $var7); else { $var0 = jl_System_out(); $var7 = nms_NBTTagCompound_getString($var7, $rt_s(308)); $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10); jl_StringBuilder_append(jl_StringBuilder_append($var10, $rt_s(1027)), $var7); ji_PrintStream_println($var0, jl_AbstractStringBuilder_toString($var10)); } $var4.$hasEntities = 1; if ($var8_0 !== null && !($var8_0 instanceof nms_EntityPlayer) && !($var8_0 instanceof nms_EntityPlayerSP)) nms_Chunk_addEntity($var4, $var8_0); $var6 = $var6 + 1 | 0; } } } f: { $var10 = nms_NBTTagCompound_getTagList($var1, $rt_s(1026)); if ($var10 !== null) { $var11 = 0; while (true) { if ($var11 >= nms_NBTTagList_tagCount($var10)) break f; $var12 = nms_NBTTagList_tagAt($var10, $var11); nms_TileEntity_$callClinit(); $var9 = null; c: { try { $var9_0 = $var9; $var0 = ju_HashMap_get(nms_TileEntity_nameToClassMap, nms_NBTTagCompound_getString($var12, $rt_s(308))); if ($var0 !== null) { $var9_0 = $var9; $var9 = nms_TileEntity_getTileEntity($var0); $var9_0 = $var9; } break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var0 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var0); $var9 = $var9_0; } if ($var9 !== null) $var9.$readFromNBT($var12); else { $var0 = jl_System_out(); $var1 = nms_NBTTagCompound_getString($var12, $rt_s(308)); $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5); jl_StringBuilder_append(jl_StringBuilder_append($var5, $rt_s(1028)), $var1); ji_PrintStream_println($var0, jl_AbstractStringBuilder_toString($var5)); } if ($var9 !== null) nms_Chunk_setChunkBlockTileEntity($var4, $var9.$xCoord0 - ($var4.$xPosition * 16 | 0) | 0, $var9.$yCoord0, $var9.$zCoord0 - ($var4.$zPosition * 16 | 0) | 0, $var9); $var11 = $var11 + 1 | 0; } } } return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($var0, $var1, $var4, $var5, $var6, $var7, $var8, $var10, $var8_0, $var11, $var12, $var9, $var9_0, $ptr); } function nms_ChunkLoader_saveExtraChunkData($this, $var1, $var2) {} function nms_ChunkProviderGenerate() { var a = this; jl_Object.call(a); a.$rand4 = null; a.$field_912_k = null; a.$field_911_l = null; a.$field_910_m = null; a.$field_909_n = null; a.$field_908_o = null; a.$field_922_a = null; a.$field_921_b = null; a.$field_920_c = null; a.$worldObj9 = null; a.$field_4180_q = null; a.$field_905_r = null; a.$field_904_s = null; a.$field_903_t = null; a.$field_902_u = null; a.$biomesForGeneration = null; a.$field_4185_d = null; a.$field_4184_e = null; a.$field_4183_f = null; a.$field_4182_g = null; a.$field_4181_h = null; a.$field_914_i = null; a.$field_4178_w = null; } function nms_ChunkProviderGenerate_generateTerrain($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var11, $var12, $var13, $var55, $var16, $var45, $var18, $var44, $var20, $var22, $var24, $var26, $var28, $var30, $var32, $var39, $var41, $var43, $var14, var$26, $var7, $var50, $var52, var$30, $var33, $var53; var$6 = nms_ChunkProviderGenerate_func_4061_a($this, $this.$field_4180_q, $var1 * 4 | 0, 0, $var2 * 4 | 0, 5, 17, 5); $this.$field_4180_q = var$6; $var11 = 0; while ($var11 < 4) { $var12 = 0; while ($var12 < 4) { $var13 = 0; while ($var13 < 16) { $var4 = var$6.data; $var55 = (($var11 + 0 | 0) * 5 | 0) + $var12 | 0; $var1 = (($var55 + 0 | 0) * 17 | 0) + $var13 | 0; $var16 = $var4[$var1 + 0 | 0]; $var45 = (($var55 + 1 | 0) * 17 | 0) + $var13 | 0; $var18 = $var4[$var45 + 0 | 0]; $var2 = (($var11 + 1 | 0) * 5 | 0) + $var12 | 0; $var44 = (($var2 + 0 | 0) * 17 | 0) + $var13 | 0; $var20 = $var4[$var44 + 0 | 0]; $var2 = (($var2 + 1 | 0) * 17 | 0) + $var13 | 0; $var22 = $var4[$var2 + 0 | 0]; $var24 = ($var4[$var1 + 1 | 0] - $var16) * 0.125; $var26 = ($var4[$var45 + 1 | 0] - $var18) * 0.125; $var28 = ($var4[$var44 + 1 | 0] - $var20) * 0.125; $var30 = ($var4[$var2 + 1 | 0] - $var22) * 0.125; $var32 = 0; while ($var32 < 8) { $var39 = ($var20 - $var16) * 0.25; $var41 = ($var22 - $var18) * 0.25; $var43 = 0; $var14 = $var16; var$26 = $var18; while ($var43 < 4) { $var7 = $var43 + ($var11 * 4 | 0) | 0; $var44 = $var7 << 11; $var1 = $var12 * 4 | 0; $var2 = $var44 | (0 + $var1 | 0) << 7; $var55 = ($var13 * 8 | 0) + $var32 | 0; $var44 = $var2 | $var55; $var50 = (var$26 - $var14) * 0.25; $var52 = 0; var$30 = ($var7 * 16 | 0) + $var1 | 0; $var1 = $rt_compare($var55, 64); $var7 = $rt_compare($var55, 63); $var33 = $var14; while ($var52 < 4) { $var53 = $var5.data[var$30 + $var52 | 0]; $var55 = 0; if ($var1 < 0) { if ($var53 < 0.5 && $var7 >= 0) { nms_Block_$callClinit(); $var55 = nms_Block_blockIce.$blockID; } else { nms_Block_$callClinit(); $var55 = nms_Block_waterMoving.$blockID; } } if ($var33 > 0.0) { nms_Block_$callClinit(); $var55 = nms_Block_stone.$blockID; } $var3.data[$var44] = $var55 << 24 >> 24; $var44 = $var44 + 128 | 0; $var33 = $var33 + $var50; $var52 = $var52 + 1 | 0; } $var14 = $var14 + $var39; var$26 = var$26 + $var41; $var43 = $var43 + 1 | 0; } $var16 = $var16 + $var24; $var18 = $var18 + $var26; $var20 = $var20 + $var28; $var22 = $var22 + $var30; $var32 = $var32 + 1 | 0; } $var13 = $var13 + 1 | 0; } $var12 = $var12 + 1 | 0; } $var11 = $var11 + 1 | 0; } } function nms_ChunkProviderGenerate_replaceBlocksForBiome($this, $var1, $var2, $var3, $var4) { var var$5, var$6, var$7, var$8, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17, $var18, $var19; var$5 = $this.$field_909_n; var$6 = $this.$field_905_r; var$7 = $var1 * 16 | 0; var$8 = $var2 * 16 | 0; $this.$field_905_r = nms_NoiseGeneratorOctaves_func_807_a(var$5, var$6, var$7, var$8, 0.0, 16, 16, 1, 0.03125, 0.03125, 1.0); $this.$field_904_s = nms_NoiseGeneratorOctaves_func_807_a($this.$field_909_n, $this.$field_904_s, var$8, 109.0134, var$7, 16, 1, 16, 0.03125, 1.0, 0.03125); $this.$field_903_t = nms_NoiseGeneratorOctaves_func_807_a($this.$field_908_o, $this.$field_903_t, var$7, var$8, 0.0, 16, 16, 1, 0.0625, 0.0625, 0.0625); $var8 = 0; while ($var8 < 16) { $var9 = 0; while ($var9 < 16) { var$6 = $var4.data; $var2 = ($var8 * 16 | 0) + $var9 | 0; $var10 = var$6[$var2]; var$6 = $this.$field_905_r.data; $var1 = $var8 + ($var9 * 16 | 0) | 0; $var11 = var$6[$var1] + ju_Random_nextDouble($this.$rand4) * 0.2 <= 0.0 ? 0 : 1; $var12 = $this.$field_904_s.data[$var1] + ju_Random_nextDouble($this.$rand4) * 0.2 <= 3.0 ? 0 : 1; $var13 = $this.$field_903_t.data[$var1] / 3.0 + 3.0 + ju_Random_nextDouble($this.$rand4) * 0.25 | 0; $var14 = (-1); $var15 = $var10.$topBlock; $var16 = $var10.$fillerBlock; $var17 = 127; $var2 = $var2 * 128 | 0; while ($var17 >= 0) { $var18 = $var2 + $var17 | 0; if ($var17 <= (0 + ju_Random_nextInt($this.$rand4, 5) | 0)) { var$6 = $var3.data; nms_Block_$callClinit(); var$6[$var18] = nms_Block_bedrock.$blockID << 24 >> 24; } else { var$6 = $var3.data; $var19 = var$6[$var18]; if (!$var19) $var14 = (-1); else { nms_Block_$callClinit(); $var1 = nms_Block_stone.$blockID; if ($var19 == $var1) { if ($var14 == (-1)) { if ($var13 <= 0) { $var15 = 0; $var16 = $var1 << 24 >> 24; } else if ($var17 >= 60 && $var17 <= 65) { $var15 = $var10.$topBlock; $var16 = $var10.$fillerBlock; if ($var12) $var15 = 0; if ($var12) $var16 = nms_Block_gravel.$blockID << 24 >> 24; if ($var11) $var15 = nms_Block_sand.$blockID << 24 >> 24; if ($var11) $var16 = nms_Block_sand.$blockID << 24 >> 24; } if ($var17 < 64 && !$var15) $var15 = nms_Block_waterMoving.$blockID << 24 >> 24; if ($var17 < 63) { var$6[$var18] = $var16; $var14 = $var13; } else { var$6[$var18] = $var15; $var14 = $var13; } } else if ($var14 > 0) { $var14 = $var14 + (-1) | 0; var$6[$var18] = $var16; } } } } $var17 = $var17 + (-1) | 0; } $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } } function nms_ChunkProviderGenerate_provideChunk($this, $var1, $var2) { var $var3, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $rt_createByteArray(32768); $var4 = nms_Chunk__init_($this.$worldObj9, $var3, $var1, $var2); $this.$biomesForGeneration = (nms_World_func_4075_a($this.$worldObj9)).$loadBlockGeneratorData($this.$biomesForGeneration, $var1 * 16 | 0, $var2 * 16 | 0, 16, 16); $var5 = (nms_World_func_4075_a($this.$worldObj9)).$temperature; nms_ChunkProviderGenerate_generateTerrain($this, $var1, $var2, $var3, $this.$biomesForGeneration, $var5); nms_ChunkProviderGenerate_replaceBlocksForBiome($this, $var1, $var2, $var3, $this.$biomesForGeneration); nms_MapGenBase_func_867_a($this.$field_902_u, $this, $this.$worldObj9, $var1, $var2, $var3); $ptr = 1; case 1: nms_Chunk_func_1024_c($var4); if ($rt_suspending()) { break main; } return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_ChunkProviderGenerate_func_4061_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var12, $var13, var$10, var$11, $var29, $var23, $var25, var$15, $var14, $var15, $var16, $var17, var$20, var$21, var$22, $var18, $var19, var$25, $var21, $var10, $var31, $var33, $var36, $var38, $var40, $var42, $var8, $var44; if ($var1 === null) $var1 = $rt_createDoubleArray($rt_imul($rt_imul($var5, $var6), $var7)); $var12 = (nms_World_func_4075_a($this.$worldObj9)).$temperature; $var13 = (nms_World_func_4075_a($this.$worldObj9)).$humidity; $this.$field_4182_g = nms_NoiseGeneratorOctaves_func_4109_a($this.$field_922_a, $this.$field_4182_g, $var2, $var4, $var5, $var7, 1.121, 1.121, 0.5); $this.$field_4181_h = nms_NoiseGeneratorOctaves_func_4109_a($this.$field_921_b, $this.$field_4181_h, $var2, $var4, $var5, $var7, 200.0, 200.0, 0.5); var$10 = $this.$field_910_m; var$11 = $this.$field_4185_d; $var29 = $var2; $var23 = $var3; $var25 = $var4; $this.$field_4185_d = nms_NoiseGeneratorOctaves_func_807_a(var$10, var$11, $var29, $var23, $var25, $var5, $var6, $var7, 8.555150000000001, 4.277575000000001, 8.555150000000001); $this.$field_4184_e = nms_NoiseGeneratorOctaves_func_807_a($this.$field_912_k, $this.$field_4184_e, $var29, $var23, $var25, $var5, $var6, $var7, 684.412, 684.412, 684.412); var$15 = nms_NoiseGeneratorOctaves_func_807_a($this.$field_911_l, $this.$field_4183_f, $var29, $var23, $var25, $var5, $var6, $var7, 684.412, 684.412, 684.412); $this.$field_4183_f = var$15; $var14 = 0; $var15 = 0; $var16 = 16 / $var5 | 0; $var17 = 0; var$20 = $var6; var$21 = $var6 - 4 | 0; var$22 = var$20 / 2.0; while ($var17 < $var5) { $var2 = $rt_imul($var17, $var16); $var3 = $var16 / 2 | 0; $var18 = $var2 + $var3 | 0; $var19 = 0; $var4 = $var18 * 16 | 0; while ($var19 < $var7) { var$11 = $var13.data; var$25 = $var12.data; $var2 = $var4 + ($rt_imul($var19, $var16) + $var3 | 0) | 0; $var21 = var$25[$var2]; $var25 = 1.0 - var$11[$var2] * $var21; $var29 = $var25 * $var25; $var29 = 1.0 - $var29 * $var29; $var10 = ($this.$field_4182_g.data[$var15] + 256.0) / 512.0 * $var29; if ($var10 > 1.0) $var10 = 1.0; $var29 = $this.$field_4181_h.data[$var15] / 8000.0; if ($var29 < 0.0) $var29 = -$var29 * 0.3; $var29 = $var29 * 3.0 - 2.0; if ($var29 >= 0.0) { if ($var29 > 1.0) $var29 = 1.0; $var29 = $var29 / 8.0; } else { $var29 = $var29 / 2.0; if ($var29 < (-1.0)) $var29 = (-1.0); $var29 = $var29 / 1.4 / 2.0; $var10 = 0.0; } if ($var10 < 0.0) $var10 = 0.0; $var10 = $var10 + 0.5; $var31 = var$22 + $var29 * var$20 / 16.0 * 4.0; $var15 = $var15 + 1 | 0; $var33 = 0; while ($var33 < $var6) { $var36 = ($var33 - $var31) * 12.0 / $var10; if ($var36 < 0.0) $var36 = $var36 * 4.0; var$25 = var$15.data; $var38 = $this.$field_4184_e.data[$var14] / 512.0; $var40 = var$25[$var14] / 512.0; $var42 = ($this.$field_4185_d.data[$var14] / 10.0 + 1.0) / 2.0; if ($var42 >= 0.0) $var38 = $var42 > 1.0 ? $var40 : $var38 + ($var40 - $var38) * $var42; $var8 = $var38 - $var36; if ($var33 > var$21) { $var44 = ($var33 - var$21 | 0) / 3.0; $var8 = $var8 * (1.0 - $var44) + (-10.0) * $var44; } $var1.data[$var14] = $var8; $var14 = $var14 + 1 | 0; $var33 = $var33 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var17 = $var17 + 1 | 0; } return $var1; } function nms_ChunkProviderGenerate_populate($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var7, $var9, $var13, $var14, $var15, $var24, var$13, $var16, $var17, $var18, $var19, $var20, var$19, $var21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var21 = $thread.pop();var$19 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();var$13 = $thread.pop();$var24 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_BlockSand_fallInstantly = 1; $var4 = $var2 * 16 | 0; $var5 = $var3 * 16 | 0; $var6 = (nms_World_func_4075_a($this.$worldObj9)).$func_4073_a($var4 + 16 | 0, $var5 + 16 | 0); ju_Random_setSeed($this.$rand4, $this.$worldObj9.$randomSeed); $var7 = Long_add(Long_mul(Long_div(ju_Random_nextLong($this.$rand4), Long_fromInt(2)), Long_fromInt(2)), Long_fromInt(1)); $var9 = Long_add(Long_mul(Long_div(ju_Random_nextLong($this.$rand4), Long_fromInt(2)), Long_fromInt(2)), Long_fromInt(1)); ju_Random_setSeed($this.$rand4, Long_xor(Long_add(Long_mul(Long_fromInt($var2), $var7), Long_mul(Long_fromInt($var3), $var9)), $this.$worldObj9.$randomSeed)); if (!ju_Random_nextInt($this.$rand4, 4)) { $var13 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var14 = ju_Random_nextInt($this.$rand4, 128); $var15 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLakes; nms_Block_$callClinit(); nms_WorldGenLakes__init_($var1, nms_Block_waterMoving.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 1; continue main; } a: { if (!ju_Random_nextInt($this.$rand4, 8)) { $var13 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var14 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var15 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; if ($var14 < 64) break a; if (!ju_Random_nextInt($this.$rand4, 10)) break a; } $var13 = 0; if ($var13 < 8) { $var14 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenDungeons__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 3; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = nms_WorldGenClay__init_(32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 4; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_dirt.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 5; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_gravel.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 6; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 7; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; } $var1 = new nms_WorldGenLakes; nms_Block_$callClinit(); nms_WorldGenLakes__init_($var1, nms_Block_lavaMoving.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 2; continue main; case 1: nms_WorldGenLakes_generate($var1, $var24, var$13, $var13, $var14, $var15); if ($rt_suspending()) { break main; } b: { if (!ju_Random_nextInt($this.$rand4, 8)) { $var13 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var14 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var15 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; if ($var14 < 64) break b; if (!ju_Random_nextInt($this.$rand4, 10)) break b; } $var13 = 0; if ($var13 < 8) { $var14 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenDungeons__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 3; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = nms_WorldGenClay__init_(32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 4; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_dirt.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 5; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_gravel.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 6; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 7; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; } $var1 = new nms_WorldGenLakes; nms_Block_$callClinit(); nms_WorldGenLakes__init_($var1, nms_Block_lavaMoving.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 2; case 2: nms_WorldGenLakes_generate($var1, $var24, var$13, $var13, $var14, $var15); if ($rt_suspending()) { break main; } $var13 = 0; if ($var13 < 8) { $var14 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenDungeons__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 3; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = nms_WorldGenClay__init_(32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 4; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_dirt.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 5; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_gravel.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 6; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 7; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 3: nms_WorldGenDungeons_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var13 = $var13 + 1 | 0; if ($var13 < 8) { $var14 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenDungeons__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = nms_WorldGenClay__init_(32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 4; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_dirt.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 5; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_gravel.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 6; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 7; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 4: nms_WorldGenClay_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = nms_WorldGenClay__init_(32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_dirt.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 5; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_gravel.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 6; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 7; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 5: nms_WorldGenMinable_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_dirt.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_gravel.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 6; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 7; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 6: nms_WorldGenMinable_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 10) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_gravel.$blockID, 32); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 7; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 7: nms_WorldGenMinable_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 128); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreCoal.$blockID, 16); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 8; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 8: nms_WorldGenMinable_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 20) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 64); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreIron.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 9; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 9: nms_WorldGenMinable_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 2) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 32); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreGold.$blockID, 8); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 10; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 10: nms_WorldGenMinable_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 8) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreRedstone.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 11; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 11: nms_WorldGenMinable_generate($var1, $var24, var$13, $var14, $var15, $var16); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 1) { $var14 = $var4 + ju_Random_nextInt($this.$rand4, 16) | 0; $var15 = ju_Random_nextInt($this.$rand4, 16); $var16 = $var5 + ju_Random_nextInt($this.$rand4, 16) | 0; $var1 = new nms_WorldGenMinable; nms_Block_$callClinit(); nms_WorldGenMinable__init_($var1, nms_Block_oreDiamond.$blockID, 7); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = (nms_NoiseGeneratorOctaves_func_806_a($this.$field_920_c, $var4 * 0.5, $var5 * 0.5) / 8.0 + ju_Random_nextDouble($this.$rand4) * 4.0 + 4.0) / 3.0 | 0; $var14 = 0; if (!ju_Random_nextInt($this.$rand4, 10)) $var14 = 1; nms_MobSpawnerBase_$callClinit(); if ($var6 === nms_MobSpawnerBase_forest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_rainforest) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_seasonalForest) $var14 = $var14 + ($var2 + 2 | 0) | 0; if ($var6 === nms_MobSpawnerBase_taiga) $var14 = $var14 + ($var2 + 5 | 0) | 0; if ($var6 === nms_MobSpawnerBase_desert) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_tundra) $var14 = $var14 + (-20) | 0; if ($var6 === nms_MobSpawnerBase_plains) $var14 = $var14 + (-20) | 0; $var24 = nms_WorldGenTrees__init_0(); if (!ju_Random_nextInt($this.$rand4, 10)) $var24 = nms_WorldGenBigTree__init_0(); if ($var6 === nms_MobSpawnerBase_rainforest && !ju_Random_nextInt($this.$rand4, 3)) $var24 = nms_WorldGenBigTree__init_0(); $var16 = 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 12: $tmp = nms_World_getHeightValue($var1, $var17, $var18); if ($rt_suspending()) { break main; } $var2 = $tmp; $ptr = 13; case 13: $var24.$generate($var1, var$13, $var17, $var2, $var18); if ($rt_suspending()) { break main; } $var16 = $var16 + 1 | 0; if ($var16 < $var14) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var24.$func_517_a(1.0, 1.0, 1.0); $var1 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 12; continue main; } $var2 = 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 14; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 14: nms_WorldGenFlowers_generate($var1, $var24, var$13, $var17, $var18, $var19); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 2) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantYellow.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } if (!ju_Random_nextInt($this.$rand4, 2)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_plantRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 15; continue main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 15: nms_WorldGenFlowers_generate($var1, $var24, var$13, $var2, $var17, $var18); if ($rt_suspending()) { break main; } if (!ju_Random_nextInt($this.$rand4, 4)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 16; continue main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 16: nms_WorldGenFlowers_generate($var1, $var24, var$13, $var2, $var17, $var18); if ($rt_suspending()) { break main; } if (!ju_Random_nextInt($this.$rand4, 8)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 17; continue main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 17: nms_WorldGenFlowers_generate($var1, $var24, var$13, $var2, $var17, $var18); if ($rt_suspending()) { break main; } $var2 = 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 18; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 18: nms_WorldGenReed_generate($var1, $var24, var$13, $var17, $var18, $var19); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 10) { $var17 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var18 = ju_Random_nextInt($this.$rand4, 128); $var19 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenReed__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } if (!ju_Random_nextInt($this.$rand4, 32)) { $var2 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var17 = ju_Random_nextInt($this.$rand4, 128); $var18 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenPumpkin__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 19; continue main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 19: nms_WorldGenPumpkin_generate($var1, $var24, var$13, $var2, $var17, $var18); if ($rt_suspending()) { break main; } $var2 = 0; if ($var6 === nms_MobSpawnerBase_desert) $var2 = 10; $var17 = 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 20; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 20: nms_WorldGenCactus_generate($var1, $var24, var$13, $var18, $var19, $var20); if ($rt_suspending()) { break main; } $var17 = $var17 + 1 | 0; if ($var17 < $var2) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var19 = ju_Random_nextInt($this.$rand4, 128); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = nms_WorldGenCactus__init_0(); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 21; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 21: nms_WorldGenLiquids_generate($var1, $var24, var$13, $var18, $var19, $var20); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 50) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_waterStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var2 = 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; $ptr = 22; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 22: nms_WorldGenLiquids_generate($var1, $var24, var$13, $var18, $var19, $var20); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; if ($var2 < 20) { $var18 = ($var4 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = $this.$rand4; $var19 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 112) + 8 | 0) + 8 | 0); $var20 = ($var5 + ju_Random_nextInt($this.$rand4, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLiquids; nms_Block_$callClinit(); nms_WorldGenLiquids__init_($var1, nms_Block_lavaStill.$blockID); $var24 = $this.$worldObj9; var$13 = $this.$rand4; continue main; } $var1 = nms_World_func_4075_a($this.$worldObj9); var$19 = $this.$field_4178_w; $var3 = $var4 + 8 | 0; $var14 = $var5 + 8 | 0; $this.$field_4178_w = $var1.$getTemperatures(var$19, $var3, $var14, 16, 16); $var4 = $var3 + 16 | 0; $var5 = $var14 + 16 | 0; $var2 = $var3; while ($var2 < $var4) { $var18 = $var14; if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; } nms_BlockSand_fallInstantly = 0; return; case 23: $tmp = nms_World_func_4083_e($var1, $var2, $var18); if ($rt_suspending()) { break main; } $var21 = $tmp; if ($this.$field_4178_w.data[($var19 * 16 | 0) + $var20 | 0] - ($var21 - 64 | 0) / 64.0 * 0.3 < 0.5 && $var21 > 0 && $var21 < 128) { $var1 = $this.$worldObj9; $ptr = 24; continue main; } $var18 = $var18 + 1 | 0; while (true) { if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; continue main; } $var2 = $var2 + 1 | 0; if ($var2 >= $var4) break; $var18 = $var14; } nms_BlockSand_fallInstantly = 0; return; case 24: $tmp = nms_World_getBlockId($var1, $var2, $var21, $var18); if ($rt_suspending()) { break main; } $var15 = $tmp; if (!$var15) { $var1 = $this.$worldObj9; $var15 = $var21 - 1 | 0; $ptr = 25; continue main; } $var18 = $var18 + 1 | 0; while (true) { if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; if ($var2 >= $var4) break; $var18 = $var14; } nms_BlockSand_fallInstantly = 0; return; case 25: $tmp = nms_World_getBlockMaterial($var1, $var2, $var15, $var18); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1.$func_880_c()) { $var1 = $this.$worldObj9; $ptr = 26; continue main; } $var18 = $var18 + 1 | 0; while (true) { if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; if ($var2 >= $var4) break; $var18 = $var14; } nms_BlockSand_fallInstantly = 0; return; case 26: $tmp = nms_World_getBlockMaterial($var1, $var2, $var15, $var18); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 !== nms_Material_ice) { $var1 = $this.$worldObj9; nms_Block_$callClinit(); $var15 = nms_Block_snow.$blockID; $ptr = 27; continue main; } $var18 = $var18 + 1 | 0; while (true) { if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; if ($var2 >= $var4) break; $var18 = $var14; } nms_BlockSand_fallInstantly = 0; return; case 27: nms_World_setBlockWithNotify($var1, $var2, $var21, $var18, $var15); if ($rt_suspending()) { break main; } $var18 = $var18 + 1 | 0; while (true) { if ($var18 < $var5) { $var19 = $var2 - $var3 | 0; $var20 = $var18 - $var14 | 0; $var1 = $this.$worldObj9; $ptr = 23; continue main; } $var2 = $var2 + 1 | 0; if ($var2 >= $var4) break; $var18 = $var14; } nms_BlockSand_fallInstantly = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var9, $var13, $var14, $var15, $var24, var$13, $var16, $var17, $var18, $var19, $var20, var$19, $var21, $ptr); } function nms_ChunkProviderGenerate_func_532_a($this) { return 0; } function nms_ChunkProviderHell() { var a = this; jl_Object.call(a); a.$field_4170_h = null; a.$field_4169_i = null; a.$field_4168_j = null; a.$field_4167_k = null; a.$field_4166_l = null; a.$field_4165_m = null; a.$field_4177_a = null; a.$field_4176_b = null; a.$field_4164_n = null; a.$field_4163_o = null; a.$field_4162_p = null; a.$field_4161_q = null; a.$field_4160_r = null; a.$field_4159_s = null; a.$field_4175_c = null; a.$field_4174_d = null; a.$field_4173_e = null; a.$field_4172_f = null; a.$field_4171_g = null; } function nms_ChunkProviderHell_func_4059_a($this, $var1, $var2, $var3) { var var$4, $var9, $var10, $var11, var$8, $var14, $var50, $var16, $var42, $var18, $var20, $var22, $var24, $var26, $var28, $var30, $var37, $var39, $var41, $var31, var$24, $var48, $var12, $var51; var$4 = nms_ChunkProviderHell_func_4057_a($this, $this.$field_4163_o, $var1 * 4 | 0, 0, $var2 * 4 | 0, 5, 17, 5); $this.$field_4163_o = var$4; $var9 = 0; while ($var9 < 4) { $var10 = 0; while ($var10 < 4) { $var11 = 0; while ($var11 < 16) { var$8 = var$4.data; $var1 = (($var9 + 0 | 0) * 5 | 0) + $var10 | 0; $var2 = (($var1 + 0 | 0) * 17 | 0) + $var11 | 0; $var14 = var$8[$var2 + 0 | 0]; $var50 = (($var1 + 1 | 0) * 17 | 0) + $var11 | 0; $var16 = var$8[$var50 + 0 | 0]; $var1 = (($var9 + 1 | 0) * 5 | 0) + $var10 | 0; $var42 = (($var1 + 0 | 0) * 17 | 0) + $var11 | 0; $var18 = var$8[$var42 + 0 | 0]; $var1 = (($var1 + 1 | 0) * 17 | 0) + $var11 | 0; $var20 = var$8[$var1 + 0 | 0]; $var22 = (var$8[$var2 + 1 | 0] - $var14) * 0.125; $var24 = (var$8[$var50 + 1 | 0] - $var16) * 0.125; $var26 = (var$8[$var42 + 1 | 0] - $var18) * 0.125; $var28 = (var$8[$var1 + 1 | 0] - $var20) * 0.125; $var30 = 0; while ($var30 < 8) { $var37 = ($var18 - $var14) * 0.25; $var39 = ($var20 - $var16) * 0.25; $var41 = 0; $var31 = $var14; var$24 = $var16; while ($var41 < 4) { $var1 = ($var41 + ($var9 * 4 | 0) | 0) << 11 | (0 + ($var10 * 4 | 0) | 0) << 7; $var2 = ($var11 * 8 | 0) + $var30 | 0; $var42 = $var1 | $var2; $var48 = (var$24 - $var31) * 0.25; $var50 = 0; $var1 = $rt_compare($var2, 32); $var12 = $var31; while ($var50 < 4) { $var51 = 0; if ($var1 < 0) { nms_Block_$callClinit(); $var51 = nms_Block_lavaMoving.$blockID; } if ($var12 > 0.0) { nms_Block_$callClinit(); $var51 = nms_Block_bloodStone.$blockID; } $var3.data[$var42] = $var51 << 24 >> 24; $var42 = $var42 + 128 | 0; $var12 = $var12 + $var48; $var50 = $var50 + 1 | 0; } $var31 = $var31 + $var37; var$24 = var$24 + $var39; $var41 = $var41 + 1 | 0; } $var14 = $var14 + $var22; $var16 = $var16 + $var24; $var18 = $var18 + $var26; $var20 = $var20 + $var28; $var30 = $var30 + 1 | 0; } $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } } function nms_ChunkProviderHell_func_4058_b($this, $var1, $var2, $var3) { var var$4, var$5, var$6, var$7, $var7, $var8, $var9, $var10, $var11, $var12, $var14, $var15, var$16, $var16, $var17; var$4 = $this.$field_4166_l; var$5 = $this.$field_4162_p; var$6 = $var1 * 16 | 0; var$7 = $var2 * 16 | 0; $this.$field_4162_p = nms_NoiseGeneratorOctaves_func_807_a(var$4, var$5, var$6, var$7, 0.0, 16, 16, 1, 0.03125, 0.03125, 1.0); $this.$field_4161_q = nms_NoiseGeneratorOctaves_func_807_a($this.$field_4166_l, $this.$field_4161_q, var$7, 109.0134, var$6, 16, 1, 16, 0.03125, 1.0, 0.03125); $this.$field_4160_r = nms_NoiseGeneratorOctaves_func_807_a($this.$field_4165_m, $this.$field_4160_r, var$6, var$7, 0.0, 16, 16, 1, 0.0625, 0.0625, 0.0625); $var7 = 0; while ($var7 < 16) { $var8 = 0; while ($var8 < 16) { var$5 = $this.$field_4162_p.data; $var1 = $var7 + ($var8 * 16 | 0) | 0; $var9 = var$5[$var1] + ju_Random_nextDouble($this.$field_4170_h) * 0.2 <= 0.0 ? 0 : 1; $var10 = $this.$field_4161_q.data[$var1] + ju_Random_nextDouble($this.$field_4170_h) * 0.2 <= 0.0 ? 0 : 1; $var11 = $this.$field_4160_r.data[$var1] / 3.0 + 3.0 + ju_Random_nextDouble($this.$field_4170_h) * 0.25 | 0; $var12 = (-1); nms_Block_$callClinit(); $var14 = nms_Block_bloodStone.$blockID << 24 >> 24; $var15 = 127; var$16 = $var14; while ($var15 >= 0) { $var16 = ((($var7 * 16 | 0) + $var8 | 0) * 128 | 0) + $var15 | 0; if ($var15 >= (127 - ju_Random_nextInt($this.$field_4170_h, 5) | 0)) $var3.data[$var16] = nms_Block_bedrock.$blockID << 24 >> 24; else if ($var15 <= (0 + ju_Random_nextInt($this.$field_4170_h, 5) | 0)) $var3.data[$var16] = nms_Block_bedrock.$blockID << 24 >> 24; else { var$5 = $var3.data; $var17 = var$5[$var16]; if (!$var17) $var12 = (-1); else { $var1 = nms_Block_bloodStone.$blockID; if ($var17 == $var1) { if ($var12 == (-1)) { if ($var11 <= 0) { var$16 = 0; $var14 = $var1 << 24 >> 24; } else if ($var15 >= 60 && $var15 <= 65) { $var14 = $var1 << 24 >> 24; var$16 = !$var10 ? $var14 : nms_Block_gravel.$blockID << 24 >> 24; if ($var9) var$16 = nms_Block_slowSand.$blockID << 24 >> 24; if ($var9) $var14 = nms_Block_slowSand.$blockID << 24 >> 24; } if ($var15 < 64 && !var$16) var$16 = nms_Block_lavaMoving.$blockID << 24 >> 24; if ($var15 < 63) { var$5[$var16] = $var14; $var12 = $var11; } else { var$5[$var16] = var$16; $var12 = $var11; } } else if ($var12 > 0) { $var12 = $var12 + (-1) | 0; var$5[$var16] = $var14; } } } } $var15 = $var15 + (-1) | 0; } $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } } function nms_ChunkProviderHell_provideChunk($this, $var1, $var2) { var $var3, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = $rt_createByteArray(32768); nms_ChunkProviderHell_func_4059_a($this, $var1, $var2, $var3); nms_ChunkProviderHell_func_4058_b($this, $var1, $var2, $var3); nms_MapGenBase_func_867_a($this.$field_4159_s, $this, $this.$field_4164_n, $var1, $var2, $var3); $var4 = nms_Chunk__init_($this.$field_4164_n, $var3, $var1, $var2); $ptr = 1; case 1: nms_Chunk_func_1024_c($var4); if ($rt_suspending()) { break main; } nms_Chunk_func_4143_d($var4); return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_ChunkProviderHell_func_4057_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, $var14, $var19, $var21, $var26, $var12, $var13, $var15, $var34, $var30, $var36, $var23, $var28, $var32; if ($var1 === null) $var1 = $rt_createDoubleArray($rt_imul($rt_imul($var5, $var6), $var7)); var$8 = $this.$field_4177_a; $var14 = $this.$field_4172_f; $var19 = $var2; $var21 = $var3; $var26 = $var4; $this.$field_4172_f = nms_NoiseGeneratorOctaves_func_807_a(var$8, $var14, $var19, $var21, $var26, $var5, 1, $var7, 1.0, 0.0, 1.0); $this.$field_4171_g = nms_NoiseGeneratorOctaves_func_807_a($this.$field_4176_b, $this.$field_4171_g, $var19, $var21, $var26, $var5, 1, $var7, 100.0, 0.0, 100.0); $this.$field_4175_c = nms_NoiseGeneratorOctaves_func_807_a($this.$field_4167_k, $this.$field_4175_c, $var19, $var21, $var26, $var5, $var6, $var7, 8.555150000000001, 34.2206, 8.555150000000001); $this.$field_4174_d = nms_NoiseGeneratorOctaves_func_807_a($this.$field_4169_i, $this.$field_4174_d, $var19, $var21, $var26, $var5, $var6, $var7, 684.412, 2053.236, 684.412); $this.$field_4173_e = nms_NoiseGeneratorOctaves_func_807_a($this.$field_4168_j, $this.$field_4173_e, $var19, $var21, $var26, $var5, $var6, $var7, 684.412, 2053.236, 684.412); $var12 = 0; $var13 = 0; $var14 = $rt_createDoubleArray($var6).data; $var15 = 0; $var34 = $var6; $var3 = $var6 - 1 | 0; while ($var15 < $var6) { $var19 = $var15; $var14[$var15] = jl_Math_cos($var19 * 3.141592653589793 * 6.0 / $var34) * 2.0; if ($var15 > ($var6 / 2 | 0)) $var19 = $var3 - $var15 | 0; if ($var19 < 4.0) { $var30 = 4.0 - $var19; $var14[$var15] = $var14[$var15] - $var30 * $var30 * $var30 * 10.0; } $var15 = $var15 + 1 | 0; } $var3 = 0; $var4 = $var6 - 4 | 0; while ($var3 < $var5) { $var36 = 0; while ($var36 < $var7) { $var21 = $this.$field_4171_g.data[$var13] / 8000.0; if ($var21 < 0.0) $var21 = -$var21; $var30 = $var21 * 3.0 - 3.0; $var13 = $var13 + 1 | 0; $var23 = 0; while ($var23 < $var6) { $var26 = $var14[$var23]; $var28 = $this.$field_4174_d.data[$var12] / 512.0; $var30 = $this.$field_4173_e.data[$var12] / 512.0; $var32 = ($this.$field_4175_c.data[$var12] / 10.0 + 1.0) / 2.0; if ($var32 >= 0.0) $var28 = $var32 > 1.0 ? $var30 : $var28 + ($var30 - $var28) * $var32; $var30 = $var28 - $var26; if ($var23 > $var4) { $var34 = ($var23 - $var4 | 0) / 3.0; $var30 = $var30 * (1.0 - $var34) + (-10.0) * $var34; } $var32 = $var23; if ($var32 < 0.0) { $var34 = (0.0 - $var32) / 4.0; if ($var34 < 0.0) $var34 = 0.0; if ($var34 > 1.0) $var34 = 1.0; $var30 = $var30 * (1.0 - $var34) + (-10.0) * $var34; } $var1.data[$var12] = $var30; $var12 = $var12 + 1 | 0; $var23 = $var23 + 1 | 0; } $var36 = $var36 + 1 | 0; } $var3 = $var3 + 1 | 0; } return $var1; } function nms_ChunkProviderHell_populate($this, $var1, $var2, $var3) { var $var4, $var5, $var6, $var7, $var8, $var9, var$10, var$11, var$12, $var7_0, $var10, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var10 = $thread.pop();$var7_0 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_BlockSand_fallInstantly = 1; $var4 = $var2 * 16 | 0; $var5 = $var3 * 16 | 0; $var6 = 0; if ($var6 < 8) { $var7 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenHellLava; nms_Block_$callClinit(); $var1.$field_4158_a = nms_Block_lavaStill.$blockID; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 1; continue main; } $var1 = $this.$field_4170_h; var$12 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0) + 1 | 0; $var7_0 = 0; while (true) { if ($var7_0 >= var$12) { $var1 = $this.$field_4170_h; $var6 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0); $var7 = 0; if ($var7 < $var6) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone1; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 2; continue main; } $var6 = 0; if ($var6 < 10) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 128); $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone2; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 5; continue main; } if (!ju_Random_nextInt($this.$field_4170_h, 1)) { $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 7; continue main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; continue main; } $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; var$15 = 0; if (var$15 < 64) break; $var7_0 = $var7_0 + 1 | 0; } $var2 = ($var8 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $var3 = ($var9 + ju_Random_nextInt(var$11, 4) | 0) - ju_Random_nextInt(var$11, 4) | 0; $var6 = ($var10 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $ptr = 3; continue main; case 1: nms_WorldGenHellLava_generate($var1, var$10, var$11, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 < 8) { $var7 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenHellLava; nms_Block_$callClinit(); $var1.$field_4158_a = nms_Block_lavaStill.$blockID; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; continue main; } $var1 = $this.$field_4170_h; var$12 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0) + 1 | 0; $var7_0 = 0; while (true) { if ($var7_0 >= var$12) { $var1 = $this.$field_4170_h; $var6 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0); $var7 = 0; if ($var7 < $var6) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone1; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 2; continue main; } $var6 = 0; if ($var6 < 10) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 128); $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone2; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 5; continue main; } if (!ju_Random_nextInt($this.$field_4170_h, 1)) { $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 7; continue main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; continue main; } $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; var$15 = 0; if (var$15 < 64) break; $var7_0 = $var7_0 + 1 | 0; } $var2 = ($var8 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $var3 = ($var9 + ju_Random_nextInt(var$11, 4) | 0) - ju_Random_nextInt(var$11, 4) | 0; $var6 = ($var10 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $ptr = 3; continue main; case 2: nms_WorldGenLightStone1_generate($var1, var$10, var$11, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var7 = $var7 + 1 | 0; if ($var7 < $var6) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone1; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; continue main; } $var6 = 0; if ($var6 < 10) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 128); $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone2; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 5; continue main; } if (!ju_Random_nextInt($this.$field_4170_h, 1)) { $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 7; continue main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; continue main; case 3: $tmp = nms_World_getBlockId(var$10, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; if (!$var7) { $var7 = $var3 - 1 | 0; $ptr = 4; continue main; } var$15 = var$15 + 1 | 0; while (var$15 >= 64) { $var7_0 = $var7_0 + 1 | 0; if ($var7_0 >= var$12) { $var1 = $this.$field_4170_h; $var6 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0); $var7 = 0; if ($var7 < $var6) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone1; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 2; continue main; } $var6 = 0; if ($var6 < 10) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 128); $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone2; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 5; continue main; } if (!ju_Random_nextInt($this.$field_4170_h, 1)) { $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 7; continue main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; continue main; } $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; var$15 = 0; } $var2 = ($var8 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $var3 = ($var9 + ju_Random_nextInt(var$11, 4) | 0) - ju_Random_nextInt(var$11, 4) | 0; $var6 = ($var10 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; continue main; case 4: $tmp = nms_World_getBlockId(var$10, $var2, $var7, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; nms_Block_$callClinit(); if ($var7 == nms_Block_bloodStone.$blockID) { $var7 = nms_Block_fire.$blockID; $ptr = 6; continue main; } var$15 = var$15 + 1 | 0; while (var$15 >= 64) { $var7_0 = $var7_0 + 1 | 0; if ($var7_0 >= var$12) { $var1 = $this.$field_4170_h; $var6 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0); $var7 = 0; if ($var7 < $var6) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone1; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 2; continue main; } $var6 = 0; if ($var6 < 10) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 128); $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone2; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 5; continue main; } if (!ju_Random_nextInt($this.$field_4170_h, 1)) { $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 7; continue main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; continue main; } $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; var$15 = 0; } $var2 = ($var8 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $var3 = ($var9 + ju_Random_nextInt(var$11, 4) | 0) - ju_Random_nextInt(var$11, 4) | 0; $var6 = ($var10 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $ptr = 3; continue main; case 5: nms_WorldGenLightStone2_generate($var1, var$10, var$11, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 < 10) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 128); $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone2; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; continue main; } if (!ju_Random_nextInt($this.$field_4170_h, 1)) { $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 7; continue main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; continue main; case 6: nms_World_setBlockWithNotify(var$10, $var2, $var3, $var6, $var7); if ($rt_suspending()) { break main; } var$15 = var$15 + 1 | 0; while (var$15 >= 64) { $var7_0 = $var7_0 + 1 | 0; if ($var7_0 >= var$12) { $var1 = $this.$field_4170_h; $var6 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0); $var7 = 0; if ($var7 < $var6) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone1; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 2; continue main; } $var6 = 0; if ($var6 < 10) { $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 128); $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenLightStone2; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 5; continue main; } if (!ju_Random_nextInt($this.$field_4170_h, 1)) { $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomBrown.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 7; continue main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; continue main; } $var8 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var9 = ju_Random_nextInt($this.$field_4170_h, 120) + 4 | 0; $var10 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; var$15 = 0; } $var2 = ($var8 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $var3 = ($var9 + ju_Random_nextInt(var$11, 4) | 0) - ju_Random_nextInt(var$11, 4) | 0; $var6 = ($var10 + ju_Random_nextInt(var$11, 8) | 0) - ju_Random_nextInt(var$11, 8) | 0; $ptr = 3; continue main; case 7: nms_WorldGenFlowers_generate($var1, var$10, var$11, $var2, $var8, $var9); if ($rt_suspending()) { break main; } if (ju_Random_nextInt($this.$field_4170_h, 1)) { nms_BlockSand_fallInstantly = 0; return; } $var2 = ($var4 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var8 = ju_Random_nextInt($this.$field_4170_h, 128); $var9 = ($var5 + ju_Random_nextInt($this.$field_4170_h, 16) | 0) + 8 | 0; $var1 = new nms_WorldGenFlowers; nms_Block_$callClinit(); nms_WorldGenFlowers__init_($var1, nms_Block_mushroomRed.$blockID); var$10 = $this.$field_4164_n; var$11 = $this.$field_4170_h; $ptr = 8; case 8: nms_WorldGenFlowers_generate($var1, var$10, var$11, $var2, $var8, $var9); if ($rt_suspending()) { break main; } nms_BlockSand_fallInstantly = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, var$11, var$12, $var7_0, $var10, var$15, $ptr); } function nms_ChunkProviderHell_func_532_a($this) { return 0; } function nms_MinecartTrackLogic() { var a = this; jl_Object.call(a); a.$worldObj12 = null; a.$field_1165_c = 0; a.$field_1164_d = 0; a.$field_1163_e = 0; a.$field_1162_f = 0; a.$field_1161_g = null; a.$field_1160_a = null; } function nms_MinecartTrackLogic__init_0(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_MinecartTrackLogic(); nms_MinecartTrackLogic__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_MinecartTrackLogic__init_($this, $var1, $var2, $var3, $var4, $var5) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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: $this.$field_1160_a = $var1; $this.$field_1161_g = ju_ArrayList__init_0(); $this.$worldObj12 = $var2; $this.$field_1165_c = $var3; $this.$field_1164_d = $var4; $this.$field_1163_e = $var5; $ptr = 1; case 1: $tmp = nms_World_getBlockMetadata($var2, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var3 = $tmp; $this.$field_1162_f = $var3; nms_MinecartTrackLogic_func_789_a($this); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $ptr); } function nms_MinecartTrackLogic_func_789_a($this) { var var$1; a: { ju_ArrayList_clear($this.$field_1161_g); var$1 = $this.$field_1162_f; if (!var$1) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e - 1 | 0)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e + 1 | 0)); break a; } if (var$1 == 1) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c - 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c + 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); break a; } if (var$1 == 2) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c - 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c + 1 | 0, $this.$field_1164_d + 1 | 0, $this.$field_1163_e)); break a; } if (var$1 == 3) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c - 1 | 0, $this.$field_1164_d + 1 | 0, $this.$field_1163_e)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c + 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); break a; } if (var$1 == 4) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d + 1 | 0, $this.$field_1163_e - 1 | 0)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e + 1 | 0)); break a; } if (var$1 == 5) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e - 1 | 0)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d + 1 | 0, $this.$field_1163_e + 1 | 0)); break a; } if (var$1 == 6) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c + 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e + 1 | 0)); break a; } if (var$1 == 7) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c - 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e + 1 | 0)); break a; } if (var$1 == 8) { ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c - 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e - 1 | 0)); break a; } if (var$1 != 9) break a; ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c + 1 | 0, $this.$field_1164_d, $this.$field_1163_e)); ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e - 1 | 0)); } } function nms_MinecartTrackLogic_func_785_b($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: $var1 = 0; $var2 = $this.$field_1161_g; if ($var1 >= $var2.$size) return; $var2 = ju_ArrayList_get($var2, $var1); $ptr = 1; case 1: $tmp = nms_MinecartTrackLogic_func_795_a($this, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 !== null && nms_MinecartTrackLogic_func_793_b($var2, $this)) { ju_ArrayList_set($this.$field_1161_g, $var1, nms_ChunkPosition__init_($var2.$field_1165_c, $var2.$field_1164_d, $var2.$field_1163_e)); var$3 = $var1; } else { $var2 = $this.$field_1161_g; var$3 = $var1 + (-1) | 0; ju_ArrayList_remove($var2, $var1); } $var1 = var$3 + 1 | 0; $var2 = $this.$field_1161_g; if ($var1 >= $var2.$size) return; $var2 = ju_ArrayList_get($var2, $var1); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $ptr); } function nms_MinecartTrackLogic_func_784_a($this, $var1, $var2, $var3) { var var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$worldObj12; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 == $this.$field_1160_a.$blockID) return 1; var$4 = $this.$worldObj12; var$5 = $var2 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId(var$4, $var1, var$5, $var3); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 == $this.$field_1160_a.$blockID) return 1; var$4 = $this.$worldObj12; $var2 = $var2 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId(var$4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; return $var1 != $this.$field_1160_a.$blockID ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, $ptr); } function nms_MinecartTrackLogic_func_795_a($this, $var1) { var var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj12; var$3 = $var1.$x3; var$4 = $var1.$y2; var$5 = $var1.$z5; $ptr = 1; case 1: $tmp = nms_World_getBlockId(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; var$2 = $this.$field_1160_a; if (var$3 == var$2.$blockID) { var$6 = new nms_MinecartTrackLogic; var$7 = $this.$worldObj12; var$3 = $var1.$x3; var$4 = $var1.$y2; var$5 = $var1.$z5; $ptr = 3; continue main; } var$2 = $this.$worldObj12; var$3 = $var1.$x3; var$4 = $var1.$y2 + 1 | 0; var$5 = $var1.$z5; $ptr = 2; case 2: $tmp = nms_World_getBlockId(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; var$2 = $this.$field_1160_a; if (var$3 != var$2.$blockID) { var$2 = $this.$worldObj12; var$3 = $var1.$x3; var$4 = $var1.$y2 - 1 | 0; var$5 = $var1.$z5; $ptr = 4; continue main; } var$6 = new nms_MinecartTrackLogic; var$7 = $this.$worldObj12; var$3 = $var1.$x3; var$4 = $var1.$y2 + 1 | 0; var$5 = $var1.$z5; $ptr = 5; continue main; case 3: nms_MinecartTrackLogic__init_(var$6, var$2, var$7, var$3, var$4, var$5); if ($rt_suspending()) { break main; } return var$6; case 4: $tmp = nms_World_getBlockId(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$3 = $tmp; var$2 = $this.$field_1160_a; if (var$3 != var$2.$blockID) { var$6 = null; return var$6; } var$6 = new nms_MinecartTrackLogic; var$7 = $this.$worldObj12; var$4 = $var1.$x3; var$3 = $var1.$y2 - 1 | 0; var$5 = $var1.$z5; $ptr = 6; continue main; case 5: nms_MinecartTrackLogic__init_(var$6, var$2, var$7, var$3, var$4, var$5); if ($rt_suspending()) { break main; } return var$6; case 6: nms_MinecartTrackLogic__init_(var$6, var$2, var$7, var$4, var$3, var$5); if ($rt_suspending()) { break main; } return var$6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_MinecartTrackLogic_func_793_b($this, $var1) { var $var2, $var3; $var2 = 0; while (true) { $var3 = $this.$field_1161_g; if ($var2 >= $var3.$size) break; $var3 = ju_ArrayList_get($var3, $var2); if ($var3.$x3 == $var1.$field_1165_c && $var3.$z5 == $var1.$field_1163_e) return 1; $var2 = $var2 + 1 | 0; } return 0; } function nms_MinecartTrackLogic_func_794_b($this, $var1, $var2, $var3) { var $var4, $var5; $var4 = 0; while (true) { $var5 = $this.$field_1161_g; if ($var4 >= $var5.$size) break; $var5 = ju_ArrayList_get($var5, $var4); if ($var5.$x3 == $var1 && $var5.$z5 == $var3) return 1; $var4 = $var4 + 1 | 0; } return 0; } function nms_MinecartTrackLogic_func_787_c($this, $var1) { var $var2, var$3, var$4; if (nms_MinecartTrackLogic_func_793_b($this, $var1)) return 1; $var2 = $this.$field_1161_g; var$3 = $var2.$size; if (var$3 == 2) return 0; if (!var$3) return 1; $var2 = ju_ArrayList_get($var2, 0); var$4 = $var1.$field_1164_d; var$3 = $this.$field_1164_d; return var$4 == var$3 && $var2.$y2 == var$3 ? 1 : 1; } function nms_MinecartTrackLogic_func_788_d($this, $var1) { var $var2, $var3, $var4, $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: ju_ArrayList_add($this.$field_1161_g, nms_ChunkPosition__init_($var1.$field_1165_c, $var1.$field_1164_d, $var1.$field_1163_e)); $var2 = nms_MinecartTrackLogic_func_794_b($this, $this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e - 1 | 0); $var3 = nms_MinecartTrackLogic_func_794_b($this, $this.$field_1165_c, $this.$field_1164_d, $this.$field_1163_e + 1 | 0); $var4 = nms_MinecartTrackLogic_func_794_b($this, $this.$field_1165_c - 1 | 0, $this.$field_1164_d, $this.$field_1163_e); $var5 = nms_MinecartTrackLogic_func_794_b($this, $this.$field_1165_c + 1 | 0, $this.$field_1164_d, $this.$field_1163_e); $var6 = (-1); if (!(!$var2 && !$var3)) $var6 = 0; if (!(!$var4 && !$var5)) $var6 = 1; if ($var3 && $var5 && !$var2 && !$var4) $var6 = 6; if ($var3 && $var4 && !$var2 && !$var5) $var6 = 7; if ($var2 && $var4 && !$var3 && !$var5) $var6 = 8; if ($var2 && $var5 && !$var3 && !$var4) $var6 = 9; if (!$var6) { $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c; $var3 = $this.$field_1164_d + 1 | 0; $var4 = $this.$field_1163_e - 1 | 0; $ptr = 1; continue main; } if ($var6 == 1) { $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c + 1 | 0; $var3 = $this.$field_1164_d + 1 | 0; $var4 = $this.$field_1163_e; $ptr = 2; continue main; } if ($var6 < 0) $var6 = 0; $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c; $var3 = $this.$field_1164_d; $var4 = $this.$field_1163_e; $ptr = 5; continue main; case 1: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 == $this.$field_1160_a.$blockID) $var6 = 4; $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c; $var3 = $this.$field_1164_d + 1 | 0; $var4 = $this.$field_1163_e + 1 | 0; $ptr = 3; continue main; case 2: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 == $this.$field_1160_a.$blockID) $var6 = 2; $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c - 1 | 0; $var3 = $this.$field_1164_d + 1 | 0; $var4 = $this.$field_1163_e; $ptr = 4; continue main; case 3: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 == $this.$field_1160_a.$blockID) $var6 = 5; if ($var6 == 1) { $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c + 1 | 0; $var3 = $this.$field_1164_d + 1 | 0; $var4 = $this.$field_1163_e; $ptr = 2; continue main; } if ($var6 < 0) $var6 = 0; $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c; $var3 = $this.$field_1164_d; $var4 = $this.$field_1163_e; $ptr = 5; continue main; case 4: $tmp = nms_World_getBlockId($var1, $var2, $var3, $var4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 == $this.$field_1160_a.$blockID) $var6 = 3; if ($var6 < 0) $var6 = 0; $var1 = $this.$worldObj12; $var2 = $this.$field_1165_c; $var3 = $this.$field_1164_d; $var4 = $this.$field_1163_e; $ptr = 5; case 5: nms_World_setBlockMetadataWithNotify($var1, $var2, $var3, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $ptr); } function nms_MinecartTrackLogic_func_786_c($this, $var1, $var2, $var3) { var $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $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 = nms_ChunkPosition__init_($var1, $var2, $var3); $ptr = 1; case 1: $tmp = nms_MinecartTrackLogic_func_795_a($this, $var4); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 === null) return 0; $ptr = 2; case 2: nms_MinecartTrackLogic_func_785_b($var4); if ($rt_suspending()) { break main; } return nms_MinecartTrackLogic_func_787_c($var4, $this); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $ptr); } function nms_MinecartTrackLogic_func_792_a($this, $var1) { var $var3, $var4, $var2, $var5, $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$field_1165_c; $var4 = $this.$field_1164_d; $var2 = $this.$field_1163_e - 1 | 0; $ptr = 1; case 1: $tmp = nms_MinecartTrackLogic_func_786_c($this, $var3, $var4, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = $this.$field_1165_c; $var4 = $this.$field_1164_d; $var5 = $this.$field_1163_e + 1 | 0; $ptr = 2; case 2: $tmp = nms_MinecartTrackLogic_func_786_c($this, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var3 = $tmp; $var4 = $this.$field_1165_c - 1 | 0; $var5 = $this.$field_1164_d; $var6 = $this.$field_1163_e; $ptr = 3; case 3: $tmp = nms_MinecartTrackLogic_func_786_c($this, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var4 = $tmp; $var5 = $this.$field_1165_c + 1 | 0; $var6 = $this.$field_1164_d; $var7 = $this.$field_1163_e; $ptr = 4; case 4: $tmp = nms_MinecartTrackLogic_func_786_c($this, $var5, $var6, $var7); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = (-1); if (!(!$var2 && !$var3) && !$var4 && !$var5) $var6 = 0; if (!(!$var4 && !$var5) && !$var2 && !$var3) $var6 = 1; if ($var3 && $var5 && !$var2 && !$var4) $var6 = 6; if ($var3 && $var4 && !$var2 && !$var5) $var6 = 7; if ($var2 && $var4 && !$var3 && !$var5) $var6 = 8; if ($var2 && $var5 && !$var3 && !$var4) $var6 = 9; if ($var6 == (-1)) { if (!(!$var2 && !$var3)) $var6 = 0; if (!(!$var4 && !$var5)) $var6 = 1; if (!$var1) { if ($var2 && $var4) $var6 = 8; if ($var5 && $var2) $var6 = 9; if ($var4 && $var3) $var6 = 7; if ($var3 && $var5) $var6 = 6; } else { if ($var3 && $var5) $var6 = 6; if ($var4 && $var3) $var6 = 7; if ($var5 && $var2) $var6 = 9; if ($var2 && $var4) $var6 = 8; } } if (!$var6) { $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c; $var2 = $this.$field_1164_d + 1 | 0; $var3 = $this.$field_1163_e - 1 | 0; $ptr = 5; continue main; } if ($var6 == 1) { $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c + 1 | 0; $var2 = $this.$field_1164_d + 1 | 0; $var3 = $this.$field_1163_e; $ptr = 6; continue main; } if ($var6 < 0) $var6 = 0; $this.$field_1162_f = $var6; nms_MinecartTrackLogic_func_789_a($this); $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c; $var2 = $this.$field_1164_d; $var3 = $this.$field_1163_e; $ptr = 9; continue main; case 5: $tmp = nms_World_getBlockId($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 == $this.$field_1160_a.$blockID) $var6 = 4; $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c; $var2 = $this.$field_1164_d + 1 | 0; $var3 = $this.$field_1163_e + 1 | 0; $ptr = 7; continue main; case 6: $tmp = nms_World_getBlockId($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 == $this.$field_1160_a.$blockID) $var6 = 2; $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c - 1 | 0; $var2 = $this.$field_1164_d + 1 | 0; $var3 = $this.$field_1163_e; $ptr = 8; continue main; case 7: $tmp = nms_World_getBlockId($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 == $this.$field_1160_a.$blockID) $var6 = 5; if ($var6 == 1) { $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c + 1 | 0; $var2 = $this.$field_1164_d + 1 | 0; $var3 = $this.$field_1163_e; $ptr = 6; continue main; } if ($var6 < 0) $var6 = 0; $this.$field_1162_f = $var6; nms_MinecartTrackLogic_func_789_a($this); $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c; $var2 = $this.$field_1164_d; $var3 = $this.$field_1163_e; $ptr = 9; continue main; case 8: $tmp = nms_World_getBlockId($var8, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 == $this.$field_1160_a.$blockID) $var6 = 3; if ($var6 < 0) $var6 = 0; $this.$field_1162_f = $var6; nms_MinecartTrackLogic_func_789_a($this); $var8 = $this.$worldObj12; $var1 = $this.$field_1165_c; $var2 = $this.$field_1164_d; $var3 = $this.$field_1163_e; $ptr = 9; case 9: nms_World_setBlockMetadataWithNotify($var8, $var1, $var2, $var3, $var6); if ($rt_suspending()) { break main; } $var7 = 0; $var8 = $this.$field_1161_g; if ($var7 >= $var8.$size) return; $var8 = ju_ArrayList_get($var8, $var7); $ptr = 10; case 10: $tmp = nms_MinecartTrackLogic_func_795_a($this, $var8); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 !== null) { $ptr = 11; continue main; } $var7 = $var7 + 1 | 0; $var8 = $this.$field_1161_g; if ($var7 >= $var8.$size) return; $var8 = ju_ArrayList_get($var8, $var7); continue main; case 11: nms_MinecartTrackLogic_func_785_b($var8); if ($rt_suspending()) { break main; } if (nms_MinecartTrackLogic_func_787_c($var8, $this)) { $ptr = 12; continue main; } $var7 = $var7 + 1 | 0; $var8 = $this.$field_1161_g; if ($var7 >= $var8.$size) return; $var8 = ju_ArrayList_get($var8, $var7); $ptr = 10; continue main; case 12: nms_MinecartTrackLogic_func_788_d($var8, $this); if ($rt_suspending()) { break main; } $var7 = $var7 + 1 | 0; $var8 = $this.$field_1161_g; if ($var7 >= $var8.$size) return; $var8 = ju_ArrayList_get($var8, $var7); $ptr = 10; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var4, $var2, $var5, $var6, $var7, $var8, $ptr); } var nms_EntityBubbleFX = $rt_classWithoutFields(nms_EntityFX); function nms_EntityBubbleFX_onUpdate($this) { var var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$motionY + 0.002; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$1, var$3); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.8500000238418579; $this.$motionY = $this.$motionY * 0.8500000238418579; $this.$motionZ = $this.$motionZ * 0.8500000238418579; var$4 = $this.$worldObj0; var$5 = nms_MathHelper_floor_double($this.$posX); var$6 = nms_MathHelper_floor_double($this.$posY); var$7 = nms_MathHelper_floor_double($this.$posZ); $ptr = 2; case 2: $tmp = nms_World_getBlockMaterial(var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$4 = $tmp; nms_Material_$callClinit(); if (var$4 !== nms_Material_water) { $ptr = 3; continue main; } var$5 = $this.$field_666_f; $this.$field_666_f = var$5 - 1 | 0; if (var$5 > 0) return; $ptr = 4; continue main; case 3: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } var$5 = $this.$field_666_f; $this.$field_666_f = var$5 - 1 | 0; if (var$5 > 0) return; $ptr = 4; case 4: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); } function nms_EntitySmokeFX() { nms_EntityFX.call(this); this.$field_671_a = 0.0; } function nms_EntitySmokeFX__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_EntitySmokeFX(); nms_EntitySmokeFX__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_EntitySmokeFX__init_0($this, $var1, $var2, $var4, $var6, $var8) { var var$6, var$7; nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, 0.0, 0.0, 0.0); $this.$motionX = $this.$motionX * 0.10000000149011612; $this.$motionY = $this.$motionY * 0.10000000149011612; $this.$motionZ = $this.$motionZ * 0.10000000149011612; var$6 = jl_Math_random() * 0.30000001192092896; $this.$field_661_k = var$6; $this.$field_662_j = var$6; $this.$field_663_i = var$6; var$6 = $this.$field_665_g * 0.75; $this.$field_665_g = var$6; var$6 = var$6 * $var8; $this.$field_665_g = var$6; $this.$field_671_a = var$6; var$7 = 8.0 / (jl_Math_random() * 0.8 + 0.2) | 0; $this.$field_666_f = var$7; $this.$field_666_f = var$7 * $var8 | 0; $this.$field_9314_ba = 0; } function nms_EntitySmokeFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$e0 + $var2) / $this.$field_666_f * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$field_665_g = $this.$field_671_a * $var8; $ptr = 1; case 1: nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_EntitySmokeFX_onUpdate($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$e0; $this.$e0 = var$1 + 1 | 0; if (var$1 >= $this.$field_666_f) { $ptr = 2; continue main; } $this.$field_670_b = 7 - (($this.$e0 * 8 | 0) / $this.$field_666_f | 0) | 0; var$2 = $this.$motionY + 0.004; $this.$motionY = var$2; var$3 = $this.$motionX; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$3, var$2, var$4); if ($rt_suspending()) { break main; } if ($this.$posY === $this.$prevPosY) { $this.$motionX = $this.$motionX * 1.1; $this.$motionZ = $this.$motionZ * 1.1; } var$2 = $this.$motionX * 0.9599999785423279; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.9599999785423279; var$3 = $this.$motionZ * 0.9599999785423279; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$field_670_b = 7 - (($this.$e0 * 8 | 0) / $this.$field_666_f | 0) | 0; var$2 = $this.$motionY + 0.004; $this.$motionY = var$2; var$3 = $this.$motionX; var$4 = $this.$motionZ; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_EntityPortalFX() { var a = this; nms_EntityFX.call(a); a.$field_4083_a = 0.0; a.$field_4086_p = 0.0; a.$field_4085_q = 0.0; a.$field_4084_r = 0.0; } function nms_EntityPortalFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = 1.0 - ($this.$e0 + $var2) / $this.$field_666_f; $var8 = 1.0 - $var8 * $var8; $this.$field_665_g = $this.$field_4083_a * $var8; $ptr = 1; case 1: nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_EntityPortalFX_getEntityBrightness($this, $var1) { var $var2, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_Entity_getEntityBrightness($this, $var1); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = $this.$e0 / $this.$field_666_f; $var1 = $var3 * $var3; $var1 = $var1 * $var1; return $var2 * (1.0 - $var1) + $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } function nms_EntityPortalFX_onUpdate($this) { var var$1, var$2, var$3, $var1, var$5, var$6, var$7; $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$e0; var$2 = var$1; var$3 = $this.$field_666_f; $var1 = var$2 / var$3; var$2 = 1.0 - ( -$var1 + $var1 * $var1 * 2.0); var$5 = $this.$field_4086_p; var$6 = $this.$motionX; var$7 = var$2; $this.$posX = var$5 + var$6 * var$7; $this.$posY = $this.$field_4085_q + $this.$motionY * var$7 + 1.0 - $var1; $this.$posZ = $this.$field_4084_r + $this.$motionZ * var$7; $this.$e0 = var$1 + 1 | 0; if (var$1 >= var$3) nms_Entity_setEntityDead($this); } var nms_EntityExplodeFX = $rt_classWithoutFields(nms_EntityFX); function nms_EntityExplodeFX__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new nms_EntityExplodeFX(); nms_EntityExplodeFX__init_0(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function nms_EntityExplodeFX__init_0($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12) { var var$8; nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12); $this.$motionX = $var8 + (jl_Math_random() * 2.0 - 1.0) * 0.05000000074505806; $this.$motionY = $var10 + (jl_Math_random() * 2.0 - 1.0) * 0.05000000074505806; $this.$motionZ = $var12 + (jl_Math_random() * 2.0 - 1.0) * 0.05000000074505806; var$8 = ju_Random_nextFloat($this.$rand2) * 0.30000001192092896 + 0.699999988079071; $this.$field_661_k = var$8; $this.$field_662_j = var$8; $this.$field_663_i = var$8; $this.$field_665_g = ju_Random_nextFloat($this.$rand2) * ju_Random_nextFloat($this.$rand2) * 6.0 + 1.0; $this.$field_666_f = (16.0 / (ju_Random_nextFloat($this.$rand2) * 0.8 + 0.2) | 0) + 2 | 0; } function nms_EntityExplodeFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $ptr); } function nms_EntityExplodeFX_onUpdate($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$e0; $this.$e0 = var$1 + 1 | 0; if (var$1 >= $this.$field_666_f) { $ptr = 2; continue main; } $this.$field_670_b = 7 - (($this.$e0 * 8 | 0) / $this.$field_666_f | 0) | 0; var$2 = $this.$motionY + 0.004; $this.$motionY = var$2; var$3 = $this.$motionX; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$3, var$2, var$4); if ($rt_suspending()) { break main; } var$2 = $this.$motionX * 0.8999999761581421; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.8999999761581421; var$3 = $this.$motionZ * 0.8999999761581421; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$field_670_b = 7 - (($this.$e0 * 8 | 0) / $this.$field_666_f | 0) | 0; var$2 = $this.$motionY + 0.004; $this.$motionY = var$2; var$3 = $this.$motionX; var$4 = $this.$motionZ; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_EntityFlameFX() { nms_EntityFX.call(this); this.$field_672_a = 0.0; } function nms_EntityFlameFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$e0 + $var2) / $this.$field_666_f; $this.$field_665_g = $this.$field_672_a * (1.0 - $var8 * $var8 * 0.5); $ptr = 1; case 1: nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_EntityFlameFX_getEntityBrightness($this, $var1) { var $var2, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = ($this.$e0 + $var1) / $this.$field_666_f; if ($var2 < 0.0) $var2 = 0.0; if ($var2 > 1.0) $var2 = 1.0; $ptr = 1; case 1: $tmp = nms_Entity_getEntityBrightness($this, $var1); if ($rt_suspending()) { break main; } $var3 = $tmp; return $var3 * $var2 + 1.0 - $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $ptr); } function nms_EntityFlameFX_onUpdate($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$e0; $this.$e0 = var$1 + 1 | 0; if (var$1 >= $this.$field_666_f) { $ptr = 2; continue main; } var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2 = $this.$motionX * 0.9599999785423279; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.9599999785423279; var$3 = $this.$motionZ * 0.9599999785423279; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } function nms_EntityLavaFX() { nms_EntityFX.call(this); this.$field_674_a = 0.0; } function nms_EntityLavaFX__init_(var_0, var_1, var_2, var_3) { var var_4 = new nms_EntityLavaFX(); nms_EntityLavaFX__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; } function nms_EntityLavaFX__init_0($this, $var1, $var2, $var4, $var6) { var var$5; nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, 0.0, 0.0, 0.0); $this.$motionX = $this.$motionX * 0.800000011920929; $this.$motionY = $this.$motionY * 0.800000011920929; $this.$motionZ = $this.$motionZ * 0.800000011920929; $this.$motionY = ju_Random_nextFloat($this.$rand2) * 0.4000000059604645 + 0.05000000074505806; $this.$field_661_k = 1.0; $this.$field_662_j = 1.0; $this.$field_663_i = 1.0; var$5 = $this.$field_665_g * (ju_Random_nextFloat($this.$rand2) * 2.0 + 0.20000000298023224); $this.$field_665_g = var$5; $this.$field_674_a = var$5; $this.$field_666_f = 16.0 / (jl_Math_random() * 0.8 + 0.2) | 0; $this.$field_9314_ba = 0; $this.$field_670_b = 49; } function nms_EntityLavaFX_getEntityBrightness($this, $var1) { return 1.0; } function nms_EntityLavaFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$e0 + $var2) / $this.$field_666_f; $this.$field_665_g = $this.$field_674_a * (1.0 - $var8 * $var8); $ptr = 1; case 1: nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_EntityLavaFX_onUpdate($this) { var var$1, $var1, var$3, 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();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$e0; $this.$e0 = var$1 + 1 | 0; if (var$1 >= $this.$field_666_f) { $ptr = 1; continue main; } $var1 = $this.$e0 / $this.$field_666_f; if (ju_Random_nextFloat($this.$rand2) > $var1) nms_World_spawnParticle($this.$worldObj0, $rt_s(299), $this.$posX, $this.$posY, $this.$posZ, $this.$motionX, $this.$motionY, $this.$motionZ); var$3 = $this.$motionY - 0.03; $this.$motionY = var$3; var$4 = $this.$motionX; var$5 = $this.$motionZ; $ptr = 2; continue main; case 1: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $var1 = $this.$e0 / $this.$field_666_f; if (ju_Random_nextFloat($this.$rand2) > $var1) nms_World_spawnParticle($this.$worldObj0, $rt_s(299), $this.$posX, $this.$posY, $this.$posZ, $this.$motionX, $this.$motionY, $this.$motionZ); var$3 = $this.$motionY - 0.03; $this.$motionY = var$3; var$4 = $this.$motionX; var$5 = $this.$motionZ; $ptr = 2; case 2: nms_Entity_moveEntity($this, var$4, var$3, var$5); if ($rt_suspending()) { break main; } var$3 = $this.$motionX * 0.9990000128746033; $this.$motionX = var$3; $this.$motionY = $this.$motionY * 0.9990000128746033; var$4 = $this.$motionZ * 0.9990000128746033; $this.$motionZ = var$4; if ($this.$onGround) { $this.$motionX = var$3 * 0.699999988079071; $this.$motionZ = var$4 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, $ptr); } var nms_EntitySplashFX = $rt_classWithoutFields(nms_EntityRainFX); function nms_EntitySplashFX__init_(var_0, var_1, var_2, var_3, var_4, var_5, var_6) { var var_7 = new nms_EntitySplashFX(); nms_EntitySplashFX__init_0(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; } function nms_EntitySplashFX__init_0($this, $var1, $var2, $var4, $var6, $var8, $var10, $var12) { nms_EntityRainFX__init_($this, $var1, $var2, $var4, $var6); $this.$field_664_h = 0.03999999910593033; $this.$field_670_b = $this.$field_670_b + 1 | 0; if ($var10 === 0.0 && !($var8 === 0.0 && $var12 === 0.0)) { $this.$motionX = $var8; $this.$motionY = $var10 + 0.1; $this.$motionZ = $var12; } } function nms_EntityReddustFX() { nms_EntityFX.call(this); this.$field_673_a = 0.0; } function nms_EntityReddustFX__init_(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_EntityReddustFX(); nms_EntityReddustFX__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_EntityReddustFX__init_0($this, $var1, $var2, $var4, $var6, $var8) { var var$6, var$7; nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, 0.0, 0.0, 0.0); $this.$motionX = $this.$motionX * 0.10000000149011612; $this.$motionY = $this.$motionY * 0.10000000149011612; $this.$motionZ = $this.$motionZ * 0.10000000149011612; $this.$field_663_i = jl_Math_random() * 0.30000001192092896 + 0.699999988079071; var$6 = jl_Math_random() * 0.10000000149011612; $this.$field_661_k = var$6; $this.$field_662_j = var$6; var$6 = $this.$field_665_g * 0.75; $this.$field_665_g = var$6; var$6 = var$6 * $var8; $this.$field_665_g = var$6; $this.$field_673_a = var$6; var$7 = 8.0 / (jl_Math_random() * 0.8 + 0.2) | 0; $this.$field_666_f = var$7; $this.$field_666_f = var$7 * $var8 | 0; $this.$field_9314_ba = 0; } function nms_EntityReddustFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$e0 + $var2) / $this.$field_666_f * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$field_665_g = $this.$field_673_a * $var8; $ptr = 1; case 1: nms_EntityFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $ptr); } function nms_EntityReddustFX_onUpdate($this) { var var$1, 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();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$e0; $this.$e0 = var$1 + 1 | 0; if (var$1 >= $this.$field_666_f) { $ptr = 2; continue main; } $this.$field_670_b = 7 - (($this.$e0 * 8 | 0) / $this.$field_666_f | 0) | 0; var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$3, var$4); if ($rt_suspending()) { break main; } if ($this.$posY === $this.$prevPosY) { $this.$motionX = $this.$motionX * 1.1; $this.$motionZ = $this.$motionZ * 1.1; } var$2 = $this.$motionX * 0.9599999785423279; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.9599999785423279; var$3 = $this.$motionZ * 0.9599999785423279; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; case 2: nms_Entity_setEntityDead($this); if ($rt_suspending()) { break main; } $this.$field_670_b = 7 - (($this.$e0 * 8 | 0) / $this.$field_666_f | 0) | 0; var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); } var nms_EntitySlimeFX = $rt_classWithoutFields(nms_EntityFX); function nms_EntitySlimeFX__init_0(var_0, var_1, var_2, var_3, var_4) { var var_5 = new nms_EntitySlimeFX(); nms_EntitySlimeFX__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; } function nms_EntitySlimeFX__init_($this, $var1, $var2, $var4, $var6, $var8) { nms_EntityFX__init_($this, $var1, $var2, $var4, $var6, 0.0, 0.0, 0.0); $this.$field_670_b = $var8.$iconIndex; $this.$field_661_k = 1.0; $this.$field_662_j = 1.0; $this.$field_663_i = 1.0; nms_Block_$callClinit(); $this.$field_664_h = nms_Block_blockSnow.$field_357_bm; $this.$field_665_g = $this.$field_665_g / 2.0; } function nms_EntitySlimeFX_func_404_c($this) { return 2; } function nms_EntitySlimeFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var var$8, $var8, $var9, $var10, $var11, $var12, var$14, var$15, var$16, $var13, $var14, $var15, $var16, var$21, var$22, var$23, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = $this.$field_670_b; $var8 = ((var$8 % 16 | 0) + $this.$field_669_c / 4.0) / 16.0; $var9 = $var8 + 0.015609375201165676; $var10 = ((var$8 / 16 | 0) + $this.$field_668_d / 4.0) / 16.0; $var11 = $var10 + 0.015609375201165676; $var12 = 0.10000000149011612 * $this.$field_665_g; var$14 = $this.$prevPosX; var$15 = $this.$posX - var$14; var$16 = $var2; $var13 = var$14 + var$15 * var$16 - nms_EntityFX_field_660_l; var$14 = $this.$prevPosY; $var14 = var$14 + ($this.$posY - var$14) * var$16 - nms_EntityFX_field_659_m; var$14 = $this.$prevPosZ; $var15 = var$14 + ($this.$posZ - var$14) * var$16 - nms_EntityFX_field_658_n; $ptr = 1; case 1: $tmp = nms_Entity_getEntityBrightness($this, $var2); if ($rt_suspending()) { break main; } $var16 = $tmp; nms_Tessellator_setColorOpaque_F($var1, $var16 * $this.$field_663_i, $var16 * $this.$field_662_j, $var16 * $this.$field_661_k); $var2 = $var3 * $var12; $var3 = $var13 - $var2; $var6 = $var6 * $var12; var$14 = $var3 - $var6; $var4 = $var4 * $var12; var$15 = $var14 - $var4; $var5 = $var5 * $var12; var$21 = $var15 - $var5; $var7 = $var7 * $var12; var$16 = var$21 - $var7; var$22 = $var8; var$23 = $var11; nms_Tessellator_addVertexWithUV($var1, var$14, var$15, var$16, var$22, var$23); var$24 = $var3 + $var6; var$14 = $var14 + $var4; var$16 = var$21 + $var7; var$25 = $var10; nms_Tessellator_addVertexWithUV($var1, var$24, var$14, var$16, var$22, var$25); $var2 = $var13 + $var2; var$16 = $var2 + $var6; $var3 = $var15 + $var5; var$24 = $var3 + $var7; var$22 = $var9; nms_Tessellator_addVertexWithUV($var1, var$16, var$14, var$24, var$22, var$25); nms_Tessellator_addVertexWithUV($var1, $var2 - $var6, var$15, $var3 - $var7, var$22, var$23); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, var$8, $var8, $var9, $var10, $var11, $var12, var$14, var$15, var$16, $var13, $var14, $var15, $var16, var$21, var$22, var$23, var$24, var$25, $ptr); } var nms_NoiseGenerator = $rt_classWithoutFields(); function nms_NoiseGeneratorOctaves2() { var a = this; nms_NoiseGenerator.call(a); a.$field_4234_a = null; a.$field_4233_b = 0; } function nms_NoiseGeneratorOctaves2__init_(var_0, var_1) { var var_2 = new nms_NoiseGeneratorOctaves2(); nms_NoiseGeneratorOctaves2__init_0(var_2, var_0, var_1); return var_2; } function nms_NoiseGeneratorOctaves2__init_0($this, $var1, $var2) { var $var3; $this.$field_4233_b = $var2; $this.$field_4234_a = $rt_createArray(nms_NoiseGenerator2, $var2); $var3 = 0; while ($var3 < $var2) { $this.$field_4234_a.data[$var3] = nms_NoiseGenerator2__init_0($var1); $var3 = $var3 + 1 | 0; } } function nms_NoiseGeneratorOctaves2_func_4112_a($this, $var1, $var2, $var4, $var6, $var7, $var8, $var10, $var12) { var var$9, var$10, var$11, var$12, var$13, var$14; a: { $var8 = $var8 / 1.5; var$9 = $var10 / 1.5; if ($var1 !== null) { var$10 = $var1.data; var$11 = var$10.length; if (var$11 >= $rt_imul($var6, $var7)) { var$12 = 0; while (var$12 < var$11) { var$10[var$12] = 0.0; var$12 = var$12 + 1 | 0; } break a; } } $var1 = $rt_createDoubleArray($rt_imul($var6, $var7)); } $var10 = 1.0; var$13 = 1.0; var$14 = 0; while (var$14 < $this.$field_4233_b) { nms_NoiseGenerator2_func_4157_a($this.$field_4234_a.data[var$14], $var1, $var2, $var4, $var6, $var7, $var8 * var$13, var$9 * var$13, 0.55 / $var10); var$13 = var$13 * $var12; $var10 = $var10 * 0.5; var$14 = var$14 + 1 | 0; } return $var1; } function nms_CraftingInventoryWorkbenchCB() { var a = this; nms_CraftingInventoryCB.call(a); a.$craftMatrix = null; a.$craftResult = null; } function nms_CraftingInventoryWorkbenchCB__init_0() { var var_0 = new nms_CraftingInventoryWorkbenchCB(); nms_CraftingInventoryWorkbenchCB__init_(var_0); return var_0; } function nms_CraftingInventoryWorkbenchCB__init_($this) { var var$1; nms_CraftingInventoryCB__init_($this); var$1 = new nms_InventoryCrafting; var$1.$nbrSlots = 9; var$1.$stackList = $rt_createArray(nms_ItemStack, 9); var$1.$eventHandler = $this; $this.$craftMatrix = var$1; $this.$craftResult = nms_InventoryCraftResult__init_0(); } function nms_CraftingInventoryWorkbenchCB_onCraftMatrixChanged($this, $var1) { var $var2, var$3, $var3, $var4, $var5, $var6; $var2 = $rt_createIntArray(9); var$3 = $var2.data; $var3 = 0; while ($var3 < 3) { $var4 = 0; while ($var4 < 3) { $var5 = $var3 + ($var4 * 3 | 0) | 0; $var6 = nms_InventoryCrafting_getStackInSlot($this.$craftMatrix, $var5); if ($var6 !== null) var$3[$var5] = $var6.$itemID; else var$3[$var5] = (-1); $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } nms_InventoryCraftResult_setInventorySlotContents($this.$craftResult, 0, nms_CraftingManager_craft(nms_CraftingManager_getInstance(), $var2)); } function nms_MapGenBase() { var a = this; jl_Object.call(a); a.$field_1306_a = 0; a.$field_1305_b = null; } function nms_MapGenBase__init_0() { var var_0 = new nms_MapGenBase(); nms_MapGenBase__init_(var_0); return var_0; } function nms_MapGenBase__init_($this) { $this.$field_1306_a = 8; $this.$field_1305_b = new ju_Random; } function nms_MapGenBase_func_867_a($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var11, var$8, var$9, var$10, $var12; $var6 = $this.$field_1306_a; ju_Random_nextLong($this.$field_1305_b); ju_Random_nextLong($this.$field_1305_b); $var11 = $var3 - $var6 | 0; var$8 = $var3 + $var6 | 0; var$9 = $var4 - $var6 | 0; var$10 = $var4 + $var6 | 0; while ($var11 <= var$8) { $var12 = var$9; while ($var12 <= var$10) { $this.$func_868_a($var2, $var11, $var12, $var3, $var4, $var5); $var12 = $var12 + 1 | 0; } $var11 = $var11 + 1 | 0; } } var nms_MapGenCaves = $rt_classWithoutFields(nms_MapGenBase); function nms_MapGenCaves__init_0() { var var_0 = new nms_MapGenCaves(); nms_MapGenCaves__init_(var_0); return var_0; } function nms_MapGenCaves__init_($this) { nms_MapGenBase__init_($this); } function nms_MapGenCaves_func_869_a($this, $var1, $var2, $var3, $var4, $var6, $var8, $var10, $var11, $var12, $var13, $var14, $var15) { var var$13, $var17, var$15, $var19, $var21, $var22, $var23, $var24, $var52, $var25, $var26, $var39, var$25, var$26, var$27, var$28, $var27, $var29, $var31, $var32, var$33, $var33, $var35, $var37, $var49, $var53, $var34, $var54, $var36, $var55, $var38, $var56, $var40, $var41, $var42, $var51, $var43, var$50, $var46, $var57, $var44, $var47, $var48; var$13 = $var1 * 16 | 0; $var17 = var$13 + 8 | 0; var$15 = $var2 * 16 | 0; $var19 = var$15 + 8 | 0; $var21 = 0.0; $var22 = 0.0; $var23 = ju_Random__init_1(ju_Random_nextLong($this.$field_1305_b)); if ($var14 <= 0) { $var24 = ($this.$field_1306_a * 16 | 0) - 16 | 0; $var14 = $var24 - ju_Random_nextInt($var23, $var24 / 4 | 0) | 0; } $var52 = 0; if ($var13 == (-1)) { $var13 = $var14 / 2 | 0; $var52 = 1; } $var25 = ju_Random_nextInt($var23, $var14 / 2 | 0) + ($var14 / 4 | 0) | 0; $var26 = ju_Random_nextInt($var23, 6) ? 0 : 1; $var24 = $rt_compare($var10, 1.0); $var39 = $var10 + 2.0 + 16.0; $var39 = $var39 * $var39; var$25 = $var17 - 16.0; var$26 = $var19 - 16.0; var$27 = $var17 + 16.0; var$28 = $var19 + 16.0; a: { while (true) { if ($var13 >= $var14) break a; $var27 = 1.5 + nms_MathHelper_sin($var13 * 3.1415927410125732 / $var14) * $var10 * 1.0; $var29 = $var27 * $var15; $var31 = nms_MathHelper_cos($var12); $var32 = nms_MathHelper_sin($var12); $var4 = $var4 + nms_MathHelper_cos($var11) * $var31; $var6 = $var6 + $var32; $var8 = $var8 + nms_MathHelper_sin($var11) * $var31; $var12 = (!$var26 ? $var12 * 0.699999988079071 : $var12 * 0.9200000166893005) + $var22 * 0.10000000149011612; $var11 = $var11 + $var21 * 0.10000000149011612; var$33 = $var22 * 0.8999999761581421; $var31 = $var21 * 0.75; $var22 = var$33 + (ju_Random_nextFloat($var23) - ju_Random_nextFloat($var23)) * ju_Random_nextFloat($var23) * 2.0; $var21 = $var31 + (ju_Random_nextFloat($var23) - ju_Random_nextFloat($var23)) * ju_Random_nextFloat($var23) * 4.0; if (!$var52 && $var13 == $var25 && $var24 > 0) { var$33 = ju_Random_nextFloat($var23) * 0.5 + 0.5; $var31 = $var11 - 1.5707963705062866; $var10 = $var12 / 3.0; nms_MapGenCaves_func_869_a($this, $var1, $var2, $var3, $var4, $var6, $var8, var$33, $var31, $var10, $var13, $var14, 1.0); nms_MapGenCaves_func_869_a($this, $var1, $var2, $var3, $var4, $var6, $var8, ju_Random_nextFloat($var23) * 0.5 + 0.5, $var11 + 1.5707963705062866, $var10, $var13, $var14, 1.0); return; } if (!(!$var52 && !ju_Random_nextInt($var23, 4))) { $var33 = $var4 - $var17; $var35 = $var8 - $var19; $var37 = $var14 - $var13 | 0; if ($var33 * $var33 + $var35 * $var35 - $var37 * $var37 > $var39) break; $var49 = $var27 * 2.0; if ($var4 >= var$25 - $var49 && $var8 >= var$26 - $var49 && $var4 <= var$27 + $var49 && $var8 <= var$28 + $var49) { $var53 = (nms_MathHelper_floor_double($var4 - $var27) - var$13 | 0) - 1 | 0; $var34 = (nms_MathHelper_floor_double($var4 + $var27) - var$13 | 0) + 1 | 0; $var54 = nms_MathHelper_floor_double($var6 - $var29) - 1 | 0; $var36 = nms_MathHelper_floor_double($var6 + $var29) + 1 | 0; $var55 = (nms_MathHelper_floor_double($var8 - $var27) - var$15 | 0) - 1 | 0; $var38 = (nms_MathHelper_floor_double($var8 + $var27) - var$15 | 0) + 1 | 0; if ($var53 < 0) $var53 = 0; if ($var34 > 16) $var34 = 16; if ($var54 < 1) $var54 = 1; if ($var36 > 120) $var36 = 120; if ($var55 < 0) $var55 = 0; if ($var38 > 16) $var38 = 16; $var56 = 0; $var40 = $var53; while (!$var56 && $var40 < $var34) { $var41 = $var55; while (!$var56 && $var41 < $var38) { $var42 = $var36 + 1 | 0; while (!$var56) { $var51 = $rt_compare($var42, $var54 - 1 | 0); if ($var51 < 0) break; $var43 = ((($var40 * 16 | 0) + $var41 | 0) * 128 | 0) + $var42 | 0; if ($var42 >= 0 && $var42 < 128) { var$50 = $var3.data; $var46 = var$50[$var43]; nms_Block_$callClinit(); if (!($var46 != nms_Block_waterStill.$blockID && var$50[$var43] != nms_Block_waterMoving.$blockID)) $var56 = 1; if ($var51 && $var40 != $var53 && $var40 != ($var34 - 1 | 0) && $var41 != $var55 && $var41 != ($var38 - 1 | 0)) $var42 = $var54; } $var42 = $var42 + (-1) | 0; } $var41 = $var41 + 1 | 0; } $var40 = $var40 + 1 | 0; } if (!$var56) { while ($var53 < $var34) { $var57 = (($var53 + var$13 | 0) + 0.5 - $var4) / $var27; $var33 = $var57 * $var57; $var43 = $var55; while ($var43 < $var38) { $var44 = (($var43 + var$15 | 0) + 0.5 - $var8) / $var27; $var46 = ((($var53 * 16 | 0) + $var43 | 0) * 128 | 0) + $var36 | 0; $var47 = 0; $var48 = $var36 - 1 | 0; $var44 = $var44 * $var44; while ($var48 >= $var54) { $var49 = ($var48 + 0.5 - $var6) / $var29; if ($var49 > (-0.7) && $var33 + $var49 * $var49 + $var44 < 1.0) { var$50 = $var3.data; $var51 = var$50[$var46]; nms_Block_$callClinit(); $var40 = nms_Block_grass.$blockID; $var56 = $rt_compare($var51, $var40); if (!$var56) $var47 = 1; if (!($var51 != nms_Block_stone.$blockID && $var51 != nms_Block_dirt.$blockID && $var56)) { if ($var48 < 10) var$50[$var46] = nms_Block_lavaStill.$blockID << 24 >> 24; else { var$50[$var46] = 0; if ($var47) { $var41 = $var46 - 1 | 0; if (var$50[$var41] == nms_Block_dirt.$blockID) var$50[$var41] = $var40 << 24 >> 24; } } } } $var46 = $var46 + (-1) | 0; $var48 = $var48 + (-1) | 0; } $var43 = $var43 + 1 | 0; } $var53 = $var53 + 1 | 0; } if ($var52) break a; } } } $var13 = $var13 + 1 | 0; } return; } } function nms_MapGenCaves_func_868_a($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8, var$9, var$10, $var9, $var11, $var13, $var15, $var16, $var17, $var18; $var1 = $this.$field_1305_b; $var7 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 40) + 1 | 0) + 1 | 0); if (ju_Random_nextInt($this.$field_1305_b, 15)) $var7 = 0; $var8 = 0; var$9 = $var2 * 16 | 0; var$10 = $var3 * 16 | 0; while ($var8 < $var7) { $var9 = var$9 + ju_Random_nextInt($this.$field_1305_b, 16) | 0; $var1 = $this.$field_1305_b; $var11 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, 120) + 8 | 0); $var13 = var$10 + ju_Random_nextInt($this.$field_1305_b, 16) | 0; $var15 = 1; if (!ju_Random_nextInt($this.$field_1305_b, 4)) { nms_MapGenCaves_func_869_a($this, $var4, $var5, $var6, $var9, $var11, $var13, 1.0 + ju_Random_nextFloat($this.$field_1305_b) * 6.0, 0.0, 0.0, (-1), (-1), 0.5); $var15 = $var15 + ju_Random_nextInt($this.$field_1305_b, 4) | 0; } $var16 = 0; while ($var16 < $var15) { $var17 = ju_Random_nextFloat($this.$field_1305_b) * 3.1415927410125732 * 2.0; $var18 = (ju_Random_nextFloat($this.$field_1305_b) - 0.5) * 2.0 / 8.0; nms_MapGenCaves_func_869_a($this, $var4, $var5, $var6, $var9, $var11, $var13, ju_Random_nextFloat($this.$field_1305_b) * 2.0 + ju_Random_nextFloat($this.$field_1305_b), $var17, $var18, 0, 0, 1.0); $var16 = $var16 + 1 | 0; } $var8 = $var8 + 1 | 0; } } function nms_NoiseGeneratorOctaves() { var a = this; nms_NoiseGenerator.call(a); a.$generatorCollection = null; a.$field_1191_b = 0; } function nms_NoiseGeneratorOctaves__init_(var_0, var_1) { var var_2 = new nms_NoiseGeneratorOctaves(); nms_NoiseGeneratorOctaves__init_0(var_2, var_0, var_1); return var_2; } function nms_NoiseGeneratorOctaves__init_0($this, $var1, $var2) { var $var3; $this.$field_1191_b = $var2; $this.$generatorCollection = $rt_createArray(nms_NoiseGeneratorPerlin, $var2); $var3 = 0; while ($var3 < $var2) { $this.$generatorCollection.data[$var3] = nms_NoiseGeneratorPerlin__init_0($var1); $var3 = $var3 + 1 | 0; } } function nms_NoiseGeneratorOctaves_func_806_a($this, $var1, $var3) { var $var5, $var7, $var9; $var5 = 0.0; $var7 = 1.0; $var9 = 0; while ($var9 < $this.$field_1191_b) { $var5 = $var5 + nms_NoiseGeneratorPerlin_generateNoise($this.$generatorCollection.data[$var9], $var1 * $var7, $var3 * $var7, 0.0) / $var7; $var7 = $var7 / 2.0; $var9 = $var9 + 1 | 0; } return $var5; } function nms_NoiseGeneratorOctaves_func_807_a($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var11, $var13, $var15) { var $var17, var$12, $var20, $var19; if ($var1 === null) $var1 = $rt_createDoubleArray($rt_imul($rt_imul($var8, $var9), $var10)); else { $var17 = 0; while (true) { var$12 = $var1.data; if ($var17 >= var$12.length) break; var$12[$var17] = 0.0; $var17 = $var17 + 1 | 0; } } $var20 = 1.0; $var19 = 0; while ($var19 < $this.$field_1191_b) { nms_NoiseGeneratorPerlin_func_805_a($this.$generatorCollection.data[$var19], $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var11 * $var20, $var13 * $var20, $var15 * $var20, $var20); $var20 = $var20 / 2.0; $var19 = $var19 + 1 | 0; } return $var1; } function nms_NoiseGeneratorOctaves_func_4109_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var8, $var10) { return nms_NoiseGeneratorOctaves_func_807_a($this, $var1, $var2, 10.0, $var3, $var4, 1, $var5, $var6, 1.0, $var8); } var nms_MapGenCavesHell = $rt_classWithoutFields(nms_MapGenBase); function nms_MapGenCavesHell__init_0() { var var_0 = new nms_MapGenCavesHell(); nms_MapGenCavesHell__init_(var_0); return var_0; } function nms_MapGenCavesHell__init_($this) { nms_MapGenBase__init_($this); } function nms_MapGenCavesHell_func_4128_a($this, $var1, $var2, $var3, $var4, $var6, $var8, $var10, $var11, $var12, $var13, $var14, $var15) { var var$13, $var17, var$15, $var19, $var21, $var22, $var23, $var24, $var51, $var25, $var26, $var39, var$25, var$26, var$27, var$28, $var27, $var29, $var31, $var32, var$33, $var33, $var35, $var37, $var48, $var52, $var34, $var53, $var36, $var54, $var38, $var55, $var40, $var41, $var42, $var50, $var43, var$50, $var47, $var56, $var44, $var46; var$13 = $var1 * 16 | 0; $var17 = var$13 + 8 | 0; var$15 = $var2 * 16 | 0; $var19 = var$15 + 8 | 0; $var21 = 0.0; $var22 = 0.0; $var23 = ju_Random__init_1(ju_Random_nextLong($this.$field_1305_b)); if ($var14 <= 0) { $var24 = ($this.$field_1306_a * 16 | 0) - 16 | 0; $var14 = $var24 - ju_Random_nextInt($var23, $var24 / 4 | 0) | 0; } $var51 = 0; if ($var13 == (-1)) { $var13 = $var14 / 2 | 0; $var51 = 1; } $var25 = ju_Random_nextInt($var23, $var14 / 2 | 0) + ($var14 / 4 | 0) | 0; $var26 = ju_Random_nextInt($var23, 6) ? 0 : 1; $var24 = $rt_compare($var10, 1.0); $var39 = $var10 + 2.0 + 16.0; $var39 = $var39 * $var39; var$25 = $var17 - 16.0; var$26 = $var19 - 16.0; var$27 = $var17 + 16.0; var$28 = $var19 + 16.0; a: { while (true) { if ($var13 >= $var14) break a; $var27 = 1.5 + nms_MathHelper_sin($var13 * 3.1415927410125732 / $var14) * $var10 * 1.0; $var29 = $var27 * $var15; $var31 = nms_MathHelper_cos($var12); $var32 = nms_MathHelper_sin($var12); $var4 = $var4 + nms_MathHelper_cos($var11) * $var31; $var6 = $var6 + $var32; $var8 = $var8 + nms_MathHelper_sin($var11) * $var31; $var12 = (!$var26 ? $var12 * 0.699999988079071 : $var12 * 0.9200000166893005) + $var22 * 0.10000000149011612; $var11 = $var11 + $var21 * 0.10000000149011612; var$33 = $var22 * 0.8999999761581421; $var31 = $var21 * 0.75; $var22 = var$33 + (ju_Random_nextFloat($var23) - ju_Random_nextFloat($var23)) * ju_Random_nextFloat($var23) * 2.0; $var21 = $var31 + (ju_Random_nextFloat($var23) - ju_Random_nextFloat($var23)) * ju_Random_nextFloat($var23) * 4.0; if (!$var51 && $var13 == $var25 && $var24 > 0) { $var10 = ju_Random_nextFloat($var23) * 0.5 + 0.5; var$33 = $var11 - 1.5707963705062866; $var12 = $var12 / 3.0; nms_MapGenCavesHell_func_4128_a($this, $var1, $var2, $var3, $var4, $var6, $var8, $var10, var$33, $var12, $var13, $var14, 1.0); nms_MapGenCavesHell_func_4128_a($this, $var1, $var2, $var3, $var4, $var6, $var8, ju_Random_nextFloat($var23) * 0.5 + 0.5, $var11 + 1.5707963705062866, $var12, $var13, $var14, 1.0); return; } if (!(!$var51 && !ju_Random_nextInt($var23, 4))) { $var33 = $var4 - $var17; $var35 = $var8 - $var19; $var37 = $var14 - $var13 | 0; if ($var33 * $var33 + $var35 * $var35 - $var37 * $var37 > $var39) break; $var48 = $var27 * 2.0; if ($var4 >= var$25 - $var48 && $var8 >= var$26 - $var48 && $var4 <= var$27 + $var48 && $var8 <= var$28 + $var48) { $var52 = (nms_MathHelper_floor_double($var4 - $var27) - var$13 | 0) - 1 | 0; $var34 = (nms_MathHelper_floor_double($var4 + $var27) - var$13 | 0) + 1 | 0; $var53 = nms_MathHelper_floor_double($var6 - $var29) - 1 | 0; $var36 = nms_MathHelper_floor_double($var6 + $var29) + 1 | 0; $var54 = (nms_MathHelper_floor_double($var8 - $var27) - var$15 | 0) - 1 | 0; $var38 = (nms_MathHelper_floor_double($var8 + $var27) - var$15 | 0) + 1 | 0; if ($var52 < 0) $var52 = 0; if ($var34 > 16) $var34 = 16; if ($var53 < 1) $var53 = 1; if ($var36 > 120) $var36 = 120; if ($var54 < 0) $var54 = 0; if ($var38 > 16) $var38 = 16; $var55 = 0; $var40 = $var52; while (!$var55 && $var40 < $var34) { $var41 = $var54; while (!$var55 && $var41 < $var38) { $var42 = $var36 + 1 | 0; while (!$var55) { $var50 = $rt_compare($var42, $var53 - 1 | 0); if ($var50 < 0) break; $var43 = ((($var40 * 16 | 0) + $var41 | 0) * 128 | 0) + $var42 | 0; if ($var42 >= 0 && $var42 < 128) { var$50 = $var3.data; $var47 = var$50[$var43]; nms_Block_$callClinit(); if (!($var47 != nms_Block_lavaStill.$blockID && var$50[$var43] != nms_Block_lavaMoving.$blockID)) $var55 = 1; if ($var50 && $var40 != $var52 && $var40 != ($var34 - 1 | 0) && $var41 != $var54 && $var41 != ($var38 - 1 | 0)) $var42 = $var53; } $var42 = $var42 + (-1) | 0; } $var41 = $var41 + 1 | 0; } $var40 = $var40 + 1 | 0; } if (!$var55) { while ($var52 < $var34) { $var56 = (($var52 + var$13 | 0) + 0.5 - $var4) / $var27; $var33 = $var56 * $var56; $var43 = $var54; while ($var43 < $var38) { $var44 = (($var43 + var$15 | 0) + 0.5 - $var8) / $var27; $var46 = ((($var52 * 16 | 0) + $var43 | 0) * 128 | 0) + $var36 | 0; $var47 = $var36 - 1 | 0; $var56 = $var44 * $var44; while ($var47 >= $var53) { $var48 = ($var47 + 0.5 - $var6) / $var29; if ($var48 > (-0.7) && $var33 + $var48 * $var48 + $var56 < 1.0) { var$50 = $var3.data; $var50 = var$50[$var46]; nms_Block_$callClinit(); if (!($var50 != nms_Block_bloodStone.$blockID && $var50 != nms_Block_dirt.$blockID && $var50 != nms_Block_grass.$blockID)) var$50[$var46] = 0; } $var46 = $var46 + (-1) | 0; $var47 = $var47 + (-1) | 0; } $var43 = $var43 + 1 | 0; } $var52 = $var52 + 1 | 0; } if ($var51) break a; } } } $var13 = $var13 + 1 | 0; } return; } } function nms_MapGenCavesHell_func_868_a($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, $var8, $var9, $var11, $var13, $var15, $var16, $var17, $var18; $var1 = $this.$field_1305_b; $var7 = ju_Random_nextInt($var1, ju_Random_nextInt($var1, ju_Random_nextInt($var1, 10) + 1 | 0) + 1 | 0); if (ju_Random_nextInt($this.$field_1305_b, 5)) $var7 = 0; $var8 = 0; $var2 = $var2 * 16 | 0; $var3 = $var3 * 16 | 0; while ($var8 < $var7) { $var9 = $var2 + ju_Random_nextInt($this.$field_1305_b, 16) | 0; $var11 = ju_Random_nextInt($this.$field_1305_b, 128); $var13 = $var3 + ju_Random_nextInt($this.$field_1305_b, 16) | 0; $var15 = 1; if (!ju_Random_nextInt($this.$field_1305_b, 4)) { nms_MapGenCavesHell_func_4128_a($this, $var4, $var5, $var6, $var9, $var11, $var13, 1.0 + ju_Random_nextFloat($this.$field_1305_b) * 6.0, 0.0, 0.0, (-1), (-1), 0.5); $var15 = $var15 + ju_Random_nextInt($this.$field_1305_b, 4) | 0; } $var16 = 0; while ($var16 < $var15) { $var17 = ju_Random_nextFloat($this.$field_1305_b) * 3.1415927410125732 * 2.0; $var18 = (ju_Random_nextFloat($this.$field_1305_b) - 0.5) * 2.0 / 8.0; nms_MapGenCavesHell_func_4128_a($this, $var4, $var5, $var6, $var9, $var11, $var13, (ju_Random_nextFloat($this.$field_1305_b) * 2.0 + ju_Random_nextFloat($this.$field_1305_b)) * 2.0, $var17, $var18, 0, 0, 0.5); $var16 = $var16 + 1 | 0; } $var8 = $var8 + 1 | 0; } } function nms_NoiseGenerator2() { var a = this; jl_Object.call(a); a.$field_4295_e = null; a.$field_4292_a = 0.0; a.$field_4291_b = 0.0; a.$field_4297_c = 0.0; } var nms_NoiseGenerator2_field_4296_d = null; var nms_NoiseGenerator2_field_4294_f = 0.0; var nms_NoiseGenerator2_field_4293_g = 0.0; function nms_NoiseGenerator2__init_1() { var var_0 = new nms_NoiseGenerator2(); nms_NoiseGenerator2__init_(var_0); return var_0; } function nms_NoiseGenerator2__init_0(var_0) { var var_1 = new nms_NoiseGenerator2(); nms_NoiseGenerator2__init_2(var_1, var_0); return var_1; } function nms_NoiseGenerator2__init_($this) { nms_NoiseGenerator2__init_2($this, new ju_Random); } function nms_NoiseGenerator2__init_2($this, $var1) { var $var2, var$3, $var2_0, $var3, $var4; $this.$field_4295_e = $rt_createIntArray(512); $this.$field_4292_a = ju_Random_nextDouble($var1) * 256.0; $this.$field_4291_b = ju_Random_nextDouble($var1) * 256.0; $this.$field_4297_c = ju_Random_nextDouble($var1) * 256.0; $var2 = 0; while ($var2 < 256) { var$3 = $this.$field_4295_e.data; $var2_0 = $var2 + 1 | 0; var$3[$var2] = $var2; $var2 = $var2_0; } $var2 = 0; while ($var2 < 256) { $var3 = ju_Random_nextInt($var1, 256 - $var2 | 0) + $var2 | 0; var$3 = $this.$field_4295_e.data; $var4 = var$3[$var2]; var$3[$var2] = var$3[$var3]; var$3[$var3] = $var4; var$3[$var2 + 256 | 0] = var$3[$var2]; $var2 = $var2 + 1 | 0; } } function nms_NoiseGenerator2_func_4155_a($var0) { return $var0 > 0.0 ? $var0 | 0 : ($var0 | 0) - 1 | 0; } function nms_NoiseGenerator2_func_4156_a($var0, $var1, $var3) { $var0 = $var0.data; return $var0[0] * $var1 + $var0[1] * $var3; } function nms_NoiseGenerator2_func_4157_a($this, $var1, $var2, $var4, $var6, $var7, $var8, $var10, $var12) { var $var14, $var15, $var16, $var18, $var19, $var27, $var29, $var30, $var47, $var31, $var33, $var35, $var37, $var39, $var41, $var42, $var43, $var45, $var49, $var51, $var52, var$30, $var53, $var54, $var55, $var56, $var21, $var58, $var23, $var60, $var25; $var14 = 0; $var15 = 0; while ($var15 < $var6) { $var16 = ($var2 + $var15) * $var8 + $this.$field_4292_a; $var18 = 0; while ($var18 < $var7) { $var19 = ($var4 + $var18) * $var10 + $this.$field_4291_b; $var27 = ($var16 + $var19) * nms_NoiseGenerator2_field_4294_f; $var29 = nms_NoiseGenerator2_func_4155_a($var16 + $var27); $var30 = nms_NoiseGenerator2_func_4155_a($var19 + $var27); $var27 = $var29 + $var30 | 0; $var47 = nms_NoiseGenerator2_field_4293_g; $var31 = $var27 * $var47; $var33 = $var29 - $var31; $var35 = $var30 - $var31; $var37 = $var16 - $var33; $var39 = $var19 - $var35; if ($var37 <= $var39) { $var41 = 0; $var42 = 1; } else { $var41 = 1; $var42 = 0; } $var43 = $var37 - $var41 + $var47; $var45 = $var39 - $var42 + $var47; $var19 = $var37 - 1.0; $var27 = 2.0 * $var47; $var47 = $var19 + $var27; $var49 = $var39 - 1.0 + $var27; $var51 = $var29 & 255; $var52 = $var30 & 255; var$30 = $this.$field_4295_e.data; $var53 = var$30[$var51 + var$30[$var52] | 0] % 12 | 0; $var54 = var$30[($var51 + $var41 | 0) + var$30[$var52 + $var42 | 0] | 0] % 12 | 0; $var55 = var$30[($var51 + 1 | 0) + var$30[$var52 + 1 | 0] | 0] % 12 | 0; $var56 = 0.5 - $var37 * $var37 - $var39 * $var39; if ($var56 < 0.0) $var21 = 0.0; else { $var19 = $var56 * $var56; $var21 = $var19 * $var19 * nms_NoiseGenerator2_func_4156_a(nms_NoiseGenerator2_field_4296_d.data[$var53], $var37, $var39); } $var58 = 0.5 - $var43 * $var43 - $var45 * $var45; if ($var58 < 0.0) $var23 = 0.0; else { $var19 = $var58 * $var58; $var23 = $var19 * $var19 * nms_NoiseGenerator2_func_4156_a(nms_NoiseGenerator2_field_4296_d.data[$var54], $var43, $var45); } $var60 = 0.5 - $var47 * $var47 - $var49 * $var49; if ($var60 < 0.0) $var25 = 0.0; else { $var19 = $var60 * $var60; $var25 = $var19 * $var19 * nms_NoiseGenerator2_func_4156_a(nms_NoiseGenerator2_field_4296_d.data[$var55], $var47, $var49); } var$30 = $var1.data; $var29 = $var14 + 1 | 0; var$30[$var14] = var$30[$var14] + 70.0 * ($var21 + $var23 + $var25) * $var12; $var18 = $var18 + 1 | 0; $var14 = $var29; } $var15 = $var15 + 1 | 0; } } function nms_NoiseGenerator2__clinit_() { nms_NoiseGenerator2_field_4296_d = $rt_createArrayFromData($rt_arraycls($rt_intcls()), [$rt_createIntArrayFromData([1, 1, 0]), $rt_createIntArrayFromData([(-1), 1, 0]), $rt_createIntArrayFromData([1, (-1), 0]), $rt_createIntArrayFromData([(-1), (-1), 0]), $rt_createIntArrayFromData([1, 0, 1]), $rt_createIntArrayFromData([(-1), 0, 1]), $rt_createIntArrayFromData([1, 0, (-1)]), $rt_createIntArrayFromData([(-1), 0, (-1)]), $rt_createIntArrayFromData([0, 1, 1]), $rt_createIntArrayFromData([0, (-1), 1]), $rt_createIntArrayFromData([0, 1, (-1)]), $rt_createIntArrayFromData([0, (-1), (-1)])]); nms_NoiseGenerator2_field_4294_f = 0.5 * (jl_Math_sqrt(3.0) - 1.0); nms_NoiseGenerator2_field_4293_g = (3.0 - jl_Math_sqrt(3.0)) / 6.0; } function nms_NoiseGeneratorPerlin() { var a = this; nms_NoiseGenerator.call(a); a.$permutations = null; a.$xCoord2 = 0.0; a.$yCoord2 = 0.0; a.$zCoord2 = 0.0; } function nms_NoiseGeneratorPerlin__init_1() { var var_0 = new nms_NoiseGeneratorPerlin(); nms_NoiseGeneratorPerlin__init_(var_0); return var_0; } function nms_NoiseGeneratorPerlin__init_0(var_0) { var var_1 = new nms_NoiseGeneratorPerlin(); nms_NoiseGeneratorPerlin__init_2(var_1, var_0); return var_1; } function nms_NoiseGeneratorPerlin__init_($this) { nms_NoiseGeneratorPerlin__init_2($this, new ju_Random); } function nms_NoiseGeneratorPerlin__init_2($this, $var1) { var $var2, var$3, $var2_0, $var3, $var4; $this.$permutations = $rt_createIntArray(512); $this.$xCoord2 = ju_Random_nextDouble($var1) * 256.0; $this.$yCoord2 = ju_Random_nextDouble($var1) * 256.0; $this.$zCoord2 = ju_Random_nextDouble($var1) * 256.0; $var2 = 0; while ($var2 < 256) { var$3 = $this.$permutations.data; $var2_0 = $var2 + 1 | 0; var$3[$var2] = $var2; $var2 = $var2_0; } $var2 = 0; while ($var2 < 256) { $var3 = ju_Random_nextInt($var1, 256 - $var2 | 0) + $var2 | 0; var$3 = $this.$permutations.data; $var4 = var$3[$var2]; var$3[$var2] = var$3[$var3]; var$3[$var3] = $var4; var$3[$var2 + 256 | 0] = var$3[$var2]; $var2 = $var2 + 1 | 0; } } function nms_NoiseGeneratorPerlin_generateNoise($this, $var1, $var3, $var5) { var $var7, $var9, $var11, $var13, $var14, $var15, $var16, $var17, $var18, var$13, $var19, $var21, $var23, var$17, $var25, $var26, $var27, $var28, $var29, $var30; $var7 = $var1 + $this.$xCoord2; $var9 = $var3 + $this.$yCoord2; $var11 = $var5 + $this.$zCoord2; $var13 = $var7 | 0; $var14 = $var9 | 0; $var15 = $var11 | 0; if ($var7 < $var13) $var13 = $var13 + (-1) | 0; if ($var9 < $var14) $var14 = $var14 + (-1) | 0; if ($var11 < $var15) $var15 = $var15 + (-1) | 0; $var16 = $var13 & 255; $var17 = $var14 & 255; $var18 = $var15 & 255; $var3 = $var7 - $var13; $var5 = $var9 - $var14; var$13 = $var11 - $var15; $var19 = $var3 * $var3 * $var3 * ($var3 * ($var3 * 6.0 - 15.0) + 10.0); $var21 = $var5 * $var5 * $var5 * ($var5 * ($var5 * 6.0 - 15.0) + 10.0); $var23 = var$13 * var$13 * var$13 * (var$13 * (var$13 * 6.0 - 15.0) + 10.0); var$17 = $this.$permutations.data; $var25 = var$17[$var16] + $var17 | 0; $var26 = var$17[$var25] + $var18 | 0; $var27 = var$17[$var25 + 1 | 0] + $var18 | 0; $var28 = var$17[$var16 + 1 | 0] + $var17 | 0; $var29 = var$17[$var28] + $var18 | 0; $var30 = var$17[$var28 + 1 | 0] + $var18 | 0; $var1 = nms_NoiseGeneratorPerlin_grad($this, var$17[$var26], $var3, $var5, var$13); $var16 = $this.$permutations.data[$var29]; $var7 = $var3 - 1.0; $var1 = nms_NoiseGeneratorPerlin_lerp($this, $var19, $var1, nms_NoiseGeneratorPerlin_grad($this, $var16, $var7, $var5, var$13)); $var16 = $this.$permutations.data[$var27]; $var9 = $var5 - 1.0; $var1 = nms_NoiseGeneratorPerlin_lerp($this, $var21, $var1, nms_NoiseGeneratorPerlin_lerp($this, $var19, nms_NoiseGeneratorPerlin_grad($this, $var16, $var3, $var9, var$13), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var30], $var7, $var9, var$13))); $var16 = $this.$permutations.data[$var26 + 1 | 0]; $var11 = var$13 - 1.0; return nms_NoiseGeneratorPerlin_lerp($this, $var23, $var1, nms_NoiseGeneratorPerlin_lerp($this, $var21, nms_NoiseGeneratorPerlin_lerp($this, $var19, nms_NoiseGeneratorPerlin_grad($this, $var16, $var3, $var5, $var11), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var29 + 1 | 0], $var7, $var5, $var11)), nms_NoiseGeneratorPerlin_lerp($this, $var19, nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var27 + 1 | 0], $var3, $var9, $var11), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var30 + 1 | 0], $var7, $var9, $var11)))); } function nms_NoiseGeneratorPerlin_lerp($this, $var1, $var3, $var5) { return $var3 + $var1 * ($var5 - $var3); } function nms_NoiseGeneratorPerlin_func_4110_a($this, $var1, $var9, $var9_0) { var $var6, $var7; $var6 = $var1 & 15; $var7 = (1 - (($var6 & 8) >> 3) | 0) * $var9; if ($var6 < 4) $var9 = 0.0; else if ($var6 != 12 && $var6 != 14) $var9 = $var9_0; if ($var6 & 1) $var7 = -$var7; if ($var6 & 2) $var9 = -$var9; return $var7 + $var9; } function nms_NoiseGeneratorPerlin_grad($this, $var1, $var11, $var11_0, $var11_1) { var $var8, $var9; $var8 = $var1 & 15; $var9 = $var8 >= 8 ? $var11_0 : $var11; if ($var8 >= 4) $var11_0 = $var8 != 12 && $var8 != 14 ? $var11_1 : $var11; if ($var8 & 1) $var9 = -$var9; if ($var8 & 2) $var11_0 = -$var11_0; return $var9 + $var11_0; } function nms_NoiseGeneratorPerlin_func_805_a($this, $var1, $var2, $var4, $var6, $var8, $var9, $var10, $var11, $var13, $var15, $var17) { var $var75, $var77, $var30, $var31, $var78, $var34, $var33, $var35, $var37, $var44, $var38, $var40, var$24, $var41, $var42, var$27, $var66, $var22, $var79, $var19, $var20, $var29, var$34, $var45, $var47, $var48, $var49, $var51, $var52, $var54, $var55, $var56, $var69, $var71, $var72, $var74, $var76, $var62; a: { if ($var9 == 1) { $var75 = 0; $var77 = 1.0 / $var17; $var30 = 0; while ($var30 < $var8) { $var31 = ($var2 + $var30) * $var11 + $this.$xCoord2; $var78 = $var31 | 0; if ($var31 < $var78) $var78 = $var78 + (-1) | 0; $var34 = $var78 & 255; $var33 = $var31 - $var78; $var35 = $var33 * $var33 * $var33 * ($var33 * ($var33 * 6.0 - 15.0) + 10.0); $var37 = 0; $var44 = $var34 + 1 | 0; $var31 = $var33 - 1.0; while ($var37 < $var10) { $var38 = ($var6 + $var37) * $var15 + $this.$zCoord2; $var40 = $var38 | 0; if ($var38 < $var40) $var40 = $var40 + (-1) | 0; var$24 = $var1.data; $var41 = $var40 & 255; $var4 = $var38 - $var40; $var42 = $var4 * $var4 * $var4 * ($var4 * ($var4 * 6.0 - 15.0) + 10.0); var$27 = $this.$permutations.data; $var66 = var$27[var$27[$var34] + 0 | 0] + $var41 | 0; $var22 = var$27[var$27[$var44] + 0 | 0] + $var41 | 0; $var13 = nms_NoiseGeneratorPerlin_lerp($this, $var35, nms_NoiseGeneratorPerlin_func_4110_a($this, var$27[$var66], $var33, $var4), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var22], $var31, 0.0, $var4)); $var9 = $this.$permutations.data[$var66 + 1 | 0]; $var4 = $var4 - 1.0; $var79 = nms_NoiseGeneratorPerlin_lerp($this, $var42, $var13, nms_NoiseGeneratorPerlin_lerp($this, $var35, nms_NoiseGeneratorPerlin_grad($this, $var9, $var33, 0.0, $var4), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var22 + 1 | 0], $var31, 0.0, $var4))); $var9 = $var75 + 1 | 0; var$24[$var75] = var$24[$var75] + $var79 * $var77; $var37 = $var37 + 1 | 0; $var75 = $var9; } $var30 = $var30 + 1 | 0; } } else { $var19 = 0; $var20 = 1.0 / $var17; $var22 = (-1); $var29 = 0.0; $var31 = 0.0; $var33 = 0.0; $var35 = 0.0; $var37 = 0; while (true) { if ($var37 >= $var8) break a; $var38 = ($var2 + $var37) * $var11 + $this.$xCoord2; $var40 = $var38 | 0; if ($var38 < $var40) $var40 = $var40 + (-1) | 0; $var41 = $var40 & 255; var$34 = $var38 - $var40; $var42 = var$34 * var$34 * var$34 * (var$34 * (var$34 * 6.0 - 15.0) + 10.0); $var44 = 0; $var40 = $var41 + 1 | 0; $var79 = var$34 - 1.0; while ($var44 < $var10) { $var45 = ($var6 + $var44) * $var15 + $this.$zCoord2; $var47 = $var45 | 0; if ($var45 < $var47) $var47 = $var47 + (-1) | 0; $var48 = $var47 & 255; $var77 = $var45 - $var47; $var49 = $var77 * $var77 * $var77 * ($var77 * ($var77 * 6.0 - 15.0) + 10.0); $var51 = 0; $var38 = $var77 - 1.0; while ($var51 < $var9) { $var52 = ($var4 + $var51) * $var13 + $this.$yCoord2; $var54 = $var52 | 0; if ($var52 < $var54) $var54 = $var54 + (-1) | 0; $var55 = $var54 & 255; $var17 = $var52 - $var54; $var56 = $var17 * $var17 * $var17 * ($var17 * ($var17 * 6.0 - 15.0) + 10.0); if ($var51 && $var55 == $var22) $var55 = $var22; else { var$27 = $this.$permutations.data; $var69 = var$27[$var41] + $var55 | 0; $var71 = var$27[$var69] + $var48 | 0; $var72 = var$27[$var69 + 1 | 0] + $var48 | 0; $var74 = var$27[$var40] + $var55 | 0; $var75 = var$27[$var74] + $var48 | 0; $var76 = var$27[$var74 + 1 | 0] + $var48 | 0; $var29 = nms_NoiseGeneratorPerlin_lerp($this, $var42, nms_NoiseGeneratorPerlin_grad($this, var$27[$var71], var$34, $var17, $var77), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var75], $var79, $var17, $var77)); $var22 = $this.$permutations.data[$var72]; $var45 = $var17 - 1.0; $var31 = nms_NoiseGeneratorPerlin_lerp($this, $var42, nms_NoiseGeneratorPerlin_grad($this, $var22, var$34, $var45, $var77), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var76], $var79, $var45, $var77)); $var33 = nms_NoiseGeneratorPerlin_lerp($this, $var42, nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var71 + 1 | 0], var$34, $var17, $var38), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var75 + 1 | 0], $var79, $var17, $var38)); $var35 = nms_NoiseGeneratorPerlin_lerp($this, $var42, nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var72 + 1 | 0], var$34, $var45, $var38), nms_NoiseGeneratorPerlin_grad($this, $this.$permutations.data[$var76 + 1 | 0], $var79, $var45, $var38)); } var$27 = $var1.data; $var62 = nms_NoiseGeneratorPerlin_lerp($this, $var49, nms_NoiseGeneratorPerlin_lerp($this, $var56, $var29, $var31), nms_NoiseGeneratorPerlin_lerp($this, $var56, $var33, $var35)); $var22 = $var19 + 1 | 0; var$27[$var19] = var$27[$var19] + $var62 * $var20; $var51 = $var51 + 1 | 0; $var19 = $var22; $var22 = $var55; } $var44 = $var44 + 1 | 0; } $var37 = $var37 + 1 | 0; } } } } function nms_Teleporter() { jl_Object.call(this); this.$field_4232_a = null; } function nms_Teleporter__init_0() { var var_0 = new nms_Teleporter(); nms_Teleporter__init_(var_0); return var_0; } function nms_Teleporter__init_($this) { $this.$field_4232_a = new ju_Random; } function nms_Teleporter_func_4106_b($this, $var1, $var2) { var $var4, $var6, $var7, $var8, $var9, $var10, $var11, var$10, var$11, $var3, $var22, $var16, $var18, $var12, $var14, $var15, $var17, $var20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();$var20 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var22 = $thread.pop();$var3 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = (-1.0); $var6 = 0; $var7 = 0; $var8 = 0; $var9 = nms_MathHelper_floor_double($var2.$posX); $var10 = nms_MathHelper_floor_double($var2.$posZ); $var11 = $var9 - 128 | 0; var$10 = $var9 + 128 | 0; var$11 = $var10 - 128 | 0; $var3 = $var10 + 128 | 0; a: while (true) { if ($var11 > var$10) { if ($var4 < 0.0) return 0; $var22 = $var6 + 0.5; $var16 = $var7 + 0.5; $var18 = $var8 + 0.5; $var3 = $var6 - 1 | 0; $ptr = 1; continue main; } $var12 = $var11 + 0.5 - $var2.$posX; $var12 = $var12 * $var12; $var14 = var$11; while ($var14 <= $var3) { $var15 = $var14 + 0.5 - $var2.$posZ; $var17 = 127; $var15 = $var15 * $var15; if ($var17 >= 0) break a; $var14 = $var14 + 1 | 0; } $var11 = $var11 + 1 | 0; } $ptr = 3; continue main; case 1: $tmp = nms_World_getBlockId($var1, $var3, $var7, $var8); if ($rt_suspending()) { break main; } $var3 = $tmp; nms_Block_$callClinit(); if ($var3 == nms_Block_portal.$blockID) $var22 = $var22 - 0.5; $var3 = $var6 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var3, $var7, $var8); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 == nms_Block_portal.$blockID) $var22 = $var22 + 0.5; $var3 = $var8 - 1 | 0; $ptr = 4; continue main; case 3: $tmp = nms_World_getBlockId($var1, $var11, $var17, $var14); if ($rt_suspending()) { break main; } $var9 = $tmp; nms_Block_$callClinit(); if ($var9 == nms_Block_portal.$blockID) { $var9 = $var17; $var17 = $var9 - 1 | 0; $ptr = 5; continue main; } $var17 = $var17 + (-1) | 0; while ($var17 < 0) { $var14 = $var14 + 1 | 0; while ($var14 > $var3) { $var11 = $var11 + 1 | 0; if ($var11 > var$10) { if ($var4 < 0.0) return 0; $var22 = $var6 + 0.5; $var16 = $var7 + 0.5; $var18 = $var8 + 0.5; $var3 = $var6 - 1 | 0; $ptr = 1; continue main; } $var12 = $var11 + 0.5 - $var2.$posX; $var12 = $var12 * $var12; $var14 = var$11; } $var15 = $var14 + 0.5 - $var2.$posZ; $var17 = 127; $var15 = $var15 * $var15; } continue main; case 4: $tmp = nms_World_getBlockId($var1, $var6, $var7, $var3); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 == nms_Block_portal.$blockID) $var18 = $var18 - 0.5; $var3 = $var8 + 1 | 0; $ptr = 6; continue main; case 5: $tmp = nms_World_getBlockId($var1, $var11, $var17, $var14); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var10 == nms_Block_portal.$blockID) { $var9 = $var9 + (-1) | 0; $var17 = $var9 - 1 | 0; continue main; } $var18 = $var9 + 0.5 - $var2.$posY; $var20 = $var12 + $var18 * $var18 + $var15; if ($var4 >= 0.0 && $var20 >= $var4) $var17 = $var9; else { $var17 = $var9; $var6 = $var11; $var8 = $var14; $var4 = $var20; $var7 = $var9; } $var17 = $var17 + (-1) | 0; while ($var17 < 0) { $var14 = $var14 + 1 | 0; while ($var14 > $var3) { $var11 = $var11 + 1 | 0; if ($var11 > var$10) { if ($var4 < 0.0) return 0; $var22 = $var6 + 0.5; $var16 = $var7 + 0.5; $var18 = $var8 + 0.5; $var3 = $var6 - 1 | 0; $ptr = 1; continue main; } $var12 = $var11 + 0.5 - $var2.$posX; $var12 = $var12 * $var12; $var14 = var$11; } $var15 = $var14 + 0.5 - $var2.$posZ; $var17 = 127; $var15 = $var15 * $var15; } $ptr = 3; continue main; case 6: $tmp = nms_World_getBlockId($var1, $var6, $var7, $var3); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 == nms_Block_portal.$blockID) $var18 = $var18 + 0.5; $var1 = jl_System_out(); var$21 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$21); jl_StringBuilder_append4(jl_StringBuilder_append(jl_StringBuilder_append4(jl_StringBuilder_append(jl_StringBuilder_append4(jl_StringBuilder_append(var$21, $rt_s(1029)), $var22), $rt_s(325)), $var16), $rt_s(325)), $var18); ji_PrintStream_println($var1, jl_AbstractStringBuilder_toString(var$21)); nms_Entity_setLocationAndAngles($var2, $var22, $var16, $var18, $var2.$rotationYaw, 0.0); $var2.$motionZ = 0.0; $var2.$motionY = 0.0; $var2.$motionX = 0.0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var7, $var8, $var9, $var10, $var11, var$10, var$11, $var3, $var22, $var16, $var18, $var12, $var14, $var15, $var17, $var20, var$21, $ptr); } function nms_Teleporter_func_4108_c($this, $var1, $var2) { var $var4, $var6, $var7, $var8, $var12, $var13, $var25, $var34, $var23, $var31, $var22, $var14, $var17, $var15, var$17, $var17_0, $var18, $var20, $var19, $var21, $var3, $var24, $var26, $var22_0, $var23_0, $var24_0, $var25_0, $var26_0, $var29, $var27, $var28, $var32, $var33, var$36, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$36 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var29 = $thread.pop();$var26_0 = $thread.pop();$var25_0 = $thread.pop();$var24_0 = $thread.pop();$var23_0 = $thread.pop();$var22_0 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var3 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var17_0 = $thread.pop();var$17 = $thread.pop();$var15 = $thread.pop();$var17 = $thread.pop();$var14 = $thread.pop();$var22 = $thread.pop();$var31 = $thread.pop();$var23 = $thread.pop();$var34 = $thread.pop();$var25 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = (-1.0); $var6 = nms_MathHelper_floor_double($var2.$posX); $var7 = nms_MathHelper_floor_double($var2.$posY); $var8 = nms_MathHelper_floor_double($var2.$posZ); $var12 = 0; $var13 = ju_Random_nextInt($this.$field_4232_a, 4); $var25 = $var6 - 16 | 0; $var34 = $var6 + 16 | 0; $var23 = $var8 - 16 | 0; $var31 = $var8 + 16 | 0; $var22 = $var13 + 4 | 0; $var14 = $var25; a: while (true) { if ($var14 > $var34) { if ($var4 < 0.0) { $var17 = $var13 + 2 | 0; while ($var25 <= $var34) { $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; while ($var17_0 <= $var31) { $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; if ($var20 >= 0) { $ptr = 2; continue main; } $var17_0 = $var17_0 + 1 | 0; } $var25 = $var25 + 1 | 0; } } $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var14 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17 = $var23; while ($var17 <= $var31) { $var18 = $var17 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; if ($var20 >= 0) break a; $var17 = $var17 + 1 | 0; } $var14 = $var14 + 1 | 0; } $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var14, $var20, $var17); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { if ($var20 > 0) { $var3 = $var20 - 1 | 0; $ptr = 3; continue main; } $var21 = $var13; while ($var21 < $var22) { $var22_0 = $var21 % 2 | 0; $var23_0 = 1 - $var22_0 | 0; $var24 = $var21 % 4 | 0; if ($var24 >= 2) { $var22_0 = -$var22_0 | 0; $var23_0 = -$var23_0 | 0; } $var24_0 = 0; while ($var24_0 < 3) { $var25_0 = 0; while ($var25_0 < 4) { $var26_0 = (-1); while ($var26_0 < 4) { $var29 = $var25_0 - 1 | 0; $var27 = ($var14 + $rt_imul($var29, $var22_0) | 0) + $rt_imul($var24_0, $var23_0) | 0; $var28 = $var20 + $var26_0 | 0; $var29 = ($var17 + $rt_imul($var29, $var23_0) | 0) - $rt_imul($var24_0, $var22_0) | 0; if ($var26_0 < 0) { $ptr = 10; continue main; } if ($var26_0 >= 0) { $ptr = 12; continue main; } $var26_0 = $var26_0 + 1 | 0; } $var25_0 = $var25_0 + 1 | 0; } $var24_0 = $var24_0 + 1 | 0; } $var32 = $var20 + 0.5 - $var2.$posY; $var33 = var$17 + $var32 * $var32 + $var18; if ($var4 >= 0.0 && $var33 >= $var4) { $var33 = $var4; $var24 = $var12; } else { $var6 = $var14; $var7 = $var20; $var8 = $var17; } $var21 = $var21 + 1 | 0; $var4 = $var33; $var12 = $var24; } } $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17 = $var17 + 1 | 0; while ($var17 > $var31) { $var14 = $var14 + 1 | 0; if ($var14 > $var34) { if ($var4 < 0.0) { $var17 = $var13 + 2 | 0; while ($var25 <= $var34) { $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; while ($var17_0 <= $var31) { $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; if ($var20 >= 0) { $ptr = 2; continue main; } $var17_0 = $var17_0 + 1 | 0; } $var25 = $var25 + 1 | 0; } } $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var14 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17 = $var23; } $var18 = $var17 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } continue main; case 2: $tmp = nms_World_getBlockId($var1, $var25, $var20, $var17_0); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { $var3 = $var20 - 1 | 0; $ptr = 4; continue main; } $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17_0 = $var17_0 + 1 | 0; while ($var17_0 > $var31) { $var25 = $var25 + 1 | 0; if ($var25 > $var34) { $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; } $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } continue main; case 3: $tmp = nms_World_getBlockId($var1, $var14, $var3, $var17); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { $var20 = $var20 + (-1) | 0; if ($var20 > 0) { $var3 = $var20 - 1 | 0; continue main; } } $var21 = $var13; b: while (true) { if ($var21 >= $var22) { $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17 = $var17 + 1 | 0; while ($var17 > $var31) { $var14 = $var14 + 1 | 0; if ($var14 > $var34) { if ($var4 < 0.0) { $var17 = $var13 + 2 | 0; while ($var25 <= $var34) { $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; while ($var17_0 <= $var31) { $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; if ($var20 >= 0) { $ptr = 2; continue main; } $var17_0 = $var17_0 + 1 | 0; } $var25 = $var25 + 1 | 0; } } $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var14 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17 = $var23; } $var18 = $var17 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } $ptr = 1; continue main; } $var22_0 = $var21 % 2 | 0; $var23_0 = 1 - $var22_0 | 0; $var24 = $var21 % 4 | 0; if ($var24 >= 2) { $var22_0 = -$var22_0 | 0; $var23_0 = -$var23_0 | 0; } $var24_0 = 0; while ($var24_0 < 3) { $var25_0 = 0; while ($var25_0 < 4) { $var26_0 = (-1); while ($var26_0 < 4) { $var29 = $var25_0 - 1 | 0; $var27 = ($var14 + $rt_imul($var29, $var22_0) | 0) + $rt_imul($var24_0, $var23_0) | 0; $var28 = $var20 + $var26_0 | 0; $var29 = ($var17 + $rt_imul($var29, $var23_0) | 0) - $rt_imul($var24_0, $var22_0) | 0; if ($var26_0 < 0) { $ptr = 10; continue main; } if ($var26_0 >= 0) break b; $var26_0 = $var26_0 + 1 | 0; } $var25_0 = $var25_0 + 1 | 0; } $var24_0 = $var24_0 + 1 | 0; } $var32 = $var20 + 0.5 - $var2.$posY; $var33 = var$17 + $var32 * $var32 + $var18; if ($var4 >= 0.0 && $var33 >= $var4) { $var33 = $var4; $var24 = $var12; } else { $var6 = $var14; $var7 = $var20; $var8 = $var17; } $var21 = $var21 + 1 | 0; $var4 = $var33; $var12 = $var24; } $ptr = 12; continue main; case 4: $tmp = nms_World_getBlockId($var1, $var25, $var3, $var17_0); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { $var20 = $var20 + (-1) | 0; $var3 = $var20 - 1 | 0; continue main; } $var21 = $var13; b: while (true) { if ($var21 >= $var17) { $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17_0 = $var17_0 + 1 | 0; while ($var17_0 > $var31) { $var25 = $var25 + 1 | 0; if ($var25 > $var34) { $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; } $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } $ptr = 2; continue main; } $var22 = $var21 % 2 | 0; $var23_0 = 1 - $var22 | 0; $var24 = 0; while ($var24 < 4) { $var25_0 = (-1); while ($var25_0 < 4) { $var3 = $var24 - 1 | 0; $var26 = $var25 + $rt_imul($var3, $var22) | 0; $var27 = $var20 + $var25_0 | 0; $var28 = $var17_0 + $rt_imul($var3, $var23_0) | 0; if ($var25_0 < 0) { $ptr = 8; continue main; } if ($var25_0 >= 0) break b; $var25_0 = $var25_0 + 1 | 0; } $var24 = $var24 + 1 | 0; } $var32 = $var20 + 0.5 - $var2.$posY; $var33 = var$17 + $var32 * $var32 + $var18; if ($var4 >= 0.0 && $var33 >= $var4) { $var33 = $var4; $var22 = $var12; } else { $var6 = $var25; $var7 = $var20; $var8 = $var17_0; } $var21 = $var21 + 1 | 0; $var4 = $var33; $var12 = $var22; } $ptr = 9; continue main; case 5: $tmp = nms_World_getBlockId($var1, $var23, $var24, $var25); if ($rt_suspending()) { break main; } $var26 = $tmp; $ptr = 6; case 6: nms_World_notifyBlocksOfNeighborChange($var1, $var23, $var24, $var25, $var26); if ($rt_suspending()) { break main; } $var22 = $var22 + 1 | 0; c: while (true) { if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; while ($var3 >= 4) { $var20 = $var20 + 1 | 0; if ($var20 >= 4) break c; $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; } $var22 = (-1); } return 1; case 7: nms_World_setBlockWithNotify($var1, $var23, $var24, $var25, $var3); if ($rt_suspending()) { break main; } $var22 = $var22 + 1 | 0; c: while (true) { if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } continue main; } $var21 = $var21 + 1 | 0; while ($var21 >= 4) { $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; if ($var20 >= 4) break c; $var1.$field_1043_h = 1; $var21 = 0; } $var22 = (-1); } return 1; case 8: $tmp = nms_World_getBlockMaterial($var1, $var26, $var27, $var28); if ($rt_suspending()) { break main; } var$36 = $tmp; if (var$36.$func_878_a()) d: while (true) { if ($var25_0 >= 0) { $ptr = 9; continue main; } $var25_0 = $var25_0 + 1 | 0; while ($var25_0 >= 4) { $var24 = $var24 + 1 | 0; while ($var24 >= 4) { $var32 = $var20 + 0.5 - $var2.$posY; $var33 = var$17 + $var32 * $var32 + $var18; if ($var4 >= 0.0 && $var33 >= $var4) { $var33 = $var4; $var22 = $var12; } else { $var6 = $var25; $var7 = $var20; $var8 = $var17_0; } $var21 = $var21 + 1 | 0; $var4 = $var33; $var12 = $var22; if ($var21 >= $var17) break d; $var22 = $var21 % 2 | 0; $var23_0 = 1 - $var22 | 0; $var24 = 0; } $var25_0 = (-1); } $var3 = $var24 - 1 | 0; $var26 = $var25 + $rt_imul($var3, $var22) | 0; $var27 = $var20 + $var25_0 | 0; $var28 = $var17_0 + $rt_imul($var3, $var23_0) | 0; if ($var25_0 >= 0) continue; else { continue main; } } $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17_0 = $var17_0 + 1 | 0; while ($var17_0 > $var31) { $var25 = $var25 + 1 | 0; if ($var25 > $var34) { $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; } $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } $ptr = 2; continue main; case 9: $tmp = nms_World_getBlockId($var1, $var26, $var27, $var28); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) d: while (true) { $var25_0 = $var25_0 + 1 | 0; while ($var25_0 >= 4) { $var24 = $var24 + 1 | 0; while ($var24 >= 4) { $var32 = $var20 + 0.5 - $var2.$posY; $var33 = var$17 + $var32 * $var32 + $var18; if ($var4 >= 0.0 && $var33 >= $var4) { $var33 = $var4; $var22 = $var12; } else { $var6 = $var25; $var7 = $var20; $var8 = $var17_0; } $var21 = $var21 + 1 | 0; $var4 = $var33; $var12 = $var22; if ($var21 >= $var17) break d; $var22 = $var21 % 2 | 0; $var23_0 = 1 - $var22 | 0; $var24 = 0; } $var25_0 = (-1); } $var3 = $var24 - 1 | 0; $var26 = $var25 + $rt_imul($var3, $var22) | 0; $var27 = $var20 + $var25_0 | 0; $var28 = $var17_0 + $rt_imul($var3, $var23_0) | 0; if ($var25_0 < 0) { $ptr = 8; continue main; } if ($var25_0 < 0) continue; else { continue main; } } $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17_0 = $var17_0 + 1 | 0; while ($var17_0 > $var31) { $var25 = $var25 + 1 | 0; if ($var25 > $var34) { $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; } $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } $ptr = 2; continue main; case 10: $tmp = nms_World_getBlockMaterial($var1, $var27, $var28, $var29); if ($rt_suspending()) { break main; } var$36 = $tmp; if (var$36.$func_878_a()) d: while (true) { if ($var26_0 >= 0) { $ptr = 12; continue main; } $var26_0 = $var26_0 + 1 | 0; while ($var26_0 >= 4) { $var25_0 = $var25_0 + 1 | 0; while ($var25_0 >= 4) { $var24_0 = $var24_0 + 1 | 0; while ($var24_0 >= 3) { $var32 = $var20 + 0.5 - $var2.$posY; $var33 = var$17 + $var32 * $var32 + $var18; if ($var4 >= 0.0 && $var33 >= $var4) { $var33 = $var4; $var24 = $var12; } else { $var6 = $var14; $var7 = $var20; $var8 = $var17; } $var21 = $var21 + 1 | 0; $var4 = $var33; $var12 = $var24; if ($var21 >= $var22) break d; $var22_0 = $var21 % 2 | 0; $var23_0 = 1 - $var22_0 | 0; $var24 = $var21 % 4 | 0; if ($var24 >= 2) { $var22_0 = -$var22_0 | 0; $var23_0 = -$var23_0 | 0; } $var24_0 = 0; } $var25_0 = 0; } $var26_0 = (-1); } $var29 = $var25_0 - 1 | 0; $var27 = ($var14 + $rt_imul($var29, $var22_0) | 0) + $rt_imul($var24_0, $var23_0) | 0; $var28 = $var20 + $var26_0 | 0; $var29 = ($var17 + $rt_imul($var29, $var23_0) | 0) - $rt_imul($var24_0, $var22_0) | 0; if ($var26_0 >= 0) continue; else { continue main; } } $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17 = $var17 + 1 | 0; while ($var17 > $var31) { $var14 = $var14 + 1 | 0; if ($var14 > $var34) { if ($var4 < 0.0) { $var17 = $var13 + 2 | 0; while ($var25 <= $var34) { $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; while ($var17_0 <= $var31) { $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; if ($var20 >= 0) { $ptr = 2; continue main; } $var17_0 = $var17_0 + 1 | 0; } $var25 = $var25 + 1 | 0; } } $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var14 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17 = $var23; } $var18 = $var17 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } $ptr = 1; continue main; case 11: nms_World_setBlockWithNotify($var1, $var23, $var24, $var25, $var3); if ($rt_suspending()) { break main; } $var22 = $var22 + 1 | 0; while ($var22 >= 3) { $var21 = $var21 + 1 | 0; while ($var21 >= 3) { $var20 = $var20 + 1 | 0; if ($var20 > 1) { $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var21 = 1; } $var22 = (-1); } $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } continue main; case 12: $tmp = nms_World_getBlockId($var1, $var27, $var28, $var29); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) d: while (true) { $var26_0 = $var26_0 + 1 | 0; while ($var26_0 >= 4) { $var25_0 = $var25_0 + 1 | 0; while ($var25_0 >= 4) { $var24_0 = $var24_0 + 1 | 0; while ($var24_0 >= 3) { $var32 = $var20 + 0.5 - $var2.$posY; $var33 = var$17 + $var32 * $var32 + $var18; if ($var4 >= 0.0 && $var33 >= $var4) { $var33 = $var4; $var24 = $var12; } else { $var6 = $var14; $var7 = $var20; $var8 = $var17; } $var21 = $var21 + 1 | 0; $var4 = $var33; $var12 = $var24; if ($var21 >= $var22) break d; $var22_0 = $var21 % 2 | 0; $var23_0 = 1 - $var22_0 | 0; $var24 = $var21 % 4 | 0; if ($var24 >= 2) { $var22_0 = -$var22_0 | 0; $var23_0 = -$var23_0 | 0; } $var24_0 = 0; } $var25_0 = 0; } $var26_0 = (-1); } $var29 = $var25_0 - 1 | 0; $var27 = ($var14 + $rt_imul($var29, $var22_0) | 0) + $rt_imul($var24_0, $var23_0) | 0; $var28 = $var20 + $var26_0 | 0; $var29 = ($var17 + $rt_imul($var29, $var23_0) | 0) - $rt_imul($var24_0, $var22_0) | 0; if ($var26_0 < 0) { $ptr = 10; continue main; } if ($var26_0 < 0) continue; else { continue main; } } $var20 = $var20 + (-1) | 0; while ($var20 < 0) { $var17 = $var17 + 1 | 0; while ($var17 > $var31) { $var14 = $var14 + 1 | 0; if ($var14 > $var34) { if ($var4 < 0.0) { $var17 = $var13 + 2 | 0; while ($var25 <= $var34) { $var15 = $var25 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17_0 = $var23; while ($var17_0 <= $var31) { $var18 = $var17_0 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; if ($var20 >= 0) { $ptr = 2; continue main; } $var17_0 = $var17_0 + 1 | 0; } $var25 = $var25 + 1 | 0; } } $var31 = $var12 % 2 | 0; $var19 = 1 - $var31 | 0; if (($var12 % 4 | 0) >= 2) { $var31 = -$var31 | 0; $var19 = -$var19 | 0; } if ($var4 < 0.0) { if ($var7 < 70) $var7 = 70; if ($var7 > 118) $var7 = 118; $var20 = (-1); while ($var20 <= 1) { $var21 = 1; while ($var21 < 3) { $var22 = (-1); if ($var22 < 3) { $var3 = $var21 - 1 | 0; $var23 = ($var6 + $rt_imul($var3, $var31) | 0) + $rt_imul($var20, $var19) | 0; $var24 = $var7 + $var22 | 0; $var25 = ($var8 + $rt_imul($var3, $var19) | 0) - $rt_imul($var20, $var31) | 0; if (!($var22 >= 0 ? 0 : 1)) $var3 = 0; else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 11; continue main; } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } } $var20 = 0; while ($var20 < 4) { $var1.$field_1043_h = 1; $var21 = 0; while ($var21 < 4) { $var22 = (-1); if ($var22 < 4) { $var3 = $var21 - 1 | 0; $var23 = $var6 + $rt_imul($var3, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var3, $var19) | 0; if (!($var21 && $var21 != 3 && $var22 != (-1) && $var22 != 3 ? 0 : 1)) { nms_Block_$callClinit(); $var3 = nms_Block_portal.$blockID; } else { nms_Block_$callClinit(); $var3 = nms_Block_obsidian.$blockID; } $ptr = 7; continue main; } $var21 = $var21 + 1 | 0; } $var1.$field_1043_h = 0; $var3 = 0; while ($var3 < 4) { $var22 = (-1); if ($var22 < 4) { $var26 = $var3 - 1 | 0; $var23 = $var6 + $rt_imul($var26, $var31) | 0; $var24 = $var7 + $var22 | 0; $var25 = $var8 + $rt_imul($var26, $var19) | 0; $ptr = 5; continue main; } $var3 = $var3 + 1 | 0; } $var20 = $var20 + 1 | 0; } return 1; } $var15 = $var14 + 0.5 - $var2.$posX; var$17 = $var15 * $var15; $var17 = $var23; } $var18 = $var17 + 0.5 - $var2.$posZ; $var20 = 127; $var18 = $var18 * $var18; } $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var7, $var8, $var12, $var13, $var25, $var34, $var23, $var31, $var22, $var14, $var17, $var15, var$17, $var17_0, $var18, $var20, $var19, $var21, $var3, $var24, $var26, $var22_0, $var23_0, $var24_0, $var25_0, $var26_0, $var29, $var27, $var28, $var32, $var33, var$36, $ptr); } function ju_AbstractMap$SimpleEntry() { var a = this; jl_Object.call(a); a.$key1 = null; a.$value2 = null; } function ju_AbstractMap$SimpleEntry_setValue($this, $value) { var $old; $old = $this.$value2; $this.$value2 = $value; return $old; } function ju_TreeMap$TreeNode() { var a = this; ju_AbstractMap$SimpleEntry.call(a); a.$left = null; a.$right = null; a.$height3 = 0; a.$size6 = 0; } function ju_TreeMap$TreeNode_balance($this) { var $factor; $factor = ju_TreeMap$TreeNode_factor($this); if ($factor == 2) { if (ju_TreeMap$TreeNode_factor($this.$right) < 0) $this.$right = ju_TreeMap$TreeNode_rotateRight($this.$right); return ju_TreeMap$TreeNode_rotateLeft($this); } if ($factor != (-2)) return $this; if (ju_TreeMap$TreeNode_factor($this.$left) > 0) $this.$left = ju_TreeMap$TreeNode_rotateLeft($this.$left); return ju_TreeMap$TreeNode_rotateRight($this); } function ju_TreeMap$TreeNode_factor($this) { var var$1, var$2; var$1 = $this.$right; var$2 = var$1 === null ? 0 : var$1.$height3; var$1 = $this.$left; return var$2 - (var$1 === null ? 0 : var$1.$height3) | 0; } function ju_TreeMap$TreeNode_rotateRight($this) { var $left; $left = $this.$left; $this.$left = $left.$right; $left.$right = $this; ju_TreeMap$TreeNode_fix($this); ju_TreeMap$TreeNode_fix($left); return $left; } function ju_TreeMap$TreeNode_rotateLeft($this) { var $right; $right = $this.$right; $this.$right = $right.$left; $right.$left = $this; ju_TreeMap$TreeNode_fix($this); ju_TreeMap$TreeNode_fix($right); return $right; } function ju_TreeMap$TreeNode_fix($this) { var var$1, var$2, var$3; var$1 = $this.$right; var$2 = var$1 === null ? 0 : var$1.$height3; var$1 = $this.$left; var$3 = var$1 === null ? 0 : var$1.$height3; $this.$height3 = jl_Math_max(var$2, var$3) + 1 | 0; $this.$size6 = 1; var$1 = $this.$left; if (var$1 !== null) $this.$size6 = 1 + var$1.$size6 | 0; var$1 = $this.$right; if (var$1 !== null) $this.$size6 = $this.$size6 + var$1.$size6 | 0; } var jur_IntArrHash = $rt_classWithoutFields(); function nms_GuiEditSign() { var a = this; nms_GuiScreen.call(a); a.$screenTitle = null; a.$entitySign = null; a.$updateCounter5 = 0; a.$editLine = 0; } function nms_GuiEditSign_initGui($this) { ju_ArrayList_clear($this.$controlList); nlea_EaglerAdapterImpl2_enableRepeatEvents0(1); ju_ArrayList_add($this.$controlList, nms_GuiButton__init_(0, ($this.$width / 2 | 0) - 100 | 0, ($this.$height0 / 4 | 0) + 120 | 0, $rt_s(913))); } function nms_GuiEditSign_onGuiClosed($this) { nlea_EaglerAdapterImpl2_enableRepeatEvents0(0); } function nms_GuiEditSign_updateScreen($this) { $this.$updateCounter5 = $this.$updateCounter5 + 1 | 0; } function nms_GuiEditSign_actionPerformed($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 ($var1.$enabled && !$var1.$id2) { $var1 = $this.$entitySign; $ptr = 1; continue main; } return; case 1: nms_TileEntity_onInventoryChanged($var1); if ($rt_suspending()) { break main; } var$2 = $this.$mc8; $var1 = null; $ptr = 2; case 2: nmc_Minecraft_displayGuiScreen(var$2, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); } function nms_GuiEditSign_keyTyped($this, $var1, $var2) { var var$3, var$4, var$5; if ($var2 == 200) $this.$editLine = ($this.$editLine - 1 | 0) & 3; if (!($var2 != 208 && $var2 != 28)) $this.$editLine = ($this.$editLine + 1 | 0) & 3; if ($var2 == 14 && jl_String_length($this.$entitySign.$signText.data[$this.$editLine]) > 0) { var$3 = $this.$entitySign.$signText.data; $var2 = $this.$editLine; var$3[$var2] = jl_String_substring0(var$3[$var2], 0, jl_String_length(var$3[$var2]) - 1 | 0); } if (jl_String_indexOf0($rt_s(1030), $var1) >= 0 && jl_String_length($this.$entitySign.$signText.data[$this.$editLine]) < 15) { var$3 = $this.$entitySign.$signText.data; $var2 = $this.$editLine; var$4 = var$3[$var2]; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5); jl_AbstractStringBuilder_append(jl_StringBuilder_append(var$5, var$4), $var1); var$3[$var2] = jl_AbstractStringBuilder_toString(var$5); } } function nms_GuiEditSign_drawScreen($this, $var1, $var2, $var3) { var $var5, $var8, $var7, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_drawDefaultBackground($this); if ($rt_suspending()) { break main; } nms_Gui_drawCenteredString($this, $this.$fontRenderer0, $this.$screenTitle, $this.$width / 2 | 0, 40, 16777215); olo_EaglerAdapterGL30_glPushMatrix(); olo_EaglerAdapterGL30_glTranslatef($this.$width / 2 | 0, $this.$height0 / 2 | 0, 50.0); olo_EaglerAdapterGL30_glScalef((-93.75), (-93.75), (-93.75)); olo_EaglerAdapterGL30_glRotatef(180.0, 0.0, 1.0, 0.0); $var5 = $this.$entitySign; $ptr = 2; case 2: $tmp = nms_TileEntity_getBlockType($var5); if ($rt_suspending()) { break main; } $var5 = $tmp; nms_Block_$callClinit(); if ($var5 !== nms_Block_signPost) { $var5 = $this.$entitySign; $ptr = 3; continue main; } $var5 = $this.$entitySign; $ptr = 4; continue main; case 3: $tmp = nms_TileEntity_getBlockMetadata($var5); if ($rt_suspending()) { break main; } $var8 = $tmp; $var7 = 0.0; if ($var8 == 2) $var7 = 180.0; if ($var8 == 4) $var7 = 90.0; if ($var8 == 5) $var7 = (-90.0); olo_EaglerAdapterGL30_glRotatef($var7, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.3125, 0.0); if (!(($this.$updateCounter5 / 6 | 0) % 2 | 0)) $this.$entitySign.$lineBeingEdited = $this.$editLine; nms_TileEntityRenderer_$callClinit(); $var5 = nms_TileEntityRenderer_instance; var$7 = $this.$entitySign; var$8 = (-0.5); var$9 = (-0.75); var$10 = (-0.5); $var7 = 0.0; $ptr = 5; continue main; case 4: $tmp = nms_TileEntity_getBlockMetadata($var5); if ($rt_suspending()) { break main; } $var8 = $tmp; olo_EaglerAdapterGL30_glRotatef(($var8 * 360 | 0) / 16.0, 0.0, 1.0, 0.0); olo_EaglerAdapterGL30_glTranslatef(0.0, 0.3125, 0.0); if (!(($this.$updateCounter5 / 6 | 0) % 2 | 0)) $this.$entitySign.$lineBeingEdited = $this.$editLine; nms_TileEntityRenderer_$callClinit(); $var5 = nms_TileEntityRenderer_instance; var$7 = $this.$entitySign; var$8 = (-0.5); var$9 = (-0.75); var$10 = (-0.5); $var7 = 0.0; $ptr = 5; case 5: nms_TileEntityRenderer_renderTileEntityAt($var5, var$7, var$8, var$9, var$10, $var7); if ($rt_suspending()) { break main; } $this.$entitySign.$lineBeingEdited = (-1); olo_EaglerAdapterGL30_glPopMatrix(); $ptr = 6; case 6: nms_GuiScreen_drawScreen($this, $var1, $var2, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var5, $var8, $var7, var$7, var$8, var$9, var$10, $ptr); } function nms_WorldGenLakes() { nms_WorldGenerator.call(this); this.$field_15235_a = 0; } function nms_WorldGenLakes__init_0(var_0) { var var_1 = new nms_WorldGenLakes(); nms_WorldGenLakes__init_(var_1, var_0); return var_1; } function nms_WorldGenLakes__init_($this, $var1) { $this.$field_15235_a = $var1; } function nms_WorldGenLakes_generate($this, $var1, $var2, $var3, $var4, $var5) { var var$6, var$7, $var6, $var7, $var8, $var9, $var11, $var13, $var17, var$15, $var15, $var19, $var21, $var22, $var23, $var24, $var26, $var28, $var32, $var10, $var32_0, $var33, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var33 = $thread.pop();$var32_0 = $thread.pop();$var10 = $thread.pop();$var32 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var15 = $thread.pop();var$15 = $thread.pop();$var17 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var8 = $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: var$6 = $var3 + (-8) | 0; $var5 = $var5 + (-8) | 0; if ($var4 > 0) { $ptr = 1; continue main; } var$7 = $var4 + (-4) | 0; $var6 = $rt_createBooleanArray(2048).data; $var7 = ju_Random_nextInt($var2, 4) + 4 | 0; $var8 = 0; while ($var8 < $var7) { $var9 = ju_Random_nextDouble($var2) * 6.0 + 3.0; $var11 = ju_Random_nextDouble($var2) * 4.0 + 2.0; $var13 = ju_Random_nextDouble($var2) * 6.0 + 3.0; $var17 = ju_Random_nextDouble($var2) * (16.0 - $var9 - 2.0) + 1.0; var$15 = $var9 / 2.0; $var15 = $var17 + var$15; $var17 = ju_Random_nextDouble($var2) * (8.0 - $var11 - 4.0) + 2.0; $var9 = $var11 / 2.0; $var17 = $var17 + $var9; $var19 = ju_Random_nextDouble($var2) * (16.0 - $var13 - 2.0) + 1.0; $var11 = $var13 / 2.0; $var19 = $var19 + $var11; $var21 = 1; while ($var21 < 15) { $var22 = 1; while ($var22 < 15) { $var23 = 1; while ($var23 < 7) { $var24 = ($var21 - $var15) / var$15; $var26 = ($var23 - $var17) / $var9; $var28 = ($var22 - $var19) / $var11; if ($var24 * $var24 + $var26 * $var26 + $var28 * $var28 < 1.0) $var6[((($var21 * 16 | 0) + $var22 | 0) * 8 | 0) + $var23 | 0] = 1; $var23 = $var23 + 1 | 0; } $var22 = $var22 + 1 | 0; } $var21 = $var21 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var8 = 0; a: while (true) { if ($var8 >= 16) { $var7 = 0; b: while (true) { if ($var7 >= 16) { $var8 = 0; while ($var8 < 16) { $var32 = 0; while ($var32 < 16) { $var10 = 4; while ($var10 < 8) { if ($var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; $ptr = 3; continue main; } $var10 = $var10 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var8 = $var8 + 1 | 0; } return 1; } $var32_0 = 0; while ($var32_0 < 16) { $var10 = 0; while ($var10 < 8) { if ($var6[((($var7 * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break b; $var10 = $var10 + 1 | 0; } $var32_0 = $var32_0 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var3 = var$6 + $var7 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $var22 = $var10 < 4 ? $this.$field_15235_a : 0; $ptr = 4; continue main; } $var32_0 = 0; while ($var32_0 < 16) { $var10 = 0; while ($var10 < 8) { c: { d: { $var21 = $var8 * 16 | 0; $var22 = $var21 + $var32_0 | 0; $var7 = $var22 * 8 | 0; $var32 = $var7 + $var10 | 0; if (!$var6[$var32]) { if ($var8 < 15 && $var6[(((($var8 + 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break d; if ($var8 > 0 && $var6[(((($var8 - 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break d; if ($var32_0 < 15 && $var6[(($var22 + 1 | 0) * 8 | 0) + $var10 | 0]) break d; if ($var32_0 > 0 && $var6[(($var21 + ($var32_0 - 1 | 0) | 0) * 8 | 0) + $var10 | 0]) break d; if ($var10 < 7 && $var6[$var32 + 1 | 0]) break d; if ($var10 > 0 && $var6[$var7 + ($var10 - 1 | 0) | 0]) break d; } $var33 = 0; break c; } $var33 = 1; } if ($var33) break a; $var10 = $var10 + 1 | 0; } $var32_0 = $var32_0 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $ptr = 2; continue main; case 1: $tmp = nms_World_getBlockId($var1, var$6, $var4, $var5); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { $var4 = $var4 + (-1) | 0; if ($var4 > 0) { continue main; } } var$7 = $var4 + (-4) | 0; $var6 = $rt_createBooleanArray(2048).data; $var7 = ju_Random_nextInt($var2, 4) + 4 | 0; $var8 = 0; while ($var8 < $var7) { $var9 = ju_Random_nextDouble($var2) * 6.0 + 3.0; $var11 = ju_Random_nextDouble($var2) * 4.0 + 2.0; $var13 = ju_Random_nextDouble($var2) * 6.0 + 3.0; $var17 = ju_Random_nextDouble($var2) * (16.0 - $var9 - 2.0) + 1.0; var$15 = $var9 / 2.0; $var15 = $var17 + var$15; $var17 = ju_Random_nextDouble($var2) * (8.0 - $var11 - 4.0) + 2.0; $var9 = $var11 / 2.0; $var17 = $var17 + $var9; $var19 = ju_Random_nextDouble($var2) * (16.0 - $var13 - 2.0) + 1.0; $var11 = $var13 / 2.0; $var19 = $var19 + $var11; $var21 = 1; while ($var21 < 15) { $var22 = 1; while ($var22 < 15) { $var23 = 1; while ($var23 < 7) { $var24 = ($var21 - $var15) / var$15; $var26 = ($var23 - $var17) / $var9; $var28 = ($var22 - $var19) / $var11; if ($var24 * $var24 + $var26 * $var26 + $var28 * $var28 < 1.0) $var6[((($var21 * 16 | 0) + $var22 | 0) * 8 | 0) + $var23 | 0] = 1; $var23 = $var23 + 1 | 0; } $var22 = $var22 + 1 | 0; } $var21 = $var21 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var8 = 0; a: while (true) { if ($var8 >= 16) { $var7 = 0; b: while (true) { if ($var7 >= 16) { $var8 = 0; while ($var8 < 16) { $var32 = 0; while ($var32 < 16) { $var10 = 4; while ($var10 < 8) { if ($var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; $ptr = 3; continue main; } $var10 = $var10 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var8 = $var8 + 1 | 0; } return 1; } $var32_0 = 0; while ($var32_0 < 16) { $var10 = 0; while ($var10 < 8) { if ($var6[((($var7 * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break b; $var10 = $var10 + 1 | 0; } $var32_0 = $var32_0 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var3 = var$6 + $var7 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $var22 = $var10 < 4 ? $this.$field_15235_a : 0; $ptr = 4; continue main; } $var32_0 = 0; while ($var32_0 < 16) { $var10 = 0; while ($var10 < 8) { c: { d: { $var21 = $var8 * 16 | 0; $var22 = $var21 + $var32_0 | 0; $var7 = $var22 * 8 | 0; $var32 = $var7 + $var10 | 0; if (!$var6[$var32]) { if ($var8 < 15 && $var6[(((($var8 + 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break d; if ($var8 > 0 && $var6[(((($var8 - 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break d; if ($var32_0 < 15 && $var6[(($var22 + 1 | 0) * 8 | 0) + $var10 | 0]) break d; if ($var32_0 > 0 && $var6[(($var21 + ($var32_0 - 1 | 0) | 0) * 8 | 0) + $var10 | 0]) break d; if ($var10 < 7 && $var6[$var32 + 1 | 0]) break d; if ($var10 > 0 && $var6[$var7 + ($var10 - 1 | 0) | 0]) break d; } $var33 = 0; break c; } $var33 = 1; } if ($var33) break a; $var10 = $var10 + 1 | 0; } $var32_0 = $var32_0 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockMaterial($var1, $var3, $var4, $var21); if ($rt_suspending()) { break main; } $var12 = $tmp; $var22 = $rt_compare($var10, 4); if ($var22 >= 0 && $var12.$getIsLiquid()) return 0; if ($var22 < 0 && !$var12.$func_878_a()) { $ptr = 6; continue main; } while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= 8) { $var32_0 = $var32_0 + 1 | 0; while ($var32_0 >= 16) { $var8 = $var8 + 1 | 0; if ($var8 >= 16) { $var7 = 0; e: while (true) { if ($var7 >= 16) { $var8 = 0; while ($var8 < 16) { $var32 = 0; while ($var32 < 16) { $var10 = 4; while ($var10 < 8) { if ($var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; $ptr = 3; continue main; } $var10 = $var10 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var8 = $var8 + 1 | 0; } return 1; } $var32_0 = 0; while ($var32_0 < 16) { $var10 = 0; while ($var10 < 8) { if ($var6[((($var7 * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break e; $var10 = $var10 + 1 | 0; } $var32_0 = $var32_0 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var3 = var$6 + $var7 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $var22 = $var10 < 4 ? $this.$field_15235_a : 0; $ptr = 4; continue main; } $var32_0 = 0; } $var10 = 0; } f: { a: { $var21 = $var8 * 16 | 0; $var22 = $var21 + $var32_0 | 0; $var7 = $var22 * 8 | 0; $var32 = $var7 + $var10 | 0; if (!$var6[$var32]) { if ($var8 < 15 && $var6[(((($var8 + 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break a; if ($var8 > 0 && $var6[(((($var8 - 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break a; if ($var32_0 < 15 && $var6[(($var22 + 1 | 0) * 8 | 0) + $var10 | 0]) break a; if ($var32_0 > 0 && $var6[(($var21 + ($var32_0 - 1 | 0) | 0) * 8 | 0) + $var10 | 0]) break a; if ($var10 < 7 && $var6[$var32 + 1 | 0]) break a; if ($var10 > 0 && $var6[$var7 + ($var10 - 1 | 0) | 0]) break a; } $var33 = 0; break f; } $var33 = 1; } if (!$var33) continue; else break; } $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; continue main; case 3: $tmp = nms_World_getBlockId($var1, $var3, $var21, $var22); if ($rt_suspending()) { break main; } $var32_0 = $tmp; nms_Block_$callClinit(); if ($var32_0 == nms_Block_dirt.$blockID) { nms_EnumSkyBlock_$callClinit(); $var2 = nms_EnumSkyBlock_Sky; $ptr = 5; continue main; } g: while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= 8) { $var32 = $var32 + 1 | 0; while ($var32 >= 16) { $var8 = $var8 + 1 | 0; if ($var8 >= 16) break g; $var32 = 0; } $var10 = 4; } if (!$var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) continue; else { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; continue main; } } return 1; case 4: nms_World_setBlockWithNotify($var1, $var3, $var4, $var21, $var22); if ($rt_suspending()) { break main; } while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= 8) { $var32_0 = $var32_0 + 1 | 0; while ($var32_0 >= 16) { $var7 = $var7 + 1 | 0; if ($var7 >= 16) { $var8 = 0; while ($var8 < 16) { $var32 = 0; while ($var32 < 16) { $var10 = 4; while ($var10 < 8) { if ($var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; $ptr = 3; continue main; } $var10 = $var10 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var8 = $var8 + 1 | 0; } return 1; } $var32_0 = 0; } $var10 = 0; } if (!$var6[((($var7 * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) continue; else break; } $var3 = var$6 + $var7 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $var22 = $var10 < 4 ? $this.$field_15235_a : 0; continue main; case 5: $tmp = nms_World_getSavedLightValue($var1, $var2, $var3, $var4, $var22); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 > 0) { $var4 = nms_Block_grass.$blockID; $ptr = 7; continue main; } g: while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= 8) { $var32 = $var32 + 1 | 0; while ($var32 >= 16) { $var8 = $var8 + 1 | 0; if ($var8 >= 16) break g; $var32 = 0; } $var10 = 4; } if (!$var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) continue; else { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; $ptr = 3; continue main; } } return 1; case 6: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var21); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 != $this.$field_15235_a) return 0; while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= 8) { $var32_0 = $var32_0 + 1 | 0; while ($var32_0 >= 16) { $var8 = $var8 + 1 | 0; if ($var8 >= 16) { $var7 = 0; h: while (true) { if ($var7 >= 16) { $var8 = 0; while ($var8 < 16) { $var32 = 0; while ($var32 < 16) { $var10 = 4; while ($var10 < 8) { if ($var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; $ptr = 3; continue main; } $var10 = $var10 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var8 = $var8 + 1 | 0; } return 1; } $var32_0 = 0; while ($var32_0 < 16) { $var10 = 0; while ($var10 < 8) { if ($var6[((($var7 * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break h; $var10 = $var10 + 1 | 0; } $var32_0 = $var32_0 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var3 = var$6 + $var7 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $var22 = $var10 < 4 ? $this.$field_15235_a : 0; $ptr = 4; continue main; } $var32_0 = 0; } $var10 = 0; } i: { f: { $var21 = $var8 * 16 | 0; $var22 = $var21 + $var32_0 | 0; $var7 = $var22 * 8 | 0; $var32 = $var7 + $var10 | 0; if (!$var6[$var32]) { if ($var8 < 15 && $var6[(((($var8 + 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break f; if ($var8 > 0 && $var6[(((($var8 - 1 | 0) * 16 | 0) + $var32_0 | 0) * 8 | 0) + $var10 | 0]) break f; if ($var32_0 < 15 && $var6[(($var22 + 1 | 0) * 8 | 0) + $var10 | 0]) break f; if ($var32_0 > 0 && $var6[(($var21 + ($var32_0 - 1 | 0) | 0) * 8 | 0) + $var10 | 0]) break f; if ($var10 < 7 && $var6[$var32 + 1 | 0]) break f; if ($var10 > 0 && $var6[$var7 + ($var10 - 1 | 0) | 0]) break f; } $var33 = 0; break i; } $var33 = 1; } if (!$var33) continue; else break; } $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var5 + $var32_0 | 0; $ptr = 2; continue main; case 7: nms_World_setBlockWithNotify($var1, $var3, $var21, $var22, $var4); if ($rt_suspending()) { break main; } j: while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= 8) { $var32 = $var32 + 1 | 0; while ($var32 >= 16) { $var8 = $var8 + 1 | 0; if ($var8 >= 16) break j; $var32 = 0; } $var10 = 4; } if (!$var6[((($var8 * 16 | 0) + $var32 | 0) * 8 | 0) + $var10 | 0]) continue; else { $var3 = var$6 + $var8 | 0; $var4 = var$7 + $var10 | 0; $var21 = $var4 - 1 | 0; $var22 = $var5 + $var32 | 0; $ptr = 3; continue main; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, var$7, $var6, $var7, $var8, $var9, $var11, $var13, $var17, var$15, $var15, $var19, $var21, $var22, $var23, $var24, $var26, $var28, $var32, $var10, $var32_0, $var33, $var12, $ptr); } var nms_WorldGenDungeons = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenDungeons__init_0() { var var_0 = new nms_WorldGenDungeons(); nms_WorldGenDungeons__init_(var_0); return var_0; } function nms_WorldGenDungeons__init_($this) {} function nms_WorldGenDungeons_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var7, $var8, $var9, var$9, $var11, $var15, $var6, var$13, var$14, var$15, $var10, $var12, $var11_0, $var12_0, $var14, $var11_1, $var12_1, $var13, $var19, $var17, $var16, $var18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var17 = $thread.pop();$var19 = $thread.pop();$var13 = $thread.pop();$var12_1 = $thread.pop();$var11_1 = $thread.pop();$var14 = $thread.pop();$var12_0 = $thread.pop();$var11_0 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var6 = $thread.pop();$var15 = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $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: $var7 = ju_Random_nextInt($var2, 2) + 2 | 0; $var8 = ju_Random_nextInt($var2, 2) + 2 | 0; $var9 = 0; var$9 = ($var3 - $var7 | 0) - 1 | 0; $var11 = ($var3 + $var7 | 0) + 1 | 0; $var15 = $var4 - 1 | 0; $var6 = $var4 + 3 | 0; var$13 = $var6 + 1 | 0; var$14 = ($var5 - $var8 | 0) - 1 | 0; var$15 = ($var5 + $var8 | 0) + 1 | 0; $var10 = var$9; a: while (true) { $var12 = $rt_compare($var10, $var11); if ($var12 > 0) { if ($var9 >= 1 && $var9 <= 5) { $var9 = var$9; b: while (true) { $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 < 0) break; $var12_0 = var$14; $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break b; $var11_0 = $var11_0 + (-1) | 0; } $var9 = $var9 + 1 | 0; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; } return 0; } $var11_1 = $var15; while (true) { $var12_0 = $rt_compare($var11_1, var$13); if ($var12_0 > 0) break; $var12_1 = var$14; $var14 = $rt_compare($var12_1, var$15); if ($var14 <= 0) break a; $var11_1 = $var11_1 + 1 | 0; } $var10 = $var10 + 1 | 0; } $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var10, $var11_1, $var12_1); if ($rt_suspending()) { break main; } $var13 = $tmp; if ($var11_1 == $var15 && !$var13.$func_878_a()) return 0; if (!$var12_0 && !$var13.$func_878_a()) return 0; if (!($var10 != var$9 && $var12 && $var12_1 != var$14 && $var14) && $var11_1 == $var4) { $ptr = 5; continue main; } $var12_1 = $var12_1 + 1 | 0; while (true) { $var14 = $rt_compare($var12_1, var$15); if ($var14 <= 0) break; $var11_1 = $var11_1 + 1 | 0; while (true) { $var12_0 = $rt_compare($var11_1, var$13); if ($var12_0 <= 0) break; $var10 = $var10 + 1 | 0; $var12 = $rt_compare($var10, $var11); if ($var12 > 0) { if ($var9 >= 1 && $var9 <= 5) { $var9 = var$9; c: while (true) { $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 < 0) break; $var12_0 = var$14; $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break c; $var11_0 = $var11_0 + (-1) | 0; } $var9 = $var9 + 1 | 0; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; } return 0; } $var11_1 = $var15; } $var12_1 = var$14; } continue main; case 2: nms_World_setBlockWithNotify($var1, $var3, $var4, $var5, $var11_0); if ($rt_suspending()) { break main; } $ptr = 3; case 3: $tmp = nms_World_getBlockTileEntity($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var1 = $tmp; $var19 = $var1; $var3 = ju_Random_nextInt($var2, 4); $var19.$entityID = !$var3 ? $rt_s(959) : $var3 == 1 ? $rt_s(998) : $var3 == 2 ? $rt_s(998) : $var3 != 3 ? $rt_s(6) : $rt_s(996); return 1; case 4: $tmp = nms_World_getBlockId($var1, $var12, $var4, $var14); if ($rt_suspending()) { break main; } $var17 = $tmp; if (!$var17) { $var15 = 0; $var17 = $var12 - 1 | 0; $ptr = 6; continue main; } $var11 = $var11 + 1 | 0; while (true) { if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; continue main; } var$9 = var$9 + 1 | 0; if (var$9 >= 2) break; $var11 = 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; case 5: $tmp = nms_World_getBlockId($var1, $var10, $var11_1, $var12_1); if ($rt_suspending()) { break main; } $var11_0 = $tmp; if (!$var11_0) { $var11_0 = $var11_1 + 1 | 0; $ptr = 7; continue main; } $var12_1 = $var12_1 + 1 | 0; while (true) { $var14 = $rt_compare($var12_1, var$15); if ($var14 <= 0) break; $var11_1 = $var11_1 + 1 | 0; while (true) { $var12_0 = $rt_compare($var11_1, var$13); if ($var12_0 <= 0) break; $var10 = $var10 + 1 | 0; $var12 = $rt_compare($var10, $var11); if ($var12 > 0) { if ($var9 >= 1 && $var9 <= 5) { $var9 = var$9; b: while (true) { $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 < 0) break; $var12_0 = var$14; $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break b; $var11_0 = $var11_0 + (-1) | 0; } $var9 = $var9 + 1 | 0; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; } return 0; } $var11_1 = $var15; } $var12_1 = var$14; } $ptr = 1; continue main; case 6: $tmp = nms_World_getBlockMaterial($var1, $var17, $var4, $var14); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16.$func_878_a()) $var15 = 1; $var17 = $var12 + 1 | 0; $ptr = 10; continue main; case 7: $tmp = nms_World_getBlockId($var1, $var10, $var11_0, $var12_1); if ($rt_suspending()) { break main; } $var11_0 = $tmp; if (!$var11_0) $var9 = $var9 + 1 | 0; $var12_1 = $var12_1 + 1 | 0; while (true) { $var14 = $rt_compare($var12_1, var$15); if ($var14 <= 0) break; $var11_1 = $var11_1 + 1 | 0; while (true) { $var12_0 = $rt_compare($var11_1, var$13); if ($var12_0 <= 0) break; $var10 = $var10 + 1 | 0; $var12 = $rt_compare($var10, $var11); if ($var12 > 0) { if ($var9 >= 1 && $var9 <= 5) { $var9 = var$9; d: while (true) { $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 < 0) break; $var12_0 = var$14; $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break d; $var11_0 = $var11_0 + (-1) | 0; } $var9 = $var9 + 1 | 0; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; } return 0; } $var11_1 = $var15; } $var12_1 = var$14; } $ptr = 1; continue main; case 8: $tmp = nms_World_getBlockMaterial($var1, $var9, $var11_0, $var12_0); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16.$func_878_a()) { if (!$var12 && ju_Random_nextInt($var2, 4)) { nms_Block_$callClinit(); $var14 = nms_Block_cobblestoneMossy.$blockID; $ptr = 14; continue main; } nms_Block_$callClinit(); $var14 = nms_Block_cobblestone.$blockID; $ptr = 12; continue main; } $var12_0 = $var12_0 + 1 | 0; while (true) { $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break; $var11_0 = $var11_0 + (-1) | 0; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 >= 0) break; $var9 = $var9 + 1 | 0; $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; } $var12_0 = var$14; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; case 9: $tmp = nms_World_getBlockMaterial($var1, $var9, $var14, $var12_0); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16.$func_878_a()) { $ptr = 8; continue main; } $var14 = 0; $ptr = 11; continue main; case 10: $tmp = nms_World_getBlockMaterial($var1, $var17, $var4, $var14); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16.$func_878_a()) $var15 = $var15 + 1 | 0; $var17 = $var14 - 1 | 0; $ptr = 13; continue main; case 11: nms_World_setBlockWithNotify($var1, $var9, $var11_0, $var12_0, $var14); if ($rt_suspending()) { break main; } $var12_0 = $var12_0 + 1 | 0; while (true) { $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break; $var11_0 = $var11_0 + (-1) | 0; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 >= 0) break; $var9 = $var9 + 1 | 0; $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; } $var12_0 = var$14; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; case 12: nms_World_setBlockWithNotify($var1, $var9, $var11_0, $var12_0, $var14); if ($rt_suspending()) { break main; } $var12_0 = $var12_0 + 1 | 0; while (true) { $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break; $var11_0 = $var11_0 + (-1) | 0; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 >= 0) break; $var9 = $var9 + 1 | 0; $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; } $var12_0 = var$14; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; case 13: $tmp = nms_World_getBlockMaterial($var1, $var12, $var4, $var17); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16.$func_878_a()) $var15 = $var15 + 1 | 0; $var17 = $var14 + 1 | 0; $ptr = 16; continue main; case 14: nms_World_setBlockWithNotify($var1, $var9, $var11_0, $var12_0, $var14); if ($rt_suspending()) { break main; } $var12_0 = $var12_0 + 1 | 0; while (true) { $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break; $var11_0 = $var11_0 + (-1) | 0; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 >= 0) break; $var9 = $var9 + 1 | 0; $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; } $var12_0 = var$14; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; $ptr = 15; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; case 15: nms_World_setBlockWithNotify($var1, $var9, $var11_0, $var12_0, $var14); if ($rt_suspending()) { break main; } $var12_0 = $var12_0 + 1 | 0; while (true) { $var14 = $rt_compare($var12_0, var$15); if ($var14 <= 0) break; $var11_0 = $var11_0 + (-1) | 0; while (true) { $var12 = $rt_compare($var11_0, $var15); if ($var12 >= 0) break; $var9 = $var9 + 1 | 0; $var10 = $rt_compare($var9, $var11); if ($var10 > 0) { var$9 = 0; $var11_0 = ($var7 * 2 | 0) + 1 | 0; $var9 = 27; $var12_0 = ($var8 * 2 | 0) + 1 | 0; while (var$9 < 2) { $var11 = 0; if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var11_0 = $var6; } $var12_0 = var$14; } if ($var9 != var$9 && $var12 && $var12_0 != var$14 && $var10 && $var11_0 != var$13 && $var14) { $var14 = 0; continue main; } if ($var11_0 < 0) { $ptr = 8; continue main; } $var14 = $var11_0 - 1 | 0; $ptr = 9; continue main; case 16: $tmp = nms_World_getBlockMaterial($var1, $var12, $var4, $var17); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16.$func_878_a()) $var15 = $var15 + 1 | 0; if ($var15 == 1) { nms_Block_$callClinit(); $var17 = nms_Block_crate.$blockID; $ptr = 17; continue main; } $var11 = $var11 + 1 | 0; while (true) { if ($var11 < 3) { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } var$9 = var$9 + 1 | 0; if (var$9 >= 2) break; $var11 = 0; } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; case 17: nms_World_setBlockWithNotify($var1, $var12, $var4, $var14, $var17); if ($rt_suspending()) { break main; } $ptr = 18; case 18: $tmp = nms_World_getBlockTileEntity($var1, $var12, $var4, $var14); if ($rt_suspending()) { break main; } $var16 = $tmp; $var16 = $var16; $var17 = 0; while (true) { if ($var17 >= 8) { while (true) { var$9 = var$9 + 1 | 0; if (var$9 >= 2) break; $var11 = 0; if ($var11 >= 3) continue; else { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var18 = nms_WorldGenDungeons_pickCheckLootItem($this, $var2); if ($var18 !== null) break; $var17 = $var17 + 1 | 0; } $var12 = ju_Random_nextInt($var2, $var9); $ptr = 19; case 19: nms_TileEntityChest_setInventorySlotContents($var16, $var12, $var18); if ($rt_suspending()) { break main; } while (true) { $var17 = $var17 + 1 | 0; if ($var17 >= 8) { while (true) { var$9 = var$9 + 1 | 0; if (var$9 >= 2) break; $var11 = 0; if ($var11 >= 3) continue; else { $var12 = ($var3 + ju_Random_nextInt($var2, $var11_0) | 0) - $var7 | 0; $var14 = ($var5 + ju_Random_nextInt($var2, $var12_0) | 0) - $var8 | 0; $ptr = 4; continue main; } } nms_Block_$callClinit(); $var11_0 = nms_Block_mobSpawner.$blockID; $ptr = 2; continue main; } $var18 = nms_WorldGenDungeons_pickCheckLootItem($this, $var2); if ($var18 === null) continue; else break; } $var12 = ju_Random_nextInt($var2, $var9); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var7, $var8, $var9, var$9, $var11, $var15, $var6, var$13, var$14, var$15, $var10, $var12, $var11_0, $var12_0, $var14, $var11_1, $var12_1, $var13, $var19, $var17, $var16, $var18, $ptr); } function nms_WorldGenDungeons_pickCheckLootItem($this, $var1) { var $var2, var$3; a: { $var2 = ju_Random_nextInt($var1, 11); if (!$var2) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$3, nms_Item_saddle); break a; } if ($var2 == 1) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$3, nms_Item_ingotIron, ju_Random_nextInt($var1, 4) + 1 | 0); break a; } if ($var2 == 2) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$3, nms_Item_bread); break a; } if ($var2 == 3) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$3, nms_Item_wheat, ju_Random_nextInt($var1, 4) + 1 | 0); break a; } if ($var2 == 4) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$3, nms_Item_gunpowder, ju_Random_nextInt($var1, 4) + 1 | 0); break a; } if ($var2 == 5) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$3, nms_Item_silk, ju_Random_nextInt($var1, 4) + 1 | 0); break a; } if ($var2 == 6) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$3, nms_Item_bucketEmpty); break a; } if ($var2 == 7 && !ju_Random_nextInt($var1, 100)) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$3, nms_Item_appleGold); break a; } if ($var2 == 8 && !ju_Random_nextInt($var1, 2)) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_4(var$3, nms_Item_redstone, ju_Random_nextInt($var1, 4) + 1 | 0); break a; } if ($var2 == 9 && !ju_Random_nextInt($var1, 10)) { var$3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_2(var$3, nms_Item_itemsList.data[nms_Item_record13.$shiftedIndex + ju_Random_nextInt($var1, 2) | 0]); break a; } var$3 = null; } return var$3; } function nms_WorldGenClay() { var a = this; nms_WorldGenerator.call(a); a.$clayBlockId = 0; a.$numberOfBlocks = 0; } function nms_WorldGenClay__init_(var_0) { var var_1 = new nms_WorldGenClay(); nms_WorldGenClay__init_0(var_1, var_0); return var_1; } function nms_WorldGenClay__init_0($this, $var1) { nms_Block_$callClinit(); $this.$clayBlockId = nms_Block_blockClay.$blockID; $this.$numberOfBlocks = $var1; } function nms_WorldGenClay_generate($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, var$8, $var7, $var9, $var11, $var13, $var15, $var17, $var19, var$16, var$17, var$18, $var20, $var22, $var24, $var26, $var28, $var30, $var32, var$26, var$27, var$28, $var33, $var34, $var35, $var37, $var39, $var41, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var41 = $thread.pop();$var39 = $thread.pop();$var37 = $thread.pop();$var35 = $thread.pop();$var34 = $thread.pop();$var33 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var32 = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$8 = $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: $ptr = 1; case 1: $tmp = nms_World_getBlockMaterial($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; nms_Material_$callClinit(); if (var$6 !== nms_Material_water) return 0; $var6 = ju_Random_nextFloat($var2) * 3.1415927410125732; var$8 = $var3 + 8 | 0; $var7 = var$8 + nms_MathHelper_sin($var6) * $this.$numberOfBlocks / 8.0; $var9 = var$8 - nms_MathHelper_sin($var6) * $this.$numberOfBlocks / 8.0; var$8 = $var5 + 8 | 0; $var11 = var$8 + nms_MathHelper_cos($var6) * $this.$numberOfBlocks / 8.0; $var13 = var$8 - nms_MathHelper_cos($var6) * $this.$numberOfBlocks / 8.0; $var15 = ($var4 + ju_Random_nextInt($var2, 3) | 0) + 2 | 0; $var17 = ($var4 + ju_Random_nextInt($var2, 3) | 0) + 2 | 0; $var19 = 0; var$16 = $var9 - $var7; var$17 = $var17 - $var15; var$18 = $var13 - $var11; while (true) { $var3 = $this.$numberOfBlocks; if ($var19 > $var3) break; $var9 = $var19; $var13 = var$16 * $var9; $var17 = $var3; $var20 = $var7 + $var13 / $var17; $var22 = $var15 + var$17 * $var9 / $var17; $var24 = $var11 + var$18 * $var9 / $var17; $var9 = ju_Random_nextDouble($var2); $var3 = $this.$numberOfBlocks; $var26 = $var9 * $var3 / 16.0; var$8 = $var19 * 3.1415927410125732; $var28 = (nms_MathHelper_sin(var$8 / $var3) + 1.0) * $var26 + 1.0; $var30 = (nms_MathHelper_sin(var$8 / $this.$numberOfBlocks) + 1.0) * $var26 + 1.0; $var26 = $var28 / 2.0; $var32 = $var20 - $var26 | 0; var$26 = $var20 + $var26 | 0; $var17 = $var30 / 2.0; var$27 = $var22 - $var17 | 0; var$28 = $var22 + $var17 | 0; $var4 = $var24 - $var26 | 0; $var5 = $var24 + $var26 | 0; while ($var32 <= var$26) { $var33 = var$27; while ($var33 <= var$28) { $var34 = $var4; while ($var34 <= $var5) { $var35 = ($var32 + 0.5 - $var20) / $var26; $var37 = ($var33 + 0.5 - $var22) / $var17; $var39 = ($var34 + 0.5 - $var24) / $var26; if ($var35 * $var35 + $var37 * $var37 + $var39 * $var39 < 1.0) { $ptr = 2; continue main; } $var34 = $var34 + 1 | 0; } $var33 = $var33 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var19 = $var19 + 1 | 0; } return 1; case 2: $tmp = nms_World_getBlockId($var1, $var32, $var33, $var34); if ($rt_suspending()) { break main; } $var41 = $tmp; nms_Block_$callClinit(); if ($var41 == nms_Block_sand.$blockID) { $var3 = $this.$clayBlockId; $ptr = 3; continue main; } a: while (true) { $var34 = $var34 + 1 | 0; while ($var34 > $var5) { $var33 = $var33 + 1 | 0; while ($var33 > var$28) { $var32 = $var32 + 1 | 0; while ($var32 > var$26) { $var19 = $var19 + 1 | 0; $var3 = $this.$numberOfBlocks; if ($var19 > $var3) break a; $var9 = $var19; $var13 = var$16 * $var9; $var17 = $var3; $var20 = $var7 + $var13 / $var17; $var22 = $var15 + var$17 * $var9 / $var17; $var24 = $var11 + var$18 * $var9 / $var17; $var9 = ju_Random_nextDouble($var2); $var3 = $this.$numberOfBlocks; $var26 = $var9 * $var3 / 16.0; var$8 = $var19 * 3.1415927410125732; $var28 = (nms_MathHelper_sin(var$8 / $var3) + 1.0) * $var26 + 1.0; $var30 = (nms_MathHelper_sin(var$8 / $this.$numberOfBlocks) + 1.0) * $var26 + 1.0; $var26 = $var28 / 2.0; $var32 = $var20 - $var26 | 0; var$26 = $var20 + $var26 | 0; $var17 = $var30 / 2.0; var$27 = $var22 - $var17 | 0; var$28 = $var22 + $var17 | 0; $var4 = $var24 - $var26 | 0; $var5 = $var24 + $var26 | 0; } $var33 = var$27; } $var34 = $var4; } $var35 = ($var32 + 0.5 - $var20) / $var26; $var37 = ($var33 + 0.5 - $var22) / $var17; $var39 = ($var34 + 0.5 - $var24) / $var26; if ($var35 * $var35 + $var37 * $var37 + $var39 * $var39 >= 1.0) continue; else { continue main; } } return 1; case 3: nms_World_setBlock($var1, $var32, $var33, $var34, $var3); if ($rt_suspending()) { break main; } b: while (true) { $var34 = $var34 + 1 | 0; while ($var34 > $var5) { $var33 = $var33 + 1 | 0; while ($var33 > var$28) { $var32 = $var32 + 1 | 0; while ($var32 > var$26) { $var19 = $var19 + 1 | 0; $var3 = $this.$numberOfBlocks; if ($var19 > $var3) break b; $var9 = $var19; $var13 = var$16 * $var9; $var17 = $var3; $var20 = $var7 + $var13 / $var17; $var22 = $var15 + var$17 * $var9 / $var17; $var24 = $var11 + var$18 * $var9 / $var17; $var9 = ju_Random_nextDouble($var2); $var3 = $this.$numberOfBlocks; $var26 = $var9 * $var3 / 16.0; var$8 = $var19 * 3.1415927410125732; $var28 = (nms_MathHelper_sin(var$8 / $var3) + 1.0) * $var26 + 1.0; $var30 = (nms_MathHelper_sin(var$8 / $this.$numberOfBlocks) + 1.0) * $var26 + 1.0; $var26 = $var28 / 2.0; $var32 = $var20 - $var26 | 0; var$26 = $var20 + $var26 | 0; $var17 = $var30 / 2.0; var$27 = $var22 - $var17 | 0; var$28 = $var22 + $var17 | 0; $var4 = $var24 - $var26 | 0; $var5 = $var24 + $var26 | 0; } $var33 = var$27; } $var34 = $var4; } $var35 = ($var32 + 0.5 - $var20) / $var26; $var37 = ($var33 + 0.5 - $var22) / $var17; $var39 = ($var34 + 0.5 - $var24) / $var26; if ($var35 * $var35 + $var37 * $var37 + $var39 * $var39 >= 1.0) continue; else { $ptr = 2; continue main; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, var$8, $var7, $var9, $var11, $var13, $var15, $var17, $var19, var$16, var$17, var$18, $var20, $var22, $var24, $var26, $var28, $var30, $var32, var$26, var$27, var$28, $var33, $var34, $var35, $var37, $var39, $var41, $ptr); } function nms_WorldGenMinable() { var a = this; nms_WorldGenerator.call(a); a.$minableBlockId = 0; a.$numberOfBlocks0 = 0; } function nms_WorldGenMinable__init_0(var_0, var_1) { var var_2 = new nms_WorldGenMinable(); nms_WorldGenMinable__init_(var_2, var_0, var_1); return var_2; } function nms_WorldGenMinable__init_($this, $var1, $var2) { $this.$minableBlockId = $var1; $this.$numberOfBlocks0 = $var2; } function nms_WorldGenMinable_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $var7, $var9, $var11, $var13, $var15, $var17, $var19, var$15, $var37, $var35, $var39, $var20, $var22, $var24, $var26, var$23, $var28, $var30, $var32, var$27, var$28, var$29, $var33, $var34, var$32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();$var34 = $thread.pop();$var33 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var32 = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();var$23 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var39 = $thread.pop();$var35 = $thread.pop();$var37 = $thread.pop();var$15 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = ju_Random_nextFloat($var2) * 3.1415927410125732; var$7 = $var3 + 8 | 0; $var7 = var$7 + nms_MathHelper_sin($var6) * $this.$numberOfBlocks0 / 8.0; $var9 = var$7 - nms_MathHelper_sin($var6) * $this.$numberOfBlocks0 / 8.0; var$7 = $var5 + 8 | 0; $var11 = var$7 + nms_MathHelper_cos($var6) * $this.$numberOfBlocks0 / 8.0; $var13 = var$7 - nms_MathHelper_cos($var6) * $this.$numberOfBlocks0 / 8.0; $var15 = ($var4 + ju_Random_nextInt($var2, 3) | 0) + 2 | 0; $var17 = ($var4 + ju_Random_nextInt($var2, 3) | 0) + 2 | 0; $var19 = 0; $var9 = $var9 - $var7; $var17 = $var17 - $var15; var$15 = $var13 - $var11; while (true) { $var3 = $this.$numberOfBlocks0; if ($var19 > $var3) break; $var37 = $var19; $var35 = $var9 * $var37; $var39 = $var3; $var20 = $var7 + $var35 / $var39; $var22 = $var15 + $var17 * $var37 / $var39; $var24 = $var11 + var$15 * $var37 / $var39; $var35 = ju_Random_nextDouble($var2); $var3 = $this.$numberOfBlocks0; $var26 = $var35 * $var3 / 16.0; var$23 = $var19 * 3.1415927410125732; $var28 = (nms_MathHelper_sin(var$23 / $var3) + 1.0) * $var26 + 1.0; $var30 = (nms_MathHelper_sin(var$23 / $this.$numberOfBlocks0) + 1.0) * $var26 + 1.0; $var26 = $var28 / 2.0; $var32 = $var20 - $var26 | 0; var$27 = $var20 + $var26 | 0; $var28 = $var30 / 2.0; var$28 = $var22 - $var28 | 0; var$29 = $var22 + $var28 | 0; $var4 = $var24 - $var26 | 0; $var5 = $var24 + $var26 | 0; while ($var32 <= var$27) { $var33 = var$28; while ($var33 <= var$29) { $var34 = $var4; while ($var34 <= $var5) { $var35 = ($var32 + 0.5 - $var20) / $var26; $var37 = ($var33 + 0.5 - $var22) / $var28; $var39 = ($var34 + 0.5 - $var24) / $var26; if ($var35 * $var35 + $var37 * $var37 + $var39 * $var39 < 1.0) { $ptr = 1; continue main; } $var34 = $var34 + 1 | 0; } $var33 = $var33 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var19 = $var19 + 1 | 0; } return 1; case 1: $tmp = nms_World_getBlockId($var1, $var32, $var33, $var34); if ($rt_suspending()) { break main; } var$32 = $tmp; nms_Block_$callClinit(); if (var$32 == nms_Block_stone.$blockID) { $var3 = $this.$minableBlockId; $ptr = 2; continue main; } a: while (true) { $var34 = $var34 + 1 | 0; while ($var34 > $var5) { $var33 = $var33 + 1 | 0; while ($var33 > var$29) { $var32 = $var32 + 1 | 0; while ($var32 > var$27) { $var19 = $var19 + 1 | 0; $var3 = $this.$numberOfBlocks0; if ($var19 > $var3) break a; $var37 = $var19; $var35 = $var9 * $var37; $var39 = $var3; $var20 = $var7 + $var35 / $var39; $var22 = $var15 + $var17 * $var37 / $var39; $var24 = $var11 + var$15 * $var37 / $var39; $var35 = ju_Random_nextDouble($var2); $var3 = $this.$numberOfBlocks0; $var26 = $var35 * $var3 / 16.0; var$23 = $var19 * 3.1415927410125732; $var28 = (nms_MathHelper_sin(var$23 / $var3) + 1.0) * $var26 + 1.0; $var30 = (nms_MathHelper_sin(var$23 / $this.$numberOfBlocks0) + 1.0) * $var26 + 1.0; $var26 = $var28 / 2.0; $var32 = $var20 - $var26 | 0; var$27 = $var20 + $var26 | 0; $var28 = $var30 / 2.0; var$28 = $var22 - $var28 | 0; var$29 = $var22 + $var28 | 0; $var4 = $var24 - $var26 | 0; $var5 = $var24 + $var26 | 0; } $var33 = var$28; } $var34 = $var4; } $var35 = ($var32 + 0.5 - $var20) / $var26; $var37 = ($var33 + 0.5 - $var22) / $var28; $var39 = ($var34 + 0.5 - $var24) / $var26; if ($var35 * $var35 + $var37 * $var37 + $var39 * $var39 >= 1.0) continue; else { continue main; } } return 1; case 2: nms_World_setBlock($var1, $var32, $var33, $var34, $var3); if ($rt_suspending()) { break main; } b: while (true) { $var34 = $var34 + 1 | 0; while ($var34 > $var5) { $var33 = $var33 + 1 | 0; while ($var33 > var$29) { $var32 = $var32 + 1 | 0; while ($var32 > var$27) { $var19 = $var19 + 1 | 0; $var3 = $this.$numberOfBlocks0; if ($var19 > $var3) break b; $var37 = $var19; $var35 = $var9 * $var37; $var39 = $var3; $var20 = $var7 + $var35 / $var39; $var22 = $var15 + $var17 * $var37 / $var39; $var24 = $var11 + var$15 * $var37 / $var39; $var35 = ju_Random_nextDouble($var2); $var3 = $this.$numberOfBlocks0; $var26 = $var35 * $var3 / 16.0; var$23 = $var19 * 3.1415927410125732; $var28 = (nms_MathHelper_sin(var$23 / $var3) + 1.0) * $var26 + 1.0; $var30 = (nms_MathHelper_sin(var$23 / $this.$numberOfBlocks0) + 1.0) * $var26 + 1.0; $var26 = $var28 / 2.0; $var32 = $var20 - $var26 | 0; var$27 = $var20 + $var26 | 0; $var28 = $var30 / 2.0; var$28 = $var22 - $var28 | 0; var$29 = $var22 + $var28 | 0; $var4 = $var24 - $var26 | 0; $var5 = $var24 + $var26 | 0; } $var33 = var$28; } $var34 = $var4; } $var35 = ($var32 + 0.5 - $var20) / $var26; $var37 = ($var33 + 0.5 - $var22) / $var28; $var39 = ($var34 + 0.5 - $var24) / $var26; if ($var35 * $var35 + $var37 * $var37 + $var39 * $var39 >= 1.0) continue; else { $ptr = 1; continue main; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var7, $var9, $var11, $var13, $var15, $var17, $var19, var$15, $var37, $var35, $var39, $var20, $var22, $var24, $var26, var$23, $var28, $var30, $var32, var$27, var$28, var$29, $var33, $var34, var$32, $ptr); } function nms_WorldGenFlowers() { nms_WorldGenerator.call(this); this.$plantBlockId = 0; } function nms_WorldGenFlowers__init_0(var_0) { var var_1 = new nms_WorldGenFlowers(); nms_WorldGenFlowers__init_(var_1, var_0); return var_1; } function nms_WorldGenFlowers__init_($this, $var1) { $this.$plantBlockId = $var1; } function nms_WorldGenFlowers_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, 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();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var7, $var8, $var9); if ($rt_suspending()) { break main; } var$10 = $tmp; if (!var$10) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$this.$plantBlockId]; $ptr = 2; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; continue main; case 2: $tmp = var$11.$canBlockStay($var1, $var7, $var8, $var9); if ($rt_suspending()) { break main; } var$10 = $tmp; if (var$10) { var$10 = $this.$plantBlockId; $ptr = 3; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; continue main; case 3: nms_World_setBlock($var1, $var7, $var8, $var9, var$10); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, var$11, $ptr); } var nms_WorldGenReed = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenReed__init_0() { var var_0 = new nms_WorldGenReed(); nms_WorldGenReed__init_(var_0); return var_0; } function nms_WorldGenReed__init_($this) {} function nms_WorldGenReed_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, $var7, $var9, $var10, var$11, $var11, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; var$7 = $var4 - 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var7, $var4, $var9); if ($rt_suspending()) { break main; } $var10 = $tmp; if (!$var10) { $var10 = $var7 - 1 | 0; $ptr = 2; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; continue main; case 2: $tmp = nms_World_getBlockMaterial($var1, $var10, var$7, $var9); if ($rt_suspending()) { break main; } var$11 = $tmp; nms_Material_$callClinit(); if (var$11 !== nms_Material_water) { $var10 = $var7 + 1 | 0; $ptr = 3; continue main; } $var10 = 2 + ju_Random_nextInt($var2, ju_Random_nextInt($var2, 3) + 1 | 0) | 0; $var11 = 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$11 = nms_Block_reed; var$13 = $var4 + $var11 | 0; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $ptr = 1; continue main; case 3: $tmp = nms_World_getBlockMaterial($var1, $var10, var$7, $var9); if ($rt_suspending()) { break main; } var$11 = $tmp; if (var$11 !== nms_Material_water) { $var10 = $var9 - 1 | 0; $ptr = 4; continue main; } $var10 = 2 + ju_Random_nextInt($var2, ju_Random_nextInt($var2, 3) + 1 | 0) | 0; $var11 = 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$11 = nms_Block_reed; var$13 = $var4 + $var11 | 0; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $ptr = 1; continue main; case 4: $tmp = nms_World_getBlockMaterial($var1, $var7, var$7, $var10); if ($rt_suspending()) { break main; } var$11 = $tmp; if (var$11 !== nms_Material_water) { $var10 = $var9 + 1 | 0; $ptr = 6; continue main; } $var10 = 2 + ju_Random_nextInt($var2, ju_Random_nextInt($var2, 3) + 1 | 0) | 0; $var11 = 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$11 = nms_Block_reed; var$13 = $var4 + $var11 | 0; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $ptr = 1; continue main; case 5: $tmp = var$11.$canBlockStay($var1, $var7, var$13, $var9); if ($rt_suspending()) { break main; } var$14 = $tmp; if (var$14) { var$14 = nms_Block_reed.$blockID; $ptr = 7; continue main; } $var11 = $var11 + 1 | 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$11 = nms_Block_reed; var$13 = $var4 + $var11 | 0; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $ptr = 1; continue main; case 6: $tmp = nms_World_getBlockMaterial($var1, $var7, var$7, $var10); if ($rt_suspending()) { break main; } var$11 = $tmp; if (var$11 === nms_Material_water) { $var10 = 2 + ju_Random_nextInt($var2, ju_Random_nextInt($var2, 3) + 1 | 0) | 0; $var11 = 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$11 = nms_Block_reed; var$13 = $var4 + $var11 | 0; $ptr = 5; continue main; } } $var6 = $var6 + 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $ptr = 1; continue main; case 7: nms_World_setBlock($var1, $var7, var$13, $var9, var$14); if ($rt_suspending()) { break main; } $var11 = $var11 + 1 | 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$11 = nms_Block_reed; var$13 = $var4 + $var11 | 0; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 20) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, $var7, $var9, $var10, var$11, $var11, var$13, var$14, $ptr); } var nms_WorldGenPumpkin = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenPumpkin__init_0() { var var_0 = new nms_WorldGenPumpkin(); nms_WorldGenPumpkin__init_(var_0); return var_0; } function nms_WorldGenPumpkin__init_($this) {} function nms_WorldGenPumpkin_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var7, $var8, $var9); if ($rt_suspending()) { break main; } var$10 = $tmp; if (!var$10) { var$10 = $var8 - 1 | 0; $ptr = 2; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; continue main; case 2: $tmp = nms_World_getBlockId($var1, $var7, var$10, $var9); if ($rt_suspending()) { break main; } var$11 = $tmp; nms_Block_$callClinit(); if (var$11 == nms_Block_grass.$blockID) { var$12 = nms_Block_pumpkin; $ptr = 3; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; continue main; case 3: $tmp = var$12.$canPlaceBlockAt($var1, $var7, $var8, $var9); if ($rt_suspending()) { break main; } var$10 = $tmp; if (var$10) { var$11 = nms_Block_pumpkin.$blockID; var$10 = ju_Random_nextInt($var2, 4); $ptr = 4; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; continue main; case 4: nms_World_setBlockAndMetadata($var1, $var7, $var8, $var9, var$11, var$10); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 >= 64) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, var$11, var$12, $ptr); } var nms_WorldGenCactus = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenCactus__init_0() { var var_0 = new nms_WorldGenCactus(); nms_WorldGenCactus__init_(var_0); return var_0; } function nms_WorldGenCactus__init_($this) {} function nms_WorldGenCactus_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, $var10, $var11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; if ($var6 >= 10) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var10 = $tmp; if (!$var10) { $var10 = 1 + ju_Random_nextInt($var2, ju_Random_nextInt($var2, 3) + 1 | 0) | 0; $var11 = 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$12 = nms_Block_cactus; var$13 = $var8 + $var11 | 0; $ptr = 2; continue main; } } $var6 = $var6 + 1 | 0; if ($var6 >= 10) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; continue main; case 2: $tmp = var$12.$canBlockStay($var1, $var7, var$13, $var9); if ($rt_suspending()) { break main; } var$14 = $tmp; if (var$14) { var$14 = nms_Block_cactus.$blockID; $ptr = 3; continue main; } $var11 = $var11 + 1 | 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$12 = nms_Block_cactus; var$13 = $var8 + $var11 | 0; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 10) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; continue main; case 3: nms_World_setBlock($var1, $var7, var$13, $var9, var$14); if ($rt_suspending()) { break main; } $var11 = $var11 + 1 | 0; if ($var11 < $var10) { nms_Block_$callClinit(); var$12 = nms_Block_cactus; var$13 = $var8 + $var11 | 0; $ptr = 2; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 10) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = ($var4 + ju_Random_nextInt($var2, 4) | 0) - ju_Random_nextInt($var2, 4) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, var$12, var$13, var$14, $ptr); } function nms_WorldGenLiquids() { nms_WorldGenerator.call(this); this.$liquidBlockId = 0; } function nms_WorldGenLiquids__init_0(var_0) { var var_1 = new nms_WorldGenLiquids(); nms_WorldGenLiquids__init_(var_1, var_0); return var_1; } function nms_WorldGenLiquids__init_($this, $var1) { $this.$liquidBlockId = $var1; } function nms_WorldGenLiquids_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, var$7, var$8, $var7, var$10, 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();var$10 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $var4 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var3, $var6, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Block_$callClinit(); if ($var6 != nms_Block_stone.$blockID) return 0; $var6 = $var4 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var3, $var6, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 != nms_Block_stone.$blockID) return 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { $ptr = 5; continue main; } $var6 = 0; var$7 = $var3 - 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockId($var1, var$7, $var4, $var5); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 == nms_Block_stone.$blockID) $var6 = 1; var$8 = $var3 + 1 | 0; $ptr = 6; continue main; case 5: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 != nms_Block_stone.$blockID) return 0; $var6 = 0; var$7 = $var3 - 1 | 0; $ptr = 4; continue main; case 6: $tmp = nms_World_getBlockId($var1, var$8, $var4, $var5); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == nms_Block_stone.$blockID) $var6 = $var6 + 1 | 0; var$10 = $var5 - 1 | 0; $ptr = 7; case 7: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$10); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == nms_Block_stone.$blockID) $var6 = $var6 + 1 | 0; var$11 = $var5 + 1 | 0; $ptr = 8; case 8: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$11); if ($rt_suspending()) { break main; } var$12 = $tmp; if (var$12 == nms_Block_stone.$blockID) $var6 = $var6 + 1 | 0; $var7 = 0; $ptr = 9; case 9: $tmp = nms_World_getBlockId($var1, var$7, $var4, $var5); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) $var7 = 1; $ptr = 10; case 10: $tmp = nms_World_getBlockId($var1, var$8, $var4, $var5); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) $var7 = $var7 + 1 | 0; $ptr = 11; case 11: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$10); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) $var7 = $var7 + 1 | 0; $ptr = 12; case 12: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) $var7 = $var7 + 1 | 0; if ($var6 == 3 && $var7 == 1) { $var6 = $this.$liquidBlockId; $ptr = 13; continue main; } return 1; case 13: nms_World_setBlockWithNotify($var1, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var1.$field_4214_a = 1; var$13 = nms_Block_blocksList.data[$this.$liquidBlockId]; $ptr = 14; case 14: var$13.$updateTick($var1, $var3, $var4, $var5, $var2); if ($rt_suspending()) { break main; } $var1.$field_4214_a = 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, var$7, var$8, $var7, var$10, var$11, var$12, var$13, $ptr); } function nms_WorldGenHellLava() { nms_WorldGenerator.call(this); this.$field_4158_a = 0; } function nms_WorldGenHellLava_generate($this, $var1, $var2, $var3, $var4, $var5) { var var$6, $var6, var$8, var$9, $var7, 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();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $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: var$6 = $var4 + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var3, var$6, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; nms_Block_$callClinit(); if (var$6 != nms_Block_bloodStone.$blockID) return 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6) { $ptr = 4; continue main; } $var6 = 0; var$8 = $var3 - 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getBlockId($var1, var$8, $var4, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 == nms_Block_bloodStone.$blockID) $var6 = 1; var$6 = $var3 + 1 | 0; $ptr = 5; continue main; case 4: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 != nms_Block_bloodStone.$blockID) return 0; $var6 = 0; var$8 = $var3 - 1 | 0; $ptr = 3; continue main; case 5: $tmp = nms_World_getBlockId($var1, var$6, $var4, $var5); if ($rt_suspending()) { break main; } var$9 = $tmp; if (var$9 == nms_Block_bloodStone.$blockID) $var6 = $var6 + 1 | 0; var$9 = $var5 - 1 | 0; $ptr = 6; case 6: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$9); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == nms_Block_bloodStone.$blockID) $var6 = $var6 + 1 | 0; var$11 = $var5 + 1 | 0; $ptr = 7; case 7: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$11); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == nms_Block_bloodStone.$blockID) $var6 = $var6 + 1 | 0; var$12 = $var4 - 1 | 0; $ptr = 8; case 8: $tmp = nms_World_getBlockId($var1, $var3, var$12, $var5); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 == nms_Block_bloodStone.$blockID) $var6 = $var6 + 1 | 0; $var7 = 0; $ptr = 9; case 9: $tmp = nms_World_getBlockId($var1, var$8, $var4, $var5); if ($rt_suspending()) { break main; } var$8 = $tmp; if (!var$8) $var7 = 1; $ptr = 10; case 10: $tmp = nms_World_getBlockId($var1, var$6, $var4, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) $var7 = $var7 + 1 | 0; $ptr = 11; case 11: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$9); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) $var7 = $var7 + 1 | 0; $ptr = 12; case 12: $tmp = nms_World_getBlockId($var1, $var3, $var4, var$11); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) $var7 = $var7 + 1 | 0; $ptr = 13; case 13: $tmp = nms_World_getBlockId($var1, $var3, var$12, $var5); if ($rt_suspending()) { break main; } var$6 = $tmp; if (!var$6) $var7 = $var7 + 1 | 0; if ($var6 == 4 && $var7 == 1) { var$6 = $this.$field_4158_a; $ptr = 14; continue main; } return 1; case 14: nms_World_setBlockWithNotify($var1, $var3, $var4, $var5, var$6); if ($rt_suspending()) { break main; } $var1.$field_4214_a = 1; var$13 = nms_Block_blocksList.data[$this.$field_4158_a]; $ptr = 15; case 15: var$13.$updateTick($var1, $var3, $var4, $var5, $var2); if ($rt_suspending()) { break main; } $var1.$field_4214_a = 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, var$6, $var6, var$8, var$9, $var7, var$11, var$12, var$13, $ptr); } var nms_WorldGenFire = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenFire__init_0() { var var_0 = new nms_WorldGenFire(); nms_WorldGenFire__init_(var_0); return var_0; } function nms_WorldGenFire__init_($this) {} var nms_WorldGenLightStone1 = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenLightStone1__init_0() { var var_0 = new nms_WorldGenLightStone1(); nms_WorldGenLightStone1__init_(var_0); return var_0; } function nms_WorldGenLightStone1__init_($this) {} function nms_WorldGenLightStone1_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, var$10, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) return 0; $var6 = $var4 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var3, $var6, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Block_$callClinit(); if ($var6 != nms_Block_bloodStone.$blockID) return 0; $var6 = nms_Block_lightStone.$blockID; $ptr = 3; case 3: nms_World_setBlockWithNotify($var1, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var6 = 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; case 4: a: { $tmp = nms_World_getBlockId($var1, $var7, $var8, $var9); if ($rt_suspending()) { break main; } var$10 = $tmp; if (!var$10) { $var10 = 0; $var11 = 0; var$13 = $var7 - 1 | 0; var$14 = $var7 + 1 | 0; var$15 = $var8 - 1 | 0; var$16 = $var8 + 1 | 0; var$17 = $var9 - 1 | 0; var$18 = $var9 + 1 | 0; while (true) { if ($var11 >= 6) { if ($var10 != 1) break a; var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) break; if (0 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; } $ptr = 11; continue main; } } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; continue main; case 5: nms_World_setBlockWithNotify($var1, $var7, $var8, $var9, var$10); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; case 6: $tmp = nms_World_getBlockId($var1, var$13, $var8, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 1) { if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { continue main; } } $ptr = 7; case 7: $tmp = nms_World_getBlockId($var1, var$14, $var8, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 2) { if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { continue main; } } $ptr = 8; case 8: $tmp = nms_World_getBlockId($var1, $var7, var$15, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 3) { if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { continue main; } } $ptr = 9; case 9: $tmp = nms_World_getBlockId($var1, $var7, var$16, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 4) { if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { continue main; } } $ptr = 10; case 10: $tmp = nms_World_getBlockId($var1, $var7, $var8, var$17); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 5) { if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { continue main; } } $ptr = 11; case 11: $tmp = nms_World_getBlockId($var1, $var7, $var8, var$18); if ($rt_suspending()) { break main; } $var12 = $tmp; while (true) { if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) break; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, $var12, $ptr); } var nms_WorldGenLightStone2 = $rt_classWithoutFields(nms_WorldGenerator); function nms_WorldGenLightStone2__init_0() { var var_0 = new nms_WorldGenLightStone2(); nms_WorldGenLightStone2__init_(var_0); return var_0; } function nms_WorldGenLightStone2__init_($this) {} function nms_WorldGenLightStone2_generate($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9, var$10, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockId($var1, $var3, $var4, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) return 0; $var6 = $var4 + 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockId($var1, $var3, $var6, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_Block_$callClinit(); if ($var6 != nms_Block_bloodStone.$blockID) return 0; $var6 = nms_Block_lightStone.$blockID; $ptr = 3; case 3: nms_World_setBlockWithNotify($var1, $var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var6 = 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; case 4: a: { $tmp = nms_World_getBlockId($var1, $var7, $var8, $var9); if ($rt_suspending()) { break main; } var$10 = $tmp; if (!var$10) { $var10 = 0; $var11 = 0; var$13 = $var7 - 1 | 0; var$14 = $var7 + 1 | 0; var$15 = $var8 - 1 | 0; var$16 = $var8 + 1 | 0; var$17 = $var9 - 1 | 0; var$18 = $var9 + 1 | 0; while (true) { if ($var11 >= 6) { if ($var10 != 1) break a; var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) break; if (0 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; } $ptr = 11; continue main; } } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; continue main; case 5: nms_World_setBlockWithNotify($var1, $var7, $var8, $var9, var$10); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; case 6: $tmp = nms_World_getBlockId($var1, var$13, $var8, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 1) { if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { continue main; } } $ptr = 7; case 7: $tmp = nms_World_getBlockId($var1, var$14, $var8, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 2) { if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { continue main; } } $ptr = 8; case 8: $tmp = nms_World_getBlockId($var1, $var7, var$15, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 3) { if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { continue main; } } $ptr = 9; case 9: $tmp = nms_World_getBlockId($var1, $var7, var$16, $var9); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 4) { if ($var11 == 5) { $ptr = 11; continue main; } if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { continue main; } } $ptr = 10; case 10: $tmp = nms_World_getBlockId($var1, $var7, $var8, var$17); if ($rt_suspending()) { break main; } $var12 = $tmp; while ($var11 != 5) { if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { continue main; } } $ptr = 11; case 11: $tmp = nms_World_getBlockId($var1, $var7, $var8, var$18); if ($rt_suspending()) { break main; } $var12 = $tmp; while (true) { if ($var12 == nms_Block_lightStone.$blockID) $var10 = $var10 + 1 | 0; $var11 = $var11 + 1 | 0; if ($var11 >= 6) { if ($var10 == 1) { var$10 = nms_Block_lightStone.$blockID; $ptr = 5; continue main; } $var6 = $var6 + 1 | 0; if ($var6 >= 1500) return 1; $var7 = ($var3 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $var8 = $var4 - ju_Random_nextInt($var2, 12) | 0; $var9 = ($var5 + ju_Random_nextInt($var2, 8) | 0) - ju_Random_nextInt($var2, 8) | 0; $ptr = 4; continue main; } $var12 = 0; if (!$var11) { $ptr = 6; continue main; } if ($var11 == 1) { $ptr = 7; continue main; } if ($var11 == 2) { $ptr = 8; continue main; } if ($var11 == 3) { $ptr = 9; continue main; } if ($var11 == 4) { $ptr = 10; continue main; } if ($var11 == 5) break; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, $var12, $ptr); } var juf_DoubleSupplier = $rt_classWithoutFields(0); function ju_Random$nextGaussian$lambda$_9_0() { jl_Object.call(this); this.$_03 = null; } function ju_Random$nextGaussian$lambda$_9_0_getAsDouble(var$0) { return ju_Random_nextDouble(var$0.$_03); } var otci_RandomUtils = $rt_classWithoutFields(); function otci_RandomUtils__init_0() { var var_0 = new otci_RandomUtils(); otci_RandomUtils__init_(var_0); return var_0; } function otci_RandomUtils__init_($this) {} var jl_StrictMath = $rt_classWithoutFields(); function jl_StrictMath__init_0() { var var_0 = new jl_StrictMath(); jl_StrictMath__init_(var_0); return var_0; } function jl_StrictMath__init_($this) {} var jl_ReflectiveOperationException = $rt_classWithoutFields(jl_Exception); function jl_ReflectiveOperationException__init_0() { var var_0 = new jl_ReflectiveOperationException(); jl_ReflectiveOperationException__init_(var_0); return var_0; } function jl_ReflectiveOperationException__init_($this) { jl_Throwable__init_0($this); } var jl_InstantiationException = $rt_classWithoutFields(jl_ReflectiveOperationException); function jl_InstantiationException__init_0() { var var_0 = new jl_InstantiationException(); jl_InstantiationException__init_(var_0); return var_0; } function jl_InstantiationException__init_($this) { jl_Throwable__init_0($this); } function nms_Explosion() { var a = this; jl_Object.call(a); a.$field_12257_a = 0; a.$field_12250_h = null; a.$field_12249_i = null; a.$field_12256_b = 0.0; a.$field_12255_c = 0.0; a.$field_12254_d = 0.0; a.$field_12253_e = null; a.$field_12252_f = 0.0; a.$field_12251_g = null; } function nms_Explosion_func_12248_a($this) { var $var1, $var2, $var3, var$4, $var14, $var4, $var5, $var29, $var7, $var30, $var9, $var31, $var33, $var6, $var8, $var10, $var12, $var15, $var17, $var19, $var21, $var22, $var23, $var24, $var11, $var32, $var34, $var35, $var36, $var37, $var16, $var13, $var39, $var40, $var41, $var38, $var18, $var25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();$var25 = $thread.pop();$var18 = $thread.pop();$var38 = $thread.pop();$var41 = $thread.pop();$var40 = $thread.pop();$var39 = $thread.pop();$var13 = $thread.pop();$var16 = $thread.pop();$var37 = $thread.pop();$var36 = $thread.pop();$var35 = $thread.pop();$var34 = $thread.pop();$var32 = $thread.pop();$var11 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var33 = $thread.pop();$var31 = $thread.pop();$var9 = $thread.pop();$var30 = $thread.pop();$var7 = $thread.pop();$var29 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var14 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$field_12252_f; $var2 = 16; $var3 = 0; var$4 = 15.0; a: while (true) { if ($var3 >= $var2) { $var14 = $this.$field_12252_f * 2.0; $this.$field_12252_f = $var14; $var2 = nms_MathHelper_floor_double($this.$field_12256_b - $var14 - 1.0); $var4 = nms_MathHelper_floor_double($this.$field_12256_b + $this.$field_12252_f + 1.0); $var5 = nms_MathHelper_floor_double($this.$field_12255_c - $this.$field_12252_f - 1.0); $var29 = nms_MathHelper_floor_double($this.$field_12255_c + $this.$field_12252_f + 1.0); $var7 = nms_MathHelper_floor_double($this.$field_12254_d - $this.$field_12252_f - 1.0); $var30 = nms_MathHelper_floor_double($this.$field_12254_d + $this.$field_12252_f + 1.0); $var9 = $this.$field_12249_i; $var31 = $this.$field_12253_e; $var33 = nms_AxisAlignedBB_getBoundingBoxFromPool($var2, $var5, $var7, $var4, $var29, $var30); $ptr = 1; continue main; } $var4 = 0; while ($var4 < $var2) { $var5 = 0; while ($var5 < $var2) { if (!($var3 && $var3 != 15 && $var4 && $var4 != 15 && $var5 && $var5 != 15)) { $var6 = $var3 / var$4 * 2.0 - 1.0; $var8 = $var4 / var$4 * 2.0 - 1.0; $var10 = $var5 / var$4 * 2.0 - 1.0; $var12 = jl_Math_sqrt($var6 * $var6 + $var8 * $var8 + $var10 * $var10); $var6 = $var6 / $var12; $var8 = $var8 / $var12; $var12 = $var10 / $var12; $var14 = $this.$field_12252_f * (0.699999988079071 + ju_Random_nextFloat($this.$field_12249_i.$rand1) * 0.6000000238418579); $var15 = $this.$field_12256_b; $var17 = $this.$field_12255_c; $var19 = $this.$field_12254_d; $var21 = 0.30000001192092896; $var6 = $var6 * 0.30000001192092896; $var8 = $var8 * 0.30000001192092896; $var12 = $var12 * 0.30000001192092896; if ($var14 > 0.0) break a; } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var22 = nms_MathHelper_floor_double($var15); $var23 = nms_MathHelper_floor_double($var17); $var24 = nms_MathHelper_floor_double($var19); $var9 = $this.$field_12249_i; $ptr = 6; continue main; case 1: $tmp = nms_World_getEntitiesWithinAABBExcludingEntity($var9, $var31, $var33); if ($rt_suspending()) { break main; } $var9 = $tmp; $var31 = nms_Vec3D_createVector($this.$field_12256_b, $this.$field_12255_c, $this.$field_12254_d); $var11 = 0; while (true) { if ($var11 >= $var9.$size) { $this.$field_12252_f = $var1; $var32 = ju_ArrayList__init_0(); ju_AbstractCollection_addAll($var32, $this.$field_12251_g); if ($this.$field_12257_a) { $var34 = $var32.$size - 1 | 0; if ($var34 >= 0) { $var35 = ju_ArrayList_get($var32, $var34); $var36 = $var35.$x3; $var37 = $var35.$y2; $var16 = $var35.$z5; $var9 = $this.$field_12249_i; $ptr = 4; continue main; } } return; } $var33 = ju_ArrayList_get($var9, $var11); $var13 = nms_Entity_getDistance($var33, $this.$field_12256_b, $this.$field_12255_c, $this.$field_12254_d) / $this.$field_12252_f; if ($var13 <= 1.0) break; $var11 = $var11 + 1 | 0; } $var15 = $var33.$posX - $this.$field_12256_b; $var17 = $var33.$posY - $this.$field_12255_c; $var19 = $var33.$posZ - $this.$field_12254_d; $var39 = nms_MathHelper_sqrt_double($var15 * $var15 + $var17 * $var17 + $var19 * $var19); $var12 = $var15 / $var39; $var6 = $var17 / $var39; $var8 = $var19 / $var39; $var32 = $this.$field_12249_i; $var35 = $var33.$boundingBox; $ptr = 2; case 2: $tmp = nms_World_func_675_a($var32, $var31, $var35); if ($rt_suspending()) { break main; } $var14 = $tmp; $var40 = $var14; $var41 = (1.0 - $var13) * $var40; $var32 = $this.$field_12253_e; $var2 = ($var41 * $var41 + $var41) / 2.0 * 8.0 * $this.$field_12252_f + 1.0 | 0; $ptr = 3; case 3: $var33.$canAttackEntity($var32, $var2); if ($rt_suspending()) { break main; } $var33.$motionX = $var33.$motionX + $var12 * $var41; $var33.$motionY = $var33.$motionY + $var6 * $var41; $var33.$motionZ = $var33.$motionZ + $var8 * $var41; while (true) { $var11 = $var11 + 1 | 0; if ($var11 >= $var9.$size) { $this.$field_12252_f = $var1; $var32 = ju_ArrayList__init_0(); ju_AbstractCollection_addAll($var32, $this.$field_12251_g); if ($this.$field_12257_a) { $var34 = $var32.$size - 1 | 0; if ($var34 >= 0) { $var35 = ju_ArrayList_get($var32, $var34); $var36 = $var35.$x3; $var37 = $var35.$y2; $var16 = $var35.$z5; $var9 = $this.$field_12249_i; $ptr = 4; continue main; } } return; } $var33 = ju_ArrayList_get($var9, $var11); $var13 = nms_Entity_getDistance($var33, $this.$field_12256_b, $this.$field_12255_c, $this.$field_12254_d) / $this.$field_12252_f; if ($var13 > 1.0) continue; else break; } $var15 = $var33.$posX - $this.$field_12256_b; $var17 = $var33.$posY - $this.$field_12255_c; $var19 = $var33.$posZ - $this.$field_12254_d; $var39 = nms_MathHelper_sqrt_double($var15 * $var15 + $var17 * $var17 + $var19 * $var19); $var12 = $var15 / $var39; $var6 = $var17 / $var39; $var8 = $var19 / $var39; $var32 = $this.$field_12249_i; $var35 = $var33.$boundingBox; $ptr = 2; continue main; case 4: $tmp = nms_World_getBlockId($var9, $var36, $var37, $var16); if ($rt_suspending()) { break main; } $var38 = $tmp; $var9 = $this.$field_12249_i; $var2 = $var37 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_getBlockId($var9, $var36, $var2, $var16); if ($rt_suspending()) { break main; } $var18 = $tmp; if (!$var38) { nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[$var18] && !ju_Random_nextInt($this.$field_12250_h, 3)) { $var9 = $this.$field_12249_i; $var2 = nms_Block_fire.$blockID; $ptr = 7; continue main; } } $var34 = $var34 + (-1) | 0; if ($var34 < 0) return; $var35 = ju_ArrayList_get($var32, $var34); $var36 = $var35.$x3; $var37 = $var35.$y2; $var16 = $var35.$z5; $var9 = $this.$field_12249_i; $ptr = 4; continue main; case 6: $tmp = nms_World_getBlockId($var9, $var22, $var23, $var24); if ($rt_suspending()) { break main; } $var25 = $tmp; if ($var25 > 0) { nms_Block_$callClinit(); $var14 = $var14 - (nms_Block_blocksList.data[$var25].$func_227_a($this.$field_12253_e) + 0.30000001192092896) * $var21; } if ($var14 > 0.0) ju_HashSet_add($this.$field_12251_g, nms_ChunkPosition__init_($var22, $var23, $var24)); $var15 = $var15 + $var6; $var17 = $var17 + $var8; $var19 = $var19 + $var12; $var14 = $var14 - 0.22500000894069672; while ($var14 <= 0.0) { while (true) { $var5 = $var5 + 1 | 0; while ($var5 >= $var2) { $var4 = $var4 + 1 | 0; while ($var4 >= $var2) { $var3 = $var3 + 1 | 0; if ($var3 >= $var2) { $var14 = $this.$field_12252_f * 2.0; $this.$field_12252_f = $var14; $var2 = nms_MathHelper_floor_double($this.$field_12256_b - $var14 - 1.0); $var4 = nms_MathHelper_floor_double($this.$field_12256_b + $this.$field_12252_f + 1.0); $var5 = nms_MathHelper_floor_double($this.$field_12255_c - $this.$field_12252_f - 1.0); $var29 = nms_MathHelper_floor_double($this.$field_12255_c + $this.$field_12252_f + 1.0); $var7 = nms_MathHelper_floor_double($this.$field_12254_d - $this.$field_12252_f - 1.0); $var30 = nms_MathHelper_floor_double($this.$field_12254_d + $this.$field_12252_f + 1.0); $var9 = $this.$field_12249_i; $var31 = $this.$field_12253_e; $var33 = nms_AxisAlignedBB_getBoundingBoxFromPool($var2, $var5, $var7, $var4, $var29, $var30); $ptr = 1; continue main; } $var4 = 0; } $var5 = 0; } if (!$var3) break; if ($var3 == 15) break; if (!$var4) break; if ($var4 == 15) break; if (!$var5) break; if ($var5 != 15) continue; else break; } $var6 = $var3 / var$4 * 2.0 - 1.0; $var8 = $var4 / var$4 * 2.0 - 1.0; $var10 = $var5 / var$4 * 2.0 - 1.0; $var12 = jl_Math_sqrt($var6 * $var6 + $var8 * $var8 + $var10 * $var10); $var6 = $var6 / $var12; $var8 = $var8 / $var12; $var12 = $var10 / $var12; $var14 = $this.$field_12252_f * (0.699999988079071 + ju_Random_nextFloat($this.$field_12249_i.$rand1) * 0.6000000238418579); $var15 = $this.$field_12256_b; $var17 = $this.$field_12255_c; $var19 = $this.$field_12254_d; $var21 = 0.30000001192092896; $var6 = $var6 * 0.30000001192092896; $var8 = $var8 * 0.30000001192092896; $var12 = $var12 * 0.30000001192092896; } $var22 = nms_MathHelper_floor_double($var15); $var23 = nms_MathHelper_floor_double($var17); $var24 = nms_MathHelper_floor_double($var19); $var9 = $this.$field_12249_i; continue main; case 7: nms_World_setBlockWithNotify($var9, $var36, $var37, $var16, $var2); if ($rt_suspending()) { break main; } $var34 = $var34 + (-1) | 0; if ($var34 < 0) return; $var35 = ju_ArrayList_get($var32, $var34); $var36 = $var35.$x3; $var37 = $var35.$y2; $var16 = $var35.$z5; $var9 = $this.$field_12249_i; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var14, $var4, $var5, $var29, $var7, $var30, $var9, $var31, $var33, $var6, $var8, $var10, $var12, $var15, $var17, $var19, $var21, $var22, $var23, $var24, $var11, $var32, $var34, $var35, $var36, $var37, $var16, $var13, $var39, $var40, $var41, $var38, $var18, $var25, $ptr); } function nms_Explosion_func_12247_b($this) { var $var3, $var1, $var2, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $var9, $var11, $var13, $var15, $var17, $var19, $var21, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$field_12249_i; nms_World_playSoundEffect($var3, $this.$field_12256_b, $this.$field_12255_c, $this.$field_12254_d, $rt_s(1031), 4.0, (1.0 + (ju_Random_nextFloat($var3.$rand1) - ju_Random_nextFloat($this.$field_12249_i.$rand1)) * 0.20000000298023224) * 0.699999988079071); $var1 = ju_ArrayList__init_0(); ju_AbstractCollection_addAll($var1, $this.$field_12251_g); $var2 = $var1.$size - 1 | 0; if ($var2 < 0) return; $var3 = ju_ArrayList_get($var1, $var2); $var4 = $var3.$x3; $var5 = $var3.$y2; $var6 = $var3.$z5; $var3 = $this.$field_12249_i; $ptr = 1; case 1: $tmp = nms_World_getBlockId($var3, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; $var8 = 0; var$9 = $var4; var$10 = $var5; var$11 = $var6; while ($var8 < 1) { $var9 = var$9 + ju_Random_nextFloat($this.$field_12249_i.$rand1); $var11 = var$10 + ju_Random_nextFloat($this.$field_12249_i.$rand1); $var13 = var$11 + ju_Random_nextFloat($this.$field_12249_i.$rand1); $var15 = $var9 - $this.$field_12256_b; $var17 = $var11 - $this.$field_12255_c; $var19 = $var13 - $this.$field_12254_d; $var21 = nms_MathHelper_sqrt_double($var15 * $var15 + $var17 * $var17 + $var19 * $var19); $var15 = $var15 / $var21; var$19 = $var17 / $var21; $var19 = $var19 / $var21; $var17 = 0.5 / ($var21 / $this.$field_12252_f + 0.1) * (ju_Random_nextFloat($this.$field_12249_i.$rand1) * ju_Random_nextFloat($this.$field_12249_i.$rand1) + 0.30000001192092896); $var15 = $var15 * $var17; $var21 = var$19 * $var17; $var17 = $var19 * $var17; nms_World_spawnParticle($this.$field_12249_i, $rt_s(488), ($var9 + $this.$field_12256_b * 1.0) / 2.0, ($var11 + $this.$field_12255_c * 1.0) / 2.0, ($var13 + $this.$field_12254_d * 1.0) / 2.0, $var15, $var21, $var17); nms_World_spawnParticle($this.$field_12249_i, $rt_s(299), $var9, $var11, $var13, $var15, $var21, $var17); $var8 = $var8 + 1 | 0; } if ($var7 > 0) { nms_Block_$callClinit(); $var3 = nms_Block_blocksList.data[$var7]; var$20 = $this.$field_12249_i; $ptr = 2; continue main; } $var2 = $var2 + (-1) | 0; if ($var2 < 0) return; $var3 = ju_ArrayList_get($var1, $var2); $var4 = $var3.$x3; $var5 = $var3.$y2; $var6 = $var3.$z5; $var3 = $this.$field_12249_i; continue main; case 2: $tmp = nms_World_getBlockMetadata(var$20, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; var$21 = 0.30000001192092896; $ptr = 3; case 3: $var3.$dropBlockAsItemWithChance(var$20, $var4, $var5, $var6, $var8, var$21); if ($rt_suspending()) { break main; } $var3 = $this.$field_12249_i; $var8 = 0; $ptr = 4; case 4: nms_World_setBlockWithNotify($var3, $var4, $var5, $var6, $var8); if ($rt_suspending()) { break main; } $var3 = nms_Block_blocksList.data[$var7]; var$20 = $this.$field_12249_i; $ptr = 5; case 5: $var3.$onBlockDestroyedByExplosion(var$20, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var2 = $var2 + (-1) | 0; if ($var2 < 0) return; $var3 = ju_ArrayList_get($var1, $var2); $var4 = $var3.$x3; $var5 = $var3.$y2; $var6 = $var3.$z5; $var3 = $this.$field_12249_i; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var1, $var2, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $var9, $var11, $var13, $var15, $var17, $var19, $var21, var$19, var$20, var$21, $ptr); } function nms_PathEntity() { var a = this; jl_Object.call(a); a.$points = null; a.$pathLength = 0; a.$pathIndex = 0; } function nms_PathEntity_incrementPathIndex($this) { $this.$pathIndex = $this.$pathIndex + 1 | 0; } function nms_PathEntity_isFinished($this) { return $this.$pathIndex < $this.$points.data.length ? 0 : 1; } function nms_PathEntity_getPosition($this, $var1) { var var$2, var$3, $var2, $var6; var$2 = $this.$points.data; var$3 = $this.$pathIndex; $var2 = var$2[var$3].$xCoord3; $var6 = ($var1.$width0 + 1.0 | 0) * 0.5; return nms_Vec3D_createVector($var2 + $var6, var$2[var$3].$yCoord3, var$2[var$3].$zCoord3 + $var6); } function nms_Pathfinder() { var a = this; jl_Object.call(a); a.$worldMap = null; a.$path0 = null; a.$pointMap = null; a.$pathOptions = null; } function nms_Pathfinder__init_(var_0) { var var_1 = new nms_Pathfinder(); nms_Pathfinder__init_0(var_1, var_0); return var_1; } function nms_Pathfinder__init_0($this, $var1) { $this.$path0 = nms_Path__init_0(); $this.$pointMap = nms_MCHashTable__init_0(); $this.$pathOptions = $rt_createArray(nms_PathPoint, 32); $this.$worldMap = $var1; } function nms_Pathfinder_createEntityPathTo0($this, $var1, $var2, $var3, $var4, $var5) { return nms_Pathfinder_createEntityPathTo($this, $var1, $var2 + 0.5, $var3 + 0.5, $var4 + 0.5, $var5); } function nms_Pathfinder_createEntityPathTo($this, $var1, $var2, $var4, $var6, $var8) { var $var12, var$7, var$8, var$9, $var9, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22; nms_Path_clearPath($this.$path0); $var12 = $this.$pointMap; $var12.$versionStamp = $var12.$versionStamp + 1 | 0; var$7 = $var12.$slots; var$8 = 0; while (true) { var$9 = var$7.data; if (var$8 >= var$9.length) break; var$9[var$8] = null; var$8 = var$8 + 1 | 0; } $var12.$count4 = 0; $var9 = nms_Pathfinder_openPoint($this, nms_MathHelper_floor_double($var1.$boundingBox.$minX), nms_MathHelper_floor_double($var1.$boundingBox.$minY0), nms_MathHelper_floor_double($var1.$boundingBox.$minZ0)); $var10 = nms_Pathfinder_openPoint($this, nms_MathHelper_floor_double($var2 - $var1.$width0 / 2.0), nms_MathHelper_floor_double($var4), nms_MathHelper_floor_double($var6 - $var1.$width0 / 2.0)); $var11 = nms_PathPoint__init_(nms_MathHelper_floor_float($var1.$width0 + 1.0), nms_MathHelper_floor_float($var1.$height + 1.0), nms_MathHelper_floor_float($var1.$width0 + 1.0)); $var9.$totalPathDistance = 0.0; var$13 = nms_PathPoint_distanceTo($var9, $var10); $var9.$distanceToNext = var$13; $var9.$distanceToTarget = var$13; nms_Path_clearPath($this.$path0); nms_Path_addPoint($this.$path0, $var9); var$14 = $var9; a: { while (true) { var$15 = $this.$path0; var$16 = var$15.$count5; if (var$16 ? 0 : 1) { if (var$14 !== $var9) { $var12 = nms_Pathfinder_createEntityPath($this, $var9, var$14); break a; } $var12 = null; break a; } var$7 = var$15.$pathPoints.data; var$17 = var$7[0]; var$8 = var$16 - 1 | 0; var$15.$count5 = var$8; var$7[0] = var$7[var$8]; var$7[var$8] = null; if (var$8 > 0) nms_Path_sortForward(var$15, 0); var$17.$index8 = (-1); if (var$17.$hash == $var10.$hash) break; if (nms_PathPoint_distanceTo(var$17, $var10) < nms_PathPoint_distanceTo(var$14, $var10)) var$14 = var$17; var$17.$isFirst = 1; var$18 = 0; if (nms_Pathfinder_getVerticalOffset($this, $var1, var$17.$xCoord3, var$17.$yCoord3 + 1 | 0, var$17.$zCoord3, $var11) > 0) var$18 = 1; $var12 = nms_Pathfinder_getSafePoint($this, $var1, var$17.$xCoord3, var$17.$yCoord3, var$17.$zCoord3 + 1 | 0, $var11, var$18); var$15 = nms_Pathfinder_getSafePoint($this, $var1, var$17.$xCoord3 - 1 | 0, var$17.$yCoord3, var$17.$zCoord3, $var11, var$18); var$19 = nms_Pathfinder_getSafePoint($this, $var1, var$17.$xCoord3 + 1 | 0, var$17.$yCoord3, var$17.$zCoord3, $var11, var$18); var$20 = nms_Pathfinder_getSafePoint($this, $var1, var$17.$xCoord3, var$17.$yCoord3, var$17.$zCoord3 - 1 | 0, $var11, var$18); if ($var12 === null) var$8 = 0; else if ($var12.$isFirst) var$8 = 0; else if (nms_PathPoint_distanceTo($var12, $var10) >= $var8) var$8 = 0; else { var$7 = $this.$pathOptions.data; var$8 = 1; var$7[0] = $var12; } if (var$15 === null) var$21 = var$8; else if (var$15.$isFirst) var$21 = var$8; else if (nms_PathPoint_distanceTo(var$15, $var10) >= $var8) var$21 = var$8; else { var$7 = $this.$pathOptions.data; var$21 = var$8 + 1 | 0; var$7[var$8] = var$15; } if (var$19 === null) var$8 = var$21; else if (var$19.$isFirst) var$8 = var$21; else if (nms_PathPoint_distanceTo(var$19, $var10) >= $var8) var$8 = var$21; else { var$7 = $this.$pathOptions.data; var$8 = var$21 + 1 | 0; var$7[var$21] = var$19; } if (var$20 === null) var$16 = var$8; else if (var$20.$isFirst) var$16 = var$8; else if (nms_PathPoint_distanceTo(var$20, $var10) >= $var8) var$16 = var$8; else { var$7 = $this.$pathOptions.data; var$16 = var$8 + 1 | 0; var$7[var$8] = var$20; } var$8 = 0; while (var$8 < var$16) { $var12 = $this.$pathOptions.data[var$8]; var$13 = var$17.$totalPathDistance + nms_PathPoint_distanceTo(var$17, $var12); if (!(nms_PathPoint_isAssigned($var12) && var$13 >= $var12.$totalPathDistance)) { $var12.$previous0 = var$17; $var12.$totalPathDistance = var$13; $var12.$distanceToNext = nms_PathPoint_distanceTo($var12, $var10); if (!nms_PathPoint_isAssigned($var12)) { $var12.$distanceToTarget = $var12.$totalPathDistance + $var12.$distanceToNext; nms_Path_addPoint($this.$path0, $var12); } else { var$15 = $this.$path0; var$13 = $var12.$totalPathDistance + $var12.$distanceToNext; var$22 = $var12.$distanceToTarget; $var12.$distanceToTarget = var$13; if (var$13 >= var$22) nms_Path_sortForward(var$15, $var12.$index8); else nms_Path_sortBack(var$15, $var12.$index8); } } var$8 = var$8 + 1 | 0; } } $var12 = nms_Pathfinder_createEntityPath($this, $var9, $var10); } return $var12; } function nms_Pathfinder_getSafePoint($this, $var1, $var2, $var3, $var4, $var5, $var6) { var $var7, var$8, $var8, $var10; $var7 = null; if (nms_Pathfinder_getVerticalOffset($this, $var1, $var2, $var3, $var4, $var5) > 0) $var7 = nms_Pathfinder_openPoint($this, $var2, $var3, $var4); if ($var7 !== null) var$8 = $var3; else { var$8 = $var3 + $var6 | 0; if (nms_Pathfinder_getVerticalOffset($this, $var1, $var2, var$8, $var4, $var5) > 0) $var7 = nms_Pathfinder_openPoint($this, $var2, var$8, $var4); else var$8 = $var3; } if ($var7 !== null) { $var8 = 0; a: { while (true) { if (var$8 <= 0) break a; $var10 = nms_Pathfinder_getVerticalOffset($this, $var1, $var2, var$8 - 1 | 0, $var4, $var5); if ($var10 <= 0) break a; if ($var10 < 0) return null; $var8 = $var8 + 1 | 0; if ($var8 >= 4) break; var$8 = var$8 + (-1) | 0; } return null; } if (var$8 > 0) $var7 = nms_Pathfinder_openPoint($this, $var2, var$8, $var4); } return $var7; } function nms_Pathfinder_openPoint($this, $var1, $var2, $var3) { var $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var4 = $var1 | $var2 << 10 | $var3 << 20; $var5 = $this.$pointMap; var$6 = nms_MCHashTable_computeHash($var4); var$7 = $var5.$slots.data; $var5 = var$7[nms_MCHashTable_getSlotIndex(var$6, var$7.length)]; a: { while ($var5 !== null) { if ($var5.$hashEntry == $var4) { $var5 = $var5.$valueEntry; break a; } $var5 = $var5.$nextEntry0; } $var5 = null; } if ($var5 === null) { $var5 = nms_PathPoint__init_($var1, $var2, $var3); var$8 = $this.$pointMap; $var2 = nms_MCHashTable_computeHash($var4); $var3 = nms_MCHashTable_getSlotIndex($var2, var$8.$slots.data.length); var$7 = var$8.$slots.data; var$9 = var$7[$var3]; while (var$9 !== null) { if (var$9.$hashEntry == $var4) var$9.$valueEntry = $var5; var$9 = var$9.$nextEntry0; } var$8.$versionStamp = var$8.$versionStamp + 1 | 0; var$10 = var$7[$var3]; var$9 = new nms_HashEntry; var$9.$valueEntry = $var5; var$9.$nextEntry0 = var$10; var$9.$hashEntry = $var4; var$9.$slotHash = $var2; var$7[$var3] = var$9; $var1 = var$8.$count4; var$8.$count4 = $var1 + 1 | 0; if ($var1 >= var$8.$threshold0) { $var2 = var$7.length; $var3 = 2 * $var2 | 0; if ($var2 == 1073741824) var$8.$threshold0 = 2147483647; else { var$11 = $rt_createArray(nms_HashEntry, $var3); var$12 = var$11.data; $var4 = var$12.length; var$6 = 0; while (var$6 < $var2) { b: { var$13 = var$7[var$6]; if (var$13 !== null) { var$7[var$6] = null; while (true) { var$9 = var$13.$nextEntry0; $var1 = nms_MCHashTable_getSlotIndex(var$13.$slotHash, $var4); var$13.$nextEntry0 = var$12[$var1]; var$12[$var1] = var$13; if (var$9 === null) break b; var$13 = var$9; } } } var$6 = var$6 + 1 | 0; } var$8.$slots = var$11; var$8.$threshold0 = $var3 * 0.75 | 0; } } } return $var5; } function nms_Pathfinder_getVerticalOffset($this, $var1, $var2, $var3, $var4, $var5) { var $var6, $var7, $var8, $var9; $var6 = $var2; a: { while ($var6 < ($var2 + $var5.$xCoord3 | 0)) { $var7 = $var3; while ($var7 < ($var3 + $var5.$yCoord3 | 0)) { $var8 = $var4; while ($var8 < ($var4 + $var5.$zCoord3 | 0)) { $var9 = nms_ChunkCache_getBlockMaterial($this.$worldMap, $var2, $var3, $var4); if ($var9.$func_880_c()) return 0; if ($var9 === nms_Material_water) break a; if ($var9 === nms_Material_lava) break a; $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } return 1; } return (-1); } function nms_Pathfinder_createEntityPath($this, $var1, $var2) { var $var3, $var4, $var5, var$6; $var3 = 1; $var4 = $var2; while (true) { $var4 = $var4.$previous0; if ($var4 === null) break; $var3 = $var3 + 1 | 0; } $var5 = $rt_createArray(nms_PathPoint, $var3); var$6 = $var5.data; $var3 = $var3 + (-1) | 0; var$6[$var3] = $var2; while (true) { $var2 = $var2.$previous0; if ($var2 === null) break; $var3 = $var3 + (-1) | 0; var$6[$var3] = $var2; } $var1 = new nms_PathEntity; $var1.$points = $var5; $var1.$pathLength = var$6.length; return $var1; } function nms_EntityPickupFX() { var a = this; nms_EntityFX.call(a); a.$field_675_a = null; a.$field_679_o = null; a.$field_678_p = 0; a.$field_677_q = 0; a.$field_676_r = 0.0; } function nms_EntityPickupFX_func_406_a($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7) { var $var8, $var9, $var11, $var13, $var19, $var21, $var25, $var15, $var17, $var23, $var27, $var28, $var29, $var30, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { var $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();$var30 = $thread.pop();$var29 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var23 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var25 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$field_678_p + $var2) / $this.$field_677_q; $var3 = $var8 * $var8; $var1 = $this.$field_675_a; $var9 = $var1.$posX; $var11 = $var1.$posY; $var13 = $var1.$posZ; $var1 = $this.$field_679_o; $var19 = $var1.$lastTickPosX; $var21 = $var1.$posX - $var19; $var25 = $var2; $var15 = $var19 + $var21 * $var25; $var19 = $var1.$lastTickPosY; $var17 = $var19 + ($var1.$posY - $var19) * $var25 + $this.$field_676_r; $var19 = $var1.$lastTickPosZ; $var19 = $var19 + ($var1.$posZ - $var19) * $var25; $var21 = $var15 - $var9; $var25 = $var3; $var21 = $var9 + $var21 * $var25; $var23 = $var11 + ($var17 - $var11) * $var25; $var25 = $var13 + ($var19 - $var13) * $var25; $var27 = nms_MathHelper_floor_double($var21); $var28 = nms_MathHelper_floor_double($var23 + $this.$yOffset / 2.0); $var29 = nms_MathHelper_floor_double($var25); $var1 = $this.$worldObj0; $ptr = 1; case 1: $tmp = nms_World_getLightBrightness($var1, $var27, $var28, $var29); if ($rt_suspending()) { break main; } $var30 = $tmp; $var19 = $var21 - nms_EntityFX_field_660_l; $var21 = $var23 - nms_EntityFX_field_659_m; $var9 = $var25 - nms_EntityFX_field_658_n; olo_EaglerAdapterGL30_glColor4f($var30, $var30, $var30, 1.0); nms_RenderManager_$callClinit(); $var1 = nms_RenderManager_instance; var$22 = $this.$field_675_a; $var19 = $var19; $var21 = $var21; $var9 = $var9; $var3 = var$22.$rotationYaw; $ptr = 2; case 2: nms_RenderManager_func_853_a($var1, var$22, $var19, $var21, $var9, $var3, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var11, $var13, $var19, $var21, $var25, $var15, $var17, $var23, $var27, $var28, $var29, $var30, var$22, $ptr); } function nms_EntityPickupFX_onUpdate($this) { var var$1; var$1 = $this.$field_678_p + 1 | 0; $this.$field_678_p = var$1; if (var$1 == $this.$field_677_q) nms_Entity_setEntityDead($this); } function nms_EntityPickupFX_func_404_c($this) { return 3; } function nms_Path() { var a = this; jl_Object.call(a); a.$pathPoints = null; a.$count5 = 0; } function nms_Path__init_0() { var var_0 = new nms_Path(); nms_Path__init_(var_0); return var_0; } function nms_Path__init_($this) { $this.$pathPoints = $rt_createArray(nms_PathPoint, 1024); $this.$count5 = 0; } function nms_Path_addPoint($this, $var1) { var var$2, var$3, $var2, var$5; if ($var1.$index8 >= 0) { $var1 = new jl_IllegalStateException; jl_Throwable__init_($var1, $rt_s(1032)); $rt_throw($var1); } var$2 = $this.$count5; var$3 = $this.$pathPoints; if (var$2 == var$3.data.length) { $var2 = $rt_createArray(nms_PathPoint, var$2 << 1); jl_System_fastArraycopy(var$3, 0, $var2, 0, var$2); $this.$pathPoints = $var2; } var$3 = $this.$pathPoints.data; var$5 = $this.$count5; var$3[var$5] = $var1; $var1.$index8 = var$5; $this.$count5 = var$5 + 1 | 0; nms_Path_sortBack($this, var$5); return $var1; } function nms_Path_clearPath($this) { $this.$count5 = 0; } function nms_Path_sortBack($this, $var1) { var var$2, $var2, $var3, $var4, $var5; var$2 = $this.$pathPoints.data; $var2 = var$2[$var1]; $var3 = $var2.$distanceToTarget; a: { while (true) { if ($var1 <= 0) break a; $var4 = ($var1 - 1 | 0) >> 1; $var5 = var$2[$var4]; if ($var3 >= $var5.$distanceToTarget) break; var$2[$var1] = $var5; $var5.$index8 = $var1; $var1 = $var4; } } var$2[$var1] = $var2; $var2.$index8 = $var1; } function nms_Path_sortForward($this, $var1) { var var$2, $var2, $var3, $var4, $var5, var$7, $var6, $var7, $var8, $var9; var$2 = $this.$pathPoints.data; $var2 = var$2[$var1]; $var3 = $var2.$distanceToTarget; a: { while (true) { $var4 = 1 + ($var1 << 1) | 0; $var5 = $var4 + 1 | 0; var$7 = $this.$count5; if ($var4 >= var$7) break; $var6 = var$2[$var4]; $var7 = $var6.$distanceToTarget; if ($var5 < var$7) { $var8 = var$2[$var5]; $var9 = $var8.$distanceToTarget; } else { $var8 = null; $var9 = Infinity; } if ($var7 < $var9) { if ($var7 >= $var3) break a; var$2[$var1] = $var6; $var6.$index8 = $var1; } else { if ($var9 >= $var3) break a; var$2[$var1] = $var8; $var8.$index8 = $var1; $var4 = $var5; } $var1 = $var4; } } var$2[$var1] = $var2; $var2.$index8 = $var1; } function nms_MCHashTable() { var a = this; jl_Object.call(a); a.$slots = null; a.$count4 = 0; a.$threshold0 = 0; a.$growFactor = 0.75; a.$versionStamp = 0; } function nms_MCHashTable__init_0() { var var_0 = new nms_MCHashTable(); nms_MCHashTable__init_(var_0); return var_0; } function nms_MCHashTable__init_($this) { $this.$slots = $rt_createArray(nms_HashEntry, 16); $this.$threshold0 = 12; $this.$growFactor = 0.75; } function nms_MCHashTable_computeHash($var0) { $var0 = $var0 ^ ($var0 >>> 20 | 0) ^ ($var0 >>> 12 | 0); return $var0 ^ ($var0 >>> 7 | 0) ^ ($var0 >>> 4 | 0); } function nms_MCHashTable_getSlotIndex($var0, $var1) { return $var0 & ($var1 - 1 | 0); } function nms_PathPoint() { var a = this; jl_Object.call(a); a.$xCoord3 = 0; a.$yCoord3 = 0; a.$zCoord3 = 0; a.$hash = 0; a.$index8 = 0; a.$totalPathDistance = 0.0; a.$distanceToNext = 0.0; a.$distanceToTarget = 0.0; a.$previous0 = null; a.$isFirst = 0; } function nms_PathPoint__init_(var_0, var_1, var_2) { var var_3 = new nms_PathPoint(); nms_PathPoint__init_0(var_3, var_0, var_1, var_2); return var_3; } function nms_PathPoint__init_0($this, $var1, $var2, $var3) { $this.$index8 = (-1); $this.$isFirst = 0; $this.$xCoord3 = $var1; $this.$yCoord3 = $var2; $this.$zCoord3 = $var3; $this.$hash = $var1 | $var2 << 10 | $var3 << 20; } function nms_PathPoint_distanceTo($this, $var1) { var $var2, $var3, $var4; $var2 = $var1.$xCoord3 - $this.$xCoord3 | 0; $var3 = $var1.$yCoord3 - $this.$yCoord3 | 0; $var4 = $var1.$zCoord3 - $this.$zCoord3 | 0; return nms_MathHelper_sqrt_float($var2 * $var2 + $var3 * $var3 + $var4 * $var4); } function nms_PathPoint_isAssigned($this) { return $this.$index8 < 0 ? 0 : 1; } function nms_HashEntry() { var a = this; jl_Object.call(a); a.$hashEntry = 0; a.$valueEntry = null; a.$nextEntry0 = null; a.$slotHash = 0; } $rt_packages([-1, "com", 0, "jcraft", 1, "jzlib", -1, "java", 3, "util", 4, "regex", 3, "nio", 6, "charset", 3, "io", 3, "lang", -1, "net", 10, "minecraft", 11, "src", 10, "lax1dude", 13, "eaglercraft" ]); $rt_metadata([jl_Object, "Object", 9, 0, [], 0, 3, 0, 0, ["$hashCode0", $rt_wrapFunction0(jl_Object_hashCode), "$equals", $rt_wrapFunction1(jl_Object_equals), "$toString", $rt_wrapFunction0(jl_Object_toString)], nle_Client, 0, jl_Object, [], 0, 3, 0, 0, 0, jlr_AnnotatedElement, 0, jl_Object, [], 3, 3, 0, 0, 0, jlr_Type, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_Class, "Class", 9, jl_Object, [jlr_AnnotatedElement, jlr_Type], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(jl_Class_toString)], otji_JS, 0, jl_Object, [], 4, 0, 0, 0, 0, otp_Platform, 0, jl_Object, [], 4, 3, 0, 0, 0, jl_Throwable, 0, jl_Object, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jl_Throwable_getMessage)], jl_Exception, 0, jl_Throwable, [], 0, 3, 0, 0, 0, jl_RuntimeException, "RuntimeException", 9, jl_Exception, [], 0, 3, 0, 0, 0, jl_ClassCastException, "ClassCastException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, ji_Serializable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_Comparable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_CharSequence, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_String, "String", 9, jl_Object, [ji_Serializable, jl_Comparable, jl_CharSequence], 0, 3, 0, jl_String_$callClinit, ["$toString", $rt_wrapFunction0(jl_String_toString), "$equals", $rt_wrapFunction1(jl_String_equals), "$hashCode0", $rt_wrapFunction0(jl_String_hashCode), "$compareTo1", $rt_wrapFunction1(jl_String_compareTo)], jl_Error, 0, jl_Throwable, [], 0, 3, 0, 0, 0, jl_LinkageError, 0, jl_Error, [], 0, 3, 0, 0, 0, jl_NoClassDefFoundError, 0, jl_LinkageError, [], 0, 3, 0, 0, 0, jl_Number, 0, jl_Object, [ji_Serializable], 1, 3, 0, 0, 0, jl_Integer, 0, jl_Number, [jl_Comparable], 0, 3, 0, 0, ["$hashCode0", $rt_wrapFunction0(jl_Integer_hashCode), "$equals", $rt_wrapFunction1(jl_Integer_equals), "$compareTo1", $rt_wrapFunction1(jl_Integer_compareTo)], jl_AbstractStringBuilder, 0, jl_Object, [ji_Serializable, jl_CharSequence], 0, 0, 0, 0, ["$ensureCapacity", $rt_wrapFunction1(jl_AbstractStringBuilder_ensureCapacity), "$toString", $rt_wrapFunction0(jl_AbstractStringBuilder_toString)], jl_Appendable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_StringBuilder, 0, jl_AbstractStringBuilder, [jl_Appendable], 0, 3, 0, 0, ["$insert1", $rt_wrapFunction4(jl_StringBuilder_insert0), "$append4", $rt_wrapFunction3(jl_StringBuilder_append7), "$toString", $rt_wrapFunction0(jl_StringBuilder_toString), "$ensureCapacity", $rt_wrapFunction1(jl_StringBuilder_ensureCapacity), "$insert0", $rt_wrapFunction2(jl_StringBuilder_insert1)], jl_IncompatibleClassChangeError, 0, jl_LinkageError, [], 0, 3, 0, 0, 0, jl_NoSuchFieldError, 0, jl_IncompatibleClassChangeError, [], 0, 3, 0, 0, 0, jl_NoSuchMethodError, 0, jl_IncompatibleClassChangeError, [], 0, 3, 0, 0, 0, otj_JSObject, 0, jl_Object, [], 3, 3, 0, 0, 0, otjde_EventTarget, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otjde_FocusEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_MouseEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_KeyboardEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_LoadEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_GamepadEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjb_WindowEventTarget, 0, jl_Object, [otjde_EventTarget, otjde_FocusEventTarget, otjde_MouseEventTarget, otjde_KeyboardEventTarget, otjde_LoadEventTarget, otjde_GamepadEventTarget], 3, 3, 0, 0, 0, otjb_StorageProvider, 0, jl_Object, [], 3, 3, 0, 0, 0, otjc_JSArrayReader, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otjb_Window, 0, jl_Object, [otj_JSObject, otjb_WindowEventTarget, otjb_StorageProvider, otjc_JSArrayReader], 1, 3, 0, 0, ["$get$exported$0", $rt_wrapFunction1(otjb_Window_get$exported$0), "$addEventListener$exported$1", $rt_wrapFunction2(otjb_Window_addEventListener$exported$1), "$removeEventListener$exported$2", $rt_wrapFunction2(otjb_Window_removeEventListener$exported$2), "$removeEventListener$exported$3", $rt_wrapFunction3(otjb_Window_removeEventListener$exported$3), "$dispatchEvent$exported$4", $rt_wrapFunction1(otjb_Window_dispatchEvent$exported$4), "$getLength$exported$5", $rt_wrapFunction0(otjb_Window_getLength$exported$5), "$addEventListener$exported$6", $rt_wrapFunction3(otjb_Window_addEventListener$exported$6)], nlea_EaglerAdapterImpl2, 0, jl_Object, [], 0, 3, 0, nlea_EaglerAdapterImpl2_$callClinit, 0, nle_Client$AbortedLaunchException, "Client$AbortedLaunchException", 14, jl_RuntimeException, [], 0, 3, 0, 0, 0, jl_AutoCloseable, 0, jl_Object, [], 3, 3, 0, 0, 0, ji_Closeable, 0, jl_Object, [jl_AutoCloseable], 3, 3, 0, 0, 0, ji_Flushable, 0, jl_Object, [], 3, 3, 0, 0, 0, ji_Writer, 0, jl_Object, [jl_Appendable, ji_Closeable, ji_Flushable], 1, 3, 0, 0, 0, ji_StringWriter, 0, ji_Writer, [], 0, 3, 0, 0, ["$close", $rt_wrapFunction0(ji_StringWriter_close), "$flush", $rt_wrapFunction0(ji_StringWriter_flush), "$write", $rt_wrapFunction3(ji_StringWriter_write)], ji_PrintWriter, 0, ji_Writer, [], 0, 3, 0, 0, 0, jl_System, 0, jl_Object, [], 4, 3, 0, 0, 0, otci_IntegerUtil, 0, jl_Object, [], 4, 3, 0, 0, 0, otji_JSWrapper, 0, jl_Object, [], 4, 3, 0, otji_JSWrapper_$callClinit, 0, otjc_JSString, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, jl_Runnable, 0, jl_Object, [], 3, 3, 0, 0, 0]); $rt_metadata([nmc_Minecraft, 0, jl_Object, [jl_Runnable], 0, 3, 0, 0, 0, nms_Session, 0, jl_Object, [], 0, 3, 0, nms_Session_$callClinit, 0, nPs_LocalStorageManager, 0, jl_Object, [], 0, 3, 0, 0, 0, otjde_EventListener, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$2, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$2_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$3, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$3_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$4, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$4_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$5, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$5_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$6, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$6_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$7, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$7_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$8, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$8_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$9, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$9_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$10, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$10_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$11, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$11_handleEvent$exported$0)], nleat_IndexedDBFilesystem, 0, jl_Object, [], 0, 3, 0, nleat_IndexedDBFilesystem_$callClinit, 0, jl_Enum, "Enum", 9, jl_Object, [jl_Comparable, ji_Serializable], 1, 3, 0, 0, ["$toString", $rt_wrapFunction0(jl_Enum_toString), "$equals", $rt_wrapFunction1(jl_Enum_equals), "$hashCode0", $rt_wrapFunction0(jl_Enum_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Enum_compareTo0)], nleat_IndexedDBFilesystem$OpenState, 0, jl_Enum, [], 12, 3, 0, nleat_IndexedDBFilesystem$OpenState_$callClinit, 0, otjw_AudioContext, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, nle_AssetRepository, 0, jl_Object, [], 0, 3, 0, 0, 0, ji_IOException, "IOException", 8, jl_Exception, [], 0, 3, 0, 0, 0, jl_StringBuffer, 0, jl_AbstractStringBuilder, [jl_Appendable], 0, 3, 0, 0, ["$insert1", $rt_wrapFunction4(jl_StringBuffer_insert), "$append4", $rt_wrapFunction3(jl_StringBuffer_append), "$ensureCapacity", $rt_wrapFunction1(jl_StringBuffer_ensureCapacity), "$insert0", $rt_wrapFunction2(jl_StringBuffer_insert0)], ju_Comparator, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_String$_clinit_$lambda$_93_0, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, 0, jl_IndexOutOfBoundsException, "IndexOutOfBoundsException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jlr_Array, 0, jl_Object, [], 4, 3, 0, 0, 0, jl_NullPointerException, "NullPointerException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jl_ArrayStoreException, "ArrayStoreException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jl_Character, 0, jl_Object, [jl_Comparable], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jl_Character_equals), "$hashCode0", $rt_wrapFunction0(jl_Character_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Character_compareTo)], ji_OutputStream, 0, jl_Object, [ji_Closeable, ji_Flushable], 1, 3, 0, 0, ["$close", $rt_wrapFunction0(ji_OutputStream_close), "$flush", $rt_wrapFunction0(ji_OutputStream_flush)], ji_FilterOutputStream, 0, ji_OutputStream, [], 0, 3, 0, 0, 0, ji_PrintStream, 0, ji_FilterOutputStream, [], 0, 3, 0, 0, 0, otcic_ConsoleOutputStream, 0, ji_OutputStream, [], 1, 3, 0, 0, ["$write3", $rt_wrapFunction1(otcic_ConsoleOutputStream_write)], otcic_StdoutOutputStream, 0, otcic_ConsoleOutputStream, [], 0, 3, 0, 0, ["$write0", $rt_wrapFunction3(otcic_StdoutOutputStream_write)], nms_Timer, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_IProgressUpdate, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_LoadingScreenRenderer, 0, jl_Object, [nms_IProgressUpdate], 0, 3, 0, 0, 0, nms_EntityRenderer, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ModelBase, 0, jl_Object, [], 1, 3, 0, 0, 0, nms_ModelBiped, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelBiped_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) { nms_ModelBiped_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_TextureFX, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_TextureWaterFX, 0, nms_TextureFX, [], 0, 3, 0, 0, ["$func_783_a", $rt_wrapFunction0(nms_TextureWaterFX_func_783_a)], nms_TextureLavaFX, 0, nms_TextureFX, [], 0, 3, 0, 0, ["$func_783_a", $rt_wrapFunction0(nms_TextureLavaFX_func_783_a)], jl_Thread, 0, jl_Object, [jl_Runnable], 0, 3, 0, jl_Thread_$callClinit, 0, nms_ThreadSleepForever, 0, jl_Thread, [], 0, 3, 0, 0, 0, olo_EaglerAdapterGL30, 0, nlea_EaglerAdapterImpl2, [], 0, 3, 0, olo_EaglerAdapterGL30_$callClinit, 0, olo_GL11, 0, olo_EaglerAdapterGL30, [], 0, 3, 0, 0, 0, ji_InputStream, 0, jl_Object, [ji_Closeable], 1, 3, 0, 0, 0, ji_FilterInputStream, 0, ji_InputStream, [], 0, 3, 0, 0, 0, ji_DataInput, 0, jl_Object, [], 3, 3, 0, 0, 0, ji_DataInputStream, 0, ji_FilterInputStream, [ji_DataInput], 0, 3, 0, 0, 0]); $rt_metadata([ji_ByteArrayInputStream, 0, ji_InputStream, [], 0, 3, 0, 0, ["$read1", $rt_wrapFunction0(ji_ByteArrayInputStream_read), "$read0", $rt_wrapFunction3(ji_ByteArrayInputStream_read0), "$available", $rt_wrapFunction0(ji_ByteArrayInputStream_available), "$close", $rt_wrapFunction0(ji_ByteArrayInputStream_close)], nPn_NBTBase, 0, jl_Object, [], 1, 3, 0, 0, 0, nPn_NBTTagCompound, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagCompound_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagCompound_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagCompound_getType)], jl_Iterable, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_Collection, 0, jl_Object, [jl_Iterable], 3, 3, 0, 0, 0, ju_AbstractCollection, 0, jl_Object, [ju_Collection], 1, 3, 0, 0, ["$contains", $rt_wrapFunction1(ju_AbstractCollection_contains)], ju_SequencedCollection, 0, jl_Object, [ju_Collection], 3, 3, 0, 0, 0, ju_List, 0, jl_Object, [ju_SequencedCollection], 3, 3, 0, 0, 0, ju_AbstractList, 0, ju_AbstractCollection, [ju_List], 1, 3, 0, 0, ["$iterator", $rt_wrapFunction0(ju_AbstractList_iterator)], ju_AbstractSequentialList, 0, ju_AbstractList, [], 1, 3, 0, 0, 0, ju_Queue, 0, jl_Object, [ju_Collection], 3, 3, 0, 0, 0, ju_Deque, 0, jl_Object, [ju_Queue, ju_SequencedCollection], 3, 3, 0, 0, 0, ju_LinkedList, 0, ju_AbstractSequentialList, [ju_Deque], 0, 3, 0, 0, ["$size0", $rt_wrapFunction0(ju_LinkedList_size)], otjt_ArrayBuffer, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otjt_ArrayBufferView, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otjt_Uint8Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0, 0, otjt_Float32Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0, 0, jl_Cloneable, 0, jl_Object, [], 3, 3, 0, 0, 0, jt_Format, 0, jl_Object, [ji_Serializable, jl_Cloneable], 1, 3, 0, 0, 0, jt_DateFormat, 0, jt_Format, [], 1, 3, 0, 0, 0, jt_SimpleDateFormat, 0, jt_DateFormat, [], 0, 3, 0, 0, 0, ju_Map, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_AbstractMap, 0, jl_Object, [ju_Map], 1, 3, 0, 0, 0, ju_HashMap, 0, ju_AbstractMap, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, 0, otjt_Int32Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0, 0, nleat_IndexedDBFilesystem$AsyncHandlers, 0, jl_Object, [], 0, 3, 0, 0, 0, nleat_IndexedDBFilesystem$DatabaseOpen, 0, jl_Object, [], 0, 3, 0, 0, 0, jnc_Charset, 0, jl_Object, [jl_Comparable], 1, 3, 0, 0, ["$compareTo1", $rt_wrapFunction1(jnc_Charset_compareTo0)], cjj_InflaterInputStream, 0, ji_FilterInputStream, [], 0, 3, 0, 0, ["$read1", $rt_wrapFunction0(cjj_InflaterInputStream_read), "$read0", $rt_wrapFunction3(cjj_InflaterInputStream_read0), "$available", $rt_wrapFunction0(cjj_InflaterInputStream_available), "$close", $rt_wrapFunction0(cjj_InflaterInputStream_close)], nle_GeneralDigest, 0, jl_Object, [], 1, 3, 0, 0, 0, nle_SHA1Digest, 0, nle_GeneralDigest, [], 0, 3, 0, 0, 0, ju_Arrays, 0, jl_Object, [], 0, 3, 0, 0, 0, otjc_JSWeakMap, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otjc_JSWeakRef, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otjc_JSMap, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otjc_JSFinalizationRegistryConsumer, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otji_JSWrapper$_clinit_$lambda$_30_0, 0, jl_Object, [otjc_JSFinalizationRegistryConsumer], 0, 3, 0, 0, ["$accept$exported$0", $rt_wrapFunction1(otji_JSWrapper$_clinit_$lambda$_30_0_accept$exported$0)], otjc_JSFinalizationRegistry, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otji_JSWrapper$_clinit_$lambda$_30_1, 0, jl_Object, [otjc_JSFinalizationRegistryConsumer], 0, 3, 0, 0, ["$accept$exported$0", $rt_wrapFunction1(otji_JSWrapper$_clinit_$lambda$_30_1_accept$exported$0)], jnci_UTF8Charset, 0, jnc_Charset, [], 0, 3, 0, jnci_UTF8Charset_$callClinit, ["$newDecoder", $rt_wrapFunction0(jnci_UTF8Charset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_UTF8Charset_newEncoder)], jur_RandomGenerator, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_Random, 0, jl_Object, [jur_RandomGenerator, ji_Serializable], 0, 3, 0, 0, 0, nms_GLAllocation, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ItemRenderer, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_Block, "Block", 12, jl_Object, [], 0, 3, 0, nms_Block_$callClinit, ["$renderAsNormalBlock", $rt_wrapFunction0(nms_Block_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_Block_getRenderType), "$getBlockBrightness", $rt_wrapFunction4(nms_Block_getBlockBrightness), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_Block_getBlockTextureFromSideAndMetadata), "$getBlockTextureFromSide", $rt_wrapFunction1(nms_Block_getBlockTextureFromSide), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_Block_getSelectedBoundingBoxFromPool), "$getCollidingBoundingBoxes", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Block_getCollidingBoundingBoxes(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_Block_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_Block_isOpaqueCube), "$canCollideCheck", $rt_wrapFunction2(nms_Block_canCollideCheck), "$isCollidable", $rt_wrapFunction0(nms_Block_isCollidable), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$tickRate", $rt_wrapFunction0(nms_Block_tickRate), "$onBlockAdded", $rt_wrapFunction4(nms_Block_onBlockAdded), "$onBlockRemoval", $rt_wrapFunction4(nms_Block_onBlockRemoval), "$quantityDropped", $rt_wrapFunction1(nms_Block_quantityDropped), "$idDropped", $rt_wrapFunction2(nms_Block_idDropped), "$dropBlockAsItem", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_dropBlockAsItem(this, var_1, var_2, var_3, var_4, var_5); }, "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Block_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$func_227_a", $rt_wrapFunction1(nms_Block_func_227_a), "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_Block_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockDestroyedByExplosion", $rt_wrapFunction4(nms_Block_onBlockDestroyedByExplosion), "$func_234_g", $rt_wrapFunction0(nms_Block_func_234_g), "$canPlaceBlockAt", $rt_wrapFunction4(nms_Block_canPlaceBlockAt), "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$velocityToAddToEntity", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Block_velocityToAddToEntity(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_Block_setBlockBoundsBasedOnState), "$colorMultiplier", $rt_wrapFunction4(nms_Block_colorMultiplier), "$isPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_isPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_Block_canProvidePower), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$isIndirectlyPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_isIndirectlyPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$func_237_e", $rt_wrapFunction0(nms_Block_func_237_e), "$harvestBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_harvestBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$canBlockStay", $rt_wrapFunction4(nms_Block_canBlockStay), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5); }], ju_RandomAccess, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_ArrayList, 0, ju_AbstractList, [jl_Cloneable, ji_Serializable, ju_RandomAccess], 0, 3, 0, 0, ["$size0", $rt_wrapFunction0(ju_ArrayList_size), "$add", $rt_wrapFunction1(ju_ArrayList_add)], nle_BaseNCodec, 0, jl_Object, [], 1, 3, 0, 0, 0, nle_Base64, 0, nle_BaseNCodec, [], 0, 3, 0, 0, 0, nPn_NBTTagEnd, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$readTagContents", $rt_wrapFunction1(nPn_NBTTagEnd_readTagContents), "$writeTagContents", $rt_wrapFunction1(nPn_NBTTagEnd_writeTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagEnd_getType)]]); $rt_metadata([ju_Locale, 0, jl_Object, [jl_Cloneable, ji_Serializable], 4, 3, 0, ju_Locale_$callClinit, ["$equals", $rt_wrapFunction1(ju_Locale_equals), "$hashCode0", $rt_wrapFunction0(ju_Locale_hashCode)], oti_AsyncCallback, 0, jl_Object, [], 3, 3, 0, 0, 0, otpp_AsyncCallbackWrapper, 0, jl_Object, [oti_AsyncCallback], 0, 0, 0, 0, ["$complete", $rt_wrapFunction1(otpp_AsyncCallbackWrapper_complete), "$error", $rt_wrapFunction1(otpp_AsyncCallbackWrapper_error)], otja_XMLHttpRequest, 0, jl_Object, [otj_JSObject, otjde_EventTarget], 1, 3, 0, 0, ["$addEventListener$exported$0", $rt_wrapFunction2(otja_XMLHttpRequest_addEventListener$exported$0), "$removeEventListener$exported$1", $rt_wrapFunction2(otja_XMLHttpRequest_removeEventListener$exported$1), "$removeEventListener$exported$20", $rt_wrapFunction3(otja_XMLHttpRequest_removeEventListener$exported$2), "$dispatchEvent$exported$3", $rt_wrapFunction1(otja_XMLHttpRequest_dispatchEvent$exported$3), "$addEventListener$exported$4", $rt_wrapFunction3(otja_XMLHttpRequest_addEventListener$exported$4)], otja_ReadyStateChangeHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$1, 0, jl_Object, [otja_ReadyStateChangeHandler], 0, 0, 0, 0, ["$stateChanged$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$1_stateChanged$exported$0)], jnc_Charset$Charsets, 0, jl_Object, [], 0, 0, 0, jnc_Charset$Charsets_$callClinit, 0, jl_IllegalArgumentException, "IllegalArgumentException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnc_UnsupportedCharsetException, "UnsupportedCharsetException", 7, jl_IllegalArgumentException, [], 0, 3, 0, 0, 0, otjb_Performance, 0, jl_Object, [otj_JSObject], 4, 3, 0, 0, 0, jn_Buffer, 0, jl_Object, [], 1, 3, 0, 0, 0, jn_FloatBuffer, 0, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, nms_RenderBlocks, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ModelRenderer, 0, jl_Object, [], 0, 3, 0, 0, 0, nPn_NBTTagByte, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagByte_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagByte_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagByte_getType)], nPn_NBTTagShort, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagShort_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagShort_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagShort_getType)], nPn_NBTTagInt, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagInt_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagInt_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagInt_getType)], nPn_NBTTagLong, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagLong_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagLong_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagLong_getType)], nPn_NBTTagFloat, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagFloat_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagFloat_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagFloat_getType)], nPn_NBTTagDouble, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagDouble_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagDouble_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagDouble_getType)], nPn_NBTTagByteArray, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagByteArray_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagByteArray_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagByteArray_getType)], nPn_NBTTagString, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagString_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagString_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagString_getType)], nPn_NBTTagList, 0, nPn_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nPn_NBTTagList_writeTagContents), "$readTagContents", $rt_wrapFunction1(nPn_NBTTagList_readTagContents), "$getType0", $rt_wrapFunction0(nPn_NBTTagList_getType)], jt_DateFormatSymbols, 0, jl_Object, [ji_Serializable, jl_Cloneable], 0, 3, 0, 0, 0, otji_EventHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nleat_IndexedDBFilesystem$AsyncHandlers$1, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$1_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$2, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$2_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$3, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$3_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$4, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nleat_IndexedDBFilesystem$AsyncHandlers$4_handleEvent$exported$0)], jnc_IllegalCharsetNameException, "IllegalCharsetNameException", 7, jl_IllegalArgumentException, [], 0, 3, 0, 0, 0, cjj_ZStream, 0, jl_Object, [], 128, 3, 0, 0, 0, cjj_Inflater, 0, cjj_ZStream, [], 4, 3, 0, 0, 0, nms_StepSound, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_StepSoundStone, 0, nms_StepSound, [], 4, 0, 0, 0, 0, nms_StepSoundSand, 0, nms_StepSound, [], 4, 0, 0, 0, 0, nms_BlockStone, "BlockStone", 12, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction2(nms_BlockStone_idDropped)], nms_BlockGrass, "BlockGrass", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockGrass_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$colorMultiplier", $rt_wrapFunction4(nms_BlockGrass_colorMultiplier), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockGrass_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockGrass_idDropped)], nms_BlockDirt, "BlockDirt", 12, nms_Block, [], 0, 3, 0, 0, 0, nms_Material, 0, jl_Object, [], 0, 3, 0, nms_Material_$callClinit, ["$getIsLiquid", $rt_wrapFunction0(nms_Material_getIsLiquid), "$func_878_a", $rt_wrapFunction0(nms_Material_func_878_a), "$getCanBlockGrass", $rt_wrapFunction0(nms_Material_getCanBlockGrass), "$func_880_c", $rt_wrapFunction0(nms_Material_func_880_c)], nms_BlockFlower, "BlockFlower", 12, nms_Block, [], 0, 3, 0, 0, ["$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockFlower_canPlaceBlockAt), "$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockFlower_canThisPlantGrowOnThisBlockID), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFlower_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFlower_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$canBlockStay", $rt_wrapFunction4(nms_BlockFlower_canBlockStay), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFlower_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFlower_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFlower_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockFlower_getRenderType)], nms_BlockSapling, "BlockSapling", 12, nms_BlockFlower, [], 0, 3, 0, 0, ["$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSapling_updateTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockFluids, 0, nms_Block, [], 1, 3, 0, 0, ["$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockFluids_getBlockTextureFromSide), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFluids_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFluids_isOpaqueCube), "$canCollideCheck", $rt_wrapFunction2(nms_BlockFluids_canCollideCheck), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockFluids_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFluids_getCollisionBoundingBoxFromPool), "$getRenderType", $rt_wrapFunction0(nms_BlockFluids_getRenderType), "$idDropped", $rt_wrapFunction2(nms_BlockFluids_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockFluids_quantityDropped), "$velocityToAddToEntity", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockFluids_velocityToAddToEntity(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$tickRate", $rt_wrapFunction0(nms_BlockFluids_tickRate), "$getBlockBrightness", $rt_wrapFunction4(nms_BlockFluids_getBlockBrightness), "$func_234_g", $rt_wrapFunction0(nms_BlockFluids_func_234_g), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFluids_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockFluids_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFluids_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockFlowing, "BlockFlowing", 12, nms_BlockFluids, [], 0, 3, 0, 0, ["$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFlowing_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockFlowing_onBlockAdded)], nms_BlockStationary, "BlockStationary", 12, nms_BlockFluids, [], 0, 3, 0, 0, ["$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStationary_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStationary_updateTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockSand, "BlockSand", 12, nms_Block, [], 0, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockSand_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSand_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSand_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$tickRate", $rt_wrapFunction0(nms_BlockSand_tickRate)], nms_BlockGravel, "BlockGravel", 12, nms_BlockSand, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction2(nms_BlockGravel_idDropped)], nms_BlockOre, "BlockOre", 12, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction2(nms_BlockOre_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockOre_quantityDropped)], nms_BlockLog, "BlockLog", 12, nms_Block, [], 0, 3, 0, 0, ["$quantityDropped", $rt_wrapFunction1(nms_BlockLog_quantityDropped), "$idDropped", $rt_wrapFunction2(nms_BlockLog_idDropped), "$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockLog_getBlockTextureFromSide)], nms_BlockLeavesBase, 0, nms_Block, [], 0, 3, 0, 0, ["$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLeavesBase_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockLeaves, "BlockLeaves", 12, nms_BlockLeavesBase, [], 0, 3, 0, 0, ["$colorMultiplier", $rt_wrapFunction4(nms_BlockLeaves_colorMultiplier), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLeaves_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLeaves_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockLeaves_quantityDropped), "$idDropped", $rt_wrapFunction2(nms_BlockLeaves_idDropped), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockLeaves_isOpaqueCube), "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLeaves_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }]]); $rt_metadata([nms_BlockSponge, "BlockSponge", 12, nms_Block, [], 0, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockSponge_onBlockAdded), "$onBlockRemoval", $rt_wrapFunction4(nms_BlockSponge_onBlockRemoval)], nms_BlockBreakable, 0, nms_Block, [], 0, 3, 0, 0, ["$isOpaqueCube", $rt_wrapFunction0(nms_BlockBreakable_isOpaqueCube), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockBreakable_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockGlass, "BlockGlass", 12, nms_BlockBreakable, [], 0, 3, 0, 0, ["$quantityDropped", $rt_wrapFunction1(nms_BlockGlass_quantityDropped)], nms_BlockMushroom, "BlockMushroom", 12, nms_BlockFlower, [], 0, 3, 0, 0, ["$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockMushroom_canThisPlantGrowOnThisBlockID), "$canBlockStay", $rt_wrapFunction4(nms_BlockMushroom_canBlockStay)], nms_BlockOreBlock, "BlockOreBlock", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockOreBlock_getBlockTextureFromSide)], nms_BlockStep, "BlockStep", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockStep_getBlockTextureFromSide), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockStep_isOpaqueCube), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStep_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockStep_onBlockAdded), "$idDropped", $rt_wrapFunction2(nms_BlockStep_idDropped), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockStep_renderAsNormalBlock), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockStep_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockTNT, "BlockTNT", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockTNT_getBlockTextureFromSide), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTNT_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockTNT_quantityDropped), "$onBlockDestroyedByExplosion", $rt_wrapFunction4(nms_BlockTNT_onBlockDestroyedByExplosion), "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTNT_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockBookshelf, "BlockBookshelf", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockBookshelf_getBlockTextureFromSide), "$quantityDropped", $rt_wrapFunction1(nms_BlockBookshelf_quantityDropped)], nms_BlockObsidian, "BlockObsidian", 12, nms_BlockStone, [], 0, 3, 0, 0, ["$quantityDropped", $rt_wrapFunction1(nms_BlockObsidian_quantityDropped), "$idDropped", $rt_wrapFunction2(nms_BlockObsidian_idDropped)], nms_BlockTorch, "BlockTorch", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockTorch_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockTorch_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockTorch_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockTorch_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockTorch_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTorch_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTorch_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockTorch_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTorch_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockTorch_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTorch_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockFire, "BlockFire", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFire_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFire_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFire_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockFire_getRenderType), "$quantityDropped", $rt_wrapFunction1(nms_BlockFire_quantityDropped), "$tickRate", $rt_wrapFunction0(nms_BlockFire_tickRate), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFire_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$isCollidable", $rt_wrapFunction0(nms_BlockFire_isCollidable), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockFire_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFire_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockFire_onBlockAdded), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFire_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockContainer, 0, nms_Block, [], 1, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockContainer_onBlockAdded), "$onBlockRemoval", $rt_wrapFunction4(nms_BlockContainer_onBlockRemoval)], nms_BlockMobSpawner, "BlockMobSpawner", 12, nms_BlockContainer, [], 0, 3, 0, 0, ["$SetBlockEntity", $rt_wrapFunction0(nms_BlockMobSpawner_SetBlockEntity), "$idDropped", $rt_wrapFunction2(nms_BlockMobSpawner_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockMobSpawner_quantityDropped), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockMobSpawner_isOpaqueCube)], nms_BlockStairs, "BlockStairs", 12, nms_Block, [], 0, 3, 0, 0, ["$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockStairs_setBlockBoundsBasedOnState), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockStairs_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockStairs_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockStairs_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockStairs_getRenderType), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockStairs_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getCollidingBoundingBoxes", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockStairs_getCollidingBoundingBoxes(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockBrightness", $rt_wrapFunction4(nms_BlockStairs_getBlockBrightness), "$func_227_a", $rt_wrapFunction1(nms_BlockStairs_func_227_a), "$func_234_g", $rt_wrapFunction0(nms_BlockStairs_func_234_g), "$idDropped", $rt_wrapFunction2(nms_BlockStairs_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockStairs_quantityDropped), "$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockStairs_getBlockTextureFromSideAndMetadata), "$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockStairs_getBlockTextureFromSide), "$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockStairs_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$tickRate", $rt_wrapFunction0(nms_BlockStairs_tickRate), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockStairs_getSelectedBoundingBoxFromPool), "$velocityToAddToEntity", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockStairs_velocityToAddToEntity(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$isCollidable", $rt_wrapFunction0(nms_BlockStairs_isCollidable), "$canCollideCheck", $rt_wrapFunction2(nms_BlockStairs_canCollideCheck), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockStairs_canPlaceBlockAt), "$onBlockAdded", $rt_wrapFunction4(nms_BlockStairs_onBlockAdded), "$onBlockRemoval", $rt_wrapFunction4(nms_BlockStairs_onBlockRemoval), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockStairs_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$dropBlockAsItem", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_dropBlockAsItem(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockStairs_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockDestroyedByExplosion", $rt_wrapFunction4(nms_BlockStairs_onBlockDestroyedByExplosion), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockChest, "BlockChest", 12, nms_BlockContainer, [], 0, 3, 0, 0, ["$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockChest_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockChest_getBlockTextureFromSide), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockChest_canPlaceBlockAt), "$onBlockRemoval", $rt_wrapFunction4(nms_BlockChest_onBlockRemoval), "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockChest_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$SetBlockEntity", $rt_wrapFunction0(nms_BlockChest_SetBlockEntity)], nms_BlockRedstoneWire, "BlockRedstoneWire", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockRedstoneWire_getBlockTextureFromSideAndMetadata), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockRedstoneWire_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockRedstoneWire_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockRedstoneWire_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockRedstoneWire_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockRedstoneWire_canPlaceBlockAt), "$onBlockAdded", $rt_wrapFunction4(nms_BlockRedstoneWire_onBlockAdded), "$onBlockRemoval", $rt_wrapFunction4(nms_BlockRedstoneWire_onBlockRemoval), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneWire_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockRedstoneWire_idDropped), "$isIndirectlyPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneWire_isIndirectlyPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$isPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneWire_isPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockRedstoneWire_canProvidePower), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneWire_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockWorkbench, "BlockWorkbench", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockWorkbench_getBlockTextureFromSide), "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockWorkbench_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockCrops, "BlockCrops", 12, nms_BlockFlower, [], 0, 3, 0, 0, ["$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockCrops_canThisPlantGrowOnThisBlockID), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCrops_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockCrops_getBlockTextureFromSideAndMetadata), "$getRenderType", $rt_wrapFunction0(nms_BlockCrops_getRenderType), "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCrops_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockCrops_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockCrops_quantityDropped)], nms_BlockSoil, "BlockSoil", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSoil_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockSoil_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockSoil_renderAsNormalBlock), "$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockSoil_getBlockTextureFromSideAndMetadata), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSoil_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSoil_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSoil_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockSoil_idDropped)], nms_BlockFurnace, "BlockFurnace", 12, nms_BlockContainer, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction2(nms_BlockFurnace_idDropped), "$onBlockAdded", $rt_wrapFunction4(nms_BlockFurnace_onBlockAdded), "$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockFurnace_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFurnace_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockFurnace_getBlockTextureFromSide), "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockFurnace_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$SetBlockEntity", $rt_wrapFunction0(nms_BlockFurnace_SetBlockEntity), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFurnace_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockSign, "BlockSign", 12, nms_BlockContainer, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSign_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSign_getSelectedBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockSign_setBlockBoundsBasedOnState), "$getRenderType", $rt_wrapFunction0(nms_BlockSign_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockSign_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockSign_isOpaqueCube), "$SetBlockEntity", $rt_wrapFunction0(nms_BlockSign_SetBlockEntity), "$idDropped", $rt_wrapFunction2(nms_BlockSign_idDropped), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSign_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntity, "TileEntity", 12, jl_Object, [], 0, 3, 0, nms_TileEntity_$callClinit, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntity_writeToNBT), "$updateEntity", $rt_wrapFunction0(nms_TileEntity_updateEntity), "$onInventoryChanged", $rt_wrapFunction0(nms_TileEntity_onInventoryChanged)], nms_TileEntitySign, "TileEntitySign", 12, nms_TileEntity, [], 0, 3, 0, 0, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntitySign_writeToNBT), "$readFromNBT", $rt_wrapFunction1(nms_TileEntitySign_readFromNBT)], nms_BlockDoor, "BlockDoor", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockDoor_getBlockTextureFromSideAndMetadata), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockDoor_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockDoor_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockDoor_getRenderType), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockDoor_getSelectedBoundingBoxFromPool), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockDoor_getCollisionBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockDoor_setBlockBoundsBasedOnState), "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDoor_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDoor_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDoor_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockDoor_idDropped), "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockDoor_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockDoor_canPlaceBlockAt)], nms_BlockLadder, "BlockLadder", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockLadder_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockLadder_getSelectedBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockLadder_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockLadder_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockLadder_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockLadder_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLadder_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLadder_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockLadder_quantityDropped)], nms_BlockMinecartTrack, "BlockMinecartTrack", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockMinecartTrack_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockMinecartTrack_isOpaqueCube), "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockMinecartTrack_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockMinecartTrack_setBlockBoundsBasedOnState), "$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockMinecartTrack_getBlockTextureFromSideAndMetadata), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockMinecartTrack_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockMinecartTrack_getRenderType), "$quantityDropped", $rt_wrapFunction1(nms_BlockMinecartTrack_quantityDropped), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockMinecartTrack_canPlaceBlockAt), "$onBlockAdded", $rt_wrapFunction4(nms_BlockMinecartTrack_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockMinecartTrack_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockLever, "BlockLever", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockLever_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockLever_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockLever_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockLever_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockLever_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLever_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockLever_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLever_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockLever_setBlockBoundsBasedOnState), "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLever_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLever_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockRemoval", $rt_wrapFunction4(nms_BlockLever_onBlockRemoval), "$isPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLever_isPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$isIndirectlyPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLever_isIndirectlyPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockLever_canProvidePower)], nms_BlockPressurePlate, "BlockPressurePlate", 12, nms_Block, [], 0, 3, 0, 0, ["$tickRate", $rt_wrapFunction0(nms_BlockPressurePlate_tickRate), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockPressurePlate_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockPressurePlate_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockPressurePlate_renderAsNormalBlock), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockPressurePlate_canPlaceBlockAt), "$onBlockAdded", $rt_wrapFunction4(nms_BlockPressurePlate_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPressurePlate_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPressurePlate_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPressurePlate_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockRemoval", $rt_wrapFunction4(nms_BlockPressurePlate_onBlockRemoval), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockPressurePlate_setBlockBoundsBasedOnState), "$isPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPressurePlate_isPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$isIndirectlyPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPressurePlate_isIndirectlyPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockPressurePlate_canProvidePower), "$func_237_e", $rt_wrapFunction0(nms_BlockPressurePlate_func_237_e)], nms_EnumMobType, 0, jl_Enum, [], 12, 3, 0, nms_EnumMobType_$callClinit, 0, nms_BlockRedstoneOre, "BlockRedstoneOre", 12, nms_Block, [], 0, 3, 0, 0, ["$tickRate", $rt_wrapFunction0(nms_BlockRedstoneOre_tickRate), "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneOre_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneOre_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }, "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneOre_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneOre_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockRedstoneOre_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockRedstoneOre_quantityDropped), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneOre_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockRedstoneTorch, "BlockRedstoneTorch", 12, nms_BlockTorch, [], 0, 3, 0, 0, ["$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockRedstoneTorch_getBlockTextureFromSideAndMetadata), "$tickRate", $rt_wrapFunction0(nms_BlockRedstoneTorch_tickRate), "$onBlockAdded", $rt_wrapFunction4(nms_BlockRedstoneTorch_onBlockAdded), "$onBlockRemoval", $rt_wrapFunction4(nms_BlockRedstoneTorch_onBlockRemoval), "$isPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneTorch_isPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneTorch_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneTorch_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$isIndirectlyPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneTorch_isIndirectlyPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockRedstoneTorch_idDropped), "$canProvidePower", $rt_wrapFunction0(nms_BlockRedstoneTorch_canProvidePower), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneTorch_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockButton, "BlockButton", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockButton_getCollisionBoundingBoxFromPool), "$tickRate", $rt_wrapFunction0(nms_BlockButton_tickRate), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockButton_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockButton_renderAsNormalBlock), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockButton_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockButton_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockButton_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockButton_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockButton_setBlockBoundsBasedOnState), "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockButton_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockButton_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockRemoval", $rt_wrapFunction4(nms_BlockButton_onBlockRemoval), "$isPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockButton_isPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$isIndirectlyPoweringTo", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockButton_isIndirectlyPoweringTo(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockButton_canProvidePower), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockButton_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$func_237_e", $rt_wrapFunction0(nms_BlockButton_func_237_e)], nms_BlockSnow, "BlockSnow", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSnow_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockSnow_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockSnow_renderAsNormalBlock), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockSnow_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSnow_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$harvestBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSnow_harvestBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction2(nms_BlockSnow_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockSnow_quantityDropped), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSnow_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockSnow_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockIce, "BlockIce", 12, nms_BlockBreakable, [], 0, 3, 0, 0, ["$func_234_g", $rt_wrapFunction0(nms_BlockIce_func_234_g), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockIce_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockRemoval", $rt_wrapFunction4(nms_BlockIce_onBlockRemoval), "$quantityDropped", $rt_wrapFunction1(nms_BlockIce_quantityDropped), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockIce_updateTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockSnowBlock, "BlockSnowBlock", 12, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction2(nms_BlockSnowBlock_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockSnowBlock_quantityDropped), "$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSnowBlock_updateTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockCactus, "BlockCactus", 12, nms_Block, [], 0, 3, 0, 0, ["$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCactus_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCactus_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCactus_getSelectedBoundingBoxFromPool), "$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockCactus_getBlockTextureFromSide), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockCactus_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockCactus_isOpaqueCube), "$getRenderType", $rt_wrapFunction0(nms_BlockCactus_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockCactus_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCactus_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$canBlockStay", $rt_wrapFunction4(nms_BlockCactus_canBlockStay), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCactus_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockClay, "BlockClay", 12, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction2(nms_BlockClay_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockClay_quantityDropped)], nms_BlockReed, "BlockReed", 12, nms_Block, [], 0, 3, 0, 0, ["$updateTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockReed_updateTick(this, var_1, var_2, var_3, var_4, var_5); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockReed_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockReed_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$canBlockStay", $rt_wrapFunction4(nms_BlockReed_canBlockStay), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockReed_getCollisionBoundingBoxFromPool), "$idDropped", $rt_wrapFunction2(nms_BlockReed_idDropped), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockReed_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockReed_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockReed_getRenderType)], nms_BlockJukeBox, "BlockJukeBox", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockJukeBox_getBlockTextureFromSide), "$blockActivated", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockJukeBox_blockActivated(this, var_1, var_2, var_3, var_4, var_5); }, "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockJukeBox_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_BlockFence, "BlockFence", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollidingBoundingBoxes", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockFence_getCollidingBoundingBoxes(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockFence_canPlaceBlockAt), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFence_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFence_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockFence_getRenderType)], nms_BlockPumpkin, "BlockPumpkin", 12, nms_Block, [], 0, 3, 0, 0, ["$getBlockTextureFromSideAndMetadata", $rt_wrapFunction2(nms_BlockPumpkin_getBlockTextureFromSideAndMetadata), "$getBlockTextureFromSide", $rt_wrapFunction1(nms_BlockPumpkin_getBlockTextureFromSide), "$onBlockAdded", $rt_wrapFunction4(nms_BlockPumpkin_onBlockAdded), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockPumpkin_canPlaceBlockAt), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPumpkin_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockBloodStone, "BlockBloodStone", 12, nms_Block, [], 0, 3, 0, 0, 0, nms_BlockSlowSand, "BlockSlowSand", 12, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSlowSand_getCollisionBoundingBoxFromPool), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSlowSand_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockLightStone, "BlockLightStone", 12, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction2(nms_BlockLightStone_idDropped)], nms_BlockPortal, "BlockPortal", 12, nms_BlockBreakable, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockPortal_getCollisionBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockPortal_setBlockBoundsBasedOnState), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockPortal_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockPortal_renderAsNormalBlock), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPortal_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPortal_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockPortal_quantityDropped), "$func_234_g", $rt_wrapFunction0(nms_BlockPortal_func_234_g), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPortal_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPortal_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_Item, 0, jl_Object, [], 0, 3, 0, nms_Item_$callClinit, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_Item_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getStrVsBlock", $rt_wrapFunction2(nms_Item_getStrVsBlock), "$onItemRightClick", $rt_wrapFunction3(nms_Item_onItemRightClick), "$hitEntity", $rt_wrapFunction2(nms_Item_hitEntity), "$hitBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_Item_hitBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$getDamageVsEntity", $rt_wrapFunction1(nms_Item_getDamageVsEntity), "$canHarvestBlock", $rt_wrapFunction1(nms_Item_canHarvestBlock), "$func_4019_b", $rt_wrapFunction2(nms_Item_func_4019_b), "$isFull3D", $rt_wrapFunction0(nms_Item_isFull3D), "$shouldRotateAroundWhenRendering", $rt_wrapFunction0(nms_Item_shouldRotateAroundWhenRendering)], nms_ItemBlock, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemBlock_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jl_Thread$UncaughtExceptionHandler, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_DefaultUncaughtExceptionHandler, 0, jl_Object, [jl_Thread$UncaughtExceptionHandler], 0, 3, 0, 0, 0, otciu_CLDRHelper, 0, jl_Object, [], 4, 3, 0, 0, 0]); $rt_metadata([otpp_ResourceAccessor, 0, jl_Object, [], 4, 0, 0, 0, 0, jnc_StandardCharsets, 0, jl_Object, [], 4, 3, 0, jnc_StandardCharsets_$callClinit, 0, jn_ByteBuffer, 0, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, jn_FloatBufferImpl, 0, jn_FloatBuffer, [], 1, 0, 0, 0, 0, jn_FloatBufferOverArray, 0, jn_FloatBufferImpl, [], 0, 0, 0, 0, 0, ju_Calendar, 0, jl_Object, [ji_Serializable, jl_Cloneable, jl_Comparable], 1, 3, 0, ju_Calendar_$callClinit, 0, jn_ByteBufferImpl, 0, jn_ByteBuffer, [], 0, 0, 0, 0, 0, jl_Readable, 0, jl_Object, [], 3, 3, 0, 0, 0, jn_CharBuffer, 0, jn_Buffer, [jl_Comparable, jl_Appendable, jl_CharSequence, jl_Readable], 1, 3, 0, 0, 0, cjj_GZIPException, "GZIPException", 2, ji_IOException, [], 0, 3, 0, 0, 0, otjc_JSObjects, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_MaterialTransparent, 0, nms_Material, [], 0, 3, 0, 0, ["$func_878_a", $rt_wrapFunction0(nms_MaterialTransparent_func_878_a), "$getCanBlockGrass", $rt_wrapFunction0(nms_MaterialTransparent_getCanBlockGrass), "$func_880_c", $rt_wrapFunction0(nms_MaterialTransparent_func_880_c)], nms_MaterialLiquid, 0, nms_Material, [], 0, 3, 0, 0, ["$getIsLiquid", $rt_wrapFunction0(nms_MaterialLiquid_getIsLiquid), "$func_880_c", $rt_wrapFunction0(nms_MaterialLiquid_func_880_c), "$func_878_a", $rt_wrapFunction0(nms_MaterialLiquid_func_878_a)], nms_MaterialLogic, 0, nms_Material, [], 0, 3, 0, 0, ["$func_878_a", $rt_wrapFunction0(nms_MaterialLogic_func_878_a), "$getCanBlockGrass", $rt_wrapFunction0(nms_MaterialLogic_getCanBlockGrass), "$func_880_c", $rt_wrapFunction0(nms_MaterialLogic_func_880_c)], nms_ItemTool, 0, nms_Item, [], 0, 3, 0, 0, ["$getStrVsBlock", $rt_wrapFunction2(nms_ItemTool_getStrVsBlock), "$hitEntity", $rt_wrapFunction2(nms_ItemTool_hitEntity), "$hitBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_ItemTool_hitBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$getDamageVsEntity", $rt_wrapFunction1(nms_ItemTool_getDamageVsEntity), "$isFull3D", $rt_wrapFunction0(nms_ItemTool_isFull3D)], nms_ItemSpade, 0, nms_ItemTool, [], 0, 3, 0, nms_ItemSpade_$callClinit, ["$canHarvestBlock", $rt_wrapFunction1(nms_ItemSpade_canHarvestBlock)], nms_ItemPickaxe, 0, nms_ItemTool, [], 0, 3, 0, nms_ItemPickaxe_$callClinit, ["$canHarvestBlock", $rt_wrapFunction1(nms_ItemPickaxe_canHarvestBlock)], nms_ItemAxe, 0, nms_ItemTool, [], 0, 3, 0, nms_ItemAxe_$callClinit, 0, nms_ItemFlintAndSteel, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemFlintAndSteel_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemFood, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemFood_onItemRightClick)], nms_ItemBow, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemBow_onItemRightClick)], nms_ItemSword, 0, nms_Item, [], 0, 3, 0, 0, ["$getStrVsBlock", $rt_wrapFunction2(nms_ItemSword_getStrVsBlock), "$hitEntity", $rt_wrapFunction2(nms_ItemSword_hitEntity), "$hitBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_ItemSword_hitBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$getDamageVsEntity", $rt_wrapFunction1(nms_ItemSword_getDamageVsEntity), "$isFull3D", $rt_wrapFunction0(nms_ItemSword_isFull3D)], nms_ItemSoup, 0, nms_ItemFood, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemSoup_onItemRightClick)], nms_ItemHoe, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemHoe_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$isFull3D", $rt_wrapFunction0(nms_ItemHoe_isFull3D)], nms_ItemSeeds, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemSeeds_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemArmor, 0, nms_Item, [], 0, 3, 0, 0, 0, nms_ItemPainting, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemPainting_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemSign, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemSign_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemDoor, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemDoor_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemBucket, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemBucket_onItemRightClick)], nms_ItemMinecart, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemMinecart_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemSaddle, 0, nms_Item, [], 0, 3, 0, 0, ["$func_4019_b", $rt_wrapFunction2(nms_ItemSaddle_func_4019_b), "$hitEntity", $rt_wrapFunction2(nms_ItemSaddle_hitEntity)], nms_ItemRedstone, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemRedstone_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemSnowball, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemSnowball_onItemRightClick)], nms_ItemBoat, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemBoat_onItemRightClick)], nms_ItemReed, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemReed_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemFishingRod, 0, nms_Item, [], 0, 3, 0, 0, ["$isFull3D", $rt_wrapFunction0(nms_ItemFishingRod_isFull3D), "$shouldRotateAroundWhenRendering", $rt_wrapFunction0(nms_ItemFishingRod_shouldRotateAroundWhenRendering), "$onItemRightClick", $rt_wrapFunction3(nms_ItemFishingRod_onItemRightClick)], nms_ItemRecord, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemRecord_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], ju_GregorianCalendar, 0, ju_Calendar, [], 0, 3, 0, 0, 0, jnci_AsciiCharset, 0, jnc_Charset, [], 0, 3, 0, 0, ["$newDecoder", $rt_wrapFunction0(jnci_AsciiCharset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_AsciiCharset_newEncoder)], jnci_Iso8859Charset, 0, jnc_Charset, [], 0, 3, 0, 0, ["$newDecoder", $rt_wrapFunction0(jnci_Iso8859Charset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_Iso8859Charset_newEncoder)], jnci_UTF16Charset, 0, jnc_Charset, [], 0, 3, 0, 0, ["$newDecoder", $rt_wrapFunction0(jnci_UTF16Charset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_UTF16Charset_newEncoder)], cjj_Checksum, 0, jl_Object, [], 3, 0, 0, 0, 0, cjj_Adler32, 0, jl_Object, [cjj_Checksum], 4, 3, 0, 0, ["$reset1", $rt_wrapFunction1(cjj_Adler32_reset), "$reset0", $rt_wrapFunction0(cjj_Adler32_reset0), "$getValue", $rt_wrapFunction0(cjj_Adler32_getValue), "$update0", $rt_wrapFunction3(cjj_Adler32_update)], jl_CloneNotSupportedException, "CloneNotSupportedException", 9, jl_Exception, [], 0, 3, 0, 0, 0, nle_BaseNCodec$CodecPolicy, 0, jl_Enum, [], 12, 0, 0, nle_BaseNCodec$CodecPolicy_$callClinit, 0, jn_ByteOrder, 0, jl_Object, [], 4, 3, 0, jn_ByteOrder_$callClinit, 0, ju_TimeZone, 0, jl_Object, [ji_Serializable, jl_Cloneable], 1, 3, 0, ju_TimeZone_$callClinit, 0, ju_IANATimeZone, 0, ju_TimeZone, [], 0, 0, 0, 0, 0, otcit_DateTimeZone, 0, jl_Object, [], 1, 3, 0, 0, 0]); $rt_metadata([otcit_StorableDateTimeZone, 0, otcit_DateTimeZone, [], 1, 3, 0, 0, 0, otcit_FixedDateTimeZone, 0, otcit_StorableDateTimeZone, [], 4, 3, 0, 0, 0, ju_Map$Entry, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_MapEntry, 0, jl_Object, [ju_Map$Entry, jl_Cloneable], 0, 0, 0, 0, ["$equals", $rt_wrapFunction1(ju_MapEntry_equals), "$hashCode0", $rt_wrapFunction0(ju_MapEntry_hashCode)], ju_HashMap$HashEntry, 0, ju_MapEntry, [], 0, 0, 0, 0, 0, jl_StringIndexOutOfBoundsException, "StringIndexOutOfBoundsException", 9, jl_IndexOutOfBoundsException, [], 0, 3, 0, 0, 0, nms_AxisAlignedBB, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_Vec3D, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GameSettings, 0, jl_Object, [], 0, 3, 0, nms_GameSettings_$callClinit, 0, oli_Keyboard, 0, olo_GL11, [], 0, 3, 0, 0, 0, jl_InterruptedException, 0, jl_Exception, [], 0, 3, 0, 0, 0, nms_WorldRenderer, 0, jl_Object, [], 0, 3, 0, nms_WorldRenderer_$callClinit, 0, nms_MinecraftException, "MinecraftException", 12, jl_RuntimeException, [], 0, 3, 0, 0, 0, nms_IBlockAccess, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_World, 0, jl_Object, [nms_IBlockAccess], 0, 3, 0, 0, ["$func_4075_a", $rt_wrapFunction0(nms_World_func_4075_a), "$getBlockId", $rt_wrapFunction3(nms_World_getBlockId), "$getBlockMaterial", $rt_wrapFunction3(nms_World_getBlockMaterial), "$getBlockMetadata", $rt_wrapFunction3(nms_World_getBlockMetadata), "$getLightBrightness", $rt_wrapFunction3(nms_World_getLightBrightness), "$isBlockOpaqueCube", $rt_wrapFunction3(nms_World_isBlockOpaqueCube)], nms_Gui, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiScreen, 0, nms_Gui, [], 0, 3, 0, 0, ["$keyTyped", $rt_wrapFunction2(nms_GuiScreen_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiScreen_mouseClicked), "$mouseMovedOrUp", $rt_wrapFunction3(nms_GuiScreen_mouseMovedOrUp), "$actionPerformed", $rt_wrapFunction1(nms_GuiScreen_actionPerformed), "$initGui", $rt_wrapFunction0(nms_GuiScreen_initGui), "$updateScreen", $rt_wrapFunction0(nms_GuiScreen_updateScreen), "$onGuiClosed", $rt_wrapFunction0(nms_GuiScreen_onGuiClosed), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiScreen_doesGuiPauseGame)], nms_GuiConflictWarning, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiConflictWarning_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiConflictWarning_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiConflictWarning_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiConflictWarning_drawScreen)], ji_EOFException, "EOFException", 8, ji_IOException, [], 0, 3, 0, 0, 0, otp_PlatformRunnable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_Thread$start$lambda$_4_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, ["$run", $rt_wrapFunction0(jl_Thread$start$lambda$_4_0_run)], nms_PositionTexureVertex, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_TexturedQuad, 0, jl_Object, [], 0, 3, 0, 0, 0, cjj_Inflate, 0, jl_Object, [], 4, 0, 0, 0, 0, olug_GLU, 0, olo_GL11, [], 0, 3, 0, 0, 0, nms_PlayerController, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_Tessellator, 0, jl_Object, [], 0, 3, 0, nms_Tessellator_$callClinit, 0, nms_ScaledResolution, 0, jl_Object, [], 0, 3, 0, 0, 0, otcic_StderrOutputStream, 0, otcic_ConsoleOutputStream, [], 0, 3, 0, 0, ["$write0", $rt_wrapFunction3(otcic_StderrOutputStream_write)], jl_Math, 0, jl_Object, [], 4, 3, 0, 0, 0, jt_SimpleDatePatternParser, 0, jl_Object, [], 0, 0, 0, 0, 0, jt_DateFormatElement, 0, jl_Object, [], 1, 0, 0, 0, 0, jnc_CodingErrorAction, 0, jl_Object, [], 0, 3, 0, jnc_CodingErrorAction_$callClinit, 0, otr_EventQueue$Event, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_ThreadInterruptHandler, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_Thread$SleepHandler, 0, jl_Object, [otp_PlatformRunnable, otr_EventQueue$Event, jl_ThreadInterruptHandler], 0, 0, 0, 0, ["$run", $rt_wrapFunction0(jl_Thread$SleepHandler_run)], nPgv_Matrix, 0, jl_Object, [ji_Serializable], 1, 3, 0, 0, 0, nPgv_Matrix4f, 0, nPgv_Matrix, [ji_Serializable], 0, 3, 0, 0, 0, jl_NegativeArraySizeException, "NegativeArraySizeException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jn_CharBufferImpl, 0, jn_CharBuffer, [], 1, 0, 0, 0, 0, jn_CharBufferOverArray, 0, jn_CharBufferImpl, [], 0, 0, 0, 0, 0, jnc_CharsetEncoder, 0, jl_Object, [], 1, 3, 0, 0, 0, jnc_CoderResult, 0, jl_Object, [], 0, 3, 0, 0, 0, nPg_GLObjectMap, 0, jl_Object, [], 0, 3, 0, 0, 0, nPgv_ReadableVector, 0, jl_Object, [], 3, 3, 0, 0, 0, nPgv_Vector, 0, jl_Object, [ji_Serializable, nPgv_ReadableVector], 1, 3, 0, 0, 0, nPgv_ReadableVector2f, 0, jl_Object, [nPgv_ReadableVector], 3, 3, 0, 0, 0, nPgv_ReadableVector3f, 0, jl_Object, [nPgv_ReadableVector2f], 3, 3, 0, 0, 0, nPgv_WritableVector2f, 0, jl_Object, [], 3, 3, 0, 0, 0, nPgv_WritableVector3f, 0, jl_Object, [nPgv_WritableVector2f], 3, 3, 0, 0, 0]); $rt_metadata([nPgv_Vector3f, 0, nPgv_Vector, [ji_Serializable, nPgv_ReadableVector3f, nPgv_WritableVector3f], 0, 3, 0, 0, 0, nPgv_ReadableVector4f, 0, jl_Object, [nPgv_ReadableVector3f], 3, 3, 0, 0, 0, nPgv_WritableVector4f, 0, jl_Object, [nPgv_WritableVector3f], 3, 3, 0, 0, 0, nPgv_Vector4f, 0, nPgv_Vector, [ji_Serializable, nPgv_ReadableVector4f, nPgv_WritableVector4f], 0, 3, 0, 0, 0, jl_Thread$switchContext$lambda$_19_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, ["$run", $rt_wrapFunction0(jl_Thread$switchContext$lambda$_19_0_run)], otciu_UnicodeHelper, 0, jl_Object, [], 4, 3, 0, 0, 0, otciu_CharMapping, 0, jl_Object, [], 0, 3, 0, 0, 0, otci_CharFlow, 0, jl_Object, [], 0, 3, 0, 0, 0, otci_Base46, 0, jl_Object, [], 4, 3, 0, 0, 0, jnc_CharacterCodingException, 0, ji_IOException, [], 0, 3, 0, 0, 0, jl_AssertionError, "AssertionError", 9, jl_Error, [], 0, 3, 0, 0, 0, jl_Float, 0, jl_Number, [jl_Comparable], 0, 3, 0, 0, 0, jl_Double, 0, jl_Number, [jl_Comparable], 0, 3, 0, 0, 0, nms_RenderManager, 0, jl_Object, [], 0, 3, 0, nms_RenderManager_$callClinit, 0, nms_RenderEngine, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_FontRenderer, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_MouseHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_TexturePortalFX, 0, nms_TextureFX, [], 0, 3, 0, 0, ["$func_783_a", $rt_wrapFunction0(nms_TexturePortalFX_func_783_a)], nms_TextureCompassFX, 0, nms_TextureFX, [], 0, 3, 0, 0, ["$func_783_a", $rt_wrapFunction0(nms_TextureCompassFX_func_783_a)], nms_TexureWaterFlowFX, 0, nms_TextureFX, [], 0, 3, 0, 0, ["$func_783_a", $rt_wrapFunction0(nms_TexureWaterFlowFX_func_783_a)], nms_TextureLavaFlowFX, 0, nms_TextureFX, [], 0, 3, 0, 0, ["$func_783_a", $rt_wrapFunction0(nms_TextureLavaFlowFX_func_783_a)], nms_TextureFlamesFX, 0, nms_TextureFX, [], 0, 3, 0, 0, ["$func_783_a", $rt_wrapFunction0(nms_TextureFlamesFX_func_783_a)], nms_IWorldAccess, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_RenderGlobal, 0, jl_Object, [nms_IWorldAccess], 0, 3, 0, 0, 0, nms_EffectRenderer, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiIngame, 0, nms_Gui, [], 0, 3, 0, 0, 0, nms_GuiMainMenu, "GuiMainMenu", 12, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiMainMenu_updateScreen), "$keyTyped", $rt_wrapFunction2(nms_GuiMainMenu_keyTyped), "$initGui", $rt_wrapFunction0(nms_GuiMainMenu_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiMainMenu_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiMainMenu_drawScreen)], oli_Mouse, 0, olo_GL11, [], 0, 3, 0, 0, 0, nms_Entity, 0, jl_Object, [], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_Entity_equals), "$hashCode0", $rt_wrapFunction0(nms_Entity_hashCode), "$setEntityDead0", $rt_wrapFunction0(nms_Entity_setEntityDead), "$func_391_y", $rt_wrapFunction0(nms_Entity_func_391_y), "$func_4034_G", $rt_wrapFunction0(nms_Entity_func_4034_G), "$func_381_o", $rt_wrapFunction0(nms_Entity_func_381_o), "$func_372_f_", $rt_wrapFunction0(nms_Entity_func_372_f_), "$func_355_a", $rt_wrapFunction1(nms_Entity_func_355_a), "$fall", $rt_wrapFunction1(nms_Entity_fall), "$handleWaterMovement", $rt_wrapFunction0(nms_Entity_handleWaterMovement), "$getEntityBrightness", $rt_wrapFunction1(nms_Entity_getEntityBrightness), "$onCollideWithPlayer", $rt_wrapFunction1(nms_Entity_onCollideWithPlayer), "$applyEntityCollision", $rt_wrapFunction1(nms_Entity_applyEntityCollision), "$canAttackEntity", $rt_wrapFunction2(nms_Entity_canAttackEntity), "$canBeCollidedWith", $rt_wrapFunction0(nms_Entity_canBeCollidedWith), "$canBePushed", $rt_wrapFunction0(nms_Entity_canBePushed), "$addToPlayerScore", $rt_wrapFunction2(nms_Entity_addToPlayerScore), "$func_384_a", $rt_wrapFunction1(nms_Entity_func_384_a), "$func_392_h_", $rt_wrapFunction0(nms_Entity_func_392_h_), "$interact", $rt_wrapFunction1(nms_Entity_interact), "$func_383_b_", $rt_wrapFunction1(nms_Entity_func_383_b_), "$func_350_p", $rt_wrapFunction0(nms_Entity_func_350_p), "$func_366_i_", $rt_wrapFunction0(nms_Entity_func_366_i_), "$func_388_v", $rt_wrapFunction0(nms_Entity_func_388_v), "$func_402_h", $rt_wrapFunction0(nms_Entity_func_402_h), "$func_4035_j_", $rt_wrapFunction0(nms_Entity_func_4035_j_), "$func_4039_q", $rt_wrapFunction0(nms_Entity_func_4039_q)], nms_EntityLiving, "EntityLiving", 12, nms_Entity, [], 0, 3, 0, 0, ["$canBeCollidedWith", $rt_wrapFunction0(nms_EntityLiving_canBeCollidedWith), "$canBePushed", $rt_wrapFunction0(nms_EntityLiving_canBePushed), "$func_373_s", $rt_wrapFunction0(nms_EntityLiving_func_373_s), "$func_421_b", $rt_wrapFunction0(nms_EntityLiving_func_421_b), "$func_391_y", $rt_wrapFunction0(nms_EntityLiving_func_391_y), "$func_350_p", $rt_wrapFunction0(nms_EntityLiving_func_350_p), "$onUpdate", $rt_wrapFunction0(nms_EntityLiving_onUpdate), "$canAttackEntity", $rt_wrapFunction2(nms_EntityLiving_canAttackEntity), "$damageEntity", $rt_wrapFunction1(nms_EntityLiving_damageEntity), "$getSoundVolume", $rt_wrapFunction0(nms_EntityLiving_getSoundVolume), "$getLivingSound", $rt_wrapFunction0(nms_EntityLiving_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityLiving_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityLiving_getDeathSound), "$onDeath", $rt_wrapFunction1(nms_EntityLiving_onDeath), "$getDropItemId", $rt_wrapFunction0(nms_EntityLiving_getDropItemId), "$fall", $rt_wrapFunction1(nms_EntityLiving_fall), "$func_435_b", $rt_wrapFunction2(nms_EntityLiving_func_435_b), "$isOnLadder", $rt_wrapFunction0(nms_EntityLiving_isOnLadder), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityLiving_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityLiving_readEntityFromNBT), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityLiving_onLivingUpdate), "$func_418_b_", $rt_wrapFunction0(nms_EntityLiving_func_418_b_), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityLiving_getCanSpawnHere), "$func_4034_G", $rt_wrapFunction0(nms_EntityLiving_func_4034_G), "$func_6391_i", $rt_wrapFunction0(nms_EntityLiving_func_6391_i), "$getHeldItem", $rt_wrapFunction0(nms_EntityLiving_getHeldItem)], nms_EntityPlayer, 0, nms_EntityLiving, [], 0, 3, 0, 0, ["$func_350_p", $rt_wrapFunction0(nms_EntityPlayer_func_350_p), "$onDeath", $rt_wrapFunction1(nms_EntityPlayer_onDeath), "$addToPlayerScore", $rt_wrapFunction2(nms_EntityPlayer_addToPlayerScore), "$func_373_s", $rt_wrapFunction0(nms_EntityPlayer_func_373_s), "$canAttackEntity", $rt_wrapFunction2(nms_EntityPlayer_canAttackEntity), "$damageEntity", $rt_wrapFunction1(nms_EntityPlayer_damageEntity), "$func_388_v", $rt_wrapFunction0(nms_EntityPlayer_func_388_v)], nms_EntityPlayerSP, "EntityPlayerSP", 12, nms_EntityPlayer, [], 0, 3, 0, 0, ["$func_418_b_", $rt_wrapFunction0(nms_EntityPlayerSP_func_418_b_), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityPlayerSP_onLivingUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPlayerSP_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPlayerSP_readEntityFromNBT), "$func_381_o", $rt_wrapFunction0(nms_EntityPlayerSP_func_381_o), "$func_4039_q", $rt_wrapFunction0(nms_EntityPlayerSP_func_4039_q)], nms_MathHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_KeyBinding, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_IInventory, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_InventoryPlayer, 0, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$decrStackSize", $rt_wrapFunction2(nms_InventoryPlayer_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryPlayer_setInventorySlotContents), "$getStackInSlot", $rt_wrapFunction1(nms_InventoryPlayer_getStackInSlot), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryPlayer_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryPlayer_onInventoryChanged)], nms_GuiContainer, 0, nms_GuiScreen, [], 1, 3, 0, 0, ["$drawScreen", $rt_wrapFunction3(nms_GuiContainer_drawScreen), "$mouseClicked", $rt_wrapFunction3(nms_GuiContainer_mouseClicked), "$mouseMovedOrUp", $rt_wrapFunction3(nms_GuiContainer_mouseMovedOrUp), "$keyTyped", $rt_wrapFunction2(nms_GuiContainer_keyTyped), "$onGuiClosed", $rt_wrapFunction0(nms_GuiContainer_onGuiClosed), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiContainer_doesGuiPauseGame)], nms_GuiInventory, 0, nms_GuiContainer, [], 0, 3, 0, 0, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction0(nms_GuiInventory_drawGuiContainerForegroundLayer), "$drawScreen", $rt_wrapFunction3(nms_GuiInventory_drawScreen), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction1(nms_GuiInventory_drawGuiContainerBackgroundLayer)], nms_GuiUnused, 0, nms_GuiScreen, [], 0, 3, 0, 0, 0, nms_GuiGameOver, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiGameOver_initGui), "$keyTyped", $rt_wrapFunction2(nms_GuiGameOver_keyTyped), "$actionPerformed", $rt_wrapFunction1(nms_GuiGameOver_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiGameOver_drawScreen), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiGameOver_doesGuiPauseGame)], nle_BaseNCodec$Context, 0, jl_Object, [], 0, 0, 0, 0, 0, otji_IDBObjectStoreParameters, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otji_IDBCursorSource, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nleat_IDBObjectStorePatched, 0, jl_Object, [otj_JSObject, otji_IDBCursorSource], 1, 3, 0, 0, 0, cjj_InfBlocks, 0, jl_Object, [], 4, 0, 0, 0, 0, jt_DateFormatElement$Numeric, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$Numeric_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$Numeric_hashCode)], jt_DateFormatElement$WeekdayText, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$WeekdayText_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$WeekdayText_hashCode)], jt_DateFormatElement$EraText, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$EraText_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$EraText_hashCode)], jt_DateFormatElement$BaseTimezone, 0, jt_DateFormatElement, [], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$BaseTimezone_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$BaseTimezone_hashCode)], jt_DateFormatElement$Rfc822Timezone, 0, jt_DateFormatElement$BaseTimezone, [], 0, 3, 0, 0, 0]); $rt_metadata([jt_DateFormatElement$AmPmText, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$AmPmText_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$AmPmText_hashCode)], jt_DateFormatElement$NumericHour, 0, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$NumericHour_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$NumericHour_hashCode)], jt_DateFormatElement$NumericWeekday, 0, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, 0, jt_DateFormatElement$GeneralTimezone, 0, jt_DateFormatElement$BaseTimezone, [], 0, 3, 0, 0, 0, jt_DateFormatElement$ConstantText, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$ConstantText_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$ConstantText_hashCode)], jt_DateFormatElement$Year, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$Year_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$Year_hashCode)], jt_DateFormatElement$Iso8601Timezone, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$Iso8601Timezone_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$Iso8601Timezone_hashCode)], jt_DateFormatElement$MonthText, 0, jt_DateFormatElement, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$MonthText_equals), "$hashCode0", $rt_wrapFunction0(jt_DateFormatElement$MonthText_hashCode)], jt_DateFormatElement$NumericMonth, 0, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, 0, jnci_BufferedEncoder, 0, jnc_CharsetEncoder, [], 1, 3, 0, 0, 0, jnci_UTF8Encoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF8Encoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnc_CharsetDecoder, 0, jl_Object, [], 1, 3, 0, 0, 0, nPg_FixedFunctionShader, 0, jl_Object, [], 0, 3, 0, 0, 0, olo_EaglerAdapterGL30$DisplayList, 0, jl_Object, [], 0, 0, 0, 0, 0, nle_EaglerImage, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RenderList, 0, jl_Object, [], 0, 3, 0, 0, 0, ji_Reader, 0, jl_Object, [ji_Closeable, jl_Readable], 1, 3, 0, 0, 0, ji_BufferedReader, 0, ji_Reader, [], 0, 3, 0, 0, 0, ji_InputStreamReader, 0, ji_Reader, [], 0, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$TextureGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_MovingObjectPosition, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_PlayerControllerTest, 0, nms_PlayerController, [], 0, 3, 0, 0, 0, nms_ItemStack, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_CraftingInventoryCB, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_CraftingInventoryPlayerCB, 0, nms_CraftingInventoryCB, [], 0, 3, 0, 0, ["$onCraftMatrixChanged", $rt_wrapFunction1(nms_CraftingInventoryPlayerCB_onCraftMatrixChanged)], nms_Slot, 0, jl_Object, [], 0, 3, 0, 0, ["$onPickupFromSlot", $rt_wrapFunction0(nms_Slot_onPickupFromSlot), "$isItemValid", $rt_wrapFunction1(nms_Slot_isItemValid), "$func_775_c", $rt_wrapFunction0(nms_Slot_func_775_c), "$getSlotStackLimit", $rt_wrapFunction0(nms_Slot_getSlotStackLimit)], nms_SlotInventory, 0, nms_Slot, [], 0, 3, 0, 0, 0, nms_SlotCrafting, 0, nms_SlotInventory, [], 0, 3, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotCrafting_isItemValid), "$onPickupFromSlot", $rt_wrapFunction0(nms_SlotCrafting_onPickupFromSlot)], nms_SlotArmor, 0, nms_SlotInventory, [], 0, 0, 0, 0, ["$getSlotStackLimit", $rt_wrapFunction0(nms_SlotArmor_getSlotStackLimit), "$isItemValid", $rt_wrapFunction1(nms_SlotArmor_isItemValid), "$func_775_c", $rt_wrapFunction0(nms_SlotArmor_func_775_c)], cjj_InfTree, 0, jl_Object, [], 4, 0, 0, 0, 0, cjj_InfCodes, 0, jl_Object, [], 4, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$BufferGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$BufferArrayGL, 0, jl_Object, [], 4, 3, 0, 0, 0, jn_IntBuffer, 0, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, nms_Render, 0, jl_Object, [], 1, 3, 0, 0, 0, nms_RenderItem, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderItem_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_InventoryCraftResult, 0, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_InventoryCraftResult_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryCraftResult_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryCraftResult_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryCraftResult_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryCraftResult_onInventoryChanged)], nms_InventoryCrafting, 0, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_InventoryCrafting_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryCrafting_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryCrafting_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryCrafting_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryCrafting_onInventoryChanged)], ji_UTFDataFormatException, "UTFDataFormatException", 8, ji_IOException, [], 0, 3, 0, 0, 0, otjc_JSArray, 0, jl_Object, [otjc_JSArrayReader], 1, 3, 0, 0, ["$get$exported$0", $rt_wrapFunction1(otjc_JSArray_get$exported$0), "$getLength$exported$1", $rt_wrapFunction0(otjc_JSArray_getLength$exported$1)], jl_IllegalMonitorStateException, "IllegalMonitorStateException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jl_Object$Monitor, 0, jl_Object, [], 0, 0, 0, 0, 0, jl_IllegalStateException, "IllegalStateException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, otjt_Int16Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0, 0, otjt_Int8Array, 0, otjt_ArrayBufferView, [], 1, 3, 0, 0, 0, nms_EntityCreature, 0, nms_EntityLiving, [], 0, 3, 0, 0, ["$func_418_b_", $rt_wrapFunction0(nms_EntityCreature_func_418_b_), "$attackEntity", $rt_wrapFunction2(nms_EntityCreature_attackEntity), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityCreature_findPlayerToAttack)], nms_IMobs, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityMobs, "EntityMobs", 12, nms_EntityCreature, [nms_IMobs], 0, 3, 0, 0, ["$onLivingUpdate", $rt_wrapFunction0(nms_EntityMobs_onLivingUpdate), "$onUpdate", $rt_wrapFunction0(nms_EntityMobs_onUpdate), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityMobs_findPlayerToAttack), "$canAttackEntity", $rt_wrapFunction2(nms_EntityMobs_canAttackEntity), "$attackEntity", $rt_wrapFunction2(nms_EntityMobs_attackEntity), "$func_439_a", $rt_wrapFunction3(nms_EntityMobs_func_439_a), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMobs_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMobs_readEntityFromNBT), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityMobs_getCanSpawnHere)], nms_EntitySpider, "EntitySpider", 12, nms_EntityMobs, [], 0, 3, 0, 0, ["$func_402_h", $rt_wrapFunction0(nms_EntitySpider_func_402_h), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntitySpider_findPlayerToAttack), "$getLivingSound", $rt_wrapFunction0(nms_EntitySpider_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySpider_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySpider_getDeathSound), "$attackEntity", $rt_wrapFunction2(nms_EntitySpider_attackEntity), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySpider_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySpider_readEntityFromNBT), "$getDropItemId", $rt_wrapFunction0(nms_EntitySpider_getDropItemId)], nms_RenderLiving, 0, nms_Render, [], 0, 3, 0, 0, ["$a1", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderLiving_a(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$func_170_d", $rt_wrapFunction2(nms_RenderLiving_func_170_d), "$func_6331_b", $rt_wrapFunction2(nms_RenderLiving_func_6331_b), "$func_166_a", $rt_wrapFunction2(nms_RenderLiving_func_166_a), "$func_172_a", $rt_wrapFunction1(nms_RenderLiving_func_172_a), "$func_173_a", $rt_wrapFunction3(nms_RenderLiving_func_173_a), "$func_6330_a", $rt_wrapFunction2(nms_RenderLiving_func_6330_a), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderLiving_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }]]); $rt_metadata([nms_RenderSpider, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_172_a", $rt_wrapFunction1(nms_RenderSpider_func_172_a), "$func_166_a", $rt_wrapFunction2(nms_RenderSpider_func_166_a)], nms_EntityAnimals, 0, nms_EntityCreature, [], 1, 3, 0, 0, ["$func_439_a", $rt_wrapFunction3(nms_EntityAnimals_func_439_a), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityAnimals_getCanSpawnHere), "$func_421_b", $rt_wrapFunction0(nms_EntityAnimals_func_421_b)], nms_EntityPig, "EntityPig", 12, nms_EntityAnimals, [], 0, 3, 0, 0, ["$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPig_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPig_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntityPig_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityPig_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityPig_getDeathSound), "$interact", $rt_wrapFunction1(nms_EntityPig_interact), "$getDropItemId", $rt_wrapFunction0(nms_EntityPig_getDropItemId)], nms_RenderPig, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_166_a", $rt_wrapFunction2(nms_RenderPig_func_166_a)], nms_ModelQuadraped, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelQuadraped_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) { nms_ModelQuadraped_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelPig, 0, nms_ModelQuadraped, [], 0, 3, 0, 0, 0, nms_EntitySheep, "EntitySheep", 12, nms_EntityAnimals, [], 0, 3, 0, 0, ["$canAttackEntity", $rt_wrapFunction2(nms_EntitySheep_canAttackEntity), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySheep_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySheep_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntitySheep_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySheep_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySheep_getDeathSound)], nms_RenderSheep, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_166_a", $rt_wrapFunction2(nms_RenderSheep_func_166_a)], nms_ModelSheep2, 0, nms_ModelQuadraped, [], 0, 3, 0, 0, 0, nms_ModelSheep1, 0, nms_ModelQuadraped, [], 0, 3, 0, 0, 0, nms_EntityCow, "EntityCow", 12, nms_EntityAnimals, [], 0, 3, 0, 0, ["$writeEntityToNBT", $rt_wrapFunction1(nms_EntityCow_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityCow_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntityCow_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityCow_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityCow_getDeathSound), "$getSoundVolume", $rt_wrapFunction0(nms_EntityCow_getSoundVolume), "$getDropItemId", $rt_wrapFunction0(nms_EntityCow_getDropItemId), "$interact", $rt_wrapFunction1(nms_EntityCow_interact)], nms_RenderCow, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$a1", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderCow_a(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderCow_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelCow, 0, nms_ModelQuadraped, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelCow_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) { nms_ModelCow_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityChicken, "EntityChicken", 12, nms_EntityAnimals, [], 0, 3, 0, 0, ["$onLivingUpdate", $rt_wrapFunction0(nms_EntityChicken_onLivingUpdate), "$fall", $rt_wrapFunction1(nms_EntityChicken_fall), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityChicken_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityChicken_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntityChicken_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityChicken_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityChicken_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityChicken_getDropItemId)], nms_RenderChicken, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_170_d", $rt_wrapFunction2(nms_RenderChicken_func_170_d), "$a1", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderChicken_a(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderChicken_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelChicken, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelChicken_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityCreeper, "EntityCreeper", 12, nms_EntityMobs, [], 0, 3, 0, 0, ["$writeEntityToNBT", $rt_wrapFunction1(nms_EntityCreeper_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityCreeper_readEntityFromNBT), "$onUpdate", $rt_wrapFunction0(nms_EntityCreeper_onUpdate), "$func_418_b_", $rt_wrapFunction0(nms_EntityCreeper_func_418_b_), "$getHurtSound", $rt_wrapFunction0(nms_EntityCreeper_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityCreeper_getDeathSound), "$onDeath", $rt_wrapFunction1(nms_EntityCreeper_onDeath), "$attackEntity", $rt_wrapFunction2(nms_EntityCreeper_attackEntity), "$getDropItemId", $rt_wrapFunction0(nms_EntityCreeper_getDropItemId)], nms_RenderCreeper, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_6330_a", $rt_wrapFunction2(nms_RenderCreeper_func_6330_a), "$func_173_a", $rt_wrapFunction3(nms_RenderCreeper_func_173_a)], nms_EntitySkeleton, "EntitySkeleton", 12, nms_EntityMobs, [], 0, 3, 0, nms_EntitySkeleton_$callClinit, ["$getLivingSound", $rt_wrapFunction0(nms_EntitySkeleton_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySkeleton_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySkeleton_getDeathSound), "$onLivingUpdate", $rt_wrapFunction0(nms_EntitySkeleton_onLivingUpdate), "$attackEntity", $rt_wrapFunction2(nms_EntitySkeleton_attackEntity), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySkeleton_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySkeleton_readEntityFromNBT), "$getDropItemId", $rt_wrapFunction0(nms_EntitySkeleton_getDropItemId), "$getHeldItem", $rt_wrapFunction0(nms_EntitySkeleton_getHeldItem)], nms_RenderBiped, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_6331_b", $rt_wrapFunction2(nms_RenderBiped_func_6331_b)], nms_ModelZombie, 0, nms_ModelBiped, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelZombie_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelSkeleton, 0, nms_ModelZombie, [], 0, 3, 0, 0, 0, nms_EntityZombie, "EntityZombie", 12, nms_EntityMobs, [], 0, 3, 0, 0, ["$onLivingUpdate", $rt_wrapFunction0(nms_EntityZombie_onLivingUpdate), "$getLivingSound", $rt_wrapFunction0(nms_EntityZombie_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityZombie_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityZombie_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityZombie_getDropItemId)], nms_EntitySlime, "EntitySlime", 12, nms_EntityLiving, [nms_IMobs], 0, 3, 0, 0, ["$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySlime_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySlime_readEntityFromNBT), "$onUpdate", $rt_wrapFunction0(nms_EntitySlime_onUpdate), "$func_418_b_", $rt_wrapFunction0(nms_EntitySlime_func_418_b_), "$setEntityDead0", $rt_wrapFunction0(nms_EntitySlime_setEntityDead), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntitySlime_onCollideWithPlayer), "$getHurtSound", $rt_wrapFunction0(nms_EntitySlime_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySlime_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntitySlime_getDropItemId), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntitySlime_getCanSpawnHere), "$getSoundVolume", $rt_wrapFunction0(nms_EntitySlime_getSoundVolume)], nms_RenderSlime, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_6330_a", $rt_wrapFunction2(nms_RenderSlime_func_6330_a), "$func_166_a", $rt_wrapFunction2(nms_RenderSlime_func_166_a)], nms_ModelSlime, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelSlime_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_RenderPlayer, 0, nms_RenderLiving, [], 0, 3, 0, nms_RenderPlayer_$callClinit, ["$func_6330_a", $rt_wrapFunction2(nms_RenderPlayer_func_6330_a), "$func_166_a", $rt_wrapFunction2(nms_RenderPlayer_func_166_a), "$func_6331_b", $rt_wrapFunction2(nms_RenderPlayer_func_6331_b), "$a1", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderPlayer_a1(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderPlayer_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityZombieSimple, "EntityZombieSimple", 12, nms_EntityMobs, [], 0, 3, 0, 0, ["$func_439_a", $rt_wrapFunction3(nms_EntityZombieSimple_func_439_a)], nms_RenderZombieSimple, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_6330_a", $rt_wrapFunction2(nms_RenderZombieSimple_func_6330_a)], nms_EntityFlying, 0, nms_EntityLiving, [], 0, 3, 0, 0, ["$fall", $rt_wrapFunction1(nms_EntityFlying_fall), "$func_435_b", $rt_wrapFunction2(nms_EntityFlying_func_435_b), "$isOnLadder", $rt_wrapFunction0(nms_EntityFlying_isOnLadder)], nms_EntityGhast, "EntityGhast", 12, nms_EntityFlying, [nms_IMobs], 0, 3, 0, 0, ["$func_418_b_", $rt_wrapFunction0(nms_EntityGhast_func_418_b_), "$getLivingSound", $rt_wrapFunction0(nms_EntityGhast_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityGhast_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityGhast_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityGhast_getDropItemId), "$getSoundVolume", $rt_wrapFunction0(nms_EntityGhast_getSoundVolume), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityGhast_getCanSpawnHere), "$func_6391_i", $rt_wrapFunction0(nms_EntityGhast_func_6391_i)], nms_RenderGhast, 0, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_6330_a", $rt_wrapFunction2(nms_RenderGhast_func_6330_a)], nms_RenderEntity, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderEntity_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityPainting, "EntityPainting", 12, nms_Entity, [], 0, 3, 0, 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityPainting_onUpdate), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityPainting_canBeCollidedWith), "$canAttackEntity", $rt_wrapFunction2(nms_EntityPainting_canAttackEntity), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPainting_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPainting_readEntityFromNBT)], nms_RenderPainting, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderPainting_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityArrow, "EntityArrow", 12, nms_Entity, [], 0, 3, 0, 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityArrow_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityArrow_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityArrow_readEntityFromNBT), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntityArrow_onCollideWithPlayer), "$func_392_h_", $rt_wrapFunction0(nms_EntityArrow_func_392_h_)], nms_RenderArrow, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderArrow_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntitySnowball, "EntitySnowball", 12, nms_Entity, [], 0, 3, 0, 0, ["$func_384_a", $rt_wrapFunction1(nms_EntitySnowball_func_384_a), "$onUpdate", $rt_wrapFunction0(nms_EntitySnowball_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySnowball_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySnowball_readEntityFromNBT), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntitySnowball_onCollideWithPlayer), "$func_392_h_", $rt_wrapFunction0(nms_EntitySnowball_func_392_h_)], nms_RenderSnowball, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderSnowball_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityFireball, "EntityFireball", 12, nms_Entity, [], 0, 3, 0, 0, ["$func_384_a", $rt_wrapFunction1(nms_EntityFireball_func_384_a), "$onUpdate", $rt_wrapFunction0(nms_EntityFireball_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFireball_writeEntityToNBT), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityFireball_canBeCollidedWith), "$func_4035_j_", $rt_wrapFunction0(nms_EntityFireball_func_4035_j_), "$canAttackEntity", $rt_wrapFunction2(nms_EntityFireball_canAttackEntity), "$func_392_h_", $rt_wrapFunction0(nms_EntityFireball_func_392_h_)], nms_RenderFireball, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderFireball_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityItem, "EntityItem", 12, nms_Entity, [], 0, 3, 0, 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityItem_onUpdate), "$handleWaterMovement", $rt_wrapFunction0(nms_EntityItem_handleWaterMovement), "$func_355_a", $rt_wrapFunction1(nms_EntityItem_func_355_a), "$canAttackEntity", $rt_wrapFunction2(nms_EntityItem_canAttackEntity), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityItem_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityItem_readEntityFromNBT), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntityItem_onCollideWithPlayer)], nms_EntityTNTPrimed, "EntityTNTPrimed", 12, nms_Entity, [], 0, 3, 0, 0, ["$canBeCollidedWith", $rt_wrapFunction0(nms_EntityTNTPrimed_canBeCollidedWith), "$onUpdate", $rt_wrapFunction0(nms_EntityTNTPrimed_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityTNTPrimed_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityTNTPrimed_readEntityFromNBT), "$func_392_h_", $rt_wrapFunction0(nms_EntityTNTPrimed_func_392_h_)], nms_RenderTNTPrimed, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderTNTPrimed_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityFallingSand, "EntityFallingSand", 12, nms_Entity, [], 0, 3, 0, 0, ["$canBeCollidedWith", $rt_wrapFunction0(nms_EntityFallingSand_canBeCollidedWith), "$onUpdate", $rt_wrapFunction0(nms_EntityFallingSand_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFallingSand_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityFallingSand_readEntityFromNBT), "$func_392_h_", $rt_wrapFunction0(nms_EntityFallingSand_func_392_h_)], nms_RenderFallingSand, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderFallingSand_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityMinecart, "EntityMinecart", 12, nms_Entity, [nms_IInventory], 0, 3, 0, 0, ["$func_383_b_", $rt_wrapFunction1(nms_EntityMinecart_func_383_b_), "$func_372_f_", $rt_wrapFunction0(nms_EntityMinecart_func_372_f_), "$canBePushed", $rt_wrapFunction0(nms_EntityMinecart_canBePushed), "$func_402_h", $rt_wrapFunction0(nms_EntityMinecart_func_402_h), "$canAttackEntity", $rt_wrapFunction2(nms_EntityMinecart_canAttackEntity), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityMinecart_canBeCollidedWith), "$onUpdate", $rt_wrapFunction0(nms_EntityMinecart_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMinecart_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMinecart_readEntityFromNBT), "$func_392_h_", $rt_wrapFunction0(nms_EntityMinecart_func_392_h_), "$applyEntityCollision", $rt_wrapFunction1(nms_EntityMinecart_applyEntityCollision), "$getSizeInventory", $rt_wrapFunction0(nms_EntityMinecart_getSizeInventory), "$getStackInSlot", $rt_wrapFunction1(nms_EntityMinecart_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_EntityMinecart_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_EntityMinecart_setInventorySlotContents), "$getInvName", $rt_wrapFunction0(nms_EntityMinecart_getInvName), "$getInventoryStackLimit", $rt_wrapFunction0(nms_EntityMinecart_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_EntityMinecart_onInventoryChanged), "$interact", $rt_wrapFunction1(nms_EntityMinecart_interact)], nms_RenderMinecart, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderMinecart_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityBoat, "EntityBoat", 12, nms_Entity, [], 0, 3, 0, 0, ["$func_383_b_", $rt_wrapFunction1(nms_EntityBoat_func_383_b_), "$func_372_f_", $rt_wrapFunction0(nms_EntityBoat_func_372_f_), "$canBePushed", $rt_wrapFunction0(nms_EntityBoat_canBePushed), "$func_402_h", $rt_wrapFunction0(nms_EntityBoat_func_402_h), "$canAttackEntity", $rt_wrapFunction2(nms_EntityBoat_canAttackEntity), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityBoat_canBeCollidedWith), "$onUpdate", $rt_wrapFunction0(nms_EntityBoat_onUpdate), "$func_366_i_", $rt_wrapFunction0(nms_EntityBoat_func_366_i_), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityBoat_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityBoat_readEntityFromNBT), "$func_392_h_", $rt_wrapFunction0(nms_EntityBoat_func_392_h_), "$interact", $rt_wrapFunction1(nms_EntityBoat_interact)], nms_RenderBoat, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBoat_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }]]); $rt_metadata([nms_EntityFish, "EntityFish", 12, nms_Entity, [], 0, 3, 0, 0, ["$func_384_a", $rt_wrapFunction1(nms_EntityFish_func_384_a), "$onUpdate", $rt_wrapFunction0(nms_EntityFish_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFish_writeEntityToNBT), "$func_392_h_", $rt_wrapFunction0(nms_EntityFish_func_392_h_)], nms_RenderFish, 0, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderFish_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], otp_PlatformQueue, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, jl_Object$monitorExit$lambda$_8_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, ["$run", $rt_wrapFunction0(jl_Object$monitorExit$lambda$_8_0_run)], jn_IntBufferImpl, 0, jn_IntBuffer, [], 1, 0, 0, 0, 0, jn_IntBufferOverArray, 0, jn_IntBufferImpl, [], 0, 0, 0, 0, ["$getElement0", $rt_wrapFunction1(jn_IntBufferOverArray_getElement), "$putElement", $rt_wrapFunction2(jn_IntBufferOverArray_putElement), "$readOnly0", $rt_wrapFunction0(jn_IntBufferOverArray_readOnly)], nms_ModelSpider, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelSpider_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelCreeper, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelCreeper_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelGhast, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_ModelGhast_render(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelMinecart, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nms_ModelBoat, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$12, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$12_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$13, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$13_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$ShaderGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$ProgramGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$UniformGL, 0, jl_Object, [], 4, 3, 0, 0, 0, jl_Object$monitorEnterWait$lambda$_6_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, 0, jl_UnsupportedOperationException, "UnsupportedOperationException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jn_ReadOnlyBufferException, "ReadOnlyBufferException", 6, jl_UnsupportedOperationException, [], 0, 3, 0, 0, 0, jn_BufferOverflowException, "BufferOverflowException", 6, jl_RuntimeException, [], 0, 3, 0, 0, 0, jn_BufferUnderflowException, "BufferUnderflowException", 6, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnci_BufferedDecoder, 0, jnc_CharsetDecoder, [], 1, 3, 0, 0, 0, jnci_UTF8Decoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF8Decoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_AsciiDecoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_AsciiDecoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_Iso8859Decoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_Iso8859Decoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_UTF16Decoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF16Decoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_GuiIngameMenu, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiIngameMenu_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiIngameMenu_actionPerformed), "$updateScreen", $rt_wrapFunction0(nms_GuiIngameMenu_updateScreen), "$drawScreen", $rt_wrapFunction3(nms_GuiIngameMenu_drawScreen)], nms_ClippingHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ClippingHelperImplementation, 0, nms_ClippingHelper, [], 0, 3, 0, 0, 0, nms_ICamera, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_Frustrum, 0, jl_Object, [nms_ICamera], 0, 3, 0, 0, 0, nms_RenderHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiChat, 0, nms_GuiScreen, [], 0, 3, 0, 0, 0, nms_ChatLine, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityFX, 0, nms_Entity, [], 0, 3, 0, 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityFX_onUpdate), "$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$func_404_c", $rt_wrapFunction0(nms_EntityFX_func_404_c), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFX_writeEntityToNBT)], otcic_Console, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_EntityDiggingFX, "EntityDiggingFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_404_c", $rt_wrapFunction0(nms_EntityDiggingFX_func_404_c), "$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityDiggingFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jl_Object$NotifyListener, 0, jl_Object, [otp_PlatformRunnable, otr_EventQueue$Event], 3, 0, 0, 0, 0, nms_CraftingManager, 0, jl_Object, [], 0, 3, 0, nms_CraftingManager_$callClinit, 0, ju_HashMap$2, 0, ju_AbstractCollection, [], 0, 0, 0, 0, ["$contains", $rt_wrapFunction1(ju_HashMap$2_contains), "$iterator", $rt_wrapFunction0(ju_HashMap$2_iterator)], nms_GuiButton, 0, nms_Gui, [], 0, 3, 0, 0, ["$getHoverState", $rt_wrapFunction1(nms_GuiButton_getHoverState), "$mouseDragged", $rt_wrapFunction3(nms_GuiButton_mouseDragged), "$mouseReleased", $rt_wrapFunction2(nms_GuiButton_mouseReleased), "$mousePressed", $rt_wrapFunction3(nms_GuiButton_mousePressed)], nms_LogoEffectRandomizer, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_WorldProvider, 0, jl_Object, [], 0, 3, 0, 0, ["$generateLightBrightnessTable", $rt_wrapFunction0(nms_WorldProvider_generateLightBrightnessTable), "$registerWorldChunkManager", $rt_wrapFunction0(nms_WorldProvider_registerWorldChunkManager), "$getChunkProvider", $rt_wrapFunction0(nms_WorldProvider_getChunkProvider), "$getChunkLoader", $rt_wrapFunction1(nms_WorldProvider_getChunkLoader), "$canCoordinateBeSpawn", $rt_wrapFunction2(nms_WorldProvider_canCoordinateBeSpawn), "$calculateCelestialAngle", $rt_wrapFunction2(nms_WorldProvider_calculateCelestialAngle), "$func_4096_a", $rt_wrapFunction2(nms_WorldProvider_func_4096_a), "$func_6477_d", $rt_wrapFunction0(nms_WorldProvider_func_6477_d)], nms_EntityRainFX, "EntityRainFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityRainFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityRainFX_onUpdate)], jl_ClassLoader, 0, jl_Object, [], 1, 3, 0, jl_ClassLoader_$callClinit, 0, ji_UnsupportedEncodingException, "UnsupportedEncodingException", 8, ji_IOException, [], 0, 3, 0, 0, 0, jl_NumberFormatException, "NumberFormatException", 9, jl_IllegalArgumentException, [], 0, 3, 0, 0, 0, otcit_FloatSynthesizer, 0, jl_Object, [], 4, 3, 0, 0, 0, otcit_FloatAnalyzer, 0, jl_Object, [], 4, 3, 0, 0, 0, jl_SystemClassLoader, 0, jl_ClassLoader, [], 0, 0, 0, 0, 0]); $rt_metadata([nms_RecipesTools, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesWeapons, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesIngots, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesFood, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesCrafting, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesArmor, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipeSorter, 0, jl_Object, [ju_Comparator], 0, 0, 0, 0, ["$compare", $rt_wrapFunction2(nms_RecipeSorter_compare)], ju_Collections, 0, jl_Object, [], 0, 3, 0, 0, 0, nleat_IndexedDBFilesystem$AsyncHandlers$7, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$7_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$8, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$8_handleEvent$exported$0)], ju_Comparator$NaturalOrder, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, ["$compare", $rt_wrapFunction2(ju_Comparator$NaturalOrder_compare)], ju_Set, 0, jl_Object, [ju_Collection], 3, 3, 0, 0, 0, ju_AbstractSet, 0, ju_AbstractCollection, [ju_Set], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(ju_AbstractSet_equals), "$hashCode0", $rt_wrapFunction0(ju_AbstractSet_hashCode)], ju_TemplateCollections$AbstractImmutableSet, 0, ju_AbstractSet, [], 1, 0, 0, 0, 0, ju_Collections$1, 0, ju_TemplateCollections$AbstractImmutableSet, [], 0, 0, 0, 0, 0, ju_TemplateCollections$AbstractImmutableMap, 0, ju_AbstractMap, [], 1, 0, 0, 0, 0, ju_Collections$2, 0, ju_TemplateCollections$AbstractImmutableMap, [], 0, 0, 0, 0, 0, ju_TemplateCollections$AbstractImmutableList, 0, ju_AbstractList, [ju_RandomAccess], 1, 0, 0, 0, 0, ju_Collections$3, 0, ju_TemplateCollections$AbstractImmutableList, [], 0, 0, 0, 0, 0, ju_Iterator, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_Collections$4, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, 0, ju_ListIterator, 0, jl_Object, [ju_Iterator], 3, 3, 0, 0, 0, ju_Collections$5, 0, jl_Object, [ju_ListIterator], 0, 0, 0, 0, 0, ju_Collections$_clinit_$lambda$_59_0, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, 0, jn_IntBufferOverByteBuffer, 0, jn_IntBufferImpl, [], 1, 0, 0, 0, ["$readOnly0", $rt_wrapFunction0(jn_IntBufferOverByteBuffer_readOnly)], jn_IntBufferOverByteBufferLittleEndian, 0, jn_IntBufferOverByteBuffer, [], 0, 0, 0, 0, ["$getElement0", $rt_wrapFunction1(jn_IntBufferOverByteBufferLittleEndian_getElement), "$putElement", $rt_wrapFunction2(jn_IntBufferOverByteBufferLittleEndian_putElement)], jn_IntBufferOverByteBufferBigEndian, 0, jn_IntBufferOverByteBuffer, [], 0, 0, 0, 0, ["$getElement0", $rt_wrapFunction1(jn_IntBufferOverByteBufferBigEndian_getElement), "$putElement", $rt_wrapFunction2(jn_IntBufferOverByteBufferBigEndian_putElement)], ju_HashMap$AbstractMapIterator, 0, jl_Object, [], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_HashMap$AbstractMapIterator_hasNext)], ju_HashMap$ValueIterator, 0, ju_HashMap$AbstractMapIterator, [ju_Iterator], 0, 0, 0, 0, ["$next0", $rt_wrapFunction0(ju_HashMap$ValueIterator_next)], nms_CraftingRecipe, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_Date, 0, jl_Object, [jl_Comparable], 0, 3, 0, 0, 0, nms_FontAllowedCharacters, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_AbstractList$1, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_AbstractList$1_hasNext), "$next0", $rt_wrapFunction0(ju_AbstractList$1_next)], nms_RenderSorter, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, ["$compare", $rt_wrapFunction2(nms_RenderSorter_compare)], nms_EntitySorter, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, ["$compare", $rt_wrapFunction2(nms_EntitySorter_compare)], nms_TileEntityRenderer, 0, jl_Object, [], 0, 3, 0, nms_TileEntityRenderer_$callClinit, 0, jur_Pattern, 0, jl_Object, [ji_Serializable], 4, 3, 0, 0, 0, ji_ByteArrayOutputStream, 0, ji_OutputStream, [], 0, 3, 0, 0, ["$write3", $rt_wrapFunction1(ji_ByteArrayOutputStream_write0), "$write0", $rt_wrapFunction3(ji_ByteArrayOutputStream_write)], nms_MovementInput, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_MovementInputFromOptions, 0, nms_MovementInput, [], 0, 3, 0, 0, 0, cjj_Inflate$Return, "Inflate$Return", 2, jl_Exception, [], 0, 0, 0, 0, 0, cjj_GZIPHeader, 0, jl_Object, [jl_Cloneable], 0, 3, 0, 0, 0, cjj_CRC32, 0, jl_Object, [cjj_Checksum], 4, 3, 0, 0, ["$update0", $rt_wrapFunction3(cjj_CRC32_update), "$reset0", $rt_wrapFunction0(cjj_CRC32_reset), "$reset1", $rt_wrapFunction1(cjj_CRC32_reset0), "$getValue", $rt_wrapFunction0(cjj_CRC32_getValue)], jnci_AsciiEncoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_AsciiEncoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_Iso8859Encoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_Iso8859Encoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_UTF16Encoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF16Encoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], ju_LinkedList$SequentialListIterator, 0, jl_Object, [ju_ListIterator], 0, 0, 0, 0, 0, ju_LinkedList$Entry, 0, jl_Object, [], 0, 0, 0, 0, 0, ji_OutputStreamWriter, 0, ji_Writer, [], 0, 3, 0, 0, ["$close", $rt_wrapFunction0(ji_OutputStreamWriter_close), "$flush", $rt_wrapFunction0(ji_OutputStreamWriter_flush), "$write", $rt_wrapFunction3(ji_OutputStreamWriter_write)], ji_DataOutput, 0, jl_Object, [], 3, 3, 0, 0, 0]); $rt_metadata([ji_DataOutputStream, 0, ji_FilterOutputStream, [ji_DataOutput], 0, 3, 0, 0, ["$write0", $rt_wrapFunction3(ji_DataOutputStream_write)], jur_AbstractSet, 0, jl_Object, [], 1, 0, 0, 0, ["$find0", $rt_wrapFunction3(jur_AbstractSet_find), "$findBack", $rt_wrapFunction4(jur_AbstractSet_findBack), "$getType1", $rt_wrapFunction0(jur_AbstractSet_getType), "$setNext", $rt_wrapFunction1(jur_AbstractSet_setNext), "$first", $rt_wrapFunction1(jur_AbstractSet_first), "$processBackRefReplacement", $rt_wrapFunction0(jur_AbstractSet_processBackRefReplacement), "$processSecondPass", $rt_wrapFunction0(jur_AbstractSet_processSecondPass)], otjb_TimerHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$14, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$14_onTimer$exported$0)], jl_VirtualMachineError, 0, jl_Error, [], 0, 3, 0, 0, 0, jl_OutOfMemoryError, "OutOfMemoryError", 9, jl_VirtualMachineError, [], 0, 3, 0, 0, 0, nms_TileEntitySpecialRenderer, 0, jl_Object, [], 1, 3, 0, 0, 0, nms_TileEntitySignRenderer, 0, nms_TileEntitySpecialRenderer, [], 0, 3, 0, 0, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntitySignRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityMobSpawner, "TileEntityMobSpawner", 12, nms_TileEntity, [], 0, 3, 0, 0, ["$updateEntity", $rt_wrapFunction0(nms_TileEntityMobSpawner_updateEntity), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityMobSpawner_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityMobSpawner_writeToNBT)], nms_TileEntityMobSpawnerRenderer, 0, nms_TileEntitySpecialRenderer, [], 0, 3, 0, 0, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntityMobSpawnerRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], jur_FSet, 0, jur_AbstractSet, [], 0, 0, 0, jur_FSet_$callClinit, ["$matches0", $rt_wrapFunction3(jur_FSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_FSet_hasConsumed)], jur_Lexer, 0, jl_Object, [], 0, 0, 0, 0, 0, jur_PatternSyntaxException, "PatternSyntaxException", 5, jl_IllegalArgumentException, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jur_PatternSyntaxException_getMessage)], nleat_IndexedDBFilesystem$BooleanResult, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_SignModel, 0, jl_Object, [], 0, 3, 0, 0, 0, jur_NonCapFSet, 0, jur_FSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_NonCapFSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_NonCapFSet_hasConsumed)], jur_AheadFSet, 0, jur_FSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_AheadFSet_matches)], jur_BehindFSet, 0, jur_FSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_BehindFSet_matches)], jur_AtomicFSet, 0, jur_FSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_AtomicFSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_AtomicFSet_hasConsumed)], jur_FinalSet, 0, jur_FSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_FinalSet_matches)], jur_LeafSet, 0, jur_AbstractSet, [], 1, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_LeafSet_matches), "$charCount0", $rt_wrapFunction0(jur_LeafSet_charCount), "$hasConsumed", $rt_wrapFunction1(jur_LeafSet_hasConsumed)], jur_EmptySet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_EmptySet_accepts), "$find0", $rt_wrapFunction3(jur_EmptySet_find), "$findBack", $rt_wrapFunction4(jur_EmptySet_findBack), "$hasConsumed", $rt_wrapFunction1(jur_EmptySet_hasConsumed)], jur_JointSet, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_JointSet_matches), "$setNext", $rt_wrapFunction1(jur_JointSet_setNext), "$first", $rt_wrapFunction1(jur_JointSet_first), "$hasConsumed", $rt_wrapFunction1(jur_JointSet_hasConsumed), "$processSecondPass", $rt_wrapFunction0(jur_JointSet_processSecondPass)], jur_NonCapJointSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_NonCapJointSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_NonCapJointSet_hasConsumed)], jur_AtomicJointSet, 0, jur_NonCapJointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_AtomicJointSet_matches), "$setNext", $rt_wrapFunction1(jur_AtomicJointSet_setNext)], jur_PositiveLookAhead, 0, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PositiveLookAhead_matches), "$hasConsumed", $rt_wrapFunction1(jur_PositiveLookAhead_hasConsumed)], jur_NegativeLookAhead, 0, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_NegativeLookAhead_matches), "$hasConsumed", $rt_wrapFunction1(jur_NegativeLookAhead_hasConsumed)], jur_PositiveLookBehind, 0, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PositiveLookBehind_matches), "$hasConsumed", $rt_wrapFunction1(jur_PositiveLookBehind_hasConsumed)], jur_NegativeLookBehind, 0, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_NegativeLookBehind_matches), "$hasConsumed", $rt_wrapFunction1(jur_NegativeLookBehind_hasConsumed)], jur_SingleSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_SingleSet_matches), "$find0", $rt_wrapFunction3(jur_SingleSet_find), "$findBack", $rt_wrapFunction4(jur_SingleSet_findBack), "$first", $rt_wrapFunction1(jur_SingleSet_first), "$processBackRefReplacement", $rt_wrapFunction0(jur_SingleSet_processBackRefReplacement), "$processSecondPass", $rt_wrapFunction0(jur_SingleSet_processSecondPass)], nleat_IndexedDBFilesystem$AsyncHandlers$19, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$19_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$20, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$20_handleEvent$exported$0)], nleat_IndexedDBFilesystem$FileExists, 0, jl_Enum, [], 12, 3, 0, nleat_IndexedDBFilesystem$FileExists_$callClinit, 0, jur_SpecialToken, 0, jl_Object, [], 1, 0, 0, 0, 0, jur_AbstractCharClass, 0, jur_SpecialToken, [], 1, 0, 0, jur_AbstractCharClass_$callClinit, ["$getBits", $rt_wrapFunction0(jur_AbstractCharClass_getBits), "$getLowHighSurrogates", $rt_wrapFunction0(jur_AbstractCharClass_getLowHighSurrogates), "$getInstance2", $rt_wrapFunction0(jur_AbstractCharClass_getInstance), "$hasUCI", $rt_wrapFunction0(jur_AbstractCharClass_hasUCI)], jur_CharClass, "CharClass", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass_contains), "$getBits", $rt_wrapFunction0(jur_CharClass_getBits), "$getLowHighSurrogates", $rt_wrapFunction0(jur_CharClass_getLowHighSurrogates), "$getInstance2", $rt_wrapFunction0(jur_CharClass_getInstance), "$toString", $rt_wrapFunction0(jur_CharClass_toString), "$hasUCI", $rt_wrapFunction0(jur_CharClass_hasUCI)], ju_MissingResourceException, "MissingResourceException", 4, jl_RuntimeException, [], 0, 3, 0, 0, 0, jur_QuantifierSet, 0, jur_AbstractSet, [], 1, 0, 0, 0, ["$first", $rt_wrapFunction1(jur_QuantifierSet_first), "$hasConsumed", $rt_wrapFunction1(jur_QuantifierSet_hasConsumed), "$processSecondPass", $rt_wrapFunction0(jur_QuantifierSet_processSecondPass)], jur_LeafQuantifierSet, 0, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_LeafQuantifierSet_matches)], jur_CompositeQuantifierSet, 0, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_CompositeQuantifierSet_matches)], jur_GroupQuantifierSet, 0, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_GroupQuantifierSet_matches)], jur_AltQuantifierSet, 0, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_AltQuantifierSet_matches), "$setNext", $rt_wrapFunction1(jur_AltQuantifierSet_setNext)], jur_UnifiedQuantifierSet, 0, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_UnifiedQuantifierSet_matches), "$find0", $rt_wrapFunction3(jur_UnifiedQuantifierSet_find)], jur_AbstractCharClass$LazyCharClass, 0, jl_Object, [], 1, 0, 0, 0, 0, jur_Quantifier, "Quantifier", 5, jur_SpecialToken, [jl_Cloneable], 0, 0, 0, 0, ["$toString", $rt_wrapFunction0(jur_Quantifier_toString)], jur_FSet$PossessiveFSet, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_FSet$PossessiveFSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_FSet$PossessiveFSet_hasConsumed)], ju_BitSet, 0, jl_Object, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, 0, jur_LowHighSurrogateRangeSet, 0, jur_JointSet, [], 0, 0, 0, 0, 0, jur_CompositeRangeSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_CompositeRangeSet_matches), "$setNext", $rt_wrapFunction1(jur_CompositeRangeSet_setNext), "$hasConsumed", $rt_wrapFunction1(jur_CompositeRangeSet_hasConsumed), "$first", $rt_wrapFunction1(jur_CompositeRangeSet_first)], jur_SupplRangeSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_SupplRangeSet_matches), "$contains1", $rt_wrapFunction1(jur_SupplRangeSet_contains), "$first", $rt_wrapFunction1(jur_SupplRangeSet_first), "$setNext", $rt_wrapFunction1(jur_SupplRangeSet_setNext), "$hasConsumed", $rt_wrapFunction1(jur_SupplRangeSet_hasConsumed)]]); $rt_metadata([jur_UCISupplRangeSet, 0, jur_SupplRangeSet, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_UCISupplRangeSet_contains)], jur_UCIRangeSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCIRangeSet_accepts)], jur_RangeSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_RangeSet_accepts), "$first", $rt_wrapFunction1(jur_RangeSet_first)], jur_HangulDecomposedCharSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_HangulDecomposedCharSet_setNext), "$matches0", $rt_wrapFunction3(jur_HangulDecomposedCharSet_matches), "$first", $rt_wrapFunction1(jur_HangulDecomposedCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_HangulDecomposedCharSet_hasConsumed)], jur_CharSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$charCount0", $rt_wrapFunction0(jur_CharSet_charCount), "$accepts", $rt_wrapFunction2(jur_CharSet_accepts), "$find0", $rt_wrapFunction3(jur_CharSet_find), "$findBack", $rt_wrapFunction4(jur_CharSet_findBack), "$first", $rt_wrapFunction1(jur_CharSet_first)], jur_UCICharSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCICharSet_accepts)], jur_CICharSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_CICharSet_accepts)], jur_DecomposedCharSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_DecomposedCharSet_setNext), "$matches0", $rt_wrapFunction3(jur_DecomposedCharSet_matches), "$first", $rt_wrapFunction1(jur_DecomposedCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_DecomposedCharSet_hasConsumed)], jur_UCIDecomposedCharSet, 0, jur_DecomposedCharSet, [], 0, 0, 0, 0, 0, jur_CIDecomposedCharSet, 0, jur_DecomposedCharSet, [], 0, 0, 0, 0, 0, jur_PossessiveGroupQuantifierSet, 0, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PossessiveGroupQuantifierSet_matches)], jur_PosPlusGroupQuantifierSet, 0, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PosPlusGroupQuantifierSet_matches)], jur_AltGroupQuantifierSet, 0, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_AltGroupQuantifierSet_matches), "$setNext", $rt_wrapFunction1(jur_AltGroupQuantifierSet_setNext)], jur_PosAltGroupQuantifierSet, 0, jur_AltGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PosAltGroupQuantifierSet_matches), "$setNext", $rt_wrapFunction1(jur_PosAltGroupQuantifierSet_setNext)], jur_CompositeGroupQuantifierSet, 0, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_CompositeGroupQuantifierSet_matches)], jur_PosCompositeGroupQuantifierSet, 0, jur_CompositeGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PosCompositeGroupQuantifierSet_matches)], jur_ReluctantGroupQuantifierSet, 0, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_ReluctantGroupQuantifierSet_matches)], jur_RelAltGroupQuantifierSet, 0, jur_AltGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_RelAltGroupQuantifierSet_matches)], jur_RelCompositeGroupQuantifierSet, 0, jur_CompositeGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_RelCompositeGroupQuantifierSet_matches)], jur_DotAllQuantifierSet, 0, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_DotAllQuantifierSet_matches), "$find0", $rt_wrapFunction3(jur_DotAllQuantifierSet_find)], jur_DotQuantifierSet, 0, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_DotQuantifierSet_matches), "$find0", $rt_wrapFunction3(jur_DotQuantifierSet_find)], jur_AbstractLineTerminator, 0, jl_Object, [], 1, 0, 0, 0, 0, jur_PossessiveQuantifierSet, 0, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PossessiveQuantifierSet_matches)], jur_PossessiveAltQuantifierSet, 0, jur_AltQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PossessiveAltQuantifierSet_matches)], jur_PossessiveCompositeQuantifierSet, 0, jur_CompositeQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PossessiveCompositeQuantifierSet_matches)], jur_ReluctantQuantifierSet, 0, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_ReluctantQuantifierSet_matches)], jur_ReluctantAltQuantifierSet, 0, jur_AltQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_ReluctantAltQuantifierSet_matches)], jur_ReluctantCompositeQuantifierSet, 0, jur_CompositeQuantifierSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_ReluctantCompositeQuantifierSet_matches)], jur_SOLSet, 0, jur_AbstractSet, [], 4, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_SOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_SOLSet_hasConsumed)], jur_WordBoundary, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_WordBoundary_matches), "$hasConsumed", $rt_wrapFunction1(jur_WordBoundary_hasConsumed)], jur_PreviousMatch, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_PreviousMatch_matches), "$hasConsumed", $rt_wrapFunction1(jur_PreviousMatch_hasConsumed)], jur_EOLSet, 0, jur_AbstractSet, [], 4, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_EOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_EOLSet_hasConsumed)], jur_EOISet, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_EOISet_matches), "$hasConsumed", $rt_wrapFunction1(jur_EOISet_hasConsumed)], jur_MultiLineSOLSet, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_MultiLineSOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_MultiLineSOLSet_hasConsumed)], jur_DotAllSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_DotAllSet_matches), "$setNext", $rt_wrapFunction1(jur_DotAllSet_setNext), "$getType1", $rt_wrapFunction0(jur_DotAllSet_getType), "$hasConsumed", $rt_wrapFunction1(jur_DotAllSet_hasConsumed)], jur_DotSet, 0, jur_JointSet, [], 4, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_DotSet_matches), "$setNext", $rt_wrapFunction1(jur_DotSet_setNext), "$getType1", $rt_wrapFunction0(jur_DotSet_getType), "$hasConsumed", $rt_wrapFunction1(jur_DotSet_hasConsumed)], jur_UEOLSet, 0, jur_AbstractSet, [], 4, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_UEOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_UEOLSet_hasConsumed)], jur_UMultiLineEOLSet, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_UMultiLineEOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_UMultiLineEOLSet_hasConsumed)], jur_MultiLineEOLSet, 0, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_MultiLineEOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_MultiLineEOLSet_hasConsumed)], jur_CIBackReferenceSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_CIBackReferenceSet_matches), "$setNext", $rt_wrapFunction1(jur_CIBackReferenceSet_setNext), "$hasConsumed", $rt_wrapFunction1(jur_CIBackReferenceSet_hasConsumed)], jur_BackReferenceSet, 0, jur_CIBackReferenceSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_BackReferenceSet_matches), "$find0", $rt_wrapFunction3(jur_BackReferenceSet_find), "$findBack", $rt_wrapFunction4(jur_BackReferenceSet_findBack), "$first", $rt_wrapFunction1(jur_BackReferenceSet_first)], jur_UCIBackReferenceSet, 0, jur_CIBackReferenceSet, [], 0, 0, 0, 0, ["$matches0", $rt_wrapFunction3(jur_UCIBackReferenceSet_matches)], jur_SequenceSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_SequenceSet_accepts), "$find0", $rt_wrapFunction3(jur_SequenceSet_find), "$findBack", $rt_wrapFunction4(jur_SequenceSet_findBack), "$first", $rt_wrapFunction1(jur_SequenceSet_first)], jur_UCISequenceSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCISequenceSet_accepts)], jur_CISequenceSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_CISequenceSet_accepts)], nleat_IndexedDBFilesystem$AsyncHandlers$17, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$17_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$18, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$18_handleEvent$exported$0)], jur_AbstractCharClass$PredefinedCharacterClasses, 0, jl_Object, [], 4, 0, 0, jur_AbstractCharClass$PredefinedCharacterClasses_$callClinit, 0, jur_UCISupplCharSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCISupplCharSet_accepts)], jur_LowSurrogateCharSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_LowSurrogateCharSet_setNext), "$matches0", $rt_wrapFunction3(jur_LowSurrogateCharSet_matches), "$find0", $rt_wrapFunction3(jur_LowSurrogateCharSet_find), "$findBack", $rt_wrapFunction4(jur_LowSurrogateCharSet_findBack), "$first", $rt_wrapFunction1(jur_LowSurrogateCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_LowSurrogateCharSet_hasConsumed)]]); $rt_metadata([jur_HighSurrogateCharSet, 0, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_HighSurrogateCharSet_setNext), "$matches0", $rt_wrapFunction3(jur_HighSurrogateCharSet_matches), "$find0", $rt_wrapFunction3(jur_HighSurrogateCharSet_find), "$findBack", $rt_wrapFunction4(jur_HighSurrogateCharSet_findBack), "$first", $rt_wrapFunction1(jur_HighSurrogateCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_HighSurrogateCharSet_hasConsumed)], jur_SupplCharSet, 0, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_SupplCharSet_accepts), "$find0", $rt_wrapFunction3(jur_SupplCharSet_find), "$findBack", $rt_wrapFunction4(jur_SupplCharSet_findBack), "$first", $rt_wrapFunction1(jur_SupplCharSet_first)], jur_AbstractLineTerminator$1, 0, jur_AbstractLineTerminator, [], 0, 0, 0, 0, ["$isLineTerminator", $rt_wrapFunction1(jur_AbstractLineTerminator$1_isLineTerminator), "$isAfterLineTerminator", $rt_wrapFunction2(jur_AbstractLineTerminator$1_isAfterLineTerminator)], jur_AbstractLineTerminator$2, 0, jur_AbstractLineTerminator, [], 0, 0, 0, 0, ["$isLineTerminator", $rt_wrapFunction1(jur_AbstractLineTerminator$2_isLineTerminator), "$isAfterLineTerminator", $rt_wrapFunction2(jur_AbstractLineTerminator$2_isAfterLineTerminator)], jur_SequenceSet$IntHash, 0, jl_Object, [], 0, 0, 0, 0, 0, jur_IntHash, 0, jl_Object, [], 0, 0, 0, 0, 0, jur_AbstractCharClass$LazySpace, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazySpace_computeValue)], jur_AbstractCharClass$LazyDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyDigit_computeValue)], jur_AbstractCharClass$LazyLower, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyLower_computeValue)], jur_AbstractCharClass$LazyUpper, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyUpper_computeValue)], jur_AbstractCharClass$LazyASCII, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyASCII_computeValue)], jur_AbstractCharClass$LazyAlpha, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyAlpha_computeValue)], jur_AbstractCharClass$LazyAlnum, 0, jur_AbstractCharClass$LazyAlpha, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyAlnum_computeValue)], jur_AbstractCharClass$LazyPunct, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyPunct_computeValue)], jur_AbstractCharClass$LazyGraph, 0, jur_AbstractCharClass$LazyAlnum, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyGraph_computeValue)], jur_AbstractCharClass$LazyPrint, 0, jur_AbstractCharClass$LazyGraph, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyPrint_computeValue)], jur_AbstractCharClass$LazyBlank, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyBlank_computeValue)], jur_AbstractCharClass$LazyCntrl, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyCntrl_computeValue)], jur_AbstractCharClass$LazyXDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyXDigit_computeValue)], jur_AbstractCharClass$LazyJavaLowerCase, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaLowerCase_computeValue)], jur_AbstractCharClass$LazyJavaUpperCase, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaUpperCase_computeValue)], jur_AbstractCharClass$LazyJavaWhitespace, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaWhitespace_computeValue)], jur_AbstractCharClass$LazyJavaMirrored, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaMirrored_computeValue)], jur_AbstractCharClass$LazyJavaDefined, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaDefined_computeValue)], jur_AbstractCharClass$LazyJavaDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaDigit_computeValue)], jur_AbstractCharClass$LazyJavaIdentifierIgnorable, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaIdentifierIgnorable_computeValue)], jur_AbstractCharClass$LazyJavaISOControl, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaISOControl_computeValue)], jur_AbstractCharClass$LazyJavaJavaIdentifierPart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaJavaIdentifierPart_computeValue)], jur_AbstractCharClass$LazyJavaJavaIdentifierStart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaJavaIdentifierStart_computeValue)], jur_AbstractCharClass$LazyJavaLetter, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaLetter_computeValue)], jur_AbstractCharClass$LazyJavaLetterOrDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaLetterOrDigit_computeValue)], jur_AbstractCharClass$LazyJavaSpaceChar, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaSpaceChar_computeValue)], jur_AbstractCharClass$LazyJavaTitleCase, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaTitleCase_computeValue)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart_computeValue)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart_computeValue)], jur_AbstractCharClass$LazyWord, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyWord_computeValue)], jur_AbstractCharClass$LazyNonWord, 0, jur_AbstractCharClass$LazyWord, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyNonWord_computeValue)], jur_AbstractCharClass$LazyNonSpace, 0, jur_AbstractCharClass$LazySpace, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyNonSpace_computeValue)], jur_AbstractCharClass$LazyNonDigit, 0, jur_AbstractCharClass$LazyDigit, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyNonDigit_computeValue)], jur_AbstractCharClass$LazyRange, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyRange_computeValue)], jur_AbstractCharClass$LazySpecialsBlock, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazySpecialsBlock_computeValue)], jur_AbstractCharClass$LazyCategory, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyCategory_computeValue)], jur_AbstractCharClass$LazyCategoryScope, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyCategoryScope_computeValue)], otciu_UnicodeHelper$Range, 0, jl_Object, [], 0, 3, 0, 0, 0, jnc_CoderMalfunctionError, "CoderMalfunctionError", 7, jl_Error, [], 0, 3, 0, 0, 0, ju_NoSuchElementException, "NoSuchElementException", 4, jl_RuntimeException, [], 0, 3, 0, 0, 0, otci_Base64Impl, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_GuiOptions, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiOptions_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiOptions_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiOptions_drawScreen)], nms_GuiSelectWorld, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiSelectWorld_initGui), "$initGui2", $rt_wrapFunction0(nms_GuiSelectWorld_initGui2), "$actionPerformed", $rt_wrapFunction1(nms_GuiSelectWorld_actionPerformed), "$selectWorld", $rt_wrapFunction1(nms_GuiSelectWorld_selectWorld), "$drawScreen", $rt_wrapFunction3(nms_GuiSelectWorld_drawScreen)], nms_Chunk, 0, jl_Object, [], 0, 3, 0, 0, 0]); $rt_metadata([ju_HashSet, 0, ju_AbstractSet, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, ["$add", $rt_wrapFunction1(ju_HashSet_add), "$contains", $rt_wrapFunction1(ju_HashSet_contains), "$iterator", $rt_wrapFunction0(ju_HashSet_iterator), "$size0", $rt_wrapFunction0(ju_HashSet_size)], nms_ChunkCache, 0, jl_Object, [nms_IBlockAccess], 0, 3, 0, 0, ["$getBlockId", $rt_wrapFunction3(nms_ChunkCache_getBlockId), "$getLightBrightness", $rt_wrapFunction3(nms_ChunkCache_getLightBrightness), "$getBlockMetadata", $rt_wrapFunction3(nms_ChunkCache_getBlockMetadata), "$getBlockMaterial", $rt_wrapFunction3(nms_ChunkCache_getBlockMaterial), "$isBlockOpaqueCube", $rt_wrapFunction3(nms_ChunkCache_isBlockOpaqueCube), "$func_4075_a", $rt_wrapFunction0(nms_ChunkCache_func_4075_a)], nms_MinecraftError, "MinecraftError", 12, jl_Error, [], 0, 3, 0, 0, 0, nms_WorldChunkManager, 0, jl_Object, [], 0, 3, 0, 0, ["$func_4074_a", $rt_wrapFunction1(nms_WorldChunkManager_func_4074_a), "$func_4073_a", $rt_wrapFunction2(nms_WorldChunkManager_func_4073_a), "$func_4072_b", $rt_wrapFunction2(nms_WorldChunkManager_func_4072_b), "$func_4069_a", $rt_wrapFunction4(nms_WorldChunkManager_func_4069_a), "$getTemperatures", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManager_getTemperatures(this, var_1, var_2, var_3, var_4, var_5); }, "$loadBlockGeneratorData", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManager_loadBlockGeneratorData(this, var_1, var_2, var_3, var_4, var_5); }], nms_ColorizerGrass, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ColorizerFoliage, 0, jl_Object, [], 0, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$14$1, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$14$1_onTimer$exported$0)], jur_AbstractCharClass$1, "AbstractCharClass$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$1_contains)], jur_AbstractCharClass$2, "AbstractCharClass$2", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$2_contains)], jur_CharClass$18, "CharClass$18", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$18_contains), "$toString", $rt_wrapFunction0(jur_CharClass$18_toString)], jur_CharClass$1, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$1_contains)], jur_CharClass$3, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$3_contains)], jur_CharClass$2, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$2_contains)], jur_CharClass$5, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$5_contains)], jur_CharClass$4, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$4_contains)], jur_CharClass$7, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$7_contains)], jur_CharClass$6, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$6_contains)], jur_CharClass$9, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$9_contains)], jur_CharClass$8, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$8_contains)], jur_CharClass$11, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$11_contains)], jur_CharClass$10, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$10_contains)], jur_CharClass$13, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$13_contains)], jur_CharClass$12, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$12_contains)], jur_CharClass$15, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$15_contains)], jur_CharClass$14, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$14_contains)], jur_CharClass$17, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$17_contains)], jur_CharClass$16, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_CharClass$16_contains)], ju_ConcurrentModificationException, "ConcurrentModificationException", 4, jl_RuntimeException, [], 0, 3, 0, 0, 0, jl_AbstractStringBuilder$Constants, 0, jl_Object, [], 0, 0, 0, 0, 0, otcit_DoubleAnalyzer, 0, jl_Object, [], 4, 3, 0, 0, 0, otcit_DoubleAnalyzer$Result, 0, jl_Object, [], 0, 3, 0, 0, 0, otcit_FloatAnalyzer$Result, 0, jl_Object, [], 0, 3, 0, 0, 0, jl_Long, 0, jl_Number, [jl_Comparable], 0, 3, 0, 0, 0, nms_TileEntityFurnace, "TileEntityFurnace", 12, nms_TileEntity, [nms_IInventory], 0, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_TileEntityFurnace_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityFurnace_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityFurnace_setInventorySlotContents), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityFurnace_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityFurnace_writeToNBT), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityFurnace_getInventoryStackLimit), "$updateEntity", $rt_wrapFunction0(nms_TileEntityFurnace_updateEntity)], nms_TileEntityChest, "TileEntityChest", 12, nms_TileEntity, [nms_IInventory], 0, 3, 0, 0, ["$getSizeInventory", $rt_wrapFunction0(nms_TileEntityChest_getSizeInventory), "$getStackInSlot", $rt_wrapFunction1(nms_TileEntityChest_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityChest_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityChest_setInventorySlotContents), "$getInvName", $rt_wrapFunction0(nms_TileEntityChest_getInvName), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityChest_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityChest_writeToNBT), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityChest_getInventoryStackLimit)], jur_BackReferencedSingleSet, 0, jur_SingleSet, [], 0, 0, 0, 0, ["$find0", $rt_wrapFunction3(jur_BackReferencedSingleSet_find), "$findBack", $rt_wrapFunction4(jur_BackReferencedSingleSet_findBack), "$processBackRefReplacement", $rt_wrapFunction0(jur_BackReferencedSingleSet_processBackRefReplacement)], jnci_BufferedEncoder$Controller, 0, jl_Object, [], 0, 3, 0, 0, 0, jnc_BufferUnderflowException, "BufferUnderflowException", 7, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnc_BufferOverflowException, "BufferOverflowException", 7, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnc_MalformedInputException, "MalformedInputException", 7, jnc_CharacterCodingException, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jnc_MalformedInputException_getMessage)], jnc_UnmappableCharacterException, "UnmappableCharacterException", 7, jnc_CharacterCodingException, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jnc_UnmappableCharacterException_getMessage)], nms_GuiSlider, 0, nms_GuiButton, [], 0, 3, 0, 0, ["$getHoverState", $rt_wrapFunction1(nms_GuiSlider_getHoverState), "$mouseDragged", $rt_wrapFunction3(nms_GuiSlider_mouseDragged), "$mousePressed", $rt_wrapFunction3(nms_GuiSlider_mousePressed), "$mouseReleased", $rt_wrapFunction2(nms_GuiSlider_mouseReleased)], nms_GuiSmallButton, 0, nms_GuiButton, [], 0, 3, 0, 0, 0, nms_GuiControls, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiControls_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiControls_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiControls_keyTyped), "$drawScreen", $rt_wrapFunction3(nms_GuiControls_drawScreen)], nms_GuiDeleteWorld, 0, nms_GuiSelectWorld, [], 0, 3, 0, 0, ["$initGui2", $rt_wrapFunction0(nms_GuiDeleteWorld_initGui2), "$selectWorld", $rt_wrapFunction1(nms_GuiDeleteWorld_selectWorld)], ju_Objects, 0, jl_Object, [], 4, 3, 0, 0, 0, jur_MatchResult, 0, jl_Object, [], 3, 3, 0, 0, 0, jur_Matcher, 0, jl_Object, [jur_MatchResult], 4, 3, 0, 0, 0, nms_NBTBase, 0, jl_Object, [], 1, 3, 0, 0, 0, nms_NBTTagCompound, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagCompound_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagCompound_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagCompound_getType)]]); $rt_metadata([nms_NBTTagEnd, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$readTagContents", $rt_wrapFunction1(nms_NBTTagEnd_readTagContents), "$writeTagContents", $rt_wrapFunction1(nms_NBTTagEnd_writeTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagEnd_getType)], nms_NBTTagByte, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagByte_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagByte_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagByte_getType)], nms_NBTTagShort, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagShort_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagShort_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagShort_getType)], nms_NBTTagInt, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagInt_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagInt_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagInt_getType)], nms_NBTTagLong, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagLong_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagLong_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagLong_getType)], nms_NBTTagFloat, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagFloat_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagFloat_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagFloat_getType)], nms_NBTTagDouble, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagDouble_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagDouble_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagDouble_getType)], nms_NBTTagByteArray, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagByteArray_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagByteArray_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagByteArray_getType)], nms_NBTTagString, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagString_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagString_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagString_getType)], nms_NBTTagList, 0, nms_NBTBase, [], 0, 3, 0, 0, ["$writeTagContents", $rt_wrapFunction1(nms_NBTTagList_writeTagContents), "$readTagContents", $rt_wrapFunction1(nms_NBTTagList_readTagContents), "$getType0", $rt_wrapFunction0(nms_NBTTagList_getType)], jnci_BufferedDecoder$Controller, 0, jl_Object, [], 0, 3, 0, 0, 0, jur_AbstractCharClass$LazyJavaLowerCase$1, "AbstractCharClass$LazyJavaLowerCase$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaLowerCase$1_contains)], jur_AbstractCharClass$LazyJavaUpperCase$1, "AbstractCharClass$LazyJavaUpperCase$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaUpperCase$1_contains)], jur_AbstractCharClass$LazyJavaWhitespace$1, "AbstractCharClass$LazyJavaWhitespace$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaWhitespace$1_contains)], jur_AbstractCharClass$LazyJavaMirrored$1, "AbstractCharClass$LazyJavaMirrored$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaMirrored$1_contains)], jur_AbstractCharClass$LazyJavaDefined$1, "AbstractCharClass$LazyJavaDefined$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaDefined$1_contains)], jur_AbstractCharClass$LazyJavaDigit$1, "AbstractCharClass$LazyJavaDigit$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaDigit$1_contains)], jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1, "AbstractCharClass$LazyJavaIdentifierIgnorable$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1_contains)], jur_AbstractCharClass$LazyJavaISOControl$1, "AbstractCharClass$LazyJavaISOControl$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaISOControl$1_contains)], jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1, "AbstractCharClass$LazyJavaJavaIdentifierPart$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1_contains)], jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1, "AbstractCharClass$LazyJavaJavaIdentifierStart$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1_contains)], jur_AbstractCharClass$LazyJavaLetter$1, "AbstractCharClass$LazyJavaLetter$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaLetter$1_contains)], jur_AbstractCharClass$LazyJavaLetterOrDigit$1, "AbstractCharClass$LazyJavaLetterOrDigit$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaLetterOrDigit$1_contains)], jur_AbstractCharClass$LazyJavaSpaceChar$1, "AbstractCharClass$LazyJavaSpaceChar$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaSpaceChar$1_contains)], jur_AbstractCharClass$LazyJavaTitleCase$1, "AbstractCharClass$LazyJavaTitleCase$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaTitleCase$1_contains)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1, "AbstractCharClass$LazyJavaUnicodeIdentifierPart$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1_contains)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1, "AbstractCharClass$LazyJavaUnicodeIdentifierStart$1", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1_contains)], jur_UnicodeCategory, "UnicodeCategory", 5, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_UnicodeCategory_contains)], jur_UnicodeCategoryScope, "UnicodeCategoryScope", 5, jur_UnicodeCategory, [], 0, 0, 0, 0, ["$contains1", $rt_wrapFunction1(jur_UnicodeCategoryScope_contains)], nms_PlayerControllerSP, 0, nms_PlayerController, [], 0, 3, 0, 0, 0, nms_GuiYesNo, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiYesNo_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiYesNo_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiYesNo_drawScreen)], jur_MatchResultImpl, 0, jl_Object, [jur_MatchResult], 0, 0, 0, 0, 0, ju_HashMap$1, 0, ju_AbstractSet, [], 0, 0, 0, 0, 0, jl_Boolean, 0, jl_Object, [ji_Serializable, jl_Comparable], 0, 3, 0, 0, ["$hashCode0", $rt_wrapFunction0(jl_Boolean_hashCode)], nms_EnumArt, "EnumArt", 12, jl_Enum, [], 12, 3, 0, nms_EnumArt_$callClinit, 0, ju_SequencedSet, 0, jl_Object, [ju_SequencedCollection, ju_Set], 3, 3, 0, 0, 0, ju_SortedSet, 0, jl_Object, [ju_Set, ju_SequencedSet], 3, 3, 0, 0, 0, ju_NavigableSet, 0, jl_Object, [ju_SortedSet], 3, 3, 0, 0, 0, ju_TreeSet, 0, ju_AbstractSet, [ju_NavigableSet], 0, 3, 0, 0, 0, nms_WorldProviderHell, 0, nms_WorldProvider, [], 0, 3, 0, 0, ["$registerWorldChunkManager", $rt_wrapFunction0(nms_WorldProviderHell_registerWorldChunkManager), "$func_4096_a", $rt_wrapFunction2(nms_WorldProviderHell_func_4096_a), "$generateLightBrightnessTable", $rt_wrapFunction0(nms_WorldProviderHell_generateLightBrightnessTable), "$getChunkProvider", $rt_wrapFunction0(nms_WorldProviderHell_getChunkProvider), "$getChunkLoader", $rt_wrapFunction1(nms_WorldProviderHell_getChunkLoader), "$canCoordinateBeSpawn", $rt_wrapFunction2(nms_WorldProviderHell_canCoordinateBeSpawn), "$calculateCelestialAngle", $rt_wrapFunction2(nms_WorldProviderHell_calculateCelestialAngle), "$func_6477_d", $rt_wrapFunction0(nms_WorldProviderHell_func_6477_d)], ju_SequencedMap, 0, jl_Object, [ju_Map], 3, 3, 0, 0, 0, ju_SortedMap, 0, jl_Object, [ju_SequencedMap], 3, 3, 0, 0, 0, ju_NavigableMap, 0, jl_Object, [ju_SortedMap], 3, 3, 0, 0, 0, ju_TreeMap, 0, ju_AbstractMap, [jl_Cloneable, ji_Serializable, ju_NavigableMap], 0, 3, 0, 0, 0, ju_HashMap$KeyIterator, 0, ju_HashMap$AbstractMapIterator, [ju_Iterator], 0, 0, 0, 0, ["$next0", $rt_wrapFunction0(ju_HashMap$KeyIterator_next)], nms_InventoryLargeChest, 0, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getSizeInventory", $rt_wrapFunction0(nms_InventoryLargeChest_getSizeInventory), "$getInvName", $rt_wrapFunction0(nms_InventoryLargeChest_getInvName), "$getStackInSlot", $rt_wrapFunction1(nms_InventoryLargeChest_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryLargeChest_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryLargeChest_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryLargeChest_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryLargeChest_onInventoryChanged)], nms_NextTickListEntry, 0, jl_Object, [jl_Comparable], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_NextTickListEntry_equals), "$hashCode0", $rt_wrapFunction0(nms_NextTickListEntry_hashCode), "$compareTo1", $rt_wrapFunction1(nms_NextTickListEntry_compareTo)], nms_MetadataChunkBlock, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_SpawnerAnimals, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_IChunkProvider, 0, jl_Object, [], 3, 3, 0, 0, 0]); $rt_metadata([nms_ChunkProviderLoadOrGenerate, 0, jl_Object, [nms_IChunkProvider], 0, 3, 0, 0, 0, nms_MobSpawnerBase, 0, jl_Object, [], 0, 3, 0, nms_MobSpawnerBase_$callClinit, ["$initBiomeMonsters", $rt_wrapFunction0(nms_MobSpawnerBase_initBiomeMonsters), "$initBiomeCreatures", $rt_wrapFunction0(nms_MobSpawnerBase_initBiomeCreatures)], nms_ChunkCoordIntPair, 0, jl_Object, [], 0, 3, 0, 0, ["$hashCode0", $rt_wrapFunction0(nms_ChunkCoordIntPair_hashCode), "$equals", $rt_wrapFunction1(nms_ChunkCoordIntPair_equals)], nms_EnumCreatureType, "EnumCreatureType", 12, jl_Enum, [], 12, 3, 0, nms_EnumCreatureType_$callClinit, 0, nms_ChunkPosition, 0, jl_Object, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_ChunkPosition_equals), "$hashCode0", $rt_wrapFunction0(nms_ChunkPosition_hashCode)], ji_BufferedOutputStream, 0, ji_FilterOutputStream, [], 0, 3, 0, 0, ["$flush", $rt_wrapFunction0(ji_BufferedOutputStream_flush), "$write0", $rt_wrapFunction3(ji_BufferedOutputStream_write), "$close", $rt_wrapFunction0(ji_BufferedOutputStream_close), "$write3", $rt_wrapFunction1(ji_BufferedOutputStream_write0)], nlea_EaglerAdapterImpl2$FileEntry, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityPigZombie, "EntityPigZombie", 12, nms_EntityZombie, [], 0, 3, 0, nms_EntityPigZombie_$callClinit, ["$onUpdate", $rt_wrapFunction0(nms_EntityPigZombie_onUpdate), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityPigZombie_getCanSpawnHere), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPigZombie_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPigZombie_readEntityFromNBT), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityPigZombie_findPlayerToAttack), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityPigZombie_onLivingUpdate), "$canAttackEntity", $rt_wrapFunction2(nms_EntityPigZombie_canAttackEntity), "$getLivingSound", $rt_wrapFunction0(nms_EntityPigZombie_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityPigZombie_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityPigZombie_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityPigZombie_getDropItemId), "$getHeldItem", $rt_wrapFunction0(nms_EntityPigZombie_getHeldItem)], nms_NibbleArray, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_MobSpawnerSwamp, 0, nms_MobSpawnerBase, [], 0, 3, 0, 0, 0, nms_MobSpawnerDesert, 0, nms_MobSpawnerBase, [], 0, 3, 0, 0, 0, nms_MobSpawnerHell, 0, nms_MobSpawnerBase, [], 0, 3, 0, 0, ["$initBiomeMonsters", $rt_wrapFunction0(nms_MobSpawnerHell_initBiomeMonsters), "$initBiomeCreatures", $rt_wrapFunction0(nms_MobSpawnerHell_initBiomeCreatures)], nleat_IndexedDBFilesystem$AsyncHandlers$5, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$5_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$6, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$6_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$11, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$11_handleEvent$exported$0)], nleat_IndexedDBFilesystem$AsyncHandlers$12, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleat_IndexedDBFilesystem$AsyncHandlers$12_handleEvent$exported$0)], jl_ArrayIndexOutOfBoundsException, "ArrayIndexOutOfBoundsException", 9, jl_IndexOutOfBoundsException, [], 0, 3, 0, 0, 0, nms_EnumSkyBlock, 0, jl_Enum, [], 12, 3, 0, nms_EnumSkyBlock_$callClinit, 0, nms_WorldChunkManagerHell, 0, nms_WorldChunkManager, [], 0, 3, 0, 0, ["$func_4074_a", $rt_wrapFunction1(nms_WorldChunkManagerHell_func_4074_a), "$func_4073_a", $rt_wrapFunction2(nms_WorldChunkManagerHell_func_4073_a), "$func_4072_b", $rt_wrapFunction2(nms_WorldChunkManagerHell_func_4072_b), "$func_4069_a", $rt_wrapFunction4(nms_WorldChunkManagerHell_func_4069_a), "$getTemperatures", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManagerHell_getTemperatures(this, var_1, var_2, var_3, var_4, var_5); }, "$loadBlockGeneratorData", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManagerHell_loadBlockGeneratorData(this, var_1, var_2, var_3, var_4, var_5); }], nms_GuiChest, 0, nms_GuiContainer, [], 0, 3, 0, 0, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction0(nms_GuiChest_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction1(nms_GuiChest_drawGuiContainerBackgroundLayer)], nms_GuiCrafting, 0, nms_GuiContainer, [], 0, 3, 0, 0, ["$onGuiClosed", $rt_wrapFunction0(nms_GuiCrafting_onGuiClosed), "$drawGuiContainerForegroundLayer", $rt_wrapFunction0(nms_GuiCrafting_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction1(nms_GuiCrafting_drawGuiContainerBackgroundLayer)], nms_GuiFurnace, 0, nms_GuiContainer, [], 0, 3, 0, 0, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction0(nms_GuiFurnace_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction1(nms_GuiFurnace_drawGuiContainerBackgroundLayer)], nms_EntityList, 0, jl_Object, [], 0, 3, 0, nms_EntityList_$callClinit, 0, nms_WorldGenerator, 0, jl_Object, [], 1, 3, 0, 0, ["$func_517_a", $rt_wrapFunction3(nms_WorldGenerator_func_517_a)], nms_WorldGenTrees, 0, nms_WorldGenerator, [], 0, 3, 0, 0, ["$generate", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldGenTrees_generate(this, var_1, var_2, var_3, var_4, var_5); }], nms_WorldGenBigTree, 0, nms_WorldGenerator, [], 0, 3, 0, 0, ["$func_517_a", $rt_wrapFunction3(nms_WorldGenBigTree_func_517_a), "$generate", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldGenBigTree_generate(this, var_1, var_2, var_3, var_4, var_5); }], nms_RedstoneUpdateInfo, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_IChunkLoader, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_ChunkLoader, 0, jl_Object, [nms_IChunkLoader], 0, 3, 0, 0, 0, nms_ChunkProviderGenerate, 0, jl_Object, [nms_IChunkProvider], 0, 3, 0, 0, ["$provideChunk", $rt_wrapFunction2(nms_ChunkProviderGenerate_provideChunk), "$populate", $rt_wrapFunction3(nms_ChunkProviderGenerate_populate), "$func_532_a", $rt_wrapFunction0(nms_ChunkProviderGenerate_func_532_a)], nms_ChunkProviderHell, 0, jl_Object, [nms_IChunkProvider], 0, 3, 0, 0, ["$provideChunk", $rt_wrapFunction2(nms_ChunkProviderHell_provideChunk), "$populate", $rt_wrapFunction3(nms_ChunkProviderHell_populate), "$func_532_a", $rt_wrapFunction0(nms_ChunkProviderHell_func_532_a)], nms_MinecartTrackLogic, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_EntityBubbleFX, "EntityBubbleFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityBubbleFX_onUpdate)], nms_EntitySmokeFX, "EntitySmokeFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntitySmokeFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntitySmokeFX_onUpdate)], nms_EntityPortalFX, "EntityPortalFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityPortalFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getEntityBrightness", $rt_wrapFunction1(nms_EntityPortalFX_getEntityBrightness), "$onUpdate", $rt_wrapFunction0(nms_EntityPortalFX_onUpdate)], nms_EntityExplodeFX, "EntityExplodeFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityExplodeFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityExplodeFX_onUpdate)], nms_EntityFlameFX, "EntityFlameFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFlameFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getEntityBrightness", $rt_wrapFunction1(nms_EntityFlameFX_getEntityBrightness), "$onUpdate", $rt_wrapFunction0(nms_EntityFlameFX_onUpdate)], nms_EntityLavaFX, "EntityLavaFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$getEntityBrightness", $rt_wrapFunction1(nms_EntityLavaFX_getEntityBrightness), "$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityLavaFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityLavaFX_onUpdate)], nms_EntitySplashFX, "EntitySplashFX", 12, nms_EntityRainFX, [], 0, 3, 0, 0, 0, nms_EntityReddustFX, "EntityReddustFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityReddustFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityReddustFX_onUpdate)], nms_EntitySlimeFX, "EntitySlimeFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_404_c", $rt_wrapFunction0(nms_EntitySlimeFX_func_404_c), "$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntitySlimeFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_NoiseGenerator, 0, jl_Object, [], 1, 3, 0, 0, 0, nms_NoiseGeneratorOctaves2, 0, nms_NoiseGenerator, [], 0, 3, 0, 0, 0, nms_CraftingInventoryWorkbenchCB, 0, nms_CraftingInventoryCB, [], 0, 3, 0, 0, ["$onCraftMatrixChanged", $rt_wrapFunction1(nms_CraftingInventoryWorkbenchCB_onCraftMatrixChanged)], nms_MapGenBase, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_MapGenCaves, 0, nms_MapGenBase, [], 0, 3, 0, 0, ["$func_868_a", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_MapGenCaves_func_868_a(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_NoiseGeneratorOctaves, 0, nms_NoiseGenerator, [], 0, 3, 0, 0, 0, nms_MapGenCavesHell, 0, nms_MapGenBase, [], 0, 3, 0, 0, ["$func_868_a", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_MapGenCavesHell_func_868_a(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_NoiseGenerator2, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_NoiseGeneratorPerlin, 0, nms_NoiseGenerator, [], 0, 3, 0, 0, 0]); $rt_metadata([nms_Teleporter, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_AbstractMap$SimpleEntry, 0, jl_Object, [ju_Map$Entry, ji_Serializable], 0, 3, 0, 0, 0, ju_TreeMap$TreeNode, 0, ju_AbstractMap$SimpleEntry, [], 0, 0, 0, 0, 0, jur_IntArrHash, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_GuiEditSign, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiEditSign_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiEditSign_onGuiClosed), "$updateScreen", $rt_wrapFunction0(nms_GuiEditSign_updateScreen), "$actionPerformed", $rt_wrapFunction1(nms_GuiEditSign_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiEditSign_keyTyped), "$drawScreen", $rt_wrapFunction3(nms_GuiEditSign_drawScreen)], nms_WorldGenLakes, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenDungeons, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenClay, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenMinable, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenFlowers, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenReed, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenPumpkin, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenCactus, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenLiquids, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenHellLava, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenFire, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenLightStone1, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenLightStone2, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, juf_DoubleSupplier, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_Random$nextGaussian$lambda$_9_0, 0, jl_Object, [juf_DoubleSupplier], 0, 3, 0, 0, 0, otci_RandomUtils, 0, jl_Object, [], 0, 3, 0, 0, 0, jl_StrictMath, 0, jl_Object, [], 4, 3, 0, 0, 0, jl_ReflectiveOperationException, 0, jl_Exception, [], 0, 3, 0, 0, 0, jl_InstantiationException, "InstantiationException", 9, jl_ReflectiveOperationException, [], 0, 3, 0, 0, 0, nms_Explosion, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_PathEntity, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_Pathfinder, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityPickupFX, "EntityPickupFX", 12, nms_EntityFX, [], 0, 3, 0, 0, ["$func_406_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityPickupFX_func_406_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityPickupFX_onUpdate), "$func_404_c", $rt_wrapFunction0(nms_EntityPickupFX_func_404_c)], nms_Path, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_MCHashTable, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_PathPoint, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_HashEntry, 0, jl_Object, [], 0, 0, 0, 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 = $rt_globals.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 -------- ", "Player", "g", "p", "", "position:relative;", "Native Browser Exception\n", "----------------------------------\n", " Line: ", " Type: ", " Message: ", "----------------------------------\n\n", "interface ", "class ", "/", ": ", "\tat ", "Caused by: ", "null", "Patter is null", "String is null", "String is empty", "String contains invalid digits: ", "String contains digits out of radix ", "The value is too big for int type: ", "Illegal radix: ", "false", "true", "#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", "keyup", "_eaglercraft_beta.", "Input array too big, the output array would be bigger (", ") than the specified maximum size of ", "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", "object", "function", "string", "number", "undefined", "Timer hack thread", "/font/default.png", "Pre startup", "Startup", "/gui/items.png", "Post startup", "/title/mojang.png", "GL_INVALID_ENUM", "GL_INVALID_VALUE", "GL_INVALID_OPERATION", "GL_OUT_OF_MEMORY", "Unknown Error", "CONTEXT_LOST_WEBGL", "########## GL ERROR ##########", "@ ", "Pre render", "Post render", " fps, ", " chunk updates", "random.fizz", "/terrain.png", "Leaving the Nether", "Entering the Nether", "Player is ", "Player is now ", "Building terrain", "Simulating world for a bit", "C: ", ". F: ", ", O: ", ", E: ", "E: ", ". B: ", ", I: ", "All: ", "P: ", ". T: ", "_net_lax1dude_eaglercraft_beta_IndexedDBFilesystem_1_3", "Initialization Failed", "Can\'t compare ", " to ", "OPENED", "LOCKED", "ERROR", "EAGPKG!!", "invalid epk file", "", " end", "invalid file hash for ", "", "Index out of bounds", "/gui/background.png", "/misc/water.png", "main", "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", "End of stream reached", "Malformed UTF-8 sequence", "window.indexedDB was null or undefined", "charsetName is null", "Should never been thrown", "Stream closed", "footer is not found", "Unexpected end of ZLIB input stream", "Index ", " is outside of range [0;", "Slot ", " is already occupied by ", " when adding ", "stone", "wood", "gravel", "grass", "cloth", "sand", "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.", "en", "CA", "fr", "zh", "CN", "FR", "de", "DE", "it", "IT", "ja", "JP", "ko", "KR", "TW", "GB", "US", "yee", "New position ", "New limit ", "Offset ", "The last float in dst ", " is outside of array of size ", "Length ", " must be non-negative", "open error", "path", "step.", "/misc/grasscolor.png", "liquid.water", "lava", "largesmoke", "/misc/foliagecolor.png", "random.fuse", "smoke", "flame", "fire.fire", "Large chest", "reddust", "Duplicate id: ", "x", "y", "z", "id", " is missing a mapping! This is a bug!", "Furnace", "Chest", "Sign", "MobSpawner", "Text1", "Text2", "Text3", "Text4", "Text", "random.door_close", "random.door_open", "random.click", "everything", "mobs", "players", ", ", "portal.portal", "portal", "CONFLICT @ ", "13", "cat", "UTF-16", "UTF-16BE", "UTF-16LE", "Capacity is negative: ", "The last byte in dst ", "The last byte in src ", "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 ", "Start ", "The last char in src ", " is outside of string of size ", " must be before end ", "fire.ignite", "random.bow", "Edit sign message:", "001", "US-ASCII", "ISO-8859-1", "STRICT", "LENIANT", "BIG_ENDIAN", "LITTLE_ENDIAN", "GMT", "Default", "Forward", "Left", "Back", "Right", "Jump", "Inventory", "Drop", "Chat", "Toggle fog", "Sneak", "OFF", "Music: ", "Sound: ", "ON", "Invert mouse: ", "Sensitivity: *yawn*", "Sensitivity: HYPERSPEED!!!", "Sensitivity: ", "Render distance: ", "View bobbing: ", "3d anaglyph: ", "Limit framerate: ", "Difficulty: ", "FAST", "FANCY", "Graphics: ", "options.txt", "Failed to load options", ":", "music", "sound", "mouseSensitivity", "invertYMouse", "viewDistance", "bobView", "anaglyph3d", "limitFramerate", "difficulty", "fancyGraphics", "skin", "lastServer", "key_", "music:", "sound:", "invertYMouse:", "mouseSensitivity:", "viewDistance:", "bobView:", "anaglyph3d:", "limitFramerate:", "difficulty:", "fancyGraphics:", "skin:", "FAR", "NORMAL", "SHORT", "TINY", "Peaceful", "Easy", "Normal", "Hard", "saves/", "/level.dat", "Data", "/session.lock", "Failed to check session lock, aborting", "RandomSeed", "SpawnX", "SpawnY", "SpawnZ", "Time", "SizeOnDisk", "Dimension", "Saving chunks", "LastPlayed", "/level.dat_new", "/level.dat_old", "C418 - ", "Now playing: ", "Player count: ", "TickNextTick list out of synch", "ambient.cave.cave", "The save is being accessed from another location, aborting", "Back to title screen", "Level save conflict", "Minecraft detected a conflict in the level save data.", "This could be caused by two copies of the game", "accessing the same level.", "To prevent level corruption, the current game has quit.", "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", "humanoid", "/mob/char.png", "http://www.minecraft.net/skin/", ".png", "Loading texture ", "Wrong number of repetitions of X pattern at ", "IGNORE", "REPLACE", "REPORT", "Action must be non-null", "%%", "%blur%", "terrain", "!!", "0123456789abcdef", "/terrain/sun.png", "/terrain/moon.png", "/environment/clouds.png", "bubble", "explode", "splash", "snowballpoof", "slime", "/particles.png", "/gui/gui.png", "/gui/icons.png", "Minecraft Alpha v1.2.6 (", "Used memory: ", "% (", "MB) of ", "MB", "Allocated memory: ", "MB)", "x: ", "y: ", "z: ", "Minecraft Alpha v1.2.6", "%blur%/misc/pumpkinblur.png", "%blur%/misc/vignette.png", " * * * * * *** *** *** *** *** ***", " ** ** * ** * * * * * * * * * ", " * * * * * * * ** * ** *** ** * ", " * * * * ** * * * * * * * * ", " * * * * * *** *** * * * * * * ", "missingno", "/title/splashes.txt", "Happy birthday, ez!", "Happy birthday, Notch!", "Merry X-mas!", "Happy new year!", "Singleplayer", "Multiplayer", "Mods and Texture Packs", "Options...", "/gui/logo.png", "Copyright Mojang Specifications. Do not distribute.", "/title/black.png", "mousedown", "wheel", "random.splash", "Pos", "MotionX", "MotionY", "MotionZ", "Rotation", "FallDistance", "Fire", "Air", "OnGround", "random.hurt", "Health", "HurtTime", "DeathTime", "AttackTime", "Notch", "Slot", "Score", "Crafting", "/gui/inventory.png", "Respawn", "Title menu", "Respawning", "Game over!", "Score: &e", "invalid stored block lengths", "invalid block type", "too many length or distance symbols", "invalid bit length repeat", "Replacement preconditions do not hold", "newAction must be non-null", "/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", "Count", "Damage", "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", "%%/misc/shadow.png", "/mob/spider.png", "mob.spider", "mob.spiderdeath", "/mob/spider_eyes.png", "/mob/pig.png", "Saddle", "mob.pig", "mob.pigdeath", "/mob/saddle.png", "/mob/sheep.png", "Sheared", "mob.sheep", "/mob/sheep_fur.png", "/mob/cow.png", "mob.cow", "mob.cowhurt", "/mob/chicken.png", "mob.chickenplop", "mob.chicken", "mob.chickenhurt", "/mob/creeper.png", "mob.creeper", "mob.creeperdeath", "/mob/skeleton.png", "mob.skeleton", "mob.skeletonhurt", "/mob/zombie.png", "mob.zombie", "mob.zombiehurt", "mob.zombiedeath", "/mob/slime.png", "Size", "mob.slime", "mob.slimeattack", "/armor/", "chain", "iron", "diamond", "gold", "/mob/ghast.png", "/mob/ghast_fire.png", "mob.ghast.charge", "mob.ghast.fireball", "mob.ghast.moan", "mob.ghast.scream", "mob.ghast.death", "Dir", "Motive", "TileX", "TileY", "TileZ", "/art/kz.png", "random.drr", "xTile", "yTile", "zTile", "inTile", "shake", "inGround", "random.pop", "/item/arrows.png", "Age", "Item", "Fuse", "Tile", "Type", "PushX", "PushZ", "Fuel", "Items", "Minecart", "/item/cart.png", "/item/boat.png", "array size does not equal image size", "�", "averageCharsPerByte must be positive. Actual value is ", "maxCharsPerByte must be positive. Actual value is ", "Save and quit to title", "Back to game", "Saving level..", "Game menu", "###", "#", "#X#", "XXX", "##", "X#X", "# #", " X ", " # ", "X X", "A ", " B", "# ", "## ", " #", " #X", "# X", " recipes", "XX", "X#", " #", "Writer already closed", "UTF Error", "/item/sign.png", "> ", " <", "Pig", "EntityId", "Delay", "Is", "In", "FILE", "DIRECTORY", "FALSE", "Lower", "Upper", "ASCII", "Alpha", "Digit", "Alnum", "Punct", "Graph", "Print", "Blank", "Cntrl", "XDigit", "javaLowerCase", "javaUpperCase", "javaWhitespace", "javaMirrored", "javaDefined", "javaDigit", "javaIdentifierIgnorable", "javaISOControl", "javaJavaIdentifierPart", "javaJavaIdentifierStart", "javaLetter", "javaLetterOrDigit", "javaSpaceChar", "javaTitleCase", "javaUnicodeIdentifierPart", "javaUnicodeIdentifierStart", "Space", "w", "s", "d", "BasicLatin", "Latin-1Supplement", "LatinExtended-A", "LatinExtended-B", "IPAExtensions", "SpacingModifierLetters", "CombiningDiacriticalMarks", "Greek", "Cyrillic", "CyrillicSupplement", "Armenian", "Hebrew", "Arabic", "Syriac", "ArabicSupplement", "Thaana", "Devanagari", "Bengali", "Gurmukhi", "Gujarati", "Oriya", "Tamil", "Telugu", "Kannada", "Malayalam", "Sinhala", "Thai", "Lao", "Tibetan", "Myanmar", "Georgian", "HangulJamo", "Ethiopic", "EthiopicSupplement", "Cherokee", "UnifiedCanadianAboriginalSyllabics", "Ogham", "Runic", "Tagalog", "Hanunoo", "Buhid", "Tagbanwa", "Khmer", "Mongolian", "Limbu", "TaiLe", "NewTaiLue", "KhmerSymbols", "Buginese", "PhoneticExtensions", "PhoneticExtensionsSupplement", "CombiningDiacriticalMarksSupplement", "LatinExtendedAdditional", "GreekExtended", "GeneralPunctuation", "SuperscriptsandSubscripts", "CurrencySymbols", "CombiningMarksforSymbols", "LetterlikeSymbols", "NumberForms", "Arrows", "MathematicalOperators", "MiscellaneousTechnical", "ControlPictures", "OpticalCharacterRecognition", "EnclosedAlphanumerics", "BoxDrawing", "BlockElements", "GeometricShapes", "MiscellaneousSymbols", "Dingbats", "MiscellaneousMathematicalSymbols-A", "SupplementalArrows-A", "BraillePatterns", "SupplementalArrows-B", "MiscellaneousMathematicalSymbols-B", "SupplementalMathematicalOperators", "MiscellaneousSymbolsandArrows", "Glagolitic", "Coptic", "GeorgianSupplement", "Tifinagh", "EthiopicExtended", "SupplementalPunctuation", "CJKRadicalsSupplement", "KangxiRadicals", "IdeographicDescriptionCharacters", "CJKSymbolsandPunctuation", "Hiragana", "Katakana", "Bopomofo", "HangulCompatibilityJamo", "Kanbun", "BopomofoExtended", "CJKStrokes", "KatakanaPhoneticExtensions", "EnclosedCJKLettersandMonths", "CJKCompatibility", "CJKUnifiedIdeographsExtensionA", "YijingHexagramSymbols", "CJKUnifiedIdeographs", "YiSyllables", "YiRadicals", "ModifierToneLetters", "SylotiNagri", "HangulSyllables", "HighSurrogates", "HighPrivateUseSurrogates", "LowSurrogates", "PrivateUseArea", "CJKCompatibilityIdeographs", "AlphabeticPresentationForms", "ArabicPresentationForms-A", "VariationSelectors", "VerticalForms", "CombiningHalfMarks", "CJKCompatibilityForms", "SmallFormVariants", "ArabicPresentationForms-B", "HalfwidthandFullwidthForms", "all", "Specials", "Cn", "IsL", "Lu", "Ll", "Lt", "Lm", "Lo", "IsM", "Mn", "Me", "Mc", "Nd", "Nl", "No", "IsZ", "Zs", "Zl", "Zp", "IsC", "Cc", "Cf", "Co", "Cs", "IsP", "Pd", "Ps", "Pe", "Pc", "Po", "IsS", "Sm", "Sc", "Sk", "So", "Pi", "Pf", "Options", "Controls...", "Done", "Controls", "Select world", "World", "- empty -", "World ", " (", " MB)", "Delete world...", "Cancel", "Delete world", "saves", "Loading level", "Generating level", "Wrong location! ", "Attempted to place a tile entity where there was no entity tile!", "BurnTime", "CookTime", "Malformed input of length ", "Unmappable characters of length ", "\' will be lost forever!", "Are you sure you want to delete this world?", "Empty string not allowed", "Yes", "Kebab", "Aztec", "Alban", "Aztec2", "Bomb", "Plant", "Wasteland", "Pool", "Courbet", "Sea", "Sunset", "Creebet", "Wanderer", "Graham", "Match", "Bust", "Stage", "Void", "SkullAndRoses", "Fighters", "Pointer", "Pigscene", "Skeleton", "DonkeyKong", "/DIM-1/", "Rainforest", "Swampland", "Seasonal Forest", "Forest", "Savanna", "Shrubland", "Taiga", "Desert", "Plains", "Ice Desert", "Tundra", "Hell", "monster", "creature", "buffer is null", "Length out of bounds: ", "Offset out of bounds: ", "/mob/pigzombie.png", "mob.zombiepig.zpigangry", "Anger", "mob.zombiepig.zpig", "mob.zombiepig.zpighurt", "mob.zombiepig.zpigdeath", "Sky", "Block", "/gui/container.png", "/gui/crafting.png", "/gui/furnace.png", "Arrow", "Snowball", "Painting", "Mob", "Monster", "Creeper", "Spider", "Giant", "Zombie", "Slime", "Ghast", "PigZombie", "Sheep", "Cow", "Chicken", "PrimedTnt", "FallingSand", "Boat", "c.", ".dat", "Level", "Chunk file at ", " is missing level data, skipping", "Blocks", " is missing block data, skipping", " is in the wrong location; relocating. (Expected ", ", got ", "xPos", "zPos", "/tmp_chunk.dat", "LastUpdate", "SkyLight", "BlockLight", "HeightMap", "TerrainPopulated", "Entities", "TileEntities", "Skipping Entity with id ", "Skipping TileEntity with id ", "Teleporting to ", " !\"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\'abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»", "random.explode", "OW KNOWS!"]); jl_String.prototype.toString = function() { return $rt_ustr(this); }; jl_String.prototype.valueOf = jl_String.prototype.toString; jl_Object.prototype.toString = function() { return $rt_ustr(jl_Object_toString(this)); }; jl_Object.prototype.__teavm_class__ = function() { return $dbg_class(this); }; var Long_eq; var Long_ne; var Long_gt; var Long_ge; var Long_lt; var Long_le; var Long_compare; var Long_ucompare; var Long_add; var Long_sub; var Long_inc; var Long_dec; var Long_mul; var Long_div; var Long_rem; var Long_udiv; var Long_urem; var Long_neg; var Long_and; var Long_or; var Long_xor; var Long_shl; var Long_shr; var Long_shru; var Long_not; if (typeof $rt_globals.BigInt !== 'function') { Long_eq = function(a, b) { return a.hi === b.hi && a.lo === b.lo; }; Long_ne = function(a, b) { return a.hi !== b.hi || a.lo !== b.lo; }; Long_gt = function(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); }; Long_ge = function(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); }; Long_lt = function(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); }; Long_le = function(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); }; Long_add = function(a, b) { if (a.hi === a.lo >> 31 && b.hi === b.lo >> 31) { return Long_fromNumber(a.lo + b.lo); } else if ($rt_globals.Math.abs(a.hi) < Long_MAX_NORMAL && $rt_globals.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); }; Long_inc = function(a) { var lo = a.lo + 1 | 0; var hi = a.hi; if (lo === 0) { hi = hi + 1 | 0; } return new Long(lo, hi); }; Long_dec = function(a) { var lo = a.lo - 1 | 0; var hi = a.hi; if (lo === -1) { hi = hi - 1 | 0; } return new Long(lo, hi); }; Long_neg = function(a) { return Long_inc(new Long(a.lo ^ 0xFFFFFFFF, a.hi ^ 0xFFFFFFFF)); }; Long_sub = function(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); }; Long_compare = function(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); }; Long_ucompare = function(a, b) { var r = $rt_ucmp(a.hi, b.hi); if (r !== 0) { return r; } r = (a.lo >>> 1) - (b.lo >>> 1); if (r !== 0) { return r; } return (a.lo & 1) - (b.lo & 1); }; Long_mul = function(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); }; Long_div = function(a, b) { if ($rt_globals.Math.abs(a.hi) < Long_MAX_NORMAL && $rt_globals.Math.abs(b.hi) < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) / Long_toNumber(b)); } return (Long_divRem(a, b))[0]; }; Long_udiv = function(a, b) { if (a.hi >= 0 && a.hi < Long_MAX_NORMAL && b.hi >= 0 && b.hi < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) / Long_toNumber(b)); } return (Long_udivRem(a, b))[0]; }; Long_rem = function(a, b) { if ($rt_globals.Math.abs(a.hi) < Long_MAX_NORMAL && $rt_globals.Math.abs(b.hi) < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) % Long_toNumber(b)); } return (Long_divRem(a, b))[1]; }; Long_urem = function(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 $rt_globals.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 $rt_globals.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); } Long_and = function(a, b) { return new Long(a.lo & b.lo, a.hi & b.hi); }; Long_or = function(a, b) { return new Long(a.lo | b.lo, a.hi | b.hi); }; Long_xor = function(a, b) { return new Long(a.lo ^ b.lo, a.hi ^ b.hi); }; Long_shl = function(a, b) { b &= 63; if (b === 0) { return a; } else if (b < 32) { return new Long(a.lo << b, a.lo >>> 32 - b | a.hi << b); } else if (b === 32) { return new Long(0, a.lo); } else { return new Long(0, a.lo << b - 32); } }; Long_shr = function(a, b) { b &= 63; if (b === 0) { return a; } else if (b < 32) { return new Long(a.lo >>> b | a.hi << 32 - b, a.hi >> b); } else if (b === 32) { return new Long(a.hi, a.hi >> 31); } else { return new Long(a.hi >> b - 32, a.hi >> 31); } }; Long_shru = function(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); } }; Long_not = function(a) { return new Long(~a.hi, ~a.lo); }; 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; } } else { Long_eq = function(a, b) { return a === b; }; Long_ne = function(a, b) { return a !== b; }; Long_gt = function(a, b) { return a > b; }; Long_ge = function(a, b) { return a >= b; }; Long_lt = function(a, b) { return a < b; }; Long_le = function(a, b) { return a <= b; }; Long_add = function(a, b) { return $rt_globals.BigInt.asIntN(64, a + b); }; Long_inc = function(a) { return $rt_globals.BigInt.asIntN(64, a + 1); }; Long_dec = function(a) { return $rt_globals.BigInt.asIntN(64, a - 1); }; Long_neg = function(a) { return $rt_globals.BigInt.asIntN(64, -a); }; Long_sub = function(a, b) { return $rt_globals.BigInt.asIntN(64, a - b); }; Long_compare = function(a, b) { return a < b ? -1 : a > b ? 1 : 0; }; Long_ucompare = function(a, b) { a = $rt_globals.BigInt.asUintN(64, a); b = $rt_globals.BigInt.asUintN(64, b); return a < b ? -1 : a > b ? 1 : 0; }; Long_mul = function(a, b) { return $rt_globals.BigInt.asIntN(64, a * b); }; Long_div = function(a, b) { return $rt_globals.BigInt.asIntN(64, a / b); }; Long_udiv = function(a, b) { return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt.asUintN(64, a) / $rt_globals.BigInt.asUintN(64, b)); }; Long_rem = function(a, b) { return $rt_globals.BigInt.asIntN(64, a % b); }; Long_urem = function(a, b) { return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt.asUintN(64, a) % $rt_globals.BigInt.asUintN(64, b)); }; Long_and = function(a, b) { return $rt_globals.BigInt.asIntN(64, a & b); }; Long_or = function(a, b) { return $rt_globals.BigInt.asIntN(64, a | b); }; Long_xor = function(a, b) { return $rt_globals.BigInt.asIntN(64, a ^ b); }; Long_shl = function(a, b) { return $rt_globals.BigInt.asIntN(64, a << $rt_globals.BigInt(b & 63)); }; Long_shr = function(a, b) { return $rt_globals.BigInt.asIntN(64, a >> $rt_globals.BigInt(b & 63)); }; Long_shru = function(a, b) { return $rt_globals.BigInt.asIntN(64, $rt_globals.BigInt.asUintN(64, a) >> $rt_globals.BigInt(b & 63)); }; Long_not = function(a) { return $rt_globals.BigInt.asIntN(64, ~a); }; } var Long_add = Long_add; var Long_sub = Long_sub; var Long_mul = Long_mul; var Long_div = Long_div; var Long_rem = Long_rem; var Long_or = Long_or; var Long_and = Long_and; var Long_xor = Long_xor; var Long_shl = Long_shl; var Long_shr = Long_shr; var Long_shru = Long_shru; var Long_compare = Long_compare; var Long_eq = Long_eq; var Long_ne = Long_ne; var Long_lt = Long_lt; var Long_le = Long_le; var Long_gt = Long_gt; var Long_ge = Long_ge; var Long_not = Long_not; var Long_neg = Long_neg; 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 $rt_globals.Error("Thread already started"); } if ($rt_currentNativeThread !== null) { throw new $rt_globals.Error("Another thread is running"); } this.status = 0; this.completeCallback = callback ? callback : function(result) { if (result instanceof $rt_globals.Error) { throw result; } }; this.run(); }; TeaVMThread.prototype.resume = function() { if ($rt_currentNativeThread !== null) { throw new $rt_globals.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 $rt_globals.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 $rt_globals.Error("Invalid recorded state"); } $rt_exports.main = $rt_mainStarter(nle_Client_main); $rt_exports.main.javaException = $rt_javaException; let $rt_jso_marker = $rt_globals.Symbol('jsoClass'); (function() { var c; c = otjb_Window.prototype; c.removeEventListener = c.$removeEventListener$exported$3; c.dispatchEvent = c.$dispatchEvent$exported$4; c.get = c.$get$exported$0; c.addEventListener = c.$addEventListener$exported$6; Object.defineProperty(c, "length", { get: c.$getLength$exported$5 }); c = nlea_EaglerAdapterImpl2$2.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$4.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$5.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$6.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$7.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$8.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$9.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$10.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$11.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = otji_JSWrapper$_clinit_$lambda$_30_0.prototype; c[$rt_jso_marker] = true; c.accept = c.$accept$exported$0; c = otji_JSWrapper$_clinit_$lambda$_30_1.prototype; c[$rt_jso_marker] = true; c.accept = c.$accept$exported$0; c = otja_XMLHttpRequest.prototype; c.removeEventListener = c.$removeEventListener$exported$20; c.dispatchEvent = c.$dispatchEvent$exported$3; c.addEventListener = c.$addEventListener$exported$4; c = nlea_EaglerAdapterImpl2$1.prototype; c[$rt_jso_marker] = true; c.stateChanged = c.$stateChanged$exported$0; c = otjb_Performance.prototype; c[$rt_jso_marker] = true; c = nleat_IndexedDBFilesystem$AsyncHandlers$1.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$2.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$4.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = otjc_JSArray.prototype; c.get = c.$get$exported$0; Object.defineProperty(c, "length", { get: c.$getLength$exported$1 }); c = nlea_EaglerAdapterImpl2$12.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$13.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nleat_IndexedDBFilesystem$AsyncHandlers$7.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$8.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nlea_EaglerAdapterImpl2$14.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nleat_IndexedDBFilesystem$AsyncHandlers$19.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$20.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$17.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$18.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nlea_EaglerAdapterImpl2$14$1.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nleat_IndexedDBFilesystem$AsyncHandlers$5.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$6.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$11.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleat_IndexedDBFilesystem$AsyncHandlers$12.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; })(); })); //# sourceMappingURL=app.js.map