dilo frill overlay

This commit is contained in:
2026-06-01 13:33:48 -04:00
parent 60731e1bca
commit 8a5b5f0834
2 changed files with 6 additions and 2 deletions
@@ -149,7 +149,11 @@ public class DilophosaurusEntity extends DinoEntityBase implements GeoEntity {
return state.setAndContinue(RawAnimation.begin().then("anim.dilophosaurus.idle", Animation.LoopType.LOOP));
}));
controllers.add(new AnimationController<>(this, "attackController", 5, state -> PlayState.STOP)
controllers.add(new AnimationController<>(this, "frillOverlayController", 5, state ->
state.setAndContinue(RawAnimation.begin().then("anim.dilophosaurus.frill.overlay", Animation.LoopType.LOOP))));
controllers.add(new AnimationController<>(this, "attackController", 5, state -> PlayState.STOP)
.triggerableAnim("attack", RawAnimation.begin().then("anim.dilophosaurus.attack", Animation.LoopType.PLAY_ONCE)));
controllers.add(new AnimationController<>(this, "mouthController", 5, state -> PlayState.STOP)