add

fun add(entry: TagEntry): TagBuilder<T>

Add a TagEntry to this tag.

Return

this builder

Parameters

entry

the tag entry


fun add(id: ResourceLocation): TagBuilder<T>

Add an element to this tag.

Return

this builder

Parameters

id

the resource location to add


fun add(key: ResourceKey<T>): TagBuilder<T>

Add an element to this tag.

Return

this builder

Parameters

key

the resource key to add