Uses of Class
fr.hytale.loader.api.Location
Packages that use Location
-
Uses of Location in fr.hytale.loader.api
Methods in fr.hytale.loader.api that return LocationModifier and TypeMethodDescriptionLocation.add(double x, double y, double z) Location.clone()Block.getLocation()Gets the location of this block.Entity.getLocation()Gets the entity's current location.Location.subtract(double x, double y, double z) Methods in fr.hytale.loader.api with parameters of type LocationModifier and TypeMethodDescriptiondoubledoubleLocation.distanceSquared(Location other) World.getBlockAt(Location location) Gets the Block object at the specified location.World.getBlockIdentifier(Location location) Gets the identifier of the block at the specified location.voidPlayer.playParticle(Location location, String particleName) Plays a particle effect to the player at a specific location.voidWorld.playParticle(Location location, String particleName) Plays a particle effect at a specific location for all nearby players.voidPlays a sound to the player at a specific location.voidPlayer.playSound(Location location, String sound, SoundCategory category, float volume, float pitch) Plays a sound to the player at a specific location.voidPlays a sound at a specific location for all nearby players.voidWorld.playSound(Location location, String sound, SoundCategory category, float volume, float pitch) Plays a sound at a specific location for all nearby players.voidSets the block at the specified location.World.spawnEntity(Location location, String entityType) Spawns an entity at the specified location.voidTeleports the entity to a location.