Andrei Caramida

make the scarriest mod with vemon in minecraft

Kodari AI
KodariOct 21 at 5:35 pm 1
VenomousHorror
VenomousHorror transforms Minecraft into a terrifying survival nightmare. This mod introduces a new venom mechanic that infects players and creatures, causing hallucinations, distorted vision, and gradual health decay. The infection spreads through new venomous creatures, including the Venom Spider and the Venomous Horror boss. Players must craft antidotes from rare plants and manage their sanity meter, which decreases when near venom sources. The mod adds eerie sound effects, dark ambient lighting, and visual distortion effects that intensify as venom levels rise. New venom-infused weapons and armor provide offensive and defensive options, while a corruption system affects the environment, turning forests into twisted, toxic wastelands. The ultimate goal is to survive the venom apocalypse and cleanse the land using the legendary Purifier artifact.

Plan:

  1. Make a small survival-friendly Venomous Dread mod that makes spider attacks frighteningly venomous.

  2. Verify the 26.3 event and effect APIs directly from the mounted source.

  3. Create the initializer, mod metadata, and Gradle settings.

Created Venomous Dread for Minecraft 26.3. Naturally spawning spiders and cave spiders now inflict Poison II for 8 seconds and Darkness for 4 seconds when they hit—watch out in caves and at night.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
settings.gradle
Code
5 91
src/main/java/com/kodari/venomousdread/VenomousDread.java
package com.kodari.venomousdread;

import net.fabricmc.api.ModInitializer;
import net.fabricmc.fabric.api.entity.event.v1.ServerLivingEntityEvents;
import net.minecraft.world.damagesource.DamageSource;
import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.effect.MobEffects;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.entity.monster.spider.Spider;

public final class VenomousDread implements ModInitializer {
	@Override
	public void onInitialize() {
		ServerLivingEntityEvents.ALLOW_DAMAGE.register((LivingEntity victim, DamageSource source, float amount) -> {
			if (amount > 0.0F && source.getEntity() instanceof Spider spider) {
				victim.addEffect(new MobEffectInstance(MobEffects.POISON, 20 * 8, 1), spider);
				victim.addEffect(new MobEffectInstance(MobEffects.DARKNESS, 20 * 4), spider);
			}

			return true;
		});
	}
}