Перейти к содержимому
Mineforgian

MT Snoring Sound

Adds snoring sounds when players and villagers sleep.

Загрузки
1K
Подписчики
7
Обновлён
2 июля 2025 г.
Лицензия
CC0-1.0

Опубликован 1 июля 2025 г.

Исходный код

MT Snore Sound Mod

A Minecraft Fabric mod that adds realistic snoring sounds for sleeping players and villagers.

Features

  • Spatial Audio: Snoring sounds are positioned at the sleeping entity's location, creating realistic 3D audio
  • Distance-Based Volume: Sound volume fades naturally with distance (audible up to 10 blocks)
  • Age-Based Pitch Variation:
    • Child villagers produce higher-pitched snores (1.5-3.0 pitch)
    • Adult players and villagers produce deeper snores (0.8-1.3 pitch)
  • Random Timing: Snores occur at random intervals between 2-10 seconds for natural variation
  • Client-Side Only: No server installation required

How It Works

The mod uses Fabric mixins to inject snoring behavior into player and villager entities. When an entity is sleeping, the mod:

  • Tracks each sleeping entity individually
  • Plays snoring sounds at random intervals
  • Adjusts pitch based on the entity's age (child vs adult)
  • Calculates volume based on distance from the player
  • Uses Minecraft's spatial audio system for realistic positioning

Technical Details

  • Mod ID: snoresound
  • Environment: Client-side only
  • Sound Category: Neutral
  • Hearing Range: 0-10 blocks (full volume at 0-5 blocks, fades to 10% at 10 blocks)

Contributing

Feel free to submit issues and enhancement requests!

Ченджлог

1.21.6-1.21.7+1.0.1Релиз1.21.6, 1.21.7 · 2 июля 2025 г.

fix crush

1.21-1.21.5+1.0.1Релиз1.21.3, 1.21.4, 1.21.5 · 2 июля 2025 г.

fix crush

1.21.6-1.21.7+1.0.0Релиз1.21.6, 1.21.7 · 1 июля 2025 г.

hellow world

1.21-1.21.5+1.0.0Релиз1.21.3, 1.21.4, 1.21.5 · 1 июля 2025 г.

hellow world

Комментарии

Загружаем…