public interface TropicalFish extends Fish
Modifier and Type | Interface and Description |
---|---|
static class |
TropicalFish.Pattern
Enumeration of all different fish patterns.
|
Modifier and Type | Method and 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
|
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
getAttribute
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, teleport, teleport, teleport, teleport
getMetadata, hasMetadata, removeMetadata, setMetadata
getName, sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment
isOp, setOp
getCustomName, setCustomName
launchProjectile, launchProjectile
getLootTable, getSeed, setLootTable, setSeed
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 © 2022. All rights reserved.