diff --git a/404.html b/404.html index f893ad3..ef940e8 100644 --- a/404.html +++ b/404.html @@ -11,13 +11,13 @@ - + -

404

There's nothing here.
+ - + diff --git a/assets/js/10.4351aece.js b/assets/js/10.4351aece.js new file mode 100644 index 0000000..4d091fe --- /dev/null +++ b/assets/js/10.4351aece.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{284:function(e,t,n){"use strict";n.r(t);var l=n(14),a=Object(l.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"how-to-install-a-plugin"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#how-to-install-a-plugin"}},[e._v("#")]),e._v(" How to install a plugin")]),e._v(" "),t("p",[t("em",[e._v("Please keep in mind that these plugins are fully client side and therefore work on most servers. They can be considered hacks or unfair advantages, so be careful when using them.")])]),e._v(" "),t("ol",[t("li",[e._v("Open the compiled client")]),e._v(" "),t("li",[e._v("Open options")]),e._v(" "),t("li",[e._v("Click 'Plugins'")]),e._v(" "),t("li",[e._v("Click 'Add New'")]),e._v(" "),t("li",[e._v("Paste in the .js url.")]),e._v(" "),t("li",[e._v("Optional: Refresh the GUI to see if the plugin loaded correctly.")])]),e._v(" "),t("hr"),e._v(" "),t("p",[e._v("Here is a sample plugin that prevents you from taking fall damage:"),t("br"),e._v("\nhttps://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/nofall.js")]),e._v(" "),t("p",[e._v("And one that allows you to step up 9.5 blocks:"),t("br"),e._v("\nhttps://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/step.js")]),e._v(" "),t("p",[e._v("And finally, a grappling hook mod!:"),t("br"),e._v("\nhttps://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/grapplehook.js")])])}),[],!1,null,null,null);t.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/10.e1bed094.js b/assets/js/10.e1bed094.js deleted file mode 100644 index c74e9f5..0000000 --- a/assets/js/10.e1bed094.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{284:function(e,t,n){"use strict";n.r(t);var l=n(14),o=Object(l.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"how-to-install-a-plugin"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#how-to-install-a-plugin"}},[e._v("#")]),e._v(" How to install a plugin")]),e._v(" "),t("p",[t("i",[e._v("Please keep in mind that these plugins are fully client side and therefore work on most servers. They can be considered hacks or unfair advantages, so be careful when using them.")])]),e._v(" "),t("ol",[t("li",[e._v("Open the compiled client")]),e._v(" "),t("li",[e._v("Open options")]),e._v(" "),t("li",[e._v("Click 'Plugins'")]),e._v(" "),t("li",[e._v("Click 'Add New'")]),e._v(" "),t("li",[e._v("Paste in the .js url.")]),e._v(" "),t("li",[e._v("Optional: Refresh the GUI to see if the plugin loaded correctly.")]),e._v(" "),t("li",[e._v("Optional: If the plugin is not working, go to options > plugins and make sure it says 'LOADED' next to your plugin. If it doesn't, it's not my fault!!!")])]),e._v(" "),t("p",[e._v("Here is a sample plugin that allows you to climb up walls like a spider:\nhttps://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/spider.js")]),e._v(" "),t("p",[e._v("And one that allows you to step up 9.5 blocks:"),t("br"),e._v("\nhttps://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/step.js")]),e._v(" "),t("p",[e._v("And finally, a grappling hook mod!:"),t("br"),e._v("\nhttps://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/grapplehook.js")])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/11.e74c8472.js b/assets/js/11.e74c8472.js new file mode 100644 index 0000000..33cfba4 --- /dev/null +++ b/assets/js/11.e74c8472.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{285:function(t,a,s){"use strict";s.r(a);var n=s(14),e=Object(n.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"how-to-create-a-plugin"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#how-to-create-a-plugin"}},[t._v("#")]),t._v(" How to create a plugin")]),t._v(" "),a("p",[t._v("You will need:")]),t._v(" "),a("ul",[a("li",[t._v("Knowledge of JavaScript")]),t._v(" "),a("li",[t._v("A code editor (I use "),a("a",{attrs:{href:"https://vscode.dev",target:"_blank",rel:"noopener noreferrer"}},[t._v("vscode.dev"),a("OutboundLink")],1),t._v(")")]),t._v(" "),a("li",[t._v("Knowledge of Minecraft")])]),t._v(" "),a("h2",{attrs:{id:"what-is-a-plugin"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#what-is-a-plugin"}},[t._v("#")]),t._v(" What is a plugin?")]),t._v(" "),a("p",[t._v("A plugin is a script that is loaded by EaglerReborn on startup or when added. It can do anythin regular JavaScript do, as well as access the "),a("RouterLink",{attrs:{to:"/plugindocs/"}},[t._v("Plugin API")]),t._v(".")],1),t._v(" "),a("details",[a("summary",[t._v('\nHow to make an example "Spider" hack plugin\n')]),t._v(" "),a("h2",{attrs:{id:"how-to-make-an-example-spider-hack-plugin"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#how-to-make-an-example-spider-hack-plugin"}},[t._v("#")]),t._v(' How to make an example "Spider" hack plugin')]),t._v(" "),a("p",[t._v("Spider is a hack that allows you to climb up walls like a spider.")]),t._v(" "),a("p",[t._v("Create a new file with the "),a("code",[t._v(".js")]),t._v(" extension, and open it in your code editor.")]),t._v(" "),a("p",[t._v("We will start by "),a("RouterLink",{attrs:{to:"/plugindocs/#using-non-auto-properties"}},[t._v("requiring")]),t._v(" the player.\nRequiring allows us to access non-automatic properties of the Plugin API.")],1),t._v(" "),a("p",[t._v("Add this line of code:")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v("PluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("require")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"player"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("This will allow us to access the player.")]),t._v(" "),a("p",[t._v("Now, we need to add a listener that will run code every game tick."),a("br"),t._v("\nMake a function. (Name it whatever you want)")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("spiderListener")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("p",[t._v("Inside this function we will do two things:")]),t._v(" "),a("ul",[a("li",[t._v("Check if the player is walking in to a wall")]),t._v(" "),a("li",[t._v("If they are, add vertical motion")])]),t._v(" "),a("p",[t._v("Let's start with checking if the player is walking in to a wall."),a("br"),t._v("\nIn the function you just made, add an "),a("code",[t._v("if")]),t._v(" block.")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("if")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("p",[t._v("We can check whether or not the player is walking in to a wall with "),a("code",[t._v("PluginAPI.player.isCollidedHorizontally")]),t._v(".")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("if")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("PluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("player"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("isCollidedHorizontally"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("p",[t._v("Now to add the vertical motion, we change the "),a("code",[t._v("motionY")]),t._v(" property of "),a("code",[t._v("PluginAPI.player")]),t._v("."),a("br"),t._v("\nI will use the "),a("code",[t._v("+=")]),t._v(" operator, which adds an amount to a variable.")]),t._v(" "),a("p",[t._v("In the if, add these lines:")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v("PluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("player"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("motionY "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("+=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\nPluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("player"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("reload")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("You can change the "),a("code",[t._v("0.2")]),t._v(" to something larger or smaller if you want. The "),a("code",[t._v("reload()")]),t._v(" call is used to tell the Plugin API to update the in-game values, so we can see our changes.")]),t._v(" "),a("p",[t._v("Finally, we need to add the listener.")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[t._v("PluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("addEventListener")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"update"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" spiderListener"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v("This tells the Plugin API to run "),a("code",[t._v("spiderListener")]),t._v(" every game update (or tick).")]),t._v(" "),a("p",[t._v("Your finished code should somewhat look like this:")]),t._v(" "),a("div",{staticClass:"language-javascript extra-class"},[a("pre",{pre:!0,attrs:{class:"language-javascript"}},[a("code",[a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("function")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("spiderListener")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("if")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),t._v("PluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("player"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("isCollidedHorizontally"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n PluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("player"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("motionY "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("+=")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0.2")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n PluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),t._v("player"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("reload")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\nPluginAPI"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(".")]),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("addEventListener")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token string"}},[t._v('"update"')]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(",")]),t._v(" spiderListener"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n")])])]),a("p",[t._v('Now, open the EaglerReborn client.\nGo to Options > Plugins and press "upload".\nSelect the plugin file.')]),t._v(" "),a("p",[t._v("Now, when joining a server (without an anti-cheat), you should be able to climb up walls like a spider.\n")])]),a("p")])}),[],!1,null,null,null);a.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/12.0c41a866.js b/assets/js/12.0c41a866.js deleted file mode 100644 index b3b8578..0000000 --- a/assets/js/12.0c41a866.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{286:function(e,o,t){"use strict";t.r(o);var r=t(14),a=Object(r.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"making-patch-files"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#making-patch-files"}},[e._v("#")]),e._v(" Making patch files")]),e._v(" "),o("p",[e._v("In order to make your own patch files, you will need the following:")]),e._v(" "),o("ol",[o("li",[e._v("The minecraft 1.8.8 JAR")]),e._v(" "),o("li",[e._v("1.8.json")]),e._v(" "),o("li",[e._v("mcp918.zip(link "),o("a",{attrs:{href:"http://www.modcoderpack.com/files/mcp918.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("here"),o("OutboundLink")],1),e._v(")")]),e._v(" "),o("li",[e._v("FFMPEG")])]),e._v(" "),o("hr"),e._v(" "),o("p",[o("sub",[e._v("Note: This tutorial only works on Linux or MacOS. To do this on Windows, either setup up a virtual machine or use WSL (preferably WSL 2).")])]),e._v(" "),o("hr"),e._v(" "),o("p",[e._v("First, move the 1.8.8 jar, the 1.8.json file, and mcp918.zip into the mcp918 folder."),o("br"),e._v("\nThen. open a terminal in the root directory of the repo."),o("br"),e._v("\nRun "),o("code",[e._v("java -jar buildtools/BuildTools.jar init")]),e._v(" in the terminal."),o("br"),e._v("\nAfter it's done, do "),o("code",[e._v("java -jar buildtools/BuildTools.jar workspace")]),e._v(". It should ask you what directory you want it in."),o("br"),e._v("\nAfter putting this info in, it should create the directory you specified and place a Gradle project inside."),o("br"),e._v("\nThis is the decompiled source of Minecraft 1.8.8, plus the patches."),o("br"),e._v("\nJust modify the files and do "),o("code",[e._v("./gradlew teavm")]),e._v(" inside the workspace to compile."),o("br"),e._v("\nThen do "),o("code",[e._v("bash CompileEPK.sh")]),e._v(" to get an assets.epk file."),o("br"),e._v("\nIf you want to quickly test, do "),o("code",[e._v("python -m http.server")]),e._v(" in the workspace and go to localhost:8000 in your browser."),o("br"),e._v("\nIf you want to make a pull request, do "),o("code",[e._v("java -jar buildtools/BuildTools.jar pullrequest")]),e._v(" to generate a pullrequest folder."),o("br"),e._v("\nThen, take this modified version of the repo and upload it to Github, make a pullrequest, and I will take a look."),o("br"),e._v("\nIf you are making your own fork of EaglerReborn and have it open source, you can do "),o("code",[e._v("java -jar buildtools/BuildTools.jar merge")]),e._v("\nto finish generating the patch files."),o("br"),e._v(" "),o("br"),e._v("\nTo make an offline download, run "),o("code",[e._v("bash MakeOfflineDownload.sh")]),e._v(" after running "),o("code",[e._v("./gradlew teavm")]),e._v(" and "),o("code",[e._v("bash CompileEPK.sh")])])])}),[],!1,null,null,null);o.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/11.6124750c.js b/assets/js/12.5013ba5f.js similarity index 97% rename from assets/js/11.6124750c.js rename to assets/js/12.5013ba5f.js index 01c526d..106406c 100644 --- a/assets/js/11.6124750c.js +++ b/assets/js/12.5013ba5f.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{285:function(e,t,i){"use strict";i.r(t);var n=i(14),r=Object(n.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"compiling-eagler-reborn"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#compiling-eagler-reborn"}},[e._v("#")]),e._v(" Compiling Eagler Reborn")]),e._v(" "),t("h2",{attrs:{id:"prerequisites"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#prerequisites"}},[e._v("#")]),e._v(" Prerequisites")]),e._v(" "),t("ol",[t("li",[e._v("Ownership of Minecraft: Java Edition (its OK if you have gamepass)")]),e._v(" "),t("li",[e._v("A Windows/Mac/Linux computer")]),e._v(" "),t("li",[e._v("FFMPEG (you can download it "),t("a",{attrs:{href:"https://ffmpeg.org/download.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("here"),t("OutboundLink")],1),e._v(")")]),e._v(" "),t("li",[e._v("At least Java 11")])]),e._v(" "),t("hr"),e._v(" "),t("h2",{attrs:{id:"actually-compiling-the-client"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#actually-compiling-the-client"}},[e._v("#")]),e._v(" Actually compiling the client")]),e._v(" "),t("p",[e._v("First, download the repository to your computer. Then, extract it.\n")]),t("details",[t("summary",[e._v("Windows")]),e._v(" "),t("br"),t("p"),e._v(" "),t("ol",[t("li",[e._v("Double click CompileLatestClient.bat, a GUI resembling a classic windows installer should open\n"),t("br")]),e._v(" "),t("li",[e._v("Follow the steps shown to you in the new window to finish compiling\n")])])]),e._v(" "),t("details",[t("summary",[e._v("MacOS/Linux")]),e._v(" "),t("br"),e._v(" "),t("li",[e._v("Open a terminal in the folder the repository was cloned to\n"),t("br"),e._v(" "),t("br"),e._v("2. Type chmod +x CompileLatestClient.sh and hit enter"),t("br"),e._v(" "),t("br"),e._v("3. Type ./CompileLatestClient.sh and hit enter, a GUI resembling a classic windows installer should open\n"),t("br"),e._v(" "),t("br"),e._v("Follow the steps shown to you in the new window to finish compiling"),t("br")])])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{286:function(e,t,i){"use strict";i.r(t);var n=i(14),r=Object(n.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"compiling-eagler-reborn"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#compiling-eagler-reborn"}},[e._v("#")]),e._v(" Compiling Eagler Reborn")]),e._v(" "),t("h2",{attrs:{id:"prerequisites"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#prerequisites"}},[e._v("#")]),e._v(" Prerequisites")]),e._v(" "),t("ol",[t("li",[e._v("Ownership of Minecraft: Java Edition (its OK if you have gamepass)")]),e._v(" "),t("li",[e._v("A Windows/Mac/Linux computer")]),e._v(" "),t("li",[e._v("FFMPEG (you can download it "),t("a",{attrs:{href:"https://ffmpeg.org/download.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("here"),t("OutboundLink")],1),e._v(")")]),e._v(" "),t("li",[e._v("At least Java 11")])]),e._v(" "),t("hr"),e._v(" "),t("h2",{attrs:{id:"actually-compiling-the-client"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#actually-compiling-the-client"}},[e._v("#")]),e._v(" Actually compiling the client")]),e._v(" "),t("p",[e._v("First, download the repository to your computer. Then, extract it.\n")]),t("details",[t("summary",[e._v("Windows")]),e._v(" "),t("br"),t("p"),e._v(" "),t("ol",[t("li",[e._v("Double click CompileLatestClient.bat, a GUI resembling a classic windows installer should open\n"),t("br")]),e._v(" "),t("li",[e._v("Follow the steps shown to you in the new window to finish compiling\n")])])]),e._v(" "),t("details",[t("summary",[e._v("MacOS/Linux")]),e._v(" "),t("br"),e._v(" "),t("li",[e._v("Open a terminal in the folder the repository was cloned to\n"),t("br"),e._v(" "),t("br"),e._v("2. Type chmod +x CompileLatestClient.sh and hit enter"),t("br"),e._v(" "),t("br"),e._v("3. Type ./CompileLatestClient.sh and hit enter, a GUI resembling a classic windows installer should open\n"),t("br"),e._v(" "),t("br"),e._v("Follow the steps shown to you in the new window to finish compiling"),t("br")])])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/13.4f7e39f3.js b/assets/js/13.4f7e39f3.js new file mode 100644 index 0000000..888d74b --- /dev/null +++ b/assets/js/13.4f7e39f3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{287:function(e,o,t){"use strict";t.r(o);var a=t(14),n=Object(a.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"making-patch-files"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#making-patch-files"}},[e._v("#")]),e._v(" Making patch files")]),e._v(" "),o("p",[e._v("In order to make your own patch files, you will need the following:")]),e._v(" "),o("ol",[o("li",[e._v("The minecraft 1.8.8 JAR")]),e._v(" "),o("li",[e._v("1.8.json")]),e._v(" "),o("li",[e._v("mcp918.zip(link "),o("a",{attrs:{href:"http://www.modcoderpack.com/files/mcp918.zip",target:"_blank",rel:"noopener noreferrer"}},[e._v("here"),o("OutboundLink")],1),e._v(")")]),e._v(" "),o("li",[e._v("FFMPEG")])]),e._v(" "),o("hr"),e._v(" "),o("p",[e._v("Note: This tutorial only works on Linux or MacOS. To do this on Windows, either setup up a virtual machine or use WSL (preferably WSL 2).")]),e._v(" "),o("hr"),e._v(" "),o("p",[e._v("First, move the 1.8.8 jar, the 1.8.json file, and mcp918.zip into the mcp918 folder.\nThen. open a terminal in the root directory of the repo.\nRun "),o("code",[e._v("java -jar buildtools/BuildTools.jar init")]),e._v(" in the terminal.\nAfter it's done, do "),o("code",[e._v("java -jar buildtools/BuildTools.jar workspace")]),e._v(". It should ask you what directory you want it in.\nAfter putting this info in, it should create the directory you specified and place a Gradle project inside.\nThis is the decompiled source of Minecraft 1.8.8, plus the patches.\nJust modify the files and do "),o("code",[e._v("./gradlew teavm")]),e._v(" inside the workspace to compile.\nThen do "),o("code",[e._v("bash CompileEPK.sh")]),e._v(" to get an assets.epk file.\nIf you want to quickly test, do "),o("code",[e._v("python -m http.server")]),e._v(" in the workspace and go to localhost:8000 in your browser.\nIf you want to make a pull request, do "),o("code",[e._v("java -jar buildtools/BuildTools.jar pullrequest")]),e._v(" to generate a pullrequest folder.\nThen, take this modified version of the repo and upload it to Github, make a pullrequest, and I will take a look.\nIf you are making your own fork of EaglerReborn and have it open source, you can do "),o("code",[e._v("java -jar buildtools/BuildTools.jar merge")]),e._v("\nto finish generating the patch files.")]),e._v(" "),o("p",[e._v("To make an offline download, run "),o("code",[e._v("bash MakeOfflineDownload.sh")]),e._v(" after running "),o("code",[e._v("./gradlew teavm")]),e._v(" and "),o("code",[e._v("bash CompileEPK.sh")])])])}),[],!1,null,null,null);o.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/13.8e9b7fcb.js b/assets/js/14.a642204b.js similarity index 94% rename from assets/js/13.8e9b7fcb.js rename to assets/js/14.a642204b.js index a3dc39b..a98fee7 100644 --- a/assets/js/13.8e9b7fcb.js +++ b/assets/js/14.a642204b.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{287:function(e,r,a){"use strict";a.r(r);var s=a(14),t=Object(s.a)({},(function(){var e=this,r=e._self._c;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"joining-non-eagler-servers"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#joining-non-eagler-servers"}},[e._v("#")]),e._v(" Joining Non-Eagler servers")]),e._v(" "),r("p",[e._v("To join non eagler servers on the client, just do not include "),r("code",[e._v("wss://")]),e._v(" in the server address. If you include "),r("code",[e._v("wss://")]),e._v(", the client will assume its an eagler server.")]),e._v(" "),r("h2",{attrs:{id:"if-a-server-has-java-and-eagler-support"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#if-a-server-has-java-and-eagler-support"}},[e._v("#")]),e._v(" If a server has Java and Eagler Support")]),e._v(" "),r("p",[e._v("If the server has both Java and Eagler support, you should definitely use Eagler. Here's why:")]),e._v(" "),r("ol",[r("li",[e._v("Eagler is much faster than Java")]),e._v(" "),r("li",[e._v("Eagler is supported natively, with needing to use a relay, resulting in better ping.")])])])}),[],!1,null,null,null);r.default=t.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{288:function(e,r,a){"use strict";a.r(r);var s=a(14),t=Object(s.a)({},(function(){var e=this,r=e._self._c;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"joining-non-eagler-servers"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#joining-non-eagler-servers"}},[e._v("#")]),e._v(" Joining Non-Eagler servers")]),e._v(" "),r("p",[e._v("To join non eagler servers on the client, just do not include "),r("code",[e._v("wss://")]),e._v(" in the server address. If you include "),r("code",[e._v("wss://")]),e._v(", the client will assume its an eagler server.")]),e._v(" "),r("h2",{attrs:{id:"if-a-server-has-java-and-eagler-support"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#if-a-server-has-java-and-eagler-support"}},[e._v("#")]),e._v(" If a server has Java and Eagler Support")]),e._v(" "),r("p",[e._v("If the server has both Java and Eagler support, you should definitely use Eagler. Here's why:")]),e._v(" "),r("ol",[r("li",[e._v("Eagler is much faster than Java")]),e._v(" "),r("li",[e._v("Eagler is supported natively, with needing to use a relay, resulting in better ping.")])])])}),[],!1,null,null,null);r.default=t.exports}}]); \ No newline at end of file diff --git a/assets/js/14.2ba7d8bf.js b/assets/js/15.25955e98.js similarity index 77% rename from assets/js/14.2ba7d8bf.js rename to assets/js/15.25955e98.js index f7f6054..898701d 100644 --- a/assets/js/14.2ba7d8bf.js +++ b/assets/js/15.25955e98.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{288:function(t,n,s){"use strict";s.r(n);var e=s(14),o=Object(e.a)({},(function(){return(0,this._self._c)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);n.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{289:function(t,n,s){"use strict";s.r(n);var e=s(14),o=Object(e.a)({},(function(){return(0,this._self._c)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);n.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/15.a678a75a.js b/assets/js/15.a678a75a.js deleted file mode 100644 index 7e5a69f..0000000 --- a/assets/js/15.a678a75a.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{289:function(e,t,a){"use strict";a.r(t);var o=a(14),i=Object(o.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"plugin-api"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#plugin-api"}},[e._v("#")]),e._v(" Plugin API")]),e._v(" "),t("p",[e._v("The Plugin API consists of a global JavaScript object on the window, called, very simply, "),t("code",[e._v("PluginAPI")]),e._v(".")]),e._v(" "),t("p",[e._v("It has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("player: LocalPlayerData")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/LocalPlayerData.html"}},[t("code",[e._v("LocalPlayerData")])]),e._v(" made from "),t("code",[e._v("EntityPlayerSP")]),e._v(".")],1)])]),e._v(" "),t("li",[t("code",[e._v("network: NetworkData")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/NetworkData.html"}},[t("code",[e._v("NetworkData")])]),e._v(" made from "),t("code",[e._v("NetHandlerPlayClient")]),e._v(".")],1)])]),e._v(" "),t("li",[t("code",[e._v("items: ItemData{}")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[t("code",[e._v("ItemData")])]),e._v(" dictionary of all item types, and block-item types. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("blocks: BlockData{}")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockData.html"}},[t("code",[e._v("BlockData")])]),e._v(" dictionary of all block types. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("materials: MaterialData{}")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/MaterialData.html"}},[t("code",[e._v("MaterialData")])]),e._v(" dictionary of all the block materials. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("enchantments: EnchantmentData{}")]),e._v(" "),t("ul",[t("li",[e._v("An "),t("RouterLink",{attrs:{to:"/plugindocs/EnchantmentData.html"}},[t("code",[e._v("EnchantmentData")])]),e._v(" dictionary of all the in-game enchantments. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("constructors: Object")]),e._v(" "),t("ul",[t("li",[e._v("A object containing constructors to make some Java objects from within JavaScript. [Auto]")])])]),e._v(" "),t("li",[t("code",[e._v("javaClient: Object")]),e._v(" "),t("ul",[t("li",[e._v("This is the "),t("code",[e._v("Minecraft")]),e._v(" instance exposed to JavaScript. It has no wrapping, and so many properties will be illegible. To use it, I would recommend editing the "),t("code",[e._v("build.gradle")]),e._v(" in the worspace to set "),t("code",[e._v("minifying: false;")]),e._v(" [Auto]")])])]),e._v(" "),t("li",[t("code",[e._v("version: String")]),e._v(" "),t("ul",[t("li",[e._v("The version of the Plugin API (If not accessible, you can check the PluginAPI version in the f3 menu)")])])]),e._v(" "),t("li",[t("code",[e._v("clientBrand: String")]),e._v(" "),t("ul",[t("li",[e._v("The brand of the Eaglercraft client, taken from "),t("code",[e._v("ClientBrandRetriever.java")])])])])]),e._v(" "),t("p",[e._v("It has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("addEventListener(eventName: String, callback: Function) : void")]),e._v(" "),t("ul",[t("li",[e._v("Documentation "),t("RouterLink",{attrs:{to:"/plugindocs/events/addEventListener.html"}},[e._v("here")])],1)])]),e._v(" "),t("li",[t("code",[e._v("require(componentName: String)")]),e._v(" "),t("ul",[t("li",[e._v("Documentation "),t("RouterLink",{attrs:{to:"/plugindocs/globals/require.html"}},[e._v("here")])],1)])]),e._v(" "),t("li",[t("code",[e._v("updateComponent(componentName: String)")]),e._v(" "),t("ul",[t("li",[e._v("[Deprecated, use "),t("code",[e._v("reload()")]),e._v(" instead]")]),e._v(" "),t("li",[e._v("Documentation "),t("RouterLink",{attrs:{to:"/plugindocs/globals/updateComponent.html"}},[e._v("here")])],1)])]),e._v(" "),t("li",[t("code",[e._v("displayToChat({msg: String})")]),e._v(" "),t("ul",[t("li",[e._v("Displays client-side message to user's ingame chat gui.")])])]),e._v(" "),t("li",[t("code",[e._v("clickMouse()")]),e._v(" "),t("ul",[t("li",[e._v("Triggers a left click ingame.")])])]),e._v(" "),t("li",[t("code",[e._v("rightClickMouse()")]),e._v(" "),t("ul",[t("li",[e._v("Triggers a right click ingame.")])])])]),e._v(" "),t("h3",{attrs:{id:"passing-ref-objects"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#passing-ref-objects"}},[e._v("#")]),e._v(" Passing 'Ref' objects")]),e._v(" "),t("p",[e._v("Eg: "),t("code",[e._v("setCurrentItemOrArmor({slotIn: Integer, itemStack: ItemStackRef}) : void")]),e._v("\nThis method's itemStack parameter uses an 'ItemStackRef'. 'Refs' are short for 'references', as they are the root reference to a java object, not just a data wrapper. You can get a ref from a Data by using "),t("code",[e._v("getRef()")]),e._v(", as specified "),t("RouterLink",{attrs:{to:"/plugindocs/globals/Data.html"}},[e._v("here")]),e._v(".")],1),e._v(" "),t("h3",{attrs:{id:"using-non-auto-properties"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#using-non-auto-properties"}},[e._v("#")]),e._v(" Using non-auto properties")]),e._v(" "),t("p",[e._v("In order to use non-auto properties like "),t("code",[e._v("PluginAPI.player")]),e._v(" or "),t("code",[e._v("PluginAPI.network")]),e._v(", they must be "),t("RouterLink",{attrs:{to:"/plugindocs/globals/require.html"}},[e._v("required")])],1),e._v(" "),t("h3",{attrs:{id:"triggering-data-updates-reload"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#triggering-data-updates-reload"}},[e._v("#")]),e._v(" Triggering data updates ("),t("code",[e._v("reload()")]),e._v(")")]),e._v(" "),t("p",[e._v("To trigger the game to read your updated values, call the "),t("code",[e._v("reload()")]),e._v(" method on the object.")]),e._v(" "),t("p",[e._v("Eg:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v("PluginAPI.player.motionY += 1;\nPluginAPI.player.reload();\n")])])]),t("p",[e._v("Frequent calls to "),t("code",[e._v("reload()")]),e._v(" may cause lag, so try to limit them.")])])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/16.8ab6d050.js b/assets/js/16.8ab6d050.js new file mode 100644 index 0000000..c84dc67 --- /dev/null +++ b/assets/js/16.8ab6d050.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{290:function(e,t,a){"use strict";a.r(t);var o=a(14),i=Object(o.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"plugin-api"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#plugin-api"}},[e._v("#")]),e._v(" Plugin API")]),e._v(" "),t("p",[e._v("The Plugin API consists of a global JavaScript object on the window, called, very simply, "),t("code",[e._v("PluginAPI")]),e._v(".")]),e._v(" "),t("p",[e._v("It has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("player: LocalPlayerData")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/LocalPlayerData.html"}},[t("code",[e._v("LocalPlayerData")])]),e._v(" made from "),t("code",[e._v("EntityPlayerSP")]),e._v(". Regenerated every time the "),t("code",[e._v("update")]),e._v(" event is called.")],1)])]),e._v(" "),t("li",[t("code",[e._v("network: NetworkData")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/NetworkData.html"}},[t("code",[e._v("NetworkData")])]),e._v(" made from "),t("code",[e._v("NetHandlerPlayClient")]),e._v(". Regenerated every time the "),t("code",[e._v("update")]),e._v(" event is called.")],1)])]),e._v(" "),t("li",[t("code",[e._v("settings: GameSettingsData")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/GameSettingsData.html"}},[t("code",[e._v("GameSettingsData")])]),e._v(" made from "),t("code",[e._v("GameSettings")]),e._v(". Regenerated every time the "),t("code",[e._v("update")]),e._v(" event is called.")],1)])]),e._v(" "),t("li",[t("code",[e._v("items: ItemData{}")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[t("code",[e._v("ItemData")])]),e._v(" dictionary of all item types, and block-item types. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("blocks: BlockData{}")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockData.html"}},[t("code",[e._v("BlockData")])]),e._v(" dictionary of all block types. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("materials: MaterialData{}")]),e._v(" "),t("ul",[t("li",[e._v("A "),t("RouterLink",{attrs:{to:"/plugindocs/globals/MaterialData.html"}},[t("code",[e._v("MaterialData")])]),e._v(" dictionary of all the block materials. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("enchantments: EnchantmentData{}")]),e._v(" "),t("ul",[t("li",[e._v("An "),t("RouterLink",{attrs:{to:"/plugindocs/EnchantmentData.html"}},[t("code",[e._v("EnchantmentData")])]),e._v(" dictionary of all the in-game enchantments. [Auto]")],1)])]),e._v(" "),t("li",[t("code",[e._v("constructors: Object")]),e._v(" "),t("ul",[t("li",[e._v("A object containing constructors to make some Java objects from within JavaScript. [Auto]")])])]),e._v(" "),t("li",[t("code",[e._v("javaClient: Object")]),e._v(" "),t("ul",[t("li",[e._v("This is the "),t("code",[e._v("Minecraft")]),e._v(" instance exposed to JavaScript. It has no wrapping, and so many properties will be illegible. To use it, I would recommend editing the "),t("code",[e._v("build.gradle")]),e._v(" in the worspace to set "),t("code",[e._v("minifying: false;")]),e._v(" [Auto]")])])]),e._v(" "),t("li",[t("code",[e._v("version: String")]),e._v(" "),t("ul",[t("li",[e._v("The version of the Plugin API (If not accessible, you can check the PluginAPI version in the f3 menu)")])])]),e._v(" "),t("li",[t("code",[e._v("clientBrand: String")]),e._v(" "),t("ul",[t("li",[e._v("The brand of the Eaglercraft client, taken from "),t("code",[e._v("ClientBrandRetriever.java")])])])])]),e._v(" "),t("p",[e._v("It has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("addEventListener(eventName: String, callback: Function) : void")]),e._v(" "),t("ul",[t("li",[e._v("Documentation "),t("RouterLink",{attrs:{to:"/plugindocs/events/addEventListener.html"}},[e._v("here")])],1)])]),e._v(" "),t("li",[t("code",[e._v("require(componentName: String)")]),e._v(" "),t("ul",[t("li",[e._v("Documentation "),t("RouterLink",{attrs:{to:"/plugindocs/globals/require.html"}},[e._v("here")])],1)])]),e._v(" "),t("li",[t("code",[e._v("updateComponent(componentName: String)")]),e._v(" "),t("ul",[t("li",[e._v("[Deprecated, use "),t("code",[e._v("reload()")]),e._v(" instead]")]),e._v(" "),t("li",[e._v("Documentation "),t("RouterLink",{attrs:{to:"/plugindocs/globals/updateComponent.html"}},[e._v("here")])],1)])]),e._v(" "),t("li",[t("code",[e._v("displayToChat({msg: String})")]),e._v(" "),t("ul",[t("li",[e._v("Displays client-side message to user's ingame chat gui.")])])]),e._v(" "),t("li",[t("code",[e._v("clickMouse()")]),e._v(" "),t("ul",[t("li",[e._v("Triggers a left click ingame.")])])]),e._v(" "),t("li",[t("code",[e._v("rightClickMouse()")]),e._v(" "),t("ul",[t("li",[e._v("Triggers a right click ingame.")])])]),e._v(" "),t("li",[t("code",[e._v("update()")]),e._v(" "),t("ul",[t("li",[e._v("Force triggers a Plugin API update. Note that while the update event fires, not all objects are necessarily generated. Eg: Calling "),t("code",[e._v("update()")]),e._v(" while not ingame will not generate "),t("code",[e._v("PluginAPI.player")]),e._v(" or "),t("code",[e._v("PluginAPI.network")])])])])]),e._v(" "),t("h3",{attrs:{id:"passing-ref-objects"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#passing-ref-objects"}},[e._v("#")]),e._v(" Passing 'Ref' objects")]),e._v(" "),t("p",[e._v("Eg: "),t("code",[e._v("setCurrentItemOrArmor({slotIn: Integer, itemStack: ItemStackRef}) : void")]),e._v("\nThis method's itemStack parameter uses an 'ItemStackRef'. 'Refs' are short for 'references', as they are the root reference to a java object, not just a data wrapper. You can get a ref from a Data by using "),t("code",[e._v("getRef()")]),e._v(", as specified "),t("RouterLink",{attrs:{to:"/plugindocs/globals/Data.html"}},[e._v("here")]),e._v(".")],1),e._v(" "),t("h3",{attrs:{id:"using-non-auto-properties"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#using-non-auto-properties"}},[e._v("#")]),e._v(" Using non-auto properties")]),e._v(" "),t("p",[e._v("In order to use non-auto properties like "),t("code",[e._v("PluginAPI.player")]),e._v(" or "),t("code",[e._v("PluginAPI.network")]),e._v(", they must be "),t("RouterLink",{attrs:{to:"/plugindocs/globals/require.html"}},[e._v("required")])],1),e._v(" "),t("h3",{attrs:{id:"triggering-data-updates-reload"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#triggering-data-updates-reload"}},[e._v("#")]),e._v(" Triggering data updates ("),t("code",[e._v("reload()")]),e._v(")")]),e._v(" "),t("p",[e._v("To trigger the game to read your updated values, call the "),t("code",[e._v("reload()")]),e._v(" method on the object.")]),e._v(" "),t("p",[e._v("Eg:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v("PluginAPI.player.motionY += 1;\nPluginAPI.player.reload();\n")])])]),t("p",[e._v("Frequent calls to "),t("code",[e._v("reload()")]),e._v(" may cause lag, so try to limit them.")])])}),[],!1,null,null,null);t.default=i.exports}}]); \ No newline at end of file diff --git a/assets/js/16.66cc1c25.js b/assets/js/17.38538a8d.js similarity index 99% rename from assets/js/16.66cc1c25.js rename to assets/js/17.38538a8d.js index 20bed2b..62597b1 100644 --- a/assets/js/16.66cc1c25.js +++ b/assets/js/17.38538a8d.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[16],{290:function(e,t,o){"use strict";o.r(t);var n=o(14),v=Object(n.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"receiving-packet-events"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#receiving-packet-events"}},[e._v("#")]),e._v(" Receiving packet events")]),e._v(" "),t("p",[e._v("Events called by packets being received from the server by the client.")]),e._v(" "),t("ul",[t("li",[t("p",[t("code",[e._v("packetjoingame")]),e._v("\nCalled when the user joins a server. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("ip")]),e._v(": String representing the server IP address. [read-only]")]),e._v(" "),t("li",[t("code",[e._v("gameType")]),e._v(": String representing the gamemode.")]),e._v(" "),t("li",[t("code",[e._v("difficulty")]),e._v(": String representing the difficulty.")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the player.")]),e._v(" "),t("li",[t("code",[e._v("maxPlayers")]),e._v(": Integer representing the maximum number of players that can join a server.")]),e._v(" "),t("li",[t("code",[e._v("hardcoreMode")]),e._v(": Boolean representing if the server is hardcore or not")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnobject")]),e._v("\nCalled when the server spawns an object. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("speedX")]),e._v(": Integer representing the x velocity of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("speedY")]),e._v(": Integer representing the y velocity of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("speedZ")]),e._v(": Integer representing the z velocity of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Integer representing the pitch rotation of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Integer representing the yaw rotation of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": Integer representing the entity type of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnxporb")]),e._v("\nCalled when the server spawns an xp orb. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Integer representing the x position of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Integer representing the y position of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Integer representing the z position of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("xpValue")]),e._v(": Integer representing the xp value of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnglobalentity")]),e._v("\nCalled when the server spawns a global entity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": Integer representing the type of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnpainting")]),e._v("\nCalled when the server spawns a painting. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the painting to spawn.")]),e._v(" "),t("li",[t("code",[e._v("position")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the position of the painting to spawn.")],1),e._v(" "),t("li",[t("code",[e._v("title")]),e._v(": String representing the type of the painting to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityvelocity")]),e._v("\nCalled when the server changes an entity's velocity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to change.")]),e._v(" "),t("li",[t("code",[e._v("motionX")]),e._v(": Integer representing the new x velocity of the entity.")]),e._v(" "),t("li",[t("code",[e._v("motionY")]),e._v(": Integer representing the new y velocity of the entity.")]),e._v(" "),t("li",[t("code",[e._v("motionZ")]),e._v(":Integer representing the new z velocity of the entity.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentitymetadata")]),e._v("\nCalled when the server changes an entity's metadata. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to change.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnplayer")]),e._v("\nCalled when the server spawns a player. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the player.")]),e._v(" "),t("li",[t("code",[e._v("playerId")]),e._v(": String representing the uuid of the player.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the player.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the player.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the player.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the player.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the player.")]),e._v(" "),t("li",[t("code",[e._v("currentItem")]),e._v(": Integer representing the item id of the item in the player's hand.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityteleport")]),e._v("\nCalled when the server teleports an entity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity.")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Integer representing the new x position of the entity.")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Integer representing the new y position of the entity.")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Integer representing the new z position of the entity.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the entity.")]),e._v(" "),t("li",[t("code",[e._v("onGround")]),e._v(": Boolean representing wether the entity is on the ground.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packethelditemchange")]),e._v("\nCalled when the server changes the item in your hand. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("heldItemHotbarIndex")]),e._v(": Integer representing the slot that needs updating.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentity")]),e._v("\nCalled when the server moves an entity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Byte representing the x position of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Byte representing the y position of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Byte representing the z position of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("onGround")]),e._v(": Boolean representing wether the entity is on the ground.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityheadlook")]),e._v("\nCalled when the server changes an entity's head rotation. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetdestroyentities")]),e._v("\nCalled when the server changes deletes some entities. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityIDs")]),e._v(": Integer array representing the entities to delete.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerposlook")]),e._v("\nCalled when the server changes the players position or look. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("x")]),e._v(": Number representing the new x position.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Number representing the new y position.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Number representing the new z position.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Number representing the new yaw rotation.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Number representing the new pitch rotation.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetmultiblockchange")]),e._v("\nCalled when the server changes the some blocks. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetchunkdata")]),e._v("\nCalled when the server sends the client chunk data. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("chunkX")]),e._v(": Integer representing the x coordinate of the new chunk.")]),e._v(" "),t("li",[t("code",[e._v("chunkZ")]),e._v(": Integer representing the z coordinate of the new chunk.")]),e._v(" "),t("li",[t("code",[e._v("extractedData")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ChunkData.html"}},[e._v("ChunkData")]),e._v(" representing the contents of the chunk.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetblockchange")]),e._v("\nCalled when the server sends the a block update. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("blockPosition")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the position of the block.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetdisconnect")]),e._v("\nCalled when the server sends a disconnect packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("reason")]),e._v(": String representing the disconnect reason.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")]),e._v(" "),t("li",[e._v("NOTE: The reason text length must be different in order for your changes to propagate.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcollectitem")]),e._v("\nCalled when the server sends a collect item packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity collecting the item.")]),e._v(" "),t("li",[t("code",[e._v("collectedItemEntityId")]),e._v(": Integer representing the entity id of the item being collected.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetchat")]),e._v("\nCalled when the server sends a chat message packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("type")]),e._v(": Byte indicating the type of chat message.")]),e._v(" "),t("li",[t("code",[e._v("chat")]),e._v(": String representing the content of the chat message.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")]),e._v(" "),t("li",[e._v("NOTE: The chat text length must be different in order for your changes to propagate.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetanimation")]),e._v("\nCalled when the server sends a animation packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("type")]),e._v(": Integer indicating the type of animation.")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity playing the animation.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetusebed")]),e._v("\nCalled when the server sends a 'use bed' packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("playerID")]),e._v(": Integer representing the entity id of the player using the bed.")]),e._v(" "),t("li",[t("code",[e._v("bedPos")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the position of the bed.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnmob")]),e._v("\nCalled when the server sends a 'spawn mob' packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": Integer representing the type of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("velocityX")]),e._v(": Integer representing the x velocity of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("velocityY")]),e._v(": Integer representing the y velocity of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("velocityZ")]),e._v(": Integer representing the z velocity of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("headPitch")]),e._v(": Byte representing the head pitch rotation of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packettimeupdate")]),e._v("\nCalled when the server sends a 'time update' packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("totalWorldTime")]),e._v(": Number representing the total world time. [read-only]")]),e._v(" "),t("li",[t("code",[e._v("worldTime")]),e._v(": Number representing the the world time. [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")]),e._v(" "),t("li",[e._v("(values are readonly because teavm cannot send "),t("code",[e._v("long")]),e._v(" values to JavaScript and back.)")])])])]),e._v(" "),t("p",[e._v("(Hey, umm... I started slacking off for writing the doc here. Sorry.)")]),e._v(" "),t("ul",[t("li",[t("p",[t("code",[e._v("packetspawnposition")]),e._v("\nCalled when the server sets the world spawn. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("spawnBlockPos")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the spawn position.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityattatch")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("leash")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("vehicleEntityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentitystatus")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("logicOpcode")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatehealth")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("health")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("foodLevel")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("saturationLevel")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsetxp")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("totalExperience")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("level")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetrespawn")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("dimensionID")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("difficulty")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("gameType")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetexplosion")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("posX")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("strength")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetopenwindow")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("slotCount")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("inventoryType")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("windowTitle")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsetslot")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("slot")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("item")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetconfirmtransaction")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("actionNumber")]),e._v(": Short")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetwindowitems")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("itemStacks")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")]),e._v("[]")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsigneditoropen")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("signPosition")]),e._v(": [BlockPos]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatesign")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("blockPos")]),e._v(": [BlockPos]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatetileentity")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("blockPos")]),e._v(": [BlockPos]")]),e._v(" "),t("li",[t("code",[e._v("metadata")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetwindowproperty")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("varValue")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("varIndex")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityequipment")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityID")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("equipmentSlot")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("itemStack")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetclosewindow")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetblockaction")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("instrument")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("block")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockData.html"}},[e._v("BlockData")])],1),e._v(" "),t("li",[t("code",[e._v("blockPosition")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetblockbreakanim")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("breakerId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("progress")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("position")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetmapchunkbulk")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("xPositions")]),e._v(": Integer[]")]),e._v(" "),t("li",[t("code",[e._v("zPositions")]),e._v(": Integer[]")]),e._v(" "),t("li",[t("code",[e._v("chunksData")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ChunkData.html"}},[e._v("ChunkData")]),e._v("[]")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetchangegamestate")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("state")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetmaps")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("mapId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapScale")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("mapMinX")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapMinY")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapMaxX")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapMaxY")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapVisiblePlayersVec4b")]),e._v(": Vec4b[]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packeteffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("soundType")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("soundData")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("soundPos")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),t("li",[t("code",[e._v("serverWide")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetstatistics")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityeffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("duration")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("effectId")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("amplifier")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("hideParticles")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcombatevent")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("eventType")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("deathMessage")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetserverdifficulty")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("difficulty")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("difficultyLocked")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcamera")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetworldborder")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("action")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("size")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("centerX")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("centerZ")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("targetSize")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("diameter")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("warningTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("warningDistance")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("timeUntilTarget")]),e._v(": Number [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packettitle")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("type")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("message")]),e._v(": String [change-length]")]),e._v(" "),t("li",[t("code",[e._v("fadeInTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("displayTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("fadeOutTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsetcompressionlevel")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("threshold")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerlistheaderfooter")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("header")]),e._v(": String [change-length]")]),e._v(" "),t("li",[t("code",[e._v("footer")]),e._v(": String [change-length]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetremoveentityeffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("effectId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerlistitem")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("action")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("players")]),e._v(": Array of objects with properties:\n"),t("ul",[t("li",[t("code",[e._v("ping")]),e._v(": Integer [read-only]")]),e._v(" "),t("li",[t("code",[e._v("gamemode")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("displayNameFormatted")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("displayName")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("profileName")]),e._v(": String [read-only]")])])]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetkeepalive")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("id")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerabilities")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("flySpeed")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("walkSpeed")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("invulnerable")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("flying")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("creativeMode")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("allowFlying")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerabilities")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("matches")]),e._v(": String[]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsoundeffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("soundName")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("soundVolume")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("soundPitch")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetresourcepack")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("url")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("hash")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdateentitynbt")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("nbt")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcustompayload")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("channel")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetscoreboardobjective")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("objectiveName")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("objectiveValue")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatescore")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("name")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("objective")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("value")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("action")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetdisplayscoreboard")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("scoreName")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("position")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetteams")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".\n(Note: the packet is obfuscated, so i got no clue what its supposed to be)")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetparticles")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("particleType")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("xCoord")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("yCoord")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("zCoord")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("xOffset")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("yOffset")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("zOffset")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("particleSpeed")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("particleCount")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("longDistance")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("particleArguments")]),e._v(": Integer[]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityproperties")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])])])])}),[],!1,null,null,null);t.default=v.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{291:function(e,t,o){"use strict";o.r(t);var n=o(14),v=Object(n.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"receiving-packet-events"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#receiving-packet-events"}},[e._v("#")]),e._v(" Receiving packet events")]),e._v(" "),t("p",[e._v("Events called by packets being received from the server by the client.")]),e._v(" "),t("ul",[t("li",[t("p",[t("code",[e._v("packetjoingame")]),e._v("\nCalled when the user joins a server. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("ip")]),e._v(": String representing the server IP address. [read-only]")]),e._v(" "),t("li",[t("code",[e._v("gameType")]),e._v(": String representing the gamemode.")]),e._v(" "),t("li",[t("code",[e._v("difficulty")]),e._v(": String representing the difficulty.")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the player.")]),e._v(" "),t("li",[t("code",[e._v("maxPlayers")]),e._v(": Integer representing the maximum number of players that can join a server.")]),e._v(" "),t("li",[t("code",[e._v("hardcoreMode")]),e._v(": Boolean representing if the server is hardcore or not")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnobject")]),e._v("\nCalled when the server spawns an object. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("speedX")]),e._v(": Integer representing the x velocity of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("speedY")]),e._v(": Integer representing the y velocity of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("speedZ")]),e._v(": Integer representing the z velocity of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Integer representing the pitch rotation of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Integer representing the yaw rotation of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": Integer representing the entity type of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnxporb")]),e._v("\nCalled when the server spawns an xp orb. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Integer representing the x position of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Integer representing the y position of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Integer representing the z position of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("xpValue")]),e._v(": Integer representing the xp value of the xp orb to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnglobalentity")]),e._v("\nCalled when the server spawns a global entity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": Integer representing the type of the entity to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnpainting")]),e._v("\nCalled when the server spawns a painting. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the painting to spawn.")]),e._v(" "),t("li",[t("code",[e._v("position")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the position of the painting to spawn.")],1),e._v(" "),t("li",[t("code",[e._v("title")]),e._v(": String representing the type of the painting to spawn.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityvelocity")]),e._v("\nCalled when the server changes an entity's velocity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to change.")]),e._v(" "),t("li",[t("code",[e._v("motionX")]),e._v(": Integer representing the new x velocity of the entity.")]),e._v(" "),t("li",[t("code",[e._v("motionY")]),e._v(": Integer representing the new y velocity of the entity.")]),e._v(" "),t("li",[t("code",[e._v("motionZ")]),e._v(":Integer representing the new z velocity of the entity.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentitymetadata")]),e._v("\nCalled when the server changes an entity's metadata. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity to change.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnplayer")]),e._v("\nCalled when the server spawns a player. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the player.")]),e._v(" "),t("li",[t("code",[e._v("playerId")]),e._v(": String representing the uuid of the player.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the player.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the player.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the player.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the player.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the player.")]),e._v(" "),t("li",[t("code",[e._v("currentItem")]),e._v(": Integer representing the item id of the item in the player's hand.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityteleport")]),e._v("\nCalled when the server teleports an entity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity.")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Integer representing the new x position of the entity.")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Integer representing the new y position of the entity.")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Integer representing the new z position of the entity.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the entity.")]),e._v(" "),t("li",[t("code",[e._v("onGround")]),e._v(": Boolean representing wether the entity is on the ground.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packethelditemchange")]),e._v("\nCalled when the server changes the item in your hand. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("heldItemHotbarIndex")]),e._v(": Integer representing the slot that needs updating.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentity")]),e._v("\nCalled when the server moves an entity. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Byte representing the x position of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Byte representing the y position of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Byte representing the z position of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("onGround")]),e._v(": Boolean representing wether the entity is on the ground.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityheadlook")]),e._v("\nCalled when the server changes an entity's head rotation. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity that is moving.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetdestroyentities")]),e._v("\nCalled when the server changes deletes some entities. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityIDs")]),e._v(": Integer array representing the entities to delete.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerposlook")]),e._v("\nCalled when the server changes the players position or look. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("x")]),e._v(": Number representing the new x position.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Number representing the new y position.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Number representing the new z position.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Number representing the new yaw rotation.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Number representing the new pitch rotation.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetmultiblockchange")]),e._v("\nCalled when the server changes the some blocks. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetchunkdata")]),e._v("\nCalled when the server sends the client chunk data. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("chunkX")]),e._v(": Integer representing the x coordinate of the new chunk.")]),e._v(" "),t("li",[t("code",[e._v("chunkZ")]),e._v(": Integer representing the z coordinate of the new chunk.")]),e._v(" "),t("li",[t("code",[e._v("extractedData")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ChunkData.html"}},[e._v("ChunkData")]),e._v(" representing the contents of the chunk.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetblockchange")]),e._v("\nCalled when the server sends the a block update. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("blockPosition")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the position of the block.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetdisconnect")]),e._v("\nCalled when the server sends a disconnect packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("reason")]),e._v(": String representing the disconnect reason.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")]),e._v(" "),t("li",[e._v("NOTE: The reason text length must be different in order for your changes to propagate.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcollectitem")]),e._v("\nCalled when the server sends a collect item packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity collecting the item.")]),e._v(" "),t("li",[t("code",[e._v("collectedItemEntityId")]),e._v(": Integer representing the entity id of the item being collected.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetchat")]),e._v("\nCalled when the server sends a chat message packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("type")]),e._v(": Byte indicating the type of chat message.")]),e._v(" "),t("li",[t("code",[e._v("chat")]),e._v(": String representing the content of the chat message.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")]),e._v(" "),t("li",[e._v("NOTE: The chat text length must be different in order for your changes to propagate.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetanimation")]),e._v("\nCalled when the server sends a animation packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("type")]),e._v(": Integer indicating the type of animation.")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity playing the animation.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetusebed")]),e._v("\nCalled when the server sends a 'use bed' packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("playerID")]),e._v(": Integer representing the entity id of the player using the bed.")]),e._v(" "),t("li",[t("code",[e._v("bedPos")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the position of the bed.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetspawnmob")]),e._v("\nCalled when the server sends a 'spawn mob' packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer representing the entity id of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": Integer representing the type of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("x")]),e._v(": Integer representing the x position of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer representing the y position of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer representing the z position of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("velocityX")]),e._v(": Integer representing the x velocity of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("velocityY")]),e._v(": Integer representing the y velocity of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("velocityZ")]),e._v(": Integer representing the z velocity of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("yaw")]),e._v(": Byte representing the yaw rotation of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Byte representing the pitch rotation of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("headPitch")]),e._v(": Byte representing the head pitch rotation of the entity being spawned.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packettimeupdate")]),e._v("\nCalled when the server sends a 'time update' packet. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("totalWorldTime")]),e._v(": Number representing the total world time. [read-only]")]),e._v(" "),t("li",[t("code",[e._v("worldTime")]),e._v(": Number representing the the world time. [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")]),e._v(" "),t("li",[e._v("(values are readonly because teavm cannot send "),t("code",[e._v("long")]),e._v(" values to JavaScript and back.)")])])])]),e._v(" "),t("p",[e._v("(Hey, umm... I started slacking off for writing the doc here. Sorry.)")]),e._v(" "),t("ul",[t("li",[t("p",[t("code",[e._v("packetspawnposition")]),e._v("\nCalled when the server sets the world spawn. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("spawnBlockPos")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")]),e._v(" representing the spawn position.")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityattatch")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("leash")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("vehicleEntityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentitystatus")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("logicOpcode")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatehealth")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("health")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("foodLevel")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("saturationLevel")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsetxp")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("totalExperience")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("level")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetrespawn")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("dimensionID")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("difficulty")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("gameType")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetexplosion")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("posX")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("strength")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetopenwindow")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("slotCount")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("inventoryType")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("windowTitle")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsetslot")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("slot")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("item")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetconfirmtransaction")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("actionNumber")]),e._v(": Short")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetwindowitems")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("itemStacks")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")]),e._v("[]")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsigneditoropen")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("signPosition")]),e._v(": [BlockPos]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatesign")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("blockPos")]),e._v(": [BlockPos]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatetileentity")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("blockPos")]),e._v(": [BlockPos]")]),e._v(" "),t("li",[t("code",[e._v("metadata")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetwindowproperty")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("varValue")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("varIndex")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityequipment")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityID")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("equipmentSlot")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("itemStack")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetclosewindow")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetblockaction")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("instrument")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("block")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockData.html"}},[e._v("BlockData")])],1),e._v(" "),t("li",[t("code",[e._v("blockPosition")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetblockbreakanim")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("breakerId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("progress")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("position")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetmapchunkbulk")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("xPositions")]),e._v(": Integer[]")]),e._v(" "),t("li",[t("code",[e._v("zPositions")]),e._v(": Integer[]")]),e._v(" "),t("li",[t("code",[e._v("chunksData")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ChunkData.html"}},[e._v("ChunkData")]),e._v("[]")],1),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetchangegamestate")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("state")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetmaps")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("mapId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapScale")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("mapMinX")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapMinY")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapMaxX")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapMaxY")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("mapVisiblePlayersVec4b")]),e._v(": Vec4b[]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packeteffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("soundType")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("soundData")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("soundPos")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),t("li",[t("code",[e._v("serverWide")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetstatistics")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityeffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("duration")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("effectId")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("amplifier")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("hideParticles")]),e._v(": Byte")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcombatevent")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("eventType")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("deathMessage")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetserverdifficulty")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("difficulty")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("difficultyLocked")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcamera")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetworldborder")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("action")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("size")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("centerX")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("centerZ")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("targetSize")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("diameter")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("warningTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("warningDistance")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("timeUntilTarget")]),e._v(": Number [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packettitle")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("type")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("message")]),e._v(": String [change-length]")]),e._v(" "),t("li",[t("code",[e._v("fadeInTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("displayTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("fadeOutTime")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsetcompressionlevel")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("threshold")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerlistheaderfooter")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("header")]),e._v(": String [change-length]")]),e._v(" "),t("li",[t("code",[e._v("footer")]),e._v(": String [change-length]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetremoveentityeffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("effectId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerlistitem")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("action")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("players")]),e._v(": Array of objects with properties:\n"),t("ul",[t("li",[t("code",[e._v("ping")]),e._v(": Integer [read-only]")]),e._v(" "),t("li",[t("code",[e._v("gamemode")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("displayNameFormatted")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("displayName")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("profileName")]),e._v(": String [read-only]")])])]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetkeepalive")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("id")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerabilities")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("flySpeed")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("walkSpeed")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("invulnerable")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("flying")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("creativeMode")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("allowFlying")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetplayerabilities")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("matches")]),e._v(": String[]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetsoundeffect")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("soundName")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("posX")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("posY")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("posZ")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("soundVolume")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("soundPitch")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetresourcepack")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("url")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("hash")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdateentitynbt")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("nbt")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetcustompayload")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("channel")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetscoreboardobjective")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("objectiveName")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("objectiveValue")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("type")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetupdatescore")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("name")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("objective")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("value")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("action")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetdisplayscoreboard")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("scoreName")]),e._v(": String")]),e._v(" "),t("li",[t("code",[e._v("position")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetteams")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".\n(Note: the packet is obfuscated, so i got no clue what its supposed to be)")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetparticles")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("particleType")]),e._v(": String [read-only]")]),e._v(" "),t("li",[t("code",[e._v("xCoord")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("yCoord")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("zCoord")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("xOffset")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("yOffset")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("zOffset")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("particleSpeed")]),e._v(": Number")]),e._v(" "),t("li",[t("code",[e._v("particleCount")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("longDistance")]),e._v(": Boolean")]),e._v(" "),t("li",[t("code",[e._v("particleArguments")]),e._v(": Integer[]")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("packetentityproperties")])]),e._v(" "),t("ul",[t("li",[t("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])])])])}),[],!1,null,null,null);t.default=v.exports}}]); \ No newline at end of file diff --git a/assets/js/18.69f3013e.js b/assets/js/18.69f3013e.js deleted file mode 100644 index 5775bad..0000000 --- a/assets/js/18.69f3013e.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{292:function(e,t,n){"use strict";n.r(t);var a=n(14),s=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-addeventlistener-string-eventname-function-callback"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-addeventlistener-string-eventname-function-callback"}},[e._v("#")]),e._v(" PluginAPI.addEventListener(String eventName, Function callback)")]),e._v(" "),t("p",[e._v("This method is used to add event listeners to the event name specified.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-eventname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-eventname"}},[e._v("#")]),e._v(" (String) eventName")]),e._v(" "),t("p",[e._v("This argument is used to specify internally which listener array to add the callback to.\nIt has the following valid values:")]),e._v(" "),t("ul",[t("li",[t("p",[t("code",[e._v("event")]),e._v("\nCalled when any event is called. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("event")]),e._v(": String representing the type of event being fired.")]),e._v(" "),t("li",[t("code",[e._v("data")]),e._v(": Object representing the original arguments to be passed to the callback.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("gui")]),e._v("\nCalled when the Plugin Manager GUI shows up. No arguments passed to callback.")])]),e._v(" "),t("li",[t("p",[t("code",[e._v("update")]),e._v("\nCalled every client tick. No arguments passed to callback.")])]),e._v(" "),t("li",[t("p",[t("code",[e._v("sendchatmessage")]),e._v("\nCalled just before the player sends a chat message. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("message")]),e._v(": String representing the chat message.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault:")]),e._v(" Boolean representing whether or not to cancel sending the packet. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("postmotionupdate")]),e._v("\nCalled after player motion is updated. No arguments passed to callback.")])]),e._v(" "),t("li",[t("p",[t("code",[e._v("premotionupdate")]),e._v("\nCalled before player motion is updated. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("yaw")]),e._v(": Number representing the player's yaw rotation.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Number representing the player's pitch rotation.")]),e._v(" "),t("li",[t("code",[e._v("onGround")]),e._v(": Boolean representing whether the player is on ground or not.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("key")]),e._v("\nCalled when a special keypress is detected. ie: not "),t("code",[e._v("esc")]),e._v(" or "),t("code",[e._v("open chat")]),e._v(", like "),t("code",[e._v("f3")]),e._v(" or the letter "),t("code",[e._v("J")]),e._v(".\nPasses an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("key")]),e._v(": Integer representing the LWJGL key code.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to prevent the default action for this key (if any).")])])])]),e._v(" "),t("p",[e._v("More events:\n"),t("RouterLink",{attrs:{to:"/plugindocs/events/FromServerEvents.html"}},[e._v("Receiving packet events")]),e._v(" "),t("RouterLink",{attrs:{to:"/plugindocs/events/ToServerEvents.html"}},[e._v("Sending packet events")])],1),e._v(" "),t("h3",{attrs:{id:"function-callback"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#function-callback"}},[e._v("#")]),e._v(" (Function) Callback")]),e._v(" "),t("p",[e._v("The function to call when this event fires.")])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/17.cfec02c1.js b/assets/js/18.93bbd570.js similarity index 99% rename from assets/js/17.cfec02c1.js rename to assets/js/18.93bbd570.js index 4e842f5..c01a9d9 100644 --- a/assets/js/17.cfec02c1.js +++ b/assets/js/18.93bbd570.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{291:function(e,v,_){"use strict";_.r(v);var o=_(14),t=Object(o.a)({},(function(){var e=this,v=e._self._c;return v("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[v("h1",{attrs:{id:"sending-packet-events"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#sending-packet-events"}},[e._v("#")]),e._v(" Sending packet events")]),e._v(" "),v("p",[e._v("Events called by packets being sent to the server by the client.")]),e._v(" "),v("ul",[v("li",[v("p",[v("code",[e._v("sendpacketanimation")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketentityaction")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("entityID")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("auxData")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("action")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketinput")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("strafeSpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("forwardSpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("jumping")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("sneaking")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclosewindow")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclickwindow")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("slotId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("usedButton")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("actionNumber")]),e._v(": Short")]),e._v(" "),v("li",[v("code",[e._v("mode")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("clickedItem")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketconfirmtransaction")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("accepted")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("uid")]),e._v(": Short")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketkeepalive")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("key")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketchatmessage")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("message")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketuseentity")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("action")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("INTERACT")]),e._v(", "),v("code",[e._v("ATTACK")]),e._v(", "),v("code",[e._v("INTERACT_AT")])])])]),e._v(" "),v("li",[v("code",[e._v("hitVec")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/Vec3.html"}},[e._v("Vec3")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerposition")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerlook")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerposlook")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayer")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerdigging")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("position")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("facing")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("UP")]),e._v(", "),v("code",[e._v("DOWN")]),e._v(", "),v("code",[e._v("NORTH")]),e._v(", "),v("code",[e._v("SOUTH")]),e._v(", "),v("code",[e._v("EAST")]),e._v(", "),v("code",[e._v("WEST")])])])]),e._v(" "),v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("START_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("ABORT_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("STOP_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("DROP_ALL_ITEMS")]),e._v(", "),v("code",[e._v("DROP_ITEM")]),e._v(" or "),v("code",[e._v("RELEASE_USE_ITEM")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerdigging")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("position")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("facing")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("UP")]),e._v(", "),v("code",[e._v("DOWN")]),e._v(", "),v("code",[e._v("NORTH")]),e._v(", "),v("code",[e._v("SOUTH")]),e._v(", "),v("code",[e._v("EAST")]),e._v(", "),v("code",[e._v("WEST")])])])]),e._v(" "),v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("START_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("ABORT_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("STOP_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("DROP_ALL_ITEMS")]),e._v(", "),v("code",[e._v("DROP_ITEM")]),e._v(" or "),v("code",[e._v("RELEASE_USE_ITEM")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerblockplacement")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("position")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("placedBlockDirection")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("facingX")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("facingY")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("facingZ")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("stack")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpackethelditemchange")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("slotId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketcreativeinventoryaction")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("slotId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("stack")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketenchantitem")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("button")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketupdatesign")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("pos")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("lines")]),e._v(": String[] [change-length]")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerabilities")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("invulnerable")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("flying")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("allowFlying")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("creativeMode")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("flySpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("walkSpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpackettabcomplete")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("message")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("targetBlock")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclientsettings")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("lang")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("view")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("chatVisibility")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("FULL")]),e._v(", "),v("code",[e._v("SYSTEM")]),e._v(" or "),v("code",[e._v("HIDDEN")])])])]),e._v(" "),v("li",[v("code",[e._v("enableColors")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("modelPartFlags")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclientstatus")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("PERFORM_RESPAWN")]),e._v(", "),v("code",[e._v("REQUEST_STATS")]),e._v(" or "),v("code",[e._v("OPEN_INVENTORY_ACHIEVEMENT")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketcustompayload")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("channel")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketspectate")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("id")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketresourcepackstatus")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("hash")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("SUCCESSFULLY_LOADED")]),e._v(", "),v("code",[e._v("DECLINED")]),e._v(", "),v("code",[e._v("FAILED_DOWNLOAD")]),e._v(", "),v("code",[e._v("ACCEPTED")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])])])])}),[],!1,null,null,null);v.default=t.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{292:function(e,v,_){"use strict";_.r(v);var o=_(14),t=Object(o.a)({},(function(){var e=this,v=e._self._c;return v("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[v("h1",{attrs:{id:"sending-packet-events"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#sending-packet-events"}},[e._v("#")]),e._v(" Sending packet events")]),e._v(" "),v("p",[e._v("Events called by packets being sent to the server by the client.")]),e._v(" "),v("ul",[v("li",[v("p",[v("code",[e._v("sendpacketanimation")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketentityaction")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("entityID")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("auxData")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("action")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketinput")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("strafeSpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("forwardSpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("jumping")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("sneaking")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclosewindow")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclickwindow")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("slotId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("usedButton")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("actionNumber")]),e._v(": Short")]),e._v(" "),v("li",[v("code",[e._v("mode")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("clickedItem")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketconfirmtransaction")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("accepted")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("uid")]),e._v(": Short")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketkeepalive")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("key")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketchatmessage")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("message")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketuseentity")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("entityId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("action")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("INTERACT")]),e._v(", "),v("code",[e._v("ATTACK")]),e._v(", "),v("code",[e._v("INTERACT_AT")])])])]),e._v(" "),v("li",[v("code",[e._v("hitVec")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/Vec3.html"}},[e._v("Vec3")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerposition")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerlook")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerposlook")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayer")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("x")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("y")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("z")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("yaw")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("pitch")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("onGround")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("moving")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("rotating")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerdigging")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("position")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("facing")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("UP")]),e._v(", "),v("code",[e._v("DOWN")]),e._v(", "),v("code",[e._v("NORTH")]),e._v(", "),v("code",[e._v("SOUTH")]),e._v(", "),v("code",[e._v("EAST")]),e._v(", "),v("code",[e._v("WEST")])])])]),e._v(" "),v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("START_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("ABORT_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("STOP_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("DROP_ALL_ITEMS")]),e._v(", "),v("code",[e._v("DROP_ITEM")]),e._v(" or "),v("code",[e._v("RELEASE_USE_ITEM")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerdigging")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("position")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("facing")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("UP")]),e._v(", "),v("code",[e._v("DOWN")]),e._v(", "),v("code",[e._v("NORTH")]),e._v(", "),v("code",[e._v("SOUTH")]),e._v(", "),v("code",[e._v("EAST")]),e._v(", "),v("code",[e._v("WEST")])])])]),e._v(" "),v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("START_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("ABORT_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("STOP_DESTROY_BLOCK")]),e._v(", "),v("code",[e._v("DROP_ALL_ITEMS")]),e._v(", "),v("code",[e._v("DROP_ITEM")]),e._v(" or "),v("code",[e._v("RELEASE_USE_ITEM")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerblockplacement")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("position")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("placedBlockDirection")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("facingX")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("facingY")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("facingZ")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("stack")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpackethelditemchange")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("slotId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketcreativeinventoryaction")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("slotId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("stack")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketenchantitem")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("windowId")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("button")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketupdatesign")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("pos")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("lines")]),e._v(": String[] [change-length]")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketplayerabilities")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("invulnerable")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("flying")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("allowFlying")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("creativeMode")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("flySpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("walkSpeed")]),e._v(": Number")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpackettabcomplete")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("message")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("targetBlock")]),e._v(": "),v("RouterLink",{attrs:{to:"/plugindocs/globals/BlockPos.html"}},[e._v("BlockPos")])],1),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclientsettings")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("lang")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("view")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("chatVisibility")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("FULL")]),e._v(", "),v("code",[e._v("SYSTEM")]),e._v(" or "),v("code",[e._v("HIDDEN")])])])]),e._v(" "),v("li",[v("code",[e._v("enableColors")]),e._v(": Boolean")]),e._v(" "),v("li",[v("code",[e._v("modelPartFlags")]),e._v(": Integer")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketclientstatus")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("PERFORM_RESPAWN")]),e._v(", "),v("code",[e._v("REQUEST_STATS")]),e._v(" or "),v("code",[e._v("OPEN_INVENTORY_ACHIEVEMENT")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketcustompayload")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("channel")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketspectate")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("id")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])]),e._v(" "),v("li",[v("p",[v("code",[e._v("sendpacketresourcepackstatus")])]),e._v(" "),v("ul",[v("li",[v("code",[e._v("hash")]),e._v(": String")]),e._v(" "),v("li",[v("code",[e._v("status")]),e._v(": String\n"),v("ul",[v("li",[e._v("Can be one of: "),v("code",[e._v("SUCCESSFULLY_LOADED")]),e._v(", "),v("code",[e._v("DECLINED")]),e._v(", "),v("code",[e._v("FAILED_DOWNLOAD")]),e._v(", "),v("code",[e._v("ACCEPTED")])])])]),e._v(" "),v("li",[v("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel processing the packet. Default is "),v("code",[e._v("false")]),e._v(".")])])])])])}),[],!1,null,null,null);v.default=t.exports}}]); \ No newline at end of file diff --git a/assets/js/19.68334a07.js b/assets/js/19.68334a07.js new file mode 100644 index 0000000..73424ff --- /dev/null +++ b/assets/js/19.68334a07.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{293:function(e,t,n){"use strict";n.r(t);var a=n(14),s=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-addeventlistener-string-eventname-function-callback"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-addeventlistener-string-eventname-function-callback"}},[e._v("#")]),e._v(" PluginAPI.addEventListener(String eventName, Function callback)")]),e._v(" "),t("p",[e._v("This method is used to add event listeners to the event name specified.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-eventname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-eventname"}},[e._v("#")]),e._v(" (String) eventName")]),e._v(" "),t("p",[e._v("This argument is used to specify internally which listener array to add the callback to.\nIt has the following valid values:")]),e._v(" "),t("ul",[t("li",[t("p",[t("code",[e._v("event")]),e._v("\nCalled when any event is called. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("event")]),e._v(": String representing the type of event being fired.")]),e._v(" "),t("li",[t("code",[e._v("data")]),e._v(": Object representing the original arguments to be passed to the callback.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("gui")]),e._v("\nCalled when the Plugin Manager GUI shows up. No arguments passed to callback.")])]),e._v(" "),t("li",[t("p",[t("code",[e._v("load")]),e._v("\nCalled when all plugins have finished loading.")])]),e._v(" "),t("li",[t("p",[t("code",[e._v("update")]),e._v("\nCalled every client tick. No arguments passed to callback.")])]),e._v(" "),t("li",[t("p",[t("code",[e._v("sendchatmessage")]),e._v("\nCalled just before the player sends a chat message. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("message")]),e._v(": String representing the chat message.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault:")]),e._v(" Boolean representing whether or not to cancel processing the chat message. Default is "),t("code",[e._v("false")]),e._v(".")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("postmotionupdate")]),e._v("\nCalled after player motion is updated. No arguments passed to callback.")])]),e._v(" "),t("li",[t("p",[t("code",[e._v("motionupdate")]),e._v("\nCalled on motion update.")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to cancel sending motion updates to the server.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("premotionupdate")]),e._v("\nCalled before player motion is updated. Passes an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("yaw")]),e._v(": Number representing the player's yaw rotation.")]),e._v(" "),t("li",[t("code",[e._v("pitch")]),e._v(": Number representing the player's pitch rotation.")]),e._v(" "),t("li",[t("code",[e._v("onGround")]),e._v(": Boolean representing whether the player is on ground or not.")])])]),e._v(" "),t("li",[t("p",[t("code",[e._v("key")]),e._v("\nCalled when a special keypress is detected. ie: not "),t("code",[e._v("esc")]),e._v(" or "),t("code",[e._v("open chat")]),e._v(", like "),t("code",[e._v("f3")]),e._v(" or the letter "),t("code",[e._v("J")]),e._v(".\nPasses an object with properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("key")]),e._v(": Integer representing the LWJGL key code.")]),e._v(" "),t("li",[t("code",[e._v("preventDefault")]),e._v(": Boolean representing whether or not to prevent the default action for this key (if any).")])])])]),e._v(" "),t("h3",{attrs:{id:"more-events"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#more-events"}},[e._v("#")]),e._v(" More events:")]),e._v(" "),t("p",[t("RouterLink",{attrs:{to:"/plugindocs/events/FromServerEvents.html"}},[e._v("Receiving packet events")])],1),e._v(" "),t("p",[t("RouterLink",{attrs:{to:"/plugindocs/events/ToServerEvents.html"}},[e._v("Sending packet events")])],1),e._v(" "),t("h3",{attrs:{id:"function-callback"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#function-callback"}},[e._v("#")]),e._v(" (Function) Callback")]),e._v(" "),t("p",[e._v("The function to call when this event fires.")])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/19.77acdbb5.js b/assets/js/20.073660c4.js similarity index 97% rename from assets/js/19.77acdbb5.js rename to assets/js/20.073660c4.js index 94f2aaa..42a9795 100644 --- a/assets/js/19.77acdbb5.js +++ b/assets/js/20.073660c4.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{293:function(e,t,n){"use strict";n.r(t);var a=n(14),s=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-removeeventlistener-string-eventname-function-callback-boolean-slow"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-removeeventlistener-string-eventname-function-callback-boolean-slow"}},[e._v("#")]),e._v(" PluginAPI.removeEventListener(String eventName, Function callback, Boolean slow?)")]),e._v(" "),t("p",[e._v("This method is used to add event listeners to the event name specified.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-eventname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-eventname"}},[e._v("#")]),e._v(" (String) eventName")]),e._v(" "),t("p",[e._v("Type of event to remove the listener from. Types of events are listed "),t("RouterLink",{attrs:{to:"/plugindocs/events/addEventListener.html"}},[e._v("here")])],1),e._v(" "),t("h3",{attrs:{id:"function-callback"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#function-callback"}},[e._v("#")]),e._v(" (Function) callback")]),e._v(" "),t("p",[e._v("The function to remove from the event listener array.")]),e._v(" "),t("h3",{attrs:{id:"optional-boolean-slow"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#optional-boolean-slow"}},[e._v("#")]),e._v(" [Optional] (Boolean) slow")]),e._v(" "),t("p",[e._v("Wether or not to use the functions definition rather than it's reference to look in the listener array. Much slower with it on, but still fast. Do not use if events need to be added and removed rapidly.")]),e._v(" "),t("p",[e._v("Example where it is not necessary:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v('function myListener() {\n // idk\n}\nPluginAPI.addEventListener("update", myListener);\nPluginAPI.removeEventListener("update", myListener);\n')])])]),t("p",[e._v("Example where it is necessary:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v('PluginAPI.addEventListener("update", function myListener() {\n // idk\n});\nPluginAPI.removeEventListener("update", function myListener() {\n // idk\n});\n')])])])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{294:function(e,t,n){"use strict";n.r(t);var a=n(14),s=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-removeeventlistener-string-eventname-function-callback-boolean-slow"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-removeeventlistener-string-eventname-function-callback-boolean-slow"}},[e._v("#")]),e._v(" PluginAPI.removeEventListener(String eventName, Function callback, Boolean slow?)")]),e._v(" "),t("p",[e._v("This method is used to add event listeners to the event name specified.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-eventname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-eventname"}},[e._v("#")]),e._v(" (String) eventName")]),e._v(" "),t("p",[e._v("Type of event to remove the listener from. Types of events are listed "),t("RouterLink",{attrs:{to:"/plugindocs/events/addEventListener.html"}},[e._v("here")])],1),e._v(" "),t("h3",{attrs:{id:"function-callback"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#function-callback"}},[e._v("#")]),e._v(" (Function) callback")]),e._v(" "),t("p",[e._v("The function to remove from the event listener array.")]),e._v(" "),t("h3",{attrs:{id:"optional-boolean-slow"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#optional-boolean-slow"}},[e._v("#")]),e._v(" [Optional] (Boolean) slow")]),e._v(" "),t("p",[e._v("Wether or not to use the functions definition rather than it's reference to look in the listener array. Much slower with it on, but still fast. Do not use if events need to be added and removed rapidly.")]),e._v(" "),t("p",[e._v("Example where it is not necessary:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v('function myListener() {\n // idk\n}\nPluginAPI.addEventListener("update", myListener);\nPluginAPI.removeEventListener("update", myListener);\n')])])]),t("p",[e._v("Example where it is necessary:")]),e._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[e._v('PluginAPI.addEventListener("update", function myListener() {\n // idk\n});\nPluginAPI.removeEventListener("update", function myListener() {\n // idk\n});\n')])])])])}),[],!1,null,null,null);t.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/20.51cc38ef.js b/assets/js/21.968289e2.js similarity index 97% rename from assets/js/20.51cc38ef.js rename to assets/js/21.968289e2.js index 53af7b7..0e8624f 100644 --- a/assets/js/20.51cc38ef.js +++ b/assets/js/21.968289e2.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{294:function(e,n,o){"use strict";o.r(n);var i=o(14),t=Object(i.a)({},(function(){var e=this,n=e._self._c;return n("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[n("h1",{attrs:{id:"axisalignedbb"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#axisalignedbb"}},[e._v("#")]),e._v(" AxisAlignedBB")]),e._v(" "),n("p",[e._v("Used to represent bounding boxes.")]),e._v(" "),n("h3",{attrs:{id:"constructor"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),n("p",[e._v("PluginAPI.contructors.AxisAlignedBB({x1: Number, y1: Number, z1: Number, x2: Number, y2: Number, z2: Number})")]),e._v(" "),n("p",[e._v("Has the following properties:")]),e._v(" "),n("ul",[n("li",[n("code",[e._v("minX")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("minX")])]),e._v(" "),n("li",[n("code",[e._v("minY")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("minY")])]),e._v(" "),n("li",[n("code",[e._v("minZ")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("minZ")])]),e._v(" "),n("li",[n("code",[e._v("maxX")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("maxX")])]),e._v(" "),n("li",[n("code",[e._v("maxY")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("maxY")])]),e._v(" "),n("li",[n("code",[e._v("maxZ")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("maxZ")])])]),e._v(" "),n("p",[e._v("It has the following methods:")]),e._v(" "),n("ul",[n("li",[n("code",[e._v("addCoord({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("contract({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("expand({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("offset({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("getAverageEdgeLength() : number")])]),e._v(" "),n("li",[n("code",[e._v("toString() : string")])]),e._v(" "),n("li",[n("code",[e._v("intersectsWith([AxisAlignedBB](AxisAlignedBB.md)) : boolean")])]),e._v(" "),n("li",[n("code",[e._v("isVecInside([Vec3](Vec3.md)) : boolean")])])])])}),[],!1,null,null,null);n.default=t.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{295:function(e,n,o){"use strict";o.r(n);var i=o(14),t=Object(i.a)({},(function(){var e=this,n=e._self._c;return n("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[n("h1",{attrs:{id:"axisalignedbb"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#axisalignedbb"}},[e._v("#")]),e._v(" AxisAlignedBB")]),e._v(" "),n("p",[e._v("Used to represent bounding boxes.")]),e._v(" "),n("h3",{attrs:{id:"constructor"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),n("p",[e._v("PluginAPI.contructors.AxisAlignedBB({x1: Number, y1: Number, z1: Number, x2: Number, y2: Number, z2: Number})")]),e._v(" "),n("p",[e._v("Has the following properties:")]),e._v(" "),n("ul",[n("li",[n("code",[e._v("minX")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("minX")])]),e._v(" "),n("li",[n("code",[e._v("minY")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("minY")])]),e._v(" "),n("li",[n("code",[e._v("minZ")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("minZ")])]),e._v(" "),n("li",[n("code",[e._v("maxX")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("maxX")])]),e._v(" "),n("li",[n("code",[e._v("maxY")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("maxY")])]),e._v(" "),n("li",[n("code",[e._v("maxZ")]),e._v(": Number: equal to the bounding box's "),n("code",[e._v("maxZ")])])]),e._v(" "),n("p",[e._v("It has the following methods:")]),e._v(" "),n("ul",[n("li",[n("code",[e._v("addCoord({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("contract({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("expand({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("offset({x: number, y: number, z: number}) : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),n("li",[n("code",[e._v("getAverageEdgeLength() : number")])]),e._v(" "),n("li",[n("code",[e._v("toString() : string")])]),e._v(" "),n("li",[n("code",[e._v("intersectsWith([AxisAlignedBB](AxisAlignedBB.md)) : boolean")])]),e._v(" "),n("li",[n("code",[e._v("isVecInside([Vec3](Vec3.md)) : boolean")])])])])}),[],!1,null,null,null);n.default=t.exports}}]); \ No newline at end of file diff --git a/assets/js/21.696afe42.js b/assets/js/22.a581bdf8.js similarity index 89% rename from assets/js/21.696afe42.js rename to assets/js/22.a581bdf8.js index 08f252f..0f53357 100644 --- a/assets/js/21.696afe42.js +++ b/assets/js/22.a581bdf8.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{295:function(e,o,l){"use strict";l.r(o);var t=l(14),c=Object(t.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"blockdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#blockdata"}},[e._v("#")]),e._v(" BlockData")]),e._v(" "),o("p",[e._v("Used to represent a block.")]),e._v(" "),o("p",[e._v("Has the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("unlocalizedName")]),e._v(": String: equal to the block's "),o("code",[e._v("unlocalizedName")])]),e._v(" "),o("li",[o("code",[e._v("slipperiness")]),e._v(": Number: equal to the block's "),o("code",[e._v("slipperiness")])]),e._v(" "),o("li",[o("code",[e._v("blockParticleGravity")]),e._v(": Number: equal to the block's "),o("code",[e._v("blockParticleGravity")])]),e._v(" "),o("li",[o("code",[e._v("minX")]),e._v(": Number: equal to the block's "),o("code",[e._v("minX")])]),e._v(" "),o("li",[o("code",[e._v("minY")]),e._v(": Number: equal to the block's "),o("code",[e._v("minY")])]),e._v(" "),o("li",[o("code",[e._v("minZ")]),e._v(": Number: equal to the block's "),o("code",[e._v("minZ")])]),e._v(" "),o("li",[o("code",[e._v("maxX")]),e._v(": Number: equal to the block's "),o("code",[e._v("maxX")])]),e._v(" "),o("li",[o("code",[e._v("maxY")]),e._v(": Number: equal to the block's "),o("code",[e._v("maxY")])]),e._v(" "),o("li",[o("code",[e._v("maxZ")]),e._v(": Number: equal to the block's "),o("code",[e._v("maxZ")])]),e._v(" "),o("li",[o("code",[e._v("blockMaterial")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/MaterialData.html"}},[e._v("MaterialData")]),e._v(": represents the blocks material.")],1),e._v(" "),o("li",[o("code",[e._v("enableStats")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("enableStats")])]),e._v(" "),o("li",[o("code",[e._v("needsRandomTick")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("needsRandomTick")])]),e._v(" "),o("li",[o("code",[e._v("isBlockContainer")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("isBlockContainer")])]),e._v(" "),o("li",[o("code",[e._v("useNeighborBrightness")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("useNeighborBrightness")])]),e._v(" "),o("li",[o("code",[e._v("translucent")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("translucent")])]),e._v(" "),o("li",[o("code",[e._v("fullBlock")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("fullBlock")])]),e._v(" "),o("li",[o("code",[e._v("lightOpacity")]),e._v(": Integer: equal to the block's "),o("code",[e._v("lightOpacity")])]),e._v(" "),o("li",[o("code",[e._v("lightValue")]),e._v(": Integer: equal to the block's "),o("code",[e._v("lightValue")])]),e._v(" "),o("li",[o("code",[e._v("blockHardness")]),e._v(": Integer: equal to the block's "),o("code",[e._v("blockHardness")])]),e._v(" "),o("li",[o("code",[e._v("blockResistance")]),e._v(": Integer: equal to the block's "),o("code",[e._v("blockResistance")])]),e._v(" "),o("li",[o("code",[e._v("noRender")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("noRender")])]),e._v(" "),o("li",[o("code",[e._v("forceRender")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("forceRender")])])]),e._v(" "),o("p",[e._v("It has the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("getID() : Integer")])])])])}),[],!1,null,null,null);o.default=c.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{296:function(e,o,l){"use strict";l.r(o);var t=l(14),c=Object(t.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"blockdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#blockdata"}},[e._v("#")]),e._v(" BlockData")]),e._v(" "),o("p",[e._v("Used to represent a block.")]),e._v(" "),o("p",[e._v("Has the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("unlocalizedName")]),e._v(": String: equal to the block's "),o("code",[e._v("unlocalizedName")])]),e._v(" "),o("li",[o("code",[e._v("slipperiness")]),e._v(": Number: equal to the block's "),o("code",[e._v("slipperiness")])]),e._v(" "),o("li",[o("code",[e._v("blockParticleGravity")]),e._v(": Number: equal to the block's "),o("code",[e._v("blockParticleGravity")])]),e._v(" "),o("li",[o("code",[e._v("minX")]),e._v(": Number: equal to the block's "),o("code",[e._v("minX")])]),e._v(" "),o("li",[o("code",[e._v("minY")]),e._v(": Number: equal to the block's "),o("code",[e._v("minY")])]),e._v(" "),o("li",[o("code",[e._v("minZ")]),e._v(": Number: equal to the block's "),o("code",[e._v("minZ")])]),e._v(" "),o("li",[o("code",[e._v("maxX")]),e._v(": Number: equal to the block's "),o("code",[e._v("maxX")])]),e._v(" "),o("li",[o("code",[e._v("maxY")]),e._v(": Number: equal to the block's "),o("code",[e._v("maxY")])]),e._v(" "),o("li",[o("code",[e._v("maxZ")]),e._v(": Number: equal to the block's "),o("code",[e._v("maxZ")])]),e._v(" "),o("li",[o("code",[e._v("blockMaterial")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/MaterialData.html"}},[e._v("MaterialData")]),e._v(": represents the blocks material.")],1),e._v(" "),o("li",[o("code",[e._v("enableStats")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("enableStats")])]),e._v(" "),o("li",[o("code",[e._v("needsRandomTick")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("needsRandomTick")])]),e._v(" "),o("li",[o("code",[e._v("isBlockContainer")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("isBlockContainer")])]),e._v(" "),o("li",[o("code",[e._v("useNeighborBrightness")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("useNeighborBrightness")])]),e._v(" "),o("li",[o("code",[e._v("translucent")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("translucent")])]),e._v(" "),o("li",[o("code",[e._v("fullBlock")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("fullBlock")])]),e._v(" "),o("li",[o("code",[e._v("lightOpacity")]),e._v(": Integer: equal to the block's "),o("code",[e._v("lightOpacity")])]),e._v(" "),o("li",[o("code",[e._v("lightValue")]),e._v(": Integer: equal to the block's "),o("code",[e._v("lightValue")])]),e._v(" "),o("li",[o("code",[e._v("blockHardness")]),e._v(": Integer: equal to the block's "),o("code",[e._v("blockHardness")])]),e._v(" "),o("li",[o("code",[e._v("blockResistance")]),e._v(": Integer: equal to the block's "),o("code",[e._v("blockResistance")])]),e._v(" "),o("li",[o("code",[e._v("noRender")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("noRender")])]),e._v(" "),o("li",[o("code",[e._v("forceRender")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("forceRender")])]),e._v(" "),o("li",[o("code",[e._v("fullCube")]),e._v(": Boolean: equal to the block's "),o("code",[e._v("fullCube")])])]),e._v(" "),o("p",[e._v("It has the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("getID() : Integer")])])])])}),[],!1,null,null,null);o.default=c.exports}}]); \ No newline at end of file diff --git a/assets/js/22.981422e8.js b/assets/js/23.dcd7eb65.js similarity index 95% rename from assets/js/22.981422e8.js rename to assets/js/23.dcd7eb65.js index d3100e6..d13e6eb 100644 --- a/assets/js/22.981422e8.js +++ b/assets/js/23.dcd7eb65.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{296:function(o,t,e){"use strict";e.r(t);var s=e(14),n=Object(s.a)({},(function(){var o=this,t=o._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":o.$parent.slotKey}},[t("h1",{attrs:{id:"blockpos"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#blockpos"}},[o._v("#")]),o._v(" BlockPos")]),o._v(" "),t("p",[o._v("Represents a block position.")]),o._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[o._v("#")]),o._v(" Constructor:")]),o._v(" "),t("p",[o._v("PluginAPI.contructors.BlockPos({x: Integer, y: Integer, z: Integer})")]),o._v(" "),t("p",[o._v("Has all of the properties and methods of "),t("RouterLink",{attrs:{to:"/plugindocs/globals/Vec3i.html"}},[o._v("Vec3i")])],1),o._v(" "),t("p",[o._v("Has the following methods:")]),o._v(" "),t("ul",[t("li",[t("code",[o._v("add(x: Integer, y: Integer, z: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("up(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("down(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("north(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("south(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("east(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("west(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("getBlock() : Block")])])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{297:function(o,t,e){"use strict";e.r(t);var s=e(14),n=Object(s.a)({},(function(){var o=this,t=o._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":o.$parent.slotKey}},[t("h1",{attrs:{id:"blockpos"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#blockpos"}},[o._v("#")]),o._v(" BlockPos")]),o._v(" "),t("p",[o._v("Represents a block position.")]),o._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[o._v("#")]),o._v(" Constructor:")]),o._v(" "),t("p",[o._v("PluginAPI.contructors.BlockPos({x: Integer, y: Integer, z: Integer})")]),o._v(" "),t("p",[o._v("Has all of the properties and methods of "),t("RouterLink",{attrs:{to:"/plugindocs/globals/Vec3i.html"}},[o._v("Vec3i")])],1),o._v(" "),t("p",[o._v("Has the following methods:")]),o._v(" "),t("ul",[t("li",[t("code",[o._v("add(x: Integer, y: Integer, z: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("up(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("down(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("north(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("south(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("east(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("west(n: Integer) : BlockPos")])]),o._v(" "),t("li",[t("code",[o._v("getBlock() : Block")])])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/23.67677f2a.js b/assets/js/24.5bc4cb03.js similarity index 90% rename from assets/js/23.67677f2a.js rename to assets/js/24.5bc4cb03.js index 2a4f67b..096034c 100644 --- a/assets/js/23.67677f2a.js +++ b/assets/js/24.5bc4cb03.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{297:function(t,a,e){"use strict";e.r(a);var n=e(14),s=Object(n.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"chunkdata"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#chunkdata"}},[t._v("#")]),t._v(" ChunkData")]),t._v(" "),a("p",[t._v("Represents chunk data from a packet.")]),t._v(" "),a("p",[t._v("Has the following properties:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("data : Byte[]")])]),t._v(" "),a("li",[a("code",[t._v("dataSize : Integer")])])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{298:function(t,a,e){"use strict";e.r(a);var n=e(14),s=Object(n.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"chunkdata"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#chunkdata"}},[t._v("#")]),t._v(" ChunkData")]),t._v(" "),a("p",[t._v("Represents chunk data from a packet.")]),t._v(" "),a("p",[t._v("Has the following properties:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("data : Byte[]")])]),t._v(" "),a("li",[a("code",[t._v("dataSize : Integer")])])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/24.52673517.js b/assets/js/25.904a73d8.js similarity index 91% rename from assets/js/24.52673517.js rename to assets/js/25.904a73d8.js index 1e3373c..6774614 100644 --- a/assets/js/24.52673517.js +++ b/assets/js/25.904a73d8.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{298:function(t,a,e){"use strict";e.r(a);var n=e(14),r=Object(n.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"containerdata"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#containerdata"}},[t._v("#")]),t._v(" ContainerData")]),t._v(" "),a("p",[t._v("Represents a container.")]),t._v(" "),a("p",[t._v("Has the following properties:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("inventoryItemStacks : [ItemStackData](ItemStackData.md)[]")])])]),t._v(" "),a("p",[t._v("And the following methods:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("getPlayerList() : [PlayerData](PlayerData.md)[]")])])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{299:function(t,a,e){"use strict";e.r(a);var n=e(14),r=Object(n.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"containerdata"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#containerdata"}},[t._v("#")]),t._v(" ContainerData")]),t._v(" "),a("p",[t._v("Represents a container.")]),t._v(" "),a("p",[t._v("Has the following properties:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("inventoryItemStacks : [ItemStackData](ItemStackData.md)[]")])])]),t._v(" "),a("p",[t._v("And the following methods:")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("getPlayerList() : [PlayerData](PlayerData.md)[]")])])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/25.cb2137bb.js b/assets/js/26.ffe9cbd5.js similarity index 91% rename from assets/js/25.cb2137bb.js rename to assets/js/26.ffe9cbd5.js index 7a21607..603c967 100644 --- a/assets/js/25.cb2137bb.js +++ b/assets/js/26.ffe9cbd5.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{299:function(t,a,e){"use strict";e.r(a);var o=e(14),s=Object(o.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"data"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#data"}},[t._v("#")]),t._v(" Data")]),t._v(" "),a("p",[t._v("Data is the parent of all other types of data, so all types of data share the "),a("code",[t._v("reload()")]),t._v(" method. Reload is used to force reload the data in-game.\nAlmost all data objects also have a "),a("code",[t._v("getRef()")]),t._v(" method. "),a("code",[t._v("getRef()")]),t._v(" is used to get the java object.")])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{300:function(t,a,e){"use strict";e.r(a);var o=e(14),s=Object(o.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"data"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#data"}},[t._v("#")]),t._v(" Data")]),t._v(" "),a("p",[t._v("Data is the parent of all other types of data, so all types of data share the "),a("code",[t._v("reload()")]),t._v(" method. Reload is used to force reload the data in-game.\nAlmost all data objects also have a "),a("code",[t._v("getRef()")]),t._v(" method. "),a("code",[t._v("getRef()")]),t._v(" is used to get the java object.")])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/26.d16dd1c6.js b/assets/js/27.d6295729.js similarity index 91% rename from assets/js/26.d16dd1c6.js rename to assets/js/27.d6295729.js index 9c9ff5e..3113f91 100644 --- a/assets/js/26.d16dd1c6.js +++ b/assets/js/27.d6295729.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{300:function(t,e,n){"use strict";n.r(e);var a=n(14),r=Object(a.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"enchantmentdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#enchantmentdata"}},[t._v("#")]),t._v(" EnchantmentData")]),t._v(" "),e("p",[t._v("Represents an enchantment type.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("enchID: Integer")])]),t._v(" "),e("li",[e("code",[t._v("weight: Integer")])]),t._v(" "),e("li",[e("code",[t._v("name: String")])])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{301:function(t,e,n){"use strict";n.r(e);var a=n(14),r=Object(a.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"enchantmentdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#enchantmentdata"}},[t._v("#")]),t._v(" EnchantmentData")]),t._v(" "),e("p",[t._v("Represents an enchantment type.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("enchID: Integer")])]),t._v(" "),e("li",[e("code",[t._v("weight: Integer")])]),t._v(" "),e("li",[e("code",[t._v("name: String")])])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/27.291a5198.js b/assets/js/28.2058912c.js similarity index 99% rename from assets/js/27.291a5198.js rename to assets/js/28.2058912c.js index 688985c..694a5b4 100644 --- a/assets/js/27.291a5198.js +++ b/assets/js/28.2058912c.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{301:function(e,o,i){"use strict";i.r(o);var t=i(14),v=Object(t.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"entitydata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#entitydata"}},[e._v("#")]),e._v(" EntityData")]),e._v(" "),o("p",[e._v("A typical EntityData object will have the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("x")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("posX")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("y")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("posY")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("z")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("posZ")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("chunkCoordX")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("chunkCoordX")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("chunkCoordY")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("chunkCoordY")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("chunkCoordZ")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("chunkCoordZ")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("motionX")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("motionX")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("motionY")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("motionY")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("motionZ")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("motionZ")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("yaw")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("rotationYaw")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("pitch")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("rotationPitch")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isInWeb")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isInWeb")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isCollided")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isCollided")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isCollidedVertically")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isCollidedVertically")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isCollidedHorizontally")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isCollidedHorizontally")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("onGround")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("onGround")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("dimension")]),e._v(": Integer: Equal to the entity's "),o("code",[e._v("dimension")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("id")]),e._v(": Integer: Equal to the entity's "),o("code",[e._v("entityId")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("fallDistance")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("fallDistance")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("noClip")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("noClip")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("stepHeight")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("stepHeight")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isDead")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isDead")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("inPortal")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("inPortal")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("inWater")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("inWater")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isAirBorne")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isAirBorne")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("ticksExisted")]),e._v(": Integer: Equal to the entity's "),o("code",[e._v("ticksExisted")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("invulnerable")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("invulnerable")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isImmuneToFire")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isImmuneToFire")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isOutsideBorder")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isOutsideBorder")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("entityCollisionReduction")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("entityCollisionReduction")]),e._v(".")])]),e._v(" "),o("p",[e._v("It contains the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("isBurning() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isPushedByWater() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEating() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityAlive() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityInsideOpaqueBlock() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isImmuneToExplosions() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isImmuneToFire() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInLava() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInRangeToRender3d({x: number, y: number: z: number}) : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInRangeToRenderDist({distance: number}) : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInWater() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInvisible() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isPushedByWater() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isRiding() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSilent() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSneaking() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSprinting() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isWet() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("setAir({air: integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setAlwaysRenderNameTag({alwaysRenderNameTag: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setAngles({yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setBeenAttacked() : void")])]),e._v(" "),o("li",[o("code",[e._v("setCustomNameTag({name: string}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setDead() : void")])]),e._v(" "),o("li",[o("code",[e._v("setEating({eating: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setEntityId({id: integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setFire({seconds: integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setFlag({flag: integer, set: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setInWeb() : void")])]),e._v(" "),o("li",[o("code",[e._v("setInvisible({invisible: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setLocationAndAngles({x: number, y: number, z: number, yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setOnFireFromLava() : void")])]),e._v(" "),o("li",[o("code",[e._v("setOutsideBorder({outsideBorder: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPosition({x: number, y: number, z: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPositionAndRotation({x: number, y: number, z: number, yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPositionAndRotation2({d0: number, d1: number, d2: number, f: number, f1: number, var9: integer, var10: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPositionAndUpdate({d0: number, d1: number, d2: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setRotation({yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setRotationYawHead({rotation: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSilent({isSilent: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSize({f: number, f1: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSneaking({sneaking: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSprinting({flag: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setVelocity({x: number, y: number, z: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getUUID() : string")])]),e._v(" "),o("li",[o("code",[e._v("getAir() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getAlwaysRenderNameTag() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("getAlwaysRenderNameTagForRender() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("getBrightness({var1: number}) : number")])]),e._v(" "),o("li",[o("code",[e._v("getBrightnessForRender({var1: number}) : integer")])]),e._v(" "),o("li",[o("code",[e._v("getCollisionBorderSize() : number")])]),e._v(" "),o("li",[o("code",[e._v("getCollisionBoundingBox() : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),o("li",[o("code",[e._v("getCommandSenderEntity() : [EntityData](EntityData.md)")])]),e._v(" "),o("li",[o("code",[e._v("getCustomNameTag() : string")])]),e._v(" "),o("li",[o("code",[e._v("getDisplayName() : string")])]),e._v(" "),o("li",[o("code",[e._v("getDisplayNameFormatted() : string")])]),e._v(" "),o("li",[o("code",[e._v("getDistance({x: number, y: number, z: number}) : number")])]),e._v(" "),o("li",[o("code",[e._v("getDistanceSq({x: number, y: number, z: number}) : number")])]),e._v(" "),o("li",[o("code",[e._v("getMountedYOffset() : number")])]),e._v(" "),o("li",[o("code",[e._v("getEntityId() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getEntityString() : string")])]),e._v(" "),o("li",[o("code",[e._v("getEyeHeight() : number")])]),e._v(" "),o("li",[o("code",[e._v("getFlag({flag: integer}) : boolean")])]),e._v(" "),o("li",[o("code",[e._v("getMaxFallHeight() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getMaxInPortalTime() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getName() : string")])]),e._v(" "),o("li",[o("code",[e._v("getParts() : [Array](EntityData.md)")])]),e._v(" "),o("li",[o("code",[e._v("getPortalCooldown() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getRotationYawHead() : number")])]),e._v(" "),o("li",[o("code",[e._v("getSplashSound() : string")])]),e._v(" "),o("li",[o("code",[e._v("getSwimSound() : string")])]),e._v(" "),o("li",[o("code",[e._v("getYOffset() : number")])]),e._v(" "),o("li",[o("code",[e._v("getClassName() : string")])]),e._v(" "),o("li",[o("code",[e._v("getPositionVector() : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getPositionEyes({partialTicks: number}) : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getLook({partialTicks: number}) : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getLookVec() : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getVectorForRotation({yaw: number, float: number}) : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("toNBT() : String")])]),e._v(" "),o("li",[o("code",[e._v("fromNBT({nbt: String}) : void")])])])])}),[],!1,null,null,null);o.default=v.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{302:function(e,o,i){"use strict";i.r(o);var t=i(14),v=Object(t.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"entitydata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#entitydata"}},[e._v("#")]),e._v(" EntityData")]),e._v(" "),o("p",[e._v("A typical EntityData object will have the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("x")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("posX")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("y")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("posY")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("z")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("posZ")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("chunkCoordX")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("chunkCoordX")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("chunkCoordY")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("chunkCoordY")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("chunkCoordZ")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("chunkCoordZ")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("motionX")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("motionX")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("motionY")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("motionY")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("motionZ")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("motionZ")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("yaw")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("rotationYaw")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("pitch")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("rotationPitch")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isInWeb")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isInWeb")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isCollided")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isCollided")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isCollidedVertically")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isCollidedVertically")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isCollidedHorizontally")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isCollidedHorizontally")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("onGround")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("onGround")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("dimension")]),e._v(": Integer: Equal to the entity's "),o("code",[e._v("dimension")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("id")]),e._v(": Integer: Equal to the entity's "),o("code",[e._v("entityId")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("fallDistance")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("fallDistance")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("noClip")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("noClip")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("stepHeight")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("stepHeight")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isDead")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isDead")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("inPortal")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("inPortal")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("inWater")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("inWater")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isAirBorne")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isAirBorne")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("ticksExisted")]),e._v(": Integer: Equal to the entity's "),o("code",[e._v("ticksExisted")]),e._v(". (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("invulnerable")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("invulnerable")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isImmuneToFire")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isImmuneToFire")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("isOutsideBorder")]),e._v(": Boolean: Equal to the entity's "),o("code",[e._v("isOutsideBorder")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("entityCollisionReduction")]),e._v(": Number: Equal to the entity's "),o("code",[e._v("entityCollisionReduction")]),e._v(".")])]),e._v(" "),o("p",[e._v("It contains the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("isBurning() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isPushedByWater() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEating() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityAlive() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityInsideOpaqueBlock() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isImmuneToExplosions() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isImmuneToFire() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInLava() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInRangeToRender3d({x: number, y: number: z: number}) : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInRangeToRenderDist({distance: number}) : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInWater() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isInvisible() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isPushedByWater() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isRiding() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSilent() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSneaking() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSprinting() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("isWet() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("setAir({air: integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setAlwaysRenderNameTag({alwaysRenderNameTag: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setAngles({yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setBeenAttacked() : void")])]),e._v(" "),o("li",[o("code",[e._v("setCustomNameTag({name: string}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setDead() : void")])]),e._v(" "),o("li",[o("code",[e._v("setEating({eating: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setEntityId({id: integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setFire({seconds: integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setFlag({flag: integer, set: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setInWeb() : void")])]),e._v(" "),o("li",[o("code",[e._v("setInvisible({invisible: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setLocationAndAngles({x: number, y: number, z: number, yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setOnFireFromLava() : void")])]),e._v(" "),o("li",[o("code",[e._v("setOutsideBorder({outsideBorder: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPosition({x: number, y: number, z: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPositionAndRotation({x: number, y: number, z: number, yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPositionAndRotation2({d0: number, d1: number, d2: number, f: number, f1: number, var9: integer, var10: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setPositionAndUpdate({d0: number, d1: number, d2: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setRotation({yaw: number, pitch: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setRotationYawHead({rotation: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSilent({isSilent: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSize({f: number, f1: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSneaking({sneaking: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setSprinting({flag: boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setVelocity({x: number, y: number, z: number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getUUID() : string")])]),e._v(" "),o("li",[o("code",[e._v("getAir() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getAlwaysRenderNameTag() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("getAlwaysRenderNameTagForRender() : boolean")])]),e._v(" "),o("li",[o("code",[e._v("getBrightness({var1: number}) : number")])]),e._v(" "),o("li",[o("code",[e._v("getBrightnessForRender({var1: number}) : integer")])]),e._v(" "),o("li",[o("code",[e._v("getCollisionBorderSize() : number")])]),e._v(" "),o("li",[o("code",[e._v("getCollisionBoundingBox() : [AxisAlignedBB](AxisAlignedBB.md)")])]),e._v(" "),o("li",[o("code",[e._v("getCommandSenderEntity() : [EntityData](EntityData.md)")])]),e._v(" "),o("li",[o("code",[e._v("getCustomNameTag() : string")])]),e._v(" "),o("li",[o("code",[e._v("getDisplayName() : string")])]),e._v(" "),o("li",[o("code",[e._v("getDisplayNameFormatted() : string")])]),e._v(" "),o("li",[o("code",[e._v("getDistance({x: number, y: number, z: number}) : number")])]),e._v(" "),o("li",[o("code",[e._v("getDistanceSq({x: number, y: number, z: number}) : number")])]),e._v(" "),o("li",[o("code",[e._v("getMountedYOffset() : number")])]),e._v(" "),o("li",[o("code",[e._v("getEntityId() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getEntityString() : string")])]),e._v(" "),o("li",[o("code",[e._v("getEyeHeight() : number")])]),e._v(" "),o("li",[o("code",[e._v("getFlag({flag: integer}) : boolean")])]),e._v(" "),o("li",[o("code",[e._v("getMaxFallHeight() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getMaxInPortalTime() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getName() : string")])]),e._v(" "),o("li",[o("code",[e._v("getParts() : [Array](EntityData.md)")])]),e._v(" "),o("li",[o("code",[e._v("getPortalCooldown() : integer")])]),e._v(" "),o("li",[o("code",[e._v("getRotationYawHead() : number")])]),e._v(" "),o("li",[o("code",[e._v("getSplashSound() : string")])]),e._v(" "),o("li",[o("code",[e._v("getSwimSound() : string")])]),e._v(" "),o("li",[o("code",[e._v("getYOffset() : number")])]),e._v(" "),o("li",[o("code",[e._v("getClassName() : string")])]),e._v(" "),o("li",[o("code",[e._v("getPositionVector() : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getPositionEyes({partialTicks: number}) : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getLook({partialTicks: number}) : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getLookVec() : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("getVectorForRotation({yaw: number, float: number}) : [Vec3](Vec3.md)")])]),e._v(" "),o("li",[o("code",[e._v("toNBT() : String")])]),e._v(" "),o("li",[o("code",[e._v("fromNBT({nbt: String}) : void")])])])])}),[],!1,null,null,null);o.default=v.exports}}]); \ No newline at end of file diff --git a/assets/js/28.f14385de.js b/assets/js/29.e22f4649.js similarity index 97% rename from assets/js/28.f14385de.js rename to assets/js/29.e22f4649.js index da9551b..ef9ab2c 100644 --- a/assets/js/28.f14385de.js +++ b/assets/js/29.e22f4649.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{302:function(t,o,e){"use strict";e.r(o);var i=e(14),h=Object(i.a)({},(function(){var t=this,o=t._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("h1",{attrs:{id:"fishhookdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#fishhookdata"}},[t._v("#")]),t._v(" FishHookData")]),t._v(" "),o("p",[t._v("All of the properties of "),o("RouterLink",{attrs:{to:"/plugindocs/globals/EntityData.html"}},[t._v("EntityData")]),t._v(", and:")],1),t._v(" "),o("ul",[o("li",[o("code",[t._v("inGround")]),t._v(": Boolean: Whether or not the fish hook is in the ground.")]),t._v(" "),o("li",[o("code",[t._v("xTile")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("xTile")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("yTile")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("yTile")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("zTile")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("zTile")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("shake")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("shake")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksCatchable")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksCatchable")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksCatchableDelay")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksCatchableDelay")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksCaughtDelay")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksCaughtDelay")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksInAir")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksInAir")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksInGround")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksInGround")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("caughtEntity")]),t._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/EntityData.html"}},[t._v("EntityData")]),t._v(": The entity the fish hook is hooked on to. (If existing)")],1),t._v(" "),o("li",[o("code",[t._v("fishApproachAngle")]),t._v(": Number: Equal to the fish hook's "),o("code",[t._v("fishApproachAngle")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("fishPitch")]),t._v(": Number: Equal to the fish hook's "),o("code",[t._v("fishPitch")])]),t._v(" "),o("li",[o("code",[t._v("fishPosRotationIncrements")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("fishPosRotationIncrements")]),t._v(".")])])])}),[],!1,null,null,null);o.default=h.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{303:function(t,o,e){"use strict";e.r(o);var i=e(14),h=Object(i.a)({},(function(){var t=this,o=t._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("h1",{attrs:{id:"fishhookdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#fishhookdata"}},[t._v("#")]),t._v(" FishHookData")]),t._v(" "),o("p",[t._v("All of the properties of "),o("RouterLink",{attrs:{to:"/plugindocs/globals/EntityData.html"}},[t._v("EntityData")]),t._v(", and:")],1),t._v(" "),o("ul",[o("li",[o("code",[t._v("inGround")]),t._v(": Boolean: Whether or not the fish hook is in the ground.")]),t._v(" "),o("li",[o("code",[t._v("xTile")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("xTile")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("yTile")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("yTile")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("zTile")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("zTile")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("shake")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("shake")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksCatchable")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksCatchable")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksCatchableDelay")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksCatchableDelay")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksCaughtDelay")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksCaughtDelay")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksInAir")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksInAir")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("ticksInGround")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("ticksInGround")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("caughtEntity")]),t._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/EntityData.html"}},[t._v("EntityData")]),t._v(": The entity the fish hook is hooked on to. (If existing)")],1),t._v(" "),o("li",[o("code",[t._v("fishApproachAngle")]),t._v(": Number: Equal to the fish hook's "),o("code",[t._v("fishApproachAngle")]),t._v(".")]),t._v(" "),o("li",[o("code",[t._v("fishPitch")]),t._v(": Number: Equal to the fish hook's "),o("code",[t._v("fishPitch")])]),t._v(" "),o("li",[o("code",[t._v("fishPosRotationIncrements")]),t._v(": Integer: Equal to the fish hook's "),o("code",[t._v("fishPosRotationIncrements")]),t._v(".")])])])}),[],!1,null,null,null);o.default=h.exports}}]); \ No newline at end of file diff --git a/assets/js/3.dfc9285e.js b/assets/js/3.36752fff.js similarity index 86% rename from assets/js/3.dfc9285e.js rename to assets/js/3.36752fff.js index 11a285c..e1d8821 100644 --- a/assets/js/3.dfc9285e.js +++ b/assets/js/3.36752fff.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{256:function(t,e,n){},275:function(t,e,n){"use strict";n(256)},322:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:(t,{props:e,slots:n})=>t("span",{class:["badge",e.type],style:{verticalAlign:e.vertical}},e.text||n().default)},p=(n(275),n(14)),l=Object(p.a)(i,void 0,void 0,!1,null,"0d148f50",null);e.default=l.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{256:function(t,e,n){},275:function(t,e,n){"use strict";n(256)},326:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:(t,{props:e,slots:n})=>t("span",{class:["badge",e.type],style:{verticalAlign:e.vertical}},e.text||n().default)},p=(n(275),n(14)),l=Object(p.a)(i,void 0,void 0,!1,null,"0d148f50",null);e.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/30.5e423d5b.js b/assets/js/30.5e423d5b.js new file mode 100644 index 0000000..3ef1afb --- /dev/null +++ b/assets/js/30.5e423d5b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{304:function(e,o,t){"use strict";t.r(o);var v=t(14),d=Object(v.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"foodstatsdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#foodstatsdata"}},[e._v("#")]),e._v(" FoodStatsData")]),e._v(" "),o("p",[e._v("Represents the food stats of a player.")]),e._v(" "),o("p",[e._v("Has the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("foodLevel")]),e._v(": Integer")]),e._v(" "),o("li",[o("code",[e._v("foodSaturationLevel")]),e._v(": Number")]),e._v(" "),o("li",[o("code",[e._v("foodExhaustionLevel")]),e._v(": Number")]),e._v(" "),o("li",[o("code",[e._v("foodTimer")]),e._v(": Integer")]),e._v(" "),o("li",[o("code",[e._v("prevFoodLevel")]),e._v(": Integer")])]),e._v(" "),o("p",[e._v("Has the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("addStats({foodLevelIn: Integer, foodSaturationModifier: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("addExhaustion({parFloat1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setFoodLevel({foodLevelIn: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("setFoodSaturationLevel({foodSaturationLevelIn: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getFoodLevel() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getPrevFoodLevel() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getSaturationLevel() : Number")])]),e._v(" "),o("li",[o("code",[e._v("needFood() : Boolean")])])])])}),[],!1,null,null,null);o.default=d.exports}}]); \ No newline at end of file diff --git a/assets/js/31.dba2eb75.js b/assets/js/31.dba2eb75.js new file mode 100644 index 0000000..7a09831 --- /dev/null +++ b/assets/js/31.dba2eb75.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{305:function(e,o,v){"use strict";v.r(o);var _=v(14),l=Object(_.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"gamesettingsdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#gamesettingsdata"}},[e._v("#")]),e._v(" GameSettingsData")]),e._v(" "),o("p",[e._v("Represents the game's settings.")]),e._v(" "),o("p",[e._v("Has the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("mouseSensitivity: Number")])]),e._v(" "),o("li",[o("code",[e._v("invertMouse: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("renderDistanceChunks: Integer")])]),e._v(" "),o("li",[o("code",[e._v("viewBobbing: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("anaglyph: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("fboEnable: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("limitFramerate: Integer")])]),e._v(" "),o("li",[o("code",[e._v("clouds: Integer")])]),e._v(" "),o("li",[o("code",[e._v("fancyGraphics: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("ambientOcclusion: Integer")])]),e._v(" "),o("li",[o("code",[e._v("chatVisibility: String")]),e._v(" "),o("ul",[o("li",[e._v("Can be one of: "),o("code",[e._v("FULL")]),e._v(", "),o("code",[e._v("SYSTEM")]),e._v(" or "),o("code",[e._v("HIDDEN")])])])]),e._v(" "),o("li",[o("code",[e._v("chatColours: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("chatLinks: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("chatLinksPrompt: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("chatOpacity: Number")])]),e._v(" "),o("li",[o("code",[e._v("enableVsync: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("snooperEnabled: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("allowBlockAlternatives: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("reducedDebugInfo: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hideServerAddress: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("pauseOnLostFocus: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("touchscreen: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("overrideWidth: Integer")])]),e._v(" "),o("li",[o("code",[e._v("overrideHeight: Integer")])]),e._v(" "),o("li",[o("code",[e._v("heldItemTooltips: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("chatScale: Number")])]),e._v(" "),o("li",[o("code",[e._v("chatWidth: Number")])]),e._v(" "),o("li",[o("code",[e._v("chatHeightUnfocused: Number")])]),e._v(" "),o("li",[o("code",[e._v("chatHeightFocused: Number")])]),e._v(" "),o("li",[o("code",[e._v("streamBytesPerPixel: Number")])]),e._v(" "),o("li",[o("code",[e._v("streamMicVolume: Number")])]),e._v(" "),o("li",[o("code",[e._v("streamGameVolume: Number")])]),e._v(" "),o("li",[o("code",[e._v("streamKbps: Number")])]),e._v(" "),o("li",[o("code",[e._v("streamFps: Number")])]),e._v(" "),o("li",[o("code",[e._v("fovSetting: Number")])]),e._v(" "),o("li",[o("code",[e._v("gammaSetting: Number")])]),e._v(" "),o("li",[o("code",[e._v("saturation: Number")])]),e._v(" "),o("li",[o("code",[e._v("streamChatEnabled: Integer")])]),e._v(" "),o("li",[o("code",[e._v("streamChatUserFilter: Integer")])]),e._v(" "),o("li",[o("code",[e._v("streamMicToggleBehavior: Integer")])]),e._v(" "),o("li",[o("code",[e._v("guiScale: Integer")])]),e._v(" "),o("li",[o("code",[e._v("fxaa: Integer")])]),e._v(" "),o("li",[o("code",[e._v("particleSetting: Integer")])]),e._v(" "),o("li",[o("code",[e._v("streamCompression: Integer")])]),e._v(" "),o("li",[o("code",[e._v("thirdPersonView: Integer")])]),e._v(" "),o("li",[o("code",[e._v("mipmapLevels: Integer")])]),e._v(" "),o("li",[o("code",[e._v("forceUnicodeFont: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hudFps: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hudCoords: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hudPlayer: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hudWorld: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hudStats: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hud24h: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("chunkFix: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("fog: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("streamSendMetadata: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hideGUI: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("smoothCamera: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("debugCamEnable: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("showDebugInfo: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("showDebugProfilerChart: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("showInventoryAchievementHint: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("difficulty: String")]),e._v(" "),o("ul",[o("li",[e._v("Can be one of "),o("code",[e._v("PEACEFUL")]),e._v(", "),o("code",[e._v("EASY")]),e._v(", "),o("code",[e._v("NORMAL")]),e._v(" or "),o("code",[e._v("HARD")])])])]),e._v(" "),o("li",[o("code",[e._v("lastServer: String")])]),e._v(" "),o("li",[o("code",[e._v("language: String")])]),e._v(" "),o("li",[o("code",[e._v("streamPreferredServer: String")])]),e._v(" "),o("li",[o("code",[e._v("keyBindings: KeyBindingData[]")])])])])}),[],!1,null,null,null);o.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/29.90b38775.js b/assets/js/32.a9840d84.js similarity index 92% rename from assets/js/29.90b38775.js rename to assets/js/32.a9840d84.js index 459aed0..9f8c7f2 100644 --- a/assets/js/29.90b38775.js +++ b/assets/js/32.a9840d84.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{303:function(t,e,n){"use strict";n.r(e);var a=n(14),o=Object(a.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"inventorybasicdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#inventorybasicdata"}},[t._v("#")]),t._v(" InventoryBasicData")]),t._v(" "),e("p",[t._v("Represents a basic inventory.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("inventoryContents: ItemStackData[]")])]),t._v(" "),e("li",[e("code",[t._v("inventoryTitle: String")])]),t._v(" "),e("li",[e("code",[t._v("slotsCount: Integer")])]),t._v(" "),e("li",[e("code",[t._v("hasCustomName: Boolean")])])])])}),[],!1,null,null,null);e.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{306:function(t,e,n){"use strict";n.r(e);var a=n(14),o=Object(a.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"inventorybasicdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#inventorybasicdata"}},[t._v("#")]),t._v(" InventoryBasicData")]),t._v(" "),e("p",[t._v("Represents a basic inventory.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("inventoryContents: ItemStackData[]")])]),t._v(" "),e("li",[e("code",[t._v("inventoryTitle: String")])]),t._v(" "),e("li",[e("code",[t._v("slotsCount: Integer")])]),t._v(" "),e("li",[e("code",[t._v("hasCustomName: Boolean")])])])])}),[],!1,null,null,null);e.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/30.8ee7544f.js b/assets/js/33.2851a631.js similarity index 92% rename from assets/js/30.8ee7544f.js rename to assets/js/33.2851a631.js index f755a0c..d7b3830 100644 --- a/assets/js/30.8ee7544f.js +++ b/assets/js/33.2851a631.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{304:function(t,e,a){"use strict";a.r(e);var n=a(14),r=Object(n.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"inventoryplayerdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#inventoryplayerdata"}},[t._v("#")]),t._v(" InventoryPlayerData")]),t._v(" "),e("p",[t._v("Represents a player's inventory.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("mainInventory: ItemStackData[]")])]),t._v(" "),e("li",[e("code",[t._v("armorInventory: ItemStackData[]")])]),t._v(" "),e("li",[e("code",[t._v("currentItem: Integer")])]),t._v(" "),e("li",[e("code",[t._v("inventoryChanged: Boolean")])])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{307:function(t,e,a){"use strict";a.r(e);var n=a(14),r=Object(n.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"inventoryplayerdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#inventoryplayerdata"}},[t._v("#")]),t._v(" InventoryPlayerData")]),t._v(" "),e("p",[t._v("Represents a player's inventory.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("mainInventory: ItemStackData[]")])]),t._v(" "),e("li",[e("code",[t._v("armorInventory: ItemStackData[]")])]),t._v(" "),e("li",[e("code",[t._v("currentItem: Integer")])]),t._v(" "),e("li",[e("code",[t._v("inventoryChanged: Boolean")])])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/31.4b73b315.js b/assets/js/34.139aba44.js similarity index 96% rename from assets/js/31.4b73b315.js rename to assets/js/34.139aba44.js index 879f05f..8824975 100644 --- a/assets/js/31.4b73b315.js +++ b/assets/js/34.139aba44.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[31],{305:function(t,e,a){"use strict";a.r(e);var o=a(14),l=Object(o.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"itemdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#itemdata"}},[t._v("#")]),t._v(" ItemData")]),t._v(" "),e("p",[t._v("Represents an item type.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("maxStackSize : Integer")])]),t._v(" "),e("li",[e("code",[t._v("maxDamage : Integer")])]),t._v(" "),e("li",[e("code",[t._v("bFull3D : Boolean")])]),t._v(" "),e("li",[e("code",[t._v("hasSubtypes : Boolean")])]),t._v(" "),e("li",[e("code",[t._v("potionEffect : String")])])]),t._v(" "),e("p",[t._v("Has the following methods:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("getID() : Integer")])]),t._v(" "),e("li",[e("code",[t._v("setMaxStackSize(maxStackSize: Integer) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setHasSubtypes(hasSubtypes: Boolean) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setMaxDamage(maxDamageIn: Integer) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setUnlocalizedName(s: String) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setPotionEffect(potionEffect: String) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1)])])}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{308:function(t,e,a){"use strict";a.r(e);var o=a(14),l=Object(o.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"itemdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#itemdata"}},[t._v("#")]),t._v(" ItemData")]),t._v(" "),e("p",[t._v("Represents an item type.")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("maxStackSize : Integer")])]),t._v(" "),e("li",[e("code",[t._v("maxDamage : Integer")])]),t._v(" "),e("li",[e("code",[t._v("bFull3D : Boolean")])]),t._v(" "),e("li",[e("code",[t._v("hasSubtypes : Boolean")])]),t._v(" "),e("li",[e("code",[t._v("potionEffect : String")])])]),t._v(" "),e("p",[t._v("Has the following methods:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("getID() : Integer")])]),t._v(" "),e("li",[e("code",[t._v("setMaxStackSize(maxStackSize: Integer) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setHasSubtypes(hasSubtypes: Boolean) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setMaxDamage(maxDamageIn: Integer) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setUnlocalizedName(s: String) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1),t._v(" "),e("li",[e("code",[t._v("setPotionEffect(potionEffect: String) :")]),t._v(" "),e("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[e("code",[t._v("ItemData")])])],1)])])}),[],!1,null,null,null);e.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/32.4c684eb5.js b/assets/js/35.d697d4fd.js similarity index 98% rename from assets/js/32.4c684eb5.js rename to assets/js/35.d697d4fd.js index 5034a69..0fd57aa 100644 --- a/assets/js/32.4c684eb5.js +++ b/assets/js/35.d697d4fd.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{306:function(e,t,a){"use strict";a.r(t);var o=a(14),v=Object(o.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"itemstackdata"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#itemstackdata"}},[e._v("#")]),e._v(" ItemStackData")]),e._v(" "),t("p",[e._v("Represents an itemstack.")]),e._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),t("p",[e._v("PluginAPI.contructors.ItemStack({itemId: Integer, amount: Integer, itemDamage: Integer})")]),e._v(" "),t("p",[e._v("Has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("amount : Integer")])]),e._v(" "),t("li",[t("code",[e._v("animationsToGo : Integer")])]),e._v(" "),t("li",[t("code",[e._v("itemId : Integer")])]),e._v(" "),t("li",[t("code",[e._v("itemDamage : Integer")])]),e._v(" "),t("li",[t("code",[e._v("itemFrame : [EntityData](EntityData.md)")]),e._v(" (If existing)")]),e._v(" "),t("li",[t("code",[e._v("canDestroyCacheBlock : BlockData")])]),e._v(" "),t("li",[t("code",[e._v("canDestroyCacheResult : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("canPlaceOnCacheBlock : BlockData")])]),e._v(" "),t("li",[t("code",[e._v("canPlaceOnCacheResult : Boolean")])])]),e._v(" "),t("p",[e._v("Has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("getItem() : ItemData")])]),e._v(" "),t("li",[t("code",[e._v("getMaxStackSize() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("isStackable() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isItemStackDamageable() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("getHasSubtypes() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isItemDamaged() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("getItemDamage() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getMetadata() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("setItemDamage({meta: Integer}) : void")])]),e._v(" "),t("li",[t("code",[e._v("getMaxDamage() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("copy() : ItemStackData")])]),e._v(" "),t("li",[t("code",[e._v("getUnlocalizedName() : String")])]),e._v(" "),t("li",[t("code",[e._v("toString() : String")])]),e._v(" "),t("li",[t("code",[e._v("getMaxItemUseDuration() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getDisplayName() : String")])]),e._v(" "),t("li",[t("code",[e._v("setDisplayName({displayName: String}) : ItemStackData")])]),e._v(" "),t("li",[t("code",[e._v("clearCustomName() : void")])]),e._v(" "),t("li",[t("code",[e._v("hasDisplayName() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("hasEffect() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isItemEnchantable() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("addEnchantment({ench: EnchantmentRef, level: Integer}) : void")])]),e._v(" "),t("li",[t("code",[e._v("isItemEnchanted() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("canEditBlocks() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isOnItemFrame() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("getRepairCost() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("setRepairCost({cost: Integer}) : void")])]),e._v(" "),t("li",[t("code",[e._v("setItem(newItem: ItemRef) : void")])]),e._v(" "),t("li",[t("code",[e._v("canDestroy({blockId: Integer}) : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("canPlaceOn({blockId: Integer}) : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("toNBT() : String")])]),e._v(" "),t("li",[t("code",[e._v("fromNBT({nbt: String}) : void")])]),e._v(" "),t("li",[t("code",[e._v("getLore() : String[]")])]),e._v(" "),t("li",[t("code",[e._v("setLore({lore: String[]}) : void")])])])])}),[],!1,null,null,null);t.default=v.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{309:function(e,t,a){"use strict";a.r(t);var o=a(14),v=Object(o.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"itemstackdata"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#itemstackdata"}},[e._v("#")]),e._v(" ItemStackData")]),e._v(" "),t("p",[e._v("Represents an itemstack.")]),e._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),t("p",[e._v("PluginAPI.contructors.ItemStack({itemId: Integer, amount: Integer, itemDamage: Integer})")]),e._v(" "),t("p",[e._v("Has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("amount : Integer")])]),e._v(" "),t("li",[t("code",[e._v("animationsToGo : Integer")])]),e._v(" "),t("li",[t("code",[e._v("itemId : Integer")])]),e._v(" "),t("li",[t("code",[e._v("itemDamage : Integer")])]),e._v(" "),t("li",[t("code",[e._v("itemFrame : [EntityData](EntityData.md)")]),e._v(" (If existing)")]),e._v(" "),t("li",[t("code",[e._v("canDestroyCacheBlock : BlockData")])]),e._v(" "),t("li",[t("code",[e._v("canDestroyCacheResult : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("canPlaceOnCacheBlock : BlockData")])]),e._v(" "),t("li",[t("code",[e._v("canPlaceOnCacheResult : Boolean")])])]),e._v(" "),t("p",[e._v("Has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("getItem() : ItemData")])]),e._v(" "),t("li",[t("code",[e._v("getMaxStackSize() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("isStackable() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isItemStackDamageable() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("getHasSubtypes() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isItemDamaged() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("getItemDamage() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getMetadata() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("setItemDamage({meta: Integer}) : void")])]),e._v(" "),t("li",[t("code",[e._v("getMaxDamage() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("copy() : ItemStackData")])]),e._v(" "),t("li",[t("code",[e._v("getUnlocalizedName() : String")])]),e._v(" "),t("li",[t("code",[e._v("toString() : String")])]),e._v(" "),t("li",[t("code",[e._v("getMaxItemUseDuration() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getDisplayName() : String")])]),e._v(" "),t("li",[t("code",[e._v("setDisplayName({displayName: String}) : ItemStackData")])]),e._v(" "),t("li",[t("code",[e._v("clearCustomName() : void")])]),e._v(" "),t("li",[t("code",[e._v("hasDisplayName() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("hasEffect() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isItemEnchantable() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("addEnchantment({ench: EnchantmentRef, level: Integer}) : void")])]),e._v(" "),t("li",[t("code",[e._v("isItemEnchanted() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("canEditBlocks() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("isOnItemFrame() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("getRepairCost() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("setRepairCost({cost: Integer}) : void")])]),e._v(" "),t("li",[t("code",[e._v("setItem(newItem: ItemRef) : void")])]),e._v(" "),t("li",[t("code",[e._v("canDestroy({blockId: Integer}) : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("canPlaceOn({blockId: Integer}) : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("toNBT() : String")])]),e._v(" "),t("li",[t("code",[e._v("fromNBT({nbt: String}) : void")])]),e._v(" "),t("li",[t("code",[e._v("getLore() : String[]")])]),e._v(" "),t("li",[t("code",[e._v("setLore({lore: String[]}) : void")])])])])}),[],!1,null,null,null);t.default=v.exports}}]); \ No newline at end of file diff --git a/assets/js/36.49125c37.js b/assets/js/36.49125c37.js new file mode 100644 index 0000000..7c41c39 --- /dev/null +++ b/assets/js/36.49125c37.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{310:function(e,t,o){"use strict";o.r(t);var i=o(14),n=Object(i.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"keybindingdata"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#keybindingdata"}},[e._v("#")]),e._v(" KeyBindingData")]),e._v(" "),t("p",[e._v("Represents a in-game keybind.")]),e._v(" "),t("p",[e._v("Has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("keyCode: Integer")])]),e._v(" "),t("li",[t("code",[e._v("pressTime: Integer")])]),e._v(" "),t("li",[t("code",[e._v("pressed: Boolean")])]),e._v(" "),t("li",[t("code",[e._v("keyDescription: String")]),e._v(" [read-only]")]),e._v(" "),t("li",[t("code",[e._v("keyCategory: String")]),e._v(" [read-only]")])]),e._v(" "),t("p",[e._v("Has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("isKeyDown() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("getKeyCategory() : String")])]),e._v(" "),t("li",[t("code",[e._v("isPressed() : Boolean")])]),e._v(" "),t("li",[t("code",[e._v("unpressKey() : void")])]),e._v(" "),t("li",[t("code",[e._v("getKeyDescription() : String")])]),e._v(" "),t("li",[t("code",[e._v("getKeyCodeDefault() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getKeyCode() : Integer")])])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/33.0e2ae26e.js b/assets/js/37.424a1eb4.js similarity index 96% rename from assets/js/33.0e2ae26e.js rename to assets/js/37.424a1eb4.js index 135333e..09d7b50 100644 --- a/assets/js/33.0e2ae26e.js +++ b/assets/js/37.424a1eb4.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{307:function(t,a,o){"use strict";o.r(a);var l=o(14),e=Object(l.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"list-of-globals"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#list-of-globals"}},[t._v("#")]),t._v(" List of Globals")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("PluginAPI.player")]),t._v("\nA "),a("RouterLink",{attrs:{to:"/plugindocs/globals/LocalPlayerData.html"}},[a("code",[t._v("LocalPlayerData")])]),t._v(" made from "),a("code",[t._v("EntityPlayerSP")]),t._v(".")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.items")]),t._v("\nAn "),a("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[a("code",[t._v("ItemData")])]),t._v(" array of all the in-game item types, and block-item types. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.blocks")]),t._v("\nA "),a("RouterLink",{attrs:{to:"/plugindocs/globals/BlockData.html"}},[a("code",[t._v("BlockData")])]),t._v(" array of all the in-game blocks. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.materials")]),t._v("\nA "),a("RouterLink",{attrs:{to:"/plugindocs/globals/MaterialData.html"}},[a("code",[t._v("MaterialData")])]),t._v(" array of all the block materials. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.enchantments")]),t._v("\nAn "),a("RouterLink",{attrs:{to:"/plugindocs/globals/EnchantmentData.html"}},[a("code",[t._v("EnchantmentData")])]),t._v(" array of all the in-game enchantments. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.constructors")]),t._v("\nA object containing constructors to make some Java objects in JavaScript. [Auto]")])]),t._v(" "),a("p",[t._v("In order to use non auto globals, they must be "),a("RouterLink",{attrs:{to:"/plugindocs/globals/require.html"}},[t._v("required")]),t._v(".")],1)])}),[],!1,null,null,null);a.default=e.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{311:function(t,a,o){"use strict";o.r(a);var l=o(14),e=Object(l.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"list-of-globals"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#list-of-globals"}},[t._v("#")]),t._v(" List of Globals")]),t._v(" "),a("ul",[a("li",[a("code",[t._v("PluginAPI.player")]),t._v("\nA "),a("RouterLink",{attrs:{to:"/plugindocs/globals/LocalPlayerData.html"}},[a("code",[t._v("LocalPlayerData")])]),t._v(" made from "),a("code",[t._v("EntityPlayerSP")]),t._v(".")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.items")]),t._v("\nAn "),a("RouterLink",{attrs:{to:"/plugindocs/globals/ItemData.html"}},[a("code",[t._v("ItemData")])]),t._v(" array of all the in-game item types, and block-item types. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.blocks")]),t._v("\nA "),a("RouterLink",{attrs:{to:"/plugindocs/globals/BlockData.html"}},[a("code",[t._v("BlockData")])]),t._v(" array of all the in-game blocks. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.materials")]),t._v("\nA "),a("RouterLink",{attrs:{to:"/plugindocs/globals/MaterialData.html"}},[a("code",[t._v("MaterialData")])]),t._v(" array of all the block materials. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.enchantments")]),t._v("\nAn "),a("RouterLink",{attrs:{to:"/plugindocs/globals/EnchantmentData.html"}},[a("code",[t._v("EnchantmentData")])]),t._v(" array of all the in-game enchantments. [Auto]")],1),t._v(" "),a("li",[a("code",[t._v("PluginAPI.constructors")]),t._v("\nA object containing constructors to make some Java objects in JavaScript. [Auto]")])]),t._v(" "),a("p",[t._v("In order to use non auto globals, they must be "),a("RouterLink",{attrs:{to:"/plugindocs/globals/require.html"}},[t._v("required")]),t._v(".")],1)])}),[],!1,null,null,null);a.default=e.exports}}]); \ No newline at end of file diff --git a/assets/js/34.743c100f.js b/assets/js/38.93d78a2b.js similarity index 99% rename from assets/js/34.743c100f.js rename to assets/js/38.93d78a2b.js index 0e5aed3..022f846 100644 --- a/assets/js/34.743c100f.js +++ b/assets/js/38.93d78a2b.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[34],{308:function(e,o,v){"use strict";v.r(o);var i=v(14),t=Object(i.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"livingentitydata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#livingentitydata"}},[e._v("#")]),e._v(" LivingEntityData")]),e._v(" "),o("p",[e._v("A LivingEntityData usually has all of the properties of "),o("RouterLink",{attrs:{to:"/plugindocs/globals/EntityData.html"}},[e._v("EntityData")]),e._v(", and:")],1),e._v(" "),o("ul",[o("li",[o("code",[e._v("isSwingInProgress: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("arrowHitTimer: Integer")])]),e._v(" "),o("li",[o("code",[e._v("hurtTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("maxHurtTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("swingProgressInt: Integer")])]),e._v(" "),o("li",[o("code",[e._v("attackedAtYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("deathTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("prevSwingProgress: Number")])]),e._v(" "),o("li",[o("code",[e._v("swingProgress: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevLimbSwingAmount: Number")])]),e._v(" "),o("li",[o("code",[e._v("limbSwingAmount: Number")])]),e._v(" "),o("li",[o("code",[e._v("limbSwing: Number")])]),e._v(" "),o("li",[o("code",[e._v("maxHurtResistantTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("prevCameraPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("cameraPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("renderYawOffset: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRenderYawOffset: Number")])]),e._v(" "),o("li",[o("code",[e._v("rotationYawHead: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRotationYawHead: Number")])]),e._v(" "),o("li",[o("code",[e._v("jumpMovementFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("recentlyHit: Integer")])]),e._v(" "),o("li",[o("code",[e._v("dead: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("entityAge: Integer")])]),e._v(" "),o("li",[o("code",[e._v("onGroundSpeedFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevOnGroundSpeedFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("movedDistance: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevMovedDistance: Number")])]),e._v(" "),o("li",[o("code",[e._v("scoreValue: Integer")])]),e._v(" "),o("li",[o("code",[e._v("movedDistance: Number")])]),e._v(" "),o("li",[o("code",[e._v("isJumping: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("moveForward: Number")])]),e._v(" "),o("li",[o("code",[e._v("moveStrafing: Number")])]),e._v(" "),o("li",[o("code",[e._v("randomYawVelocity: Number")])]),e._v(" "),o("li",[o("code",[e._v("newPosRotationIncrements: Integer")])]),e._v(" "),o("li",[o("code",[e._v("newPosX: Number")])]),e._v(" "),o("li",[o("code",[e._v("newPosY: Number")])]),e._v(" "),o("li",[o("code",[e._v("newPosZ: Number")])]),e._v(" "),o("li",[o("code",[e._v("newRotationPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("newRotationYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("revengeTimer: Integer")])]),e._v(" "),o("li",[o("code",[e._v("lastAttackerTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("landMovementFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("jumpTicks: Integer")])]),e._v(" "),o("li",[o("code",[e._v("absorptionAmount: Number")])])]),e._v(" "),o("p",[e._v("It has the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("getPreviousEquipment() : ItemStackData[]")])]),e._v(" "),o("li",[o("code",[e._v("getAttackingPlayer() : PlayerData")])]),e._v(" "),o("li",[o("code",[e._v("getLastAttacker() : LivingEntityData")])]),e._v(" "),o("li",[o("code",[e._v("getEntityLivingToAttack() : LivingEntityData")])]),e._v(" "),o("li",[o("code",[e._v("setEntityLivingToAttack({entity: EntityRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("canBreatheUnderwater() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isChild() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("canDropLoot() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("decreaseAirSupply({parInt1: Integer}) : Integer")])]),e._v(" "),o("li",[o("code",[e._v("isPlayer() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getAITarget() : LivingEntityData")])]),e._v(" "),o("li",[o("code",[e._v("getRevengeTimer() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getLastAttackerTime() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getAge() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("clearActivePotions() : void")])]),e._v(" "),o("li",[o("code",[e._v("isPotionActive({potionId: Integer}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityUndead() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("removePotionEffectClient({potionId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("removePotionEffect({potionId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("heal({f: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getHealth() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setHealth({health: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getHurtSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("getDeathSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("addRandomDrop() : void")])]),e._v(" "),o("li",[o("code",[e._v("isOnLadder() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityAlive() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("fall({f: Number, f1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getFallSoundString({damageValue: Integer}) : String")])]),e._v(" "),o("li",[o("code",[e._v("performHurtAnimation() : void")])]),e._v(" "),o("li",[o("code",[e._v("getTotalArmorValue() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("damageArmor({parFloat1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getMaxHealth() : Number")])]),e._v(" "),o("li",[o("code",[e._v("getArrowCountInEntity() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("setArrowCountInEntity({count: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("swingItem() : void")])]),e._v(" "),o("li",[o("code",[e._v("kill() : void")])]),e._v(" "),o("li",[o("code",[e._v("setSprinting({flag: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getSoundVolume() : Number")])]),e._v(" "),o("li",[o("code",[e._v("getSoundPitch() : Number")])]),e._v(" "),o("li",[o("code",[e._v("isMovementBlocked() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getJumpUpwardsMotion() : Number")])]),e._v(" "),o("li",[o("code",[e._v("jump() : void")])]),e._v(" "),o("li",[o("code",[e._v("updateAITick() : void")])]),e._v(" "),o("li",[o("code",[e._v("handleJumpLava() : void")])]),e._v(" "),o("li",[o("code",[e._v("getAIMoveSpeed() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setAIMoveSpeed({speedIn: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("collideWithNearbyEntities() : void")])]),e._v(" "),o("li",[o("code",[e._v("setJumping({parFlag: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("canBeCollidedWith() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("canBePushed() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("setBeenAttacked() : void")])]),e._v(" "),o("li",[o("code",[e._v("getRotationYawHead() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setRotationYawHead({f: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getAbsorptionAmount() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setAbsorptionAmount({amount: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("markPotionsDirty() : void")])])])])}),[],!1,null,null,null);o.default=t.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{312:function(e,o,v){"use strict";v.r(o);var i=v(14),t=Object(i.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"livingentitydata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#livingentitydata"}},[e._v("#")]),e._v(" LivingEntityData")]),e._v(" "),o("p",[e._v("A LivingEntityData usually has all of the properties of "),o("RouterLink",{attrs:{to:"/plugindocs/globals/EntityData.html"}},[e._v("EntityData")]),e._v(", and:")],1),e._v(" "),o("ul",[o("li",[o("code",[e._v("isSwingInProgress: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("arrowHitTimer: Integer")])]),e._v(" "),o("li",[o("code",[e._v("hurtTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("maxHurtTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("swingProgressInt: Integer")])]),e._v(" "),o("li",[o("code",[e._v("attackedAtYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("deathTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("prevSwingProgress: Number")])]),e._v(" "),o("li",[o("code",[e._v("swingProgress: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevLimbSwingAmount: Number")])]),e._v(" "),o("li",[o("code",[e._v("limbSwingAmount: Number")])]),e._v(" "),o("li",[o("code",[e._v("limbSwing: Number")])]),e._v(" "),o("li",[o("code",[e._v("maxHurtResistantTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("prevCameraPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("cameraPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("renderYawOffset: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRenderYawOffset: Number")])]),e._v(" "),o("li",[o("code",[e._v("rotationYawHead: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRotationYawHead: Number")])]),e._v(" "),o("li",[o("code",[e._v("jumpMovementFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("recentlyHit: Integer")])]),e._v(" "),o("li",[o("code",[e._v("dead: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("entityAge: Integer")])]),e._v(" "),o("li",[o("code",[e._v("onGroundSpeedFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevOnGroundSpeedFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("movedDistance: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevMovedDistance: Number")])]),e._v(" "),o("li",[o("code",[e._v("scoreValue: Integer")])]),e._v(" "),o("li",[o("code",[e._v("movedDistance: Number")])]),e._v(" "),o("li",[o("code",[e._v("isJumping: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("moveForward: Number")])]),e._v(" "),o("li",[o("code",[e._v("moveStrafing: Number")])]),e._v(" "),o("li",[o("code",[e._v("randomYawVelocity: Number")])]),e._v(" "),o("li",[o("code",[e._v("newPosRotationIncrements: Integer")])]),e._v(" "),o("li",[o("code",[e._v("newPosX: Number")])]),e._v(" "),o("li",[o("code",[e._v("newPosY: Number")])]),e._v(" "),o("li",[o("code",[e._v("newPosZ: Number")])]),e._v(" "),o("li",[o("code",[e._v("newRotationPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("newRotationYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("revengeTimer: Integer")])]),e._v(" "),o("li",[o("code",[e._v("lastAttackerTime: Integer")])]),e._v(" "),o("li",[o("code",[e._v("landMovementFactor: Number")])]),e._v(" "),o("li",[o("code",[e._v("jumpTicks: Integer")])]),e._v(" "),o("li",[o("code",[e._v("absorptionAmount: Number")])])]),e._v(" "),o("p",[e._v("It has the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("getPreviousEquipment() : ItemStackData[]")])]),e._v(" "),o("li",[o("code",[e._v("getAttackingPlayer() : PlayerData")])]),e._v(" "),o("li",[o("code",[e._v("getLastAttacker() : LivingEntityData")])]),e._v(" "),o("li",[o("code",[e._v("getEntityLivingToAttack() : LivingEntityData")])]),e._v(" "),o("li",[o("code",[e._v("setEntityLivingToAttack({entity: EntityRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("canBreatheUnderwater() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isChild() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("canDropLoot() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("decreaseAirSupply({parInt1: Integer}) : Integer")])]),e._v(" "),o("li",[o("code",[e._v("isPlayer() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getAITarget() : LivingEntityData")])]),e._v(" "),o("li",[o("code",[e._v("getRevengeTimer() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getLastAttackerTime() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getAge() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("clearActivePotions() : void")])]),e._v(" "),o("li",[o("code",[e._v("isPotionActive({potionId: Integer}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityUndead() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("removePotionEffectClient({potionId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("removePotionEffect({potionId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("heal({f: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getHealth() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setHealth({health: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getHurtSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("getDeathSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("addRandomDrop() : void")])]),e._v(" "),o("li",[o("code",[e._v("isOnLadder() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isEntityAlive() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("fall({f: Number, f1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getFallSoundString({damageValue: Integer}) : String")])]),e._v(" "),o("li",[o("code",[e._v("performHurtAnimation() : void")])]),e._v(" "),o("li",[o("code",[e._v("getTotalArmorValue() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("damageArmor({parFloat1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getMaxHealth() : Number")])]),e._v(" "),o("li",[o("code",[e._v("getArrowCountInEntity() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("setArrowCountInEntity({count: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("swingItem() : void")])]),e._v(" "),o("li",[o("code",[e._v("kill() : void")])]),e._v(" "),o("li",[o("code",[e._v("setSprinting({flag: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getSoundVolume() : Number")])]),e._v(" "),o("li",[o("code",[e._v("getSoundPitch() : Number")])]),e._v(" "),o("li",[o("code",[e._v("isMovementBlocked() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getJumpUpwardsMotion() : Number")])]),e._v(" "),o("li",[o("code",[e._v("jump() : void")])]),e._v(" "),o("li",[o("code",[e._v("updateAITick() : void")])]),e._v(" "),o("li",[o("code",[e._v("handleJumpLava() : void")])]),e._v(" "),o("li",[o("code",[e._v("getAIMoveSpeed() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setAIMoveSpeed({speedIn: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("collideWithNearbyEntities() : void")])]),e._v(" "),o("li",[o("code",[e._v("setJumping({parFlag: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("canBeCollidedWith() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("canBePushed() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("setBeenAttacked() : void")])]),e._v(" "),o("li",[o("code",[e._v("getRotationYawHead() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setRotationYawHead({f: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getAbsorptionAmount() : Number")])]),e._v(" "),o("li",[o("code",[e._v("setAbsorptionAmount({amount: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("markPotionsDirty() : void")])])])])}),[],!1,null,null,null);o.default=t.exports}}]); \ No newline at end of file diff --git a/assets/js/35.9c3f467c.js b/assets/js/39.762f70e5.js similarity index 98% rename from assets/js/35.9c3f467c.js rename to assets/js/39.762f70e5.js index e39023a..57fbb3b 100644 --- a/assets/js/35.9c3f467c.js +++ b/assets/js/39.762f70e5.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[35],{309:function(e,o,l){"use strict";l.r(o);var r=l(14),t=Object(r.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"localplayerdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#localplayerdata"}},[e._v("#")]),e._v(" LocalPlayerData")]),e._v(" "),o("p",[e._v("Represents the local player.")]),e._v(" "),o("p",[e._v("A LocalPlayerData usually has all of the properties of "),o("RouterLink",{attrs:{to:"/plugindocs/globals/PlayerData.html"}},[e._v("PlayerData")]),e._v(", and:")],1),e._v(" "),o("ul",[o("li",[o("code",[e._v("lastReportedPosX: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedPosY: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedPosZ: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("serverSneakState: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("serverSprintState: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("positionUpdateTicks: Integer")])]),e._v(" "),o("li",[o("code",[e._v("hasValidHealth: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("clientBrand: String")])]),e._v(" "),o("li",[o("code",[e._v("sprintToggleTimer: Integer")])]),e._v(" "),o("li",[o("code",[e._v("sprintingTicksLeft: Integer")])]),e._v(" "),o("li",[o("code",[e._v("renderArmYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("renderArmPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRenderArmYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRenderArmPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("horseJumpPower: Number")])]),e._v(" "),o("li",[o("code",[e._v("horseJumpPowerCounter: Integer")])])]),e._v(" "),o("p",[e._v("It has these methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("mountEntity({entityIn: EntityRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("dropOneItem({dropAll: Boolean}) : EntityData")])]),e._v(" "),o("li",[o("code",[e._v("sendChatMessage({message: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("respawnPlayer() : void")])]),e._v(" "),o("li",[o("code",[e._v("closeScreen() : void")])]),e._v(" "),o("li",[o("code",[e._v("closeScreenAndDropStack() : void")])]),e._v(" "),o("li",[o("code",[e._v("setPlayerSPHealth({health: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isUser() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("sendHorseJump() : void")])]),e._v(" "),o("li",[o("code",[e._v("sendHorseInventory() : void")])]),e._v(" "),o("li",[o("code",[e._v("setClientBrand({brand: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getClientBrand() : String")])]),e._v(" "),o("li",[o("code",[e._v("pushOutOfBlocks({x: Number, y: Number, z: Number}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isOpenBlockSpace(pos: BlockPos) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("setXPStats({currentXP: Number, maxXP: Integer, level: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("playSound({name: String, volume: Number, pitch: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isServerWorld() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isRidingHorse() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getHorseJumpPower() : Number")])]),e._v(" "),o("li",[o("code",[e._v("isCurrentViewEntity() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSpectator() : Boolean")])])])])}),[],!1,null,null,null);o.default=t.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{313:function(e,o,l){"use strict";l.r(o);var r=l(14),t=Object(r.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"localplayerdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#localplayerdata"}},[e._v("#")]),e._v(" LocalPlayerData")]),e._v(" "),o("p",[e._v("Represents the local player.")]),e._v(" "),o("p",[e._v("A LocalPlayerData usually has all of the properties of "),o("RouterLink",{attrs:{to:"/plugindocs/globals/PlayerData.html"}},[e._v("PlayerData")]),e._v(", and:")],1),e._v(" "),o("ul",[o("li",[o("code",[e._v("lastReportedPosX: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedPosY: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedPosZ: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("lastReportedPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("serverSneakState: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("serverSprintState: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("positionUpdateTicks: Integer")])]),e._v(" "),o("li",[o("code",[e._v("hasValidHealth: Boolean")])]),e._v(" "),o("li",[o("code",[e._v("clientBrand: String")])]),e._v(" "),o("li",[o("code",[e._v("sprintToggleTimer: Integer")])]),e._v(" "),o("li",[o("code",[e._v("sprintingTicksLeft: Integer")])]),e._v(" "),o("li",[o("code",[e._v("renderArmYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("renderArmPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRenderArmYaw: Number")])]),e._v(" "),o("li",[o("code",[e._v("prevRenderArmPitch: Number")])]),e._v(" "),o("li",[o("code",[e._v("horseJumpPower: Number")])]),e._v(" "),o("li",[o("code",[e._v("horseJumpPowerCounter: Integer")])])]),e._v(" "),o("p",[e._v("It has these methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("mountEntity({entityIn: EntityRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("dropOneItem({dropAll: Boolean}) : EntityData")])]),e._v(" "),o("li",[o("code",[e._v("sendChatMessage({message: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("respawnPlayer() : void")])]),e._v(" "),o("li",[o("code",[e._v("closeScreen() : void")])]),e._v(" "),o("li",[o("code",[e._v("closeScreenAndDropStack() : void")])]),e._v(" "),o("li",[o("code",[e._v("setPlayerSPHealth({health: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isUser() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("sendHorseJump() : void")])]),e._v(" "),o("li",[o("code",[e._v("sendHorseInventory() : void")])]),e._v(" "),o("li",[o("code",[e._v("setClientBrand({brand: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getClientBrand() : String")])]),e._v(" "),o("li",[o("code",[e._v("pushOutOfBlocks({x: Number, y: Number, z: Number}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isOpenBlockSpace(pos: BlockPos) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("setXPStats({currentXP: Number, maxXP: Integer, level: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("playSound({name: String, volume: Number, pitch: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isServerWorld() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isRidingHorse() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getHorseJumpPower() : Number")])]),e._v(" "),o("li",[o("code",[e._v("isCurrentViewEntity() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isSpectator() : Boolean")])])])])}),[],!1,null,null,null);o.default=t.exports}}]); \ No newline at end of file diff --git a/assets/js/40.07a74ea5.js b/assets/js/40.07a74ea5.js deleted file mode 100644 index 33134ec..0000000 --- a/assets/js/40.07a74ea5.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{314:function(e,t,o){"use strict";o.r(t);var a=o(14),l=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"playerdata"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#playerdata"}},[e._v("#")]),e._v(" PlayerData")]),e._v(" "),t("p",[e._v("Represents a player.")]),e._v(" "),t("p",[e._v("A PlayerData usually has all of the properties of "),t("RouterLink",{attrs:{to:"/plugindocs/globals/LivingEntityData.html"}},[e._v("LivingEntityData")]),e._v(", and:")],1),e._v(" "),t("ul",[t("li",[t("code",[e._v("cameraYaw")]),e._v(": Number: Equal to the player's "),t("code",[e._v("cameraYaw")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("chasingPosX")]),e._v(": Number: Equal to the player's "),t("code",[e._v("chasingPosX")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("chasingPosY")]),e._v(": Number: Equal to the player's "),t("code",[e._v("chasingPosY")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("chasingPosZ")]),e._v(": Number: Equal to the player's "),t("code",[e._v("chasingPosZ")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("experience")]),e._v(": Number: The player's experience number.")]),e._v(" "),t("li",[t("code",[e._v("experienceLevel")]),e._v(": Integer: The player's experience level.")]),e._v(" "),t("li",[t("code",[e._v("experienceTotal")]),e._v(": Integer: The player's experience total.")]),e._v(" "),t("li",[t("code",[e._v("fishEntity")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/FishHookData.html"}},[e._v("FishHookData")]),e._v(": The player's fishing bobber / hook. (If existing)")],1),e._v(" "),t("li",[t("code",[e._v("flyToggleTimer")]),e._v(": Integer: Equal to the player's "),t("code",[e._v("flyToggleTimer")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("hasReducedDebug")]),e._v(": Boolean: Equal to the player's "),t("code",[e._v("hasReducedDebug")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("itemInUseCount")]),e._v(": Integer: The count of the item that the player is currenly using. (Read-only)")]),e._v(" "),t("li",[t("code",[e._v("itemInUse")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")]),e._v(": The itemstack the player is using. (If existing)")],1),e._v(" "),t("li",[t("code",[e._v("lastXPSound")]),e._v(": Integer: Equal to the player's "),t("code",[e._v("lastXPSound")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("sleepTimer")]),e._v(": Integer: Equal to the player's "),t("code",[e._v("sleepTimer")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("sleeping")]),e._v(": Boolean: Whether or not the player is sleeping.")]),e._v(" "),t("li",[t("code",[e._v("spawnForced")]),e._v(": Boolean: Equal to the player's "),t("code",[e._v("spawnForced")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("speedInAir")]),e._v(": Number: Equal to the player's "),t("code",[e._v("speedInAir")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("speedOnGround")]),e._v(": Number: Equal to the player's "),t("code",[e._v("speedOnGround")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("xpCooldown")]),e._v(": Integer: Equal to the player's "),t("code",[e._v("xpCooldown")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("xpSeed")]),e._v(": Integer: Equal to the player's "),t("code",[e._v("xpSeed")]),e._v(".")]),e._v(" "),t("li",[t("code",[e._v("inventoryContainer")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ContainerData.html"}},[e._v("ContainerData")]),e._v(": Equal to the player's "),t("code",[e._v("inventoryContainer")]),e._v(".")],1),e._v(" "),t("li",[t("code",[e._v("openContainer")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/ContainerData.html"}},[e._v("ContainerData")]),e._v(": Equal to the player's "),t("code",[e._v("openContainer")]),e._v(".")],1),e._v(" "),t("li",[t("code",[e._v("inventory")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/InventoryPlayerData.html"}},[e._v("InventoryPlayerData")]),e._v(": Equals to the player's "),t("code",[e._v("inventory")]),e._v(".")],1),e._v(" "),t("li",[t("code",[e._v("capabilities")]),e._v(": "),t("RouterLink",{attrs:{to:"/plugindocs/globals/PlayerCapabilities.html"}},[e._v("PlayerCapabilities")]),e._v(": Equals to the player's "),t("code",[e._v("capabilities")]),e._v(".")],1)]),e._v(" "),t("p",[e._v("Todo: methods.")])])}),[],!1,null,null,null);t.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/36.08061e94.js b/assets/js/40.36f97591.js similarity index 91% rename from assets/js/36.08061e94.js rename to assets/js/40.36f97591.js index 3ad71f0..a33ae75 100644 --- a/assets/js/36.08061e94.js +++ b/assets/js/40.36f97591.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{310:function(e,o,t){"use strict";t.r(o);var r=t(14),l=Object(r.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"mapcolor"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#mapcolor"}},[e._v("#")]),e._v(" MapColor")]),e._v(" "),o("p",[e._v("Represents a map color.")]),e._v(" "),o("p",[e._v("Has the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("colorIndex")]),e._v(" : Integer")]),e._v(" "),o("li",[o("code",[e._v("colorValue")]),e._v(" : Integer")]),e._v(" "),o("li",[o("code",[e._v("rgb")]),e._v(" : Integer[]")])])])}),[],!1,null,null,null);o.default=l.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{314:function(e,o,t){"use strict";t.r(o);var r=t(14),l=Object(r.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"mapcolor"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#mapcolor"}},[e._v("#")]),e._v(" MapColor")]),e._v(" "),o("p",[e._v("Represents a map color.")]),e._v(" "),o("p",[e._v("Has the following properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("colorIndex")]),e._v(" : Integer")]),e._v(" "),o("li",[o("code",[e._v("colorValue")]),e._v(" : Integer")]),e._v(" "),o("li",[o("code",[e._v("rgb")]),e._v(" : Integer[]")])])])}),[],!1,null,null,null);o.default=l.exports}}]); \ No newline at end of file diff --git a/assets/js/37.44843498.js b/assets/js/41.59e6eb84.js similarity index 97% rename from assets/js/37.44843498.js rename to assets/js/41.59e6eb84.js index c217e27..4a69616 100644 --- a/assets/js/37.44843498.js +++ b/assets/js/41.59e6eb84.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{311:function(a,e,l){"use strict";l.r(e);var o=l(14),t=Object(o.a)({},(function(){var a=this,e=a._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[e("h1",{attrs:{id:"materialdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#materialdata"}},[a._v("#")]),a._v(" MaterialData")]),a._v(" "),e("p",[a._v("Represents a material.")]),a._v(" "),e("p",[a._v("Has the following properties:")]),a._v(" "),e("ul",[e("li",[e("code",[a._v("canBurn")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("replaceable")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("isTranslucent")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("requiresNoTool")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("mobilityFlag")]),a._v(" : Integer")]),a._v(" "),e("li",[e("code",[a._v("isAdventureModeExempt")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("materialMapColor")]),a._v(" : "),e("RouterLink",{attrs:{to:"/plugindocs/globals/MapColor.html"}},[a._v("MapColor")])],1)]),a._v(" "),e("p",[a._v("It has the following methods:")]),a._v(" "),e("ul",[e("li",[e("code",[a._v("isLiquid() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isSolid() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isToolNotRequired() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isReplaceable() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isOpaque() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("getCanBurn() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("blocksLight() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("blocksMovement() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("setTranslucent() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setRequiresTool() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setBurning() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setReplaceable() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setNoPushMobility() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("getMaterialMobility() : Integer")])]),a._v(" "),e("li",[e("code",[a._v("setImmovableMobility() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setAdventureModeExempt() : [MaterialData](MaterialData.md)")])])])])}),[],!1,null,null,null);e.default=t.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{315:function(a,e,l){"use strict";l.r(e);var o=l(14),t=Object(o.a)({},(function(){var a=this,e=a._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[e("h1",{attrs:{id:"materialdata"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#materialdata"}},[a._v("#")]),a._v(" MaterialData")]),a._v(" "),e("p",[a._v("Represents a material.")]),a._v(" "),e("p",[a._v("Has the following properties:")]),a._v(" "),e("ul",[e("li",[e("code",[a._v("canBurn")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("replaceable")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("isTranslucent")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("requiresNoTool")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("mobilityFlag")]),a._v(" : Integer")]),a._v(" "),e("li",[e("code",[a._v("isAdventureModeExempt")]),a._v(" : Boolean")]),a._v(" "),e("li",[e("code",[a._v("materialMapColor")]),a._v(" : "),e("RouterLink",{attrs:{to:"/plugindocs/globals/MapColor.html"}},[a._v("MapColor")])],1)]),a._v(" "),e("p",[a._v("It has the following methods:")]),a._v(" "),e("ul",[e("li",[e("code",[a._v("isLiquid() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isSolid() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isToolNotRequired() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isReplaceable() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("isOpaque() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("getCanBurn() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("blocksLight() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("blocksMovement() : Boolean")])]),a._v(" "),e("li",[e("code",[a._v("setTranslucent() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setRequiresTool() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setBurning() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setReplaceable() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setNoPushMobility() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("getMaterialMobility() : Integer")])]),a._v(" "),e("li",[e("code",[a._v("setImmovableMobility() : [MaterialData](MaterialData.md)")])]),a._v(" "),e("li",[e("code",[a._v("setAdventureModeExempt() : [MaterialData](MaterialData.md)")])])])])}),[],!1,null,null,null);e.default=t.exports}}]); \ No newline at end of file diff --git a/assets/js/38.1d219bea.js b/assets/js/42.c1512451.js similarity index 98% rename from assets/js/38.1d219bea.js rename to assets/js/42.c1512451.js index 480a319..5bf6c88 100644 --- a/assets/js/38.1d219bea.js +++ b/assets/js/42.c1512451.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{312:function(e,o,t){"use strict";t.r(o);var v=t(14),n=Object(v.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"networkdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#networkdata"}},[e._v("#")]),e._v(" NetworkData")]),e._v(" "),o("p",[e._v("Represents the network handler. Has many built-in functions to easily send packets to the server..")]),e._v(" "),o("p",[e._v("Properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("doneLoadingTerrain")]),e._v(": Boolean")]),e._v(" "),o("li",[o("code",[e._v("currentServerMaxPlayers")]),e._v(": Integer")])]),e._v(" "),o("p",[e._v("Methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("sendPacketAnimation() : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketEntityAction({entityId: Integer, action: String, auxData: Integer}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("START_SNEAKING")]),e._v(", "),o("code",[e._v("STOP_SNEAKING")]),e._v(", "),o("code",[e._v("STOP_SLEEPING")]),e._v(", "),o("code",[e._v("START_SPRINTING")]),e._v(", "),o("code",[e._v("STOP_SPRINTING")]),e._v(", "),o("code",[e._v("RIDING_JUMP")]),e._v(" or "),o("code",[e._v("OPEN_INVENTORY")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketInput({strafeSpeed: Number, forwardSpeed: Number, jumping: Boolean, sneaking: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketCloseWindow({windowId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketClickWindow({windowId: Integer, slotId: Integer, usedButton: Integer, mode: Integer, clickedItemRef: ItemStackRef?, actionNumber: Short}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketConfirmTransaction({windowId: Integer, uid: Short, accepted: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketKeepAlive({key: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketChatMessage({messageIn: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityRef: EntityRef, hitVec: Vec3}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityRef: EntityRef, action: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("INTERACT")]),e._v(", "),o("code",[e._v("ATTACK")]),e._v(" or "),o("code",[e._v("INTERACT_AT")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityId: Integer, hitVec: Vec3}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityId: Integer, action: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("INTERACT")]),e._v(", "),o("code",[e._v("ATTACK")]),e._v(" or "),o("code",[e._v("INTERACT_AT")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayer({isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerPosition({posX: Number, posY: Number, posZ: Number, isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerLook({playerYaw: Number, playerPitch: Number, isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerPosLook({playerX: Number, playerY: Number, playerZ: Number, playerYaw: Number, playerPitch: Number, isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerDigging({action: String, pos: BlockPos, facing: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("START_DESTROY_BLOCK")]),e._v(", "),o("code",[e._v("ABORT_DESTROY_BLOCK")]),e._v(", "),o("code",[e._v("STOP_DESTROY_BLOCK")]),e._v(", "),o("code",[e._v("DROP_ALL_ITEMS")]),e._v(", "),o("code",[e._v("DROP_ITEM")]),e._v(" or "),o("code",[e._v("RELEASE_USE_ITEM")])]),e._v(" "),o("li",[o("code",[e._v("facing")]),e._v(" can be one of: "),o("code",[e._v("UP")]),e._v(", "),o("code",[e._v("DOWN")]),e._v(", "),o("code",[e._v("NORTH")]),e._v(", "),o("code",[e._v("SOUTH")]),e._v(", "),o("code",[e._v("EAST")]),e._v(" or "),o("code",[e._v("WEST")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerBlockPlacement({stackRef: ItemStackRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerBlockPlacement({posRef: BlockPosRef, placedBlockDirectionIn: Integer, stackRef: ItemStackRef, facingXIn: Number, facingYIn: Number, facingZIn: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketHeldItemChange({slotId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketCreativeInventoryAction({slotId: Integer, stackRef: ItemStackRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketEnchantItem({windowId: Integer, button: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUpdateSign({pos: BlockPos, lines: String[]}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerAbilities({capabilitiesRef: PlayerCapabilitiesRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketTabComplete({msg: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketTabComplete({msg: String, target: BlockPos}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketClientSettings({lang: String, view: Integer, chatVisibility: String, enableColors: Boolean, modelPartFlags: Integer}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("chatVisibility")]),e._v(" can be one of: "),o("code",[e._v("FULL")]),e._v(", "),o("code",[e._v("SYSTEM")]),e._v(" or "),o("code",[e._v("HIDDEN")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketClientStatus({status: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("status")]),e._v(" can be one of: "),o("code",[e._v("PERFORM_RESPAWN")]),e._v(", "),o("code",[e._v("REQUEST_STATS")]),e._v(" or "),o("code",[e._v("OPEN_INVENTORY_ACHIEVEMENT")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketSpectate({uuid: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketResourcePackStatus({hash: String, status: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("status")]),e._v(" can be one of: "),o("code",[e._v("SUCCESSFULLY_LOADED")]),e._v(", "),o("code",[e._v("DECLINED")]),e._v(", "),o("code",[e._v("FAILED_DOWNLOAD")]),e._v(" or "),o("code",[e._v("ACCEPTED")])])])])])])}),[],!1,null,null,null);o.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{316:function(e,o,t){"use strict";t.r(o);var v=t(14),n=Object(v.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"networkdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#networkdata"}},[e._v("#")]),e._v(" NetworkData")]),e._v(" "),o("p",[e._v("Represents the network handler. Has many built-in functions to easily send packets to the server..")]),e._v(" "),o("p",[e._v("Properties:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("doneLoadingTerrain")]),e._v(": Boolean")]),e._v(" "),o("li",[o("code",[e._v("currentServerMaxPlayers")]),e._v(": Integer")])]),e._v(" "),o("p",[e._v("Methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("sendPacketAnimation() : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketEntityAction({entityId: Integer, action: String, auxData: Integer}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("START_SNEAKING")]),e._v(", "),o("code",[e._v("STOP_SNEAKING")]),e._v(", "),o("code",[e._v("STOP_SLEEPING")]),e._v(", "),o("code",[e._v("START_SPRINTING")]),e._v(", "),o("code",[e._v("STOP_SPRINTING")]),e._v(", "),o("code",[e._v("RIDING_JUMP")]),e._v(" or "),o("code",[e._v("OPEN_INVENTORY")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketInput({strafeSpeed: Number, forwardSpeed: Number, jumping: Boolean, sneaking: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketCloseWindow({windowId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketClickWindow({windowId: Integer, slotId: Integer, usedButton: Integer, mode: Integer, clickedItemRef: ItemStackRef?, actionNumber: Short}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketConfirmTransaction({windowId: Integer, uid: Short, accepted: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketKeepAlive({key: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketChatMessage({messageIn: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityRef: EntityRef, hitVec: Vec3}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityRef: EntityRef, action: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("INTERACT")]),e._v(", "),o("code",[e._v("ATTACK")]),e._v(" or "),o("code",[e._v("INTERACT_AT")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityId: Integer, hitVec: Vec3}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUseEntity({entityId: Integer, action: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("INTERACT")]),e._v(", "),o("code",[e._v("ATTACK")]),e._v(" or "),o("code",[e._v("INTERACT_AT")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayer({isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerPosition({posX: Number, posY: Number, posZ: Number, isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerLook({playerYaw: Number, playerPitch: Number, isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerPosLook({playerX: Number, playerY: Number, playerZ: Number, playerYaw: Number, playerPitch: Number, isOnGround: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerDigging({action: String, pos: BlockPos, facing: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("action")]),e._v(" can be one of: "),o("code",[e._v("START_DESTROY_BLOCK")]),e._v(", "),o("code",[e._v("ABORT_DESTROY_BLOCK")]),e._v(", "),o("code",[e._v("STOP_DESTROY_BLOCK")]),e._v(", "),o("code",[e._v("DROP_ALL_ITEMS")]),e._v(", "),o("code",[e._v("DROP_ITEM")]),e._v(" or "),o("code",[e._v("RELEASE_USE_ITEM")])]),e._v(" "),o("li",[o("code",[e._v("facing")]),e._v(" can be one of: "),o("code",[e._v("UP")]),e._v(", "),o("code",[e._v("DOWN")]),e._v(", "),o("code",[e._v("NORTH")]),e._v(", "),o("code",[e._v("SOUTH")]),e._v(", "),o("code",[e._v("EAST")]),e._v(" or "),o("code",[e._v("WEST")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerBlockPlacement({stackRef: ItemStackRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerBlockPlacement({posRef: BlockPosRef, placedBlockDirectionIn: Integer, stackRef: ItemStackRef, facingXIn: Number, facingYIn: Number, facingZIn: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketHeldItemChange({slotId: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketCreativeInventoryAction({slotId: Integer, stackRef: ItemStackRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketEnchantItem({windowId: Integer, button: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketUpdateSign({pos: BlockPos, lines: String[]}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketPlayerAbilities({capabilitiesRef: PlayerCapabilitiesRef}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketTabComplete({msg: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketTabComplete({msg: String, target: BlockPos}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketClientSettings({lang: String, view: Integer, chatVisibility: String, enableColors: Boolean, modelPartFlags: Integer}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("chatVisibility")]),e._v(" can be one of: "),o("code",[e._v("FULL")]),e._v(", "),o("code",[e._v("SYSTEM")]),e._v(" or "),o("code",[e._v("HIDDEN")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketClientStatus({status: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("status")]),e._v(" can be one of: "),o("code",[e._v("PERFORM_RESPAWN")]),e._v(", "),o("code",[e._v("REQUEST_STATS")]),e._v(" or "),o("code",[e._v("OPEN_INVENTORY_ACHIEVEMENT")])])])]),e._v(" "),o("li",[o("code",[e._v("sendPacketSpectate({uuid: String}) : void")])]),e._v(" "),o("li",[o("code",[e._v("sendPacketResourcePackStatus({hash: String, status: String}) : void")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("status")]),e._v(" can be one of: "),o("code",[e._v("SUCCESSFULLY_LOADED")]),e._v(", "),o("code",[e._v("DECLINED")]),e._v(", "),o("code",[e._v("FAILED_DOWNLOAD")]),e._v(" or "),o("code",[e._v("ACCEPTED")])])])])])])}),[],!1,null,null,null);o.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/43.52e533bb.js b/assets/js/43.52e533bb.js deleted file mode 100644 index 9d90094..0000000 --- a/assets/js/43.52e533bb.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{317:function(e,t,r){"use strict";r.r(t);var n=r(14),o=Object(n.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"vec3i"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#vec3i"}},[e._v("#")]),e._v(" Vec3i")]),e._v(" "),t("p",[e._v("Represents a 3d integer point in 3d space.")]),e._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),t("p",[e._v("PluginAPI.contructors.Vec3i({x: Integer, y: Integer, z: Integer})")]),e._v(" "),t("p",[e._v("Has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("x")]),e._v(" : Integer")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(" : Integer")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(" : Integer")])]),e._v(" "),t("p",[e._v("Has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("hashCode() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("compareTo({x: Integer, y: Integer, z: Integer}) : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getX() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getY() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getZ() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("crossProduct({x: Integer, y: Integer, z: Integer}) : Vec3i")])]),e._v(" "),t("li",[t("code",[e._v("distanceSq({x: Integer, y: Integer, z: Integer}) : Number")])]),e._v(" "),t("li",[t("code",[e._v("distanceSqToCenter({x: Number, y: Number, z: Number}) : Number")])]),e._v(" "),t("li",[t("code",[e._v("toString() : String")])])])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/39.06df051d.js b/assets/js/43.6b53468e.js similarity index 95% rename from assets/js/39.06df051d.js rename to assets/js/43.6b53468e.js index 9b6cb84..bdf5bc1 100644 --- a/assets/js/39.06df051d.js +++ b/assets/js/43.6b53468e.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{313:function(e,l,a){"use strict";a.r(l);var i=a(14),o=Object(i.a)({},(function(){var e=this,l=e._self._c;return l("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[l("h1",{attrs:{id:"playercapabilities"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#playercapabilities"}},[e._v("#")]),e._v(" PlayerCapabilities")]),e._v(" "),l("p",[e._v("Represents a player's capabilities.")]),e._v(" "),l("p",[e._v("Has the following properties:")]),e._v(" "),l("ul",[l("li",[l("code",[e._v("disableDamage: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("isFlying: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("allowFlying: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("isCreativeMode: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("allowEdit: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("flySpeed: Number")])]),e._v(" "),l("li",[l("code",[e._v("walkSpeed: Number")])])]),e._v(" "),l("p",[e._v("It has the following methods:")]),e._v(" "),l("ul",[l("li",[l("code",[e._v("getFlySpeed() : Number")])]),e._v(" "),l("li",[l("code",[e._v("getWalkSpeed() : Number")])]),e._v(" "),l("li",[l("code",[e._v("setFlySpeed({speed: Number}) : void")])]),e._v(" "),l("li",[l("code",[e._v("setPlayerWalkSpeed({speed: Number}) : void")])])])])}),[],!1,null,null,null);l.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{317:function(e,l,a){"use strict";a.r(l);var i=a(14),o=Object(i.a)({},(function(){var e=this,l=e._self._c;return l("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[l("h1",{attrs:{id:"playercapabilities"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#playercapabilities"}},[e._v("#")]),e._v(" PlayerCapabilities")]),e._v(" "),l("p",[e._v("Represents a player's capabilities.")]),e._v(" "),l("p",[e._v("Has the following properties:")]),e._v(" "),l("ul",[l("li",[l("code",[e._v("disableDamage: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("isFlying: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("allowFlying: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("isCreativeMode: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("allowEdit: Boolean")])]),e._v(" "),l("li",[l("code",[e._v("flySpeed: Number")])]),e._v(" "),l("li",[l("code",[e._v("walkSpeed: Number")])])]),e._v(" "),l("p",[e._v("It has the following methods:")]),e._v(" "),l("ul",[l("li",[l("code",[e._v("getFlySpeed() : Number")])]),e._v(" "),l("li",[l("code",[e._v("getWalkSpeed() : Number")])]),e._v(" "),l("li",[l("code",[e._v("setFlySpeed({speed: Number}) : void")])]),e._v(" "),l("li",[l("code",[e._v("setPlayerWalkSpeed({speed: Number}) : void")])])])])}),[],!1,null,null,null);l.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/44.3d55385e.js b/assets/js/44.3d55385e.js new file mode 100644 index 0000000..cb5da84 --- /dev/null +++ b/assets/js/44.3d55385e.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{318:function(e,o,t){"use strict";t.r(o);var v=t(14),a=Object(v.a)({},(function(){var e=this,o=e._self._c;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"playerdata"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#playerdata"}},[e._v("#")]),e._v(" PlayerData")]),e._v(" "),o("p",[e._v("Represents a player.")]),e._v(" "),o("p",[e._v("A PlayerData usually has all of the properties of "),o("RouterLink",{attrs:{to:"/plugindocs/globals/LivingEntityData.html"}},[e._v("LivingEntityData")]),e._v(", and:")],1),e._v(" "),o("ul",[o("li",[o("code",[e._v("foodStats")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/FoodStatsData.html"}},[e._v("FoodStatsData")]),e._v(": Equal to the player's "),o("code",[e._v("foodStats")]),e._v(".")],1),e._v(" "),o("li",[o("code",[e._v("cameraYaw")]),e._v(": Number: Equal to the player's "),o("code",[e._v("cameraYaw")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("chasingPosX")]),e._v(": Number: Equal to the player's "),o("code",[e._v("chasingPosX")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("chasingPosY")]),e._v(": Number: Equal to the player's "),o("code",[e._v("chasingPosY")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("chasingPosZ")]),e._v(": Number: Equal to the player's "),o("code",[e._v("chasingPosZ")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("experience")]),e._v(": Number: The player's experience number.")]),e._v(" "),o("li",[o("code",[e._v("experienceLevel")]),e._v(": Integer: The player's experience level.")]),e._v(" "),o("li",[o("code",[e._v("experienceTotal")]),e._v(": Integer: The player's experience total.")]),e._v(" "),o("li",[o("code",[e._v("fishEntity")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/FishHookData.html"}},[e._v("FishHookData")]),e._v(": The player's fishing bobber / hook. (If existing)")],1),e._v(" "),o("li",[o("code",[e._v("flyToggleTimer")]),e._v(": Integer: Equal to the player's "),o("code",[e._v("flyToggleTimer")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("hasReducedDebug")]),e._v(": Boolean: Equal to the player's "),o("code",[e._v("hasReducedDebug")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("itemInUseCount")]),e._v(": Integer: The count of the item that the player is currenly using. (Read-only)")]),e._v(" "),o("li",[o("code",[e._v("itemInUse")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/ItemStackData.html"}},[e._v("ItemStackData")]),e._v(": The itemstack the player is using. (If existing)")],1),e._v(" "),o("li",[o("code",[e._v("lastXPSound")]),e._v(": Integer: Equal to the player's "),o("code",[e._v("lastXPSound")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("sleepTimer")]),e._v(": Integer: Equal to the player's "),o("code",[e._v("sleepTimer")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("sleeping")]),e._v(": Boolean: Whether or not the player is sleeping.")]),e._v(" "),o("li",[o("code",[e._v("spawnForced")]),e._v(": Boolean: Equal to the player's "),o("code",[e._v("spawnForced")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("speedInAir")]),e._v(": Number: Equal to the player's "),o("code",[e._v("speedInAir")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("speedOnGround")]),e._v(": Number: Equal to the player's "),o("code",[e._v("speedOnGround")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("xpCooldown")]),e._v(": Integer: Equal to the player's "),o("code",[e._v("xpCooldown")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("xpSeed")]),e._v(": Integer: Equal to the player's "),o("code",[e._v("xpSeed")]),e._v(".")]),e._v(" "),o("li",[o("code",[e._v("inventoryContainer")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/ContainerData.html"}},[e._v("ContainerData")]),e._v(": Equal to the player's "),o("code",[e._v("inventoryContainer")]),e._v(".")],1),e._v(" "),o("li",[o("code",[e._v("openContainer")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/ContainerData.html"}},[e._v("ContainerData")]),e._v(": Equal to the player's "),o("code",[e._v("openContainer")]),e._v(".")],1),e._v(" "),o("li",[o("code",[e._v("inventory")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/InventoryPlayerData.html"}},[e._v("InventoryPlayerData")]),e._v(": Equals to the player's "),o("code",[e._v("inventory")]),e._v(".")],1),e._v(" "),o("li",[o("code",[e._v("capabilities")]),e._v(": "),o("RouterLink",{attrs:{to:"/plugindocs/globals/PlayerCapabilities.html"}},[e._v("PlayerCapabilities")]),e._v(": Equals to the player's "),o("code",[e._v("capabilities")]),e._v(".")],1)]),e._v(" "),o("p",[e._v("It has the following methods:")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("getItemInUse() : ItemStackData")])]),e._v(" "),o("li",[o("code",[e._v("getItemInUseCount() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("isUsingItem() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getItemInUseDuration() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("stopUsingItem() : void")])]),e._v(" "),o("li",[o("code",[e._v("clearItemInUse() : void")])]),e._v(" "),o("li",[o("code",[e._v("isBlocking() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getMaxInPortalTime() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getSwimSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("getSplashSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("getPortalCooldown() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("playSound({s: String, f: Number, f1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("updateItemUse({itemStackIn: ItemStackData, parInt1: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("onItemUseFinish() : void")])]),e._v(" "),o("li",[o("code",[e._v("handleStatusUpdate({b0: Byte}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isMovementBlocked() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("closeScreen() : void")])]),e._v(" "),o("li",[o("code",[e._v("updateRidden() : void")])]),e._v(" "),o("li",[o("code",[e._v("preparePlayerToSpawn() : void")])]),e._v(" "),o("li",[o("code",[e._v("updateEntityActionState() : void")])]),e._v(" "),o("li",[o("code",[e._v("onLivingUpdate() : void")])]),e._v(" "),o("li",[o("code",[e._v("collideWithPlayer({parEntity: EntityData}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getScore() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("addScore({parInt1: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getHurtSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("getDeathSound() : String")])]),e._v(" "),o("li",[o("code",[e._v("addToPlayerScore({entity: EntityData, i: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("dropOneItem({flag: Boolean}) : ItemEntityData")])]),e._v(" "),o("li",[o("code",[e._v("dropPlayerItemWithRandomChoice({itemStackIn: ItemStackData}) : ItemEntityData")])]),e._v(" "),o("li",[o("code",[e._v("dropItem({droppedItem: ItemStackData, dropAround: Boolean, traceItem: Boolean}) : ItemEntityData")])]),e._v(" "),o("li",[o("code",[e._v("joinEntityItemWithWorld({entityitem: ItemEntityData}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getToolDigEfficiency({parBlock: BlockData}) : Number")])]),e._v(" "),o("li",[o("code",[e._v("canHarvestBlock({blockToHarvest: BlockData}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("canAttackPlayer({entityplayer: PlayerData}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("damageArmor({f: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getTotalArmorValue() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getArmorVisibility() : Number")])]),e._v(" "),o("li",[o("code",[e._v("interactWith({parEntity: EntityData}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getCurrentEquippedItem() : ItemStackData")])]),e._v(" "),o("li",[o("code",[e._v("destroyCurrentEquippedItem() : void")])]),e._v(" "),o("li",[o("code",[e._v("getYOffset() : Number")])]),e._v(" "),o("li",[o("code",[e._v("attackTargetEntityWithCurrentItem({entity: EntityData}) : void")])]),e._v(" "),o("li",[o("code",[e._v("respawnPlayer() : void")])]),e._v(" "),o("li",[o("code",[e._v("isEntityInsideOpaqueBlock() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isUser() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("trySleep({blockpos: BlockPos}) : String")])]),e._v(" "),o("li",[o("code",[e._v("wakeUpPlayer({flag: Boolean, flag1: Boolean, flag2: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isInBed() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getBedOrientationInDegrees() : Number")])]),e._v(" "),o("li",[o("code",[e._v("isPlayerSleeping() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("isPlayerFullyAsleep() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getSleepTimer() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("getBedLocation() : BlockPos")])]),e._v(" "),o("li",[o("code",[e._v("isSpawnForced() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("setSpawnPoint({pos: BlockPos, forced: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("moveEntityWithHeading({f: Number, f1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getAIMoveSpeed() : Number")])]),e._v(" "),o("li",[o("code",[e._v("addMovementStat({parDouble1: Number, parDouble2: Number, parDouble3: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("addMountedMovementStat({parDouble1: Number, parDouble2: Number, parDouble3: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("fall({f: Number, f1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("resetHeight() : void")])]),e._v(" "),o("li",[o("code",[e._v("getFallSoundString({i: Integer}) : String")])]),e._v(" "),o("li",[o("code",[e._v("setInWeb() : void")])]),e._v(" "),o("li",[o("code",[e._v("getCurrentArmor({i: Integer}) : ItemStackData")])]),e._v(" "),o("li",[o("code",[e._v("addExperience({amount: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getXPSeed() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("removeExperienceLevel({i: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("addExperienceLevel({i: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("xpBarCap() : Integer")])]),e._v(" "),o("li",[o("code",[e._v("addExhaustion({parFloat1: Number}) : void")])]),e._v(" "),o("li",[o("code",[e._v("getFoodStats() : FoodStatsData")])]),e._v(" "),o("li",[o("code",[e._v("canEat({ignoreHunger: Boolean}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("shouldHeal() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("setItemInUse({itemstack: ItemStackData, i: Integer}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isAllowEdit() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("canPlayerEdit({parBlockPos: BlockPos, parEnumFacing: String, parItemStack: ItemStackData}) : Boolean")]),e._v(" "),o("ul",[o("li",[o("code",[e._v("parEnumFacing")]),e._v(" can be one of "),o("code",[e._v("UP")]),e._v(", "),o("code",[e._v("DOWN")]),e._v(", "),o("code",[e._v("NORTH")]),e._v(", "),o("code",[e._v("SOUTH")]),e._v(", "),o("code",[e._v("EAST")]),e._v(" or "),o("code",[e._v("WEST")])])])]),e._v(" "),o("li",[o("code",[e._v("isPlayer() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getAlwaysRenderNameTagForRender() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("clonePlayer({entityplayer: PlayerData, flag: Boolean}) : void")])]),e._v(" "),o("li",[o("code",[e._v("canTriggerWalking() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("sendPlayerAbilities() : void")])]),e._v(" "),o("li",[o("code",[e._v("getName() : String")])]),e._v(" "),o("li",[o("code",[e._v("getEquipmentInSlot({i: Integer}) : ItemStackData")])]),e._v(" "),o("li",[o("code",[e._v("getHeldItem() : ItemStackData")])]),e._v(" "),o("li",[o("code",[e._v("setCurrentItemOrArmor({i: Integer, itemstack: ItemStackData}) : void")])]),e._v(" "),o("li",[o("code",[e._v("isInvisibleToPlayer({entityplayer: PlayerData}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getInventory() : ItemStackData[]")])]),e._v(" "),o("li",[o("code",[e._v("isPushedByWater() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("getEyeHeight() : Number")])]),e._v(" "),o("li",[o("code",[e._v("getOfflineUUID({username: String}) : String")])]),e._v(" "),o("li",[o("code",[e._v("replaceItemInInventory({i: Integer, itemstack: ItemStack}) : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("hasReducedDebug() : Boolean")])]),e._v(" "),o("li",[o("code",[e._v("setReducedDebug({reducedDebug: Boolean}) : void")])])])])}),[],!1,null,null,null);o.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/41.ffee5693.js b/assets/js/45.24c62b14.js similarity index 95% rename from assets/js/41.ffee5693.js rename to assets/js/45.24c62b14.js index 05a5f2c..8da00ce 100644 --- a/assets/js/41.ffee5693.js +++ b/assets/js/45.24c62b14.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[41],{315:function(e,t,r){"use strict";r.r(t);var a=r(14),o=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"remoteplayerdata"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#remoteplayerdata"}},[e._v("#")]),e._v(" RemotePlayerData")]),e._v(" "),t("p",[e._v("Represents a remote player.")]),e._v(" "),t("p",[e._v("A RemotePlayerData usually has all of the properties of "),t("RouterLink",{attrs:{to:"/plugindocs/globals/PlayerData.html"}},[e._v("PlayerData")]),e._v(", and:")],1),e._v(" "),t("ul",[t("li",[t("code",[e._v("otherPlayerMPPosRotationIncrements: Integer")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPX: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPY: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPZ: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPYaw: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPPitch: Number")])])]),e._v(" "),t("p",[e._v("It has these methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("setCurrentItemOrArmor({slotIn: Integer, itemStack: ItemStackRef}) : void")])]),e._v(" "),t("li",[t("code",[e._v("isSpectator() : Boolean")])])])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{319:function(e,t,r){"use strict";r.r(t);var a=r(14),o=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"remoteplayerdata"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#remoteplayerdata"}},[e._v("#")]),e._v(" RemotePlayerData")]),e._v(" "),t("p",[e._v("Represents a remote player.")]),e._v(" "),t("p",[e._v("A RemotePlayerData usually has all of the properties of "),t("RouterLink",{attrs:{to:"/plugindocs/globals/PlayerData.html"}},[e._v("PlayerData")]),e._v(", and:")],1),e._v(" "),t("ul",[t("li",[t("code",[e._v("otherPlayerMPPosRotationIncrements: Integer")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPX: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPY: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPZ: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPYaw: Number")])]),e._v(" "),t("li",[t("code",[e._v("otherPlayerMPPitch: Number")])])]),e._v(" "),t("p",[e._v("It has these methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("setCurrentItemOrArmor({slotIn: Integer, itemStack: ItemStackRef}) : void")])]),e._v(" "),t("li",[t("code",[e._v("isSpectator() : Boolean")])])])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/42.36d11e81.js b/assets/js/46.c30c01df.js similarity index 97% rename from assets/js/42.36d11e81.js rename to assets/js/46.c30c01df.js index 2b7fa33..b76ff31 100644 --- a/assets/js/42.36d11e81.js +++ b/assets/js/46.c30c01df.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{316:function(e,t,c){"use strict";c.r(t);var o=c(14),r=Object(o.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"vec3"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#vec3"}},[e._v("#")]),e._v(" Vec3")]),e._v(" "),t("p",[e._v("Used to represent a point in 3d space.")]),e._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),t("p",[e._v("PluginAPI.contructors.Vec3({x: Number, y: Number, z: Number})")]),e._v(" "),t("p",[e._v("Has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("x")]),e._v(": Number: equal to the vector's "),t("code",[e._v("xCoord")])]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Number: equal to the vector's "),t("code",[e._v("yCoord")])]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Number: equal to the vector's "),t("code",[e._v("zCoord")])])]),e._v(" "),t("p",[e._v("It has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("subtractReverse(Vec3 vec) : void")])]),e._v(" "),t("li",[t("code",[e._v("normalize() : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("dotProduct(Vec3 vec) : number")])]),e._v(" "),t("li",[t("code",[e._v("crossProduct(Vec3 vec) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("subtract({x: number, y: number, z: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("addVector({x: number, y: number, z: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("addVector(Vec3 vec) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("distanceTo(Vec3 vec) : number")])]),e._v(" "),t("li",[t("code",[e._v("squareDistanceTo(Vec3 vec) : number")])]),e._v(" "),t("li",[t("code",[e._v("lengthVector() : number")])]),e._v(" "),t("li",[t("code",[e._v("getIntermediateWithXValue({vec: Vec3, x: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("getIntermediateWithYValue({vec: Vec3, y: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("getIntermediateWithZValue({vec: Vec3, z: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("toString() : string")])]),e._v(" "),t("li",[t("code",[e._v("rotatePitch({pitch: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("rotateYaw({yaw: number}) : Vec3")])])])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{320:function(e,t,c){"use strict";c.r(t);var o=c(14),r=Object(o.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"vec3"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#vec3"}},[e._v("#")]),e._v(" Vec3")]),e._v(" "),t("p",[e._v("Used to represent a point in 3d space.")]),e._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),t("p",[e._v("PluginAPI.contructors.Vec3({x: Number, y: Number, z: Number})")]),e._v(" "),t("p",[e._v("Has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("x")]),e._v(": Number: equal to the vector's "),t("code",[e._v("xCoord")])]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Number: equal to the vector's "),t("code",[e._v("yCoord")])]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Number: equal to the vector's "),t("code",[e._v("zCoord")])])]),e._v(" "),t("p",[e._v("It has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("subtractReverse(Vec3 vec) : void")])]),e._v(" "),t("li",[t("code",[e._v("normalize() : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("dotProduct(Vec3 vec) : number")])]),e._v(" "),t("li",[t("code",[e._v("crossProduct(Vec3 vec) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("subtract({x: number, y: number, z: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("addVector({x: number, y: number, z: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("addVector(Vec3 vec) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("distanceTo(Vec3 vec) : number")])]),e._v(" "),t("li",[t("code",[e._v("squareDistanceTo(Vec3 vec) : number")])]),e._v(" "),t("li",[t("code",[e._v("lengthVector() : number")])]),e._v(" "),t("li",[t("code",[e._v("getIntermediateWithXValue({vec: Vec3, x: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("getIntermediateWithYValue({vec: Vec3, y: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("getIntermediateWithZValue({vec: Vec3, z: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("toString() : string")])]),e._v(" "),t("li",[t("code",[e._v("rotatePitch({pitch: number}) : Vec3")])]),e._v(" "),t("li",[t("code",[e._v("rotateYaw({yaw: number}) : Vec3")])])])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/47.45883b02.js b/assets/js/47.45883b02.js new file mode 100644 index 0000000..676c4f6 --- /dev/null +++ b/assets/js/47.45883b02.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{321:function(e,t,r){"use strict";r.r(t);var n=r(14),o=Object(n.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"vec3i"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#vec3i"}},[e._v("#")]),e._v(" Vec3i")]),e._v(" "),t("p",[e._v("Represents a 3d integer point in 3d space.")]),e._v(" "),t("h3",{attrs:{id:"constructor"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[e._v("#")]),e._v(" Constructor:")]),e._v(" "),t("p",[e._v("PluginAPI.contructors.Vec3i({x: Integer, y: Integer, z: Integer})")]),e._v(" "),t("p",[e._v("Has the following properties:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("x")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("y")]),e._v(": Integer")]),e._v(" "),t("li",[t("code",[e._v("z")]),e._v(": Integer")])]),e._v(" "),t("p",[e._v("Has the following methods:")]),e._v(" "),t("ul",[t("li",[t("code",[e._v("hashCode() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("compareTo({x: Integer, y: Integer, z: Integer}) : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getX() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getY() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("getZ() : Integer")])]),e._v(" "),t("li",[t("code",[e._v("crossProduct({x: Integer, y: Integer, z: Integer}) : Vec3i")])]),e._v(" "),t("li",[t("code",[e._v("distanceSq({x: Integer, y: Integer, z: Integer}) : Number")])]),e._v(" "),t("li",[t("code",[e._v("distanceSqToCenter({x: Number, y: Number, z: Number}) : Number")])]),e._v(" "),t("li",[t("code",[e._v("toString() : String")])])])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/44.2807bdd1.js b/assets/js/48.8a31aa57.js similarity index 93% rename from assets/js/44.2807bdd1.js rename to assets/js/48.8a31aa57.js index fbdc879..7a5f8a0 100644 --- a/assets/js/44.2807bdd1.js +++ b/assets/js/48.8a31aa57.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[44],{318:function(t,e,r){"use strict";r.r(e);var s=r(14),o=Object(s.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"vec4b"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#vec4b"}},[t._v("#")]),t._v(" Vec4b")]),t._v(" "),e("p",[t._v("Represents a 4 dimensional byte.")]),t._v(" "),e("h3",{attrs:{id:"constructor"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[t._v("#")]),t._v(" Constructor:")]),t._v(" "),e("p",[t._v("PluginAPI.contructors.Vec4b({a: Byte, b: Byte, c: Byte, d: Byte})")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("a")]),t._v(" : Byte")]),t._v(" "),e("li",[e("code",[t._v("b")]),t._v(" : Byte")]),t._v(" "),e("li",[e("code",[t._v("c")]),t._v(" : Byte")]),t._v(" "),e("li",[e("code",[t._v("d")]),t._v(" : Byte")])])])}),[],!1,null,null,null);e.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[48],{322:function(t,e,r){"use strict";r.r(e);var s=r(14),o=Object(s.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"vec4b"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#vec4b"}},[t._v("#")]),t._v(" Vec4b")]),t._v(" "),e("p",[t._v("Represents a 4 dimensional byte.")]),t._v(" "),e("h3",{attrs:{id:"constructor"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#constructor"}},[t._v("#")]),t._v(" Constructor:")]),t._v(" "),e("p",[t._v("PluginAPI.contructors.Vec4b({a: Byte, b: Byte, c: Byte, d: Byte})")]),t._v(" "),e("p",[t._v("Has the following properties:")]),t._v(" "),e("ul",[e("li",[e("code",[t._v("a")]),t._v(" : Byte")]),t._v(" "),e("li",[e("code",[t._v("b")]),t._v(" : Byte")]),t._v(" "),e("li",[e("code",[t._v("c")]),t._v(" : Byte")]),t._v(" "),e("li",[e("code",[t._v("d")]),t._v(" : Byte")])])])}),[],!1,null,null,null);e.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/45.72c5d334.js b/assets/js/49.e739370a.js similarity index 94% rename from assets/js/45.72c5d334.js rename to assets/js/49.e739370a.js index 5186813..3db1117 100644 --- a/assets/js/45.72c5d334.js +++ b/assets/js/49.e739370a.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{319:function(e,t,n){"use strict";n.r(t);var a=n(14),r=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-require-string-componentname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-require-string-componentname"}},[e._v("#")]),e._v(" PluginAPI.require(String componentName)")]),e._v(" "),t("p",[e._v("This method is used to tell "),t("code",[e._v("PluginAPI")]),e._v(" that a global needs to be generated.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-componentname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-componentname"}},[e._v("#")]),e._v(" (String) componentName")]),e._v(" "),t("p",[e._v("This argument is used to get which global object needs generating:")]),e._v(" "),t("p",[e._v("It is always equal to the identifier of the global. ie: "),t("code",[e._v("PluginAPI.player")]),e._v("'s identifier is "),t("code",[e._v("player")]),e._v(".")])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[49],{323:function(e,t,n){"use strict";n.r(t);var a=n(14),r=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-require-string-componentname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-require-string-componentname"}},[e._v("#")]),e._v(" PluginAPI.require(String componentName)")]),e._v(" "),t("p",[e._v("This method is used to tell "),t("code",[e._v("PluginAPI")]),e._v(" that a global needs to be generated.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-componentname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-componentname"}},[e._v("#")]),e._v(" (String) componentName")]),e._v(" "),t("p",[e._v("This argument is used to get which global object needs generating:")]),e._v(" "),t("p",[e._v("It is always equal to the identifier of the global. ie: "),t("code",[e._v("PluginAPI.player")]),e._v("'s identifier is "),t("code",[e._v("player")]),e._v(".")])])}),[],!1,null,null,null);t.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/46.e76a537b.js b/assets/js/50.4cda7575.js similarity index 95% rename from assets/js/46.e76a537b.js rename to assets/js/50.4cda7575.js index bf7cea3..119a4aa 100644 --- a/assets/js/46.e76a537b.js +++ b/assets/js/50.4cda7575.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{320:function(e,t,n){"use strict";n.r(t);var a=n(14),o=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-updatecomponent-string-componentname-deprecated"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-updatecomponent-string-componentname-deprecated"}},[e._v("#")]),e._v(" PluginAPI.updateComponent(String componentName) [DEPRECATED]")]),e._v(" "),t("p",[e._v("This method is used to tell "),t("code",[e._v("PluginAPI")]),e._v(" that a global needs to be reloaded.\nIt is deprecated and should no longer be used. Instead, call "),t("code",[e._v("reload()")]),e._v(" on the object that needs updating.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-componentname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-componentname"}},[e._v("#")]),e._v(" (String) componentName")]),e._v(" "),t("p",[e._v("This argument is used to get which global object needs reloading:")]),e._v(" "),t("p",[e._v("It is always equal to the identifier of the global. ie: "),t("code",[e._v("PluginAPI.player")]),e._v("'s identifier is "),t("code",[e._v("player")]),e._v(".")])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{324:function(e,t,n){"use strict";n.r(t);var a=n(14),o=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"pluginapi-updatecomponent-string-componentname-deprecated"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#pluginapi-updatecomponent-string-componentname-deprecated"}},[e._v("#")]),e._v(" PluginAPI.updateComponent(String componentName) [DEPRECATED]")]),e._v(" "),t("p",[e._v("This method is used to tell "),t("code",[e._v("PluginAPI")]),e._v(" that a global needs to be reloaded.\nIt is deprecated and should no longer be used. Instead, call "),t("code",[e._v("reload()")]),e._v(" on the object that needs updating.")]),e._v(" "),t("h2",{attrs:{id:"arguments"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#arguments"}},[e._v("#")]),e._v(" Arguments:")]),e._v(" "),t("h3",{attrs:{id:"string-componentname"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#string-componentname"}},[e._v("#")]),e._v(" (String) componentName")]),e._v(" "),t("p",[e._v("This argument is used to get which global object needs reloading:")]),e._v(" "),t("p",[e._v("It is always equal to the identifier of the global. ie: "),t("code",[e._v("PluginAPI.player")]),e._v("'s identifier is "),t("code",[e._v("player")]),e._v(".")])])}),[],!1,null,null,null);t.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/7.66e9b73a.js b/assets/js/7.3a112ccf.js similarity index 76% rename from assets/js/7.66e9b73a.js rename to assets/js/7.3a112ccf.js index 50c5666..8510103 100644 --- a/assets/js/7.66e9b73a.js +++ b/assets/js/7.3a112ccf.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{321:function(n,s,t){"use strict";t.r(s);var e=t(14),o=Object(e.a)({},(function(){return(0,this._self._c)("p",{staticClass:"demo"},[this._v("This is another component")])}),[],!1,null,null,null);s.default=o.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{325:function(n,s,t){"use strict";t.r(s);var e=t(14),o=Object(e.a)({},(function(){return(0,this._self._c)("p",{staticClass:"demo"},[this._v("This is another component")])}),[],!1,null,null,null);s.default=o.exports}}]); \ No newline at end of file diff --git a/assets/js/app.e8660efc.js b/assets/js/app.3f00370f.js similarity index 75% rename from assets/js/app.e8660efc.js rename to assets/js/app.3f00370f.js index b8512cd..c730b61 100644 --- a/assets/js/app.e8660efc.js +++ b/assets/js/app.3f00370f.js @@ -1,4 +1,4 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,i,s=e[0],c=e[1],u=e[2],f=0,p=[];f
'};function o(t,e,n){return tn?n:t}function a(t){return 100*(-1+t)}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(r[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,r.minimum,1),n.status=1===t?null:t;var c=n.render(!e),u=c.querySelector(r.barSelector),l=r.speed,f=r.easing;return c.offsetWidth,i((function(e){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,function(t,e,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+a(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+a(t)+"%,0)"}:{"margin-left":a(t)+"%"}).transition="all "+e+"ms "+n,o}(t,l,f)),1===t?(s(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout((function(){s(c,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),l)}),l)):setTimeout(e,l)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout((function(){n.status&&(n.trickle(),t())}),r.trickleSpeed)};return r.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===e&&n.start(),t++,e++,r.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=r.template;var o,i=e.querySelector(r.barSelector),c=t?"-100":a(n.status||0),l=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),r.showSpinner||(o=e.querySelector(r.spinnerSelector))&&p(o),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(e),e},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(r.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&p(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var i=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()})),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,a=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+a)in n)return r;return e}(n))}function r(t,e,r){e=n(e),t.style[e]=r}return function(t,e){var n,o,a=arguments;if(2==a.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&r(t,n,o);else r(t,a[1],a[2])}}();function c(t,e){return("string"==typeof t?t:f(t)).indexOf(" "+e+" ")>=0}function u(t,e){var n=f(t),r=n+e;c(n,e)||(t.className=r.substring(1))}function l(t,e){var n,r=f(t);c(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function f(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function p(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){var r=n(1),o=n(45).f,a=n(12),i=n(104),s=n(32),c=n(61),u=n(120);t.exports=function(t,e){var n,l,f,p,d,h=t.target,v=t.global,m=t.stat;if(n=v?r:m?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in e){if(p=e[l],f=t.dontCallGetSet?(d=o(n,l))&&d.value:n[l],!u(v?l:h+(m?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(t.sham||f&&f.sham)&&a(p,"sham",!0),i(n,l,p,t)}}},function(t,e,n){var r=n(25),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},function(t,e,n){var r=n(2);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(46),o=n(47);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(1),o=n(0),a=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?a(r[t]):r[t]&&r[t][e]}},function(t,e,n){var r=n(0),o=n(100),a=TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not a function")}},function(t,e,n){var r=n(1),o=n(56),a=n(7),i=n(58),s=n(54),c=n(53),u=r.Symbol,l=o("wks"),f=c?u.for||u:u&&u.withoutSetter||i;t.exports=function(t){return a(l,t)||(l[t]=s&&a(u,t)?u[t]:f("Symbol."+t)),l[t]}},function(t,e,n){var r=n(1),o=n(32),a=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=a},function(t,e,n){var r=n(1),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(47),o=Object;t.exports=function(t){return o(r(t))}},function(t,e,n){var r=n(8),o=String,a=TypeError;t.exports=function(t){if(r(t))return t;throw a(o(t)+" is not an object")}},function(t,e,n){var r=n(117);t.exports=function(t){return r(t.length)}},function(t,e,n){var r=n(144),o=n(10),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(t){return o(t)&&i.call(t,"callee")&&!s.call(t,"callee")};t.exports=c},function(t,e,n){var r=n(9)(n(6),"Map");t.exports=r},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,n){var r=n(164),o=n(171),a=n(173),i=n(174),s=n(175);function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=9007199254740991}},function(t,e,n){var r=n(4),o=n(43),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(i.test(t)||!a.test(t)||null!=e&&t in Object(e))}},function(t,e,n){var r=n(11),o=n(10);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==r(t)}},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(5),o=n(24),a=n(96),i=n(26),s=n(27),c=n(49),u=n(7),l=n(59),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=s(t),e=c(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return i(!o(a.f,t,e),t[e])}},function(t,e,n){var r=n(3),o=n(2),a=n(15),i=Object,s=r("".split);t.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"==a(t)?s(t,""):i(t)}:i},function(t,e,n){var r=n(48),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){var r=n(97),o=n(51);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},function(t,e){var n="object"==typeof document&&document.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}},function(t,e,n){var r=n(28),o=n(0),a=n(52),i=n(53),s=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&a(e.prototype,s(t))}},function(t,e,n){var r=n(3);t.exports=r({}.isPrototypeOf)},function(t,e,n){var r=n(54);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var r=n(55),o=n(2),a=n(1).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,e,n){var r,o,a=n(1),i=n(98),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},function(t,e,n){var r=n(57),o=n(31);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.31.0",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e){t.exports=!1},function(t,e,n){var r=n(3),o=0,a=Math.random(),i=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++o+a,36)}},function(t,e,n){var r=n(5),o=n(2),a=n(102);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(t,e){t.exports={}},function(t,e,n){var r=n(7),o=n(111),a=n(45),i=n(16);t.exports=function(t,e,n){for(var s=o(e),c=i.f,u=a.f,l=0;ll))return!1;var p=c.get(t),d=c.get(e);if(p&&d)return p==e&&d==t;var h=-1,v=!0,m=2&n?new r:void 0;for(c.set(t,e),c.set(e,t);++h-1&&t%1==0&&t=0&&Math.floor(e)===e&&isFinite(t)}function v(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===f?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var x=Object.prototype.hasOwnProperty;function w(t,e){return x.call(t,e)}function k(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var C=/-(\w)/g,O=k((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),S=k((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),$=/\B([A-Z])/g,E=k((function(t){return t.replace($,"-$1").toLowerCase()}));var P=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function j(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function T(t,e){for(var n in e)t[n]=e[n];return t}function A(t){for(var e={},n=0;n0,Q=Y&&Y.indexOf("edge/")>0;Y&&Y.indexOf("android");var Z=Y&&/iphone|ipad|ipod|ios/.test(Y);Y&&/chrome\/\d+/.test(Y),Y&&/phantomjs/.test(Y);var tt,et=Y&&Y.match(/firefox\/(\d+)/),nt={}.watch,rt=!1;if(X)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,ot)}catch(t){}var at=function(){return void 0===tt&&(tt=!X&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),tt},it=X&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var ct,ut="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);ct="undefined"!=typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=null;function ft(t){void 0===t&&(t=null),t||lt&<._scope.off(),lt=t,t&&t._scope.on()}var pt=function(){function t(t,e,n,r,o,a,i,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=i,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),dt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function ht(t){return new pt(void 0,void 0,void 0,String(t))}function vt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var mt=0,gt=[],yt=function(){function t(){this._pending=!1,this.id=mt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,gt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n0&&(Yt((u=t(u,"".concat(n||"","_").concat(r)))[0])&&Yt(f)&&(p[l]=ht(f.text+u[0].text),u.shift()),p.push.apply(p,u)):c(u)?Yt(f)?p[l]=ht(f.text+u):""!==u&&p.push(ht(u)):Yt(u)&&Yt(f)?p[l]=ht(f.text+u.text):(s(e._isVList)&&i(u.tag)&&a(u.key)&&i(n)&&(u.key="__vlist".concat(n,"_").concat(r,"__")),p.push(u)));return p}(t):void 0}function Yt(t){return i(t)&&i(t.text)&&!1===t.isComment}function Gt(t,e){var n,r,a,s,c=null;if(o(t)||"string"==typeof t)for(c=new Array(t.length),n=0,r=t.length;n0,s=e?!!e.$stable:!i,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!i&&!o.$hasNormal)return o;for(var u in a={},e)e[u]&&"$"!==u[0]&&(a[u]=ve(t,n,u,e[u]))}else a={};for(var l in n)l in a||(a[l]=me(n,l));return e&&Object.isExtensible(e)&&(e._normalized=a),H(a,"$stable",s),H(a,"$key",c),H(a,"$hasNormal",i),a}function ve(t,e,n,r){var a=function(){var e=lt;ft(t);var n=arguments.length?r.apply(null,arguments):r({}),a=(n=n&&"object"==typeof n&&!o(n)?[n]:Xt(n))&&n[0];return ft(e),n&&(!a||1===n.length&&a.isComment&&!de(a))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:a,enumerable:!0,configurable:!0}),a}function me(t,e){return function(){return t[e]}}function ge(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};H(e,"_v_attr_proxy",!0),ye(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||ye(t._listenersProxy={},t.$listeners,r,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||_e(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:P(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Nt(t,e,n)}))}}}function ye(t,e,n,r,o){var a=!1;for(var i in e)i in t?e[i]!==n[i]&&(a=!0):(a=!0,be(t,i,r,o));for(var i in t)i in e||(a=!0,delete t[i]);return a}function be(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function _e(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var xe=null;function we(t,e){return(t.__esModule||ut&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function ke(t){if(o(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(cn=function(){return un.now()})}var ln=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function fn(){var t,e;for(sn=cn(),on=!0,tn.sort(ln),an=0;anan&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,Ue(fn))}}function dn(t,e){if(t){for(var n=Object.create(null),r=ut?Reflect.ownKeys(t):Object.keys(t),o=0;o-1)if(a&&!w(o,"default"))i=!1;else if(""===i||i===E(t)){var c=Mn(String,o.type);(c<0||s-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Gn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var a in n){var i=n[a];if(i){var s=i.name;s&&!e(s)&&Jn(n,a,r,o)}}}function Jn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,_(n,e)}Wn.prototype._init=function(t){var e=this;e._uid=qn++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ft(!0),e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Pn(Hn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Xe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=fe(e._renderChildren,o),t.$scopedSlots=n?he(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return Ce(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Ce(t,e,n,r,o,!0)};var a=n&&n.data;Tt(t,"$attrs",a&&a.attrs||r,null,!0),Tt(t,"$listeners",e._parentListeners||r,null,!0)}(e),Ze(e,"beforeCreate",void 0,!1),function(t){var e=dn(t.$options.inject,t);e&&($t(!1),Object.keys(e).forEach((function(n){Tt(t,n,e[n])})),$t(!0))}(e),Un(e),function(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!l(n))return;for(var r=Vt(t),o=ut?Reflect.ownKeys(n):Object.keys(n),a=0;a1?j(n):n;for(var r=j(arguments,1),o='event handler for "'.concat(t,'"'),a=0,i=n.length;aparseInt(this.max)&&Jn(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Jn(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Gn(t,(function(t){return Yn(e,t)}))})),this.$watch("exclude",(function(e){Gn(t,(function(t){return!Yn(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=ke(t),n=e&&e.componentOptions;if(n){var r=Xn(n),o=this.include,a=this.exclude;if(o&&(!r||!Yn(o,r))||a&&r&&Yn(a,r))return e;var i=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;i[c]?(e.componentInstance=i[c].componentInstance,_(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:wn,extend:T,mergeOptions:Pn,defineReactive:Tt},t.set=At,t.delete=Dt,t.nextTick=Ue,t.observable=function(t){return jt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,Zn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=j(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Pn(this.options,t),this}}(t),Kn(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Wn),Object.defineProperty(Wn.prototype,"$isServer",{get:at}),Object.defineProperty(Wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Wn,"FunctionalRenderContext",{value:hn}),Wn.version="2.7.14";var tr=y("style,class"),er=y("input,textarea,option,select,progress"),nr=y("contenteditable,draggable,spellcheck"),rr=y("events,caret,typing,plaintext-only"),or=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ar="http://www.w3.org/1999/xlink",ir=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},sr=function(t){return ir(t)?t.slice(6,t.length):""},cr=function(t){return null==t||!1===t};function ur(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=lr(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=lr(e,n.data));return function(t,e){if(i(t)||i(e))return fr(t,pr(e));return""}(e.staticClass,e.class)}function lr(t,e){return{staticClass:fr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function fr(t,e){return t?e?t+" "+e:t:e||""}function pr(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1?Ir(t,e,n):or(e)?cr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):nr(e)?t.setAttribute(e,function(t,e){return cr(e)||"false"===e?"false":"contenteditable"===t&&rr(e)?e:"true"}(e,n)):ir(e)?cr(n)?t.removeAttributeNS(ar,sr(e)):t.setAttributeNS(ar,e,n):Ir(t,e,n)}function Ir(t,e,n){if(cr(n))t.removeAttribute(e);else{if(G&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Rr={create:Lr,update:Lr};function Ur(t,e){var n=e.elm,r=e.data,o=t.data;if(!(a(r.staticClass)&&a(r.class)&&(a(o)||a(o.staticClass)&&a(o.class)))){var s=ur(e),c=n._transitionClasses;i(c)&&(s=fr(s,pr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Nr,Br={create:Ur,update:Ur};function Fr(t,e,n){var r=Nr;return function o(){var a=e.apply(null,arguments);null!==a&&qr(t,o,n,r)}}var Vr=je&&!(et&&Number(et[1])<=53);function zr(t,e,n,r){if(Vr){var o=sn,a=e;e=a._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return a.apply(this,arguments)}}Nr.addEventListener(t,e,rt?{capture:n,passive:r}:n)}function qr(t,e,n,r){(r||Nr).removeEventListener(t,e._wrapper||e,n)}function Hr(t,e){if(!a(t.data.on)||!a(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Nr=e.elm||t.elm,function(t){if(i(t.__r)){var e=G?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}i(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),Ht(n,r,zr,qr,Fr,e.context),Nr=void 0}}var Wr,Kr={create:Hr,update:Hr,destroy:function(t){return Hr(t,kr)}};function Xr(t,e){if(!a(t.data.domProps)||!a(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(i(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=T({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=a(r)?"":String(r);Yr(o,l)&&(o.value=l)}else if("innerHTML"===n&&vr(o.tagName)&&a(o.innerHTML)){(Wr=Wr||document.createElement("div")).innerHTML="".concat(r,"");for(var f=Wr.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;f.firstChild;)o.appendChild(f.firstChild)}else if(r!==c[n])try{o[n]=r}catch(t){}}}}function Yr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Gr={create:Xr,update:Xr},Jr=k((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Qr(t){var e=Zr(t.style);return t.staticStyle?T(t.staticStyle,e):e}function Zr(t){return Array.isArray(t)?A(t):"string"==typeof t?Jr(t):t}var to,eo=/^--/,no=/\s*!important$/,ro=function(t,e,n){if(eo.test(e))t.style.setProperty(e,n);else if(no.test(n))t.style.setProperty(E(e),n.replace(no,""),"important");else{var r=ao(e);if(Array.isArray(n))for(var o=0,a=n.length;o-1?e.split(co).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function lo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(co).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function fo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,po(t.name||"v")),T(e,t),e}return"string"==typeof t?po(t):void 0}}var po=k((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),ho=X&&!J,vo="transition",mo="transitionend",go="animation",yo="animationend";ho&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(vo="WebkitTransition",mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(go="WebkitAnimation",yo="webkitAnimationEnd"));var bo=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function _o(t){bo((function(){bo(t)}))}function xo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),uo(t,e))}function wo(t,e){t._transitionClasses&&_(t._transitionClasses,e),lo(t,e)}function ko(t,e,n){var r=Oo(t,e),o=r.type,a=r.timeout,i=r.propCount;if(!o)return n();var s="transition"===o?mo:yo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=i&&u()};setTimeout((function(){c0&&(n="transition",l=i,f=a.length):"animation"===e?u>0&&(n="animation",l=u,f=c.length):f=(n=(l=Math.max(i,u))>0?i>u?"transition":"animation":null)?"transition"===n?a.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:"transition"===n&&Co.test(r[vo+"Property"])}}function So(t,e){for(;t.length1}function Ao(t,e){!0!==e.data.show&&Eo(e)}var Do=function(t){var e,n,r={},u=t.modules,l=t.nodeOps;for(e=0;eh?_(t,a(n[g+1])?null:n[g+1].elm,n,d,g,r):d>g&&w(e,f,h)}(f,v,g,n,u):i(g)?(i(t.text)&&l.setTextContent(f,""),_(f,null,g,0,g.length-1,n)):i(v)?w(v,0,v.length-1):i(t.text)&&l.setTextContent(f,""):t.text!==e.text&&l.setTextContent(f,e.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,e)}}}function S(t,e,n){if(s(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,i.selected!==a&&(i.selected=a);else if(I(Uo(i),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Ro(t,e){return e.every((function(e){return!I(e,t)}))}function Uo(t){return"_value"in t?t._value:t.value}function No(t){t.target.composing=!0}function Bo(t){t.target.composing&&(t.target.composing=!1,Fo(t.target,"input"))}function Fo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Vo(t){return!t.componentInstance||t.data&&t.data.transition?t:Vo(t.componentInstance._vnode)}var zo={model:Lo,show:{bind:function(t,e,n){var r=e.value,o=(n=Vo(n)).data&&n.data.transition,a=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Eo(n,(function(){t.style.display=a}))):t.style.display=r?a:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Vo(n)).data&&n.data.transition?(n.data.show=!0,r?Eo(n,(function(){t.style.display=t.__vOriginalDisplay})):Po(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},qo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ho(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ho(ke(e.children)):t}function Wo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[O(r)]=o[r];return e}function Ko(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Xo=function(t){return t.tag||de(t)},Yo=function(t){return"show"===t.name},Go={name:"transition",props:qo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Xo)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var a=Ho(o);if(!a)return o;if(this._leaving)return Ko(t,o);var i="__transition-".concat(this._uid,"-");a.key=null==a.key?a.isComment?i+"comment":i+a.tag:c(a.key)?0===String(a.key).indexOf(i)?a.key:i+a.key:a.key;var s=(a.data||(a.data={})).transition=Wo(this),u=this._vnode,l=Ho(u);if(a.data.directives&&a.data.directives.some(Yo)&&(a.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,l)&&!de(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=T({},s);if("out-in"===r)return this._leaving=!0,Wt(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ko(t,o);if("in-out"===r){if(de(a))return u;var p,d=function(){p()};Wt(s,"afterEnter",d),Wt(s,"enterCancelled",d),Wt(f,"delayLeave",(function(t){p=t}))}}return o}}},Jo=T({tag:String,moveClass:String},qo);function Qo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Zo(t){t.data.newPos=t.elm.getBoundingClientRect()}function ta(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),a.transitionDuration="0s"}}delete Jo.mode;var ea={Transition:Go,TransitionGroup:{props:Jo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Ge(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],a=this.children=[],i=Wo(this),s=0;s-1?gr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:gr[t]=/HTMLUnknownElement/.test(e.toString())},T(Wn.options.directives,zo),T(Wn.options.components,ea),Wn.prototype.__patch__=X?Do:D,Wn.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=dt),Ze(t,"beforeMount"),r=function(){t._update(t._render(),n)},new qe(t,r,D,{before:function(){t._isMounted&&!t._isDestroyed&&Ze(t,"beforeUpdate")}},!0),n=!1;var o=t._preWatchers;if(o)for(var a=0;a=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),u=e&&e.path||"/",l=c.path?wa(c.path,u,n||o.append):u,f=function(t,e,n){void 0===e&&(e={});var r,o=n||ua;try{r=o(t||"")}catch(t){r={}}for(var a in e){var i=e[a];r[a]=Array.isArray(i)?i.map(ca):ca(i)}return r}(c.query,o.query,r&&r.options.parseQuery),p=o.hash||c.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:l,query:f,hash:p}}var za,qa=function(){},Ha={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,i=o.route,s=o.href,c={},u=n.options.linkActiveClass,l=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,p=null==l?"router-link-exact-active":l,d=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=i.redirectedFrom?pa(null,Va(i.redirectedFrom),null,n):i;c[h]=ga(r,v,this.exactPath),c[d]=this.exact||this.exactPath?c[h]:function(t,e){return 0===t.path.replace(fa,"/").indexOf(e.path.replace(fa,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var m=c[h]?this.ariaCurrentValue:null,g=function(t){Wa(t)&&(e.replace?n.replace(a,qa):n.push(a,qa))},y={click:Wa};Array.isArray(this.event)?this.event.forEach((function(t){y[t]=g})):y[this.event]=g;var b={class:c},_=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:i,navigate:g,isActive:c[d],isExactActive:c[h]});if(_){if(1===_.length)return _[0];if(_.length>1||!_.length)return 0===_.length?t():t("span",{},_)}if("a"===this.tag)b.on=y,b.attrs={href:s,"aria-current":m};else{var x=function t(e){var n;if(e)for(var r=0;r-1&&(s.params[p]=n.params[p]);return s.path=Fa(l.path,s.params),c(l,s,i)}if(s.path){s.params={};for(var d=0;d-1}function ki(t,e){return wi(t)&&t._isRouter&&(null==e||t.type===e)}function Ci(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}function Oi(t){return function(e,n,r){var o=!1,a=0,i=null;Si(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,a++;var c,u=Pi((function(e){var o;((o=e).__esModule||Ei&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:za.extend(e),n.components[s]=e,--a<=0&&r()})),l=Pi((function(t){var e="Failed to resolve async component "+s+": "+t;i||(i=wi(t)?t:new Error(e),r(i))}));try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"==typeof f.then&&f.then(u,l)}}})),o||r()}}function Si(t,e){return $i(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function $i(t){return Array.prototype.concat.apply([],t)}var Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Pi(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ji=function(t,e){this.router=t,this.base=function(t){if(!t)if(Ka){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=ha,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Ti(t,e,n,r){var o=Si(t,(function(t,r,o,a){var i=function(t,e){"function"!=typeof t&&(t=za.extend(t));return t.options[e]}(t,e);if(i)return Array.isArray(i)?i.map((function(t){return n(t,r,o,a)})):n(i,r,o,a)}));return $i(r?o.reverse():o)}function Ai(t,e){if(e)return function(){return t.apply(e,arguments)}}ji.prototype.listen=function(t){this.cb=t},ji.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ji.prototype.onError=function(t){this.errorCbs.push(t)},ji.prototype.transitionTo=function(t,e,n){var r,o=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var a=this.current;this.confirmTransition(r,(function(){o.updateRoute(r),e&&e(r),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(r,a)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!o.ready&&(ki(t,gi.redirected)&&a===ha||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},ji.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var a,i,s=function(t){!ki(t)&&wi(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},c=t.matched.length-1,u=o.matched.length-1;if(ga(t,o)&&c===u&&t.matched[c]===o.matched[u])return this.ensureURL(),t.hash&&ai(this.router,o,t,!1),s(((i=_i(a=o,t,gi.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",i));var l=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=hi&&n;r&&this.listeners.push(oi());var o=function(){var n=t.current,o=Li(t.base);t.current===ha&&o===t._startLocation||t.transitionTo(o,(function(t){r&&ai(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){vi(ka(r.base+t.fullPath)),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){mi(ka(r.base+t.fullPath)),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Li(this.base)!==this.current.fullPath){var e=ka(this.base+this.current.fullPath);t?vi(e):mi(e)}},e.prototype.getCurrentLocation=function(){return Li(this.base)},e}(ji);function Li(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(ka(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Mi=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Li(t);if(!/^\/#/.test(e))return window.location.replace(ka(t+"/#"+e)),!0}(this.base)||Ii()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=hi&&e;n&&this.listeners.push(oi());var r=function(){var e=t.current;Ii()&&t.transitionTo(Ri(),(function(r){n&&ai(t.router,r,e,!0),hi||Bi(r.fullPath)}))},o=hi?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){Ni(t.fullPath),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){Bi(t.fullPath),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ri()!==e&&(t?Ni(e):Bi(e))},e.prototype.getCurrentLocation=function(){return Ri()},e}(ji);function Ii(){var t=Ri();return"/"===t.charAt(0)||(Bi("/"+t),!1)}function Ri(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Ui(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ni(t){hi?vi(Ui(t)):window.location.hash=t}function Bi(t){hi?mi(Ui(t)):window.location.replace(Ui(t))}var Fi=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){ki(t,gi.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ji),Vi=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ga(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!hi&&!1!==t.fallback,this.fallback&&(e="hash"),Ka||(e="abstract"),this.mode=e,e){case"history":this.history=new Di(this,t.base);break;case"hash":this.history=new Mi(this,t.base,this.fallback);break;case"abstract":this.history=new Fi(this,t.base);break;default:0}},zi={currentRoute:{configurable:!0}};Vi.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},zi.currentRoute.get=function(){return this.history&&this.history.current},Vi.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof Di||n instanceof Mi){var r=function(t){n.setupListeners(),function(t){var r=n.current,o=e.options.scrollBehavior;hi&&o&&"fullPath"in t&&ai(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Vi.prototype.beforeEach=function(t){return Hi(this.beforeHooks,t)},Vi.prototype.beforeResolve=function(t){return Hi(this.resolveHooks,t)},Vi.prototype.afterEach=function(t){return Hi(this.afterHooks,t)},Vi.prototype.onReady=function(t,e){this.history.onReady(t,e)},Vi.prototype.onError=function(t){this.history.onError(t)},Vi.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Vi.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Vi.prototype.go=function(t){this.history.go(t)},Vi.prototype.back=function(){this.go(-1)},Vi.prototype.forward=function(){this.go(1)},Vi.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Vi.prototype.resolve=function(t,e,n){var r=Va(t,e=e||this.history.current,n,this),o=this.match(r,e),a=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?ka(t+"/"+r):r}(this.history.base,a,this.mode),normalizedTo:r,resolved:o}},Vi.prototype.getRoutes=function(){return this.matcher.getRoutes()},Vi.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==ha&&this.history.transitionTo(this.history.getCurrentLocation())},Vi.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==ha&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Vi.prototype,zi);var qi=Vi;function Hi(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Vi.install=function t(e){if(!t.installed||za!==e){t.installed=!0,za=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",_a),e.component("RouterLink",Ha);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Vi.version="3.6.5",Vi.isNavigationFailure=ki,Vi.NavigationFailureType=gi,Vi.START_LOCATION=ha,Ka&&window.Vue&&window.Vue.use(Vi);n(95);n(91),n(127);var Wi={NotFound:()=>n.e(9).then(n.bind(null,279)),Layout:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,278))},Ki={"v-5e3b9702":()=>n.e(10).then(n.bind(null,284)),"v-39ea53df":()=>n.e(11).then(n.bind(null,285)),"v-07ffb9e8":()=>n.e(12).then(n.bind(null,286)),"v-f5ff78a8":()=>n.e(13).then(n.bind(null,287)),"v-43dc437b":()=>n.e(14).then(n.bind(null,288)),"v-a526cb2e":()=>n.e(15).then(n.bind(null,289)),"v-5fb14b90":()=>n.e(16).then(n.bind(null,290)),"v-3a6cb916":()=>n.e(17).then(n.bind(null,291)),"v-4d9bcc2c":()=>n.e(18).then(n.bind(null,292)),"v-0ad49da2":()=>n.e(19).then(n.bind(null,293)),"v-47f345b0":()=>n.e(20).then(n.bind(null,294)),"v-1bc22e00":()=>n.e(21).then(n.bind(null,295)),"v-4ba1c822":()=>n.e(22).then(n.bind(null,296)),"v-683ce540":()=>n.e(23).then(n.bind(null,297)),"v-1d7d1cd0":()=>n.e(24).then(n.bind(null,298)),"v-34d4ecfc":()=>n.e(25).then(n.bind(null,299)),"v-3904cbec":()=>n.e(26).then(n.bind(null,300)),"v-3b2a83a2":()=>n.e(27).then(n.bind(null,301)),"v-7447253c":()=>n.e(28).then(n.bind(null,302)),"v-9049147c":()=>n.e(29).then(n.bind(null,303)),"v-4932f320":()=>n.e(30).then(n.bind(null,304)),"v-4d236ae2":()=>n.e(31).then(n.bind(null,305)),"v-270b1330":()=>n.e(32).then(n.bind(null,306)),"v-677eb710":()=>n.e(33).then(n.bind(null,307)),"v-2f484402":()=>n.e(34).then(n.bind(null,308)),"v-5a5f7dfc":()=>n.e(35).then(n.bind(null,309)),"v-2cf8e422":()=>n.e(36).then(n.bind(null,310)),"v-a52b6e3c":()=>n.e(37).then(n.bind(null,311)),"v-7ff494fe":()=>n.e(38).then(n.bind(null,312)),"v-3fab7362":()=>n.e(39).then(n.bind(null,313)),"v-7a1de3e2":()=>n.e(40).then(n.bind(null,314)),"v-09e90862":()=>n.e(41).then(n.bind(null,315)),"v-3c1656a2":()=>n.e(42).then(n.bind(null,316)),"v-e2bc19cc":()=>n.e(43).then(n.bind(null,317)),"v-7290a4ea":()=>n.e(44).then(n.bind(null,318)),"v-2b16ca38":()=>n.e(45).then(n.bind(null,319)),"v-4134f046":()=>n.e(46).then(n.bind(null,320))};function Xi(t){const e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const Yi=/-(\w)/g,Gi=Xi(t=>t.replace(Yi,(t,e)=>e?e.toUpperCase():"")),Ji=/\B([A-Z])/g,Qi=Xi(t=>t.replace(Ji,"-$1").toLowerCase()),Zi=Xi(t=>t.charAt(0).toUpperCase()+t.slice(1));function ts(t,e){if(!e)return;if(t(e))return t(e);return e.includes("-")?t(Zi(Gi(e))):t(Zi(e))||t(Qi(e))}const es=Object.assign({},Wi,Ki),ns=t=>es[t],rs=t=>Ki[t],os=t=>Wi[t],as=t=>Wn.component(t);function is(t){return ts(rs,t)}function ss(t){return ts(os,t)}function cs(t){return ts(ns,t)}function us(t){return ts(as,t)}function ls(...t){return Promise.all(t.filter(t=>t).map(async t=>{if(!us(t)&&cs(t)){const e=await cs(t)();Wn.component(t,e.default)}}))}function fs(t,e){"undefined"!=typeof window&&window.__VUEPRESS__&&(window.__VUEPRESS__[t]=e)}var ps=n(87),ds=n.n(ps),hs=n(88),vs=n.n(hs),ms={created(){if(this.siteMeta=this.$site.headTags.filter(([t])=>"meta"===t).map(([t,e])=>e),this.$ssrContext){const e=this.getMergedMetaTags();this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.pageMeta=(t=e)?t.map(t=>{let e="{e+=` ${n}="${vs()(t[n])}"`}),e+">"}).join("\n "):"",this.$ssrContext.canonicalLink=ys(this.$canonicalUrl)}var t},mounted(){this.currentMetaTags=[...document.querySelectorAll("meta")],this.updateMeta(),this.updateCanonicalLink()},methods:{updateMeta(){document.title=this.$title,document.documentElement.lang=this.$lang;const t=this.getMergedMetaTags();this.currentMetaTags=bs(t,this.currentMetaTags)},getMergedMetaTags(){const t=this.$page.frontmatter.meta||[];return ds()([{name:"description",content:this.$description}],t,this.siteMeta,_s)},updateCanonicalLink(){gs(),this.$canonicalUrl&&document.head.insertAdjacentHTML("beforeend",ys(this.$canonicalUrl))}},watch:{$page(){this.updateMeta(),this.updateCanonicalLink()}},beforeDestroy(){bs(null,this.currentMetaTags),gs()}};function gs(){const t=document.querySelector("link[rel='canonical']");t&&t.remove()}function ys(t=""){return t?``:""}function bs(t,e){if(e&&[...e].filter(t=>t.parentNode===document.head).forEach(t=>document.head.removeChild(t)),t)return t.map(t=>{const e=document.createElement("meta");return Object.keys(t).forEach(n=>{e.setAttribute(n,t[n])}),document.head.appendChild(e),e})}function _s(t){for(const e of["name","property","itemprop"])if(t.hasOwnProperty(e))return t[e]+e;return JSON.stringify(t)}var xs=n(89),ws={mounted(){window.addEventListener("scroll",this.onScroll)},methods:{onScroll:n.n(xs)()((function(){this.setActiveHash()}),300),setActiveHash(){const t=[].slice.call(document.querySelectorAll(".sidebar-link")),e=[].slice.call(document.querySelectorAll(".header-anchor")).filter(e=>t.some(t=>t.hash===e.hash)),n=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),o=window.innerHeight+n;for(let t=0;t=a.parentElement.offsetTop+10&&(!i||n{this.$nextTick(()=>{this.$vuepress.$set("disableScrollBehavior",!1)})})}}}},beforeDestroy(){window.removeEventListener("scroll",this.onScroll)}},ks=n(22),Cs=n.n(ks),Os={mounted(){Cs.a.configure({showSpinner:!1}),this.$router.beforeEach((t,e,n)=>{t.path===e.path||Wn.component(t.name)||Cs.a.start(),n()}),this.$router.afterEach(()=>{Cs.a.done(),this.isSidebarOpen=!1})}},Ss=n(90),$s=n.n(Ss),Es=[ms,ws,Os,{mounted(){$s.a.polyfill()}}],Ps={name:"GlobalLayout",computed:{layout(){const t=this.getLayout();return fs("layout",t),Wn.component(t)}},methods:{getLayout(){if(this.$page.path){const t=this.$page.frontmatter.layout;return t&&(this.$vuepress.getLayoutAsyncComponent(t)||this.$vuepress.getVueComponent(t))?t:"Layout"}return"NotFound"}}},js=n(14),Ts=Object(js.a)(Ps,(function(){return(0,this._self._c)(this.layout,{tag:"component"})}),[],!1,null,null,null).exports;!function(t,e,n){switch(e){case"components":t[e]||(t[e]={}),Object.assign(t[e],n);break;case"mixins":t[e]||(t[e]=[]),t[e].push(...n);break;default:throw new Error("Unknown option name.")}}(Ts,"mixins",Es);const As=[{name:"v-5e3b9702",path:"/guide/InstallingPlugins.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-5e3b9702").then(n)}},{name:"v-39ea53df",path:"/guide/",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-39ea53df").then(n)}},{path:"/guide/index.html",redirect:"/guide/"},{name:"v-07ffb9e8",path:"/guide/making-patch-files.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-07ffb9e8").then(n)}},{name:"v-f5ff78a8",path:"/guide/non-eagler.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-f5ff78a8").then(n)}},{name:"v-43dc437b",path:"/",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-43dc437b").then(n)}},{path:"/index.html",redirect:"/"},{name:"v-a526cb2e",path:"/plugindocs/",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-a526cb2e").then(n)}},{path:"/plugindocs/index.html",redirect:"/plugindocs/"},{name:"v-5fb14b90",path:"/plugindocs/events/FromServerEvents.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-5fb14b90").then(n)}},{name:"v-3a6cb916",path:"/plugindocs/events/ToServerEvents.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3a6cb916").then(n)}},{name:"v-4d9bcc2c",path:"/plugindocs/events/addEventListener.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4d9bcc2c").then(n)}},{name:"v-0ad49da2",path:"/plugindocs/events/removeEventListener.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-0ad49da2").then(n)}},{name:"v-47f345b0",path:"/plugindocs/globals/AxisAlignedBB.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-47f345b0").then(n)}},{name:"v-1bc22e00",path:"/plugindocs/globals/BlockData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-1bc22e00").then(n)}},{name:"v-4ba1c822",path:"/plugindocs/globals/BlockPos.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4ba1c822").then(n)}},{name:"v-683ce540",path:"/plugindocs/globals/ChunkData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-683ce540").then(n)}},{name:"v-1d7d1cd0",path:"/plugindocs/globals/ContainerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-1d7d1cd0").then(n)}},{name:"v-34d4ecfc",path:"/plugindocs/globals/Data.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-34d4ecfc").then(n)}},{name:"v-3904cbec",path:"/plugindocs/globals/EnchantmentData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3904cbec").then(n)}},{name:"v-3b2a83a2",path:"/plugindocs/globals/EntityData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3b2a83a2").then(n)}},{name:"v-7447253c",path:"/plugindocs/globals/FishHookData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7447253c").then(n)}},{name:"v-9049147c",path:"/plugindocs/globals/InventoryBasicData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-9049147c").then(n)}},{name:"v-4932f320",path:"/plugindocs/globals/InventoryPlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4932f320").then(n)}},{name:"v-4d236ae2",path:"/plugindocs/globals/ItemData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4d236ae2").then(n)}},{name:"v-270b1330",path:"/plugindocs/globals/ItemStackData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-270b1330").then(n)}},{name:"v-677eb710",path:"/plugindocs/globals/ListOfGlobals.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-677eb710").then(n)}},{name:"v-2f484402",path:"/plugindocs/globals/LivingEntityData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-2f484402").then(n)}},{name:"v-5a5f7dfc",path:"/plugindocs/globals/LocalPlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-5a5f7dfc").then(n)}},{name:"v-2cf8e422",path:"/plugindocs/globals/MapColor.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-2cf8e422").then(n)}},{name:"v-a52b6e3c",path:"/plugindocs/globals/MaterialData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-a52b6e3c").then(n)}},{name:"v-7ff494fe",path:"/plugindocs/globals/NetworkData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7ff494fe").then(n)}},{name:"v-3fab7362",path:"/plugindocs/globals/PlayerCapabilities.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3fab7362").then(n)}},{name:"v-7a1de3e2",path:"/plugindocs/globals/PlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7a1de3e2").then(n)}},{name:"v-09e90862",path:"/plugindocs/globals/RemotePlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-09e90862").then(n)}},{name:"v-3c1656a2",path:"/plugindocs/globals/Vec3.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3c1656a2").then(n)}},{name:"v-e2bc19cc",path:"/plugindocs/globals/Vec3i.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-e2bc19cc").then(n)}},{name:"v-7290a4ea",path:"/plugindocs/globals/Vec4b.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7290a4ea").then(n)}},{name:"v-2b16ca38",path:"/plugindocs/globals/require.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-2b16ca38").then(n)}},{name:"v-4134f046",path:"/plugindocs/globals/updateComponent.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4134f046").then(n)}},{path:"*",component:Ts}],Ds={title:"Eagler Reborn",description:"An Eaglercraft Client that can connect to Java servers!",base:"/",headTags:[["meta",{name:"theme-color",content:"#22282e"}],["meta",{name:"apple-mobile-web-app-capable",content:"yes"}],["meta",{name:"apple-mobile-web-app-status-bar-style",content:"black"}],["link",{rel:"icon",href:"/favicon.ico"}],["meta",{name:"theme-color",content:"#22282e",media:"(prefers-color-scheme: light)"}],["meta",{name:"theme-color",content:"#22282e",media:"(prefers-color-scheme: dark)"}]],pages:[{title:"How to install a plugin",frontmatter:{},regularPath:"/guide/InstallingPlugins.html",relativePath:"guide/InstallingPlugins.md",key:"v-5e3b9702",path:"/guide/InstallingPlugins.html",lastUpdated:"10/15/2023, 4:30:20 AM",lastUpdatedTimestamp:169734422e4},{title:"Compiling Eagler Reborn",frontmatter:{},regularPath:"/guide/",relativePath:"guide/README.md",key:"v-39ea53df",path:"/guide/",headers:[{level:2,title:"Prerequisites",slug:"prerequisites"},{level:2,title:"Actually compiling the client",slug:"actually-compiling-the-client"}],lastUpdated:"6/22/2023, 8:49:28 PM",lastUpdatedTimestamp:1687466968e3},{title:"Making patch files",frontmatter:{},regularPath:"/guide/making-patch-files.html",relativePath:"guide/making-patch-files.md",key:"v-07ffb9e8",path:"/guide/making-patch-files.html",lastUpdated:"8/3/2023, 2:32:03 AM",lastUpdatedTimestamp:1691029923e3},{title:"Joining Non-Eagler servers",frontmatter:{},regularPath:"/guide/non-eagler.html",relativePath:"guide/non-eagler.md",key:"v-f5ff78a8",path:"/guide/non-eagler.html",headers:[{level:2,title:"If a server has Java and Eagler Support",slug:"if-a-server-has-java-and-eagler-support"}],lastUpdated:"6/20/2023, 10:57:17 PM",lastUpdatedTimestamp:1687301837e3},{title:"Home",frontmatter:{home:!0,heroImage:"https://raw.githubusercontent.com/EaglerReborn/EaglerReborn.github.io/main/54d35ed2-62df-46a1-bc42-8bc81755532b.png",tagline:"Eagler Reborn is an Eaglercraft client that can connect to Java servers and has a plugin API.",actionText:"Quick Start →",actionLink:"/guide/",footer:"Made with ❤️ by OtterDev"},regularPath:"/",relativePath:"index.md",key:"v-43dc437b",path:"/",lastUpdated:"9/4/2023, 6:14:29 PM",lastUpdatedTimestamp:1693851269e3},{title:"Plugin API",frontmatter:{},regularPath:"/plugindocs/",relativePath:"plugindocs/README.md",key:"v-a526cb2e",path:"/plugindocs/",headers:[{level:3,title:"Passing 'Ref' objects",slug:"passing-ref-objects"},{level:3,title:"Using non-auto properties",slug:"using-non-auto-properties"},{level:3,title:"Triggering data updates (reload())",slug:"triggering-data-updates-reload"}],lastUpdated:"10/3/2023, 4:26:05 AM",lastUpdatedTimestamp:1696307165e3},{title:"Receiving packet events",frontmatter:{},regularPath:"/plugindocs/events/FromServerEvents.html",relativePath:"plugindocs/events/FromServerEvents.md",key:"v-5fb14b90",path:"/plugindocs/events/FromServerEvents.html",lastUpdated:"10/14/2023, 5:48:51 AM",lastUpdatedTimestamp:1697262531e3},{title:"Sending packet events",frontmatter:{},regularPath:"/plugindocs/events/ToServerEvents.html",relativePath:"plugindocs/events/ToServerEvents.md",key:"v-3a6cb916",path:"/plugindocs/events/ToServerEvents.html",lastUpdated:"10/14/2023, 2:28:04 PM",lastUpdatedTimestamp:1697293684e3},{title:"PluginAPI.addEventListener(String eventName, Function callback)",frontmatter:{},regularPath:"/plugindocs/events/addEventListener.html",relativePath:"plugindocs/events/addEventListener.md",key:"v-4d9bcc2c",path:"/plugindocs/events/addEventListener.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) eventName",slug:"string-eventname"},{level:3,title:"(Function) Callback",slug:"function-callback"}],lastUpdated:"10/14/2023, 5:49:00 AM",lastUpdatedTimestamp:169726254e4},{title:"PluginAPI.removeEventListener(String eventName, Function callback, Boolean slow?)",frontmatter:{},regularPath:"/plugindocs/events/removeEventListener.html",relativePath:"plugindocs/events/removeEventListener.md",key:"v-0ad49da2",path:"/plugindocs/events/removeEventListener.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) eventName",slug:"string-eventname"},{level:3,title:"(Function) callback",slug:"function-callback"},{level:3,title:"[Optional] (Boolean) slow",slug:"optional-boolean-slow"}],lastUpdated:"10/14/2023, 5:49:00 AM",lastUpdatedTimestamp:169726254e4},{title:"AxisAlignedBB",frontmatter:{},regularPath:"/plugindocs/globals/AxisAlignedBB.html",relativePath:"plugindocs/globals/AxisAlignedBB.md",key:"v-47f345b0",path:"/plugindocs/globals/AxisAlignedBB.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"10/11/2023, 11:42:32 PM",lastUpdatedTimestamp:1697067752e3},{title:"BlockData",frontmatter:{},regularPath:"/plugindocs/globals/BlockData.html",relativePath:"plugindocs/globals/BlockData.md",key:"v-1bc22e00",path:"/plugindocs/globals/BlockData.html",lastUpdated:"9/20/2023, 7:54:45 AM",lastUpdatedTimestamp:1695196485e3},{title:"BlockPos",frontmatter:{},regularPath:"/plugindocs/globals/BlockPos.html",relativePath:"plugindocs/globals/BlockPos.md",key:"v-4ba1c822",path:"/plugindocs/globals/BlockPos.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"9/10/2023, 2:06:35 PM",lastUpdatedTimestamp:1694354795e3},{title:"ChunkData",frontmatter:{},regularPath:"/plugindocs/globals/ChunkData.html",relativePath:"plugindocs/globals/ChunkData.md",key:"v-683ce540",path:"/plugindocs/globals/ChunkData.html",lastUpdated:"9/20/2023, 7:54:45 AM",lastUpdatedTimestamp:1695196485e3},{title:"ContainerData",frontmatter:{},regularPath:"/plugindocs/globals/ContainerData.html",relativePath:"plugindocs/globals/ContainerData.md",key:"v-1d7d1cd0",path:"/plugindocs/globals/ContainerData.html",lastUpdated:"9/2/2023, 10:05:20 AM",lastUpdatedTimestamp:169364912e4},{title:"Data",frontmatter:{},regularPath:"/plugindocs/globals/Data.html",relativePath:"plugindocs/globals/Data.md",key:"v-34d4ecfc",path:"/plugindocs/globals/Data.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"EnchantmentData",frontmatter:{},regularPath:"/plugindocs/globals/EnchantmentData.html",relativePath:"plugindocs/globals/EnchantmentData.md",key:"v-3904cbec",path:"/plugindocs/globals/EnchantmentData.html",lastUpdated:"8/30/2023, 8:00:07 AM",lastUpdatedTimestamp:1693382407e3},{title:"EntityData",frontmatter:{},regularPath:"/plugindocs/globals/EntityData.html",relativePath:"plugindocs/globals/EntityData.md",key:"v-3b2a83a2",path:"/plugindocs/globals/EntityData.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"FishHookData",frontmatter:{},regularPath:"/plugindocs/globals/FishHookData.html",relativePath:"plugindocs/globals/FishHookData.md",key:"v-7447253c",path:"/plugindocs/globals/FishHookData.html",lastUpdated:"9/1/2023, 2:23:31 PM",lastUpdatedTimestamp:1693578211e3},{title:"InventoryBasicData",frontmatter:{},regularPath:"/plugindocs/globals/InventoryBasicData.html",relativePath:"plugindocs/globals/InventoryBasicData.md",key:"v-9049147c",path:"/plugindocs/globals/InventoryBasicData.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"InventoryPlayerData",frontmatter:{},regularPath:"/plugindocs/globals/InventoryPlayerData.html",relativePath:"plugindocs/globals/InventoryPlayerData.md",key:"v-4932f320",path:"/plugindocs/globals/InventoryPlayerData.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"ItemData",frontmatter:{},regularPath:"/plugindocs/globals/ItemData.html",relativePath:"plugindocs/globals/ItemData.md",key:"v-4d236ae2",path:"/plugindocs/globals/ItemData.html",lastUpdated:"9/1/2023, 2:23:10 PM",lastUpdatedTimestamp:169357819e4},{title:"ItemStackData",frontmatter:{},regularPath:"/plugindocs/globals/ItemStackData.html",relativePath:"plugindocs/globals/ItemStackData.md",key:"v-270b1330",path:"/plugindocs/globals/ItemStackData.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"List of Globals",frontmatter:{},regularPath:"/plugindocs/globals/ListOfGlobals.html",relativePath:"plugindocs/globals/ListOfGlobals.md",key:"v-677eb710",path:"/plugindocs/globals/ListOfGlobals.html",lastUpdated:"9/22/2023, 6:54:06 AM",lastUpdatedTimestamp:1695365646e3},{title:"LivingEntityData",frontmatter:{},regularPath:"/plugindocs/globals/LivingEntityData.html",relativePath:"plugindocs/globals/LivingEntityData.md",key:"v-2f484402",path:"/plugindocs/globals/LivingEntityData.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"LocalPlayerData",frontmatter:{},regularPath:"/plugindocs/globals/LocalPlayerData.html",relativePath:"plugindocs/globals/LocalPlayerData.md",key:"v-5a5f7dfc",path:"/plugindocs/globals/LocalPlayerData.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"MapColor",frontmatter:{},regularPath:"/plugindocs/globals/MapColor.html",relativePath:"plugindocs/globals/MapColor.md",key:"v-2cf8e422",path:"/plugindocs/globals/MapColor.html",lastUpdated:"9/3/2023, 10:35:29 AM",lastUpdatedTimestamp:1693737329e3},{title:"MaterialData",frontmatter:{},regularPath:"/plugindocs/globals/MaterialData.html",relativePath:"plugindocs/globals/MaterialData.md",key:"v-a52b6e3c",path:"/plugindocs/globals/MaterialData.html",lastUpdated:"8/30/2023, 8:00:07 AM",lastUpdatedTimestamp:1693382407e3},{title:"NetworkData",frontmatter:{},regularPath:"/plugindocs/globals/NetworkData.html",relativePath:"plugindocs/globals/NetworkData.md",key:"v-7ff494fe",path:"/plugindocs/globals/NetworkData.html",lastUpdated:"10/14/2023, 5:49:00 AM",lastUpdatedTimestamp:169726254e4},{title:"PlayerCapabilities",frontmatter:{},regularPath:"/plugindocs/globals/PlayerCapabilities.html",relativePath:"plugindocs/globals/PlayerCapabilities.md",key:"v-3fab7362",path:"/plugindocs/globals/PlayerCapabilities.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"PlayerData",frontmatter:{},regularPath:"/plugindocs/globals/PlayerData.html",relativePath:"plugindocs/globals/PlayerData.md",key:"v-7a1de3e2",path:"/plugindocs/globals/PlayerData.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"RemotePlayerData",frontmatter:{},regularPath:"/plugindocs/globals/RemotePlayerData.html",relativePath:"plugindocs/globals/RemotePlayerData.md",key:"v-09e90862",path:"/plugindocs/globals/RemotePlayerData.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"Vec3",frontmatter:{},regularPath:"/plugindocs/globals/Vec3.html",relativePath:"plugindocs/globals/Vec3.md",key:"v-3c1656a2",path:"/plugindocs/globals/Vec3.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"Vec3i",frontmatter:{},regularPath:"/plugindocs/globals/Vec3i.html",relativePath:"plugindocs/globals/Vec3i.md",key:"v-e2bc19cc",path:"/plugindocs/globals/Vec3i.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"Vec4b",frontmatter:{},regularPath:"/plugindocs/globals/Vec4b.html",relativePath:"plugindocs/globals/Vec4b.md",key:"v-7290a4ea",path:"/plugindocs/globals/Vec4b.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"9/20/2023, 7:54:45 AM",lastUpdatedTimestamp:1695196485e3},{title:"PluginAPI.require(String componentName)",frontmatter:{},regularPath:"/plugindocs/globals/require.html",relativePath:"plugindocs/globals/require.md",key:"v-2b16ca38",path:"/plugindocs/globals/require.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) componentName",slug:"string-componentname"}],lastUpdated:"8/30/2023, 8:00:07 AM",lastUpdatedTimestamp:1693382407e3},{title:"PluginAPI.updateComponent(String componentName) [DEPRECATED]",frontmatter:{},regularPath:"/plugindocs/globals/updateComponent.html",relativePath:"plugindocs/globals/updateComponent.md",key:"v-4134f046",path:"/plugindocs/globals/updateComponent.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) componentName",slug:"string-componentname"}],lastUpdated:"9/10/2023, 10:01:16 AM",lastUpdatedTimestamp:1694340076e3}],themeConfig:{smoothScroll:!0,repo:"https://github.com/EaglerReborn/EaglerReborn.github.io",editLinks:!1,docsDir:"",docsBranch:"main",editLinkText:"",lastUpdated:!0,nav:[{text:"Guide",link:"/guide/"},{text:"Plugin Docs",link:"/plugindocs/"}],sidebar:{"/guide/":[{title:"Guide",collapsable:!1,children:["","non-eagler","making-patch-files","InstallingPlugins"]}],"/plugindocs/":[{title:"Plugin API",collapsable:!1,children:[""]},{title:"Events",collapsable:!0,children:["events/addEventListener","events/removeEventListener","events/FromServerEvents","events/ToServerEvents"]},{title:"Globals",collapsable:!0,children:["globals/Data","globals/AxisAlignedBB","globals/BlockData","globals/BlockPos","globals/ChunkData","globals/ContainerData","globals/EnchantmentData","globals/EntityData","globals/FishHookData","globals/InventoryBasicData","globals/InventoryPlayerData","globals/ItemData","globals/ItemStackData","globals/LivingEntityData","globals/LocalPlayerData","globals/MapColor","globals/MaterialData","globals/NetworkData","globals/PlayerCapabilities","globals/PlayerData","globals/RemotePlayerData","globals/require","globals/updateComponent","globals/Vec3","globals/Vec3i","globals/Vec4b"]}]}}};n(235);Wn.component("OtherComponent",()=>n.e(7).then(n.bind(null,321))),Wn.component("demo-component",()=>n.e(8).then(n.bind(null,280))),Wn.component("Foo-Bar",()=>n.e(6).then(n.bind(null,281))),Wn.component("Badge",()=>Promise.all([n.e(0),n.e(3)]).then(n.bind(null,322))),Wn.component("CodeBlock",()=>Promise.all([n.e(0),n.e(4)]).then(n.bind(null,282))),Wn.component("CodeGroup",()=>Promise.all([n.e(0),n.e(5)]).then(n.bind(null,283)));n(236),n(237);function Ls(t){const e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-e.left,y:n.top-e.top}}var Ms=[({Vue:t,options:e,router:n,siteData:r})=>{},{},({Vue:t})=>{t.mixin({computed:{$dataBlock(){return this.$options.__data__block__}}})},{},{},({Vue:t,router:e})=>{e.options.scrollBehavior=(e,n,r)=>{if(r)return window.scrollTo({top:r.y,behavior:"smooth"});if(e.hash){if(t.$vuepress.$get("disableScrollBehavior"))return!1;const n=document.querySelector(e.hash);return!!n&&window.scrollTo({top:Ls(n).y,behavior:"smooth"})}return window.scrollTo({top:0,behavior:"smooth"})}}],Is=[];class Rs extends class{constructor(){this.store=new Wn({data:{state:{}}})}$get(t){return this.store.state[t]}$set(t,e){Wn.set(this.store.state,t,e)}$emit(...t){this.store.$emit(...t)}$on(...t){this.store.$on(...t)}}{}Object.assign(Rs.prototype,{getPageAsyncComponent:is,getLayoutAsyncComponent:ss,getAsyncComponent:cs,getVueComponent:us});var Us={install(t){const e=new Rs;t.$vuepress=e,t.prototype.$vuepress=e}};function Ns(t,e){const n=e.toLowerCase();return t.options.routes.some(t=>t.path.toLowerCase()===n)}var Bs={props:{pageKey:String,slotKey:{type:String,default:"default"}},render(t){const e=this.pageKey||this.$parent.$page.key;return fs("pageKey",e),Wn.component(e)||Wn.component(e,is(e)),Wn.component(e)?t(e):t("")}},Fs={functional:!0,props:{slotKey:String,required:!0},render:(t,{props:e,slots:n})=>t("div",{class:["content__"+e.slotKey]},n()[e.slotKey])},Vs={computed:{openInNewWindowTitle(){return this.$themeLocaleConfig.openNewWindowText||"(opens new window)"}}},zs=(n(238),n(239),Object(js.a)(Vs,(function(){var t=this._self._c;return t("span",[t("svg",{staticClass:"icon outbound",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"}},[t("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),this._v(" "),t("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})]),this._v(" "),t("span",{staticClass:"sr-only"},[this._v(this._s(this.openInNewWindowTitle))])])}),[],!1,null,null,null).exports),qs={functional:!0,render(t,{parent:e,children:n}){if(e._isMounted)return n;e.$once("hook:mounted",()=>{e.$forceUpdate()})}};Wn.config.productionTip=!1,Wn.use(qi),Wn.use(Us),Wn.mixin(function(t,e,n=Wn){!function(t){t.locales&&Object.keys(t.locales).forEach(e=>{t.locales[e].path=e});Object.freeze(t)}(e),n.$vuepress.$set("siteData",e);const r=new(t(n.$vuepress.$get("siteData"))),o=Object.getOwnPropertyDescriptors(Object.getPrototypeOf(r)),a={};return Object.keys(o).reduce((t,e)=>(e.startsWith("$")&&(t[e]=o[e].get),t),a),{computed:a}}(t=>class{setPage(t){this.__page=t}get $site(){return t}get $themeConfig(){return this.$site.themeConfig}get $frontmatter(){return this.$page.frontmatter}get $localeConfig(){const{locales:t={}}=this.$site;let e,n;for(const r in t)"/"===r?n=t[r]:0===this.$page.path.indexOf(r)&&(e=t[r]);return e||n||{}}get $siteTitle(){return this.$localeConfig.title||this.$site.title||""}get $canonicalUrl(){const{canonicalUrl:t}=this.$page.frontmatter;return"string"==typeof t&&t}get $title(){const t=this.$page,{metaTitle:e}=this.$page.frontmatter;if("string"==typeof e)return e;const n=this.$siteTitle,r=t.frontmatter.home?null:t.frontmatter.title||t.title;return n?r?r+" | "+n:n:r||"VuePress"}get $description(){const t=function(t){if(t){const e=t.filter(t=>"description"===t.name)[0];if(e)return e.content}}(this.$page.frontmatter.meta);return t||(this.$page.frontmatter.description||this.$localeConfig.description||this.$site.description||"")}get $lang(){return this.$page.frontmatter.lang||this.$localeConfig.lang||"en-US"}get $localePath(){return this.$localeConfig.path||"/"}get $themeLocaleConfig(){return(this.$site.themeConfig.locales||{})[this.$localePath]||{}}get $page(){return this.__page?this.__page:function(t,e){for(let n=0;nn||(t.hash?!Wn.$vuepress.$get("disableScrollBehavior")&&{selector:decodeURIComponent(t.hash)}:{x:0,y:0})});!function(t){t.beforeEach((e,n,r)=>{if(Ns(t,e.path))r();else if(/(\/|\.html)$/.test(e.path))if(/\/$/.test(e.path)){const n=e.path.replace(/\/$/,"")+".html";Ns(t,n)?r(n):r()}else r();else{const n=e.path+"/",o=e.path+".html";Ns(t,o)?r(o):Ns(t,n)?r(n):r()}})}(n);const r={};try{await Promise.all(Ms.filter(t=>"function"==typeof t).map(e=>e({Vue:Wn,options:r,router:n,siteData:Ds,isServer:t})))}catch(t){console.error(t)}return{app:new Wn(Object.assign(r,{router:n,render:t=>t("div",{attrs:{id:"app"}},[t("RouterView",{ref:"layout"}),t("div",{class:"global-ui"},Is.map(e=>t(e)))])})),router:n}}(!1).then(({app:t,router:e})=>{e.onReady(()=>{t.$mount("#app")})})}]); \ No newline at end of file +var r=Object.freeze({}),o=Array.isArray;function a(t){return null==t}function i(t){return null!=t}function s(t){return!0===t}function c(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return"function"==typeof t}function l(t){return null!==t&&"object"==typeof t}var f=Object.prototype.toString;function p(t){return"[object Object]"===f.call(t)}function d(t){return"[object RegExp]"===f.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function v(t){return i(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===f?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var x=Object.prototype.hasOwnProperty;function w(t,e){return x.call(t,e)}function k(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var C=/-(\w)/g,O=k((function(t){return t.replace(C,(function(t,e){return e?e.toUpperCase():""}))})),S=k((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),P=/\B([A-Z])/g,E=k((function(t){return t.replace(P,"-$1").toLowerCase()}));var $=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function j(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function T(t,e){for(var n in e)t[n]=e[n];return t}function A(t){for(var e={},n=0;n0,Q=X&&X.indexOf("edge/")>0;X&&X.indexOf("android");var Z=X&&/iphone|ipad|ipod|ios/.test(X);X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X);var tt,et=X&&X.match(/firefox\/(\d+)/),nt={}.watch,rt=!1;if(G)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,ot)}catch(t){}var at=function(){return void 0===tt&&(tt=!G&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),tt},it=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function st(t){return"function"==typeof t&&/native code/.test(t.toString())}var ct,ut="undefined"!=typeof Symbol&&st(Symbol)&&"undefined"!=typeof Reflect&&st(Reflect.ownKeys);ct="undefined"!=typeof Set&&st(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var lt=null;function ft(t){void 0===t&&(t=null),t||lt&<._scope.off(),lt=t,t&&t._scope.on()}var pt=function(){function t(t,e,n,r,o,a,i,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=i,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),dt=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function ht(t){return new pt(void 0,void 0,void 0,String(t))}function vt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var mt=0,gt=[],yt=function(){function t(){this._pending=!1,this.id=mt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,gt.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,r=e.length;n0&&(Xt((u=t(u,"".concat(n||"","_").concat(r)))[0])&&Xt(f)&&(p[l]=ht(f.text+u[0].text),u.shift()),p.push.apply(p,u)):c(u)?Xt(f)?p[l]=ht(f.text+u):""!==u&&p.push(ht(u)):Xt(u)&&Xt(f)?p[l]=ht(f.text+u.text):(s(e._isVList)&&i(u.tag)&&a(u.key)&&i(n)&&(u.key="__vlist".concat(n,"_").concat(r,"__")),p.push(u)));return p}(t):void 0}function Xt(t){return i(t)&&i(t.text)&&!1===t.isComment}function Yt(t,e){var n,r,a,s,c=null;if(o(t)||"string"==typeof t)for(c=new Array(t.length),n=0,r=t.length;n0,s=e?!!e.$stable:!i,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!i&&!o.$hasNormal)return o;for(var u in a={},e)e[u]&&"$"!==u[0]&&(a[u]=ve(t,n,u,e[u]))}else a={};for(var l in n)l in a||(a[l]=me(n,l));return e&&Object.isExtensible(e)&&(e._normalized=a),H(a,"$stable",s),H(a,"$key",c),H(a,"$hasNormal",i),a}function ve(t,e,n,r){var a=function(){var e=lt;ft(t);var n=arguments.length?r.apply(null,arguments):r({}),a=(n=n&&"object"==typeof n&&!o(n)?[n]:Gt(n))&&n[0];return ft(e),n&&(!a||1===n.length&&a.isComment&&!de(a))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:a,enumerable:!0,configurable:!0}),a}function me(t,e){return function(){return t[e]}}function ge(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};H(e,"_v_attr_proxy",!0),ye(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||ye(t._listenersProxy={},t.$listeners,r,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||_e(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:$(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Nt(t,e,n)}))}}}function ye(t,e,n,r,o){var a=!1;for(var i in e)i in t?e[i]!==n[i]&&(a=!0):(a=!0,be(t,i,r,o));for(var i in t)i in e||(a=!0,delete t[i]);return a}function be(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function _e(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var xe=null;function we(t,e){return(t.__esModule||ut&&"Module"===t[Symbol.toStringTag])&&(t=t.default),l(t)?e.extend(t):t}function ke(t){if(o(t))for(var e=0;edocument.createEvent("Event").timeStamp&&(cn=function(){return un.now()})}var ln=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function fn(){var t,e;for(sn=cn(),on=!0,tn.sort(ln),an=0;anan&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);rn||(rn=!0,Re(fn))}}function dn(t,e){if(t){for(var n=Object.create(null),r=ut?Reflect.ownKeys(t):Object.keys(t),o=0;o-1)if(a&&!w(o,"default"))i=!1;else if(""===i||i===E(t)){var c=Mn(String,o.type);(c<0||s-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function Yn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var a in n){var i=n[a];if(i){var s=i.name;s&&!e(s)&&Jn(n,a,r,o)}}}function Jn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,_(n,e)}Wn.prototype._init=function(t){var e=this;e._uid=qn++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ft(!0),e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=$n(Hn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ge(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=fe(e._renderChildren,o),t.$scopedSlots=n?he(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return Ce(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Ce(t,e,n,r,o,!0)};var a=n&&n.data;Tt(t,"$attrs",a&&a.attrs||r,null,!0),Tt(t,"$listeners",e._parentListeners||r,null,!0)}(e),Ze(e,"beforeCreate",void 0,!1),function(t){var e=dn(t.$options.inject,t);e&&(Pt(!1),Object.keys(e).forEach((function(n){Tt(t,n,e[n])})),Pt(!0))}(e),Rn(e),function(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!l(n))return;for(var r=Vt(t),o=ut?Reflect.ownKeys(n):Object.keys(n),a=0;a1?j(n):n;for(var r=j(arguments,1),o='event handler for "'.concat(t,'"'),a=0,i=n.length;aparseInt(this.max)&&Jn(t,e[0],e,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Jn(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){Yn(t,(function(t){return Xn(e,t)}))})),this.$watch("exclude",(function(e){Yn(t,(function(t){return!Xn(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=ke(t),n=e&&e.componentOptions;if(n){var r=Gn(n),o=this.include,a=this.exclude;if(o&&(!r||!Xn(o,r))||a&&r&&Xn(a,r))return e;var i=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;i[c]?(e.componentInstance=i[c].componentInstance,_(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:wn,extend:T,mergeOptions:$n,defineReactive:Tt},t.set=At,t.delete=Dt,t.nextTick=Re,t.observable=function(t){return jt(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,Zn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=j(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=$n(this.options,t),this}}(t),Kn(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(Wn),Object.defineProperty(Wn.prototype,"$isServer",{get:at}),Object.defineProperty(Wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Wn,"FunctionalRenderContext",{value:hn}),Wn.version="2.7.14";var tr=y("style,class"),er=y("input,textarea,option,select,progress"),nr=y("contenteditable,draggable,spellcheck"),rr=y("events,caret,typing,plaintext-only"),or=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),ar="http://www.w3.org/1999/xlink",ir=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},sr=function(t){return ir(t)?t.slice(6,t.length):""},cr=function(t){return null==t||!1===t};function ur(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=lr(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=lr(e,n.data));return function(t,e){if(i(t)||i(e))return fr(t,pr(e));return""}(e.staticClass,e.class)}function lr(t,e){return{staticClass:fr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function fr(t,e){return t?e?t+" "+e:t:e||""}function pr(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r-1?Ir(t,e,n):or(e)?cr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):nr(e)?t.setAttribute(e,function(t,e){return cr(e)||"false"===e?"false":"contenteditable"===t&&rr(e)?e:"true"}(e,n)):ir(e)?cr(n)?t.removeAttributeNS(ar,sr(e)):t.setAttributeNS(ar,e,n):Ir(t,e,n)}function Ir(t,e,n){if(cr(n))t.removeAttribute(e);else{if(Y&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Ur={create:Lr,update:Lr};function Rr(t,e){var n=e.elm,r=e.data,o=t.data;if(!(a(r.staticClass)&&a(r.class)&&(a(o)||a(o.staticClass)&&a(o.class)))){var s=ur(e),c=n._transitionClasses;i(c)&&(s=fr(s,pr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Nr,Br={create:Rr,update:Rr};function Fr(t,e,n){var r=Nr;return function o(){var a=e.apply(null,arguments);null!==a&&qr(t,o,n,r)}}var Vr=je&&!(et&&Number(et[1])<=53);function zr(t,e,n,r){if(Vr){var o=sn,a=e;e=a._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return a.apply(this,arguments)}}Nr.addEventListener(t,e,rt?{capture:n,passive:r}:n)}function qr(t,e,n,r){(r||Nr).removeEventListener(t,e._wrapper||e,n)}function Hr(t,e){if(!a(t.data.on)||!a(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Nr=e.elm||t.elm,function(t){if(i(t.__r)){var e=Y?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}i(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),Ht(n,r,zr,qr,Fr,e.context),Nr=void 0}}var Wr,Kr={create:Hr,update:Hr,destroy:function(t){return Hr(t,kr)}};function Gr(t,e){if(!a(t.data.domProps)||!a(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(i(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=T({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=a(r)?"":String(r);Xr(o,l)&&(o.value=l)}else if("innerHTML"===n&&vr(o.tagName)&&a(o.innerHTML)){(Wr=Wr||document.createElement("div")).innerHTML="".concat(r,"");for(var f=Wr.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;f.firstChild;)o.appendChild(f.firstChild)}else if(r!==c[n])try{o[n]=r}catch(t){}}}}function Xr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Yr={create:Gr,update:Gr},Jr=k((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function Qr(t){var e=Zr(t.style);return t.staticStyle?T(t.staticStyle,e):e}function Zr(t){return Array.isArray(t)?A(t):"string"==typeof t?Jr(t):t}var to,eo=/^--/,no=/\s*!important$/,ro=function(t,e,n){if(eo.test(e))t.style.setProperty(e,n);else if(no.test(n))t.style.setProperty(E(e),n.replace(no,""),"important");else{var r=ao(e);if(Array.isArray(n))for(var o=0,a=n.length;o-1?e.split(co).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function lo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(co).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function fo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,po(t.name||"v")),T(e,t),e}return"string"==typeof t?po(t):void 0}}var po=k((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),ho=G&&!J,vo="transition",mo="transitionend",go="animation",yo="animationend";ho&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(vo="WebkitTransition",mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(go="WebkitAnimation",yo="webkitAnimationEnd"));var bo=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function _o(t){bo((function(){bo(t)}))}function xo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),uo(t,e))}function wo(t,e){t._transitionClasses&&_(t._transitionClasses,e),lo(t,e)}function ko(t,e,n){var r=Oo(t,e),o=r.type,a=r.timeout,i=r.propCount;if(!o)return n();var s="transition"===o?mo:yo,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=i&&u()};setTimeout((function(){c0&&(n="transition",l=i,f=a.length):"animation"===e?u>0&&(n="animation",l=u,f=c.length):f=(n=(l=Math.max(i,u))>0?i>u?"transition":"animation":null)?"transition"===n?a.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:"transition"===n&&Co.test(r[vo+"Property"])}}function So(t,e){for(;t.length1}function Ao(t,e){!0!==e.data.show&&Eo(e)}var Do=function(t){var e,n,r={},u=t.modules,l=t.nodeOps;for(e=0;eh?_(t,a(n[g+1])?null:n[g+1].elm,n,d,g,r):d>g&&w(e,f,h)}(f,v,g,n,u):i(g)?(i(t.text)&&l.setTextContent(f,""),_(f,null,g,0,g.length-1,n)):i(v)?w(v,0,v.length-1):i(t.text)&&l.setTextContent(f,""):t.text!==e.text&&l.setTextContent(f,e.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,e)}}}function S(t,e,n){if(s(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,i.selected!==a&&(i.selected=a);else if(I(Ro(i),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Uo(t,e){return e.every((function(e){return!I(e,t)}))}function Ro(t){return"_value"in t?t._value:t.value}function No(t){t.target.composing=!0}function Bo(t){t.target.composing&&(t.target.composing=!1,Fo(t.target,"input"))}function Fo(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Vo(t){return!t.componentInstance||t.data&&t.data.transition?t:Vo(t.componentInstance._vnode)}var zo={model:Lo,show:{bind:function(t,e,n){var r=e.value,o=(n=Vo(n)).data&&n.data.transition,a=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Eo(n,(function(){t.style.display=a}))):t.style.display=r?a:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Vo(n)).data&&n.data.transition?(n.data.show=!0,r?Eo(n,(function(){t.style.display=t.__vOriginalDisplay})):$o(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},qo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ho(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ho(ke(e.children)):t}function Wo(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[O(r)]=o[r];return e}function Ko(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Go=function(t){return t.tag||de(t)},Xo=function(t){return"show"===t.name},Yo={name:"transition",props:qo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Go)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var a=Ho(o);if(!a)return o;if(this._leaving)return Ko(t,o);var i="__transition-".concat(this._uid,"-");a.key=null==a.key?a.isComment?i+"comment":i+a.tag:c(a.key)?0===String(a.key).indexOf(i)?a.key:i+a.key:a.key;var s=(a.data||(a.data={})).transition=Wo(this),u=this._vnode,l=Ho(u);if(a.data.directives&&a.data.directives.some(Xo)&&(a.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,l)&&!de(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=T({},s);if("out-in"===r)return this._leaving=!0,Wt(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ko(t,o);if("in-out"===r){if(de(a))return u;var p,d=function(){p()};Wt(s,"afterEnter",d),Wt(s,"enterCancelled",d),Wt(f,"delayLeave",(function(t){p=t}))}}return o}}},Jo=T({tag:String,moveClass:String},qo);function Qo(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Zo(t){t.data.newPos=t.elm.getBoundingClientRect()}function ta(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var a=t.elm.style;a.transform=a.WebkitTransform="translate(".concat(r,"px,").concat(o,"px)"),a.transitionDuration="0s"}}delete Jo.mode;var ea={Transition:Yo,TransitionGroup:{props:Jo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Ye(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],a=this.children=[],i=Wo(this),s=0;s-1?gr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:gr[t]=/HTMLUnknownElement/.test(e.toString())},T(Wn.options.directives,zo),T(Wn.options.components,ea),Wn.prototype.__patch__=G?Do:D,Wn.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=dt),Ze(t,"beforeMount"),r=function(){t._update(t._render(),n)},new qe(t,r,D,{before:function(){t._isMounted&&!t._isDestroyed&&Ze(t,"beforeUpdate")}},!0),n=!1;var o=t._preWatchers;if(o)for(var a=0;a=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),u=e&&e.path||"/",l=c.path?wa(c.path,u,n||o.append):u,f=function(t,e,n){void 0===e&&(e={});var r,o=n||ua;try{r=o(t||"")}catch(t){r={}}for(var a in e){var i=e[a];r[a]=Array.isArray(i)?i.map(ca):ca(i)}return r}(c.query,o.query,r&&r.options.parseQuery),p=o.hash||c.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:l,query:f,hash:p}}var za,qa=function(){},Ha={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),a=o.location,i=o.route,s=o.href,c={},u=n.options.linkActiveClass,l=n.options.linkExactActiveClass,f=null==u?"router-link-active":u,p=null==l?"router-link-exact-active":l,d=null==this.activeClass?f:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=i.redirectedFrom?pa(null,Va(i.redirectedFrom),null,n):i;c[h]=ga(r,v,this.exactPath),c[d]=this.exact||this.exactPath?c[h]:function(t,e){return 0===t.path.replace(fa,"/").indexOf(e.path.replace(fa,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,v);var m=c[h]?this.ariaCurrentValue:null,g=function(t){Wa(t)&&(e.replace?n.replace(a,qa):n.push(a,qa))},y={click:Wa};Array.isArray(this.event)?this.event.forEach((function(t){y[t]=g})):y[this.event]=g;var b={class:c},_=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:s,route:i,navigate:g,isActive:c[d],isExactActive:c[h]});if(_){if(1===_.length)return _[0];if(_.length>1||!_.length)return 0===_.length?t():t("span",{},_)}if("a"===this.tag)b.on=y,b.attrs={href:s,"aria-current":m};else{var x=function t(e){var n;if(e)for(var r=0;r-1&&(s.params[p]=n.params[p]);return s.path=Fa(l.path,s.params),c(l,s,i)}if(s.path){s.params={};for(var d=0;d-1}function ki(t,e){return wi(t)&&t._isRouter&&(null==e||t.type===e)}function Ci(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}function Oi(t){return function(e,n,r){var o=!1,a=0,i=null;Si(t,(function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,a++;var c,u=$i((function(e){var o;((o=e).__esModule||Ei&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:za.extend(e),n.components[s]=e,--a<=0&&r()})),l=$i((function(t){var e="Failed to resolve async component "+s+": "+t;i||(i=wi(t)?t:new Error(e),r(i))}));try{c=t(u,l)}catch(t){l(t)}if(c)if("function"==typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"==typeof f.then&&f.then(u,l)}}})),o||r()}}function Si(t,e){return Pi(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Pi(t){return Array.prototype.concat.apply([],t)}var Ei="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function $i(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var ji=function(t,e){this.router=t,this.base=function(t){if(!t)if(Ka){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=ha,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Ti(t,e,n,r){var o=Si(t,(function(t,r,o,a){var i=function(t,e){"function"!=typeof t&&(t=za.extend(t));return t.options[e]}(t,e);if(i)return Array.isArray(i)?i.map((function(t){return n(t,r,o,a)})):n(i,r,o,a)}));return Pi(r?o.reverse():o)}function Ai(t,e){if(e)return function(){return t.apply(e,arguments)}}ji.prototype.listen=function(t){this.cb=t},ji.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},ji.prototype.onError=function(t){this.errorCbs.push(t)},ji.prototype.transitionTo=function(t,e,n){var r,o=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach((function(e){e(t)})),t}var a=this.current;this.confirmTransition(r,(function(){o.updateRoute(r),e&&e(r),o.ensureURL(),o.router.afterHooks.forEach((function(t){t&&t(r,a)})),o.ready||(o.ready=!0,o.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!o.ready&&(ki(t,gi.redirected)&&a===ha||(o.ready=!0,o.readyErrorCbs.forEach((function(e){e(t)}))))}))},ji.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var a,i,s=function(t){!ki(t)&&wi(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},c=t.matched.length-1,u=o.matched.length-1;if(ga(t,o)&&c===u&&t.matched[c]===o.matched[u])return this.ensureURL(),t.hash&&ai(this.router,o,t,!1),s(((i=_i(a=o,t,gi.duplicated,'Avoided redundant navigation to current location: "'+a.fullPath+'".')).name="NavigationDuplicated",i));var l=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=hi&&n;r&&this.listeners.push(oi());var o=function(){var n=t.current,o=Li(t.base);t.current===ha&&o===t._startLocation||t.transitionTo(o,(function(t){r&&ai(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){vi(ka(r.base+t.fullPath)),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){mi(ka(r.base+t.fullPath)),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Li(this.base)!==this.current.fullPath){var e=ka(this.base+this.current.fullPath);t?vi(e):mi(e)}},e.prototype.getCurrentLocation=function(){return Li(this.base)},e}(ji);function Li(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(ka(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Mi=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=Li(t);if(!/^\/#/.test(e))return window.location.replace(ka(t+"/#"+e)),!0}(this.base)||Ii()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=hi&&e;n&&this.listeners.push(oi());var r=function(){var e=t.current;Ii()&&t.transitionTo(Ui(),(function(r){n&&ai(t.router,r,e,!0),hi||Bi(r.fullPath)}))},o=hi?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){Ni(t.fullPath),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,(function(t){Bi(t.fullPath),ai(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ui()!==e&&(t?Ni(e):Bi(e))},e.prototype.getCurrentLocation=function(){return Ui()},e}(ji);function Ii(){var t=Ui();return"/"===t.charAt(0)||(Bi("/"+t),!1)}function Ui(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Ri(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ni(t){hi?vi(Ri(t)):window.location.hash=t}function Bi(t){hi?mi(Ri(t)):window.location.replace(Ri(t))}var Fi=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){ki(t,gi.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(ji),Vi=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Ya(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!hi&&!1!==t.fallback,this.fallback&&(e="hash"),Ka||(e="abstract"),this.mode=e,e){case"history":this.history=new Di(this,t.base);break;case"hash":this.history=new Mi(this,t.base,this.fallback);break;case"abstract":this.history=new Fi(this,t.base);break;default:0}},zi={currentRoute:{configurable:!0}};Vi.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},zi.currentRoute.get=function(){return this.history&&this.history.current},Vi.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof Di||n instanceof Mi){var r=function(t){n.setupListeners(),function(t){var r=n.current,o=e.options.scrollBehavior;hi&&o&&"fullPath"in t&&ai(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Vi.prototype.beforeEach=function(t){return Hi(this.beforeHooks,t)},Vi.prototype.beforeResolve=function(t){return Hi(this.resolveHooks,t)},Vi.prototype.afterEach=function(t){return Hi(this.afterHooks,t)},Vi.prototype.onReady=function(t,e){this.history.onReady(t,e)},Vi.prototype.onError=function(t){this.history.onError(t)},Vi.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},Vi.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},Vi.prototype.go=function(t){this.history.go(t)},Vi.prototype.back=function(){this.go(-1)},Vi.prototype.forward=function(){this.go(1)},Vi.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Vi.prototype.resolve=function(t,e,n){var r=Va(t,e=e||this.history.current,n,this),o=this.match(r,e),a=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?ka(t+"/"+r):r}(this.history.base,a,this.mode),normalizedTo:r,resolved:o}},Vi.prototype.getRoutes=function(){return this.matcher.getRoutes()},Vi.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==ha&&this.history.transitionTo(this.history.getCurrentLocation())},Vi.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==ha&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Vi.prototype,zi);var qi=Vi;function Hi(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Vi.install=function t(e){if(!t.installed||za!==e){t.installed=!0,za=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",_a),e.component("RouterLink",Ha);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Vi.version="3.6.5",Vi.isNavigationFailure=ki,Vi.NavigationFailureType=gi,Vi.START_LOCATION=ha,Ka&&window.Vue&&window.Vue.use(Vi);n(95);n(91),n(127);var Wi={NotFound:()=>n.e(9).then(n.bind(null,279)),Layout:()=>Promise.all([n.e(0),n.e(2)]).then(n.bind(null,278))},Ki={"v-5e3b9702":()=>n.e(10).then(n.bind(null,284)),"v-84f37cfc":()=>n.e(11).then(n.bind(null,285)),"v-39ea53df":()=>n.e(12).then(n.bind(null,286)),"v-07ffb9e8":()=>n.e(13).then(n.bind(null,287)),"v-f5ff78a8":()=>n.e(14).then(n.bind(null,288)),"v-43dc437b":()=>n.e(15).then(n.bind(null,289)),"v-a526cb2e":()=>n.e(16).then(n.bind(null,290)),"v-5fb14b90":()=>n.e(17).then(n.bind(null,291)),"v-3a6cb916":()=>n.e(18).then(n.bind(null,292)),"v-4d9bcc2c":()=>n.e(19).then(n.bind(null,293)),"v-0ad49da2":()=>n.e(20).then(n.bind(null,294)),"v-47f345b0":()=>n.e(21).then(n.bind(null,295)),"v-1bc22e00":()=>n.e(22).then(n.bind(null,296)),"v-4ba1c822":()=>n.e(23).then(n.bind(null,297)),"v-683ce540":()=>n.e(24).then(n.bind(null,298)),"v-1d7d1cd0":()=>n.e(25).then(n.bind(null,299)),"v-34d4ecfc":()=>n.e(26).then(n.bind(null,300)),"v-3904cbec":()=>n.e(27).then(n.bind(null,301)),"v-3b2a83a2":()=>n.e(28).then(n.bind(null,302)),"v-7447253c":()=>n.e(29).then(n.bind(null,303)),"v-656e6cd8":()=>n.e(30).then(n.bind(null,304)),"v-1819b022":()=>n.e(31).then(n.bind(null,305)),"v-9049147c":()=>n.e(32).then(n.bind(null,306)),"v-4932f320":()=>n.e(33).then(n.bind(null,307)),"v-4d236ae2":()=>n.e(34).then(n.bind(null,308)),"v-270b1330":()=>n.e(35).then(n.bind(null,309)),"v-42844f42":()=>n.e(36).then(n.bind(null,310)),"v-677eb710":()=>n.e(37).then(n.bind(null,311)),"v-2f484402":()=>n.e(38).then(n.bind(null,312)),"v-5a5f7dfc":()=>n.e(39).then(n.bind(null,313)),"v-2cf8e422":()=>n.e(40).then(n.bind(null,314)),"v-a52b6e3c":()=>n.e(41).then(n.bind(null,315)),"v-7ff494fe":()=>n.e(42).then(n.bind(null,316)),"v-3fab7362":()=>n.e(43).then(n.bind(null,317)),"v-7a1de3e2":()=>n.e(44).then(n.bind(null,318)),"v-09e90862":()=>n.e(45).then(n.bind(null,319)),"v-3c1656a2":()=>n.e(46).then(n.bind(null,320)),"v-e2bc19cc":()=>n.e(47).then(n.bind(null,321)),"v-7290a4ea":()=>n.e(48).then(n.bind(null,322)),"v-2b16ca38":()=>n.e(49).then(n.bind(null,323)),"v-4134f046":()=>n.e(50).then(n.bind(null,324))};function Gi(t){const e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}const Xi=/-(\w)/g,Yi=Gi(t=>t.replace(Xi,(t,e)=>e?e.toUpperCase():"")),Ji=/\B([A-Z])/g,Qi=Gi(t=>t.replace(Ji,"-$1").toLowerCase()),Zi=Gi(t=>t.charAt(0).toUpperCase()+t.slice(1));function ts(t,e){if(!e)return;if(t(e))return t(e);return e.includes("-")?t(Zi(Yi(e))):t(Zi(e))||t(Qi(e))}const es=Object.assign({},Wi,Ki),ns=t=>es[t],rs=t=>Ki[t],os=t=>Wi[t],as=t=>Wn.component(t);function is(t){return ts(rs,t)}function ss(t){return ts(os,t)}function cs(t){return ts(ns,t)}function us(t){return ts(as,t)}function ls(...t){return Promise.all(t.filter(t=>t).map(async t=>{if(!us(t)&&cs(t)){const e=await cs(t)();Wn.component(t,e.default)}}))}function fs(t,e){"undefined"!=typeof window&&window.__VUEPRESS__&&(window.__VUEPRESS__[t]=e)}var ps=n(87),ds=n.n(ps),hs=n(88),vs=n.n(hs),ms={created(){if(this.siteMeta=this.$site.headTags.filter(([t])=>"meta"===t).map(([t,e])=>e),this.$ssrContext){const e=this.getMergedMetaTags();this.$ssrContext.title=this.$title,this.$ssrContext.lang=this.$lang,this.$ssrContext.pageMeta=(t=e)?t.map(t=>{let e="{e+=` ${n}="${vs()(t[n])}"`}),e+">"}).join("\n "):"",this.$ssrContext.canonicalLink=ys(this.$canonicalUrl)}var t},mounted(){this.currentMetaTags=[...document.querySelectorAll("meta")],this.updateMeta(),this.updateCanonicalLink()},methods:{updateMeta(){document.title=this.$title,document.documentElement.lang=this.$lang;const t=this.getMergedMetaTags();this.currentMetaTags=bs(t,this.currentMetaTags)},getMergedMetaTags(){const t=this.$page.frontmatter.meta||[];return ds()([{name:"description",content:this.$description}],t,this.siteMeta,_s)},updateCanonicalLink(){gs(),this.$canonicalUrl&&document.head.insertAdjacentHTML("beforeend",ys(this.$canonicalUrl))}},watch:{$page(){this.updateMeta(),this.updateCanonicalLink()}},beforeDestroy(){bs(null,this.currentMetaTags),gs()}};function gs(){const t=document.querySelector("link[rel='canonical']");t&&t.remove()}function ys(t=""){return t?``:""}function bs(t,e){if(e&&[...e].filter(t=>t.parentNode===document.head).forEach(t=>document.head.removeChild(t)),t)return t.map(t=>{const e=document.createElement("meta");return Object.keys(t).forEach(n=>{e.setAttribute(n,t[n])}),document.head.appendChild(e),e})}function _s(t){for(const e of["name","property","itemprop"])if(t.hasOwnProperty(e))return t[e]+e;return JSON.stringify(t)}var xs=n(89),ws={mounted(){window.addEventListener("scroll",this.onScroll)},methods:{onScroll:n.n(xs)()((function(){this.setActiveHash()}),300),setActiveHash(){const t=[].slice.call(document.querySelectorAll(".sidebar-link")),e=[].slice.call(document.querySelectorAll(".header-anchor")).filter(e=>t.some(t=>t.hash===e.hash)),n=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),r=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),o=window.innerHeight+n;for(let t=0;t=a.parentElement.offsetTop+10&&(!i||n{this.$nextTick(()=>{this.$vuepress.$set("disableScrollBehavior",!1)})})}}}},beforeDestroy(){window.removeEventListener("scroll",this.onScroll)}},ks=n(22),Cs=n.n(ks),Os={mounted(){Cs.a.configure({showSpinner:!1}),this.$router.beforeEach((t,e,n)=>{t.path===e.path||Wn.component(t.name)||Cs.a.start(),n()}),this.$router.afterEach(()=>{Cs.a.done(),this.isSidebarOpen=!1})}},Ss=n(90),Ps=n.n(Ss),Es=[ms,ws,Os,{mounted(){Ps.a.polyfill()}}],$s={name:"GlobalLayout",computed:{layout(){const t=this.getLayout();return fs("layout",t),Wn.component(t)}},methods:{getLayout(){if(this.$page.path){const t=this.$page.frontmatter.layout;return t&&(this.$vuepress.getLayoutAsyncComponent(t)||this.$vuepress.getVueComponent(t))?t:"Layout"}return"NotFound"}}},js=n(14),Ts=Object(js.a)($s,(function(){return(0,this._self._c)(this.layout,{tag:"component"})}),[],!1,null,null,null).exports;!function(t,e,n){switch(e){case"components":t[e]||(t[e]={}),Object.assign(t[e],n);break;case"mixins":t[e]||(t[e]=[]),t[e].push(...n);break;default:throw new Error("Unknown option name.")}}(Ts,"mixins",Es);const As=[{name:"v-5e3b9702",path:"/guide/InstallingPlugins.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-5e3b9702").then(n)}},{name:"v-84f37cfc",path:"/guide/MakingPlugins.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-84f37cfc").then(n)}},{name:"v-39ea53df",path:"/guide/",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-39ea53df").then(n)}},{path:"/guide/index.html",redirect:"/guide/"},{name:"v-07ffb9e8",path:"/guide/making-patch-files.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-07ffb9e8").then(n)}},{name:"v-f5ff78a8",path:"/guide/non-eagler.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-f5ff78a8").then(n)}},{name:"v-43dc437b",path:"/",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-43dc437b").then(n)}},{path:"/index.html",redirect:"/"},{name:"v-a526cb2e",path:"/plugindocs/",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-a526cb2e").then(n)}},{path:"/plugindocs/index.html",redirect:"/plugindocs/"},{name:"v-5fb14b90",path:"/plugindocs/events/FromServerEvents.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-5fb14b90").then(n)}},{name:"v-3a6cb916",path:"/plugindocs/events/ToServerEvents.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3a6cb916").then(n)}},{name:"v-4d9bcc2c",path:"/plugindocs/events/addEventListener.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4d9bcc2c").then(n)}},{name:"v-0ad49da2",path:"/plugindocs/events/removeEventListener.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-0ad49da2").then(n)}},{name:"v-47f345b0",path:"/plugindocs/globals/AxisAlignedBB.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-47f345b0").then(n)}},{name:"v-1bc22e00",path:"/plugindocs/globals/BlockData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-1bc22e00").then(n)}},{name:"v-4ba1c822",path:"/plugindocs/globals/BlockPos.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4ba1c822").then(n)}},{name:"v-683ce540",path:"/plugindocs/globals/ChunkData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-683ce540").then(n)}},{name:"v-1d7d1cd0",path:"/plugindocs/globals/ContainerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-1d7d1cd0").then(n)}},{name:"v-34d4ecfc",path:"/plugindocs/globals/Data.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-34d4ecfc").then(n)}},{name:"v-3904cbec",path:"/plugindocs/globals/EnchantmentData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3904cbec").then(n)}},{name:"v-3b2a83a2",path:"/plugindocs/globals/EntityData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3b2a83a2").then(n)}},{name:"v-7447253c",path:"/plugindocs/globals/FishHookData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7447253c").then(n)}},{name:"v-656e6cd8",path:"/plugindocs/globals/FoodStatsData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-656e6cd8").then(n)}},{name:"v-1819b022",path:"/plugindocs/globals/GameSettingsData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-1819b022").then(n)}},{name:"v-9049147c",path:"/plugindocs/globals/InventoryBasicData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-9049147c").then(n)}},{name:"v-4932f320",path:"/plugindocs/globals/InventoryPlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4932f320").then(n)}},{name:"v-4d236ae2",path:"/plugindocs/globals/ItemData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4d236ae2").then(n)}},{name:"v-270b1330",path:"/plugindocs/globals/ItemStackData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-270b1330").then(n)}},{name:"v-42844f42",path:"/plugindocs/globals/KeyBindingData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-42844f42").then(n)}},{name:"v-677eb710",path:"/plugindocs/globals/ListOfGlobals.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-677eb710").then(n)}},{name:"v-2f484402",path:"/plugindocs/globals/LivingEntityData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-2f484402").then(n)}},{name:"v-5a5f7dfc",path:"/plugindocs/globals/LocalPlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-5a5f7dfc").then(n)}},{name:"v-2cf8e422",path:"/plugindocs/globals/MapColor.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-2cf8e422").then(n)}},{name:"v-a52b6e3c",path:"/plugindocs/globals/MaterialData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-a52b6e3c").then(n)}},{name:"v-7ff494fe",path:"/plugindocs/globals/NetworkData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7ff494fe").then(n)}},{name:"v-3fab7362",path:"/plugindocs/globals/PlayerCapabilities.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3fab7362").then(n)}},{name:"v-7a1de3e2",path:"/plugindocs/globals/PlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7a1de3e2").then(n)}},{name:"v-09e90862",path:"/plugindocs/globals/RemotePlayerData.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-09e90862").then(n)}},{name:"v-3c1656a2",path:"/plugindocs/globals/Vec3.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-3c1656a2").then(n)}},{name:"v-e2bc19cc",path:"/plugindocs/globals/Vec3i.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-e2bc19cc").then(n)}},{name:"v-7290a4ea",path:"/plugindocs/globals/Vec4b.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-7290a4ea").then(n)}},{name:"v-2b16ca38",path:"/plugindocs/globals/require.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-2b16ca38").then(n)}},{name:"v-4134f046",path:"/plugindocs/globals/updateComponent.html",component:Ts,beforeEnter:(t,e,n)=>{ls("Layout","v-4134f046").then(n)}},{path:"*",component:Ts}],Ds={title:"Eagler Reborn",description:"An Eaglercraft Client that can connect to Java servers!",base:"/",headTags:[["meta",{name:"theme-color",content:"#22282e"}],["meta",{name:"apple-mobile-web-app-capable",content:"yes"}],["meta",{name:"apple-mobile-web-app-status-bar-style",content:"black"}],["link",{rel:"icon",href:"/favicon.ico"}],["meta",{name:"theme-color",content:"#22282e",media:"(prefers-color-scheme: light)"}],["meta",{name:"theme-color",content:"#22282e",media:"(prefers-color-scheme: dark)"}]],pages:[{title:"How to install a plugin",frontmatter:{},regularPath:"/guide/InstallingPlugins.html",relativePath:"guide/InstallingPlugins.md",key:"v-5e3b9702",path:"/guide/InstallingPlugins.html",lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"How to create a plugin",frontmatter:{},regularPath:"/guide/MakingPlugins.html",relativePath:"guide/MakingPlugins.md",key:"v-84f37cfc",path:"/guide/MakingPlugins.html",headers:[{level:2,title:"What is a plugin?",slug:"what-is-a-plugin"},{level:2,title:'How to make an example "Spider" hack plugin',slug:"how-to-make-an-example-spider-hack-plugin"}],lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"Compiling Eagler Reborn",frontmatter:{},regularPath:"/guide/",relativePath:"guide/README.md",key:"v-39ea53df",path:"/guide/",headers:[{level:2,title:"Prerequisites",slug:"prerequisites"},{level:2,title:"Actually compiling the client",slug:"actually-compiling-the-client"}],lastUpdated:"6/22/2023, 8:49:28 PM",lastUpdatedTimestamp:1687466968e3},{title:"Making patch files",frontmatter:{},regularPath:"/guide/making-patch-files.html",relativePath:"guide/making-patch-files.md",key:"v-07ffb9e8",path:"/guide/making-patch-files.html",lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"Joining Non-Eagler servers",frontmatter:{},regularPath:"/guide/non-eagler.html",relativePath:"guide/non-eagler.md",key:"v-f5ff78a8",path:"/guide/non-eagler.html",headers:[{level:2,title:"If a server has Java and Eagler Support",slug:"if-a-server-has-java-and-eagler-support"}],lastUpdated:"6/20/2023, 10:57:17 PM",lastUpdatedTimestamp:1687301837e3},{title:"Home",frontmatter:{home:!0,heroImage:"https://raw.githubusercontent.com/EaglerReborn/EaglerReborn.github.io/main/54d35ed2-62df-46a1-bc42-8bc81755532b.png",tagline:"Eagler Reborn is an Eaglercraft client that can connect to Java servers and has a plugin API.",actionText:"Quick Start →",actionLink:"/guide/",footer:"Made with ❤️ by OtterDev"},regularPath:"/",relativePath:"index.md",key:"v-43dc437b",path:"/",lastUpdated:"9/4/2023, 6:14:29 PM",lastUpdatedTimestamp:1693851269e3},{title:"Plugin API",frontmatter:{},regularPath:"/plugindocs/",relativePath:"plugindocs/README.md",key:"v-a526cb2e",path:"/plugindocs/",headers:[{level:3,title:"Passing 'Ref' objects",slug:"passing-ref-objects"},{level:3,title:"Using non-auto properties",slug:"using-non-auto-properties"},{level:3,title:"Triggering data updates (reload())",slug:"triggering-data-updates-reload"}],lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"Receiving packet events",frontmatter:{},regularPath:"/plugindocs/events/FromServerEvents.html",relativePath:"plugindocs/events/FromServerEvents.md",key:"v-5fb14b90",path:"/plugindocs/events/FromServerEvents.html",lastUpdated:"10/14/2023, 5:48:51 AM",lastUpdatedTimestamp:1697262531e3},{title:"Sending packet events",frontmatter:{},regularPath:"/plugindocs/events/ToServerEvents.html",relativePath:"plugindocs/events/ToServerEvents.md",key:"v-3a6cb916",path:"/plugindocs/events/ToServerEvents.html",lastUpdated:"10/14/2023, 2:28:04 PM",lastUpdatedTimestamp:1697293684e3},{title:"PluginAPI.addEventListener(String eventName, Function callback)",frontmatter:{},regularPath:"/plugindocs/events/addEventListener.html",relativePath:"plugindocs/events/addEventListener.md",key:"v-4d9bcc2c",path:"/plugindocs/events/addEventListener.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) eventName",slug:"string-eventname"},{level:3,title:"More events:",slug:"more-events"},{level:3,title:"(Function) Callback",slug:"function-callback"}],lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"PluginAPI.removeEventListener(String eventName, Function callback, Boolean slow?)",frontmatter:{},regularPath:"/plugindocs/events/removeEventListener.html",relativePath:"plugindocs/events/removeEventListener.md",key:"v-0ad49da2",path:"/plugindocs/events/removeEventListener.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) eventName",slug:"string-eventname"},{level:3,title:"(Function) callback",slug:"function-callback"},{level:3,title:"[Optional] (Boolean) slow",slug:"optional-boolean-slow"}],lastUpdated:"10/14/2023, 5:49:00 AM",lastUpdatedTimestamp:169726254e4},{title:"AxisAlignedBB",frontmatter:{},regularPath:"/plugindocs/globals/AxisAlignedBB.html",relativePath:"plugindocs/globals/AxisAlignedBB.md",key:"v-47f345b0",path:"/plugindocs/globals/AxisAlignedBB.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"10/11/2023, 11:42:32 PM",lastUpdatedTimestamp:1697067752e3},{title:"BlockData",frontmatter:{},regularPath:"/plugindocs/globals/BlockData.html",relativePath:"plugindocs/globals/BlockData.md",key:"v-1bc22e00",path:"/plugindocs/globals/BlockData.html",lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"BlockPos",frontmatter:{},regularPath:"/plugindocs/globals/BlockPos.html",relativePath:"plugindocs/globals/BlockPos.md",key:"v-4ba1c822",path:"/plugindocs/globals/BlockPos.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"9/10/2023, 2:06:35 PM",lastUpdatedTimestamp:1694354795e3},{title:"ChunkData",frontmatter:{},regularPath:"/plugindocs/globals/ChunkData.html",relativePath:"plugindocs/globals/ChunkData.md",key:"v-683ce540",path:"/plugindocs/globals/ChunkData.html",lastUpdated:"9/20/2023, 7:54:45 AM",lastUpdatedTimestamp:1695196485e3},{title:"ContainerData",frontmatter:{},regularPath:"/plugindocs/globals/ContainerData.html",relativePath:"plugindocs/globals/ContainerData.md",key:"v-1d7d1cd0",path:"/plugindocs/globals/ContainerData.html",lastUpdated:"9/2/2023, 10:05:20 AM",lastUpdatedTimestamp:169364912e4},{title:"Data",frontmatter:{},regularPath:"/plugindocs/globals/Data.html",relativePath:"plugindocs/globals/Data.md",key:"v-34d4ecfc",path:"/plugindocs/globals/Data.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"EnchantmentData",frontmatter:{},regularPath:"/plugindocs/globals/EnchantmentData.html",relativePath:"plugindocs/globals/EnchantmentData.md",key:"v-3904cbec",path:"/plugindocs/globals/EnchantmentData.html",lastUpdated:"8/30/2023, 8:00:07 AM",lastUpdatedTimestamp:1693382407e3},{title:"EntityData",frontmatter:{},regularPath:"/plugindocs/globals/EntityData.html",relativePath:"plugindocs/globals/EntityData.md",key:"v-3b2a83a2",path:"/plugindocs/globals/EntityData.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"FishHookData",frontmatter:{},regularPath:"/plugindocs/globals/FishHookData.html",relativePath:"plugindocs/globals/FishHookData.md",key:"v-7447253c",path:"/plugindocs/globals/FishHookData.html",lastUpdated:"9/1/2023, 2:23:31 PM",lastUpdatedTimestamp:1693578211e3},{title:"FoodStatsData",frontmatter:{},regularPath:"/plugindocs/globals/FoodStatsData.html",relativePath:"plugindocs/globals/FoodStatsData.md",key:"v-656e6cd8",path:"/plugindocs/globals/FoodStatsData.html",lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"GameSettingsData",frontmatter:{},regularPath:"/plugindocs/globals/GameSettingsData.html",relativePath:"plugindocs/globals/GameSettingsData.md",key:"v-1819b022",path:"/plugindocs/globals/GameSettingsData.html",lastUpdated:"10/21/2023, 2:30:48 PM",lastUpdatedTimestamp:1697898648e3},{title:"InventoryBasicData",frontmatter:{},regularPath:"/plugindocs/globals/InventoryBasicData.html",relativePath:"plugindocs/globals/InventoryBasicData.md",key:"v-9049147c",path:"/plugindocs/globals/InventoryBasicData.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"InventoryPlayerData",frontmatter:{},regularPath:"/plugindocs/globals/InventoryPlayerData.html",relativePath:"plugindocs/globals/InventoryPlayerData.md",key:"v-4932f320",path:"/plugindocs/globals/InventoryPlayerData.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"ItemData",frontmatter:{},regularPath:"/plugindocs/globals/ItemData.html",relativePath:"plugindocs/globals/ItemData.md",key:"v-4d236ae2",path:"/plugindocs/globals/ItemData.html",lastUpdated:"9/1/2023, 2:23:10 PM",lastUpdatedTimestamp:169357819e4},{title:"ItemStackData",frontmatter:{},regularPath:"/plugindocs/globals/ItemStackData.html",relativePath:"plugindocs/globals/ItemStackData.md",key:"v-270b1330",path:"/plugindocs/globals/ItemStackData.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"KeyBindingData",frontmatter:{},regularPath:"/plugindocs/globals/KeyBindingData.html",relativePath:"plugindocs/globals/KeyBindingData.md",key:"v-42844f42",path:"/plugindocs/globals/KeyBindingData.html",lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"List of Globals",frontmatter:{},regularPath:"/plugindocs/globals/ListOfGlobals.html",relativePath:"plugindocs/globals/ListOfGlobals.md",key:"v-677eb710",path:"/plugindocs/globals/ListOfGlobals.html",lastUpdated:"9/22/2023, 6:54:06 AM",lastUpdatedTimestamp:1695365646e3},{title:"LivingEntityData",frontmatter:{},regularPath:"/plugindocs/globals/LivingEntityData.html",relativePath:"plugindocs/globals/LivingEntityData.md",key:"v-2f484402",path:"/plugindocs/globals/LivingEntityData.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"LocalPlayerData",frontmatter:{},regularPath:"/plugindocs/globals/LocalPlayerData.html",relativePath:"plugindocs/globals/LocalPlayerData.md",key:"v-5a5f7dfc",path:"/plugindocs/globals/LocalPlayerData.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"MapColor",frontmatter:{},regularPath:"/plugindocs/globals/MapColor.html",relativePath:"plugindocs/globals/MapColor.md",key:"v-2cf8e422",path:"/plugindocs/globals/MapColor.html",lastUpdated:"9/3/2023, 10:35:29 AM",lastUpdatedTimestamp:1693737329e3},{title:"MaterialData",frontmatter:{},regularPath:"/plugindocs/globals/MaterialData.html",relativePath:"plugindocs/globals/MaterialData.md",key:"v-a52b6e3c",path:"/plugindocs/globals/MaterialData.html",lastUpdated:"8/30/2023, 8:00:07 AM",lastUpdatedTimestamp:1693382407e3},{title:"NetworkData",frontmatter:{},regularPath:"/plugindocs/globals/NetworkData.html",relativePath:"plugindocs/globals/NetworkData.md",key:"v-7ff494fe",path:"/plugindocs/globals/NetworkData.html",lastUpdated:"10/14/2023, 5:49:00 AM",lastUpdatedTimestamp:169726254e4},{title:"PlayerCapabilities",frontmatter:{},regularPath:"/plugindocs/globals/PlayerCapabilities.html",relativePath:"plugindocs/globals/PlayerCapabilities.md",key:"v-3fab7362",path:"/plugindocs/globals/PlayerCapabilities.html",lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"PlayerData",frontmatter:{},regularPath:"/plugindocs/globals/PlayerData.html",relativePath:"plugindocs/globals/PlayerData.md",key:"v-7a1de3e2",path:"/plugindocs/globals/PlayerData.html",lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"RemotePlayerData",frontmatter:{},regularPath:"/plugindocs/globals/RemotePlayerData.html",relativePath:"plugindocs/globals/RemotePlayerData.md",key:"v-09e90862",path:"/plugindocs/globals/RemotePlayerData.html",lastUpdated:"10/1/2023, 5:14:30 AM",lastUpdatedTimestamp:169613727e4},{title:"Vec3",frontmatter:{},regularPath:"/plugindocs/globals/Vec3.html",relativePath:"plugindocs/globals/Vec3.md",key:"v-3c1656a2",path:"/plugindocs/globals/Vec3.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"9/10/2023, 9:56:35 AM",lastUpdatedTimestamp:1694339795e3},{title:"Vec3i",frontmatter:{},regularPath:"/plugindocs/globals/Vec3i.html",relativePath:"plugindocs/globals/Vec3i.md",key:"v-e2bc19cc",path:"/plugindocs/globals/Vec3i.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"10/15/2023, 4:35:42 AM",lastUpdatedTimestamp:1697344542e3},{title:"Vec4b",frontmatter:{},regularPath:"/plugindocs/globals/Vec4b.html",relativePath:"plugindocs/globals/Vec4b.md",key:"v-7290a4ea",path:"/plugindocs/globals/Vec4b.html",headers:[{level:3,title:"Constructor:",slug:"constructor"}],lastUpdated:"9/20/2023, 7:54:45 AM",lastUpdatedTimestamp:1695196485e3},{title:"PluginAPI.require(String componentName)",frontmatter:{},regularPath:"/plugindocs/globals/require.html",relativePath:"plugindocs/globals/require.md",key:"v-2b16ca38",path:"/plugindocs/globals/require.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) componentName",slug:"string-componentname"}],lastUpdated:"8/30/2023, 8:00:07 AM",lastUpdatedTimestamp:1693382407e3},{title:"PluginAPI.updateComponent(String componentName) [DEPRECATED]",frontmatter:{},regularPath:"/plugindocs/globals/updateComponent.html",relativePath:"plugindocs/globals/updateComponent.md",key:"v-4134f046",path:"/plugindocs/globals/updateComponent.html",headers:[{level:2,title:"Arguments:",slug:"arguments"},{level:3,title:"(String) componentName",slug:"string-componentname"}],lastUpdated:"9/10/2023, 10:01:16 AM",lastUpdatedTimestamp:1694340076e3}],themeConfig:{smoothScroll:!0,repo:"https://github.com/EaglerReborn/EaglerReborn.github.io",editLinks:!1,docsDir:"",docsBranch:"main",editLinkText:"",lastUpdated:!0,nav:[{text:"Guide",link:"/guide/"},{text:"Plugin Docs",link:"/plugindocs/"}],sidebar:{"/guide/":[{title:"Guide",collapsable:!1,children:["","non-eagler","making-patch-files","InstallingPlugins","MakingPlugins"]}],"/plugindocs/":[{title:"Plugin API",collapsable:!1,children:[""]},{title:"Events",collapsable:!0,children:["events/addEventListener","events/removeEventListener","events/FromServerEvents","events/ToServerEvents"]},{title:"Globals",collapsable:!0,children:["globals/Data","globals/AxisAlignedBB","globals/BlockData","globals/BlockPos","globals/ChunkData","globals/ContainerData","globals/EnchantmentData","globals/EntityData","globals/FishHookData","globals/FoodStatsData","globals/GameSettingsData","globals/InventoryBasicData","globals/InventoryPlayerData","globals/ItemData","globals/ItemStackData","globals/KeyBindingData","globals/LivingEntityData","globals/LocalPlayerData","globals/MapColor","globals/MaterialData","globals/NetworkData","globals/PlayerCapabilities","globals/PlayerData","globals/RemotePlayerData","globals/require","globals/updateComponent","globals/Vec3","globals/Vec3i","globals/Vec4b"]}]}}};n(235);Wn.component("OtherComponent",()=>n.e(7).then(n.bind(null,325))),Wn.component("demo-component",()=>n.e(8).then(n.bind(null,280))),Wn.component("Foo-Bar",()=>n.e(6).then(n.bind(null,281))),Wn.component("Badge",()=>Promise.all([n.e(0),n.e(3)]).then(n.bind(null,326))),Wn.component("CodeBlock",()=>Promise.all([n.e(0),n.e(4)]).then(n.bind(null,282))),Wn.component("CodeGroup",()=>Promise.all([n.e(0),n.e(5)]).then(n.bind(null,283)));n(236),n(237);function Ls(t){const e=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{x:n.left-e.left,y:n.top-e.top}}var Ms=[({Vue:t,options:e,router:n,siteData:r})=>{},{},({Vue:t})=>{t.mixin({computed:{$dataBlock(){return this.$options.__data__block__}}})},{},{},({Vue:t,router:e})=>{e.options.scrollBehavior=(e,n,r)=>{if(r)return window.scrollTo({top:r.y,behavior:"smooth"});if(e.hash){if(t.$vuepress.$get("disableScrollBehavior"))return!1;const n=document.querySelector(e.hash);return!!n&&window.scrollTo({top:Ls(n).y,behavior:"smooth"})}return window.scrollTo({top:0,behavior:"smooth"})}}],Is=[];class Us extends class{constructor(){this.store=new Wn({data:{state:{}}})}$get(t){return this.store.state[t]}$set(t,e){Wn.set(this.store.state,t,e)}$emit(...t){this.store.$emit(...t)}$on(...t){this.store.$on(...t)}}{}Object.assign(Us.prototype,{getPageAsyncComponent:is,getLayoutAsyncComponent:ss,getAsyncComponent:cs,getVueComponent:us});var Rs={install(t){const e=new Us;t.$vuepress=e,t.prototype.$vuepress=e}};function Ns(t,e){const n=e.toLowerCase();return t.options.routes.some(t=>t.path.toLowerCase()===n)}var Bs={props:{pageKey:String,slotKey:{type:String,default:"default"}},render(t){const e=this.pageKey||this.$parent.$page.key;return fs("pageKey",e),Wn.component(e)||Wn.component(e,is(e)),Wn.component(e)?t(e):t("")}},Fs={functional:!0,props:{slotKey:String,required:!0},render:(t,{props:e,slots:n})=>t("div",{class:["content__"+e.slotKey]},n()[e.slotKey])},Vs={computed:{openInNewWindowTitle(){return this.$themeLocaleConfig.openNewWindowText||"(opens new window)"}}},zs=(n(238),n(239),Object(js.a)(Vs,(function(){var t=this._self._c;return t("span",[t("svg",{staticClass:"icon outbound",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",x:"0px",y:"0px",viewBox:"0 0 100 100",width:"15",height:"15"}},[t("path",{attrs:{fill:"currentColor",d:"M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"}}),this._v(" "),t("polygon",{attrs:{fill:"currentColor",points:"45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"}})]),this._v(" "),t("span",{staticClass:"sr-only"},[this._v(this._s(this.openInNewWindowTitle))])])}),[],!1,null,null,null).exports),qs={functional:!0,render(t,{parent:e,children:n}){if(e._isMounted)return n;e.$once("hook:mounted",()=>{e.$forceUpdate()})}};Wn.config.productionTip=!1,Wn.use(qi),Wn.use(Rs),Wn.mixin(function(t,e,n=Wn){!function(t){t.locales&&Object.keys(t.locales).forEach(e=>{t.locales[e].path=e});Object.freeze(t)}(e),n.$vuepress.$set("siteData",e);const r=new(t(n.$vuepress.$get("siteData"))),o=Object.getOwnPropertyDescriptors(Object.getPrototypeOf(r)),a={};return Object.keys(o).reduce((t,e)=>(e.startsWith("$")&&(t[e]=o[e].get),t),a),{computed:a}}(t=>class{setPage(t){this.__page=t}get $site(){return t}get $themeConfig(){return this.$site.themeConfig}get $frontmatter(){return this.$page.frontmatter}get $localeConfig(){const{locales:t={}}=this.$site;let e,n;for(const r in t)"/"===r?n=t[r]:0===this.$page.path.indexOf(r)&&(e=t[r]);return e||n||{}}get $siteTitle(){return this.$localeConfig.title||this.$site.title||""}get $canonicalUrl(){const{canonicalUrl:t}=this.$page.frontmatter;return"string"==typeof t&&t}get $title(){const t=this.$page,{metaTitle:e}=this.$page.frontmatter;if("string"==typeof e)return e;const n=this.$siteTitle,r=t.frontmatter.home?null:t.frontmatter.title||t.title;return n?r?r+" | "+n:n:r||"VuePress"}get $description(){const t=function(t){if(t){const e=t.filter(t=>"description"===t.name)[0];if(e)return e.content}}(this.$page.frontmatter.meta);return t||(this.$page.frontmatter.description||this.$localeConfig.description||this.$site.description||"")}get $lang(){return this.$page.frontmatter.lang||this.$localeConfig.lang||"en-US"}get $localePath(){return this.$localeConfig.path||"/"}get $themeLocaleConfig(){return(this.$site.themeConfig.locales||{})[this.$localePath]||{}}get $page(){return this.__page?this.__page:function(t,e){for(let n=0;nn||(t.hash?!Wn.$vuepress.$get("disableScrollBehavior")&&{selector:decodeURIComponent(t.hash)}:{x:0,y:0})});!function(t){t.beforeEach((e,n,r)=>{if(Ns(t,e.path))r();else if(/(\/|\.html)$/.test(e.path))if(/\/$/.test(e.path)){const n=e.path.replace(/\/$/,"")+".html";Ns(t,n)?r(n):r()}else r();else{const n=e.path+"/",o=e.path+".html";Ns(t,o)?r(o):Ns(t,n)?r(n):r()}})}(n);const r={};try{await Promise.all(Ms.filter(t=>"function"==typeof t).map(e=>e({Vue:Wn,options:r,router:n,siteData:Ds,isServer:t})))}catch(t){console.error(t)}return{app:new Wn(Object.assign(r,{router:n,render:t=>t("div",{attrs:{id:"app"}},[t("RouterView",{ref:"layout"}),t("div",{class:"global-ui"},Is.map(e=>t(e)))])})),router:n}}(!1).then(({app:t,router:e})=>{e.onReady(()=>{t.$mount("#app")})})}]); \ No newline at end of file diff --git a/guide/InstallingPlugins.html b/guide/InstallingPlugins.html index 08371ce..9d162db 100644 --- a/guide/InstallingPlugins.html +++ b/guide/InstallingPlugins.html @@ -11,7 +11,7 @@ - + @@ -27,14 +27,18 @@ Plugin Docs
GitHub - (opens new window)

# How to install a plugin

Please keep in mind that these plugins are fully client side and therefore work on most servers. They can be considered hacks or unfair advantages, so be careful when using them.

  1. Open the compiled client
  2. Open options
  3. Click 'Plugins'
  4. Click 'Add New'
  5. Paste in the .js url.
  6. Optional: Refresh the GUI to see if the plugin loaded correctly.
  7. Optional: If the plugin is not working, go to options > plugins and make sure it says 'LOADED' next to your plugin. If it doesn't, it's not my fault!!!

Here is a sample plugin that allows you to climb up walls like a spider: -https://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/spider.js

And one that allows you to step up 9.5 blocks:
+ (opens new window)

# How to install a plugin

Please keep in mind that these plugins are fully client side and therefore work on most servers. They can be considered hacks or unfair advantages, so be careful when using them.

  1. Open the compiled client
  2. Open options
  3. Click 'Plugins'
  4. Click 'Add New'
  5. Paste in the .js url.
  6. Optional: Refresh the GUI to see if the plugin loaded correctly.

Here is a sample plugin that prevents you from taking fall damage:
+https://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/nofall.js

And one that allows you to step up 9.5 blocks:
https://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/step.js

And finally, a grappling hook mod!:
-https://raw.githubusercontent.com/EaglerReborn/reborn/main/exampleplugins/grapplehook.js

Last Updated: 10/15/2023, 4:30:20 AM
Last Updated: 10/15/2023, 4:35:42 AM
- + + How to create a plugin + + → +

+ diff --git a/guide/MakingPlugins.html b/guide/MakingPlugins.html new file mode 100644 index 0000000..8abb074 --- /dev/null +++ b/guide/MakingPlugins.html @@ -0,0 +1,66 @@ + + + + + + How to create a plugin | Eagler Reborn + + + + + + + + + + + +

# How to create a plugin

You will need:

# What is a plugin?

A plugin is a script that is loaded by EaglerReborn on startup or when added. It can do anythin regular JavaScript do, as well as access the Plugin API.

+How to make an example "Spider" hack plugin +

# How to make an example "Spider" hack plugin

Spider is a hack that allows you to climb up walls like a spider.

Create a new file with the .js extension, and open it in your code editor.

We will start by requiring the player. +Requiring allows us to access non-automatic properties of the Plugin API.

Add this line of code:

PluginAPI.require("player");
+

This will allow us to access the player.

Now, we need to add a listener that will run code every game tick.
+Make a function. (Name it whatever you want)

function spiderListener() {
+
+}
+

Inside this function we will do two things:

  • Check if the player is walking in to a wall
  • If they are, add vertical motion

Let's start with checking if the player is walking in to a wall.
+In the function you just made, add an if block.

if () {
+
+}
+

We can check whether or not the player is walking in to a wall with PluginAPI.player.isCollidedHorizontally.

if (PluginAPI.player.isCollidedHorizontally) {
+
+}
+

Now to add the vertical motion, we change the motionY property of PluginAPI.player.
+I will use the += operator, which adds an amount to a variable.

In the if, add these lines:

PluginAPI.player.motionY += 0.2;
+PluginAPI.player.reload();
+

You can change the 0.2 to something larger or smaller if you want. The reload() call is used to tell the Plugin API to update the in-game values, so we can see our changes.

Finally, we need to add the listener.

PluginAPI.addEventListener("update", spiderListener);
+

This tells the Plugin API to run spiderListener every game update (or tick).

Your finished code should somewhat look like this:

function spiderListener() {
+    if (PluginAPI.player.isCollidedHorizontally) {
+        PluginAPI.player.motionY += 0.2;
+        PluginAPI.player.reload();
+    }
+}
+PluginAPI.addEventListener("update", spiderListener);
+

Now, open the EaglerReborn client. +Go to Options > Plugins and press "upload". +Select the plugin file.

Now, when joining a server (without an anti-cheat), you should be able to climb up walls like a spider. +

Last Updated: 10/15/2023, 4:35:42 AM
+ + + diff --git a/guide/index.html b/guide/index.html index e906399..83cc545 100644 --- a/guide/index.html +++ b/guide/index.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

# Compiling Eagler Reborn

# Prerequisites

  1. Ownership of Minecraft: Java Edition (its OK if you have gamepass)
  2. A Windows/Mac/Linux computer
  3. FFMPEG (you can download it here (opens new window))
  4. At least Java 11

# Actually compiling the client

First, download the repository to your computer. Then, extract it. + (opens new window)

# Compiling Eagler Reborn

# Prerequisites

  1. Ownership of Minecraft: Java Edition (its OK if you have gamepass)
  2. A Windows/Mac/Linux computer
  3. FFMPEG (you can download it here (opens new window))
  4. At least Java 11

# Actually compiling the client

First, download the repository to your computer. Then, extract it.

Windows

  1. Double click CompileLatestClient.bat, a GUI resembling a classic windows installer should open
  2. Follow the steps shown to you in the new window to finish compiling
MacOS/Linux
  • Open a terminal in the folder the repository was cloned to @@ -37,6 +37,6 @@ →

  • - + diff --git a/guide/making-patch-files.html b/guide/making-patch-files.html index 89e2171..277c934 100644 --- a/guide/making-patch-files.html +++ b/guide/making-patch-files.html @@ -11,7 +11,7 @@ - + @@ -27,20 +27,19 @@ Plugin Docs GitHub - (opens new window)

    # Making patch files

    In order to make your own patch files, you will need the following:

    1. The minecraft 1.8.8 JAR
    2. 1.8.json
    3. mcp918.zip(link here (opens new window))
    4. FFMPEG

    Note: This tutorial only works on Linux or MacOS. To do this on Windows, either setup up a virtual machine or use WSL (preferably WSL 2).


    First, move the 1.8.8 jar, the 1.8.json file, and mcp918.zip into the mcp918 folder.
    -Then. open a terminal in the root directory of the repo.
    -Run java -jar buildtools/BuildTools.jar init in the terminal.
    -After it's done, do java -jar buildtools/BuildTools.jar workspace. It should ask you what directory you want it in.
    -After putting this info in, it should create the directory you specified and place a Gradle project inside.
    -This is the decompiled source of Minecraft 1.8.8, plus the patches.
    -Just modify the files and do ./gradlew teavm inside the workspace to compile.
    -Then do bash CompileEPK.sh to get an assets.epk file.
    -If you want to quickly test, do python -m http.server in the workspace and go to localhost:8000 in your browser.
    -If you want to make a pull request, do java -jar buildtools/BuildTools.jar pullrequest to generate a pullrequest folder.
    -Then, take this modified version of the repo and upload it to Github, make a pullrequest, and I will take a look.
    + (opens new window)

    # Making patch files

    In order to make your own patch files, you will need the following:

    1. The minecraft 1.8.8 JAR
    2. 1.8.json
    3. mcp918.zip(link here (opens new window))
    4. FFMPEG

    Note: This tutorial only works on Linux or MacOS. To do this on Windows, either setup up a virtual machine or use WSL (preferably WSL 2).


    First, move the 1.8.8 jar, the 1.8.json file, and mcp918.zip into the mcp918 folder. +Then. open a terminal in the root directory of the repo. +Run java -jar buildtools/BuildTools.jar init in the terminal. +After it's done, do java -jar buildtools/BuildTools.jar workspace. It should ask you what directory you want it in. +After putting this info in, it should create the directory you specified and place a Gradle project inside. +This is the decompiled source of Minecraft 1.8.8, plus the patches. +Just modify the files and do ./gradlew teavm inside the workspace to compile. +Then do bash CompileEPK.sh to get an assets.epk file. +If you want to quickly test, do python -m http.server in the workspace and go to localhost:8000 in your browser. +If you want to make a pull request, do java -jar buildtools/BuildTools.jar pullrequest to generate a pullrequest folder. +Then, take this modified version of the repo and upload it to Github, make a pullrequest, and I will take a look. If you are making your own fork of EaglerReborn and have it open source, you can do java -jar buildtools/BuildTools.jar merge -to finish generating the patch files.

    -To make an offline download, run bash MakeOfflineDownload.sh after running ./gradlew teavm and bash CompileEPK.sh

    Last Updated: 8/3/2023, 2:32:03 AM
    Last Updated: 10/15/2023, 4:35:42 AM
    - + diff --git a/guide/non-eagler.html b/guide/non-eagler.html index 26b15cc..50f9376 100644 --- a/guide/non-eagler.html +++ b/guide/non-eagler.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # Joining Non-Eagler servers

    To join non eagler servers on the client, just do not include wss:// in the server address. If you include wss://, the client will assume its an eagler server.

    # If a server has Java and Eagler Support

    If the server has both Java and Eagler support, you should definitely use Eagler. Here's why:

    1. Eagler is much faster than Java
    2. Eagler is supported natively, with needing to use a relay, resulting in better ping.
    Last Updated: 6/20/2023, 10:57:17 PM
    - + diff --git a/index.html b/index.html index 7cf1c6f..8bdf215 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ - + @@ -36,6 +36,6 @@

    - + diff --git a/plugindocs/events/FromServerEvents.html b/plugindocs/events/FromServerEvents.html index 3780c2b..9b264eb 100644 --- a/plugindocs/events/FromServerEvents.html +++ b/plugindocs/events/FromServerEvents.html @@ -11,7 +11,7 @@ - + @@ -63,6 +63,6 @@ →

    - + diff --git a/plugindocs/events/ToServerEvents.html b/plugindocs/events/ToServerEvents.html index 08a12fc..e5a7542 100644 --- a/plugindocs/events/ToServerEvents.html +++ b/plugindocs/events/ToServerEvents.html @@ -11,7 +11,7 @@ - + @@ -44,6 +44,6 @@ →

    - + diff --git a/plugindocs/events/addEventListener.html b/plugindocs/events/addEventListener.html index 1a1a527..ff19b67 100644 --- a/plugindocs/events/addEventListener.html +++ b/plugindocs/events/addEventListener.html @@ -11,7 +11,7 @@ - + @@ -30,14 +30,15 @@ (opens new window)

    # PluginAPI.addEventListener(String eventName, Function callback)

    This method is used to add event listeners to the event name specified.

    # Arguments:

    # (String) eventName

    This argument is used to specify internally which listener array to add the callback to. It has the following valid values:

    More events: -Receiving packet events Sending packet events

    # (Function) Callback

    The function to call when this event fires.

    - + diff --git a/plugindocs/events/removeEventListener.html b/plugindocs/events/removeEventListener.html index af2168e..bbbccab 100644 --- a/plugindocs/events/removeEventListener.html +++ b/plugindocs/events/removeEventListener.html @@ -11,7 +11,7 @@ - + @@ -47,6 +47,6 @@ →

    - + diff --git a/plugindocs/globals/AxisAlignedBB.html b/plugindocs/globals/AxisAlignedBB.html index 2459f02..eb03023 100644 --- a/plugindocs/globals/AxisAlignedBB.html +++ b/plugindocs/globals/AxisAlignedBB.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # AxisAlignedBB

    Used to represent bounding boxes.

    # Constructor:

    PluginAPI.contructors.AxisAlignedBB({x1: Number, y1: Number, z1: Number, x2: Number, y2: Number, z2: Number})

    Has the following properties:

    It has the following methods:

    - + diff --git a/plugindocs/globals/BlockData.html b/plugindocs/globals/BlockData.html index cf5282e..7d41bf9 100644 --- a/plugindocs/globals/BlockData.html +++ b/plugindocs/globals/BlockData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # BlockData

    Used to represent a block.

    Has the following properties:

    • unlocalizedName: String: equal to the block's unlocalizedName
    • slipperiness: Number: equal to the block's slipperiness
    • blockParticleGravity: Number: equal to the block's blockParticleGravity
    • minX: Number: equal to the block's minX
    • minY: Number: equal to the block's minY
    • minZ: Number: equal to the block's minZ
    • maxX: Number: equal to the block's maxX
    • maxY: Number: equal to the block's maxY
    • maxZ: Number: equal to the block's maxZ
    • blockMaterial: MaterialData: represents the blocks material.
    • enableStats: Boolean: equal to the block's enableStats
    • needsRandomTick: Boolean: equal to the block's needsRandomTick
    • isBlockContainer: Boolean: equal to the block's isBlockContainer
    • useNeighborBrightness: Boolean: equal to the block's useNeighborBrightness
    • translucent: Boolean: equal to the block's translucent
    • fullBlock: Boolean: equal to the block's fullBlock
    • lightOpacity: Integer: equal to the block's lightOpacity
    • lightValue: Integer: equal to the block's lightValue
    • blockHardness: Integer: equal to the block's blockHardness
    • blockResistance: Integer: equal to the block's blockResistance
    • noRender: Boolean: equal to the block's noRender
    • forceRender: Boolean: equal to the block's forceRender

    It has the following methods:

    • getID() : Integer
    Last Updated: 9/20/2023, 7:54:45 AM
    - + diff --git a/plugindocs/globals/BlockPos.html b/plugindocs/globals/BlockPos.html index 9ce0a1c..8328d1e 100644 --- a/plugindocs/globals/BlockPos.html +++ b/plugindocs/globals/BlockPos.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # BlockPos

    Represents a block position.

    # Constructor:

    PluginAPI.contructors.BlockPos({x: Integer, y: Integer, z: Integer})

    Has all of the properties and methods of Vec3i

    Has the following methods:

    • add(x: Integer, y: Integer, z: Integer) : BlockPos
    • up(n: Integer) : BlockPos
    • down(n: Integer) : BlockPos
    • north(n: Integer) : BlockPos
    • south(n: Integer) : BlockPos
    • east(n: Integer) : BlockPos
    • west(n: Integer) : BlockPos
    • getBlock() : Block
    Last Updated: 9/10/2023, 2:06:35 PM
    - + diff --git a/plugindocs/globals/ChunkData.html b/plugindocs/globals/ChunkData.html index 8c93808..9e16da8 100644 --- a/plugindocs/globals/ChunkData.html +++ b/plugindocs/globals/ChunkData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # ChunkData

    Represents chunk data from a packet.

    Has the following properties:

    • data : Byte[]
    • dataSize : Integer
    Last Updated: 9/20/2023, 7:54:45 AM
    - + diff --git a/plugindocs/globals/ContainerData.html b/plugindocs/globals/ContainerData.html index 8219d45..2430f57 100644 --- a/plugindocs/globals/ContainerData.html +++ b/plugindocs/globals/ContainerData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # ContainerData

    Represents a container.

    Has the following properties:

    • inventoryItemStacks : [ItemStackData](ItemStackData.md)[]

    And the following methods:

    • getPlayerList() : [PlayerData](PlayerData.md)[]
    Last Updated: 9/2/2023, 10:05:20 AM
    - + diff --git a/plugindocs/globals/Data.html b/plugindocs/globals/Data.html index acf6203..b0345b8 100644 --- a/plugindocs/globals/Data.html +++ b/plugindocs/globals/Data.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # Data

    Data is the parent of all other types of data, so all types of data share the reload() method. Reload is used to force reload the data in-game. + (opens new window)

    # Data

    Data is the parent of all other types of data, so all types of data share the reload() method. Reload is used to force reload the data in-game. Almost all data objects also have a getRef() method. getRef() is used to get the java object.

    Last Updated: 10/1/2023, 5:14:30 AM
    - + diff --git a/plugindocs/globals/EnchantmentData.html b/plugindocs/globals/EnchantmentData.html index 428c5d0..63fd8b0 100644 --- a/plugindocs/globals/EnchantmentData.html +++ b/plugindocs/globals/EnchantmentData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # EnchantmentData

    Represents an enchantment type.

    Has the following properties:

    • enchID: Integer
    • weight: Integer
    • name: String
    Last Updated: 8/30/2023, 8:00:07 AM
    - + diff --git a/plugindocs/globals/EntityData.html b/plugindocs/globals/EntityData.html index 2b12395..606f8d4 100644 --- a/plugindocs/globals/EntityData.html +++ b/plugindocs/globals/EntityData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # EntityData

    A typical EntityData object will have the following properties:

    • x: Number: Equal to the entity's posX.
    • y: Number: Equal to the entity's posY.
    • z: Number: Equal to the entity's posZ.
    • chunkCoordX: Number: Equal to the entity's chunkCoordX. (Read-only)
    • chunkCoordY: Number: Equal to the entity's chunkCoordY. (Read-only)
    • chunkCoordZ: Number: Equal to the entity's chunkCoordZ. (Read-only)
    • motionX: Number: Equal to the entity's motionX.
    • motionY: Number: Equal to the entity's motionY.
    • motionZ: Number: Equal to the entity's motionZ.
    • yaw: Number: Equal to the entity's rotationYaw.
    • pitch: Number: Equal to the entity's rotationPitch.
    • isInWeb: Boolean: Equal to the entity's isInWeb.
    • isCollided: Boolean: Equal to the entity's isCollided.
    • isCollidedVertically: Boolean: Equal to the entity's isCollidedVertically.
    • isCollidedHorizontally: Boolean: Equal to the entity's isCollidedHorizontally.
    • onGround: Boolean: Equal to the entity's onGround.
    • dimension: Integer: Equal to the entity's dimension. (Read-only)
    • id: Integer: Equal to the entity's entityId. (Read-only)
    • fallDistance: Number: Equal to the entity's fallDistance. (Read-only)
    • noClip: Boolean: Equal to the entity's noClip.
    • stepHeight: Number: Equal to the entity's stepHeight.
    • isDead: Boolean: Equal to the entity's isDead. (Read-only)
    • inPortal: Boolean: Equal to the entity's inPortal.
    • inWater: Boolean: Equal to the entity's inWater.
    • isAirBorne: Boolean: Equal to the entity's isAirBorne.
    • ticksExisted: Integer: Equal to the entity's ticksExisted. (Read-only)
    • invulnerable: Boolean: Equal to the entity's invulnerable.
    • isImmuneToFire: Boolean: Equal to the entity's isImmuneToFire.
    • isOutsideBorder: Boolean: Equal to the entity's isOutsideBorder.
    • entityCollisionReduction: Number: Equal to the entity's entityCollisionReduction.

    It contains the following methods:

    • isBurning() : boolean
    • isPushedByWater() : boolean
    • isEating() : boolean
    • isEntityAlive() : boolean
    • isEntityInsideOpaqueBlock() : boolean
    • isImmuneToExplosions() : boolean
    • isImmuneToFire() : boolean
    • isInLava() : boolean
    • isInRangeToRender3d({x: number, y: number: z: number}) : boolean
    • isInRangeToRenderDist({distance: number}) : boolean
    • isInWater() : boolean
    • isInvisible() : boolean
    • isPushedByWater() : boolean
    • isRiding() : boolean
    • isSilent() : boolean
    • isSneaking() : boolean
    • isSprinting() : boolean
    • isWet() : boolean
    • setAir({air: integer}) : void
    • setAlwaysRenderNameTag({alwaysRenderNameTag: boolean}) : void
    • setAngles({yaw: number, pitch: number}) : void
    • setBeenAttacked() : void
    • setCustomNameTag({name: string}) : void
    • setDead() : void
    • setEating({eating: boolean}) : void
    • setEntityId({id: integer}) : void
    • setFire({seconds: integer}) : void
    • setFlag({flag: integer, set: boolean}) : void
    • setInWeb() : void
    • setInvisible({invisible: boolean}) : void
    • setLocationAndAngles({x: number, y: number, z: number, yaw: number, pitch: number}) : void
    • setOnFireFromLava() : void
    • setOutsideBorder({outsideBorder: boolean}) : void
    • setPosition({x: number, y: number, z: number}) : void
    • setPositionAndRotation({x: number, y: number, z: number, yaw: number, pitch: number}) : void
    • setPositionAndRotation2({d0: number, d1: number, d2: number, f: number, f1: number, var9: integer, var10: boolean}) : void
    • setPositionAndUpdate({d0: number, d1: number, d2: number}) : void
    • setRotation({yaw: number, pitch: number}) : void
    • setRotationYawHead({rotation: number}) : void
    • setSilent({isSilent: boolean}) : void
    • setSize({f: number, f1: number}) : void
    • setSneaking({sneaking: boolean}) : void
    • setSprinting({flag: boolean}) : void
    • setVelocity({x: number, y: number, z: number}) : void
    • getUUID() : string
    • getAir() : integer
    • getAlwaysRenderNameTag() : boolean
    • getAlwaysRenderNameTagForRender() : boolean
    • getBrightness({var1: number}) : number
    • getBrightnessForRender({var1: number}) : integer
    • getCollisionBorderSize() : number
    • getCollisionBoundingBox() : [AxisAlignedBB](AxisAlignedBB.md)
    • getCommandSenderEntity() : [EntityData](EntityData.md)
    • getCustomNameTag() : string
    • getDisplayName() : string
    • getDisplayNameFormatted() : string
    • getDistance({x: number, y: number, z: number}) : number
    • getDistanceSq({x: number, y: number, z: number}) : number
    • getMountedYOffset() : number
    • getEntityId() : integer
    • getEntityString() : string
    • getEyeHeight() : number
    • getFlag({flag: integer}) : boolean
    • getMaxFallHeight() : integer
    • getMaxInPortalTime() : integer
    • getName() : string
    • getParts() : [Array<EntityData>](EntityData.md)
    • getPortalCooldown() : integer
    • getRotationYawHead() : number
    • getSplashSound() : string
    • getSwimSound() : string
    • getYOffset() : number
    • getClassName() : string
    • getPositionVector() : [Vec3](Vec3.md)
    • getPositionEyes({partialTicks: number}) : [Vec3](Vec3.md)
    • getLook({partialTicks: number}) : [Vec3](Vec3.md)
    • getLookVec() : [Vec3](Vec3.md)
    • getVectorForRotation({yaw: number, float: number}) : [Vec3](Vec3.md)
    • toNBT() : String
    • fromNBT({nbt: String}) : void
    Last Updated: 9/10/2023, 9:56:35 AM
    - + diff --git a/plugindocs/globals/FishHookData.html b/plugindocs/globals/FishHookData.html index 2bf654b..74790b9 100644 --- a/plugindocs/globals/FishHookData.html +++ b/plugindocs/globals/FishHookData.html @@ -11,7 +11,7 @@ - + @@ -27,15 +27,15 @@ Plugin Docs GitHub - (opens new window)

    # FishHookData

    All of the properties of EntityData, and:

    • inGround: Boolean: Whether or not the fish hook is in the ground.
    • xTile: Integer: Equal to the fish hook's xTile.
    • yTile: Integer: Equal to the fish hook's yTile.
    • zTile: Integer: Equal to the fish hook's zTile.
    • shake: Integer: Equal to the fish hook's shake.
    • ticksCatchable: Integer: Equal to the fish hook's ticksCatchable.
    • ticksCatchableDelay: Integer: Equal to the fish hook's ticksCatchableDelay.
    • ticksCaughtDelay: Integer: Equal to the fish hook's ticksCaughtDelay.
    • ticksInAir: Integer: Equal to the fish hook's ticksInAir.
    • ticksInGround: Integer: Equal to the fish hook's ticksInGround.
    • caughtEntity: EntityData: The entity the fish hook is hooked on to. (If existing)
    • fishApproachAngle: Number: Equal to the fish hook's fishApproachAngle.
    • fishPitch: Number: Equal to the fish hook's fishPitch
    • fishPosRotationIncrements: Integer: Equal to the fish hook's fishPosRotationIncrements.
    Last Updated: 9/1/2023, 2:23:31 PM
    - + diff --git a/plugindocs/globals/FoodStatsData.html b/plugindocs/globals/FoodStatsData.html new file mode 100644 index 0000000..dde8d95 --- /dev/null +++ b/plugindocs/globals/FoodStatsData.html @@ -0,0 +1,41 @@ + + + + + + FoodStatsData | Eagler Reborn + + + + + + + + + + + +

    # FoodStatsData

    Represents the food stats of a player.

    Has the following properties:

    • foodLevel: Integer
    • foodSaturationLevel: Number
    • foodExhaustionLevel: Number
    • foodTimer: Integer
    • prevFoodLevel: Integer

    Has the following methods:

    • addStats({foodLevelIn: Integer, foodSaturationModifier: Number}) : void
    • addExhaustion({parFloat1: Number}) : void
    • setFoodLevel({foodLevelIn: Integer}) : void
    • setFoodSaturationLevel({foodSaturationLevelIn: Number}) : void
    • getFoodLevel() : Integer
    • getPrevFoodLevel() : Integer
    • getSaturationLevel() : Number
    • needFood() : Boolean
    Last Updated: 10/15/2023, 4:35:42 AM
    + + + diff --git a/plugindocs/globals/GameSettingsData.html b/plugindocs/globals/GameSettingsData.html new file mode 100644 index 0000000..08a6fb2 --- /dev/null +++ b/plugindocs/globals/GameSettingsData.html @@ -0,0 +1,41 @@ + + + + + + GameSettingsData | Eagler Reborn + + + + + + + + + + + +

    # GameSettingsData

    Represents the game's settings.

    Has the following properties:

    • mouseSensitivity: Number
    • invertMouse: Boolean
    • renderDistanceChunks: Integer
    • viewBobbing: Boolean
    • anaglyph: Boolean
    • fboEnable: Boolean
    • limitFramerate: Integer
    • clouds: Integer
    • fancyGraphics: Boolean
    • ambientOcclusion: Integer
    • chatVisibility: String
      • Can be one of: FULL, SYSTEM or HIDDEN
    • chatColours: Boolean
    • chatLinks: Boolean
    • chatLinksPrompt: Boolean
    • chatOpacity: Number
    • enableVsync: Boolean
    • snooperEnabled: Boolean
    • allowBlockAlternatives: Boolean
    • reducedDebugInfo: Boolean
    • hideServerAddress: Boolean
    • pauseOnLostFocus: Boolean
    • touchscreen: Boolean
    • overrideWidth: Integer
    • overrideHeight: Integer
    • heldItemTooltips: Boolean
    • chatScale: Number
    • chatWidth: Number
    • chatHeightUnfocused: Number
    • chatHeightFocused: Number
    • streamBytesPerPixel: Number
    • streamMicVolume: Number
    • streamGameVolume: Number
    • streamKbps: Number
    • streamFps: Number
    • fovSetting: Number
    • gammaSetting: Number
    • saturation: Number
    • streamChatEnabled: Integer
    • streamChatUserFilter: Integer
    • streamMicToggleBehavior: Integer
    • guiScale: Integer
    • fxaa: Integer
    • particleSetting: Integer
    • streamCompression: Integer
    • thirdPersonView: Integer
    • mipmapLevels: Integer
    • forceUnicodeFont: Boolean
    • hudFps: Boolean
    • hudCoords: Boolean
    • hudPlayer: Boolean
    • hudWorld: Boolean
    • hudStats: Boolean
    • hud24h: Boolean
    • chunkFix: Boolean
    • fog: Boolean
    • streamSendMetadata: Boolean
    • hideGUI: Boolean
    • smoothCamera: Boolean
    • debugCamEnable: Boolean
    • showDebugInfo: Boolean
    • showDebugProfilerChart: Boolean
    • showInventoryAchievementHint: Boolean
    • difficulty: String
      • Can be one of PEACEFUL, EASY, NORMAL or HARD
    • lastServer: String
    • language: String
    • streamPreferredServer: String
    • keyBindings: KeyBindingData[]
    Last Updated: 10/21/2023, 2:30:48 PM
    + + + diff --git a/plugindocs/globals/InventoryBasicData.html b/plugindocs/globals/InventoryBasicData.html index be478cb..5dc66d2 100644 --- a/plugindocs/globals/InventoryBasicData.html +++ b/plugindocs/globals/InventoryBasicData.html @@ -11,7 +11,7 @@ - + @@ -27,15 +27,15 @@ Plugin Docs GitHub - (opens new window)

    # InventoryBasicData

    Represents a basic inventory.

    Has the following properties:

    • inventoryContents: ItemStackData[]
    • inventoryTitle: String
    • slotsCount: Integer
    • hasCustomName: Boolean
    Last Updated: 9/10/2023, 9:56:35 AM
    - + diff --git a/plugindocs/globals/InventoryPlayerData.html b/plugindocs/globals/InventoryPlayerData.html index 699cf7b..5092bbe 100644 --- a/plugindocs/globals/InventoryPlayerData.html +++ b/plugindocs/globals/InventoryPlayerData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # InventoryPlayerData

    Represents a player's inventory.

    Has the following properties:

    • mainInventory: ItemStackData[]
    • armorInventory: ItemStackData[]
    • currentItem: Integer
    • inventoryChanged: Boolean
    Last Updated: 9/10/2023, 9:56:35 AM
    - + diff --git a/plugindocs/globals/ItemData.html b/plugindocs/globals/ItemData.html index 64d1446..5b1a149 100644 --- a/plugindocs/globals/ItemData.html +++ b/plugindocs/globals/ItemData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # ItemData

    Represents an item type.

    Has the following properties:

    • maxStackSize : Integer
    • maxDamage : Integer
    • bFull3D : Boolean
    • hasSubtypes : Boolean
    • potionEffect : String

    Has the following methods:

    • getID() : Integer
    • setMaxStackSize(maxStackSize: Integer) : ItemData
    • setHasSubtypes(hasSubtypes: Boolean) : ItemData
    • setMaxDamage(maxDamageIn: Integer) : ItemData
    • setUnlocalizedName(s: String) : ItemData
    • setPotionEffect(potionEffect: String) : ItemData
    Last Updated: 9/1/2023, 2:23:10 PM
    - + diff --git a/plugindocs/globals/ItemStackData.html b/plugindocs/globals/ItemStackData.html index eefe599..b18bd33 100644 --- a/plugindocs/globals/ItemStackData.html +++ b/plugindocs/globals/ItemStackData.html @@ -11,7 +11,7 @@ - + @@ -27,15 +27,15 @@ Plugin Docs GitHub - (opens new window)

    # ItemStackData

    Represents an itemstack.

    # Constructor:

    PluginAPI.contructors.ItemStack({itemId: Integer, amount: Integer, itemDamage: Integer})

    Has the following properties:

    • amount : Integer
    • animationsToGo : Integer
    • itemId : Integer
    • itemDamage : Integer
    • itemFrame : [EntityData](EntityData.md) (If existing)
    • canDestroyCacheBlock : BlockData
    • canDestroyCacheResult : Boolean
    • canPlaceOnCacheBlock : BlockData
    • canPlaceOnCacheResult : Boolean

    Has the following methods:

    • getItem() : ItemData
    • getMaxStackSize() : Integer
    • isStackable() : Boolean
    • isItemStackDamageable() : Boolean
    • getHasSubtypes() : Boolean
    • isItemDamaged() : Boolean
    • getItemDamage() : Integer
    • getMetadata() : Integer
    • setItemDamage({meta: Integer}) : void
    • getMaxDamage() : Integer
    • copy() : ItemStackData
    • getUnlocalizedName() : String
    • toString() : String
    • getMaxItemUseDuration() : Integer
    • getDisplayName() : String
    • setDisplayName({displayName: String}) : ItemStackData
    • clearCustomName() : void
    • hasDisplayName() : Boolean
    • hasEffect() : Boolean
    • isItemEnchantable() : Boolean
    • addEnchantment({ench: EnchantmentRef, level: Integer}) : void
    • isItemEnchanted() : Boolean
    • canEditBlocks() : Boolean
    • isOnItemFrame() : Boolean
    • getRepairCost() : Integer
    • setRepairCost({cost: Integer}) : void
    • setItem(newItem: ItemRef) : void
    • canDestroy({blockId: Integer}) : Boolean
    • canPlaceOn({blockId: Integer}) : Boolean
    • toNBT() : String
    • fromNBT({nbt: String}) : void
    • getLore() : String[]
    • setLore({lore: String[]}) : void
    Last Updated: 10/1/2023, 5:14:30 AM
    - + diff --git a/plugindocs/globals/KeyBindingData.html b/plugindocs/globals/KeyBindingData.html new file mode 100644 index 0000000..01f46e5 --- /dev/null +++ b/plugindocs/globals/KeyBindingData.html @@ -0,0 +1,41 @@ + + + + + + KeyBindingData | Eagler Reborn + + + + + + + + + + + +

    # KeyBindingData

    Represents a in-game keybind.

    Has the following properties:

    • keyCode: Integer
    • pressTime: Integer
    • pressed: Boolean
    • keyDescription: String [read-only]
    • keyCategory: String [read-only]

    Has the following methods:

    • isKeyDown() : Boolean
    • getKeyCategory() : String
    • isPressed() : Boolean
    • unpressKey() : void
    • getKeyDescription() : String
    • getKeyCodeDefault() : Integer
    • getKeyCode() : Integer
    Last Updated: 10/15/2023, 4:35:42 AM
    + + + diff --git a/plugindocs/globals/ListOfGlobals.html b/plugindocs/globals/ListOfGlobals.html index c67653e..f1a5680 100644 --- a/plugindocs/globals/ListOfGlobals.html +++ b/plugindocs/globals/ListOfGlobals.html @@ -11,7 +11,7 @@ - + @@ -34,6 +34,6 @@ A MaterialData array of all the block materials. [Auto]
  • PluginAPI.enchantments An EnchantmentData array of all the in-game enchantments. [Auto]
  • PluginAPI.constructors A object containing constructors to make some Java objects in JavaScript. [Auto]
  • In order to use non auto globals, they must be required.

    Last Updated: 9/22/2023, 6:54:06 AM
    - + diff --git a/plugindocs/globals/LivingEntityData.html b/plugindocs/globals/LivingEntityData.html index d82dea5..a93807d 100644 --- a/plugindocs/globals/LivingEntityData.html +++ b/plugindocs/globals/LivingEntityData.html @@ -11,7 +11,7 @@ - + @@ -27,15 +27,15 @@ Plugin Docs GitHub - (opens new window)

    # LivingEntityData

    A LivingEntityData usually has all of the properties of EntityData, and:

    • isSwingInProgress: Boolean
    • arrowHitTimer: Integer
    • hurtTime: Integer
    • maxHurtTime: Integer
    • swingProgressInt: Integer
    • attackedAtYaw: Number
    • deathTime: Integer
    • prevSwingProgress: Number
    • swingProgress: Number
    • prevLimbSwingAmount: Number
    • limbSwingAmount: Number
    • limbSwing: Number
    • maxHurtResistantTime: Integer
    • prevCameraPitch: Number
    • cameraPitch: Number
    • renderYawOffset: Number
    • prevRenderYawOffset: Number
    • rotationYawHead: Number
    • prevRotationYawHead: Number
    • jumpMovementFactor: Number
    • recentlyHit: Integer
    • dead: Boolean
    • entityAge: Integer
    • onGroundSpeedFactor: Number
    • prevOnGroundSpeedFactor: Number
    • movedDistance: Number
    • prevMovedDistance: Number
    • scoreValue: Integer
    • movedDistance: Number
    • isJumping: Boolean
    • moveForward: Number
    • moveStrafing: Number
    • randomYawVelocity: Number
    • newPosRotationIncrements: Integer
    • newPosX: Number
    • newPosY: Number
    • newPosZ: Number
    • newRotationPitch: Number
    • newRotationYaw: Number
    • revengeTimer: Integer
    • lastAttackerTime: Integer
    • landMovementFactor: Number
    • jumpTicks: Integer
    • absorptionAmount: Number

    It has the following methods:

    • getPreviousEquipment() : ItemStackData[]
    • getAttackingPlayer() : PlayerData
    • getLastAttacker() : LivingEntityData
    • getEntityLivingToAttack() : LivingEntityData
    • setEntityLivingToAttack({entity: EntityRef}) : void
    • canBreatheUnderwater() : Boolean
    • isChild() : Boolean
    • canDropLoot() : Boolean
    • decreaseAirSupply({parInt1: Integer}) : Integer
    • isPlayer() : Boolean
    • getAITarget() : LivingEntityData
    • getRevengeTimer() : Integer
    • getLastAttackerTime() : Integer
    • getAge() : Integer
    • clearActivePotions() : void
    • isPotionActive({potionId: Integer}) : Boolean
    • isEntityUndead() : Boolean
    • removePotionEffectClient({potionId: Integer}) : void
    • removePotionEffect({potionId: Integer}) : void
    • heal({f: Number}) : void
    • getHealth() : Number
    • setHealth({health: Number}) : void
    • getHurtSound() : String
    • getDeathSound() : String
    • addRandomDrop() : void
    • isOnLadder() : Boolean
    • isEntityAlive() : Boolean
    • fall({f: Number, f1: Number}) : void
    • getFallSoundString({damageValue: Integer}) : String
    • performHurtAnimation() : void
    • getTotalArmorValue() : Integer
    • damageArmor({parFloat1: Number}) : void
    • getMaxHealth() : Number
    • getArrowCountInEntity() : Integer
    • setArrowCountInEntity({count: Integer}) : void
    • swingItem() : void
    • kill() : void
    • setSprinting({flag: Boolean}) : void
    • getSoundVolume() : Number
    • getSoundPitch() : Number
    • isMovementBlocked() : Boolean
    • getJumpUpwardsMotion() : Number
    • jump() : void
    • updateAITick() : void
    • handleJumpLava() : void
    • getAIMoveSpeed() : Number
    • setAIMoveSpeed({speedIn: Number}) : void
    • collideWithNearbyEntities() : void
    • setJumping({parFlag: Boolean}) : void
    • canBeCollidedWith() : Boolean
    • canBePushed() : Boolean
    • setBeenAttacked() : void
    • getRotationYawHead() : Number
    • setRotationYawHead({f: Number}) : void
    • getAbsorptionAmount() : Number
    • setAbsorptionAmount({amount: Number}) : void
    • markPotionsDirty() : void
    Last Updated: 10/1/2023, 5:14:30 AM
    - + diff --git a/plugindocs/globals/LocalPlayerData.html b/plugindocs/globals/LocalPlayerData.html index c0078b6..337c84e 100644 --- a/plugindocs/globals/LocalPlayerData.html +++ b/plugindocs/globals/LocalPlayerData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # LocalPlayerData

    Represents the local player.

    A LocalPlayerData usually has all of the properties of PlayerData, and:

    • lastReportedPosX: Number
    • lastReportedPosY: Number
    • lastReportedPosZ: Number
    • lastReportedYaw: Number
    • lastReportedPitch: Number
    • serverSneakState: Boolean
    • serverSprintState: Boolean
    • positionUpdateTicks: Integer
    • hasValidHealth: Boolean
    • clientBrand: String
    • sprintToggleTimer: Integer
    • sprintingTicksLeft: Integer
    • renderArmYaw: Number
    • renderArmPitch: Number
    • prevRenderArmYaw: Number
    • prevRenderArmPitch: Number
    • horseJumpPower: Number
    • horseJumpPowerCounter: Integer

    It has these methods:

    • mountEntity({entityIn: EntityRef}) : void
    • dropOneItem({dropAll: Boolean}) : EntityData
    • sendChatMessage({message: String}) : void
    • respawnPlayer() : void
    • closeScreen() : void
    • closeScreenAndDropStack() : void
    • setPlayerSPHealth({health: Number}) : void
    • isUser() : Boolean
    • sendHorseJump() : void
    • sendHorseInventory() : void
    • setClientBrand({brand: String}) : void
    • getClientBrand() : String
    • pushOutOfBlocks({x: Number, y: Number, z: Number}) : Boolean
    • isOpenBlockSpace(pos: BlockPos) : Boolean
    • setXPStats({currentXP: Number, maxXP: Integer, level: Integer}) : void
    • playSound({name: String, volume: Number, pitch: Number}) : void
    • isServerWorld() : Boolean
    • isRidingHorse() : Boolean
    • getHorseJumpPower() : Number
    • isCurrentViewEntity() : Boolean
    • isSpectator() : Boolean
    Last Updated: 10/1/2023, 5:14:30 AM
    - + diff --git a/plugindocs/globals/MapColor.html b/plugindocs/globals/MapColor.html index 9e67778..5f8d637 100644 --- a/plugindocs/globals/MapColor.html +++ b/plugindocs/globals/MapColor.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # MapColor

    Represents a map color.

    Has the following properties:

    • colorIndex : Integer
    • colorValue : Integer
    • rgb : Integer[]
    Last Updated: 9/3/2023, 10:35:29 AM
    - + diff --git a/plugindocs/globals/MaterialData.html b/plugindocs/globals/MaterialData.html index b38cf9b..953bfc5 100644 --- a/plugindocs/globals/MaterialData.html +++ b/plugindocs/globals/MaterialData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # MaterialData

    Represents a material.

    Has the following properties:

    • canBurn : Boolean
    • replaceable : Boolean
    • isTranslucent : Boolean
    • requiresNoTool : Boolean
    • mobilityFlag : Integer
    • isAdventureModeExempt : Boolean
    • materialMapColor : MapColor

    It has the following methods:

    • isLiquid() : Boolean
    • isSolid() : Boolean
    • isToolNotRequired() : Boolean
    • isReplaceable() : Boolean
    • isOpaque() : Boolean
    • getCanBurn() : Boolean
    • blocksLight() : Boolean
    • blocksMovement() : Boolean
    • setTranslucent() : [MaterialData](MaterialData.md)
    • setRequiresTool() : [MaterialData](MaterialData.md)
    • setBurning() : [MaterialData](MaterialData.md)
    • setReplaceable() : [MaterialData](MaterialData.md)
    • setNoPushMobility() : [MaterialData](MaterialData.md)
    • getMaterialMobility() : Integer
    • setImmovableMobility() : [MaterialData](MaterialData.md)
    • setAdventureModeExempt() : [MaterialData](MaterialData.md)
    Last Updated: 8/30/2023, 8:00:07 AM
    - + diff --git a/plugindocs/globals/NetworkData.html b/plugindocs/globals/NetworkData.html index f6210df..45a9626 100644 --- a/plugindocs/globals/NetworkData.html +++ b/plugindocs/globals/NetworkData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # NetworkData

    Represents the network handler. Has many built-in functions to easily send packets to the server..

    Properties:

    • doneLoadingTerrain: Boolean
    • currentServerMaxPlayers: Integer

    Methods:

    • sendPacketAnimation() : void
    • sendPacketEntityAction({entityId: Integer, action: String, auxData: Integer}) : void
      • action can be one of: START_SNEAKING, STOP_SNEAKING, STOP_SLEEPING, START_SPRINTING, STOP_SPRINTING, RIDING_JUMP or OPEN_INVENTORY
    • sendPacketInput({strafeSpeed: Number, forwardSpeed: Number, jumping: Boolean, sneaking: Boolean}) : void
    • sendPacketCloseWindow({windowId: Integer}) : void
    • sendPacketClickWindow({windowId: Integer, slotId: Integer, usedButton: Integer, mode: Integer, clickedItemRef: ItemStackRef?, actionNumber: Short}) : void
    • sendPacketConfirmTransaction({windowId: Integer, uid: Short, accepted: Boolean}) : void
    • sendPacketKeepAlive({key: Integer}) : void
    • sendPacketChatMessage({messageIn: String}) : void
    • sendPacketUseEntity({entityRef: EntityRef, hitVec: Vec3}) : void
    • sendPacketUseEntity({entityRef: EntityRef, action: String}) : void
      • action can be one of: INTERACT, ATTACK or INTERACT_AT
    • sendPacketUseEntity({entityId: Integer, hitVec: Vec3}) : void
    • sendPacketUseEntity({entityId: Integer, action: String}) : void
      • action can be one of: INTERACT, ATTACK or INTERACT_AT
    • sendPacketPlayer({isOnGround: Boolean}) : void
    • sendPacketPlayerPosition({posX: Number, posY: Number, posZ: Number, isOnGround: Boolean}) : void
    • sendPacketPlayerLook({playerYaw: Number, playerPitch: Number, isOnGround: Boolean}) : void
    • sendPacketPlayerPosLook({playerX: Number, playerY: Number, playerZ: Number, playerYaw: Number, playerPitch: Number, isOnGround: Boolean}) : void
    • sendPacketPlayerDigging({action: String, pos: BlockPos, facing: String}) : void
      • action can be one of: START_DESTROY_BLOCK, ABORT_DESTROY_BLOCK, STOP_DESTROY_BLOCK, DROP_ALL_ITEMS, DROP_ITEM or RELEASE_USE_ITEM
      • facing can be one of: UP, DOWN, NORTH, SOUTH, EAST or WEST
    • sendPacketPlayerBlockPlacement({stackRef: ItemStackRef}) : void
    • sendPacketPlayerBlockPlacement({posRef: BlockPosRef, placedBlockDirectionIn: Integer, stackRef: ItemStackRef, facingXIn: Number, facingYIn: Number, facingZIn: Number}) : void
    • sendPacketHeldItemChange({slotId: Integer}) : void
    • sendPacketCreativeInventoryAction({slotId: Integer, stackRef: ItemStackRef}) : void
    • sendPacketEnchantItem({windowId: Integer, button: Integer}) : void
    • sendPacketUpdateSign({pos: BlockPos, lines: String[]}) : void
    • sendPacketPlayerAbilities({capabilitiesRef: PlayerCapabilitiesRef}) : void
    • sendPacketTabComplete({msg: String}) : void
    • sendPacketTabComplete({msg: String, target: BlockPos}) : void
    • sendPacketClientSettings({lang: String, view: Integer, chatVisibility: String, enableColors: Boolean, modelPartFlags: Integer}) : void
      • chatVisibility can be one of: FULL, SYSTEM or HIDDEN
    • sendPacketClientStatus({status: String}) : void
      • status can be one of: PERFORM_RESPAWN, REQUEST_STATS or OPEN_INVENTORY_ACHIEVEMENT
    • sendPacketSpectate({uuid: String}) : void
    • sendPacketResourcePackStatus({hash: String, status: String}) : void
      • status can be one of: SUCCESSFULLY_LOADED, DECLINED, FAILED_DOWNLOAD or ACCEPTED
    Last Updated: 10/14/2023, 5:49:00 AM
    - + diff --git a/plugindocs/globals/PlayerCapabilities.html b/plugindocs/globals/PlayerCapabilities.html index 4c6456a..7b9e841 100644 --- a/plugindocs/globals/PlayerCapabilities.html +++ b/plugindocs/globals/PlayerCapabilities.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # PlayerCapabilities

    Represents a player's capabilities.

    Has the following properties:

    • disableDamage: Boolean
    • isFlying: Boolean
    • allowFlying: Boolean
    • isCreativeMode: Boolean
    • allowEdit: Boolean
    • flySpeed: Number
    • walkSpeed: Number

    It has the following methods:

    • getFlySpeed() : Number
    • getWalkSpeed() : Number
    • setFlySpeed({speed: Number}) : void
    • setPlayerWalkSpeed({speed: Number}) : void
    Last Updated: 9/10/2023, 9:56:35 AM
    - + diff --git a/plugindocs/globals/PlayerData.html b/plugindocs/globals/PlayerData.html index 657a7f3..b5ab9d4 100644 --- a/plugindocs/globals/PlayerData.html +++ b/plugindocs/globals/PlayerData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # PlayerData

    Represents a player.

    A PlayerData usually has all of the properties of LivingEntityData, and:

    • cameraYaw: Number: Equal to the player's cameraYaw.
    • chasingPosX: Number: Equal to the player's chasingPosX.
    • chasingPosY: Number: Equal to the player's chasingPosY.
    • chasingPosZ: Number: Equal to the player's chasingPosZ.
    • experience: Number: The player's experience number.
    • experienceLevel: Integer: The player's experience level.
    • experienceTotal: Integer: The player's experience total.
    • fishEntity: FishHookData: The player's fishing bobber / hook. (If existing)
    • flyToggleTimer: Integer: Equal to the player's flyToggleTimer.
    • hasReducedDebug: Boolean: Equal to the player's hasReducedDebug.
    • itemInUseCount: Integer: The count of the item that the player is currenly using. (Read-only)
    • itemInUse: ItemStackData: The itemstack the player is using. (If existing)
    • lastXPSound: Integer: Equal to the player's lastXPSound.
    • sleepTimer: Integer: Equal to the player's sleepTimer.
    • sleeping: Boolean: Whether or not the player is sleeping.
    • spawnForced: Boolean: Equal to the player's spawnForced.
    • speedInAir: Number: Equal to the player's speedInAir.
    • speedOnGround: Number: Equal to the player's speedOnGround.
    • xpCooldown: Integer: Equal to the player's xpCooldown.
    • xpSeed: Integer: Equal to the player's xpSeed.
    • inventoryContainer: ContainerData: Equal to the player's inventoryContainer.
    • openContainer: ContainerData: Equal to the player's openContainer.
    • inventory: InventoryPlayerData: Equals to the player's inventory.
    • capabilities: PlayerCapabilities: Equals to the player's capabilities.

    Todo: methods.

    Last Updated: 9/10/2023, 9:56:35 AM
    - + diff --git a/plugindocs/globals/RemotePlayerData.html b/plugindocs/globals/RemotePlayerData.html index 8ece245..b6007e4 100644 --- a/plugindocs/globals/RemotePlayerData.html +++ b/plugindocs/globals/RemotePlayerData.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # RemotePlayerData

    Represents a remote player.

    A RemotePlayerData usually has all of the properties of PlayerData, and:

    • otherPlayerMPPosRotationIncrements: Integer
    • otherPlayerMPX: Number
    • otherPlayerMPY: Number
    • otherPlayerMPZ: Number
    • otherPlayerMPYaw: Number
    • otherPlayerMPPitch: Number

    It has these methods:

    • setCurrentItemOrArmor({slotIn: Integer, itemStack: ItemStackRef}) : void
    • isSpectator() : Boolean
    Last Updated: 10/1/2023, 5:14:30 AM
    - + diff --git a/plugindocs/globals/Vec3.html b/plugindocs/globals/Vec3.html index 59421ff..2ba5478 100644 --- a/plugindocs/globals/Vec3.html +++ b/plugindocs/globals/Vec3.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # Vec3

    Used to represent a point in 3d space.

    # Constructor:

    PluginAPI.contructors.Vec3({x: Number, y: Number, z: Number})

    Has the following properties:

    • x: Number: equal to the vector's xCoord
    • y: Number: equal to the vector's yCoord
    • z: Number: equal to the vector's zCoord

    It has the following methods:

    • subtractReverse(Vec3 vec) : void
    • normalize() : Vec3
    • dotProduct(Vec3 vec) : number
    • crossProduct(Vec3 vec) : Vec3
    • subtract({x: number, y: number, z: number}) : Vec3
    • addVector({x: number, y: number, z: number}) : Vec3
    • addVector(Vec3 vec) : Vec3
    • distanceTo(Vec3 vec) : number
    • squareDistanceTo(Vec3 vec) : number
    • lengthVector() : number
    • getIntermediateWithXValue({vec: Vec3, x: number}) : Vec3
    • getIntermediateWithYValue({vec: Vec3, y: number}) : Vec3
    • getIntermediateWithZValue({vec: Vec3, z: number}) : Vec3
    • toString() : string
    • rotatePitch({pitch: number}) : Vec3
    • rotateYaw({yaw: number}) : Vec3
    Last Updated: 9/10/2023, 9:56:35 AM
    - + diff --git a/plugindocs/globals/Vec3i.html b/plugindocs/globals/Vec3i.html index 1e26ede..2d26fc4 100644 --- a/plugindocs/globals/Vec3i.html +++ b/plugindocs/globals/Vec3i.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # Vec3i

    Represents a 3d integer point in 3d space.

    # Constructor:

    PluginAPI.contructors.Vec3i({x: Integer, y: Integer, z: Integer})

    Has the following properties:

    • x : Integer
    • y : Integer
    • z : Integer

    Has the following methods:

    • hashCode() : Integer
    • compareTo({x: Integer, y: Integer, z: Integer}) : Integer
    • getX() : Integer
    • getY() : Integer
    • getZ() : Integer
    • crossProduct({x: Integer, y: Integer, z: Integer}) : Vec3i
    • distanceSq({x: Integer, y: Integer, z: Integer}) : Number
    • distanceSqToCenter({x: Number, y: Number, z: Number}) : Number
    • toString() : String
    Last Updated: 9/10/2023, 9:56:35 AM
    - + diff --git a/plugindocs/globals/Vec4b.html b/plugindocs/globals/Vec4b.html index 739f47e..a057aa3 100644 --- a/plugindocs/globals/Vec4b.html +++ b/plugindocs/globals/Vec4b.html @@ -11,7 +11,7 @@ - + @@ -27,11 +27,11 @@ Plugin Docs GitHub - (opens new window)

    # Vec4b

    Represents a 4 dimensional byte.

    # Constructor:

    PluginAPI.contructors.Vec4b({a: Byte, b: Byte, c: Byte, d: Byte})

    Has the following properties:

    • a : Byte
    • b : Byte
    • c : Byte
    • d : Byte
    Last Updated: 9/20/2023, 7:54:45 AM
    - + diff --git a/plugindocs/globals/require.html b/plugindocs/globals/require.html index c192c62..f8392e8 100644 --- a/plugindocs/globals/require.html +++ b/plugindocs/globals/require.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # PluginAPI.require(String componentName)

    This method is used to tell PluginAPI that a global needs to be generated.

    # Arguments:

    # (String) componentName

    This argument is used to get which global object needs generating:

    It is always equal to the identifier of the global. ie: PluginAPI.player's identifier is player.

    Last Updated: 8/30/2023, 8:00:07 AM
    - + diff --git a/plugindocs/globals/updateComponent.html b/plugindocs/globals/updateComponent.html index 641fc03..cdb0f79 100644 --- a/plugindocs/globals/updateComponent.html +++ b/plugindocs/globals/updateComponent.html @@ -11,7 +11,7 @@ - + @@ -27,7 +27,7 @@ Plugin Docs GitHub - (opens new window)

    # PluginAPI.updateComponent(String componentName) [DEPRECATED]

    This method is used to tell PluginAPI that a global needs to be reloaded. + (opens new window)

    # PluginAPI.updateComponent(String componentName) [DEPRECATED]

    This method is used to tell PluginAPI that a global needs to be reloaded. It is deprecated and should no longer be used. Instead, call reload() on the object that needs updating.

    # Arguments:

    # (String) componentName

    This argument is used to get which global object needs reloading:

    It is always equal to the identifier of the global. ie: PluginAPI.player's identifier is player.

    Last Updated: 9/10/2023, 10:01:16 AM
    - + diff --git a/plugindocs/index.html b/plugindocs/index.html index 45026b9..888e70f 100644 --- a/plugindocs/index.html +++ b/plugindocs/index.html @@ -11,7 +11,7 @@ - + @@ -27,14 +27,14 @@ Plugin Docs GitHub - (opens new window)

    # Plugin API

    The Plugin API consists of a global JavaScript object on the window, called, very simply, PluginAPI.

    It has the following properties:

    • player: LocalPlayerData
    • network: NetworkData
    • items: ItemData{}
      • A ItemData dictionary of all item types, and block-item types. [Auto]
    • blocks: BlockData{}
      • A BlockData dictionary of all block types. [Auto]
    • materials: MaterialData{}
      • A MaterialData dictionary of all the block materials. [Auto]
    • enchantments: EnchantmentData{}
    • constructors: Object
      • A object containing constructors to make some Java objects from within JavaScript. [Auto]
    • javaClient: Object
      • This is the Minecraft instance exposed to JavaScript. It has no wrapping, and so many properties will be illegible. To use it, I would recommend editing the build.gradle in the worspace to set minifying: false; [Auto]
    • version: String
      • The version of the Plugin API (If not accessible, you can check the PluginAPI version in the f3 menu)
    • clientBrand: String
      • The brand of the Eaglercraft client, taken from ClientBrandRetriever.java

    It has the following methods:

    • addEventListener(eventName: String, callback: Function) : void
    • require(componentName: String)
    • updateComponent(componentName: String)
      • [Deprecated, use reload() instead]
      • Documentation here
    • displayToChat({msg: String})
      • Displays client-side message to user's ingame chat gui.
    • clickMouse()
      • Triggers a left click ingame.
    • rightClickMouse()
      • Triggers a right click ingame.

    # Passing 'Ref' objects

    Eg: setCurrentItemOrArmor({slotIn: Integer, itemStack: ItemStackRef}) : void + (opens new window)

    # Plugin API

    The Plugin API consists of a global JavaScript object on the window, called, very simply, PluginAPI.

    It has the following properties:

    • player: LocalPlayerData
      • A LocalPlayerData made from EntityPlayerSP. Regenerated every time the update event is called.
    • network: NetworkData
      • A NetworkData made from NetHandlerPlayClient. Regenerated every time the update event is called.
    • settings: GameSettingsData
      • A GameSettingsData made from GameSettings. Regenerated every time the update event is called.
    • items: ItemData{}
      • A ItemData dictionary of all item types, and block-item types. [Auto]
    • blocks: BlockData{}
      • A BlockData dictionary of all block types. [Auto]
    • materials: MaterialData{}
      • A MaterialData dictionary of all the block materials. [Auto]
    • enchantments: EnchantmentData{}
    • constructors: Object
      • A object containing constructors to make some Java objects from within JavaScript. [Auto]
    • javaClient: Object
      • This is the Minecraft instance exposed to JavaScript. It has no wrapping, and so many properties will be illegible. To use it, I would recommend editing the build.gradle in the worspace to set minifying: false; [Auto]
    • version: String
      • The version of the Plugin API (If not accessible, you can check the PluginAPI version in the f3 menu)
    • clientBrand: String
      • The brand of the Eaglercraft client, taken from ClientBrandRetriever.java

    It has the following methods:

    • addEventListener(eventName: String, callback: Function) : void
    • require(componentName: String)
    • updateComponent(componentName: String)
      • [Deprecated, use reload() instead]
      • Documentation here
    • displayToChat({msg: String})
      • Displays client-side message to user's ingame chat gui.
    • clickMouse()
      • Triggers a left click ingame.
    • rightClickMouse()
      • Triggers a right click ingame.
    • update()
      • Force triggers a Plugin API update. Note that while the update event fires, not all objects are necessarily generated. Eg: Calling update() while not ingame will not generate PluginAPI.player or PluginAPI.network

    # Passing 'Ref' objects

    Eg: setCurrentItemOrArmor({slotIn: Integer, itemStack: ItemStackRef}) : void This method's itemStack parameter uses an 'ItemStackRef'. 'Refs' are short for 'references', as they are the root reference to a java object, not just a data wrapper. You can get a ref from a Data by using getRef(), as specified here.

    # Using non-auto properties

    In order to use non-auto properties like PluginAPI.player or PluginAPI.network, they must be required

    # Triggering data updates (reload())

    To trigger the game to read your updated values, call the reload() method on the object.

    Eg:

    PluginAPI.player.motionY += 1;
     PluginAPI.player.reload();
    -

    Frequent calls to reload() may cause lag, so try to limit them.

    Last Updated: 10/3/2023, 4:26:05 AM

    Frequent calls to reload() may cause lag, so try to limit them.

    Last Updated: 10/15/2023, 4:35:42 AM
    - +