public class GlowWither extends GlowBoss implements org.bukkit.entity.Wither
deathTicks, health, maxHealth, movement, speed, taskManageractive, airDrag, applyDragBeforeAccel, boundingBox, ENTITY_ID_NOBODY, entityId, gravityAccel, liquidDrag, location, metadata, passengerChanged, previousLocation, removed, server, slipMultiplier, teleported, ticksLived, vehicle, velocity, velocityChanged, world, worldLock| Constructor and Description |
|---|
GlowWither(org.bukkit.Location loc)
Creates a wither.
|
| Modifier and Type | Method and Description |
|---|---|
void |
damage(double amount,
org.bukkit.entity.Entity source,
org.bukkit.event.entity.EntityDamageEvent.DamageCause cause) |
protected org.bukkit.Sound |
getAmbientSound()
Get the ambient sound this entity makes randomly, or null for silence.
|
org.bukkit.entity.Entity |
getCenterTarget() |
protected org.bukkit.Sound |
getDeathSound()
Get the death sound of this entity, or null for silence.
|
protected org.bukkit.Sound |
getHurtSound()
Get the hurt sound of this entity, or null for silence.
|
int |
getInvulnerableTicks() |
org.bukkit.entity.Entity |
getLeftTarget() |
org.bukkit.entity.Entity |
getRightTarget() |
boolean |
isUndead()
Get whether or not this entity is undead.
|
void |
pulse()
Called every game cycle.
|
void |
rangedAttack(org.bukkit.entity.LivingEntity target,
float charge) |
void |
setCenterTarget(org.bukkit.entity.Entity centerTarget)
Sets the center target.
|
void |
setChargingAttack(boolean raiseHands) |
void |
setInvulnerableTicks(int invulnerableTicks) |
void |
setLeftTarget(org.bukkit.entity.Entity leftTarget)
Sets the left target.
|
void |
setRightTarget(org.bukkit.entity.Entity rightTarget)
Sets the right target.
|
addBarToPlayer, remove, teleportcanDespawnImmediatelycreateSpawnMessage, getTarget, getType, setTargetaddPotionEffect, addPotionEffect, addPotionEffects, canTakeDamage, clearActivePotionEffects, createUpdateMessage, entityInteract, getActiveItem, getActivePotionEffects, getAmbientDelay, getArrowsStuck, getAttribute, getAttributeManager, getCanPickupItems, getDeathTicks, getEquipment, getEquipmentMonitor, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getHeadYaw, getHealth, getItemUseRemainingTime, getKiller, getLastDamage, getLastDamager, getLastTwoTargetBlocks, getLastTwoTargetBlocks, getLineOfSight, getMaxHealth, getMaximumAir, getMaximumNoDamageTicks, getMovement, getNoDamageTicks, getPlayerDamageTick, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getSoundPitch, getSoundVolume, getSpeed, getState, getTargetBlock, getTargetBlock, getTaskManager, getVelocityFromMovement, hasAI, hasLineOfSight, hasPotionEffect, isArthropod, isCollidable, isFallFlying, isGliding, isHandRaised, isWithinSolidBlock, jump, launchProjectile, launchProjectile, launchProjectile, launchProjectile, playAnimation, pulsePhysics, removePotionEffect, reset, resetMaxHealth, setAI, setArrowsStuck, setCanPickupItems, setCollidable, setFallFlying, setGliding, setHeadYaw, setHealth, setKiller, setLastDamage, setLastDamager, setMaxHealth, setMaximumAir, setMaximumNoDamageTicks, setMovement, setNoDamageTicks, setOnGround, setPlayerDamageTick, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSpeed, setState, tryUseTotem, updatePotionEffectsMetadataaddAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, collide, createAfterSpawnMessage, damage, damage, damage, eject, equals, fromMobSpawner, getCardinalFacing, getChunk, getCustomName, getCustomTags, getDismountLocation, getEffectivePermissions, getEntityId, getFacing, getFallDistance, getFireTicks, getGravityAccel, getHeight, getLastDamageCause, getLeashedEntities, getLeashHolder, getLocation, getLocation, getMaxFireTicks, getMetadata, getMetadata, getMountLocation, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasDefaultLandingBehavior, hasFriction, hasGravity, hashCode, hasMetadata, hasMoved, hasPermission, hasPermission, hasRotated, intersects, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isLeashed, isOnGround, isOp, isPermissionSet, isPermissionSet, isRemoved, isSilent, isTeleported, isTouchingMaterial, isValid, isWithinDistance, isWithinDistance, leaveVehicle, playEffect, playEffectKnownAndSelf, recalculatePermissions, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, setAirDrag, setApplyDragBeforeAccel, setBoundingBox, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFriction, setGlowing, setGravity, setGravityAccel, setInvulnerable, setLastDamageCause, setLeashHolder, setLeashHolderUniqueId, setLiquidDrag, setMetadata, setOp, setPassenger, setPortalCooldown, setRawLocation, setRawLocation, setSilent, setSize, setTicksLived, setUniqueId, setVelocity, shouldSave, spigot, teleport, teleport, teleport, teleportToEnd, teleportToSpawn, toString, updateBoundingBoxclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPotionEffect, addPotionEffect, addPotionEffects, getActiveItem, getActivePotionEffects, getArrowsStuck, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isHandRaised, isLeashed, playAnimation, removePotionEffect, setAI, setArrowsStuck, setCanPickupItems, setCollidable, setGliding, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelaydamage, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealthaddPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentpublic GlowWither(org.bukkit.Location loc)
loc - the locationpublic void damage(double amount,
org.bukkit.entity.Entity source,
org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
damage in interface org.bukkit.entity.Damageabledamage in class GlowLivingEntitypublic void setInvulnerableTicks(int invulnerableTicks)
public void setCenterTarget(org.bukkit.entity.Entity centerTarget)
centerTarget - the new center targetpublic void setLeftTarget(org.bukkit.entity.Entity leftTarget)
leftTarget - the new left targetpublic void setRightTarget(org.bukkit.entity.Entity rightTarget)
rightTarget - the new right targetpublic void pulse()
GlowEntitypulse in class GlowMonsterprotected org.bukkit.Sound getHurtSound()
GlowLivingEntitygetHurtSound in class GlowLivingEntityprotected org.bukkit.Sound getDeathSound()
GlowLivingEntitygetDeathSound in class GlowLivingEntityprotected org.bukkit.Sound getAmbientSound()
GlowLivingEntitygetAmbientSound in class GlowLivingEntitypublic boolean isUndead()
GlowLivingEntityisUndead in class GlowLivingEntitypublic void rangedAttack(org.bukkit.entity.LivingEntity target,
float charge)
rangedAttack in interface com.destroystokyo.paper.entity.RangedEntitypublic void setChargingAttack(boolean raiseHands)
setChargingAttack in interface com.destroystokyo.paper.entity.RangedEntitypublic int getInvulnerableTicks()
public org.bukkit.entity.Entity getCenterTarget()
public org.bukkit.entity.Entity getLeftTarget()
public org.bukkit.entity.Entity getRightTarget()
Copyright © 2021. All rights reserved.