Class UnknownDamageSource
java.lang.Object
com.ticxo.modelengine.api.nms.world.UnknownDamageSource
- All Implemented Interfaces:
IDamageSource
-
Field Summary
Fields inherited from interface com.ticxo.modelengine.api.nms.world.IDamageSource
UNKNOWN
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable org.bukkit.entity.Entity
@Nullable org.bukkit.entity.Entity
float
getMsgId()
@Nullable org.bukkit.util.Vector
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isFall()
boolean
isFire()
boolean
isMagic()
boolean
boolean
boolean
isSweep()
boolean
setMagic()
sweep()
-
Constructor Details
-
UnknownDamageSource
public UnknownDamageSource()
-
-
Method Details
-
isSweep
public boolean isSweep()- Specified by:
isSweep
in interfaceIDamageSource
-
sweep
- Specified by:
sweep
in interfaceIDamageSource
-
isProjectile
public boolean isProjectile()- Specified by:
isProjectile
in interfaceIDamageSource
-
setProjectile
- Specified by:
setProjectile
in interfaceIDamageSource
-
isExplosion
public boolean isExplosion()- Specified by:
isExplosion
in interfaceIDamageSource
-
setExplosion
- Specified by:
setExplosion
in interfaceIDamageSource
-
isBypassArmor
public boolean isBypassArmor()- Specified by:
isBypassArmor
in interfaceIDamageSource
-
isDamageHelmet
public boolean isDamageHelmet()- Specified by:
isDamageHelmet
in interfaceIDamageSource
-
getFoodExhaustion
public float getFoodExhaustion()- Specified by:
getFoodExhaustion
in interfaceIDamageSource
-
isBypassInvul
public boolean isBypassInvul()- Specified by:
isBypassInvul
in interfaceIDamageSource
-
isBypassMagic
public boolean isBypassMagic()- Specified by:
isBypassMagic
in interfaceIDamageSource
-
getDirectEntity
@Nullable public @Nullable org.bukkit.entity.Entity getDirectEntity()- Specified by:
getDirectEntity
in interfaceIDamageSource
-
getEntity
@Nullable public @Nullable org.bukkit.entity.Entity getEntity()- Specified by:
getEntity
in interfaceIDamageSource
-
setNoAggro
- Specified by:
setNoAggro
in interfaceIDamageSource
-
isFire
public boolean isFire()- Specified by:
isFire
in interfaceIDamageSource
-
isNoAggro
public boolean isNoAggro()- Specified by:
isNoAggro
in interfaceIDamageSource
-
getMsgId
- Specified by:
getMsgId
in interfaceIDamageSource
-
setScalesWithDifficulty
- Specified by:
setScalesWithDifficulty
in interfaceIDamageSource
-
scalesWithDifficulty
public boolean scalesWithDifficulty()- Specified by:
scalesWithDifficulty
in interfaceIDamageSource
-
isMagic
public boolean isMagic()- Specified by:
isMagic
in interfaceIDamageSource
-
setMagic
- Specified by:
setMagic
in interfaceIDamageSource
-
isFall
public boolean isFall()- Specified by:
isFall
in interfaceIDamageSource
-
setIsFall
- Specified by:
setIsFall
in interfaceIDamageSource
-
isCreativePlayer
public boolean isCreativePlayer()- Specified by:
isCreativePlayer
in interfaceIDamageSource
-
getSourcePosition
@Nullable public @Nullable org.bukkit.util.Vector getSourcePosition()- Specified by:
getSourcePosition
in interfaceIDamageSource
-