{"repo":"SkytAsul/GuardianBeam","free":true,"listed":false,"github":"https://github.com/SkytAsul/GuardianBeam","clone":"git clone https://github.com/SkytAsul/GuardianBeam.git","description":"An util to create easily Guardian Lasers via Packets and Reflection. No dependencies, compatible 1.9 -> 26.1","language":"Java","stars":112,"topics":["minecraft","bukkit","spigot","laser","beam","guardian","class","util","packet","reflection"],"license":"MIT","category":"game-templates","readme_excerpt":"GuardianBeam An util to create easily Guardians and Ender Crystal Lasers via Packets and Reflection. No ProtocolLib, no dependency, compatible from Minecraft 1.9 to Minecraft 26.1! Inspired by the plugin GuardianBeamAPI by Jaxon A Brown, which uses ProtocolLib. There is a page on SpigotMC. How to install using maven Add this requirement to your maven pom.xml file: You need to set up the maven shade plugin to relocate the classes. [!IMPORTANT] Replace {VERSION} by the version of the util you want to use (see at the top). Versions 1.9 to 1.16.5 are only supported up to the version 2.3.6. How to use 1. Create Location objects of where do you want your laser starts and ends. 2. Create a Laser instance: new GuardianLaser(locationStart, locationEnd, duration, visibleDistance) - duration is the time (in seconds) when laser will be visible (if you set it to -1, the laser will exist infinitely), and visibleDistance is the amount of blocks where your laser will be visible. You can also use new CrystalLaser(...) to create an Ender Crystal laser. 3. After this, call the method laser.start(plugin); (where \"plugin\" parameter is the instance of your JavaPlugin class). 4. Ta-daaa! Your laser is created and shown to nearby players! 5. You can move the laser with the methods laser.moveStart(newLocation); and laser.moveEnd(newLocation); 6. To remove your laser before his end duration, just call laser.stop(); Demo Here is something I quickly made to show what you can do with this API: a ray-gun.","default_branch":null,"files":null,"tree":[],"storefront":"/r/SkytAsul","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SkytAsul/GuardianBeam/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}