Uses of Interface
net.kyori.adventure.text.EntityNBTComponent
Packages that use EntityNBTComponent
Package
Description
Data for controlling components, their styles, and events.
Component rendering.
-
Uses of EntityNBTComponent in net.kyori.adventure.text
Subinterfaces with type arguments of type EntityNBTComponent in net.kyori.adventure.textModifier and TypeInterfaceDescriptioninterfaceGiven a Minecraft selector, this component reads the NBT of the associated entity and displays that information.interfaceGiven a Minecraft selector, this component reads the NBT of the associated entity and displays that information.static interfaceAn entity NBT component builder.Methods in net.kyori.adventure.text that return EntityNBTComponentModifier and TypeMethodDescriptionstatic EntityNBTComponentCreates a entity NBT component with a position.static EntityNBTComponentComponent.entityNBT(Consumer<? super EntityNBTComponent.Builder> consumer) Creates a entity NBT component by applying configuration fromconsumer.Sets the entity selector. -
Uses of EntityNBTComponent in net.kyori.adventure.text.renderer
Methods in net.kyori.adventure.text.renderer with parameters of type EntityNBTComponentModifier and TypeMethodDescriptionprotected abstract ComponentAbstractComponentRenderer.renderEntityNbt(EntityNBTComponent component, C context) Renders an entity NBT component.protected ComponentTranslatableComponentRenderer.renderEntityNbt(EntityNBTComponent component, C context)