mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 18:57:32 +00:00
17 lines
342 B
Java
17 lines
342 B
Java
package noppes.npcs;
|
|||
|
|
|
||
|
|
import net.minecraft.entity.Entity;
|
||
|
|
import net.minecraft.util.EntityDamageSource;
|
||
|
|
|
||
|
|
public class NpcDamageSource extends EntityDamageSource{
|
||
|
|
|
||
|
|
public NpcDamageSource(String par1Str, Entity par2Entity) {
|
||
|
|
super(par1Str, par2Entity);
|
||
|
|
}
|
||
|
|
|
||
|
|
@Override
|
||
|
|
public boolean isDifficultyScaled()
|
||
|
|
{
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
}
|