Package com.goodbird.npcgecko.api
Interface IGeckoModel
-
public interface IGeckoModelRead-only interface for querying the runtime state of a GeckoLib model. Provides access to the model's bone hierarchy after animations have been applied.Useful for inspecting bone transforms, attaching effects to specific model parts, or querying positions of bones at runtime.
- See Also:
IGeckoBone
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IGeckoBonegetBone(String name)Get a bone by its name as defined in the model file.String[]getBoneNames()Get the names of all bones in this model.
-
-
-
Method Detail
-
getBone
IGeckoBone getBone(String name)
Get a bone by its name as defined in the model file.- Parameters:
name- the bone name- Returns:
- the bone interface, or null if no bone with that name exists
-
getBoneNames
String[] getBoneNames()
Get the names of all bones in this model.- Returns:
- array of all bone names
-
-