public abstract class MixinDamageSource extends Object implements org.spongepowered.api.event.cause.entity.damage.source.DamageSource
Modifier and Type | Field and Description |
---|---|
String |
damageType |
Constructor and Description |
---|
MixinDamageSource() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canHarmInCreative() |
abstract boolean |
damage$isDifficultyScaled() |
abstract boolean |
damage$isExplosion() |
org.spongepowered.api.event.cause.entity.damage.DamageType |
getDamageType() |
abstract float |
getHungerDamage() |
boolean |
isAbsolute() |
boolean |
isBypassingArmor() |
abstract boolean |
isDamageAbsolute() |
boolean |
isDifficultyScaled() |
boolean |
isExplosion() |
boolean |
isMagic() |
abstract boolean |
isMagicDamage() |
abstract boolean |
isProjectile() |
boolean |
isStarvationBased() |
abstract boolean |
isUnblockable() |
abstract net.minecraft.util.DamageSource |
setExplosion() |
abstract net.minecraft.util.DamageSource |
setProjectile() |
public String damageType
public abstract boolean isProjectile()
public abstract boolean isUnblockable()
public abstract boolean canHarmInCreative()
public abstract boolean isDamageAbsolute()
public abstract boolean isMagicDamage()
public abstract float getHungerDamage()
public abstract net.minecraft.util.DamageSource setExplosion()
public abstract net.minecraft.util.DamageSource setProjectile()
public abstract boolean damage$isDifficultyScaled()
public abstract boolean damage$isExplosion()
public boolean isExplosion()
isExplosion
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
public boolean isStarvationBased()
isStarvationBased
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
public boolean isMagic()
isMagic
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
public boolean isAbsolute()
isAbsolute
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
public boolean isBypassingArmor()
isBypassingArmor
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
public boolean isDifficultyScaled()
isDifficultyScaled
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource
public org.spongepowered.api.event.cause.entity.damage.DamageType getDamageType()
getDamageType
in interface org.spongepowered.api.event.cause.entity.damage.source.DamageSource