Skip to content

SoundUtil

Package: com.hypixel.hytale.server.core.universe.world

public class SoundUtil

Utility class for playing sound events. Provides static methods for 2D sounds (to all players or a specific player), 3D positional sounds (with spatial filtering based on SoundEvent.getMaxDistance()), entity-attached sounds, and local player sounds. Supports volume/pitch modifiers and visibility-based filtering via Entity.isHiddenFromLivingEntity().

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.