=== Villager Snoring Meme Sound Effects v2.0 — DATAPACK ===
by Rabbi S. Arlan

INSTALL: Drop this ZIP into world/datapacks/ folder
         Then run /reload in-game

REQUIRES: The companion RESOURCE PACK to be enabled too!
          Datapack triggers the sound. Resource pack provides the audio files.

WHAT IT DOES:
- Runs a tick function every game tick checking for sleeping players + villagers
- Plays minecraft:entity.villager.sleep every 4 seconds per sleeping entity
- Villagers detected via NBT tag {Sleeping:1b}
- Players detected via SleepTimer > 0 NBT tag
- Night gate: only fires between 12542 and 23458 game ticks (7pm to 5am)

COMPATIBILITY:
- Datapack format 61, min 48, max 9999
- Works: 1.21 through 26.1.2 and beyond

Modrinth: https://modrinth.com/resourcepack/villager-snoring-meme-sound-effects
GitHub:   https://github.com/rabbiarlan/Villager-Meme-Sounds
