Now you can use a Portal Gun to travel around various places in your Minecraft world!
Based off of the Bukkit reqest forum post made by user Shikishima.
Click to open up demo GIF in high quality
<iframe src='https://gfycat.com/ifr/GiantSmallHousefly' frameborder='0' scrolling='no' allowfullscreen width='640' height='395' align='center'></iframe>
The actual Portal Gun item is a Nether Star with the destination coordinates displayed below the name. To make one, either issue the command /portalgun
as an operator, or craft it with:
For a Portal Gun to work, it will use up 1 Ender Pearl from the inventory of the player who opened up the portal.
Right click anywhere with the Portal Gun in your hand to open the Anvil GUI. Type in the world, x, y, and z coordinates here. The format looks like this:
world=world_name,x=1,y=1,z=1
Click the completed item to set the destination of your Portal Gun.
Once you have set the destination of your Portal Gun, left click anywhere to open up a portal! The portal will immediately appear as green "Happy Villager" particles.
Unlike Nether Portals or End Portals, the Portal Gun openings only last for five seconds. Hurry up and jump through, before it closes, to instantly be teleported to the destination programmed into your Portal Gun!
Store as many Portal Guns as you want in your inventory. Each one will stay linked to its destination forever, so you can grab whichever you need for the adventure at end!
.
βββ LICENSE -- License for this repository.
βββ makefile -- Makefile which uses simple bash commands to compile and build the JAR without an IDE.
βββ README.md -- The file you are currently reading.
βββ build -- Build directory generated by the makefile, can be deleted at any time.
βΒ Β βββ bin
βΒ Β βΒ Β βββ me
βΒ Β βΒ Β βΒ Β βββ insanj
βΒ Β βΒ Β βΒ Β βββ portal
βΒ Β βΒ Β βΒ Β βββ *.class
βΒ Β βΒ Β βββ plugin.yml
βΒ Β βββ portal-version.jar
βββ external -- External dependancies directory. You have to download these open source JARs and place them here; or change the PATH in the makefile.
βΒ Β βββ craftbukkit-1.13.2.jar
βββ plugin -- Source code directory, structured as a standard Java package.
βΒ Β βββ me
βΒ Β βΒ Β βββ insanj
βΒ Β βΒ Β βββ anvilgui -- Source of GUI, https://github.com/WesJD/AnvilGUI
βΒ Β βΒ Β βββ portal
βΒ Β βΒ Β βββ Portal.java
βΒ Β βΒ Β βββ PortalGunClickListener.java
βΒ Β βΒ Β βββ PortalPlayerMoveListener.java
βΒ Β βΒ Β βββ PortalCommandExecutor.java
βΒ Β βΒ Β βββ PortalGun.java
βΒ Β βββ plugin.yml -- Configuration file which also defines current version number (see git tag as well).
βββ server -- Optional directory for testing out the plugin on a local server.
Julian Weiss
me@insanj.com
github.com/insanj
- PortalGun
- AnvilGUI
- Sign GUI
- Renaming an Anvil Inventory
- Colored Particles
- Helix Spiral
- Location Iterator (Drawing a Line)
MIT License
Copyright (c) 2019 Julian Weiss
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2016 Wesley Smith
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.