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
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable org.bukkit.entity.Entity@Nullable org.bukkit.entity.EntityfloatgetMsgId()@Nullable org.bukkit.util.VectorbooleanbooleanbooleanbooleanbooleanbooleanbooleanisFall()booleanisFire()booleanisMagic()booleanbooleanbooleanisSweep()booleansetMagic()sweep()
-
Constructor Details
-
UnknownDamageSource
public UnknownDamageSource()
-
-
Method Details
-
isSweep
public boolean isSweep()- Specified by:
isSweepin interfaceIDamageSource
-
sweep
- Specified by:
sweepin interfaceIDamageSource
-
isProjectile
public boolean isProjectile()- Specified by:
isProjectilein interfaceIDamageSource
-
setProjectile
- Specified by:
setProjectilein interfaceIDamageSource
-
isExplosion
public boolean isExplosion()- Specified by:
isExplosionin interfaceIDamageSource
-
setExplosion
- Specified by:
setExplosionin interfaceIDamageSource
-
isBypassArmor
public boolean isBypassArmor()- Specified by:
isBypassArmorin interfaceIDamageSource
-
isDamageHelmet
public boolean isDamageHelmet()- Specified by:
isDamageHelmetin interfaceIDamageSource
-
getFoodExhaustion
public float getFoodExhaustion()- Specified by:
getFoodExhaustionin interfaceIDamageSource
-
isBypassInvul
public boolean isBypassInvul()- Specified by:
isBypassInvulin interfaceIDamageSource
-
isBypassMagic
public boolean isBypassMagic()- Specified by:
isBypassMagicin interfaceIDamageSource
-
getDirectEntity
@Nullable public @Nullable org.bukkit.entity.Entity getDirectEntity()- Specified by:
getDirectEntityin interfaceIDamageSource
-
getEntity
@Nullable public @Nullable org.bukkit.entity.Entity getEntity()- Specified by:
getEntityin interfaceIDamageSource
-
setNoAggro
- Specified by:
setNoAggroin interfaceIDamageSource
-
isFire
public boolean isFire()- Specified by:
isFirein interfaceIDamageSource
-
isNoAggro
public boolean isNoAggro()- Specified by:
isNoAggroin interfaceIDamageSource
-
getMsgId
- Specified by:
getMsgIdin interfaceIDamageSource
-
setScalesWithDifficulty
- Specified by:
setScalesWithDifficultyin interfaceIDamageSource
-
scalesWithDifficulty
public boolean scalesWithDifficulty()- Specified by:
scalesWithDifficultyin interfaceIDamageSource
-
isMagic
public boolean isMagic()- Specified by:
isMagicin interfaceIDamageSource
-
setMagic
- Specified by:
setMagicin interfaceIDamageSource
-
isFall
public boolean isFall()- Specified by:
isFallin interfaceIDamageSource
-
setIsFall
- Specified by:
setIsFallin interfaceIDamageSource
-
isCreativePlayer
public boolean isCreativePlayer()- Specified by:
isCreativePlayerin interfaceIDamageSource
-
getSourcePosition
@Nullable public @Nullable org.bukkit.util.Vector getSourcePosition()- Specified by:
getSourcePositionin interfaceIDamageSource
-