Uses of Class
org.sgrewritten.stargate.api.network.PortalBuilder
-
Uses of PortalBuilder in org.sgrewritten.stargate.api.event
Modifier and TypeMethodDescription@NotNull PortalBuilder
StargatePreCreatePortalEvent.getPortalBuilder()
ModifierConstructorDescriptionStargatePreCreatePortalEvent
(@NotNull PortalBuilder portalBuilder, @NotNull GateBuilder gateBuilder, @NotNull String[] args, @Nullable org.bukkit.entity.Player player) -
Uses of PortalBuilder in org.sgrewritten.stargate.api.network
Modifier and TypeMethodDescriptionPortalBuilder.addEventHandling
(@Nullable org.bukkit.OfflinePlayer eventTarget) Make the builder throw anStargateCreatePortalEvent
PortalBuilder.addMessageReceiver
(@Nullable org.bukkit.entity.Entity messageTarget) PortalBuilder.addPermissionCheck
(@NotNull org.bukkit.entity.Player permissionTarget) Check for all stargate related permissions for targetPortalBuilder.setAdaptiveGatePositionGeneration
(boolean adaptiveGatePositionGeneration) Requires the constructorPortalBuilder(StargateAPI, OfflinePlayer, String)
to matterPortalBuilder.setCost
(double cost, @NotNull org.bukkit.entity.Player economyTarget) Set a cost for this portalPortalBuilder.setDestination
(@Nullable String destinationName) PortalBuilder.setDestinationServerName
(String serverName) Set the name of the server this portal should point to (only relevant for bungee portals)Set the flags of the portalPortalBuilder.setFlags
(@NotNull Set<StargateFlag> flags) Set the flags of the portalPortalBuilder.setGateBuilder
(@NotNull org.bukkit.Location topLeft, @NotNull String gateFormatName) Set the way the gate should be constructed, seeExplicitGateBuilder
for more informationPortalBuilder.setGateBuilder
(@NotNull org.bukkit.Location topLeft, @NotNull GateFormatAPI gateFormatAPI) Set the way the gate should be constructed, seeExplicitGateBuilder
for more informationPortalBuilder.setGateBuilder
(@NotNull GateBuilder gateBuilder) PortalBuilder.setMetaData
(String metaData) PortalBuilder.setNetwork
(@NotNull String networkName) PortalBuilder.setNetwork
(@NotNull Network network)