public interface Horse extends AbstractHorse
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
Horse.Color
Represents the base color that the horse has. 
 | 
static class  | 
Horse.Style
Represents the style, or markings, that the horse has. 
 | 
static class  | 
Horse.Variant
Deprecated. 
 
different variants are differing classes 
 | 
| Modifier and Type | Method and Description | 
|---|---|
@NotNull Horse.Color | 
getColor()
Gets the horse's color. 
 | 
@NotNull HorseInventory | 
getInventory()
Get the object's inventory. 
 | 
@NotNull Horse.Style | 
getStyle()
Gets the horse's style. 
 | 
boolean | 
isCarryingChest()
Deprecated. 
 
see  
ChestedHorse | 
void | 
setCarryingChest(boolean chest)
Deprecated. 
 
see  
ChestedHorse | 
void | 
setColor(@NotNull Horse.Color color)
Sets the horse's color. 
 | 
void | 
setStyle(@NotNull Horse.Style style)
Sets the style of this horse. 
 | 
getDomestication, getJumpStrength, getMaxDomestication, getVariant, setDomestication, setJumpStrength, setMaxDomestication, setVariantgetVelocity, setVelocitygetOwner, getOwnerUniqueId, isTamed, setOwner, setTamedgetBreedCause, getLoveModeTicks, isLoveMode, setBreedCause, setLoveModeTickscanBreed, getAgeLock, setAgeLock, setBreedgetAge, isAdult, setAdult, setAge, setBabygetHeadRotationSpeed, getMaxHeadPitch, getPathfinder, getTarget, isAware, isInDaylight, lookAt, lookAt, lookAt, lookAt, lookAt, lookAt, setAware, setTargetaddPotionEffect, addPotionEffect, addPotionEffects, attack, clearActiveItem, getActiveItem, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getCanPickupItems, getCategory, getCollidableExemptions, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaised, getHandRaisedTime, getHurtDirection, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetBlockInfo, getTargetEntity, getTargetEntity, getTargetEntityInfo, getTargetEntityInfo, hasAI, hasLineOfSight, hasLineOfSight, hasPotionEffect, isCollidable, isGliding, isHandRaised, isInvisible, isJumping, isLeashed, isRiptiding, isSleeping, isSwimming, playPickupItemAnimation, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setArrowsStuck, setCanPickupItems, setCollidable, setGliding, setHurtDirection, setInvisible, setJumping, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimming, swingMainHand, swingOffHandgetAttribute, registerAttributedamage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthaddPassenger, addScoreboardTag, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getTicksLived, getType, getUniqueId, getVehicle, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isGlowing, isInBubbleColumn, isInLava, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isOnGround, isPersistent, isSilent, isTicking, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, teleport, teleport, teleport, teleport, teleportAsync, teleportAsyncgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessageaudience, audience, clearTitle, empty, hideBossBar, openBook, openBook, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, showBossBar, showTitle, stopSound, toAudienceaddAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachmentisOp, setOpcustomName, customName, getCustomName, setCustomNamegetPersistentDataContainerasHoverEvent, unboxlaunchProjectile, launchProjectileclearLootTable, getLootTable, getSeed, hasLootTable, setLootTable, setLootTable, setSeed@NotNull @NotNull Horse.Color getColor()
Colors only apply to horses, not to donkeys, mules, skeleton horses or undead horses.
Horse.Color representing the horse's groupvoid setColor(@NotNull @NotNull Horse.Color color)
Attempting to set a color for any donkey, mule, skeleton horse or undead horse will not result in a change.
color - a Horse.Color for this horse@NotNull @NotNull Horse.Style getStyle()
Styles only apply to horses, not to donkeys, mules, skeleton horses or undead horses.
Horse.Style representing the horse's stylevoid setStyle(@NotNull @NotNull Horse.Style style)
Attempting to set a style for any donkey, mule, skeleton horse or undead horse will not result in a change.
style - a Horse.Style for this horse@Deprecated boolean isCarryingChest()
ChestedHorse@Deprecated void setCarryingChest(boolean chest)
ChestedHorsechest - chest@NotNull @NotNull HorseInventory getInventory()
InventoryHoldergetInventory in interface AbstractHorsegetInventory in interface InventoryHolderCopyright © 2022. All rights reserved.