Package com.cryptomorin.xseries
Class XSound.Record
- java.lang.Object
-
- com.cryptomorin.xseries.XSound.Record
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XSound.RecordatLocation(org.bukkit.Location location)XSound.RecordforPlayer(org.bukkit.entity.Player player)XSound.RecordforPlayerAtLocation(org.bukkit.entity.Player player, org.bukkit.Location location)voidplay()Plays the sound with the given options and updating the players location.voidplay(org.bukkit.Location updatedLocation)Plays the sound with the updated location.
-
-
-
Method Detail
-
forPlayer
public XSound.Record forPlayer(@Nullable org.bukkit.entity.Player player)
-
atLocation
public XSound.Record atLocation(@Nullable org.bukkit.Location location)
-
forPlayerAtLocation
public XSound.Record forPlayerAtLocation(@Nullable org.bukkit.entity.Player player, @Nullable org.bukkit.Location location)
-
play
public void play()
Plays the sound with the given options and updating the players location.- Since:
- 3.0.0
-
play
public void play(@Nonnull org.bukkit.Location updatedLocation)
Plays the sound with the updated location.- Parameters:
updatedLocation- the upated location.- Since:
- 3.0.0
-
-