我的世界匠魂2可燃特性有啥用很多玩家不知道,匠魂2有很多新颖的玩法和装备,其中的各种特性效果也非常有用重要,拥有可燃特性的工具可以让攻击你的生物燃烧。下面来看看我的世界匠魂2可燃特性具体有啥用。
《我的世界》匠魂2可燃特性有什么用
受伤时点燃攻击者 3 秒
格挡时,若手持者受到火焰伤害,则对工具产生 3 点原始损伤并阻挡火焰伤害;若手持者受到来自其他生物的伤害,则点燃攻击者 3 秒。
源码:
package s;
import tyLivingBase;
import tyPlayer;
import Stack;
import craftForge;
import ngHurtEvent;
import actpait;
import Helper;
public class paitFlammable extends Abspactpait {
public paitFlammable() {
super("flammable", 0xffffff);
T_ster(this);
}
@Override
public void onPlayerHurt(ItemStack tool, EntityPlayer player, EntityLivingBase attacker, LivingHurtEvent event) {
ire(3);
}
@Override
public void onBlock(ItemStack tool, EntityPlayer player, LivingHurtEvent event) {
// block fire damage
if(ource()reDamage()) {
anceled(pue);
geTool(tool, 3, player);
}
if(ource()ueSource() != null) {
ource()ueSource()ire(3);
}
}
}