Package org.bukkit.entity
Interface EnderCrystal
- All Superinterfaces:
- CommandSender,- Entity,- Metadatable,- Nameable,- Permissible,- PersistentDataHolder,- ServerOperator
A crystal that heals nearby EnderDragons
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.bukkit.entity.EntityEntity.Spigot
- 
Method SummaryModifier and TypeMethodDescriptionGets the location that this end crystal is pointing its beam to.booleanReturn whether or not this end crystal is showing the bedrock slate underneath it.voidsetBeamTarget(Location location) Sets the location that this end crystal is pointing to.voidsetShowingBottom(boolean showing) Sets whether or not this end crystal is showing the bedrock slate underneath it.Methods inherited from interface org.bukkit.command.CommandSendergetName, sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from interface org.bukkit.entity.EntityaddPassenger, addScoreboardTag, eject, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isOnGround, isPersistent, isSilent, isValid, isVisualFire, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisualFire, spigot, teleport, teleport, teleport, teleportMethods inherited from interface org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.NameablegetCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainerMethods inherited from interface org.bukkit.permissions.ServerOperatorisOp, setOp
- 
Method Details- 
isShowingBottomboolean isShowingBottom()Return whether or not this end crystal is showing the bedrock slate underneath it.- Returns:
- true if the bottom is being shown
 
- 
setShowingBottomvoid setShowingBottom(boolean showing) Sets whether or not this end crystal is showing the bedrock slate underneath it.- Parameters:
- showing- whether the bedrock slate should be shown
 
- 
getBeamTargetGets the location that this end crystal is pointing its beam to.- Returns:
- the location that the beam is pointed to, or null if the beam is not shown
 
- 
setBeamTargetSets the location that this end crystal is pointing to. Passing a null value will remove the current beam.- Parameters:
- location- the location to point the beam to
- Throws:
- IllegalArgumentException- for differing worlds
 
 
-