本文整理匯總了Java中net.minecraft.entity.monster.EntityZombie.isConverting方法的典型用法代碼示例。如果您正苦於以下問題:Java EntityZombie.isConverting方法的具體用法?Java EntityZombie.isConverting怎麽用?Java EntityZombie.isConverting使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類net.minecraft.entity.monster.EntityZombie
的用法示例。
在下文中一共展示了EntityZombie.isConverting方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: rotateCorpse
import net.minecraft.entity.monster.EntityZombie; //導入方法依賴的package包/類
protected void rotateCorpse(EntityZombie entityLiving, float p_77043_2_, float p_77043_3_, float partialTicks)
{
if (entityLiving.isConverting())
{
p_77043_3_ += (float)(Math.cos((double)entityLiving.ticksExisted * 3.25D) * Math.PI * 0.25D);
}
super.rotateCorpse(entityLiving, p_77043_2_, p_77043_3_, partialTicks);
}
示例2: rotateCorpse
import net.minecraft.entity.monster.EntityZombie; //導入方法依賴的package包/類
protected void rotateCorpse(EntityZombie bat, float p_77043_2_, float p_77043_3_, float partialTicks)
{
if (bat.isConverting())
{
p_77043_3_ += (float)(Math.cos((double)bat.ticksExisted * 3.25D) * Math.PI * 0.25D);
}
super.rotateCorpse(bat, p_77043_2_, p_77043_3_, partialTicks);
}
示例3: rotateCorpse
import net.minecraft.entity.monster.EntityZombie; //導入方法依賴的package包/類
protected void rotateCorpse(EntityZombie par1EntityZombie, float par2, float par3, float par4)
{
if (par1EntityZombie.isConverting())
{
par3 += (float)(Math.cos((double)par1EntityZombie.ticksExisted * 3.25D) * Math.PI * 0.25D);
}
super.rotateCorpse(par1EntityZombie, par2, par3, par4);
}
示例4: rotateCorpse
import net.minecraft.entity.monster.EntityZombie; //導入方法依賴的package包/類
protected void rotateCorpse(EntityZombie p_77043_1_, float p_77043_2_, float p_77043_3_, float p_77043_4_)
{
if (p_77043_1_.isConverting())
{
p_77043_3_ += (float)(Math.cos((double)p_77043_1_.ticksExisted * 3.25D) * Math.PI * 0.25D);
}
super.rotateCorpse(p_77043_1_, p_77043_2_, p_77043_3_, p_77043_4_);
}
示例5: func_82430_a
import net.minecraft.entity.monster.EntityZombie; //導入方法依賴的package包/類
protected void func_82430_a(EntityZombie par1EntityZombie, float par2, float par3, float par4)
{
if (par1EntityZombie.isConverting())
{
par3 += (float)(Math.cos((double)par1EntityZombie.ticksExisted * 3.25D) * Math.PI * 0.25D);
}
super.rotateCorpse(par1EntityZombie, par2, par3, par4);
}