Create a Fabric mod for Minecraft Java Edition version 26.2.
The mod should add a new horror entity called "The Stalker".
Please implement a multi-stage AI behavior for this entity:
- Spawning: It only spawns deep underground in caves (Y level below 0) where the light level is 0.
- Stage 1 (Stalking - Most Common): The entity spawns 20-30 blocks away. It does NOT attack. It slowly and silently follows the player from a distance just out of clear sight. If the player looks directly at it, it plays a creepy sound, gives a brief blindness effect, and vanishes.
- Stage 2 (The Hunt - Rare/Later): There is a low random chance (or if the player stays in the dark for too long) that the entity enters "Hunt Mode". Only in this mode will it actively chase the player with loud footstep sounds, attack, and try to kill them.
Ensure all code is compatible with the Fabric API for version 26.1.2.
KodariOct 21 at 8:35 pm 1
TheStalkerHorrorEntity
A Fabric mod for Minecraft 26.2 that adds "The Stalker", a multi-stage horror entity. It spawns only in deep caves (Y below 0) with zero light. In Stage 1 (Stalking), it silently follows the player from 20-30 blocks away, vanishing with a creepy sound and brief blindness if directly observed. In Stage 2 (Hunt), triggered randomly or by prolonged darkness, it actively chases with loud footsteps and attacks. Compatible with Fabric API 26.1.2.
[Generation stopped]
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code