Ghost Op ghost

MOD NAME: AbdullahMobs (mod ID: abdullahmobs) Minecraft Java Edition 26.3, Fabric.

MOB: LION

Overview The lion is a hostile mob. When it sees a player, it attacks. It is also a predator that hunts animals, like a real lion.

Stats

  • Health: 55 (27.5 hearts)
  • Damage: 5 hearts (10 damage points) against a target wearing no armor or protection. The jump attack (attack_jump) deals MORE than this.

Attack behavior

  1. The lion spots a target (a player or prey animal).
  2. It goes into its hunting pose (idle_agressive), standing in place in a pouncing position. It is NOT invisible.
  3. It walks slowly toward the target while staying in the pounce pose (walk_agressive).
  4. When it gets close to the target, it performs a jump attack (attack_jump). This does MORE damage than the paw attacks.
  5. It also attacks with paw swipes: left paw (attack_left) and right paw (attack_right), each dealing 5 hearts to an unarmored target.

Prey (animals the lion hunts) The lion also attacks the animals a real lion would eat, using the ones that exist in Minecraft:

  • Pigs
  • Cows (and mooshrooms)
  • Sheep
  • Horses, donkeys and mules (the closest thing to zebras)
  • Llamas
  • Goats
  • Chickens
  • Rabbits

It uses the same hunting behavior on them as on players: hunting pose, slow stalk, jump attack, paw swipes.

The lion does not attack other predators or other hostile mobs.

Animations and when they play

  • calm: standing still and doing nothing
  • idle: the default standing loop
  • walk: normal walking
  • hurt: plays when the lion is hit
  • death: plays when the lion dies
  • lay_start: the lion is going to sleep
  • lay_idle: the lion is sleeping
  • lay_finish: the lion is waking up
  • idle_agressive: the hunting pose, a pounce held in place
  • walk_agressive: stalking toward the target in the pounce pose
  • attack_jump: the strong leaping attack after getting close
  • attack_left: left paw attack
  • attack_right: right paw attack

(Animation names are spelled exactly this way, including "agressive" with one g.)

Drops When the lion dies, it drops:

  • Lion meat (food)
  • Lion skin (crafting material)

Lion skin armor

  • A full armor set (helmet, chestplate, leggings, boots) is crafted from lion skin.
  • If a player wears at least ONE piece of this armor, lions do not attack that player, even if the player walks right up to them.
  • The lions only attack that player if the player attacks a lion first.
  • This peace rule applies to players only. Lions still hunt prey animals normally.

Spawn egg and command

  • The lion has a spawn egg.
  • The lion can be summoned with a command: /summon abdullahmobs:lion
Kodari AI
KodariOct 22 at 6:12 pm 33
LionPredatorMob
Adds a hostile lion mob to Minecraft that hunts players and prey animals like pigs, cows, sheep, horses, llamas, goats, chickens, and rabbits. The lion uses a hunting pose, slow stalk, jump attack, and paw swipes. It drops lion meat and lion skin, which crafts a full armor set that makes lions peaceful toward the wearer. Includes a spawn egg and summon command.
  1. Create and export the lion model with its named animation clips.

  2. Add Fabric entity registration, survival spawning, and target-specific hunting/combat AI.

  3. Add lion drops, food, skin armor, recipes, spawn egg, command support, and names.

The lion’s GeckoLib assets and six item icons are generated. I’m wiring them into Fabric’s entity, combat, and item registries next.

Created AbdullahMobs with a custom animated lion, Fabric registration, and the lion-skin equipment set.

  • The lion spawns naturally in savannas at night and hunts players and the specified animals—not other hostile mobs. Paw swipes deal 10 damage; the jump attack deals 14.

  • Wearing any lion-skin armor piece protects a player unless that player has attacked the lion. The armor uses leather-tier stats and can be repaired with leather.

  • Lions drop raw lion meat and lion skin. Craft the armor from skins: helmet 5, chestplate 8, leggings 7, boots 4.

  • Craft a spawn egg with 1 egg and 4 gold nuggets, or summon the lion with /summon abdullahmobs:lion.

Ghost Op ghost

i dont like the model take this pic for reference

Kodari AI
KodariOct 23 at 4:16 am 8

Updated the lion to match your reference: a compact golden-tan body, short sturdy legs, and a large dark-brown blocky mane framing its face. Recreated its animation set after reshaping the model.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
45 51,926
src/client/java/com/abdullahmobs/client/AbdullahMobsClient.java
package com.abdullahmobs.client;

import com.abdullahmobs.registry.ModEntities;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry;

public final class AbdullahMobsClient implements ClientModInitializer {
    @Override
    public void onInitializeClient() {
        EntityRendererRegistry.register(ModEntities.LION, LionRenderer::new);
    }
}