类org.bukkit.entity.Ocelot.Type源码实例Demo

下面列出了怎么用org.bukkit.entity.Ocelot.Type的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: SonarPet   文件: OcelotPet.java
@Override
public Type getCatType() {
    return type;
}
 
源代码2 项目: SonarPet   文件: OcelotPet.java
@Override
public void setCatType(Type t) {
    setCatType(t.getId());
    this.type = t;
}
 
源代码3 项目: SonarPet   文件: OcelotPet.java
@Override
public void setCatType(int i) {
    ((IEntityOcelotPet) getEntityPet()).setCatType(i);
    this.type = Type.getType(i);
}
 
源代码4 项目: EchoPet   文件: OcelotPet.java
@Override
public Type getCatType() {
    return type;
}
 
源代码5 项目: EchoPet   文件: OcelotPet.java
@Override
public void setCatType(Type t) {
    setCatType(t.getId());
    this.type = t;
}
 
源代码6 项目: EchoPet   文件: OcelotPet.java
@Override
public void setCatType(int i) {
    ((IEntityOcelotPet) getEntityPet()).setCatType(i);
    this.type = Type.getType(i);
}
 
源代码7 项目: iDisguise   文件: OcelotDisguise.java
/**
 * Creates an instance.
 * 
 * @since 4.0.1
 */
public OcelotDisguise() {
	this(Type.WILD_OCELOT, true);
}
 
源代码8 项目: iDisguise   文件: OcelotDisguise.java
/**
 * Creates an instance.
 * 
 * @since 3.0.1
 * @param catType the cat type
 * @param adult should the disguise be an adult
 */
public OcelotDisguise(Type catType, boolean adult) {
	super(DisguiseType.OCELOT, adult);
	this.catType = catType;
}
 
源代码9 项目: iDisguise   文件: OcelotDisguise.java
/**
 * Gets the cat type.
 * 
 * @since 3.0.1
 * @return the cat type
 */
public Type getCatType() {
	return catType;
}
 
源代码10 项目: iDisguise   文件: OcelotDisguise.java
/**
 * Sets the cat type.
 * 
 * @since 3.0.1
 * @param catType the cat type
 */
public void setCatType(Type catType) {
	this.catType = catType;
}
 
 类所在包
 类方法
 同包方法