← ClaudeAtlas

minecraft-entities-mobslisted

Adding entities and mobs to a Minecraft mod on Fabric or NeoForge. Covers EntityType registration and dimensions, attribute registration, goal-based and brain-based AI, natural spawn rules and spawn eggs, entity data synchronisation to clients, and the client-side renderer and model layer split. Use when adding a mob, projectile or vehicle, or when an entity is invisible, immediately dies, never spawns, or crashes the dedicated server.
ibrohim1234567881717/game-dev-ai-skills · ★ 0 · AI & Automation · score 71
Install: claude install-skill ibrohim1234567881717/game-dev-ai-skills
# Minecraft Entities and Mobs ## Purpose An entity is the most split-brained thing a mod can add. Its `EntityType` and logic are common code; its renderer, model and layer definition are client-only; its attributes are registered through a loader-specific hook; its natural spawning is a separate registration again; and any state the client needs to draw must be explicitly synchronised. Each of those is a different failure when omitted — invisible entity, instant death, never spawns, dedicated server crash. This skill lays out all of them, per loader, and where the client/server line runs. ## When to use - Adding a mob, an animal, a boss, a projectile, a thrown item or a vehicle. - The entity spawns but is invisible, or renders as a white box or a shadow. - The entity spawns and dies immediately, or has zero health. - The entity never spawns naturally despite spawn rules being present. - The dedicated server crashes at load with an error naming a renderer or model. - Client and server disagree about an entity's state — an animation that never plays, a flag the client cannot see. ## When NOT to use - The loader, version and mappings are unresolved. Run `minecraft-project-conventions` first. - The work is purely visual — a custom model format, animation, or a render layer question. Use `minecraft-rendering-particles`. - Where the mob is allowed to exist by biome. Biome-side spawn additions are in `minecraft-worldgen`; this skill covers the entity's own spawn predic