Interface AstralModel

All Known Implementing Classes:
ModelMixin

public interface AstralModel
Extends Model.
Since:
1.7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    astral$addCustomJson(String key, com.google.gson.JsonElement element)
    Adds a custom JSON entry to this model.
    void
    astral$addCustomJson(Map<String,com.google.gson.JsonElement> map)
    Adds a custom JSON entry to this model.
    net.minecraft.data.client.Model
    Copies the model.
  • Method Details

    • astral$addCustomJson

      void astral$addCustomJson(String key, com.google.gson.JsonElement element)
      Adds a custom JSON entry to this model.
      Parameters:
      key - The JSON key.
      element - The JSON value.
      Since:
      1.7.0
    • astral$addCustomJson

      void astral$addCustomJson(Map<String,com.google.gson.JsonElement> map)
      Adds a custom JSON entry to this model.
      Parameters:
      map - The JSON elements.
      Since:
      1.7.0
    • astral$copy

      net.minecraft.data.client.Model astral$copy()
      Copies the model.
      Returns:
      A copy of this model.
      Since:
      1.7.0