
DiscAI Based Horror.jar
DiscAI is a horror mod that adds a new dimension of fear, unique abilities, and terrifying creatures. Transform your gameplay with a customizable totem, explore the Horror Dimension accessed through mysterious doors, and let your growing fear physically af
2.1
Compatibility
Changes
Changelog β DiscAI Mod (Forge 1.20.1) Version 2.0 β June 22, 2026 This major update completely redesigns the gameplay, adding a system of honesty, economy, thieves and auction. The mod transforms from a simple horror set into a full-fledged RPG system with consequences and choices.
β¨Added The Player's Honesty and Capability System Capability IPlayerData β stores the data of each player:
fakeCreativeCount β the number of uses of FakeCreative.
usedGlitch is a flag that becomes true the first time FakeCreative is used.
playerBalance β the balance of the custom currency.
The data is stored in NBT and synchronized with the client.
FakeCreative (glitch)
Activation via F4 (ToggleFakeCreativePacket client package).
When enabled, fakeCreativeCount increases and usedGlitch = true is set.
The player gets creative mode abilities (instant destruction, construction).
The state is saved when re-entering.
Currency and commands /money
Admin teams (require an OP):
/money check <player> β show data (FC, glitch, balance).
/money add <player> <amount> β add currency.
/money remove <player> <amount> β withdraw currency.
/money set <player> <amount> β set the exact balance.
Selectors (@p, @r, @a) are supported.
Balance synchronization via MoneySyncPacket.
Team /discai glitch
Managing the usedGlitch flag for debugging (OP):
/discai glitch set <player> true/false
/discai glitch toggle <player>
/discai glitch get <player>
Economics and Awards Passive income β honest players (usedGlitch == false) receive +10 currency every minute.
Guardian Angel - Every 5 minutes, all aggressive mobs within 10 blocks of an honest player are destroyed.
The reward for killing horror mobs is +5 currency for killing a custom horror, if the damage is inflicted by the player (farm protection: lava, fall, dispensers do not give a reward).
Thief (ThiefEntity) It appears at players' houses (bed, chest, stove, workbench) and in villages.
The chance of spawn is 5% for fair players, 100% for glitters (multiplier 20).
Maximum of 3 thieves at a time in the world.
Theft β approaches the glitcher player, teleports through walls, steals all items from chests within a radius of 5 blocks.
Stolen items end up in the TricksterAuctionManager.
The thief is invisible when stealing (the effect is removed later for stability).
Blocking the opening of the thief's inventory.
Disappears when there are no operators online.
Trickster Auction (Tricksterauctionerentity) A peaceful entity that appears in villages.
The chance of spawn is 10% for fair players, 60% for glitters (multiplier 6).
There is only one auctioneer in the world at a time.
A rainbow name above your head.
Right-clicking opens the TricksterAuctionScreen (GUI).
Shows all the stolen items and the value of the ransom.
TricksterAuctionManager (WorldSavedData)
Stores stolen items linked to the player's UUID.
Persists in the world (persistent).
Methods: addStolenItems, getStolenItems, calculateRansom, redeemItems.
TricksterAuctionScreen (GUI)
A rainbow-colored headline.
Display of items in slots (up to 54).
The purchase price (the sum of the prices of all items).
The "Redeem items" button debits money and returns the items.
Automatic update after theft (optional, can be disabled).
ItemPriceManager
Prices for all vanilla items (ores, ingots, equipment, food, building blocks).
Custom mod items β 10,000 currency.
Unknown items β 500 by default.
Enchanted items β +50% of the price.
Rounding to two digits.
Mechanics of fear (improvements) Team /discai fear toggle β the player can turn off the fear for himself.
When fear is disabled, it is reset to 0, and all changes are blocked.
Checking the fearEnabled in all handlers: FearFromMobsHandler, FearOnDamageHandler, FearTickHandler, ChangeFearPacket, commands /fear set/add.
Ghosts (GhostEntity) β spawn at fear 100 (hallucinations).
Configurable parameters in the config (quantity, cooldown).
Portal improvements The portal frame (NETHER_BRICKS / NETHERRACK) is now destructible (durability 3.0).
When any block of the frame is destroyed, the portal is deactivated (the internal blocks are removed).
The blocks of the portal itself are durable and can be destroyed.
The PortalFrameBreakHandler handler with detailed logging.
Commands /horrorspider enable|disable β enable/disable horror spider spawn (saved in config).
/discai fear toggle β switch fear for yourself.
/discai glitch ... β control of the glitch flag.
All commands have validation and feedback.
Configuration (discai-common.toml) Added new parameters:
horrorSpiderEnabled β spider spawn control.
ghostHallucinationsEnabled, ghostSpawnCount, ghostSpawnCooldownSeconds.
thiefSpawnChance, thiefIntervalTicks.
moneyOverlayEnabled, moneyOverlayX, moneyOverlayY, moneyOverlayOffsetX.
fear_from_mobs.giantAlexWeight, fear_from_mobs.giantFigureWeight.
ancient_city_portal.activationChance.
Fixed and optimized Performance β lags have been eliminated when loading chunks (all handlers have been switched to timers).
Tunnels β when a tunnel block is destroyed, there is a 30% chance of a new tunnel, a cooldown of 5 seconds, alternative material (Crimson Nylium).
Tree distortion β fixed the event (SaplingGrowTreeEvent), added delay and logging.
Teleporting a thief is a safe position (not lava, a solid block).
Data Synchronization β fixed balance synchronization, fear switch.
The auction GUI is for updating the list of items correctly.
Theft β The thief now steals all the items from the chest (previously only one).
The thieves limit is a maximum of 3 thieves in the world.
Random doors β a limit of 100 doors per world.
The ClassCastException error in the commands has been fixed.
Menu registration conflicts have been resolved (only the old Screen is used).
π¦ Dependencies Minecraft Forge 1.20.1 (47.4.16+)
GeckoLib 4.83
TerraBlender-forge-1.20.1-3.0.1.10
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Ncqq4Q9M:Vuq9C60K"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Ncqq4Q9M:Vuq9C60K"
}
