use of de.Keyle.MyPet.skill.skills.BehaviorImpl in project MyPet by xXKeyleXx.
the class EntityMyVex method doMyPetTick.
@Override
protected void doMyPetTick() {
super.doMyPetTick();
BehaviorImpl skill = getMyPet().getSkills().get(BehaviorImpl.class);
Behavior.BehaviorMode behavior = skill.getBehavior();
if (behavior == Behavior.BehaviorMode.Aggressive) {
if (!isAggressive) {
isAggressive = true;
this.updateVisuals();
}
} else {
if (isAggressive) {
isAggressive = false;
this.updateVisuals();
}
}
}
use of de.Keyle.MyPet.skill.skills.BehaviorImpl in project MyPet by xXKeyleXx.
the class EntityMyEnderman method doMyPetTick.
@Override
protected void doMyPetTick() {
super.doMyPetTick();
BehaviorImpl skill = getMyPet().getSkills().get(BehaviorImpl.class);
Behavior.BehaviorMode behavior = skill.getBehavior();
if (behavior == Behavior.BehaviorMode.Aggressive) {
if (!getMyPet().isScreaming()) {
getMyPet().setScreaming(true);
}
} else {
if (getMyPet().isScreaming()) {
getMyPet().setScreaming(false);
}
}
}
use of de.Keyle.MyPet.skill.skills.BehaviorImpl in project MyPet by xXKeyleXx.
the class EntityMyBee method doMyPetTick.
@Override
protected void doMyPetTick() {
super.doMyPetTick();
BehaviorImpl skill = getMyPet().getSkills().get(BehaviorImpl.class);
Behavior.BehaviorMode behavior = skill.getBehavior();
if (behavior == Behavior.BehaviorMode.Aggressive) {
if (!isAngry) {
isAngry = true;
this.updateVisuals();
}
} else {
if (isAngry) {
isAngry = false;
this.updateVisuals();
}
}
}
use of de.Keyle.MyPet.skill.skills.BehaviorImpl in project MyPet by xXKeyleXx.
the class EntityMyEnderman method doMyPetTick.
protected void doMyPetTick() {
super.doMyPetTick();
BehaviorImpl skill = getMyPet().getSkills().get(BehaviorImpl.class);
Behavior.BehaviorMode behavior = skill.getBehavior();
if (behavior == Behavior.BehaviorMode.Aggressive) {
if (!getMyPet().isScreaming()) {
getMyPet().setScreaming(true);
}
} else {
if (getMyPet().isScreaming()) {
getMyPet().setScreaming(false);
}
}
}
use of de.Keyle.MyPet.skill.skills.BehaviorImpl in project MyPet by xXKeyleXx.
the class EntityMyEnderman method doMyPetTick.
@Override
protected void doMyPetTick() {
super.doMyPetTick();
BehaviorImpl skill = getMyPet().getSkills().get(BehaviorImpl.class);
Behavior.BehaviorMode behavior = skill.getBehavior();
if (behavior == Behavior.BehaviorMode.Aggressive) {
if (!getMyPet().isScreaming()) {
getMyPet().setScreaming(true);
}
} else {
if (getMyPet().isScreaming()) {
getMyPet().setScreaming(false);
}
}
}
Aggregations