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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DenModelRenderEffect> -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(DenRenderContext context) Renders this model effect using the client render context supplied by the den renderer.type()Gets the registered effect type used to serialize and deserialize this render effect.
-
Field Details
-
CODEC
-
-
Method Details
-
type
DenModelRenderEffectType<?> type()Gets the registered effect type used to serialize and deserialize this render effect.- Returns:
- The den model render effect type.
-
render
Renders this model effect using the client render context supplied by the den renderer.- Parameters:
context- The render context for the den base.
-