Uses of Class
me.xxastaspastaxx.dimensions.customportal.CustomPortal
Package
Description
-
Uses of CustomPortal in me.xxastaspastaxx.dimensions.addons
Modifier and TypeMethodDescriptionstatic Object
DimensionsAddon.getOption(CustomPortal portal, String key)
Get the option for the type of the portal for the given keyvoid
DimensionsAddon.registerPortal(org.bukkit.configuration.file.YamlConfiguration portalConfig, CustomPortal portal)
This function provides the portal config file for each portal that is being loaded and addons can get data from it.static void
DimensionsAddon.setOption(CustomPortal portal, String key, Object value)
Store an Object with a String key for all portals that are the given CustomPortal -
Uses of CustomPortal in me.xxastaspastaxx.dimensions.completePortal
Modifier and TypeMethodDescriptionvoid
PortalGeometry.buildPortal(org.bukkit.Location newLocation, org.bukkit.World destinationWorld, CustomPortal customPortal)
Build a portalCompletePortalManager.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.getNearestPortals(org.bukkit.Location loc, int searchRadius, CustomPortal customPortal)
Get the nearest portals inside a radius that are specific CustomPortalPortalGeometry.getPortal(CustomPortal customPortal, org.bukkit.Location loc)
Check if there is a portal structure at the locationstatic PortalGeometry
PortalGeometry.getPortalGeometry(CustomPortal portal)
Get the PortalGeometry instance for the portalstatic void
PortalGeometry.setCustomGeometry(CustomPortal portal, PortalGeometry geom)
Override the instance of the PortalGeometryModifierConstructorDescriptionCompletePortal(CustomPortal customPortal, org.bukkit.World world, PortalGeometry portalGeometry)
Construct the CompletePortal If portalGeometry is not null, create PortalEntitiesCompletePortal(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 CustomPortal in me.xxastaspastaxx.dimensions.customportal
Modifier and TypeMethodDescriptionCustomPortalManager.getCustomPortal(String name)
Get a custom portal by nameModifier and TypeMethodDescriptionCustomPortalManager.getCustomPortals()
Get all the custom portals registeredCustomPortalLoader.loadAll()
Load all the custom portals