Описание
# 🐻 FNAF: Dreams and Nightmares
Five Nights at Freddy's Dreams and Nightmares is a mod that helps you immerse yourself in the atmosphere of the old game FNaF 4. It recreates the game using Minecraft's gaming capabilities and repeats the mechanics from the original game.
# 🎮 Gameplay
The player controls a child who must survive the night, which lasts from 12 midnight to 6 am, and detain the nightmarish animatronics - Freddy the bear, Bonnie the rabbit, Chica the chicken and Foxy the fox.

# 📥 Installation
To install the mod, just download the latest downloaded mod file and throw it in the mods folder. To install the datapack, you need to throw it in the datapacks folder in the world folder, and then download the resource pack and activate it.

# 🕹️ Usage
After opening the world, you need to write this command ``` /reload ``` to reload the data packets, and then use this command ``` /trigger bizcub.fnaf4.house ``` to get an item that can be used to place a house. Next, you need to click on the block where you are going to place the house. On the porch of the house, you can find a menu with a choice of nights. To start the night, you need to choose one of the options.

# 🗺️ House map
> **⚠️ WARNING:** This project makes **permanent, irreversible** changes to your world.
>
> Removing it will **not** restore anything. **Back up your world** or test in a new save before using.
I have not yet made all the features of the original game, but the house map is already in my mod, to enable it, you need to use this command ``` /trigger bizcub.fnaf4.map ```. For comfortable playing with the map, I recommend setting these values in the chat settings:
* Text Background Opacity - 0%
* Width - 90

# ✨ Thanks
To implement this project, I used:
* [ItzTaken](https://www.youtube.com/@itztaken)'s video to understand the mechanics of the game
* [Animated Java](https://github.com/Animated-Java/animated-java) v1.6.4 plugin for Blockbench to make and animate the animatronic models
# ☰ Other
* All game sounds are divided into categories:
- Animatronics - Hostile Mobs
- Ambient - Ambient/Environment
- Player-generated sounds - Players
* Since the project uses built-in shaders, which are incompatible with [Sodium](https://modrinth.com/mod/sodium)
* Fabric loader requires [Fabric API](https://modrinth.com/mod/fabric-api)