Interface EntityNBTComponent.Builder

All Superinterfaces:
AbstractBuilder<EntityNBTComponent>, Buildable.Builder<EntityNBTComponent>, ComponentBuilder<EntityNBTComponent,EntityNBTComponent.Builder>, ComponentBuilderApplicable, ComponentLike, MutableStyleSetter<EntityNBTComponent.Builder>, NBTComponentBuilder<EntityNBTComponent,EntityNBTComponent.Builder>, StyleSetter<EntityNBTComponent.Builder>
Enclosing interface:
EntityNBTComponent

public static interface EntityNBTComponent.Builder extends NBTComponentBuilder<EntityNBTComponent,EntityNBTComponent.Builder>
An entity NBT component builder.
Since:
4.0.0
  • Method Details

    • selector

      @Contract("_ -> this") @NotNull @NotNull EntityNBTComponent.Builder selector(@NotNull @NotNull String selector)
      Sets the entity selector.
      Parameters:
      selector - the entity selector
      Returns:
      this builder
      Since:
      4.0.0