Class SoundUtil
java.lang.Object
com.hypixel.hytale.server.core.universe.world.SoundUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidplaySoundEvent2d(int soundEventIndex, SoundCategory soundCategory, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent2d(int soundEventIndex, SoundCategory soundCategory, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent2d(Ref<EntityStore> ref, int soundEventIndex, SoundCategory soundCategory, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent2d(Ref<EntityStore> ref, int soundEventIndex, SoundCategory soundCategory, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent2dToPlayer(PlayerRef playerRefComponent, int soundEventIndex, SoundCategory soundCategory) static voidplaySoundEvent2dToPlayer(PlayerRef playerRefComponent, int soundEventIndex, SoundCategory soundCategory, float volumeModifier, float pitchModifier) static voidplaySoundEvent3d(int soundEventIndex, double x, double y, double z, Predicate<Ref<EntityStore>> shouldHear, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, Predicate<Ref<EntityStore>> shouldHear, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, Predicate<Ref<EntityStore>> shouldHear, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(int soundEventIndex, SoundCategory soundCategory, Vector3d position, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, double x, double y, double z, boolean ignoreSource, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, double x, double y, double z, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, Vector3d position, boolean ignoreSource, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3d(Ref<EntityStore> sourceRef, int soundEventIndex, Vector3d pos, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3dToPlayer(Ref<EntityStore> playerRef, int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3dToPlayer(Ref<EntityStore> playerRef, int soundEventIndex, SoundCategory soundCategory, double x, double y, double z, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEvent3dToPlayer(Ref<EntityStore> playerRef, int soundEventIndex, SoundCategory soundCategory, Vector3d position, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEventEntity(int soundEventIndex, int networkId, float volumeModifier, float pitchModifier, ComponentAccessor<EntityStore> componentAccessor) static voidplaySoundEventEntity(int soundEventIndex, int networkId, ComponentAccessor<EntityStore> componentAccessor)
-
Constructor Details
-
SoundUtil
public SoundUtil()
-
-
Method Details
-
playSoundEventEntity
public static void playSoundEventEntity(int soundEventIndex, int networkId, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEventEntity
public static void playSoundEventEntity(int soundEventIndex, int networkId, float volumeModifier, float pitchModifier, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent2dToPlayer
public static void playSoundEvent2dToPlayer(@Nonnull PlayerRef playerRefComponent, int soundEventIndex, @Nonnull SoundCategory soundCategory) -
playSoundEvent2dToPlayer
public static void playSoundEvent2dToPlayer(@Nonnull PlayerRef playerRefComponent, int soundEventIndex, @Nonnull SoundCategory soundCategory, float volumeModifier, float pitchModifier) -
playSoundEvent2d
public static void playSoundEvent2d(int soundEventIndex, @Nonnull SoundCategory soundCategory, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent2d
public static void playSoundEvent2d(int soundEventIndex, @Nonnull SoundCategory soundCategory, float volumeModifier, float pitchModifier, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent2d
public static void playSoundEvent2d(@Nonnull Ref<EntityStore> ref, int soundEventIndex, @Nonnull SoundCategory soundCategory, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent2d
public static void playSoundEvent2d(@Nonnull Ref<EntityStore> ref, int soundEventIndex, @Nonnull SoundCategory soundCategory, float volumeModifier, float pitchModifier, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(int soundEventIndex, @Nonnull SoundCategory soundCategory, double x, double y, double z, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(int soundEventIndex, @Nonnull SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(int soundEventIndex, @Nonnull SoundCategory soundCategory, @Nonnull Vector3d position, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(int soundEventIndex, @Nonnull SoundCategory soundCategory, double x, double y, double z, @Nonnull Predicate<Ref<EntityStore>> shouldHear, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(int soundEventIndex, @Nonnull SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, @Nonnull Predicate<Ref<EntityStore>> shouldHear, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(@Nullable Ref<EntityStore> sourceRef, int soundEventIndex, @Nonnull Vector3d pos, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(@Nullable Ref<EntityStore> sourceRef, int soundEventIndex, double x, double y, double z, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(@Nullable Ref<EntityStore> sourceRef, int soundEventIndex, @Nonnull Vector3d position, boolean ignoreSource, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(@Nullable Ref<EntityStore> sourceRef, int soundEventIndex, double x, double y, double z, boolean ignoreSource, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3d
public static void playSoundEvent3d(int soundEventIndex, double x, double y, double z, @Nonnull Predicate<Ref<EntityStore>> shouldHear, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3dToPlayer
public static void playSoundEvent3dToPlayer(@Nullable Ref<EntityStore> playerRef, int soundEventIndex, @Nonnull SoundCategory soundCategory, double x, double y, double z, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3dToPlayer
public static void playSoundEvent3dToPlayer(@Nullable Ref<EntityStore> playerRef, int soundEventIndex, @Nonnull SoundCategory soundCategory, double x, double y, double z, float volumeModifier, float pitchModifier, @Nonnull ComponentAccessor<EntityStore> componentAccessor) -
playSoundEvent3dToPlayer
public static void playSoundEvent3dToPlayer(@Nullable Ref<EntityStore> playerRef, int soundEventIndex, @Nonnull SoundCategory soundCategory, @Nonnull Vector3d position, @Nonnull ComponentAccessor<EntityStore> componentAccessor)
-