本文整理汇总了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);
}