本文整理汇总了Java中com.dsh105.echopet.compat.api.entity.type.nms.IEntityRabbitPet类的典型用法代码示例。如果您正苦于以下问题:Java IEntityRabbitPet类的具体用法?Java IEntityRabbitPet怎么用?Java IEntityRabbitPet使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
IEntityRabbitPet类属于com.dsh105.echopet.compat.api.entity.type.nms包,在下文中一共展示了IEntityRabbitPet类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: isBaby
import com.dsh105.echopet.compat.api.entity.type.nms.IEntityRabbitPet; //导入依赖的package包/类
@Override
public boolean isBaby() {
return ((IEntityRabbitPet) getEntityPet()).isBaby();
}
示例2: setBaby
import com.dsh105.echopet.compat.api.entity.type.nms.IEntityRabbitPet; //导入依赖的package包/类
@Override
public void setBaby(boolean flag) {
((IEntityRabbitPet) getEntityPet()).setBaby(flag);
}
示例3: setRabbitType
import com.dsh105.echopet.compat.api.entity.type.nms.IEntityRabbitPet; //导入依赖的package包/类
@Override
public void setRabbitType(Rabbit.Type type) {
((IEntityRabbitPet) getEntityPet()).setRabbitType(type);
}
示例4: getRabbitType
import com.dsh105.echopet.compat.api.entity.type.nms.IEntityRabbitPet; //导入依赖的package包/类
@Override
public Rabbit.Type getRabbitType() {
return ((IEntityRabbitPet) getEntityPet()).getRabbitType();
}
示例5: setRabbitType
import com.dsh105.echopet.compat.api.entity.type.nms.IEntityRabbitPet; //导入依赖的package包/类
@Override
public void setRabbitType(Rabbit.Type type) {
((IEntityRabbitPet) getEntityPet()).setType(type);
}
示例6: getRabbitType
import com.dsh105.echopet.compat.api.entity.type.nms.IEntityRabbitPet; //导入依赖的package包/类
@Override
public Rabbit.Type getRabbitType() {
return ((IEntityRabbitPet) getEntityPet()).getType();
}