Package org.mvplugins.multiverse.portals
Class PortalLocation
java.lang.Object
org.mvplugins.multiverse.portals.PortalLocation
-
Constructor Summary
ConstructorsConstructorDescriptionPortalLocation(com.sk89q.worldedit.math.BlockVector3 minPt, com.sk89q.worldedit.math.BlockVector3 maxPt, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) This constructor takes the Vectors from WorldEdit and converts them to Bukkit vectors.PortalLocation(org.bukkit.util.Vector pos1, org.bukkit.util.Vector pos2, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) Deprecated, for removal: This API element is subject to removal in a future version.PortalLocation(org.bukkit.util.Vector pos1, org.bukkit.util.Vector pos2, org.mvplugins.multiverse.core.world.MultiverseWorld world) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.util.Vectororg.bukkit.util.Vector@NotNull org.mvplugins.multiverse.external.vavr.control.Option<org.mvplugins.multiverse.core.world.MultiverseWorld> @Nullable org.mvplugins.multiverse.core.world.LoadedMultiverseWorldDeprecated, for removal: This API element is subject to removal in a future version.@Nullable MultiverseRegionList<org.bukkit.util.Vector> booleanstatic PortalLocationparseLocation(String locationString) static PortalLocationparseLocation(String locationString, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world, String portalName) Deprecated, for removal: This API element is subject to removal in a future version.UseparseLocation(String, MultiverseWorld, String)instead.static PortalLocationparseLocation(String locationString, org.mvplugins.multiverse.core.world.MultiverseWorld world, String portalName) booleansetLocation(String v1, String v2, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) Deprecated, for removal: This API element is subject to removal in a future version.UsesetLocation(String, String, MultiverseWorld)instead.booleansetLocation(String v1, String v2, org.mvplugins.multiverse.core.world.MultiverseWorld world) booleansetLocation(org.bukkit.util.Vector v1, org.bukkit.util.Vector v2, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) Deprecated, for removal: This API element is subject to removal in a future version.UsesetLocation(Vector, Vector, MultiverseWorld)instead.booleansetLocation(org.bukkit.util.Vector v1, org.bukkit.util.Vector v2, org.mvplugins.multiverse.core.world.MultiverseWorld world) toString()
-
Constructor Details
-
PortalLocation
public PortalLocation() -
PortalLocation
@Deprecated(forRemoval=true, since="5.3") @ScheduledForRemoval(inVersion="6.0") public PortalLocation(org.bukkit.util.Vector pos1, org.bukkit.util.Vector pos2, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) Deprecated, for removal: This API element is subject to removal in a future version. -
PortalLocation
@AvailableSince("5.3") public PortalLocation(org.bukkit.util.Vector pos1, org.bukkit.util.Vector pos2, org.mvplugins.multiverse.core.world.MultiverseWorld world) -
PortalLocation
public PortalLocation(com.sk89q.worldedit.math.BlockVector3 minPt, com.sk89q.worldedit.math.BlockVector3 maxPt, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) This constructor takes the Vectors from WorldEdit and converts them to Bukkit vectors.- Parameters:
minPt-maxPt-
-
-
Method Details
-
parseLocation
-
parseLocation
@Deprecated(forRemoval=true, since="5.3") @ScheduledForRemoval(inVersion="6.0") public static PortalLocation parseLocation(String locationString, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world, String portalName) Deprecated, for removal: This API element is subject to removal in a future version.UseparseLocation(String, MultiverseWorld, String)instead. -
parseLocation
@AvailableSince("5.3") public static PortalLocation parseLocation(String locationString, org.mvplugins.multiverse.core.world.MultiverseWorld world, String portalName) -
setLocation
@Deprecated(forRemoval=true, since="5.3") @ScheduledForRemoval(inVersion="6.0") public boolean setLocation(org.bukkit.util.Vector v1, org.bukkit.util.Vector v2, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) Deprecated, for removal: This API element is subject to removal in a future version.UsesetLocation(Vector, Vector, MultiverseWorld)instead. -
setLocation
@AvailableSince("5.3") public boolean setLocation(org.bukkit.util.Vector v1, org.bukkit.util.Vector v2, org.mvplugins.multiverse.core.world.MultiverseWorld world) -
setLocation
@Deprecated(forRemoval=true, since="5.3") @ScheduledForRemoval(inVersion="6.0") public boolean setLocation(String v1, String v2, org.mvplugins.multiverse.core.world.LoadedMultiverseWorld world) Deprecated, for removal: This API element is subject to removal in a future version.UsesetLocation(String, String, MultiverseWorld)instead. -
setLocation
-
isValidLocation
public boolean isValidLocation() -
getVectors
-
getMinimum
public org.bukkit.util.Vector getMinimum() -
getMaximum
public org.bukkit.util.Vector getMaximum() -
getMVWorld
@Deprecated(forRemoval=true, since="5.3") @ScheduledForRemoval(inVersion="6.0") @Nullable public @Nullable org.mvplugins.multiverse.core.world.LoadedMultiverseWorld getMVWorld()Deprecated, for removal: This API element is subject to removal in a future version.UsegetMultiverseWorld()instead. -
getMultiverseWorld
@AvailableSince("5.3") @NotNull public @NotNull org.mvplugins.multiverse.external.vavr.control.Option<org.mvplugins.multiverse.core.world.MultiverseWorld> getMultiverseWorld() -
getRegion
-
toString
-
getMultiverseWorld()instead.