Package net.minecraft.entity.passive
Class MerchantEntity
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
- All Implemented Interfaces:
InventoryOwner,Npc,CommandOutput,Nameable,Merchant,EntityLike
- Direct Known Subclasses:
VillagerEntity,WanderingTraderEntity
- Mappings:
Namespace Name official bitintermediary net/minecraft/class_3988named net/minecraft/entity/passive/MerchantEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate @Nullable PlayerEntitystatic intprivate static intprivate static TrackedData<Integer>private SimpleInventoryprotected @Nullable TradeOfferListFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, 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, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidafterUsing(TradeOffer offer)booleancanBeLeashedBy(PlayerEntity player)protected abstract voidprotected voidfillRecipesFromPool(TradeOfferList recipeList, TradeOffers.Factory[] pool, int count)protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose.intintprotected SoundEventgetTradingSound(boolean sold)booleanprotected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt)booleanmethod_30951(float float2)moveToWorld(ServerWorld destination)Moves this entity to another world.voidonDeath(DamageSource source)voidonSellingItem(ItemStack stack)voidprotected voidproduceParticles(ParticleEffect parameters)voidprotected voidvoidsetCurrentCustomer(@Nullable PlayerEntity customer)voidsetExperienceFromServer(int experience)voidsetHeadRollingTimeLeft(int ticks)voidsetOffersFromServer(@Nullable TradeOfferList offers)voidtrade(TradeOffer offer)voidMethods inherited from class net.minecraft.entity.passive.PassiveEntity
createChild, getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onGrowUp, onTrackedDataSet, setBaby, setBreedingAge, tickMovementMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getAmbientSound, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasPositionTarget, initEquipment, initGoals, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29244, method_35055, 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, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, 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, getDeathSound, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getHurtSound, 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, hasNoDrag, 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, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimHeight, 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, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_36209, move, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, 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, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
method_36320Methods inherited from interface net.minecraft.village.Merchant
canRefreshTrades, sendOffers
-
Field Details
-
HEAD_ROLLING_TIME_LEFT
- Mappings:
Namespace Name Mixin selector official bXLbit;bX:Lvy;intermediary field_19295Lnet/minecraft/class_3988;field_19295:Lnet/minecraft/class_2940;named HEAD_ROLLING_TIME_LEFTLnet/minecraft/entity/passive/MerchantEntity;HEAD_ROLLING_TIME_LEFT:Lnet/minecraft/entity/data/TrackedData;
-
field_30599
public static final int field_30599- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bVLbit;bV:Iintermediary field_30599Lnet/minecraft/class_3988;field_30599:Inamed field_30599Lnet/minecraft/entity/passive/MerchantEntity;field_30599:I
-
field_30600
private static final int field_30600- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bYLbit;bY:Iintermediary field_30600Lnet/minecraft/class_3988;field_30600:Inamed field_30600Lnet/minecraft/entity/passive/MerchantEntity;field_30600:I
-
customer
- Mappings:
Namespace Name Mixin selector official bZLbit;bZ:Lbjl;intermediary field_17722Lnet/minecraft/class_3988;field_17722:Lnet/minecraft/class_1657;named customerLnet/minecraft/entity/passive/MerchantEntity;customer:Lnet/minecraft/entity/player/PlayerEntity;
-
offers
- Mappings:
Namespace Name Mixin selector official bWLbit;bW:Lbuv;intermediary field_17721Lnet/minecraft/class_3988;field_17721:Lnet/minecraft/class_1916;named offersLnet/minecraft/entity/passive/MerchantEntity;offers:Lnet/minecraft/village/TradeOfferList;
-
inventory
- Mappings:
Namespace Name Mixin selector official caLbit;ca:Laro;intermediary field_17723Lnet/minecraft/class_3988;field_17723:Lnet/minecraft/class_1277;named inventoryLnet/minecraft/entity/passive/MerchantEntity;inventory:Lnet/minecraft/inventory/SimpleInventory;
-
-
Constructor Details
-
MerchantEntity
- Mappings:
Namespace Name Mixin selector official <init>Laso;<init>(Lass;Lbvx;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initialize
public EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)- Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLatd;a(Lbwl;Larh;Latf;Latt;Lmv;)Latt;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
getHeadRollingTimeLeft
public int getHeadRollingTimeLeft()- Mappings:
Namespace Name Mixin selector official pLbit;p()Iintermediary method_20506Lnet/minecraft/class_3988;method_20506()Inamed getHeadRollingTimeLeftLnet/minecraft/entity/passive/MerchantEntity;getHeadRollingTimeLeft()I
-
setHeadRollingTimeLeft
public void setHeadRollingTimeLeft(int ticks)- Mappings:
Namespace Name Mixin selector official tLbit;t(I)Vintermediary method_20507Lnet/minecraft/class_3988;method_20507(I)Vnamed setHeadRollingTimeLeftLnet/minecraft/entity/passive/MerchantEntity;setHeadRollingTimeLeft(I)V
-
getExperience
public int getExperience()- Specified by:
getExperiencein interfaceMerchant- Mappings:
Namespace Name Mixin selector official tLbut;t()Iintermediary method_19269Lnet/minecraft/class_1915;method_19269()Inamed getExperienceLnet/minecraft/village/Merchant;getExperience()I
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLatb;b(Latn;Lasp;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official fLaso;f()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setCurrentCustomer
- Specified by:
setCurrentCustomerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fLbut;f(Lbjl;)Vintermediary method_8259Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)Vnamed setCurrentCustomerLnet/minecraft/village/Merchant;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
getCurrentCustomer
- Specified by:
getCurrentCustomerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fpLbut;fp()Lbjl;intermediary method_8257Lnet/minecraft/class_1915;method_8257()Lnet/minecraft/class_1657;named getCurrentCustomerLnet/minecraft/village/Merchant;getCurrentCustomer()Lnet/minecraft/entity/player/PlayerEntity;
-
hasCustomer
public boolean hasCustomer()- Mappings:
Namespace Name Mixin selector official fqLbit;fq()Zintermediary method_18009Lnet/minecraft/class_3988;method_18009()Znamed hasCustomerLnet/minecraft/entity/passive/MerchantEntity;hasCustomer()Z
-
getOffers
- Specified by:
getOffersin interfaceMerchant- Mappings:
Namespace Name Mixin selector official frLbut;fr()Lbuv;intermediary method_8264Lnet/minecraft/class_1915;method_8264()Lnet/minecraft/class_1916;named getOffersLnet/minecraft/village/Merchant;getOffers()Lnet/minecraft/village/TradeOfferList;
-
setOffersFromServer
- Specified by:
setOffersFromServerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official aLbut;a(Lbuv;)Vintermediary method_8261Lnet/minecraft/class_1915;method_8261(Lnet/minecraft/class_1916;)Vnamed setOffersFromServerLnet/minecraft/village/Merchant;setOffersFromServer(Lnet/minecraft/village/TradeOfferList;)V
-
setExperienceFromServer
public void setExperienceFromServer(int experience)- Specified by:
setExperienceFromServerin interfaceMerchant- Mappings:
Namespace Name Mixin selector official uLbut;u(I)Vintermediary method_19271Lnet/minecraft/class_1915;method_19271(I)Vnamed setExperienceFromServerLnet/minecraft/village/Merchant;setExperienceFromServer(I)V
-
trade
-
afterUsing
- Mappings:
Namespace Name Mixin selector official bLbit;b(Lbuu;)Vintermediary method_18008Lnet/minecraft/class_3988;method_18008(Lnet/minecraft/class_1914;)Vnamed afterUsingLnet/minecraft/entity/passive/MerchantEntity;afterUsing(Lnet/minecraft/village/TradeOffer;)V
-
isLeveledMerchant
public boolean isLeveledMerchant()- Specified by:
isLeveledMerchantin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fsLbut;fs()Zintermediary method_19270Lnet/minecraft/class_1915;method_19270()Znamed isLeveledMerchantLnet/minecraft/village/Merchant;isLeveledMerchant()Z
-
onSellingItem
- Specified by:
onSellingItemin interfaceMerchant- Mappings:
Namespace Name Mixin selector official kLbut;k(Lbpx;)Vintermediary method_8258Lnet/minecraft/class_1915;method_8258(Lnet/minecraft/class_1799;)Vnamed onSellingItemLnet/minecraft/village/Merchant;onSellingItem(Lnet/minecraft/item/ItemStack;)V
-
getYesSound
- Specified by:
getYesSoundin interfaceMerchant- Mappings:
Namespace Name Mixin selector official ftLbut;ft()Laev;intermediary method_18010Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;named getYesSoundLnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;
-
getTradingSound
- Mappings:
Namespace Name Mixin selector official vLbit;v(Z)Laev;intermediary method_18012Lnet/minecraft/class_3988;method_18012(Z)Lnet/minecraft/class_3414;named getTradingSoundLnet/minecraft/entity/passive/MerchantEntity;getTradingSound(Z)Lnet/minecraft/sound/SoundEvent;
-
playCelebrateSound
public void playCelebrateSound()- Mappings:
Namespace Name Mixin selector official fuLbit;fu()Vintermediary method_20010Lnet/minecraft/class_3988;method_20010()Vnamed playCelebrateSoundLnet/minecraft/entity/passive/MerchantEntity;playCelebrateSound()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLaso;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLaso;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
moveToWorld
Moves this entity to another world.Note all entities except server player entities are completely recreated at the destination.
- Overrides:
moveToWorldin classEntity- Returns:
- the entity in the other world
- Mappings:
Namespace Name Mixin selector official bLaso;b(Labj;)Laso;intermediary method_5731Lnet/minecraft/class_1297;method_5731(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;named moveToWorldLnet/minecraft/entity/Entity;moveToWorld(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/Entity;
-
resetCustomer
protected void resetCustomer()- Mappings:
Namespace Name Mixin selector official fvLbit;fv()Vintermediary method_19181Lnet/minecraft/class_3988;method_19181()Vnamed resetCustomerLnet/minecraft/entity/passive/MerchantEntity;resetCustomer()V
-
onDeath
- Overrides:
onDeathin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLatb;a(Lary;)Vintermediary method_6078Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)Vnamed onDeathLnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
produceParticles
- Mappings:
Namespace Name Mixin selector official aLbit;a(Lho;)Vintermediary method_18007Lnet/minecraft/class_3988;method_18007(Lnet/minecraft/class_2394;)Vnamed produceParticlesLnet/minecraft/entity/passive/MerchantEntity;produceParticles(Lnet/minecraft/particle/ParticleEffect;)V
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classMobEntity- Mappings:
Namespace Name Mixin selector official aLatd;a(Lbjl;)Zintermediary method_5931Lnet/minecraft/class_1308;method_5931(Lnet/minecraft/class_1657;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getInventory
- Specified by:
getInventoryin interfaceInventoryOwner- Mappings:
Namespace Name Mixin selector official fwLbit;fw()Laro;intermediary method_18011Lnet/minecraft/class_3988;method_18011()Lnet/minecraft/class_1277;named getInventoryLnet/minecraft/entity/passive/MerchantEntity;getInventory()Lnet/minecraft/inventory/SimpleInventory;
-
getCommandItemSlot
Obtains an item slot for command modification purpose. Used by commands like/lootor/replaceitem.- Overrides:
getCommandItemSlotin classLivingEntity- Parameters:
mappedIndex- the mapped index as given by the item slot argument- See Also:
ItemSlotArgumentType- Mappings:
Namespace Name Mixin selector official kLaso;k(I)Lats;intermediary method_32318Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;named getCommandItemSlotLnet/minecraft/entity/Entity;getCommandItemSlot(I)Lnet/minecraft/inventory/CommandItemSlot;
-
getMerchantWorld
- Specified by:
getMerchantWorldin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fxLbut;fx()Lbvx;intermediary method_8260Lnet/minecraft/class_1915;method_8260()Lnet/minecraft/class_1937;named getMerchantWorldLnet/minecraft/village/Merchant;getMerchantWorld()Lnet/minecraft/world/World;
-
fillRecipes
protected abstract void fillRecipes()- Mappings:
Namespace Name Mixin selector official fyLbit;fy()Vintermediary method_7237Lnet/minecraft/class_3988;method_7237()Vnamed fillRecipesLnet/minecraft/entity/passive/MerchantEntity;fillRecipes()V
-
fillRecipesFromPool
protected void fillRecipesFromPool(TradeOfferList recipeList, TradeOffers.Factory[] pool, int count)- Mappings:
Namespace Name Mixin selector official aLbit;a(Lbuv;[Lbjc$f;I)Vintermediary method_19170Lnet/minecraft/class_3988;method_19170(Lnet/minecraft/class_1916;[Lnet/minecraft/class_3853$class_1652;I)Vnamed fillRecipesFromPoolLnet/minecraft/entity/passive/MerchantEntity;fillRecipesFromPool(Lnet/minecraft/village/TradeOfferList;[Lnet/minecraft/village/TradeOffers$Factory;I)V
-
method_30951
- Overrides:
method_30951in classEntity- Mappings:
Namespace Name Mixin selector official nLaso;n(F)Ldmb;intermediary method_30951Lnet/minecraft/class_1297;method_30951(F)Lnet/minecraft/class_243;named method_30951Lnet/minecraft/entity/Entity;method_30951(F)Lnet/minecraft/util/math/Vec3d;
-