Interface CustomModelDataComponent

All Superinterfaces:
ConfigurationSerializable

@Experimental public interface CustomModelDataComponent extends ConfigurationSerializable
Represents a component which adds custom model data.
  • Method Details

    • getFloats

      @NotNull @NotNull List<Float> getFloats()
      Gets a list of the floats for the range_dispatch model type.
      Returns:
      unmodifiable list
    • setFloats

      void setFloats(@NotNull @NotNull List<Float> floats)
      Sets a list of the floats for the range_dispatch model type.
      Parameters:
      floats - new list
    • getFlags

      @NotNull @NotNull List<Boolean> getFlags()
      Gets a list of the booleans for the condition model type.
      Returns:
      unmodifiable list
    • setFlags

      void setFlags(@NotNull @NotNull List<Boolean> flags)
      Sets a list of the booleans for the condition model type.
      Parameters:
      flags - new list
    • getStrings

      @NotNull @NotNull List<String> getStrings()
      Gets a list of strings for the select model type.
      Returns:
      unmodifiable list
    • setStrings

      void setStrings(@NotNull @NotNull List<String> strings)
      Sets a list of strings for the select model type.
      Parameters:
      strings - new list
    • getColors

      @NotNull @NotNull List<Color> getColors()
      Gets a list of colors for the model type's tints.
      Returns:
      unmodifiable list
    • setColors

      void setColors(@NotNull @NotNull List<Color> colors)
      Sets a list of colors for the model type's tints.
      Parameters:
      colors - new list
    • floats

      @NotNull default @NotNull CustomModelDataComponent floats(@NotNull @NotNull List<Float> floats)
      Sets a list of the custom floats.
      Parameters:
      floats - new list
      Returns:
      this
    • floats

      @NotNull default @NotNull CustomModelDataComponent floats(@NotNull @NotNull Float @NotNull ... floats)
      Sets a list of the custom floats.
      Parameters:
      floats - new list
      Returns:
      this
    • flags

      @NotNull default @NotNull CustomModelDataComponent flags(@NotNull @NotNull List<Boolean> flags)
      Sets a list of the custom flags.
      Parameters:
      flags - new list
      Returns:
      this
    • flags

      @NotNull default @NotNull CustomModelDataComponent flags(@NotNull @NotNull Boolean @NotNull ... flags)
      Sets a list of the custom flags.
      Parameters:
      flags - new list
      Returns:
      this
    • strings

      @NotNull default @NotNull CustomModelDataComponent strings(@NotNull @NotNull List<String> strings)
      Sets a list of the custom strings.
      Parameters:
      strings - new list
      Returns:
      this
    • strings

      @NotNull default @NotNull CustomModelDataComponent strings(@NotNull @NotNull String @NotNull ... strings)
      Sets a list of the custom strings.
      Parameters:
      strings - new list
      Returns:
      this
    • colors

      @NotNull default @NotNull CustomModelDataComponent colors(@NotNull @NotNull List<Color> colors)
      Sets a list of the custom colors.
      Parameters:
      colors - new list
      Returns:
      this
    • colors

      @NotNull default @NotNull CustomModelDataComponent colors(@NotNull @NotNull Color @NotNull ... colors)
      Sets a list of the custom colors.
      Parameters:
      colors - new list
      Returns:
      this