Uses of Class
com.loohp.limbo.location.Location
Packages that use Location
Package
Description
-
Uses of Location in cn.ycraft.limbo.config
Fields in cn.ycraft.limbo.config with type parameters of type LocationModifier and TypeFieldDescriptionstatic final cc.carm.lib.configuration.value.standard.ConfiguredValue<Location>
ServerConfig.WORLD.SPAWNPOINT
-
Uses of Location in com.loohp.limbo
Methods in com.loohp.limbo with parameters of type Location -
Uses of Location in com.loohp.limbo.entity
Methods in com.loohp.limbo.entity that return LocationMethods in com.loohp.limbo.entity with parameters of type LocationConstructors in com.loohp.limbo.entity with parameters of type LocationModifierConstructorDescriptionArmorStand
(Location location) ArmorStand
(UUID uuid, Location location) Entity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location) Entity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, UUID uuid, Location location) LivingEntity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location) LivingEntity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, UUID uuid, Location location) -
Uses of Location in com.loohp.limbo.events.player
Methods in com.loohp.limbo.events.player that return LocationModifier and TypeMethodDescriptionPlayerMoveEvent.getFrom()
Gets the location this player moved fromPlayerSpawnEvent.getSpawnLocation()
PlayerMoveEvent.getTo()
Gets the location this player moved toMethods in com.loohp.limbo.events.player with parameters of type LocationModifier and TypeMethodDescriptionvoid
Sets the location to mark as where the player moved fromvoid
PlayerSpawnEvent.setSpawnLocation
(Location spawnLocation) void
Sets the location that this player will move toConstructors in com.loohp.limbo.events.player with parameters of type LocationModifierConstructorDescriptionPlayerMoveEvent
(Player player, Location from, Location to) PlayerSpawnEvent
(Player player, Location spawnLoc) PlayerTeleportEvent
(Player player, Location from, Location to) -
Uses of Location in com.loohp.limbo.inventory
Methods in com.loohp.limbo.inventory that return LocationModifier and TypeMethodDescriptionAbstractInventory.getLocation()
Inventory.getLocation()
Get the location of the block or entity which corresponds to this inventory.InventoryHolder.getLocation()
-
Uses of Location in com.loohp.limbo.location
Methods in com.loohp.limbo.location that return LocationModifier and TypeMethodDescriptionLocation.add
(double x, double y, double z) Adds the location by another.Adds the location by another.Adds the location by a vector.Location.clone()
Location.multiply
(double m) Performs scalar multiplication, multiplying all components with a scalar.Location.setDirection
(Vector vector) Location.subtract
(double x, double y, double z) Subtracts the location by another.Subtracts the location by another.Subtracts the location by a vector.Vector.toLocation
(World world) Gets a Location version of this vector with yaw and pitch being 0.Vector.toLocation
(World world, float yaw, float pitch) Gets a Location version of this vector.Location.zero()
Zero this location's components.Methods in com.loohp.limbo.location with parameters of type LocationModifier and TypeMethodDescriptionAdds the location by another.double
Get the distance between this location and another.double
Location.distanceSquared
(Location o) Get the squared distance between this location and another.Subtracts the location by another. -
Uses of Location in com.loohp.limbo.player
Methods in com.loohp.limbo.player with parameters of type LocationModifier and TypeMethodDescriptionvoid
Deprecated.protected void
Player.setLocation
(Location location) void
Constructors in com.loohp.limbo.player with parameters of type LocationModifierConstructorDescriptionPlayer
(ClientConnection clientConnection, String username, UUID uuid, int entityId, Location location, PlayerInteractManager playerInteractManager) -
Uses of Location in com.loohp.limbo.world
Methods in com.loohp.limbo.world with parameters of type LocationModifier and TypeMethodDescriptionWorld.spawnEntity
(org.geysermc.mcprotocollib.protocol.data.game.entity.type.EntityType type, Location location) Constructors in com.loohp.limbo.world with parameters of type Location