1

Item IDs

MikeBarfly 8/9/20 8:28 pm
106
8/10/2020 1:24 pm
I'm using a plugin, not a mod to create custom items. My understanding is mods may use IDs that aren't in use in mc, but plugins have to use existing IDs. is that correct?

The reason I ask is, what IDs can I use so I can give, buy, sell these custom items and use them without old item durability/stats?
Posted by
MikeBarfly
Level 2 : Apprentice Miner
8

  Have something to say?

JoinSign in

3

Notso9bit
08/10/2020 8:09 am
Level 26 : Expert Network
Plugins that create custom items used custom durability to identify a custom item from default minecraft items. However since 1.14, minecraft allows you to set a Custom Model NBT tag, which seperates the item from default minecraft items without the need to change item durability.
2
MikeBarfly
08/10/2020 12:19 pm
Level 2 : Apprentice Miner
Any specific rules to naming the tag? Can it also be the new item name? Also, will it keep the newly assigned durability?
1
Stalkative
08/10/2020 1:24 pm
Level 29 : Expert Geek
CustomModelData is simply a number. Make sure to choose a fairly unique number if you want to avoid compatibility issues. It has no effect on durability whatsoever so that shouldn't be a problem.
1

Welcome