public interface Villager extends Ageable, Merchant
Modifier and Type | Method and Description |
---|---|
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
Human . |
getAgeData, setScaleForAge
getAgentData
getHealthData, getMortalData
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getUniqueId
getProperties, getProperty, setRawData, validateRawData
toContainer
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, supports, transform, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, supports, supports
getTeamRepresentation
getCustomer, getTradeOfferData, setCustomer
getInventory
boolean isTrading()
Human
. A villager is normally
unable to trade with multiple HumanEntities at the same time.CareerData getCareerData()
CareerData
for this Villager
entity.