TM7-minecraft

make a mod called JEFFREY basically the mob called JEFFREY have's infinity hearts meaning it cant die but it still haves a damage tracker so basically its like a cat i sent image files for jeffrey but it can turn evil you it gets upset by you hurting it bulling it ( yes if your in the 40 block ratio it can chat with you) or it takes 12 damage in 1 day you cant set your spawn point and if its night and you try to sleep it will appear if you deal 40 damage it will disappear and it will appear in 2-3 days behind you and say hi friend you can also make it dissapear by giving him 32 cookies or 2 stacks of sticks if it sleeps in your bed it haves a 45% chance of giving you a 10 enderpearls a 20% of a cat spawn egg 15% of a 10 blaze powder a 15 of 2 cat spawn eggs and last but not least a 4.5% chance of a eye of ender oh end a 0.5% of 2 eyes of ender to make it chat you need to find it it will spawn 20-40 blocks from spawn if your 2 blcoks away from it and say hi yiu unclock him he also defends you

2 images attached
Kodari AI
KodariJul 5 at 1:57 am 75

Building Jeffrey — a persistent, unkillable cat-like companion mob with day-based damage tracking, an evil/friendly state machine, proximity chat, bed-sleep loot rewards, spawn-point/sleep interference, and a disappear/return cycle. Using Cardinal Components for durable per-player state (damage counters, unlock status, evil flag, reappear timers) since this needs to survive restarts.

Note: I can’t embed the cat images you sent as actual PNG binary files through this tool — you’ll need to drop jeffrey.png and jeffrey_evil.png into src/main/resources/assets/jeffrey/textures/entity/ yourself (64x64 texture, matching the model layout below) or the entity will render with a missing-texture placeholder.

Jeffrey
A Fabric mod adding Jeffrey, an unkillable cat-like companion with a persistent damage tracker. Jeffrey spawns near new players, unlocks when greeted up close, and defends his owner. Abuse him (12+ damage/day) and he turns evil; deal 40 total damage and he vanishes, returning in 2-3 days to say hi. Feed him 32 cookies or 128 sticks to peacefully dismiss him. He blocks spawn-point setting, interrupts sleep at night by appearing, chats within 40 blocks, and sleeping near your bed at night has a chance to reward ender pearls, blaze powder, cat eggs, or eyes of ender.

Covers: infinite health with damage tracking, 12dmg/day → evil, 40 total dmg → vanish + return in 2-3 days (“hi friend”), 32 cookies/128 sticks → peaceful dismissal, “hi”/“hello” within 2 blocks unlocks him, 40-block proximity chat, defends owner when attacked, bed-sleep loot table matching your percentages, and blocking spawn-point setting / sleep at night (he appears instead). Add your texture PNGs to assets/jeffrey/textures/entity/ to finish the look.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
18 801
src/client/java/net/jeffreymod/JeffreyModClient.java
package net.jeffreymod;

import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.rendering.v1.EntityModelLayerRegistry;
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry;
import net.jeffreymod.client.render.JeffreyModel;
import net.jeffreymod.client.render.JeffreyRenderer;
import net.jeffreymod.entity.ModEntities;
import net.minecraft.client.render.entity.model.EntityModelLayer;
import net.minecraft.util.Identifier;

public class JeffreyModClient implements ClientModInitializer {

    public static final EntityModelLayer JEFFREY_LAYER = new EntityModelLayer(
        Identifier.of(JeffreyMod.MOD_ID, "jeffrey"), "main");

    @Override
    public void onInitializeClient() {
        EntityModelLayerRegistry.registerModelLayer(JEFFREY_LAYER, JeffreyModel::getTexturedModelData);
        EntityRendererRegistry.register(ModEntities.JEFFREY, JeffreyRenderer::new);
    }
}