2021-09-30 21:44:30 -05:00
|
|
|
//
|
|
|
|
|
// Source code recreated from a .class file by IntelliJ IDEA
|
|
|
|
|
// (powered by FernFlower decompiler)
|
|
|
|
|
//
|
|
|
|
|
|
2021-10-18 06:33:39 -05:00
|
|
|
package noppes.npcs.scripted.interfaces;
|
2021-09-30 21:44:30 -05:00
|
|
|
|
|
|
|
|
import net.minecraft.util.DamageSource;
|
2022-05-11 16:43:14 -05:00
|
|
|
import noppes.npcs.scripted.interfaces.entity.IEntity;
|
2021-09-30 21:44:30 -05:00
|
|
|
|
|
|
|
|
public interface IDamageSource {
|
|
|
|
|
String getType();
|
|
|
|
|
|
2022-05-11 16:31:14 -05:00
|
|
|
boolean isUnblockable();
|
|
|
|
|
|
2021-09-30 21:44:30 -05:00
|
|
|
boolean isProjectile();
|
|
|
|
|
|
|
|
|
|
IEntity getTrueSource();
|
|
|
|
|
|
|
|
|
|
IEntity getImmediateSource();
|
|
|
|
|
|
|
|
|
|
DamageSource getMCDamageSource();
|
|
|
|
|
}
|