Uses of Class
org.sgrewritten.stargate.api.network.portal.PortalPosition
Package
Description
-
Uses of PortalPosition in org.sgrewritten.stargate.api.database
Modifier 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
Modifier and TypeMethodDescriptionStargateSignDyeChangePortalEvent.getPortalPosition()
StargateSignFormatPortalEvent.getPortalPosition()
ModifierConstructorDescriptionStargateSignDyeChangePortalEvent
(@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
Modifier 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 locationModifier and TypeMethodDescriptionGateAPI.getPortalPositions()
Gets a copy of this gate's portal positionsModifier 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
Modifier 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 registryModifier and TypeMethodDescriptionRegistryAPI.getPortalPositions()
Get all portal positionsRegistryAPI.getPortalPositionsOwnedByPlugin
(org.bukkit.plugin.Plugin plugin) Modifier 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
Modifier 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
Modifier 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
Modifier 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) Modifier and TypeMethodDescriptionvoid
Gate.addPortalPosition
(PortalPosition portalPosition) void
Gate.redrawPosition
(PortalPosition portalPosition, @Nullable LineData[] lines) void
Gate.removePortalPosition
(PortalPosition portalPosition) Modifier and TypeMethodDescriptionvoid
Gate.addPortalPositions
(List<PortalPosition> portalPositions) Add portal positions specific for this Gate -
Uses of PortalPosition in org.sgrewritten.stargate.network
Modifier and TypeMethodDescriptionStargateRegistry.getPortalPosition
(org.bukkit.Location location) StargateRegistry.savePortalPosition
(RealPortal portal, org.bukkit.Location location, PositionType type, org.bukkit.plugin.Plugin plugin) Modifier and TypeMethodDescriptionStargateRegistry.getPortalPositions()
StargateRegistry.getPortalPositionsOwnedByPlugin
(org.bukkit.plugin.Plugin plugin) Modifier and TypeMethodDescriptionvoid
StargateRegistry.registerPortalPosition
(PortalPosition portalPosition, org.bukkit.Location location, RealPortal portal) -
Uses of PortalPosition in org.sgrewritten.stargate.network.portal
Modifier and TypeMethodDescriptionvoid
StargatePortal.setSignColor
(@Nullable org.bukkit.DyeColor changedColor, @NotNull PortalPosition portalPosition) -
Uses of PortalPosition in org.sgrewritten.stargate.util.database
Modifier and TypeMethodDescriptionstatic PortalPosition
PortalStorageHelper.loadPortalPosition
(ResultSet resultSet) Load a portal position from sql result setModifier and TypeMethodDescriptionstatic void
PortalStorageHelper.addPortalPosition
(PreparedStatement addPositionStatement, RealPortal portal, PortalPosition portalPosition)