@minecraft
    Preparing search index...

    Class PlayerUseNameTagAfterEventBeta

    Contains information related to when a player successfully names an Entity with a named Name Tag item.

    Index

    Properties

    entityNamed: Entity

    The entity that was named by the player.

    newName: string

    The new name that the player has given to the entity.

    player: Player

    Handle to the player that used the name tag.

    previousName?: string

    The previous name of the entity before the player used the name tag. This will be undefined if the entity was not previously named.