Interface EntityNBTComponent

All Superinterfaces:
Buildable<EntityNBTComponent,​EntityNBTComponent.Builder>, BuildableComponent<EntityNBTComponent,​EntityNBTComponent.Builder>, Component, ComponentBuilderApplicable, ComponentLike, net.kyori.examination.Examinable, HoverEventSource<Component>, NBTComponent<EntityNBTComponent,​EntityNBTComponent.Builder>, ScopedComponent<EntityNBTComponent>

public interface EntityNBTComponent
extends NBTComponent<EntityNBTComponent,​EntityNBTComponent.Builder>, ScopedComponent<EntityNBTComponent>
An entity NBT component.
Since:
4.0.0
  • Method Details

    • selector

      @NonNull String selector()
      Gets the entity selector.
      Returns:
      the entity selector
      Since:
      4.0.0
    • selector

      @NonNull EntityNBTComponent selector​(@NonNull String selector)
      Sets the entity selector.
      Parameters:
      selector - the entity selector
      Returns:
      an entity NBT component
      Since:
      4.0.0