
EasyEntityLib
a simple api for coding entities
About this Mod
EasyEntityLib
A simple and powerful library for creating Minecraft Forge 1.20.1 entities with minimal boilerplate.
EasyEntityLib is designed for mod developers who want to bypass the repetitive setup tasks associated with custom entities. From quick mob creation with a line of code to setting up complex, tamable, and player-rideable mechs, this library makes entity development easier, faster, and more fun.
✨ Features
1. Fast Entity Registration
EasyEntityLib significantly cuts down on the standard boilerplate required for registering custom mobs.
Simple Mobs in a Lambda: Create basic mobs effortlessly using
registerSimpleMob. You can define all AI, attributes, and per-tick logic using simple, clean lambda expressions right at registration.Custom Class Support: Use
registerAdvancedMobwhen you need your own custom entity classes. The library still handles tedious boilerplate like attribute and renderer registration behind the scenes.Fluent Attributes: Utilize the
MobAttributesbuilder for a quick, readable setup of key stats like Max Health, Movement Speed, Attack Damage, Armor, and more.
2. Simple AI DSL (Domain Specific Language)
Effortlessly define mob behavior without complex goal setup.
- Quick Goal Addition: Add common pathfinder and target goals—such as random stroll, look around, melee attack, and targeting players or villagers—with a single method call using the built-in
SimpleAIutility.
3. Tameable & Rideable Mob Framework (The Mech/Golem Base)
The library provides a powerful TameableRideableMob base class, perfect for custom vehicles, companions, or golems.
Taming Logic: Mobs are tamed on first interaction, and only the owner can ride them afterward, ensuring secure companionship.
Full Rider Control: While riding, the owner gains control over the mob's movement (including custom jump/flight logic) via a built-in AI Goal and networking system.
Owner-Triggered Ranged Attacks: Easily implement ranged combat by having your rideable entity implement the
IRangedAttackMobinterface. The owner can instantly trigger the custom attack while riding by pressing the dedicated R keybind.
Available Versions
How to Install EasyEntityLib on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.20.1).
Install Mod
Open the mod browser in the dashboard and search for "EasyEntityLib". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.20.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
EasyEntityLib server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.
Is EasyEntityLib compatible with forge?
EasyEntityLib officially supports forge for Minecraft 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with EasyEntityLib – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if EasyEntityLib consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install EasyEntityLib with just one click on your server.