本文整理匯總了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();
}