Interface DenBeamRenderEffect
- All Known Implementing Classes:
DynamaxDenBeamRenderEffect,NoDenBeamRenderEffect,TeraDenBeamRenderEffect
public interface DenBeamRenderEffect
Data-driven client beam effect selection for a raid den.
The effect is stored in raid type render options so datapacks can choose the den beam presentation without the client renderer checking for specific raid type ids.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DenBeamRenderEffect> -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(DenRenderContext context) Renders this beam 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
DenBeamRenderEffectType<?> type()Gets the registered effect type used to serialize and deserialize this render effect.- Returns:
- The den beam render effect type.
-
render
Renders this beam effect using the client render context supplied by the den renderer.- Parameters:
context- The render context for the active den beam.
-