Spigot Plugin Development - 73 - Creating NPCs with NMS and Packets
In this episode of the Spigot MC Plugin series, I show you how to create an NPC with NMS and Packets. First, we make a fake player with a skin. Then, we give that NPC some items and a helmet. Finally, we make it look at you when you move around it. #Spigot #SpigotTutorial #MinecraftNMS
Brain.fm 20% off: http://brain.fm/kodysimpson?via=kodysimpson
My code: https://github.com/Spigot-Plugin-Development-Tutorial/creating-npcs
BigVirusBoi: https://github.com/BigVirusBoi/ObamaNPC
Join the Community! - https://discord.gg/cortexdev
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've tried it and it's awesome! https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=kodysimpson&utm_content=description-only
Want to Support the Channel?
Become a Member: https://www.youtube.com/channel/UC_LtbK9pzAEI-4yVprLOcyA/join
or: https://paypal.me/kodysimpson?locale.x=en_US
My Socials:
Github: https://github.com/KodySimpson
Instagram: https://www.instagram.com/kody_a_simpson/
Twitter: https://twitter.com/kodysimp
0:00 - Introduction
2:00 - Brain.fm ad
3:57 - Creating a basic NPC
11:12 - Spawning the NPC
19:38 - Windows 11
20:18 - Water bottle and Health Cells
20:29 - Test #1 (oops)
21:57 - Test #2
23:35 - Setting the location
25:14 - Test #3
25:44 - Setting the skin
30:38 - Test #4
31:16 - Setting the items
38:16 - Making the NPC look at you
45:29 - Shoutout to BigVirusBoi
46:16 - Still making the NPC look at you
50:56 - Small test
51:36 - Outro (i forgor)
More Videos coming soon.
Leave a comment for any future video suggestions.