接口 EnderCrystal
- 所有超级接口:
- CommandSender,- Entity,- Metadatable,- Nameable,- Permissible,- PersistentDataHolder,- ServerOperator
一个末影水晶,能治疗附近的末影龙
- 
嵌套类概要从接口继承的嵌套类/接口 org.bukkit.entity.EntityEntity.Spigot
- 
方法概要修饰符和类型方法说明Gets 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(@Nullable 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.从接口继承的方法 org.bukkit.command.CommandSendergetName, sendMessage, sendMessage, sendMessage, sendMessage从接口继承的方法 org.bukkit.entity.EntityaddPassenger, addScoreboardTag, copy, copy, createSnapshot, eject, getAsString, getBoundingBox, getEntityId, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedBy, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFrozen, isGlowing, isInsideVehicle, isInvulnerable, isInWater, isInWorld, isOnGround, isPersistent, isSilent, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spigot, teleport, teleport, teleport, teleport从接口继承的方法 org.bukkit.metadata.MetadatablegetMetadata, hasMetadata, removeMetadata, setMetadata从接口继承的方法 org.bukkit.NameablegetCustomName, setCustomName从接口继承的方法 org.bukkit.permissions.PermissibleaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment从接口继承的方法 org.bukkit.persistence.PersistentDataHoldergetPersistentDataContainer从接口继承的方法 org.bukkit.permissions.ServerOperatorisOp, setOp
- 
方法详细资料- 
isShowingBottomboolean isShowingBottom()Return whether or not this end crystal is showing the bedrock slate underneath it.- 返回:
- 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.- 参数:
- showing- whether the bedrock slate should be shown
 
- 
getBeamTargetGets the location that this end crystal is pointing its beam to.- 返回:
- 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.- 参数:
- location- the location to point the beam to
- 抛出:
- IllegalArgumentException- for differing worlds
 
 
-