Uses of Interface
org.sgrewritten.stargate.api.network.portal.RealPortal
Packages that use RealPortal
Package
Description
-
Uses of RealPortal in org.sgrewritten.stargate.api
Methods in org.sgrewritten.stargate.api with parameters of type RealPortalModifier and TypeMethodDescriptionvoidBlockHandlerResolver.registerRemoval(RegistryAPI registry, org.bukkit.Location location, RealPortal portal) Method parameters in org.sgrewritten.stargate.api with type arguments of type RealPortalModifier and TypeMethodDescriptionvoidBlockHandlerResolver.registerPlacement(@NotNull RegistryAPI registry, @NotNull org.bukkit.Location location, @NotNull List<RealPortal> portals, @NotNull org.bukkit.Material material, org.bukkit.OfflinePlayer player) -
Uses of RealPortal in org.sgrewritten.stargate.api.database
Methods in org.sgrewritten.stargate.api.database with parameters of type RealPortalModifier and TypeMethodDescriptionvoidStorageAPI.addPortalPosition(RealPortal portal, StorageType portalType, PortalPosition portalPosition) Add a portalPosition to a portal in the databasevoidStorageAPI.removePortalPosition(RealPortal portal, StorageType portalType, PortalPosition portalPosition) Remove a portalPosition to a portal in the databasebooleanStorageAPI.savePortalToStorage(RealPortal portal) Saves the given portal to storagevoidStorageAPI.setPortalPositionMetaData(RealPortal portal, PortalPosition portalPosition, String data, StorageType portalType) Set misc data of a portal position -
Uses of RealPortal in org.sgrewritten.stargate.api.event.portal
Constructors in org.sgrewritten.stargate.api.event.portal with parameters of type RealPortalModifierConstructorDescriptionStargateSignFormatPortalEvent(@NotNull RealPortal portal, SignLine[] signLines, PortalPosition portalPosition, org.bukkit.Location location) -
Uses of RealPortal in org.sgrewritten.stargate.api.gate
Methods in org.sgrewritten.stargate.api.gate that return RealPortalModifier and TypeMethodDescriptionGateAPI.getPortal()Get the portal assigned to this portal positionMethods in org.sgrewritten.stargate.api.gate with parameters of type RealPortalModifier and TypeMethodDescriptionvoidGateAPI.assignPortal(RealPortal realPortal) Assign a real portal to this gate -
Uses of RealPortal in org.sgrewritten.stargate.api.network
Methods in org.sgrewritten.stargate.api.network that return RealPortalModifier and TypeMethodDescriptionPortalBuilder.build()Build an instance of a portalRegistryAPI.getPortal(org.bukkit.Location location) Get the portal at the given locationRegistryAPI.getPortal(org.bukkit.Location location, GateStructureType structureType) Gets the portal with the given structure type at the given locationRegistryAPI.getPortal(org.bukkit.Location location, GateStructureType[] structureTypes) Gets the portal with any of the given structure types at the given locationRegistryAPI.getPortal(BlockLocation blockLocation, GateStructureType structureType) Get the portal with the given structure type at the given locationRegistryAPI.getPortal(BlockLocation blockLocation, GateStructureType[] structureTypes) Get the portal with any of the given structure types at the given locationMethods in org.sgrewritten.stargate.api.network that return types with arguments of type RealPortalModifier and TypeMethodDescriptionRegistryAPI.getPortalsFromTouchingBlock(org.bukkit.Location location, GateStructureType structureType) Get portal from block next to portal, will randomly choose one portal if block is next to two portals@NotNull Set<RealPortal> RegistryAPI.getPortalsInChunk(StargateChunk chunk) Get all the portals in a chunkMethods in org.sgrewritten.stargate.api.network with parameters of type RealPortalModifier and TypeMethodDescriptionvoidNetworkManager.destroyPortal(RealPortal portal) Saves to databasevoidRegistryAPI.registerLocation(GateStructureType structureType, BlockLocation location, RealPortal portal) Registers a location with attached portal and structure type to this registryvoidRegistryAPI.registerPortal(RealPortal portal) Register a portal to this registryvoidRegistryAPI.registerPortalPosition(PortalPosition portalPosition, org.bukkit.Location location, RealPortal portal) Register given portal position to registry.voidNetworkManager.savePortal(RealPortal portal, Network network) Add portal to network and save to storageRegistryAPI.savePortalPosition(RealPortal portal, org.bukkit.Location location, PositionType type, org.bukkit.plugin.Plugin plugin) Save given portal position to storage and register it to the registryMethod parameters in org.sgrewritten.stargate.api.network with type arguments of type RealPortalModifier and TypeMethodDescriptionvoidRegistryAPI.registerLocations(GateStructureType structureType, Map<BlockLocation, RealPortal> locationsMap) Registers the existence of the given structure type in the given locations -
Uses of RealPortal in org.sgrewritten.stargate.api.network.portal
Methods in org.sgrewritten.stargate.api.network.portal that return RealPortalMethods in org.sgrewritten.stargate.api.network.portal with parameters of type RealPortalModifier and TypeMethodDescriptionvoidPortalPosition.assignPortal(RealPortal portal) voidPortal.teleportHere(org.bukkit.entity.Entity target, RealPortal origin) Teleports an entity to this portal -
Uses of RealPortal in org.sgrewritten.stargate.api.network.portal.behavior
Fields in org.sgrewritten.stargate.api.network.portal.behavior declared as RealPortalMethods in org.sgrewritten.stargate.api.network.portal.behavior with parameters of type RealPortalModifier and TypeMethodDescriptionvoidAbstractPortalBehavior.assignPortal(@NotNull RealPortal portal) voidLegacyBungeeBehavior.assignPortal(@NotNull RealPortal portal) voidNetworkedBehavior.assignPortal(@NotNull RealPortal portal) voidPortalBehavior.assignPortal(@NotNull RealPortal portal) Assign this behavior to a portal -
Uses of RealPortal in org.sgrewritten.stargate.api.network.proxy
Methods in org.sgrewritten.stargate.api.network.proxy with parameters of type RealPortalModifier and TypeMethodDescriptionvoidPluginMessageSender.sendCreatePortal(RealPortal realPortal) Send create portal messagevoidPluginMessageSender.sendDeletePortal(RealPortal realPortal) Send delete portal message -
Uses of RealPortal in org.sgrewritten.stargate.api.permission
Methods in org.sgrewritten.stargate.api.permission with parameters of type RealPortalModifier and TypeMethodDescriptionbooleanPermissionManager.hasAccessPermission(RealPortal portal) Check if entity has permission to access portalbooleanPermissionManager.hasCreatePermissions(RealPortal portal) Check if entity has permission to create portalbooleanPermissionManager.hasDestroyPermissions(RealPortal portal) Check if entity has permission to destroy portalbooleanPermissionManager.hasOpenPermissions(RealPortal entrance, Portal exit) Check if entity has permission to open portalbooleanPermissionManager.hasTeleportPermissions(RealPortal entrance) Check if the entity has permission to teleport through portal -
Uses of RealPortal in org.sgrewritten.stargate.database
Methods in org.sgrewritten.stargate.database with parameters of type RealPortalModifier and TypeMethodDescriptionvoidSQLDatabase.addPortalPosition(RealPortal portal, StorageType portalType, PortalPosition portalPosition) SQLQueryGenerator.generateAddPortalStatement(Connection connection, RealPortal portal, StorageType portalType) Gets a prepared statement for adding a portalSQLQueryGenerator.generateSetPortalPositionMeta(Connection connection, RealPortal portal, PortalPosition portalPosition, String meta, StorageType portalType) voidSQLDatabase.removePortalPosition(RealPortal portal, StorageType portalType, PortalPosition portalPosition) booleanSQLDatabase.savePortalToStorage(RealPortal portal) voidSQLDatabase.setPortalPositionMetaData(RealPortal portal, PortalPosition portalPosition, String data, StorageType portalType) -
Uses of RealPortal in org.sgrewritten.stargate.gate
Methods in org.sgrewritten.stargate.gate that return RealPortalMethods in org.sgrewritten.stargate.gate with parameters of type RealPortal -
Uses of RealPortal in org.sgrewritten.stargate.manager
Methods in org.sgrewritten.stargate.manager with parameters of type RealPortalModifier and TypeMethodDescriptionbooleanStargatePermissionManager.hasAccessPermission(RealPortal portal) booleanUnrestrictedPermissionManager.hasAccessPermission(RealPortal portal) booleanStargatePermissionManager.hasCreatePermissions(RealPortal portal) booleanUnrestrictedPermissionManager.hasCreatePermissions(RealPortal portal) booleanStargatePermissionManager.hasDestroyPermissions(RealPortal portal) booleanUnrestrictedPermissionManager.hasDestroyPermissions(RealPortal portal) booleanStargatePermissionManager.hasOpenPermissions(RealPortal entrance, Portal exit) booleanUnrestrictedPermissionManager.hasOpenPermissions(RealPortal entrance, Portal exit) booleanStargatePermissionManager.hasTeleportPermissions(RealPortal entrance) booleanUnrestrictedPermissionManager.hasTeleportPermissions(RealPortal entrance) -
Uses of RealPortal in org.sgrewritten.stargate.network
Methods in org.sgrewritten.stargate.network that return RealPortalModifier and TypeMethodDescriptionStargateRegistry.getPortal(org.bukkit.Location location) StargateRegistry.getPortal(org.bukkit.Location location, GateStructureType structureType) StargateRegistry.getPortal(org.bukkit.Location location, GateStructureType[] structureTypes) StargateRegistry.getPortal(BlockLocation blockLocation, GateStructureType structureType) StargateRegistry.getPortal(BlockLocation blockLocation, GateStructureType[] structureTypes) Methods in org.sgrewritten.stargate.network that return types with arguments of type RealPortalModifier and TypeMethodDescriptionStargateRegistry.getPortalsFromTouchingBlock(org.bukkit.Location location, GateStructureType structureType) @NotNull Set<RealPortal> StargateRegistry.getPortalsInChunk(StargateChunk chunk) Methods in org.sgrewritten.stargate.network with parameters of type RealPortalModifier and TypeMethodDescriptionvoidStargateNetworkManager.destroyPortal(RealPortal portal) voidStargateRegistry.registerLocation(GateStructureType structureType, BlockLocation location, RealPortal portal) voidStargateRegistry.registerPortal(@NotNull RealPortal portal) voidStargateRegistry.registerPortalPosition(PortalPosition portalPosition, org.bukkit.Location location, RealPortal portal) voidStargateNetworkManager.savePortal(RealPortal portal, Network network) StargateRegistry.savePortalPosition(RealPortal portal, org.bukkit.Location location, PositionType type, org.bukkit.plugin.Plugin plugin) Method parameters in org.sgrewritten.stargate.network with type arguments of type RealPortalModifier and TypeMethodDescriptionvoidStargateRegistry.registerLocations(GateStructureType structureType, Map<BlockLocation, RealPortal> locationsMap) -
Uses of RealPortal in org.sgrewritten.stargate.network.portal
Classes in org.sgrewritten.stargate.network.portal that implement RealPortalModifier and TypeClassDescriptionclassAn abstract implementation of a real portalMethods in org.sgrewritten.stargate.network.portal with parameters of type RealPortalModifier and TypeMethodDescriptionvoidLegacyVirtualPortal.teleportHere(org.bukkit.entity.Entity target, RealPortal origin) voidStargatePortal.teleportHere(org.bukkit.entity.Entity target, RealPortal origin) voidVirtualPortal.teleportHere(org.bukkit.entity.Entity target, RealPortal origin) Constructors in org.sgrewritten.stargate.network.portal with parameters of type RealPortalModifierConstructorDescriptionTeleporter(@NotNull RealPortal destination, RealPortal origin, org.bukkit.block.BlockFace destinationFace, org.bukkit.block.BlockFace entranceFace, int cost, String teleportMessage, LanguageManager languageManager, StargateEconomyAPI economyManager) Instantiate a manager for advanced teleportation between a portal and a location -
Uses of RealPortal in org.sgrewritten.stargate.network.proxy
Methods in org.sgrewritten.stargate.network.proxy with parameters of type RealPortalModifier and TypeMethodDescriptionvoidInterServerMessageSender.sendCreatePortal(RealPortal realPortal) voidLocalNetworkMessageSender.sendCreatePortal(RealPortal realPortal) voidInterServerMessageSender.sendDeletePortal(RealPortal realPortal) voidLocalNetworkMessageSender.sendDeletePortal(RealPortal realPortal) -
Uses of RealPortal in org.sgrewritten.stargate.util.database
Methods in org.sgrewritten.stargate.util.database with parameters of type RealPortalModifier and TypeMethodDescriptionstatic voidPortalStorageHelper.addPortalPosition(PreparedStatement addPositionStatement, RealPortal portal, PortalPosition portalPosition) -
Uses of RealPortal in org.sgrewritten.stargate.util.portal
Methods in org.sgrewritten.stargate.util.portal that return RealPortalModifier and TypeMethodDescriptionstatic RealPortalPortalCreationHelper.createPortal(Network network, String name, String destination, String targetServer, Set<PortalFlag> flags, GateAPI gate, UUID ownerUUID, StargateAPI stargateAPI, String metaData) Creates a new portal of the correct typestatic RealPortalPortalCreationHelper.createPortal(Network network, PortalData portalData, Gate gate, StargateAPI stargateAPI) Creates a new portal of the correct typeMethods in org.sgrewritten.stargate.util.portal with parameters of type RealPortalModifier and TypeMethodDescriptionstatic org.bukkit.LocationTeleportationHelper.findViableSpawnLocation(org.bukkit.entity.Entity entity, RealPortal destinationPortal) Tries to find an alternative viable spawn location for the specified entityPortalPermissionHelper.getAccessPermissions(RealPortal portal, org.bukkit.entity.Entity actor) Generate access permissionsPortalPermissionHelper.getCreatePermissions(RealPortal portal, org.bukkit.entity.Entity actor) Generate create permissionsPortalPermissionHelper.getDestroyPermissions(RealPortal portal, org.bukkit.entity.Entity actor) Generate destroy permissionsPortalPermissionHelper.getOpenPermissions(RealPortal entrance, Portal exit, org.bukkit.entity.Entity actor) Generate open permissionsPortalPermissionHelper.getTeleportPermissions(RealPortal entrance, org.bukkit.entity.Entity target) Generate teleport permissionsstatic booleanPortalHelper.portalValidityCheck(RealPortal portal, NetworkManager networkManager)