mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
18 lines
342 B
Java
18 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;
|
|
}
|
|
}
|