NMS API
NMS-API es una API simple para controlar la IA de mobs usando NMS.
¿Qué hace?
- Borrar y reemplazar IA de cualquier mob
- Agregar comportamientos personalizados
- Crear rutas, ataques y objetivos
- Compatible con Paper/Spigot 1.20+
Funciones
NMS-API es una API simple para controlar la IA de mobs usando NMS.
¿Qué hace?
- Borrar y reemplazar IA de cualquier mob
- Agregar comportamientos personalizados
- Crear rutas, ataques y objetivos
- Compatible con Paper/Spigot 1.20+
Funciones
- clearGoals()
- → Borra toda la IA original del mob
- withFloat(int priority)
- → Mantiene al mob flotando (agua/lava)
- withAttackDamage(double damage)
- → Define el daño de ataque del mob
- withMeleeAttack(int priority, double speed, boolean pauseWhenIdle)
- → Agrega ataque cuerpo a cuerpo
- withMoveTowardsTarget(int priority, double speed, float distance)
- → Hace que el mob avance hacia su objetivo
- withWaypointPatrol(int priority, List<Location> waypoints, double speed)
- → Patrulla entre múltiples puntos en bucle
- withRandomStroll(int priority, double speed)
- → Movimiento aleatorio
- withFleeFromPlayers(int priority, float distance, double walkSpeed, double sprintSpeed)
- → Hace que el mob huya de jugadores
- withNearestPlayerTarget(int priority, boolean mustSee)
- → Ataca al jugador más cercano
- withHurtByTarget(int priority, Class<?>... ignored)
- → Responde atacando a quien lo daña
- withLookAtNearestPlayer(int priority, float distance)
- → Hace que el mob mire al jugador cercano
- withRandomLookaround(int priority)
- → Hace que el mob mire alrededor aleatoriamente
- withFollowRange(double range)
- → Define el rango de detección de objetivos
- addGoal(int priority, Goal goal)
- → Agrega un Goal NMS personalizado
- addTargetGoal(int priority, TargetGoal goal)
- → Agrega un TargetGoal NMS personalizado
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
NMS-API 1.21.8 - 1.21.11 is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 8 times (via Spigot). Download it and open it directly in the game.