mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-19 07:27:54 +01:00
1 line
7.6 KiB
JavaScript
1 line
7.6 KiB
JavaScript
"use strict";(self.webpackChunkadvanced_portals_docs=self.webpackChunkadvanced_portals_docs||[]).push([[671],{3905:function(e,t,n){n.d(t,{Zo:function(){return s},kt:function(){return m}});var r=n(7294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var p=r.createContext({}),c=function(e){var t=r.useContext(p),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},s=function(e){var t=c(e.components);return r.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),d=c(n),m=o,f=d["".concat(p,".").concat(m)]||d[m]||u[m]||a;return n?r.createElement(f,i(i({ref:t},s),{},{components:n})):r.createElement(f,i({ref:t},s))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,i=new Array(a);i[0]=d;var l={};for(var p in t)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeof e?e:o,i[1]=l;for(var c=2;c<a;c++)i[c]=n[c];return r.createElement.apply(null,i)}return r.createElement.apply(null,n)}d.displayName="MDXCreateElement"},9881:function(e,t,n){n.r(t),n.d(t,{frontMatter:function(){return l},contentTitle:function(){return p},metadata:function(){return c},toc:function(){return s},default:function(){return d}});var r=n(7462),o=n(3366),a=(n(7294),n(3905)),i=["components"],l={sidebar_position:1,description:"Quick introduction to Advanced Portals."},p="Tutorial Intro",c={unversionedId:"intro",id:"intro",title:"Tutorial Intro",description:"Quick introduction to Advanced Portals.",source:"@site/docs/intro.md",sourceDirName:".",slug:"/intro",permalink:"/docs/intro",editUrl:"https://github.com/sekwah41/Advanced-Portals/edit/website/docs/intro.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,description:"Quick introduction to Advanced Portals."},sidebar:"tutorialSidebar",next:{title:"Commands",permalink:"/docs/commands"}},s=[],u={toc:s};function d(e){var t=e.components,n=(0,o.Z)(e,i);return(0,a.kt)("wrapper",(0,r.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",{id:"tutorial-intro"},"Tutorial Intro"),(0,a.kt)("div",{className:"admonition admonition-warning alert alert--danger"},(0,a.kt)("div",{parentName:"div",className:"admonition-heading"},(0,a.kt)("h5",{parentName:"div"},(0,a.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,a.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"12",height:"16",viewBox:"0 0 12 16"},(0,a.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M5.05.31c.81 2.17.41 3.38-.52 4.31C3.55 5.67 1.98 6.45.9 7.98c-1.45 2.05-1.7 6.53 3.53 7.7-2.2-1.16-2.67-4.52-.3-6.61-.61 2.03.53 3.33 1.94 2.86 1.39-.47 2.3.53 2.27 1.67-.02.78-.31 1.44-1.13 1.81 3.42-.59 4.78-3.42 4.78-5.56 0-2.84-2.53-3.22-1.25-5.61-1.52.13-2.03 1.13-1.89 2.75.09 1.08-1.02 1.8-1.86 1.33-.67-.41-.66-1.19-.06-1.78C8.18 5.31 8.68 2.45 5.05.32L5.03.3l.02.01z"}))),"warning")),(0,a.kt)("div",{parentName:"div",className:"admonition-content"},(0,a.kt)("p",{parentName:"div"},(0,a.kt)("strong",{parentName:"p"},"V2.0.0+ / recode info")),(0,a.kt)("p",{parentName:"div"},"The current documentation is related to versions below 2.0.0. While most should apply to the latest version, some features may have changed or be missing.\nThe documentation will be updated soon."),(0,a.kt)("p",{parentName:"div"},"You can use the ",(0,a.kt)("inlineCode",{parentName:"p"},"/portals convert")," command to port your portals to the latest version. Do not worry. The original data will not be deleted, and you can revert to older versions if you run into problems."))),(0,a.kt)("p",null,"Here is a YouTube video made by ",(0,a.kt)("a",{parentName:"p",href:"https://www.youtube.com/channel/UCZvGH5UFnZGHL7t11RLhg2w"},"LtJim007")," explaining the basics."),(0,a.kt)("iframe",{width:"560",height:"315",src:"https://www.youtube-nocookie.com/embed/nkOeMUkYz3Y",title:"YouTube video player",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:!0}),(0,a.kt)("p",null,"In summary: you can create destinations for your portals with ",(0,a.kt)("inlineCode",{parentName:"p"},"/desti"),", and create portals to them with ",(0,a.kt)("inlineCode",{parentName:"p"},"/portal create (tags...)"),". You will need to provide a ",(0,a.kt)("em",{parentName:"p"},"trigger element")," for your portals, for example water / lava / nether swirls, and replace the inside of your portal with it for the portal to function."),(0,a.kt)("p",null,"Here's a step by step guide."),(0,a.kt)("ol",null,(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Create your fancy portal in a standard Minecraft fashion. Leave the portion where the portal itself will be empty.")),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Go to the location you want your portal to transport players to. Run ",(0,a.kt)("inlineCode",{parentName:"p"},"/desti create name-of-destination"),".")),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Go back to your portal. Take an iron axe (the special portal tool, by default: configurable). Left-click in the upper left of the portal, and right-click in the bottom right of the portal.")),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Run ",(0,a.kt)("inlineCode",{parentName:"p"},"/portal create name:name-of-your-portal desti:name-of-destination triggerblock:name-of-trigger-element"),". This is a basic example - more options can be found on the ",(0,a.kt)("a",{parentName:"p",href:"/docs/portal-tags"},"tags page"),".")),(0,a.kt)("li",{parentName:"ol"},(0,a.kt)("p",{parentName:"li"},"Replace the empty air in your portal with your trigger element by running ",(0,a.kt)("inlineCode",{parentName:"p"},"/fill bottom-right-coords upper-right-coords trigger-element"),". The coordinates should have shown up in chat when you left-and-right-clicked with the iron axe."))),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},"If your portal isn't rectangular: try ",(0,a.kt)("inlineCode",{parentName:"li"},"/fill"),"ing the area with glass or another block, breaking the glass in the shape of the portal, and then ",(0,a.kt)("inlineCode",{parentName:"li"},"/fill")," the area again with your transportation trigger block. Then break the remaining glass.")),(0,a.kt)("p",null,"If you mess up, you can run ",(0,a.kt)("inlineCode",{parentName:"p"},"/desti remove name-of-destination")," and ",(0,a.kt)("inlineCode",{parentName:"p"},"/portal remove name-of-portal")," to remove a destination and a portal, respectively."))}d.isMDXComponent=!0}}]); |