Interface NBTComponent<C extends NBTComponent<C,​B>,​B extends NBTComponentBuilder<C,​B>>

    • Method Detail

      • nbtPath

        @NotNull
        @NotNull java.lang.String nbtPath()
        Gets the NBT path.
        Returns:
        the NBT path
        Since:
        4.0.0
      • nbtPath

        @Contract(pure=true)
        @NotNull
        C nbtPath​(@NotNull
                  @NotNull java.lang.String nbtPath)
        Sets the NBT path.
        Parameters:
        nbtPath - the NBT path
        Returns:
        an NBT component
        Since:
        4.0.0
      • interpret

        boolean interpret()
        Gets if we should be interpreting.
        Returns:
        if we should be interpreting
        Since:
        4.0.0
      • interpret

        @Contract(pure=true)
        @NotNull
        C interpret​(boolean interpret)
        Sets if we should be interpreting.
        Parameters:
        interpret - if we should be interpreting.
        Returns:
        an NBT component
        Since:
        4.0.0
      • separator

        @Nullable
        @Nullable Component separator()
        Gets the separator.
        Returns:
        the separator
        Since:
        4.8.0
      • separator

        @NotNull
        C separator​(@Nullable
                    @Nullable ComponentLike separator)
        Sets the separator.
        Parameters:
        separator - the separator
        Returns:
        the separator
        Since:
        4.8.0
      • examinableProperties

        @NotNull
        default @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
        Specified by:
        examinableProperties in interface Component
        Specified by:
        examinableProperties in interface net.kyori.examination.Examinable