Package net.minecraft.entity.passive
Class WanderingTraderEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.PathAwareEntity
net.minecraft.entity.passive.PassiveEntity
net.minecraft.entity.passive.MerchantEntity
net.minecraft.entity.passive.WanderingTraderEntity
- All Implemented Interfaces:
EntityLike
,Npc
,CommandOutput
,Nameable
,Merchant
public class WanderingTraderEntity extends MerchantEntity
- Mappings:
Namespace Name official bhe
intermediary net/minecraft/class_3989
named net/minecraft/entity/passive/WanderingTraderEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
WanderingTraderEntity.WanderToTargetGoal
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Fields Modifier and Type Field Description private int
despawnDelay
private BlockPos
wanderTarget
Fields inherited from class net.minecraft.entity.passive.MerchantEntity
offers
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
breedingAge, forcedAge, happyTicksRemaining
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
Constructors Constructor Description WanderingTraderEntity(EntityType<? extends WanderingTraderEntity> type, World world)
-
Method Summary
Modifier and Type Method Description protected void
afterUsing(TradeOffer offer)
boolean
canImmediatelyDespawn(double distanceSquared)
PassiveEntity
createChild(ServerWorld world, PassiveEntity entity)
protected void
fillRecipes()
protected SoundEvent
getAmbientSound()
protected SoundEvent
getDeathSound()
int
getDespawnDelay()
protected SoundEvent
getDrinkSound(ItemStack stack)
protected SoundEvent
getHurtSound(DamageSource source)
protected SoundEvent
getTradingSound(boolean sold)
private BlockPos
getWanderTarget()
SoundEvent
getYesSound()
protected void
initGoals()
ActionResult
interactMob(PlayerEntity player, Hand hand)
boolean
isLeveledMerchant()
void
readCustomDataFromTag(CompoundTag tag)
void
setDespawnDelay(int delay)
void
setWanderTarget(BlockPos pos)
private void
tickDespawnDelay()
void
tickMovement()
void
writeCustomDataToTag(CompoundTag tag)
Methods inherited from class net.minecraft.entity.passive.MerchantEntity
canBeLeashedBy, fillRecipesFromPool, getActiveEyeHeight, getCurrentCustomer, getExperience, getHeadRollingTimeLeft, getInventory, getMerchantWorld, getOffers, hasCustomer, initDataTracker, initialize, method_30951, method_32318, moveToWorld, onDeath, onSellingItem, playCelebrateSound, produceParticles, resetCustomer, setCurrentCustomer, setExperienceFromServer, setHeadRollingTimeLeft, setOffersFromServer, trade
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canEquip, canGather, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getCurrentExperience, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, handleStatus, hasPositionTarget, initEquipment, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29243, method_29244, method_33191, mobTick, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damage, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getEatSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29500, method_30633, method_31079, method_33579, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_29919, method_30330, method_31744, method_32877, method_33332, method_33567, method_33568, method_33569, method_33570, method_33571, method_33573, method_33574, method_33575, move, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengers, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.village.Merchant
canRefreshTrades, sendOffers
-
Field Details
-
wanderTarget
- Mappings:
Namespace Name Mixin selector official bn
Lbhe;bn:Lfx;
intermediary field_17758
Lnet/minecraft/class_3989;field_17758:Lnet/minecraft/class_2338;
named wanderTarget
Lnet/minecraft/entity/passive/WanderingTraderEntity;wanderTarget:Lnet/minecraft/util/math/BlockPos;
-
despawnDelay
private int despawnDelay- Mappings:
Namespace Name Mixin selector official bo
Lbhe;bo:I
intermediary field_17725
Lnet/minecraft/class_3989;field_17725:I
named despawnDelay
Lnet/minecraft/entity/passive/WanderingTraderEntity;despawnDelay:I
-
-
Constructor Details
-
WanderingTraderEntity
- Mappings:
Namespace Name Mixin selector official <init>
Laqv;<init>(Laqz;Lbtv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official a
Laqt;a(Laav;Laqt;)Laqt;
intermediary method_5613
Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
named createChild
Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
-
isLeveledMerchant
public boolean isLeveledMerchant()- Specified by:
isLeveledMerchant
in interfaceMerchant
- Overrides:
isLeveledMerchant
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official fo
Lbsr;fo()Z
intermediary method_19270
Lnet/minecraft/class_1915;method_19270()Z
named isLeveledMerchant
Lnet/minecraft/village/Merchant;isLeveledMerchant()Z
-
interactMob
- Overrides:
interactMob
in classMobEntity
- Mappings:
Namespace Name Mixin selector official b
Larj;b(Lbhl;Lapp;)Lapq;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
fillRecipes
protected void fillRecipes()- Specified by:
fillRecipes
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official fu
Lbgt;fu()V
intermediary method_7237
Lnet/minecraft/class_3988;method_7237()V
named fillRecipes
Lnet/minecraft/entity/passive/MerchantEntity;fillRecipes()V
-
writeCustomDataToTag
- Overrides:
writeCustomDataToTag
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official b
Laqv;b(Lmq;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToTag
Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTag
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official a
Laqv;a(Lmq;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromTag
Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared)- Overrides:
canImmediatelyDespawn
in classMobEntity
- Mappings:
Namespace Name Mixin selector official h
Larj;h(D)Z
intermediary method_5974
Lnet/minecraft/class_1308;method_5974(D)Z
named canImmediatelyDespawn
Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
afterUsing
- Specified by:
afterUsing
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official b
Lbgt;b(Lbss;)V
intermediary method_18008
Lnet/minecraft/class_3988;method_18008(Lnet/minecraft/class_1914;)V
named afterUsing
Lnet/minecraft/entity/passive/MerchantEntity;afterUsing(Lnet/minecraft/village/TradeOffer;)V
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official p
Larj;p()Laef;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lari;c(Laqf;)Laef;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official q
Lari;q()Laef;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getDrinkSound
- Overrides:
getDrinkSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lari;c(Lbnv;)Laef;
intermediary method_18807
Lnet/minecraft/class_1309;method_18807(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
named getDrinkSound
Lnet/minecraft/entity/LivingEntity;getDrinkSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
-
getTradingSound
- Overrides:
getTradingSound
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official u
Lbgt;u(Z)Laef;
intermediary method_18012
Lnet/minecraft/class_3988;method_18012(Z)Lnet/minecraft/class_3414;
named getTradingSound
Lnet/minecraft/entity/passive/MerchantEntity;getTradingSound(Z)Lnet/minecraft/sound/SoundEvent;
-
getYesSound
- Specified by:
getYesSound
in interfaceMerchant
- Overrides:
getYesSound
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official fp
Lbsr;fp()Laef;
intermediary method_18010
Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;
named getYesSound
Lnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;
-
setDespawnDelay
public void setDespawnDelay(int delay)- Mappings:
Namespace Name Mixin selector official v
Lbhe;v(I)V
intermediary method_18013
Lnet/minecraft/class_3989;method_18013(I)V
named setDespawnDelay
Lnet/minecraft/entity/passive/WanderingTraderEntity;setDespawnDelay(I)V
-
getDespawnDelay
public int getDespawnDelay()- Mappings:
Namespace Name Mixin selector official fw
Lbhe;fw()I
intermediary method_18014
Lnet/minecraft/class_3989;method_18014()I
named getDespawnDelay
Lnet/minecraft/entity/passive/WanderingTraderEntity;getDespawnDelay()I
-
tickMovement
public void tickMovement()- Overrides:
tickMovement
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official k
Lari;k()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
tickDespawnDelay
private void tickDespawnDelay()- Mappings:
Namespace Name Mixin selector official fx
Lbhe;fx()V
intermediary method_20508
Lnet/minecraft/class_3989;method_20508()V
named tickDespawnDelay
Lnet/minecraft/entity/passive/WanderingTraderEntity;tickDespawnDelay()V
-
setWanderTarget
- Mappings:
Namespace Name Mixin selector official g
Lbhe;g(Lfx;)V
intermediary method_18069
Lnet/minecraft/class_3989;method_18069(Lnet/minecraft/class_2338;)V
named setWanderTarget
Lnet/minecraft/entity/passive/WanderingTraderEntity;setWanderTarget(Lnet/minecraft/util/math/BlockPos;)V
-
getWanderTarget
- Mappings:
Namespace Name Mixin selector official fy
Lbhe;fy()Lfx;
intermediary method_18065
Lnet/minecraft/class_3989;method_18065()Lnet/minecraft/class_2338;
named getWanderTarget
Lnet/minecraft/entity/passive/WanderingTraderEntity;getWanderTarget()Lnet/minecraft/util/math/BlockPos;
-