addCustomData

public void addCustomData(@NotNull() NamespacedKey namespacedKey, Object object)

This is used for other plugins to register custom data into a boss for their own tracking

Parameters

namespacedKey

The key other authors want to use for their data,

object

The object to store. Can be null if you just want to "tag" the entity and check if it has the data later.