Alejandro

Create a mod featuring a red ghost that has two hands (but no arms); it should float toward you whenever it spots you and strike you repeatedly once it gets close. Include a similar yellow ghost that removes your hearts—specifically the permanent hearts provided by vanilla Minecraft—though these should be rarer than the red ones. These ghosts can only be defeated using a special weapon called the "Limbo Sword." Also, create a "Limbo" dimension: it should resemble a ruined castle and contain no valuable loot. The surrounding area should feature black water that drains your health. Include a trident that allows you to move through this water. Within this dimension, you should be able to find "heart" items that act as food and grant you extra hearts—which, incidentally, can also be removed by the yellow ghost.

Kodari AI
KodariNov 7 at 3:12 am 16
LimboGhosts
Adds a Limbo dimension resembling a ruined castle with black water that drains health. Two ghost mobs spawn there: red ghosts with two hands but no arms that float toward and repeatedly strike players, and rarer yellow ghosts that remove permanent hearts. Ghosts are only killable with the Limbo Sword. A Limbo Trident enables water movement. Heart items found in the dimension act as food and grant extra hearts, which yellow ghosts can remove.
  1. Create matching red and yellow ghost models with detached hands and no arms.

  2. Implement both ghosts, their behaviors, and the Limbo Sword.

  3. Add heart items and the permanent-heart effects.

  4. Build the Limbo dimension, black water, and traversal trident.

Created the Limbo Fabric mod with the red and rarer yellow ghosts, their custom models, and a Limbo Sword that is required to damage them. The yellow ghost removes one heart granted by the Heart item when it lands a hit.

  • Survival access: Craft the Limbo Sword from an echo shard, a diamond, and a stick; right-click it to enter or leave Limbo.

  • Limbo: A dark, flooded dimension with a ruined castle, no ore generation, and a chest containing only Hearts and a Limbo Trident.

  • Black water: Drains health while you are submerged without the Limbo Trident in your main hand. Holding the trident protects you and improves movement through water.

  • Hearts: Eat them to gain a permanent extra heart, heal, and restore hunger. They’re found in the castle chest.

  • Ghosts: Spawn naturally in the Overworld and Limbo; red ghosts are more common. Both have no-drop loot tables.

The heart, trident, and yellow spawn egg use vanilla icon textures; custom texture generation was unavailable.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
43 22,317
src/client/java/com/kodari/limbo/client/LimboClient.java
package com.kodari.limbo.client;

import com.kodari.limbo.ModEntities;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry;

public class LimboClient implements ClientModInitializer {
    @Override
    public void onInitializeClient() {
        EntityRendererRegistry.register(ModEntities.RED_GHOST,
                context -> new LimboGhostRenderer(context, ModEntities.RED_GHOST));
        EntityRendererRegistry.register(ModEntities.YELLOW_GHOST,
                context -> new LimboGhostRenderer(context, ModEntities.YELLOW_GHOST));
    }
}