Interface DenModelRenderEffect

All Known Implementing Classes:
StandardDenModelRenderEffect, TeraCrystalDenModelRenderEffect

public interface DenModelRenderEffect
Data-driven client model effect selection for a raid den base.

Implementations own the model pass setup, allowing raid types to opt into different den materials without the den renderer needing to know about specific raid type ids.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<DenModelRenderEffect>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Renders this model effect using the client render context supplied by the den renderer.
    Gets the registered effect type used to serialize and deserialize this render effect.
  • Field Details

  • Method Details

    • type

      Gets the registered effect type used to serialize and deserialize this render effect.
      Returns:
      The den model render effect type.
    • render

      void render(DenRenderContext context)
      Renders this model effect using the client render context supplied by the den renderer.
      Parameters:
      context - The render context for the den base.