semsiefan

Make me one of the scariest horror mods to exist, don't make it horror slop with these boring, uncanny dwellers. I want you to make it adapt the player's playstyle and more unique features, try your best and no mistakes

Kodari AI
KodariJun 13 at 1:48 pm 28

I’ll create a deeply unsettling adaptive horror mod that learns from each player individually and becomes more personal over time.

TheLearning
An adaptive psychological horror mod where an intelligent presence studies your behavior patterns, fears, and habits to torment you personally. No generic monsters—this learns where you feel safe, mimics your sounds, distorts reality, and evolves its tactics when you adapt. Tracks your playstyle to determine what frightens you most. Features paranoia mechanics, reality distortion, nightmare sequences, and an entity that becomes more dangerous the longer you survive. Every player faces a unique horror.

The Learning - An adaptive horror mod that becomes your personal nightmare.

Core systems:

  • Paranoia tracking per player (Cardinal Components API)

  • Behavior learning tracks 15+ behavioral patterns including safe zones, panic triggers, movement patterns, and defensive tactics

  • Adaptive Entity with 4 learning phases that evolves from observer → hunter → tormentor

  • Reality distortion moves your blocks, flickers lights, creates phantom sounds, mirrors your actions

  • Smart positioning teleports strategically based on manifestation level and learned patterns

The entity:

  • Spawns when paranoia > 40, learns safe zones, counters pillaring/hiding/torch spam

  • Violates safe zones once learned, ambushes running players, climbs to reach pillars

  • Invisible at low manifestation, gradually reveals as paranoia builds

  • Invulnerable but attacking increases aggression and learning phase

Commands for testing: /learning paranoia, /learning spawn, /learning data, /learning reset

Builds on Fabric 1.19.4 with Gradle. Sound files need to be added to assets/thelearning/sounds/ and entity texture to textures/entity/adaptive_entity.png.

Kodari can make mistakes. Review important code before using.
Files
src
.gitignore
build.gradle
gradle.properties
README.md
settings.gradle
Code
21 1,685
src/main/java/com/thelearning/TheLearningMod.java
package com.thelearning;

import com.thelearning.entity.AdaptiveEntity;
import com.thelearning.entity.EntityRegistry;
import com.thelearning.sound.ModSounds;
import com.thelearning.system.ParanoiaComponent;
import com.thelearning.system.PlayerDataTracker;
import com.thelearning.system.RealityDistortionManager;
import com.thelearning.event.ModEvents;
import com.thelearning.command.LearningCommands;
import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents;
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class TheLearningMod implements ModInitializer {
    public static final String MOD_ID = "thelearning";
    public static final Logger LOGGER = LoggerFactory.getLogger(MOD_ID);
    
    @Override
    public void onInitialize() {
        LOGGER.info("The Learning begins...");
        
        // Register components
        ParanoiaComponent.register();
        
        // Register entities
        EntityRegistry.register();
        
        // Register sounds
        ModSounds.register();
        
        // Register events
        ModEvents.register();
        
        // Register commands
        CommandRegistrationCallback.EVENT.register((dispatcher, registryAccess, environment) -> {
            LearningCommands.register(dispatcher);
        });
        
        // Server tick for global systems
        ServerTickEvents.END_SERVER_TICK.register(server -> {
            RealityDistortionManager.tick(server);
        });
        
        // Clean up on server stop
        ServerLifecycleEvents.SERVER_STOPPED.register(server -> {
            PlayerDataTracker.saveAll();
            RealityDistortionManager.clear();
        });
    }
}