接口 EnderCrystal
- 所有超级接口:
CommandSender
,Entity
,Metadatable
,Nameable
,Permissible
,PersistentDataHolder
,ServerOperator
一个末影水晶,能治疗附近的末影龙
-
嵌套类概要
从接口继承的嵌套类/接口 org.bukkit.entity.Entity
Entity.Spigot
-
方法概要
修饰符和类型方法说明Gets the location that this end crystal is pointing its beam to.boolean
Return whether or not this end crystal is showing the bedrock slate underneath it.void
setBeamTarget
(@Nullable Location location) Sets the location that this end crystal is pointing to.void
setShowingBottom
(boolean showing) Sets whether or not this end crystal is showing the bedrock slate underneath it.从接口继承的方法 org.bukkit.command.CommandSender
getName, sendMessage, sendMessage, sendMessage, sendMessage
从接口继承的方法 org.bukkit.entity.Entity
addPassenger, 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.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
从接口继承的方法 org.bukkit.Nameable
getCustomName, setCustomName
从接口继承的方法 org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
从接口继承的方法 org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainer
从接口继承的方法 org.bukkit.permissions.ServerOperator
isOp, setOp
-
方法详细资料
-
isShowingBottom
boolean isShowingBottom()Return whether or not this end crystal is showing the bedrock slate underneath it.- 返回:
- true if the bottom is being shown
-
setShowingBottom
void 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
-
getBeamTarget
Gets 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
-
setBeamTarget
Sets 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
-