《我的世界》匠魂2炼狱特性有什么用,《我的世界》匠魂2炼狱特性有什么用处

很多玩家都不知道我的世界匠魂2炼狱特性有什么用。 匠魂2有很多新颖的游戏和装备,其中的各种特性效果也非常有用和重要,具有炼狱特性的道具可以对生物造成额外的伤害。 看看我的世界匠魂2炼狱特性具体有什么用。

:

《我的世界》匠魂2炼狱特性有什么用

手册的描述是对“下界以外的生物”造成额外的伤害,该描述不准确。

实际上,这个特性的效果是对不免疫火的生物造成额外的4种伤害。

源代码:

packageslimeknights.tconspuct.tools.paits;

import net.minecraft.entity.entitylivingbase;

import net.minecraft.item.itemstack;

import net.minecraft.n Bt.nbttagcompound;

importslimeknights.tconspuct.tconspuct;

importslimeknights.tconspuct.library.util;

importslimeknights.tconspuct.library.paits.abspactpait;

import java.util.List;

publicclasspaithellishextendsabspactpait {

privatestaticfinalfloatbonusdamage=4f;

public paitHellish (

super(Hellish ),0xff0000 );

}

@Override

public floatdamage ( itemstacktool,EntityLivingBase player,EntityLivingBase target,float damage,float newDamage,布尔型)

if (! target.isImmuneToFire (

newDamage =bonusDamage;

}

returnsuper.damage(tool,player,target,damage,newDamage,isCritical );

}

@Override

publiclistspinggetexpainfo ( itemstacktool,NBTTagCompound modifierTag ) {

spingloc=sping.format(loc_Expa,getModifierIdentifier ) );

returnimmuplist.of ( util.panslateformatted ( loc,util.df.format ) Bonusdamage ) );

}

}

内容来源网络,如有侵权,联系删除,本文地址:https://www.230890.com/zhan/343417.html

(0)

相关推荐