Package net.minecraft.src
Class EntityVillager
- Direct Known Subclasses:
BlacksmithVillagerEntity,ButcherVillagerEntity,FarmerVillagerEntity,LibrarianVillagerEntity,PriestVillagerEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected MerchantRecipeListInitialises the MerchantRecipeList.javastatic final intstatic final intstatic final intstatic Consumer<EntityVillager>static Map<Integer,VillagerTrade> protected static final intprotected static final intstatic Map<Integer,Map<Integer, VillagerTrade>> static final intstatic final intstatic final intstatic final intstatic final intprotected static final intprotected static final intstatic Map<Integer,Set<VillagerTrade>> static Map<Integer,Map<VillagerTrade, Consumer<EntityVillager>>> protected intstatic int[]Fields inherited from class net.minecraft.src.EntityCreature
entityToAttack, field_110179_h, field_110181_i, fleeingTick, hasAttacked, homeDimension, maximumHomeDistance, pathToEntity, possessionTimerFields inherited from class net.minecraft.src.EntityLiving
defaultPitch, equipmentDropChances, experienceValue, HAS_ATTACK_TARGET_DATA_WATCHER_ID, livingSoundTime, numTicksToChaseTarget, targetTasks, tasksFields inherited from class net.minecraft.src.EntityLivingBase
arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, dead, deathTime, entityAge, entityLivingToAttack, field_110154_aX, field_70741_aB, field_70763_ax, field_70764_aw, field_70768_au, field_70769_ao, field_70770_ap, hurtTime, isJumping, isLivingDead, isSwingInProgress, jumpMovementFactor, landMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, onChoppingBlockMaxCountdown, prevCameraPitch, prevHealth, prevLimbSwingAmount, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, recentlyOnChoppingBlockCountdown, renderYawOffset, revengeCountdown, revengeTimer, rotationYawHead, scoreValue, swingProgress, swingProgressIntFields inherited from class net.minecraft.src.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastGroundPosX, lastGroundPosY, lastGroundPosZ, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, nextBlockCheckDistance, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddCustomLevelUpTrade(int profession, VillagerTrade entry) static VillagerTradeaddCustomTrade(int profession, VillagerTrade entry) Add a trade with a custom-defined WeightedMerchantEntry classprotected voidprotected booleanDetermines if an entity can be despawned, used on idle far away entitiesvoidprotected voidcheckForNewTrades(int availableTrades) protected intcheckForProfessionMandatoryTrades(MerchantRecipeList recipeList, int availableTrades, int level) protected voidcheckForProfessionTrades(MerchantRecipeList recipeList, int availableTrades) createChild(EntityAgeable par1EntityAgeable) static EntityVillagercreateVillager(World world) static EntityVillagercreateVillagerFromProfession(World world, int profession) protected booleancustomInteract(EntityPlayer player) protected booleanprotected voiddropFewItems(boolean bKilledByPlayer, int iLootingModifier) Drop 0-2 items of this living's type.protected voidvoidfunc_110297_a_(ItemStack par1ItemStack) voidfunc_90012_b(EntityAgeable otherParent) protected voidgenerateRandomParticles(String sParticle) booleanstatic intgetCasteFromProfession(int professionID) intintintintprotected StringReturns the sound this mob makes on death.intprotected StringReturns the sound this mob makes when it is hurt.intprotected StringReturns the sound this mob makes while it's alive.doubleReturns the Y offset from the entity's position for any entity riding this one.intprotected MerchantRecipeReturn the default trade to use if no other trade is foundintprotected VillagerTradegetProfessionLevelUpTrade(int level) protected VillagerTradegetRandomTradeFromAdjustedWeight(Set<VillagerTrade> tradeList) getRecipes(EntityPlayer player) floatGets the pitch of living sounds in living entities.getTradeFromName(int profession, ResourceLocation name) voidhandleHealthUpdate(byte bUpdateType) booleaninteract(EntityPlayer player) Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.booleanReturns true if the newer Entity AI code should be runprotected booleanUsed to clear any invalid trades e.g. that may be left over from previous versionsbooleanisMating()booleanbooleanbooleanisTemptingItem(ItemStack stack) booleanbooleanvoidonDeath(DamageSource par1DamageSource) Called when the mob's health reaches 0.voidvoidCalled frequently so the entity can update its state every tick as required.onSpawnWithEgg(EntityLivingData par1EntityLivingData) voidvoidvoidreadEntityFromNBT(NBTTagCompound par1NBTTagCompound) (abstract) Protected helper method to read subclass entity data from NBT.static voidregisterEffectForLevelUp(int profession, int level, Consumer<EntityVillager> effect) static voidregisterEffectForTrade(int profession, VillagerTrade entry, Consumer<EntityVillager> effect) static booleanremoveCustomTrade(int profession, VillagerTrade entryToRemove) static booleanremoveEffectForLevelUp(int profession, int level) static booleanremoveEffectForTrade(int profession, VillagerTrade entry, Consumer<EntityVillager> effect) static booleanremoveLevelUpTrade(int profession, int level) protected voidvoidsetCustomer(EntityPlayer par1EntityPlayer) voidsetDirtyPeasant(int iDirtyPeasant) voidsetInLove(int iInLove) voidsetMating(boolean par1) voidsetPlaying(boolean par1) voidsetProfession(int par1) voidsetRecipes(MerchantRecipeList par1MerchantRecipeList) voidsetRevengeTarget(EntityLivingBase attackingEntity) voidsetTradeExperience(int iTradeExperience) voidsetTradeLevel(int iTradeLevel) spawnBabyVillagerWithProfession(EntityAgeable otherParent, int profession) protected voidprotected voidmain AI tick function, replaces updateEntityActionStateprotected voidvoiduseRecipe(MerchantRecipe recipe) voidwriteEntityToNBT(NBTTagCompound par1NBTTagCompound) (abstract) Protected helper method to write subclass entity data to NBT.Methods inherited from class net.minecraft.src.EntityAgeable
addGrowth, adjustSizeForAge, canChildGrow, canLoveJuiceRegenerate, entityAgeableInteract, getGrowingAge, getTicksForChildToGrow, isChild, setGrowingAge, setScale, setScaleForAge, setSizeMethods inherited from class net.minecraft.src.EntityCreature
attackEntity, attemptToPossessCreaturesAroundBlock, attemptToPossessNearbyCreature, attemptToPossessNearbyCreatureOnDeath, canSoulAffectEntity, detachHome, entityCreatureEntityInit, findPlayerToAttack, func_110159_bB, func_110173_bK, func_110174_bM, func_110176_b, func_142017_o, getBlockPathWeight, getCanCreatureBePossessedFromDistance, getCanSpawnHere, getEntityToAttack, getHomePosition, getInitialPossessionChance, getPossessionLevel, getTimeToFullPossession, handlePossession, hasHome, hasPath, initiatePossession, isFullyPossessed, isMovementCeased, isPossessed, modSpecificOnLivingUpdate, onInitialPossession, playFullPossessionSound, setHomeArea, setHomeArea, setPathToEntity, setPossessionLevel, setTarget, shouldContinueAttacking, transmitAttackTargetToClients, updateEntityActionState, updateWanderPathMethods inherited from class net.minecraft.src.EntityLiving
addRandomArmor, allowLeashing, attackEntityAsMob, attractsLightning, canAttackClass, canBeSteered, canEntityCenterOfMassBeSeen, canPickUpLoot, clearLeashed, despawnEntity, doesEntityApplyToSpawnCap, dropEquipment, eatGrassBonus, enchantEquipment, entityLivingAddRandomArmor, entityLivingDropFewItems, entityLivingOnLivingUpdate, entityLivingOnSpawnWithEgg, entityLivingSetAttackTarget, entityLivingUpdateAITasks, faceEntity, func_110146_f, func_110163_bv, func_130225_q, getAlwaysRenderNameTag, getAlwaysRenderNameTagForRender, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCurrentArmorBTW, getCurrentItemOrArmor, getCustomNameTag, getDropItemId, getEntityName, getEntitySenses, getExperiencePoints, getHeldItem, getJumpHelper, getLastActiveItems, getLeashed, getLeashedToEntity, getLookHelper, getMaxSafePointTries, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getRenderSizeModifier, getTalkInterval, getVerticalFaceSpeed, hasAttackTarget, hasCustomNameTag, installationIntegrityTest, interactFirst, isInsideSpawnAreaAroundChunk, isInsideSpawnAreaAroundOriginalSpawn, isInsideSpawnAreaAroundPlayer, isNoDespawnRequired, meleeAttack, minDistFromPlayerForDespawn, onClimbWhileSwimming, onEntityUpdate, onFlungBySquidTentacle, onHeadCrabbedBySquid, onUpdate, outOfUpdateRangeUpdate, playLivingSound, preInitCreature, setAIMoveSpeed, setAlwaysRenderNameTag, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setCustomNameTag, setEquipmentDropChance, setLeashedToEntity, setMoveForward, setPersistent, spawnerInitCreature, spawnExplosionParticle, updateAITasksMethods inherited from class net.minecraft.src.EntityLivingBase
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityFrom, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, canJump, canJumpMidWater, canSwim, checkForHeadDrop, checkForRareDrop, checkForScrollDrop, clearActivePotions, collideWithEntity, collideWithNearbyEntities, damageArmor, damageEntity, decreaseAirSupply, dismountEntity, dropHead, dropRareDrop, entityLivingBaseFall, entityLivingOnDeath, fall, func_110142_aN, func_142015_aE, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getAmbientLootingModifier, getArrowCountInEntity, getAttributeMap, getCreatureAttribute, getDefaultSlipperinessOnGround, getEntityAttribute, getEyeHeight, getHealth, getHealthAndExhaustionModifier, getItemIcon, getLadderVerticalMovementModifier, getLandMovementModifier, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getMeleeAttackStrength, getPosition, getRNG, getRotationYawHead, getSlipperinessRelativeToBlock, getSoundVolume, getSpeedModifier, getSwimmingHorizontalModifier, getSwingProgress, getTeam, getTotalArmorValue, heal, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, isWeighted, isWeightedByHeadCrab, jump, kill, knockBack, knockbackMagnitude, mouseOverCustomRayTrace, moveEntityWithHeading, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onNewPotionEffect, performHurtAnimation, rayTrace, recoverAirSupply, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setPositionAndUpdate, setRotationYawHead, setSprinting, swingItem, updateArmSwingProgress, updateFallState, updatePotionEffects, updateRiddenMethods inherited from class net.minecraft.src.Entity
addComponent, addEntityCrashInfo, addToPlayerScore, addVelocity, appliesConstantForceWhenRidingBoat, applyEntityCollision, canAttackWithItem, canCollideWithEntity, canEntityTriggerTripwire, canRenderOnFire, canTriggerWalking, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doBlockCollisions, doesEntityApplyToSquidPossessionCap, doesEntityNotTriggerPressurePlate, doesNotDismountInWater, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, flagAllWatchedObjectsDirty, flingAwayFromEntity, getAir, getAnimalKickMovementMultiplier, getBlockExplosionResistance, getBoundingBox, getBrightness, getBrightnessForRender, getCanBeHeadCrabbed, getCollisionBorderSize, getCollisionBox, getComponent, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getFlag, getHeadCrabSharedAttackTarget, getMaxInPortalTime, getParts, getPortalCooldown, getShadowSize, getTeleportDirection, getTranslatedEntityName, getUniqueID, getVisualBoundingBox, getXZDistanceSqToEntity, getYOffset, handleLavaMovement, handleWaterMovement, hasComponent, hashCode, hasHeadCrabbedSquid, hitByEntity, initComponents, isAffectedByMovementModifiers, isBeingRainedOn, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInsideOpaqueBlock, isEntityInsideSuffocatingBlock, isEntityInsideSuffocatingBlock, isEntityInvulnerable, isImmuneToFire, isImmuneToHeadCrabDamage, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isItemEntity, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isUsingSpecialKey, isValidOngoingAttackTargetForSquid, isWet, mountEntity, mountEntityRemote, moveEntity, moveFlying, movementModifierWhenRidingBoat, newDoubleNBTList, newFloatNBTList, notifyOfWolfHowl, onBlockDispenserConsume, onChunkLoad, onCollideWithPlayer, onKickedByAnimal, onKillEntity, onPossessedRidingEntityDeath, onStruckByLightning, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setDead, setEating, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setVelocity, setWorld, shouldExplodeBlock, shouldSetPosAfterLoading, shouldSetPositionOnLoad, toString, travelToDimension, tryToSetFireToBlocksInContact, updateCloak, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
-
Field Details
-
villageObj
-
buyingList
Initialises the MerchantRecipeList.java -
IN_LOVE_DATA_WATCHER_ID
protected static final int IN_LOVE_DATA_WATCHER_ID- See Also:
-
TRADE_LEVEL_DATA_WATCHER_ID
protected static final int TRADE_LEVEL_DATA_WATCHER_ID- See Also:
-
TRADE_EXPERIENCE_DATA_WATCHER_ID
protected static final int TRADE_EXPERIENCE_DATA_WATCHER_ID- See Also:
-
DIRTY_PEASANT_DATA_WATCHER_ID
protected static final int DIRTY_PEASANT_DATA_WATCHER_ID- See Also:
-
aiFullTickCountdown
protected int aiFullTickCountdown -
updateTradesCountdown
protected int updateTradesCountdown -
PROFESSION_ID_FARMER
public static final int PROFESSION_ID_FARMER- See Also:
-
PROFESSION_ID_LIBRARIAN
public static final int PROFESSION_ID_LIBRARIAN- See Also:
-
PROFESSION_ID_PRIEST
public static final int PROFESSION_ID_PRIEST- See Also:
-
PROFESSION_ID_BLACKSMITH
public static final int PROFESSION_ID_BLACKSMITH- See Also:
-
PROFESSION_ID_BUTCHER
public static final int PROFESSION_ID_BUTCHER- See Also:
-
CASTE_ID_PEASANT
public static final int CASTE_ID_PEASANT- See Also:
-
CASTE_ID_MANUFACTURER
public static final int CASTE_ID_MANUFACTURER- See Also:
-
CASTE_ID_ERUDITE
public static final int CASTE_ID_ERUDITE- See Also:
-
professionMap
-
casteMap
-
tradeByProfessionList
-
levelUpTradeByProfessionList
-
defaultTradeByProfessionList
-
tradeEffectRegistry
-
levelUpEffectRegistry
-
defaultLevelUpEffect
-
xpPerLevel
public static int[] xpPerLevel
-
-
Constructor Details
-
EntityVillager
-
EntityVillager
-
-
Method Details
-
applyEntityAttributes
protected void applyEntityAttributes()- Overrides:
applyEntityAttributesin classEntityLiving
-
isAIEnabled
public boolean isAIEnabled()Returns true if the newer Entity AI code should be run- Overrides:
isAIEnabledin classEntityLiving
-
entityInit
protected void entityInit()- Overrides:
entityInitin classEntityAgeable
-
writeEntityToNBT
(abstract) Protected helper method to write subclass entity data to NBT.- Overrides:
writeEntityToNBTin classEntityAgeable
-
readEntityFromNBT
(abstract) Protected helper method to read subclass entity data from NBT.- Overrides:
readEntityFromNBTin classEntityAgeable
-
canDespawn
protected boolean canDespawn()Determines if an entity can be despawned, used on idle far away entities- Overrides:
canDespawnin classEntityLiving
-
getLivingSound
Returns the sound this mob makes while it's alive.- Overrides:
getLivingSoundin classEntityLiving
-
getHurtSound
Returns the sound this mob makes when it is hurt.- Overrides:
getHurtSoundin classEntityLivingBase
-
getDeathSound
Returns the sound this mob makes on death.- Overrides:
getDeathSoundin classEntityLivingBase
-
setProfession
public void setProfession(int par1) -
getProfession
public int getProfession() -
isMating
public boolean isMating() -
setMating
public void setMating(boolean par1) -
setPlaying
public void setPlaying(boolean par1) -
isPlaying
public boolean isPlaying() -
onDeath
Called when the mob's health reaches 0.- Overrides:
onDeathin classEntityCreature
-
setCustomer
- Specified by:
setCustomerin interfaceIMerchant
-
getCustomer
- Specified by:
getCustomerin interfaceIMerchant
-
isTrading
public boolean isTrading() -
func_110297_a_
- Specified by:
func_110297_a_in interfaceIMerchant
-
setRecipes
- Specified by:
setRecipesin interfaceIMerchant
-
onSpawnWithEgg
- Overrides:
onSpawnWithEggin classEntityLiving
-
func_82187_q
public void func_82187_q() -
createChild
- Specified by:
createChildin classEntityAgeable
-
updateAITick
protected void updateAITick()Description copied from class:EntityLivingBasemain AI tick function, replaces updateEntityActionState- Overrides:
updateAITickin classEntityLivingBase
-
interact
Description copied from class:EntityAgeableCalled when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.- Overrides:
interactin classEntityAgeable
-
isTemptingItem
- Overrides:
isTemptingItemin classEntityAgeable
-
setRevengeTarget
- Overrides:
setRevengeTargetin classEntityLivingBase
-
useRecipe
-
getRecipes
- Specified by:
getRecipesin interfaceIMerchant
-
onLivingUpdate
public void onLivingUpdate()Description copied from class:EntityAgeableCalled frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.- Overrides:
onLivingUpdatein classEntityAgeable
-
dropFewItems
protected void dropFewItems(boolean bKilledByPlayer, int iLootingModifier) Description copied from class:EntityLivingDrop 0-2 items of this living's type. @param par1 - Whether this entity has recently been hit by a player. @param par2 - Level of Looting used to kill this mob.- Overrides:
dropFewItemsin classEntityLiving
-
getSoundPitch
public float getSoundPitch()Description copied from class:EntityLivingBaseGets the pitch of living sounds in living entities.- Overrides:
getSoundPitchin classEntityLivingBase
-
getCanCreatureTypeBePossessed
public boolean getCanCreatureTypeBePossessed()- Overrides:
getCanCreatureTypeBePossessedin classEntityCreature
-
onFullPossession
public void onFullPossession()- Overrides:
onFullPossessionin classEntityCreature
-
isValidZombieSecondaryTarget
- Overrides:
isValidZombieSecondaryTargetin classEntity
-
isSecondaryTargetForSquid
public boolean isSecondaryTargetForSquid()- Overrides:
isSecondaryTargetForSquidin classEntity
-
getMountedYOffset
public double getMountedYOffset()Description copied from class:EntityReturns the Y offset from the entity's position for any entity riding this one.- Overrides:
getMountedYOffsetin classEntity
-
func_90012_b
-
createVillager
-
createVillagerFromProfession
-
spawnBabyVillagerWithProfession
-
getProfessionFromClass
public int getProfessionFromClass() -
getCasteFromProfession
public static int getCasteFromProfession(int professionID) -
checkForNewTrades
protected void checkForNewTrades(int availableTrades) -
checkForProfessionTrades
-
checkForProfessionMandatoryTrades
protected int checkForProfessionMandatoryTrades(MerchantRecipeList recipeList, int availableTrades, int level) -
getProfessionLevelUpTrade
-
doesRecipeListAlreadyContainRecipe
-
getProfessionDefaultTrade
Return the default trade to use if no other trade is found- Returns:
- The default trade
-
getRandomTradeFromAdjustedWeight
-
getCurrentMaxNumTrades
public int getCurrentMaxNumTrades() -
isInvalidProfessionTrade
Used to clear any invalid trades e.g. that may be left over from previous versions- Parameters:
trade- The trade to check- Returns:
- Whether the trade was invalid and should be removed
-
getTradeFromName
-
addCustomTrade
Add a trade with a custom-defined WeightedMerchantEntry class -
addCustomLevelUpTrade
-
removeCustomTrade
-
removeLevelUpTrade
public static boolean removeLevelUpTrade(int profession, int level) -
playEffectsForTrade
-
registerEffectForTrade
public static void registerEffectForTrade(int profession, VillagerTrade entry, Consumer<EntityVillager> effect) -
removeEffectForTrade
public static boolean removeEffectForTrade(int profession, VillagerTrade entry, Consumer<EntityVillager> effect) -
playEffectsForLevelUp
-
registerEffectForLevelUp
public static void registerEffectForLevelUp(int profession, int level, Consumer<EntityVillager> effect) -
removeEffectForLevelUp
public static boolean removeEffectForLevelUp(int profession, int level) -
customInteract
-
updateStatusParticles
protected void updateStatusParticles() -
spawnCustomParticles
protected void spawnCustomParticles() -
generateRandomParticles
-
checkForLooseMilk
public void checkForLooseMilk() -
getInLove
public int getInLove() -
setInLove
public void setInLove(int iInLove) -
getCurrentTradeLevel
public int getCurrentTradeLevel()- Specified by:
getCurrentTradeLevelin interfaceIMerchant
-
setTradeLevel
public void setTradeLevel(int iTradeLevel) -
getCurrentTradeXP
public int getCurrentTradeXP()- Specified by:
getCurrentTradeXPin interfaceIMerchant
-
setTradeExperience
public void setTradeExperience(int iTradeExperience) -
getDirtyPeasant
public int getDirtyPeasant() -
getCurrentTradeMaxXP
public int getCurrentTradeMaxXP()- Specified by:
getCurrentTradeMaxXPin interfaceIMerchant
-
setDirtyPeasant
public void setDirtyPeasant(int iDirtyPeasant) -
scheduleImmediateTradelistRefresh
protected void scheduleImmediateTradelistRefresh() -
handleHealthUpdate
@Environment(CLIENT) public void handleHealthUpdate(byte bUpdateType) - Overrides:
handleHealthUpdatein classEntityLivingBase
-