Links
Tags
Creators
Details
Licensed MIT
Published 3 years ago
Updated 2 months ago
All versions
1.7.5
Release
CustomNPCs 1.7.5last year 3,444
Compatibility
Minecraft: Java Edition
1.21โ1.21.8
1.20.x
Platform
Paper
Changes
New Features:
- 1.21.5 - 1.21.8 support
- NPC Poses
- There are 6 possible poses: Standing, Sitting, Crouching, Swimming, Dying, and Sleeping.
- NPC Nudging
- Nudging is way to move NPCs a little bit at a time to precisely position them. Crouching while scrolling increases the move increment from .05 blocks per slot to .25 blocks per slot scrolled over.
- Native Multi-line Holograms
- Your existing names are automatically converted to the new system
- The Ability to flip NPCs upside down
- This option is accessed in the extra settings menu (Top right comparator)
- The ability to add cooldowns to actions
- The configuration of them is very similar to configuring delay. There is no message for an action being on cooldown.
Bug Fixes
- Fixed the UUID being visible with a teamless approach, which is much more tolerant to other plugins
- Fixed being able to supply textual input to multiple actions at once
- Fixed the sleeping percentage not being respected if it was changed after the server started
- Fixed Elytras not being able to be equiped in the chest slot
- Fixed problems with clicking items in the equipment menu
- Changed the default NPC name to "An unnamed NPC"
- NPC nametags follow a lot smoother
- NPCs no longer have a visible armor stand riding them in spectator mode
- NPCs now ignore spectators and do not look at them
- Fixed importing skins from URLS
- Fixed some issues with the commands library
- Fixed errors with menus on latest paper versions
- Fixed some issues with dependency downloading at runtime (Thanks paper!)
Developer Changes
- The NPC#moveTo(Location) was renamed to NPC#teleport(Location) as moveTo is reserved for other movement related features coming later :)
- The Settings class now has a method to import a player's skin directly from a player object
- NPCs no longer have "names", but rather an array of "lines". The get/set name methods are now deprecated and just affect the top line.
- Poses can be changed in the settings object
- Added a "facing" system, to be more consistent with how NPC yaw and pitch are handled.
- Custom actions should call the
Action#activateCooldown(UUID)in therperformmethod.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ptXUpAzg:4AXiIsxB"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ptXUpAzg:4AXiIsxB"
}

