Attributable
, CommandSender
, Creature
, Damageable
, Entity
, Fish
, LivingEntity
, Lootable
, Metadatable
, Mob
, Nameable
, Permissible
, ProjectileSource
, ServerOperator
, WaterMob
public interface TropicalFish extends Fish
Modifier and Type | Interface | Description |
---|---|---|
static class |
TropicalFish.Pattern |
Enumeration of all different fish patterns.
|
Entity.Spigot
Modifier and Type | Method | Description |
---|---|---|
DyeColor |
getBodyColor() |
Gets the color of the fish's body.
|
TropicalFish.Pattern |
getPattern() |
Gets the fish's pattern.
|
DyeColor |
getPatternColor() |
Gets the color of the fish's pattern.
|
void |
setBodyColor(DyeColor color) |
Sets the color of the fish's body
|
void |
setPattern(TropicalFish.Pattern pattern) |
Sets the fish's pattern
|
void |
setPatternColor(DyeColor color) |
Sets the color of the fish's pattern
|
getAttribute
getName, sendMessage, sendMessage
damage, damage, getHealth, getMaxHealth, resetMaxHealth, setHealth, setMaxHealth
addPassenger, 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, isPersistent, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleport
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, isRiptiding, isSwimming, removePotionEffect, setAI, setCanPickupItems, setCollidable, setGliding, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setSwimming
getLootTable, getSeed, setLootTable, setSeed
getMetadata, hasMetadata, removeMetadata, setMetadata
getCustomName, setCustomName
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
launchProjectile, launchProjectile
isOp, setOp
DyeColor getPatternColor()
void setPatternColor(DyeColor color)
color
- pattern colorDyeColor getBodyColor()
void setBodyColor(DyeColor color)
color
- body colorTropicalFish.Pattern getPattern()
void setPattern(TropicalFish.Pattern pattern)
pattern
- new patternCopyright © 2018. All rights reserved.