Package net.citizensnpcs.trait
Class WitherTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.WitherTrait
Persists
Wither
metadata.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
run()
Called every tick if overridden.void
setBlocksArrows
(boolean arrowShield) void
setInvulnerable
(boolean invulnerable) void
setInvulnerableTicks
(int ticks)
-
Constructor Details
-
WitherTrait
public WitherTrait()
-
-
Method Details
-
blocksArrows
-
getInvulnerableTicks
-
isInvulnerable
public boolean isInvulnerable() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setBlocksArrows
public void setBlocksArrows(boolean arrowShield) -
setInvulnerable
public void setInvulnerable(boolean invulnerable) -
setInvulnerableTicks
public void setInvulnerableTicks(int ticks)
-