olle bob

a mod that adds emperor penguins, chameleons, ring tailed lemurs, koalas, kangaroos, red panda, schimpanzees, orangutans, gorillas, dromedarys, elephants, rhinos, white rhinos, hippos, giraffes, zebras, crocodiles, blue whales, racoons, skunks, wildebeests, baboons, gazelles, meerkats. toucans, great white sharks, alligators, caymans, wombats, black widows, quokkas, sugar gliders, nmagpies, crows, pigeons, ducks, platypuses, echidnas, crabs, lions, tigers, leopards, pumas, panthers, cheetas, snow leopard, white tiger, fairy penguin, capuchin monkey, propobscis monkeys, howler monkeys, capybaras and tapires.

Kodari AI
KodariOct 30 at 2:49 pm 17
WildlifeExpansion
Adds over 50 new real-world animals to Minecraft, including emperor penguins, chameleons, koalas, kangaroos, elephants, rhinos, giraffes, zebras, crocodiles, sharks, lions, tigers, leopards, gorillas, orangutans, hippos, meerkats, toucans, wombats, quokkas, and many more. Each creature features custom models, animations, AI behaviors, spawning in appropriate biomes, and unique drops. The mod enhances biodiversity and exploration, bringing vibrant wildlife to the overworld.
  1. Build a shared animated wildlife mob framework and register all 53 species.

  2. Add spawn eggs, survival spawning, names, and mob loot.

  3. Create and export the shared model, then add each species’ texture and wire up the 26.3 project.

The five shared animal rigs are generated and exported. I’m wiring the 53 species to those rigs with biome-based spawning, spawn eggs, names, and survival drops.

Implemented WildRealm with 53 registered wildlife species, natural spawning in tagged biomes, spawn eggs in the Spawn Eggs creative tab, simple roaming behavior, and survival drops. The mobs use group-based idle/walk animations and sounds.

The five generated rig-and-texture families are shared across species, so animals in the same family don’t yet have individually distinct appearances. Spawn eggs are creative-only; the animals themselves spawn naturally in survival.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
gradle.properties
manifest.kod
settings.gradle
Code
87 69,631
src/client/java/com/kodari/wildrealm/client/WildlifeClient.java
package com.kodari.wildrealm.client;

import com.geckolib.model.DefaultedEntityGeoModel;
import com.geckolib.model.GeoModel;
import com.geckolib.renderer.base.GeoRenderState;
import com.geckolib.renderer.GeoEntityRenderer;
import com.kodari.wildrealm.WildlifeEntities;
import com.kodari.wildrealm.WildlifeEntity;
import com.kodari.wildrealm.WildlifeSpecies;
import net.fabricmc.api.ClientModInitializer;
import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry;
import net.minecraft.client.renderer.entity.EntityRendererProvider;
import net.minecraft.client.renderer.entity.state.LivingEntityRenderState;
import net.minecraft.resources.Identifier;

public final class WildlifeClient implements ClientModInitializer {
    @Override
    public void onInitializeClient() {
        WildlifeEntities.all().forEach((species, type) -> EntityRendererRegistry.register(
                type,
                context -> new WildlifeRenderer(context, species)
        ));
    }

    private static final class WildlifeRenderer extends GeoEntityRenderer<WildlifeEntity, LivingEntityRenderState> {
        private WildlifeRenderer(EntityRendererProvider.Context context, WildlifeSpecies species) {
            super(context, new WildlifeGeoModel(species.modelGroup().modelId()));
            withScale(Math.max(0.5f, species.height() / 1.6f));
        }
    }

    private static final class WildlifeGeoModel extends GeoModel<WildlifeEntity> {
        private final String modelId;

        private WildlifeGeoModel(String modelId) {
            this.modelId = modelId;
        }

        @Override
        public Identifier getModelResource(GeoRenderState renderState) {
            return Identifier.fromNamespaceAndPath("wildrealm", "geckolib/models/" + this.modelId + ".geo.json");
        }

        @Override
        public Identifier getTextureResource(GeoRenderState renderState) {
            return Identifier.fromNamespaceAndPath("wildrealm", "textures/entity/" + this.modelId + ".png");
        }

        @Override
        public Identifier getAnimationResource(WildlifeEntity animatable) {
            return Identifier.fromNamespaceAndPath("wildrealm", "geckolib/animations/entity/" + this.modelId + ".animation.json");
        }
    }
}