use of simplepets.brainsynder.api.entity.passive.IEntityPandaPet in project SimplePets by brainsynder-Dev.
the class PandaSit method onLeftClick.
@Override
public void onLeftClick() {
if (entityPet instanceof IEntityPandaPet) {
IEntityPandaPet panda = entityPet;
panda.setScared(!panda.isScared());
}
}
use of simplepets.brainsynder.api.entity.passive.IEntityPandaPet in project SimplePets by brainsynder-Dev.
the class PandaPlay method onLeftClick.
@Override
public void onLeftClick() {
if (entityPet instanceof IEntityPandaPet) {
IEntityPandaPet panda = entityPet;
panda.setPlaying(!panda.isPlaying());
}
}
use of simplepets.brainsynder.api.entity.passive.IEntityPandaPet in project SimplePets by brainsynder-Dev.
the class PandaType method onLeftClick.
@Override
public void onLeftClick() {
if (entityPet instanceof IEntityPandaPet) {
IEntityPandaPet panda = entityPet;
panda.setGene(PandaGene.getNext(panda.getGene()));
}
}
use of simplepets.brainsynder.api.entity.passive.IEntityPandaPet in project SimplePets by brainsynder-Dev.
the class PandaSleep method onLeftClick.
@Override
public void onLeftClick() {
if (entityPet instanceof IEntityPandaPet) {
IEntityPandaPet panda = entityPet;
panda.setLyingOnBack(!panda.isLyingOnBack());
}
}
use of simplepets.brainsynder.api.entity.passive.IEntityPandaPet in project SimplePets by brainsynder-Dev.
the class PandaType method onRightClick.
@Override
public void onRightClick() {
if (entityPet instanceof IEntityPandaPet) {
IEntityPandaPet panda = entityPet;
panda.setGene(PandaGene.getPrevious(panda.getGene()));
}
}
Aggregations