entityNbt
@ApiStatus.Experimental
Appends an entity NBT component with the specified NBT path and builder configuration. Queries and displays NBT data from entities matching a selector.
Return
this component builder for chaining
Parameters
nbt
the NBT path to query from the entity
consumer
the consumer lambda that configures the EntityNBTComponent.Builder (including entity selector)