public interface Villager extends Ageable, Merchant
UNKNOWN| Modifier and Type | Method and Description |
|---|---|
default Value<Career> |
career()
Gets the current
Career of this villager. |
default CareerData |
getCareerData()
Gets a copy of the current
CareerData for this Villager
entity. |
boolean |
isTrading()
Returns true if this villager is currently trading with another
Humanoid. |
adult, age, getAgeData, setScaleForAgeaiEnabled, getAgentData, getGoal, getTarget, setTargetgetDamageableData, getHeadRotation, getHealthData, health, lastAttacker, lastDamage, lookAt, maxHealth, setHeadRotationaddPassenger, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, isLoaded, isOnGround, isRemoved, remove, removePassenger, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorldgetUniqueIdgetLocation, getWorldsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetTranslationlaunchProjectile, launchProjectilegetTeamRepresentationgetCustomer, getTradeOfferData, setCustomergetInventoryboolean isTrading()
Humanoid. A villager is normally
unable to trade with multiple HumanEntities at the same time.default CareerData getCareerData()
CareerData for this Villager
entity.