public interface Creeper extends Monster
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getExplosionRadius()
Get the explosion radius in which this Creeper's explosion will affect.
|
int |
getMaxFuseTicks()
Get the maximum fuse ticks for this Creeper, where the maximum ticks
is the amount of time in which a creeper is allowed to be in the
primed state before exploding.
|
boolean |
isPowered()
检查这个爬行者是否为高压的(触电)
原文:
Checks if this Creeper is powered (Electrocuted)
|
void |
setExplosionRadius(int radius)
Set the explosion radius in which this Creeper's explosion will affect.
|
void |
setMaxFuseTicks(int ticks)
Set the maximum fuse ticks for this Creeper, where the maximum ticks
is the amount of time in which a creeper is allowed to be in the
primed state before exploding.
|
void |
setPowered(boolean value)
设置这个爬行者为高压状态.
|
addPotionEffect, addPotionEffect, addPotionEffects, getActivePotionEffects, getCanPickupItems, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getTargetBlock, hasAI, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isLeashed, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAwaygetAttributedamage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealthaddPassenger, addScoreboardTag, eject, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, 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, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessageaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpgetCustomName, setCustomNamelaunchProjectile, launchProjectileboolean isPowered()
原文: Checks if this Creeper is powered (Electrocuted)
void setPowered(boolean value)
原文: Sets the Powered status of this Creeper
value - 新的高压状态void setMaxFuseTicks(int ticks)
ticks - the new maximum fuse ticksint getMaxFuseTicks()
void setExplosionRadius(int radius)
radius - the new explosion radiusint getExplosionRadius()