Interface FrogBehavior
- All Superinterfaces:
CreatureBehavior
,EntityBehavior
,Updatable
Represents Behaviors for a Frog
-
Method Summary
Modifier and TypeMethodDescriptioncroak()
Makes this frog Croak.shootTongue
(Sound tongueSound, Sound eatSound) Makes this frog shoot its tongue.Methods inherited from interface me.gamercoder215.mobchip.ai.behavior.CreatureBehavior
followTemptation, followTemptation, followTemptation, panic, panic, tryFindWater, tryFindWater
Methods inherited from interface me.gamercoder215.mobchip.ai.behavior.EntityBehavior
backupIfClose, backupIfClose, eraseIf, interactWithDoor, jumpOnBed, jumpOnBed, meleeAttack, meleeAttack, moveToWantedItem, moveToWantedItem, moveToWantedItem, passiveIf, reactToBell, ringBell, sleep, socializeAtBell, wakeUp
Methods inherited from interface me.gamercoder215.mobchip.ai.schedule.Updatable
updateActivities
-
Method Details
-
shootTongue
Makes this frog shoot its tongue.This behavior requires
EntityMemory.WALKING_TARGET
andEntityMemory.IS_PANICKING
to be absent,EntityMemory.LOOKING_TARGET
to be registered, andEntityMemory.ATTACK_TARGET
to be present.- Parameters:
tongueSound
- Sound to make when tongue is shoteatSound
- Sound to make when a frog eats something- Returns:
- Result of Behavior
-
croak
Makes this frog Croak.This behavior requires
EntityMemory.WALKING_TARGET
to be absent.- Returns:
- Result of Behavior
-