Ep10. Custom Items & Persistent Metadata - Minecraft Plugin Development
ฝัง
- เผยแพร่เมื่อ 20 ต.ค. 2024
- Create any item with custom name, lore, enchants, glowing effect, or any other property and use invisible "metadata" called persistent data container added in Minecraft 1.14+ to mark your item and connect it with custom behavior in the game.
Even after /reload or restart, persistent containers will keep your invisible tag data and do not require NMS, making it very easy to save custom invisible data to tile blocks, entities, signs, furnaces or even items.
🧠 FULL Java + Bukkit/Spigot/Paper training ➡ mineacademy.or...
Welcome to Minecraft plugin development tutorial series! In this episode, we'll cover:
Custom items - How to create a custom ItemStack with name, lore, enchants, damage, data value, glow or any other property.
Persistent data containers - How to store invisible data permanently on entities, signs, furnaces and items without NMS and without losing it on server reload or restart.
📖 Blog post link + source: mineacademy.or...
🙋♂️ Need help? Ask in our Discord community:
mineacademy.or...
👋🏼 About Me
Hi! My name is Matej Pacan and I'm a Minecraft developer since 2013.
I'm the author of plugins like ChatControl, Boss, CoreArena which got over 700,000+ downloads, my own Minecraft network attracted 30,000+ players and I taught 2,000+ people how to do the same by creating MineAcademy.org training programs.
My only hope is that one day some of you will learn enough from my videos to see an exciting opportunity in the IT space and build a Minecraft server and ultimately a life you love.
🧠 FULL Java + Bukkit/Spigot/Paper training ➡ mineacademy.or...
#minecraft #spigot #minecraftplugin #java
just discovered your channel today, really happy to see that there are becoming more minecraft plugin youtubers. This looks great, and I look forward to learning more from you!
nice video, i like that you do free tutorials, I don't have enough money 😂😂
Hi can you make a video where you explain how to run the server directly into intellij?
It's here: th-cam.com/video/BIUzbT7XVtw/w-d-xo.html
Cool man
:D
does this work in minecraft 1.8 or old versions like that
Custom items yes, persistent metadata no but you can save them together with the uuid of the entity into a yml file or a database and make your own system
Soooo, nbt tags and metadata disappear when reloading ?!
NBT tags stay when reloading. Metadata (player#setMetadata) will disappear when reloading.
Bedrock edition has a simpler solution, but java is still more powerful.
Are contacting me