cItem: Store custom data
#18
It does. We'd have to add some form of support so that Cuberite or its plugins could indicate the NBT type for specific values, if desired.
I imagine there are two use-cases for custom data:
- implementing stuff that is in Vanilla, such as the spawn eggs etc.
- just using it to store custom value that the plugin can then use
For the first one, we'd need explicit type information, so that vanilla compatibility is achieved. For the second, we don't care, as long as the plugin handles whatever it needs. The question is, do we want both of these use-cases to go through the same storage mechanism, or do we want to separate them?
Reply
Thanks given by:


Messages In This Thread
cItem: Store custom data - by xoft - 11-27-2016, 06:19 AM
RE: Storing custom data in cItem - by xoft - 11-27-2016, 08:13 AM
RE: cItem: Store custom data - by NiLSPACE - 11-27-2016, 08:38 AM
RE: cItem: Store custom data - by xoft - 11-28-2016, 08:04 AM
RE: cItem: Store custom data - by Seadragon91 - 03-23-2017, 08:50 PM
RE: cItem: Store custom data - by NiLSPACE - 03-24-2017, 01:25 AM
RE: cItem: Store custom data - by Seadragon91 - 03-24-2017, 01:29 AM
RE: cItem: Store custom data - by xoft - 03-25-2017, 12:00 AM
RE: cItem: Store custom data - by NiLSPACE - 03-25-2017, 12:07 AM
RE: cItem: Store custom data - by Seadragon91 - 03-25-2017, 12:07 AM
RE: cItem: Store custom data - by xoft - 03-27-2017, 05:13 PM
RE: cItem: Store custom data - by NiLSPACE - 03-28-2017, 05:09 PM
RE: cItem: Store custom data - by xoft - 03-28-2017, 05:11 PM
RE: cItem: Store custom data - by Seadragon91 - 05-22-2017, 02:54 AM
RE: cItem: Store custom data - by coding.solo - 08-27-2017, 02:31 AM
RE: cItem: Store custom data - by peterbell10 - 09-19-2017, 02:04 AM
RE: cItem: Store custom data - by xoft - 09-19-2017, 06:18 PM
RE: cItem: Store custom data - by peterbell10 - 09-20-2017, 01:31 AM
RE: cItem: Store custom data - by xoft - 09-20-2017, 02:30 AM
RE: cItem: Store custom data - by peterbell10 - 09-20-2017, 02:44 AM



Users browsing this thread: 1 Guest(s)