addItemTag

inline fun addItemTag(tagKey: TagKey<Item>, tagBuilder: IntrinsicHolderTagBuilder<Item>.() -> Unit): TagKey<Item>

Add a Item tag definition using an IntrinsicHolderTagBuilder callback.

Return

the passed TagKey

Parameters

tagKey

the tag to create or add to or replace

tagBuilder

a callback on IntrinsicHolderTagBuilder to create the tag