Uses of Class
me.xxastaspastaxx.dimensions.completePortal.CompletePortal
Package
Description
-
Uses of CompletePortal in me.xxastaspastaxx.dimensions.addons
Modifier and TypeMethodDescriptionstatic Object
DimensionsAddon.getOption(CompletePortal complete, String key)
Get the option for the portal.static void
DimensionsAddon.setOption(CompletePortal complete, String key, Object value)
Store an Object with a String key for this specific portal -
Uses of CompletePortal in me.xxastaspastaxx.dimensions.completePortal
Modifier and TypeMethodDescriptionCompletePortalManager.createNew(CompletePortal completePortal, org.bukkit.entity.Entity igniter, CustomPortalIgniteCause cause, org.bukkit.inventory.ItemStack item)
Register a new CompletePortalCompletePortalManager.getCompletePortal(org.bukkit.Location location, boolean outside, boolean corner)
Get the complete portal that matches the location givenCompletePortal.getDestinationPortal(boolean buildNewPortal, org.bukkit.Location overrideLocation, org.bukkit.World overrideWorld)
Get the destination portal to useCompletePortal.getLinkedPortal()
Get the portal that is linked withCompletePortalManager.getNearestPortal(org.bukkit.Location teleportLocation, CompletePortal sample, double ratio, boolean sameAxis, boolean sameSize)
Get the nearest portalCompletePortalManager.getNearestPortal(org.bukkit.Location teleportLocation, CompletePortal sample, double ratio, boolean sameAxis, boolean sameSize, Predicate<CompletePortal> predicate)
Get the nearest portalModifier and TypeMethodDescriptionCompletePortalManager.getCompletePortals()
Get all the complete portals that have been builtCompletePortalManager.getCompletePortals(CustomPortal customPortal)
Get the complete portals that are specific CustomPortalCompletePortalManager.getCompletePortals(CustomPortal customPortal, org.bukkit.World world)
Get the complete portals in the given world that are specific CustomPortalCompletePortalManager.getCompletePortals(org.bukkit.Location location, boolean outside, boolean corner)
Get the complete portals that match the location givenCompletePortalManager.getCompletePortals(org.bukkit.World world)
Get the complete portals in the given worldCompletePortalManager.getCompletePortals(org.bukkit.World world, int x, int z)
Get the complete portals in the given world in the specific chunkCompletePortalManager.getNearestPortals(org.bukkit.Location loc, int searchRadius)
Get the nearest portals inside a radiusCompletePortalManager.getNearestPortals(org.bukkit.Location loc, int searchRadius, CustomPortal customPortal)
Get the nearest portals inside a radius that are specific CustomPortalModifier and TypeMethodDescriptionCompletePortalManager.createNew(CompletePortal completePortal, org.bukkit.entity.Entity igniter, CustomPortalIgniteCause cause, org.bukkit.inventory.ItemStack item)
Register a new CompletePortalCompletePortalManager.getNearestPortal(org.bukkit.Location teleportLocation, CompletePortal sample, double ratio, boolean sameAxis, boolean sameSize)
Get the nearest portalCompletePortalManager.getNearestPortal(org.bukkit.Location teleportLocation, CompletePortal sample, double ratio, boolean sameAxis, boolean sameSize, Predicate<CompletePortal> predicate)
Get the nearest portalboolean
CompletePortalManager.removePortal(CompletePortal completePortal, CustomPortalDestroyCause cause, org.bukkit.entity.Entity destroyer)
Unregister the complete portalvoid
CompletePortal.setLinkedPortal(CompletePortal complete)
Link to a portalModifier and TypeMethodDescriptionCompletePortalManager.getNearestPortal(org.bukkit.Location teleportLocation, CompletePortal sample, double ratio, boolean sameAxis, boolean sameSize, Predicate<CompletePortal> predicate)
Get the nearest portalvoid
CompletePortalLoader.save(List<CompletePortal> portals)
Save all portals inside the .json fileModifierConstructorDescriptionCompletePortal(CustomPortal customPortal, org.bukkit.World world, PortalGeometry portalGeometry, CompletePortal linked)
Construct the CompletePortal If portalGeometry is not null, create PortalEntities If linked is not null, links the portals -
Uses of CompletePortal in me.xxastaspastaxx.dimensions.customportal
Modifier and TypeMethodDescriptionCustomPortal.tryIgnite(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item, org.bukkit.Location loc)
Check if there is a portal structure at the location and ignite it -
Uses of CompletePortal in me.xxastaspastaxx.dimensions.events
Modifier and TypeMethodDescriptionCustomPortalBreakEvent.getCompletePortal()
Get the portal breakingCustomPortalIgniteEvent.getCompletePortal()
Get the portal being ignitedCustomPortalUseEvent.getCompletePortal()
Get the portal being usedCustomPortalUseEvent.getDestinationPortal()
Get the destination portalModifier and TypeMethodDescriptionvoid
CustomPortalIgniteEvent.replaceCompletePortal(CompletePortal newPortal)
Replace the portal being ignited with a new portal instancevoid
CustomPortalUseEvent.setDestinationPortal(CompletePortal destinationPortal)
Override the destination portalModifierConstructorDescriptionCustomPortalBreakEvent(CompletePortal completePortal, CustomPortalDestroyCause cause, org.bukkit.entity.Entity destroyer)
Constructor of the eventCustomPortalIgniteEvent(CompletePortal completePortal, CustomPortalIgniteCause cause, org.bukkit.entity.Entity entity, org.bukkit.inventory.ItemStack item)
Constructor of the eventCustomPortalUseEvent(CompletePortal completePortal, org.bukkit.entity.Entity entity, CompletePortal destinationPortal)
The constructor of the event