Uses of Class
org.sgrewritten.stargate.api.network.portal.PortalPosition
Packages that use PortalPosition
Package
Description
-
Uses of PortalPosition in org.sgrewritten.stargate.api.database
Methods in org.sgrewritten.stargate.api.database with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
StorageAPI.addPortalPosition
(RealPortal portal, StorageType portalType, PortalPosition portalPosition) Add a portalPosition to a portal in the databaseStorageAPI.getPortalPositionMetaData
(Portal portal, PortalPosition portalPosition, StorageType portalType) Get misc data of a portal positionvoid
StorageAPI.removePortalPosition
(RealPortal portal, StorageType portalType, PortalPosition portalPosition) Remove a portalPosition to a portal in the databasevoid
StorageAPI.setPortalPositionMetaData
(RealPortal portal, PortalPosition portalPosition, String data, StorageType portalType) Set misc data of a portal position -
Uses of PortalPosition in org.sgrewritten.stargate.api.event.portal
Methods in org.sgrewritten.stargate.api.event.portal that return PortalPositionModifier and TypeMethodDescriptionStargateSignDyeChangePortalEvent.getPortalPosition()
StargateSignFormatPortalEvent.getPortalPosition()
Constructors in org.sgrewritten.stargate.api.event.portal with parameters of type PortalPositionModifierConstructorDescriptionStargateSignDyeChangePortalEvent
(@NotNull Portal portal, org.bukkit.DyeColor colorChange, org.bukkit.Location location, PortalPosition portalPosition) Instantiates a new stargate eventStargateSignFormatPortalEvent
(@NotNull RealPortal portal, SignLine[] signLines, PortalPosition portalPosition, org.bukkit.Location location) -
Uses of PortalPosition in org.sgrewritten.stargate.api.gate
Methods in org.sgrewritten.stargate.api.gate that return PortalPositionModifier and TypeMethodDescriptionGateAPI.addPortalPosition
(org.bukkit.Location location, PositionType type, String pluginName) Add a position specific for this Gate@Nullable PortalPosition
GateAPI.removePortalPosition
(org.bukkit.Location location) Remove portal position at specified locationMethods in org.sgrewritten.stargate.api.gate that return types with arguments of type PortalPositionModifier and TypeMethodDescriptionGateAPI.getPortalPositions()
Gets a copy of this gate's portal positionsMethods in org.sgrewritten.stargate.api.gate with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
GateAPI.addPortalPosition
(PortalPosition portalPosition) Add a position specific to this Gatevoid
GateAPI.redrawPosition
(PortalPosition portalPosition, @Nullable LineData[] lines) Update the state on the portal position according to its typevoid
GateAPI.removePortalPosition
(PortalPosition portalPosition) Remove a portal position from this gate. -
Uses of PortalPosition in org.sgrewritten.stargate.api.network
Methods in org.sgrewritten.stargate.api.network that return PortalPositionModifier and TypeMethodDescription@Nullable PortalPosition
RegistryAPI.getPortalPosition
(org.bukkit.Location location) Gets the portal position at given locationRegistryAPI.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 registryMethods in org.sgrewritten.stargate.api.network that return types with arguments of type PortalPositionModifier and TypeMethodDescriptionRegistryAPI.getPortalPositions()
Get all portal positionsRegistryAPI.getPortalPositionsOwnedByPlugin
(org.bukkit.plugin.Plugin plugin) Methods in org.sgrewritten.stargate.api.network with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
RegistryAPI.registerPortalPosition
(PortalPosition portalPosition, org.bukkit.Location location, RealPortal portal) Register given portal position to registry. -
Uses of PortalPosition in org.sgrewritten.stargate.api.network.portal
Methods in org.sgrewritten.stargate.api.network.portal with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
RealPortal.setSignColor
(org.bukkit.DyeColor color, PortalPosition portalPosition) Updates the color of this portal's sign -
Uses of PortalPosition in org.sgrewritten.stargate.database
Methods in org.sgrewritten.stargate.database with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
SQLDatabase.addPortalPosition
(RealPortal portal, StorageType portalType, PortalPosition portalPosition) SQLQueryGenerator.generateGetPortalPositionStatement
(Connection connection, Portal portal, PortalPosition portalPosition, StorageType portalType) SQLQueryGenerator.generateRemovePortalPositionStatement
(Connection connection, StorageType portalType, Portal portal, PortalPosition portalPosition) SQLQueryGenerator.generateSetPortalPositionMeta
(Connection connection, RealPortal portal, PortalPosition portalPosition, String meta, StorageType portalType) SQLDatabase.getPortalPositionMetaData
(Portal portal, PortalPosition portalPosition, StorageType portalType) void
SQLDatabase.removePortalPosition
(RealPortal portal, StorageType portalType, PortalPosition portalPosition) void
SQLDatabase.setPortalPositionMetaData
(RealPortal portal, PortalPosition portalPosition, String data, StorageType portalType) -
Uses of PortalPosition in org.sgrewritten.stargate.gate
Methods in org.sgrewritten.stargate.gate that return PortalPositionModifier and TypeMethodDescriptionGate.addPortalPosition
(org.bukkit.Location location, PositionType type, String pluginName) Gate.addPortalPosition
(org.bukkit.util.BlockVector relativeBlockVector, PositionType type, String pluginName) Add a position specific for this Gate@Nullable PortalPosition
Gate.removePortalPosition
(org.bukkit.Location location) Methods in org.sgrewritten.stargate.gate that return types with arguments of type PortalPositionMethods in org.sgrewritten.stargate.gate with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
Gate.addPortalPosition
(PortalPosition portalPosition) void
Gate.redrawPosition
(PortalPosition portalPosition, @Nullable LineData[] lines) void
Gate.removePortalPosition
(PortalPosition portalPosition) Method parameters in org.sgrewritten.stargate.gate with type arguments of type PortalPositionModifier and TypeMethodDescriptionvoid
Gate.addPortalPositions
(List<PortalPosition> portalPositions) Add portal positions specific for this Gate -
Uses of PortalPosition in org.sgrewritten.stargate.network
Methods in org.sgrewritten.stargate.network that return PortalPositionModifier and TypeMethodDescriptionStargateRegistry.getPortalPosition
(org.bukkit.Location location) StargateRegistry.savePortalPosition
(RealPortal portal, org.bukkit.Location location, PositionType type, org.bukkit.plugin.Plugin plugin) Methods in org.sgrewritten.stargate.network that return types with arguments of type PortalPositionModifier and TypeMethodDescriptionStargateRegistry.getPortalPositions()
StargateRegistry.getPortalPositionsOwnedByPlugin
(org.bukkit.plugin.Plugin plugin) Methods in org.sgrewritten.stargate.network with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
StargateRegistry.registerPortalPosition
(PortalPosition portalPosition, org.bukkit.Location location, RealPortal portal) -
Uses of PortalPosition in org.sgrewritten.stargate.network.portal
Methods in org.sgrewritten.stargate.network.portal with parameters of type PortalPositionModifier and TypeMethodDescriptionvoid
StargatePortal.setSignColor
(@Nullable org.bukkit.DyeColor changedColor, @NotNull PortalPosition portalPosition) -
Uses of PortalPosition in org.sgrewritten.stargate.util.database
Methods in org.sgrewritten.stargate.util.database that return PortalPositionModifier and TypeMethodDescriptionstatic PortalPosition
PortalStorageHelper.loadPortalPosition
(ResultSet resultSet) Load a portal position from sql result setMethods in org.sgrewritten.stargate.util.database with parameters of type PortalPositionModifier and TypeMethodDescriptionstatic void
PortalStorageHelper.addPortalPosition
(PreparedStatement addPositionStatement, RealPortal portal, PortalPosition portalPosition)