public class BattleDamageSource
extends net.minecraft.util.DamageSource
Constructor and Description |
---|
BattleDamageSource(java.lang.String dmgIdentifier,
PixelmonWrapper source)
Initializes a battle damage source.
|
Modifier and Type | Method and Description |
---|---|
net.minecraft.entity.Entity |
getEntity() |
boolean |
isBypassInvul() |
boolean |
scalesWithDifficulty() |
arrow, badRespawnPointExplosion, bypassArmor, bypassInvul, bypassMagic, explosion, explosion, fireball, fireworks, getDirectEntity, getFoodExhaustion, getLocalizedDeathMessage, getMsgId, getSourcePosition, indirectMagic, indirectMobAttack, isBypassArmor, isBypassMagic, isCreativePlayer, isExplosion, isFire, isMagic, isProjectile, mobAttack, playerAttack, setExplosion, setIsFire, setMagic, setProjectile, setScalesWithDifficulty, sting, thorns, thrown, toString, trident, witherSkull
public BattleDamageSource(java.lang.String dmgIdentifier, PixelmonWrapper source)
dmgIdentifier
- The string identifier for the damage's type.source
- The Pokémon that caused the damage.public net.minecraft.entity.Entity getEntity()
getEntity
in class net.minecraft.util.DamageSource
public boolean scalesWithDifficulty()
scalesWithDifficulty
in class net.minecraft.util.DamageSource
public boolean isBypassInvul()
isBypassInvul
in class net.minecraft.util.DamageSource