createNametag

open fun createNametag(@NotNull predicate: @NotNull BonePredicate, @NotNull consumer: @NotNull BiConsumer<RenderedBone, ModelNametag>): Boolean

Creates a nametag for bones matching a predicate.

Return

true if any nametags were created

Since

1.15.2

Parameters

predicate

the bone predicate

consumer

a consumer to configure the nametag