Interface ModelScaler.Builder

Enclosing interface:
ModelScaler

public static interface ModelScaler.Builder
Builder interface for creating Getters from JSON.
Since:
1.15.2
  • Method Summary

    Modifier and Type
    Method
    Description
    build(@NotNull com.google.gson.JsonElement data)
    Builds a getter from JSON data.
  • Method Details

    • build

      @Nullable @Nullable ModelScaler.Getter build(@NotNull @NotNull com.google.gson.JsonElement data)
      Builds a getter from JSON data.
      Parameters:
      data - the JSON data
      Returns:
      the getter, or null if invalid
      Since:
      1.15.2