Interface SpellFieldAnchor
- All Known Implementing Classes:
SpellFieldAnchorEntity
public interface SpellFieldAnchor
Contract defining the structural rendering properties of a generated spell field anchor entity.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the unique resource location string for the entity's custom model definition.intRetrieves the total frame count defined for the visual texture animation logic.floatRetrieves the physical scaling scalar applied during the rendering pipeline.Retrieves the unique resource location string for the entity's base visual texture.intRetrieves the duration in ticks applied to each animation frame.intRetrieves the RGB color tint applied across the visual rendering pass.
-
Method Details
-
getVisualTexture
String getVisualTexture()Retrieves the unique resource location string for the entity's base visual texture.- Returns:
- The resource location string.
-
getModelId
String getModelId()Retrieves the unique resource location string for the entity's custom model definition.- Returns:
- The resource location string, or null if no model is defined.
-
getVisualScale
float getVisualScale()Retrieves the physical scaling scalar applied during the rendering pipeline.- Returns:
- The visual scale multiplier.
-
getVisualFrames
int getVisualFrames()Retrieves the total frame count defined for the visual texture animation logic.- Returns:
- The total number of animation frames.
-
getVisualTickRate
int getVisualTickRate()Retrieves the duration in ticks applied to each animation frame.- Returns:
- The number of ticks per frame.
-
getVisualTint
int getVisualTint()Retrieves the RGB color tint applied across the visual rendering pass.- Returns:
- The RGB tint color integer.
-