public interface WanderingTrader extends AbstractVillager
Entity.Spigot| Modifier and Type | Method and Description | 
|---|---|
boolean | 
canDrinkMilk()
Get if the Wandering Trader can and will drink milk. 
 | 
boolean | 
canDrinkPotion()
Get if the Wandering Trader can and will drink an invisibility potion. 
 | 
int | 
getDespawnDelay()
Gets the despawn delay before this  
WanderingTrader is forcibly
 despawned. | 
void | 
setCanDrinkMilk(boolean bool)
Set if the Wandering Trader can and will drink milk. 
 | 
void | 
setCanDrinkPotion(boolean bool)
Set if the Wandering Trader can and will drink an invisibility potion. 
 | 
void | 
setDespawnDelay(int despawnDelay)
Sets the despawn delay before this  
WanderingTrader is forcibly
 despawned. | 
getInventory, resetOfferscanBreed, 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, asHoverEvent, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getTicksLived, getType, getUniqueId, getVehicle, getVelocity, 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, setVelocity, spigot, teleport, teleport, teleport, teleport, teleportAsync, teleportAsyncgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, 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, setSeedgetRecipe, getRecipeCount, getRecipes, getTrader, isTrading, setRecipe, setRecipesint getDespawnDelay()
WanderingTrader is forcibly
 despawned.
 If this is less than or equal to 0, then the trader will not be
 despawned.WanderingTrader is forcibly
 despawnedvoid setDespawnDelay(int despawnDelay)
WanderingTrader is forcibly
 despawned.
 If this is less than or equal to 0, then the trader will not be
 despawned.despawnDelay - The new despawn delay before this
 WanderingTrader is forcibly despawnedvoid setCanDrinkPotion(boolean bool)
bool - whether the mob will drinkboolean canDrinkPotion()
void setCanDrinkMilk(boolean bool)
bool - whether the mob will drinkboolean canDrinkMilk()
Copyright © 2022. All rights reserved.