Package net.minecraft.entity.passive
Class VillagerEntity
- All Implemented Interfaces:
InteractionObserver
,InventoryOwner
,Npc
,CommandOutput
,Nameable
,Merchant
,VillagerDataContainer
,EntityLike
public class VillagerEntity
extends MerchantEntity
implements InteractionObserver, VillagerDataContainer
- Mappings:
Namespace Name official bjq
intermediary net/minecraft/class_1646
named net/minecraft/entity/passive/VillagerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveData
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
static int
static float
private static int
private static int
private static int
private static int
private static int
private static int
private static int
private static long
private boolean
private byte
private VillagerGossips
private long
private @Nullable PlayerEntity
private long
private long
private long
private boolean
private int
private static ImmutableList<MemoryModuleType<?>>
private boolean
private int
private static ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>>
private static TrackedData<VillagerData>
Fields inherited from class net.minecraft.entity.passive.MerchantEntity
field_30599, offers
Fields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemaining
Fields 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, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, 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, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_28627, field_29973, field_29974, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionVillagerEntity(EntityType<? extends VillagerEntity> type, World world)
VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
afterUsing(TradeOffer offer)
private void
beginTradeWith(PlayerEntity customer)
boolean
canBreed()
boolean
boolean
canImmediatelyDespawn(double distanceSquared)
private boolean
boolean
private boolean
boolean
canSummonGolem(long time)
private void
private void
Resets the special price of all the trade offers of this villager.private void
protected Brain.Profile<VillagerEntity>
createChild(ServerWorld serverWorld, PassiveEntity passiveEntity)
private void
private void
depleteFood(int amount)
protected Brain<?>
deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
void
protected void
protected @Nullable SoundEvent
private int
getBrain()
protected SoundEvent
protected Text
int
getHighestOpenPositionOnOffset(BlockPos pos, double x, double z)
protected SoundEvent
getHurtSound(DamageSource source)
int
getReputation(PlayerEntity player)
void
handleStatus(byte status)
private boolean
hasRecentlySlept(long worldTime)
boolean
private void
initBrain(Brain<VillagerEntity> brain)
protected void
initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt)
interactMob(PlayerEntity player, Hand hand)
boolean
boolean
private boolean
private void
levelUp()
protected void
loot(ItemEntity item)
boolean
void
method_35201(boolean bool)
protected void
mobTick()
private boolean
Returns whether this villager needs restock.private void
notifyDeath(Entity killer)
void
onDeath(DamageSource source)
protected void
onGrowUp()
void
onInteractionWith(EntityInteraction interaction, Entity entity)
void
onStruckByLightning(ServerWorld world, LightningEntity lightning)
void
private void
prepareOffersFor(PlayerEntity player)
void
void
readGossipDataNbt(NbtElement nbt)
void
reinitializeBrain(ServerWorld world)
private void
void
releaseTicketFor(MemoryModuleType<GlobalPos> memoryModuleType)
protected void
void
restock()
private void
private void
sayNo()
protected void
void
setAttacker(@Nullable LivingEntity attacker)
void
setCurrentCustomer(@Nullable PlayerEntity customer)
void
setExperience(int amount)
void
setOffers(TradeOfferList offers)
void
setVillagerData(VillagerData villagerData)
boolean
void
private @Nullable IronGolemEntity
spawnIronGolem(ServerWorld world)
void
summonGolem(ServerWorld world, long time, int requiredCount)
void
talkWithVillager(ServerWorld world, VillagerEntity villager, long time)
void
tick()
private void
Updates the demand bonus of all the trade offers of this villager.void
wakeUp()
boolean
void
Methods inherited from class net.minecraft.entity.passive.MerchantEntity
canBeLeashedBy, fillRecipesFromPool, getActiveEyeHeight, getCommandItemSlot, getCurrentCustomer, getHeadRollingTimeLeft, getInventory, getMerchantWorld, getOffers, getTradingSound, getYesSound, hasCustomer, isLeveledMerchant, method_30951, moveToWorld, onSellingItem, playCelebrateSound, produceParticles, setExperienceFromServer, setHeadRollingTimeLeft, setOffersFromServer, trade
Methods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, onTrackedDataSet, setBaby, setBreedingAge, tickMovement
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, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, 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, hasPositionTarget, initEquipment, initGoals, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, method_35055, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, squaredAttackRange, startRiding, swimUpward, 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, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, createSpawnPacket, damage, damageArmor, damageHelmet, damageShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBoundingBox, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, 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, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_37119, method_37222, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles
Methods 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, canModifyAt, 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, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, 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, 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, getYaw, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowingLocal, 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, move, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onRemoved, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playExtinguishSound, 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, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
Methods inherited from interface net.minecraft.village.Merchant
sendOffers
-
Field Details
-
VILLAGER_DATA
- Mappings:
Namespace Name Mixin selector official bY
Lbjq;bY:Lwf;
intermediary field_7445
Lnet/minecraft/class_1646;field_7445:Lnet/minecraft/class_2940;
named VILLAGER_DATA
Lnet/minecraft/entity/passive/VillagerEntity;VILLAGER_DATA:Lnet/minecraft/entity/data/TrackedData;
-
field_30602
public static final int field_30602- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bU
Lbjq;bU:I
intermediary field_30602
Lnet/minecraft/class_1646;field_30602:I
named field_30602
Lnet/minecraft/entity/passive/VillagerEntity;field_30602:I
-
ITEM_FOOD_VALUES
- Mappings:
Namespace Name Mixin selector official bV
Lbjq;bV:Ljava/util/Map;
intermediary field_18526
Lnet/minecraft/class_1646;field_18526:Ljava/util/Map;
named ITEM_FOOD_VALUES
Lnet/minecraft/entity/passive/VillagerEntity;ITEM_FOOD_VALUES:Ljava/util/Map;
-
field_30604
private static final int field_30604- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bZ
Lbjq;bZ:I
intermediary field_30604
Lnet/minecraft/class_1646;field_30604:I
named field_30604
Lnet/minecraft/entity/passive/VillagerEntity;field_30604:I
-
GATHERABLE_ITEMS
- Mappings:
Namespace Name Mixin selector official ca
Lbjq;ca:Ljava/util/Set;
intermediary field_18527
Lnet/minecraft/class_1646;field_18527:Ljava/util/Set;
named GATHERABLE_ITEMS
Lnet/minecraft/entity/passive/VillagerEntity;GATHERABLE_ITEMS:Ljava/util/Set;
-
field_30605
private static final int field_30605- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cb
Lbjq;cb:I
intermediary field_30605
Lnet/minecraft/class_1646;field_30605:I
named field_30605
Lnet/minecraft/entity/passive/VillagerEntity;field_30605:I
-
field_30606
private static final int field_30606- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cc
Lbjq;cc:I
intermediary field_30606
Lnet/minecraft/class_1646;field_30606:I
named field_30606
Lnet/minecraft/entity/passive/VillagerEntity;field_30606:I
-
field_30607
private static final int field_30607- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cd
Lbjq;cd:I
intermediary field_30607
Lnet/minecraft/class_1646;field_30607:I
named field_30607
Lnet/minecraft/entity/passive/VillagerEntity;field_30607:I
-
field_30608
private static final int field_30608- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ce
Lbjq;ce:I
intermediary field_30608
Lnet/minecraft/class_1646;field_30608:I
named field_30608
Lnet/minecraft/entity/passive/VillagerEntity;field_30608:I
-
field_30609
private static final int field_30609- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cf
Lbjq;cf:I
intermediary field_30609
Lnet/minecraft/class_1646;field_30609:I
named field_30609
Lnet/minecraft/entity/passive/VillagerEntity;field_30609:I
-
field_30610
private static final int field_30610- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cg
Lbjq;cg:I
intermediary field_30610
Lnet/minecraft/class_1646;field_30610:I
named field_30610
Lnet/minecraft/entity/passive/VillagerEntity;field_30610:I
-
field_30611
private static final long field_30611- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ch
Lbjq;ch:J
intermediary field_30611
Lnet/minecraft/class_1646;field_30611:J
named field_30611
Lnet/minecraft/entity/passive/VillagerEntity;field_30611:J
-
field_30603
public static final float field_30603- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bW
Lbjq;bW:F
intermediary field_30603
Lnet/minecraft/class_1646;field_30603:F
named field_30603
Lnet/minecraft/entity/passive/VillagerEntity;field_30603:F
-
MEMORY_MODULES
- Mappings:
Namespace Name Mixin selector official cv
Lbjq;cv:Lcom/google/common/collect/ImmutableList;
intermediary field_18538
Lnet/minecraft/class_1646;field_18538:Lcom/google/common/collect/ImmutableList;
named MEMORY_MODULES
Lnet/minecraft/entity/passive/VillagerEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
-
SENSORS
- Mappings:
Namespace Name Mixin selector official cw
Lbjq;cw:Lcom/google/common/collect/ImmutableList;
intermediary field_18539
Lnet/minecraft/class_1646;field_18539:Lcom/google/common/collect/ImmutableList;
named SENSORS
Lnet/minecraft/entity/passive/VillagerEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
-
POINTS_OF_INTEREST
public static final Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity,PointOfInterestType>> POINTS_OF_INTEREST- Mappings:
Namespace Name Mixin selector official bX
Lbjq;bX:Ljava/util/Map;
intermediary field_18851
Lnet/minecraft/class_1646;field_18851:Ljava/util/Map;
named POINTS_OF_INTEREST
Lnet/minecraft/entity/passive/VillagerEntity;POINTS_OF_INTEREST:Ljava/util/Map;
-
levelUpTimer
private int levelUpTimer- Mappings:
Namespace Name Mixin selector official ci
Lbjq;ci:I
intermediary field_18528
Lnet/minecraft/class_1646;field_18528:I
named levelUpTimer
Lnet/minecraft/entity/passive/VillagerEntity;levelUpTimer:I
-
levelingUp
private boolean levelingUp- Mappings:
Namespace Name Mixin selector official cj
Lbjq;cj:Z
intermediary field_18529
Lnet/minecraft/class_1646;field_18529:Z
named levelingUp
Lnet/minecraft/entity/passive/VillagerEntity;levelingUp:Z
-
lastCustomer
- Mappings:
Namespace Name Mixin selector official ck
Lbjq;ck:Lbkd;
intermediary field_18530
Lnet/minecraft/class_1646;field_18530:Lnet/minecraft/class_1657;
named lastCustomer
Lnet/minecraft/entity/passive/VillagerEntity;lastCustomer:Lnet/minecraft/entity/player/PlayerEntity;
-
field_30612
private boolean field_30612- Mappings:
Namespace Name Mixin selector official cl
Lbjq;cl:Z
intermediary field_30612
Lnet/minecraft/class_1646;field_30612:Z
named field_30612
Lnet/minecraft/entity/passive/VillagerEntity;field_30612:Z
-
foodLevel
private byte foodLevel- Mappings:
Namespace Name Mixin selector official cm
Lbjq;cm:B
intermediary field_18533
Lnet/minecraft/class_1646;field_18533:B
named foodLevel
Lnet/minecraft/entity/passive/VillagerEntity;foodLevel:B
-
gossip
- Mappings:
Namespace Name Mixin selector official cn
Lbjq;cn:Lbbp;
intermediary field_18534
Lnet/minecraft/class_1646;field_18534:Lnet/minecraft/class_4136;
named gossip
Lnet/minecraft/entity/passive/VillagerEntity;gossip:Lnet/minecraft/village/VillagerGossips;
-
gossipStartTime
private long gossipStartTime- Mappings:
Namespace Name Mixin selector official co
Lbjq;co:J
intermediary field_18535
Lnet/minecraft/class_1646;field_18535:J
named gossipStartTime
Lnet/minecraft/entity/passive/VillagerEntity;gossipStartTime:J
-
lastGossipDecayTime
private long lastGossipDecayTime- Mappings:
Namespace Name Mixin selector official cp
Lbjq;cp:J
intermediary field_19357
Lnet/minecraft/class_1646;field_19357:J
named lastGossipDecayTime
Lnet/minecraft/entity/passive/VillagerEntity;lastGossipDecayTime:J
-
experience
private int experience- Mappings:
Namespace Name Mixin selector official cq
Lbjq;cq:I
intermediary field_18536
Lnet/minecraft/class_1646;field_18536:I
named experience
Lnet/minecraft/entity/passive/VillagerEntity;experience:I
-
lastRestockTime
private long lastRestockTime- Mappings:
Namespace Name Mixin selector official cr
Lbjq;cr:J
intermediary field_18537
Lnet/minecraft/class_1646;field_18537:J
named lastRestockTime
Lnet/minecraft/entity/passive/VillagerEntity;lastRestockTime:J
-
restocksToday
private int restocksToday- Mappings:
Namespace Name Mixin selector official cs
Lbjq;cs:I
intermediary field_19427
Lnet/minecraft/class_1646;field_19427:I
named restocksToday
Lnet/minecraft/entity/passive/VillagerEntity;restocksToday:I
-
lastRestockCheckTime
private long lastRestockCheckTime- Mappings:
Namespace Name Mixin selector official ct
Lbjq;ct:J
intermediary field_20332
Lnet/minecraft/class_1646;field_20332:J
named lastRestockCheckTime
Lnet/minecraft/entity/passive/VillagerEntity;lastRestockCheckTime:J
-
natural
private boolean natural- Mappings:
Namespace Name Mixin selector official cu
Lbjq;cu:Z
intermediary field_25167
Lnet/minecraft/class_1646;field_25167:Z
named natural
Lnet/minecraft/entity/passive/VillagerEntity;natural:Z
-
-
Constructor Details
-
VillagerEntity
- Mappings:
Namespace Name Mixin selector official <init>
Latf;<init>(Latj;Lbwp;)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
-
VillagerEntity
public VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type)- Mappings:
Namespace Name Mixin selector official <init>
Lbjq;<init>(Latj;Lbwp;Lbjv;)V
intermediary <init>
Lnet/minecraft/class_1646;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Lnet/minecraft/class_3854;)V
named <init>
Lnet/minecraft/entity/passive/VillagerEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Lnet/minecraft/village/VillagerType;)V
-
-
Method Details
-
getBrain
- Overrides:
getBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official do
Latt;do()Lauo;
intermediary method_18868
Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
named getBrain
Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
createBrainProfile
- Overrides:
createBrainProfile
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official dp
Latt;dp()Lauo$b;
intermediary method_28306
Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
named createBrainProfile
Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Overrides:
deserializeBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lcom/mojang/serialization/Dynamic;)Lauo;
intermediary method_18867
Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
named deserializeBrain
Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
reinitializeBrain
- Mappings:
Namespace Name Mixin selector official c
Lbjq;c(Labr;)V
intermediary method_19179
Lnet/minecraft/class_1646;method_19179(Lnet/minecraft/class_3218;)V
named reinitializeBrain
Lnet/minecraft/entity/passive/VillagerEntity;reinitializeBrain(Lnet/minecraft/server/world/ServerWorld;)V
-
initBrain
- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(Lauo;)V
intermediary method_19174
Lnet/minecraft/class_1646;method_19174(Lnet/minecraft/class_4095;)V
named initBrain
Lnet/minecraft/entity/passive/VillagerEntity;initBrain(Lnet/minecraft/entity/ai/brain/Brain;)V
-
onGrowUp
protected void onGrowUp()- Overrides:
onGrowUp
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official n
Latd;n()V
intermediary method_5619
Lnet/minecraft/class_1296;method_5619()V
named onGrowUp
Lnet/minecraft/entity/passive/PassiveEntity;onGrowUp()V
-
createVillagerAttributes
- Mappings:
Namespace Name Mixin selector official fH
Lbjq;fH()Laut$a;
intermediary method_26955
Lnet/minecraft/class_1646;method_26955()Lnet/minecraft/class_5132$class_5133;
named createVillagerAttributes
Lnet/minecraft/entity/passive/VillagerEntity;createVillagerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
isNatural
public boolean isNatural()- Mappings:
Namespace Name Mixin selector official fI
Lbjq;fI()Z
intermediary method_29279
Lnet/minecraft/class_1646;method_29279()Z
named isNatural
Lnet/minecraft/entity/passive/VillagerEntity;isNatural()Z
-
mobTick
protected void mobTick() -
tick
public void tick() -
interactMob
- Overrides:
interactMob
in classMobEntity
- Mappings:
Namespace Name Mixin selector official b
Latv;b(Lbkd;Larz;)Lasa;
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;
-
sayNo
private void sayNo()- Mappings:
Namespace Name Mixin selector official fT
Lbjq;fT()V
intermediary method_20264
Lnet/minecraft/class_1646;method_20264()V
named sayNo
Lnet/minecraft/entity/passive/VillagerEntity;sayNo()V
-
beginTradeWith
- Mappings:
Namespace Name Mixin selector official h
Lbjq;h(Lbkd;)V
intermediary method_19191
Lnet/minecraft/class_1646;method_19191(Lnet/minecraft/class_1657;)V
named beginTradeWith
Lnet/minecraft/entity/passive/VillagerEntity;beginTradeWith(Lnet/minecraft/entity/player/PlayerEntity;)V
-
setCurrentCustomer
- Specified by:
setCurrentCustomer
in interfaceMerchant
- Overrides:
setCurrentCustomer
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official f
Lbvl;f(Lbkd;)V
intermediary method_8259
Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)V
named setCurrentCustomer
Lnet/minecraft/village/Merchant;setCurrentCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
resetCustomer
protected void resetCustomer()- Overrides:
resetCustomer
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official fB
Lbjl;fB()V
intermediary method_19181
Lnet/minecraft/class_3988;method_19181()V
named resetCustomer
Lnet/minecraft/entity/passive/MerchantEntity;resetCustomer()V
-
clearSpecialPrices
private void clearSpecialPrices()Resets the special price of all the trade offers of this villager.- Mappings:
Namespace Name Mixin selector official fU
Lbjq;fU()V
intermediary method_19187
Lnet/minecraft/class_1646;method_19187()V
named clearSpecialPrices
Lnet/minecraft/entity/passive/VillagerEntity;clearSpecialPrices()V
-
canRefreshTrades
public boolean canRefreshTrades()- Specified by:
canRefreshTrades
in interfaceMerchant
- Mappings:
Namespace Name Mixin selector official fJ
Lbvl;fJ()Z
intermediary method_20708
Lnet/minecraft/class_1915;method_20708()Z
named canRefreshTrades
Lnet/minecraft/village/Merchant;canRefreshTrades()Z
-
restock
public void restock()- Mappings:
Namespace Name Mixin selector official fK
Lbjq;fK()V
intermediary method_19182
Lnet/minecraft/class_1646;method_19182()V
named restock
Lnet/minecraft/entity/passive/VillagerEntity;restock()V
-
needsRestock
private boolean needsRestock()Returns whether this villager needs restock.Checks if at least one of its trade offers has been used.
- Mappings:
Namespace Name Mixin selector official fV
Lbjq;fV()Z
intermediary method_20823
Lnet/minecraft/class_1646;method_20823()Z
named needsRestock
Lnet/minecraft/entity/passive/VillagerEntity;needsRestock()Z
-
canRestock
private boolean canRestock()- Mappings:
Namespace Name Mixin selector official fW
Lbjq;fW()Z
intermediary method_20824
Lnet/minecraft/class_1646;method_20824()Z
named canRestock
Lnet/minecraft/entity/passive/VillagerEntity;canRestock()Z
-
shouldRestock
public boolean shouldRestock()- Mappings:
Namespace Name Mixin selector official fL
Lbjq;fL()Z
intermediary method_20822
Lnet/minecraft/class_1646;method_20822()Z
named shouldRestock
Lnet/minecraft/entity/passive/VillagerEntity;shouldRestock()Z
-
restockAndUpdateDemandBonus
private void restockAndUpdateDemandBonus()- Mappings:
Namespace Name Mixin selector official fX
Lbjq;fX()V
intermediary method_21723
Lnet/minecraft/class_1646;method_21723()V
named restockAndUpdateDemandBonus
Lnet/minecraft/entity/passive/VillagerEntity;restockAndUpdateDemandBonus()V
-
updateDemandBonus
private void updateDemandBonus()Updates the demand bonus of all the trade offers of this villager.- Mappings:
Namespace Name Mixin selector official fY
Lbjq;fY()V
intermediary method_21724
Lnet/minecraft/class_1646;method_21724()V
named updateDemandBonus
Lnet/minecraft/entity/passive/VillagerEntity;updateDemandBonus()V
-
prepareOffersFor
- Mappings:
Namespace Name Mixin selector official i
Lbjq;i(Lbkd;)V
intermediary method_19192
Lnet/minecraft/class_1646;method_19192(Lnet/minecraft/class_1657;)V
named prepareOffersFor
Lnet/minecraft/entity/passive/VillagerEntity;prepareOffersFor(Lnet/minecraft/entity/player/PlayerEntity;)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTracker
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official a_
Latf;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbt
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official b
Latf;b(Lna;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbt
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Lna;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared)- Overrides:
canImmediatelyDespawn
in classMobEntity
- Mappings:
Namespace Name Mixin selector official h
Latv;h(D)Z
intermediary method_5974
Lnet/minecraft/class_1308;method_5974(D)Z
named canImmediatelyDespawn
Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official q
Latv;q()Lafd;
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
Latt;c(Lasp;)Lafd;
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 v_
Latt;v_()Lafd;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
playWorkSound
public void playWorkSound()- Mappings:
Namespace Name Mixin selector official fM
Lbjq;fM()V
intermediary method_19183
Lnet/minecraft/class_1646;method_19183()V
named playWorkSound
Lnet/minecraft/entity/passive/VillagerEntity;playWorkSound()V
-
setVillagerData
- Specified by:
setVillagerData
in interfaceVillagerDataContainer
- Mappings:
Namespace Name Mixin selector official a
Lbjs;a(Lbjr;)V
intermediary method_7195
Lnet/minecraft/class_3851;method_7195(Lnet/minecraft/class_3850;)V
named setVillagerData
Lnet/minecraft/village/VillagerDataContainer;setVillagerData(Lnet/minecraft/village/VillagerData;)V
-
getVillagerData
- Specified by:
getVillagerData
in interfaceVillagerDataContainer
- Mappings:
Namespace Name Mixin selector official fG
Lbjs;fG()Lbjr;
intermediary method_7231
Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;
named getVillagerData
Lnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
-
afterUsing
- Specified by:
afterUsing
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official b
Lbjl;b(Lbvm;)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
-
method_35201
public void method_35201(boolean bool)- Mappings:
Namespace Name Mixin selector official w
Lbjq;w(Z)V
intermediary method_35201
Lnet/minecraft/class_1646;method_35201(Z)V
named method_35201
Lnet/minecraft/entity/passive/VillagerEntity;method_35201(Z)V
-
method_35200
public boolean method_35200()- Mappings:
Namespace Name Mixin selector official fN
Lbjq;fN()Z
intermediary method_35200
Lnet/minecraft/class_1646;method_35200()Z
named method_35200
Lnet/minecraft/entity/passive/VillagerEntity;method_35200()Z
-
setAttacker
- Overrides:
setAttacker
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Latt;)V
intermediary method_6015
Lnet/minecraft/class_1309;method_6015(Lnet/minecraft/class_1309;)V
named setAttacker
Lnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
-
onDeath
- Overrides:
onDeath
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official a
Latt;a(Lasp;)V
intermediary method_6078
Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
named onDeath
Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
releaseAllTickets
private void releaseAllTickets()- Mappings:
Namespace Name Mixin selector official fZ
Lbjq;fZ()V
intermediary method_30958
Lnet/minecraft/class_1646;method_30958()V
named releaseAllTickets
Lnet/minecraft/entity/passive/VillagerEntity;releaseAllTickets()V
-
notifyDeath
- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(Latf;)V
intermediary method_20690
Lnet/minecraft/class_1646;method_20690(Lnet/minecraft/class_1297;)V
named notifyDeath
Lnet/minecraft/entity/passive/VillagerEntity;notifyDeath(Lnet/minecraft/entity/Entity;)V
-
releaseTicketFor
- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(Lbbt;)V
intermediary method_19176
Lnet/minecraft/class_1646;method_19176(Lnet/minecraft/class_4140;)V
named releaseTicketFor
Lnet/minecraft/entity/passive/VillagerEntity;releaseTicketFor(Lnet/minecraft/entity/ai/brain/MemoryModuleType;)V
-
isReadyToBreed
public boolean isReadyToBreed()- Overrides:
isReadyToBreed
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official g
Latd;g()Z
intermediary method_19184
Lnet/minecraft/class_1296;method_19184()Z
named isReadyToBreed
Lnet/minecraft/entity/passive/PassiveEntity;isReadyToBreed()Z
-
lacksFood
private boolean lacksFood()- Mappings:
Namespace Name Mixin selector official ga
Lbjq;ga()Z
intermediary method_20698
Lnet/minecraft/class_1646;method_20698()Z
named lacksFood
Lnet/minecraft/entity/passive/VillagerEntity;lacksFood()Z
-
consumeAvailableFood
private void consumeAvailableFood()- Mappings:
Namespace Name Mixin selector official gb
Lbjq;gb()V
intermediary method_19185
Lnet/minecraft/class_1646;method_19185()V
named consumeAvailableFood
Lnet/minecraft/entity/passive/VillagerEntity;consumeAvailableFood()V
-
getReputation
- Mappings:
Namespace Name Mixin selector official g
Lbjq;g(Lbkd;)I
intermediary method_20594
Lnet/minecraft/class_1646;method_20594(Lnet/minecraft/class_1657;)I
named getReputation
Lnet/minecraft/entity/passive/VillagerEntity;getReputation(Lnet/minecraft/entity/player/PlayerEntity;)I
-
depleteFood
private void depleteFood(int amount)- Mappings:
Namespace Name Mixin selector official w
Lbjq;w(I)V
intermediary method_19193
Lnet/minecraft/class_1646;method_19193(I)V
named depleteFood
Lnet/minecraft/entity/passive/VillagerEntity;depleteFood(I)V
-
eatForBreeding
public void eatForBreeding()- Mappings:
Namespace Name Mixin selector official fO
Lbjq;fO()V
intermediary method_20697
Lnet/minecraft/class_1646;method_20697()V
named eatForBreeding
Lnet/minecraft/entity/passive/VillagerEntity;eatForBreeding()V
-
setOffers
- Mappings:
Namespace Name Mixin selector official b
Lbjq;b(Lbvn;)V
intermediary method_16917
Lnet/minecraft/class_1646;method_16917(Lnet/minecraft/class_1916;)V
named setOffers
Lnet/minecraft/entity/passive/VillagerEntity;setOffers(Lnet/minecraft/village/TradeOfferList;)V
-
canLevelUp
private boolean canLevelUp()- Mappings:
Namespace Name Mixin selector official gc
Lbjq;gc()Z
intermediary method_19188
Lnet/minecraft/class_1646;method_19188()Z
named canLevelUp
Lnet/minecraft/entity/passive/VillagerEntity;canLevelUp()Z
-
levelUp
private void levelUp()- Mappings:
Namespace Name Mixin selector official gd
Lbjq;gd()V
intermediary method_16918
Lnet/minecraft/class_1646;method_16918()V
named levelUp
Lnet/minecraft/entity/passive/VillagerEntity;levelUp()V
-
getDefaultName
- Overrides:
getDefaultName
in classEntity
- Mappings:
Namespace Name Mixin selector official bY
Latf;bY()Los;
intermediary method_23315
Lnet/minecraft/class_1297;method_23315()Lnet/minecraft/class_2561;
named getDefaultName
Lnet/minecraft/entity/Entity;getDefaultName()Lnet/minecraft/text/Text;
-
handleStatus
public void handleStatus(byte status)- Overrides:
handleStatus
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)- Overrides:
initialize
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official a
Latv;a(Lbxd;Lary;Latx;Laul;Lna;)Laul;
intermediary method_5943
Lnet/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 initialize
Lnet/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;
-
createChild
- Specified by:
createChild
in classPassiveEntity
- Mappings:
Namespace Name Mixin selector official b
Lbjq;b(Labr;Latd;)Lbjq;
intermediary method_7225
Lnet/minecraft/class_1646;method_7225(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1646;
named createChild
Lnet/minecraft/entity/passive/VillagerEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/VillagerEntity;
-
onStruckByLightning
- Overrides:
onStruckByLightning
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Latf;a(Labr;Lats;)V
intermediary method_5800
Lnet/minecraft/class_1297;method_5800(Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)V
named onStruckByLightning
Lnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LightningEntity;)V
-
loot
-
canGather
-
wantsToStartBreeding
public boolean wantsToStartBreeding()- Mappings:
Namespace Name Mixin selector official fP
Lbjq;fP()Z
intermediary method_7234
Lnet/minecraft/class_1646;method_7234()Z
named wantsToStartBreeding
Lnet/minecraft/entity/passive/VillagerEntity;wantsToStartBreeding()Z
-
canBreed
public boolean canBreed()- Mappings:
Namespace Name Mixin selector official fQ
Lbjq;fQ()Z
intermediary method_7239
Lnet/minecraft/class_1646;method_7239()Z
named canBreed
Lnet/minecraft/entity/passive/VillagerEntity;canBreed()Z
-
getAvailableFood
private int getAvailableFood()- Mappings:
Namespace Name Mixin selector official ge
Lbjq;ge()I
intermediary method_19189
Lnet/minecraft/class_1646;method_19189()I
named getAvailableFood
Lnet/minecraft/entity/passive/VillagerEntity;getAvailableFood()I
-
hasSeedToPlant
public boolean hasSeedToPlant()- Mappings:
Namespace Name Mixin selector official fR
Lbjq;fR()Z
intermediary method_19623
Lnet/minecraft/class_1646;method_19623()Z
named hasSeedToPlant
Lnet/minecraft/entity/passive/VillagerEntity;hasSeedToPlant()Z
-
fillRecipes
protected void fillRecipes()- Specified by:
fillRecipes
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official fE
Lbjl;fE()V
intermediary method_7237
Lnet/minecraft/class_3988;method_7237()V
named fillRecipes
Lnet/minecraft/entity/passive/MerchantEntity;fillRecipes()V
-
talkWithVillager
- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(Labr;Lbjq;J)V
intermediary method_19177
Lnet/minecraft/class_1646;method_19177(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
named talkWithVillager
Lnet/minecraft/entity/passive/VillagerEntity;talkWithVillager(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
-
decayGossip
private void decayGossip()- Mappings:
Namespace Name Mixin selector official gf
Lbjq;gf()V
intermediary method_20696
Lnet/minecraft/class_1646;method_20696()V
named decayGossip
Lnet/minecraft/entity/passive/VillagerEntity;decayGossip()V
-
summonGolem
- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(Labr;JI)V
intermediary method_20688
Lnet/minecraft/class_1646;method_20688(Lnet/minecraft/class_3218;JI)V
named summonGolem
Lnet/minecraft/entity/passive/VillagerEntity;summonGolem(Lnet/minecraft/server/world/ServerWorld;JI)V
-
canSummonGolem
public boolean canSummonGolem(long time)- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(J)Z
intermediary method_20687
Lnet/minecraft/class_1646;method_20687(J)Z
named canSummonGolem
Lnet/minecraft/entity/passive/VillagerEntity;canSummonGolem(J)Z
-
spawnIronGolem
- Mappings:
Namespace Name Mixin selector official d
Lbjq;d(Labr;)Lbeh;
intermediary method_19190
Lnet/minecraft/class_1646;method_19190(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1439;
named spawnIronGolem
Lnet/minecraft/entity/passive/VillagerEntity;spawnIronGolem(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/entity/passive/IronGolemEntity;
-
getHighestOpenPositionOnOffset
@Nullable private @Nullable BlockPos getHighestOpenPositionOnOffset(BlockPos pos, double x, double z)- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(Lgg;DD)Lgg;
intermediary method_30023
Lnet/minecraft/class_1646;method_30023(Lnet/minecraft/class_2338;DD)Lnet/minecraft/class_2338;
named getHighestOpenPositionOnOffset
Lnet/minecraft/entity/passive/VillagerEntity;getHighestOpenPositionOnOffset(Lnet/minecraft/util/math/BlockPos;DD)Lnet/minecraft/util/math/BlockPos;
-
onInteractionWith
- Specified by:
onInteractionWith
in interfaceInteractionObserver
- Mappings:
Namespace Name Mixin selector official a
Lauh;a(Lbdj;Latf;)V
intermediary method_18870
Lnet/minecraft/class_4094;method_18870(Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;)V
named onInteractionWith
Lnet/minecraft/entity/InteractionObserver;onInteractionWith(Lnet/minecraft/entity/EntityInteraction;Lnet/minecraft/entity/Entity;)V
-
getExperience
public int getExperience()- Specified by:
getExperience
in interfaceMerchant
- Overrides:
getExperience
in classMerchantEntity
- Mappings:
Namespace Name Mixin selector official t
Lbvl;t()I
intermediary method_19269
Lnet/minecraft/class_1915;method_19269()I
named getExperience
Lnet/minecraft/village/Merchant;getExperience()I
-
setExperience
public void setExperience(int amount)- Mappings:
Namespace Name Mixin selector official v
Lbjq;v(I)V
intermediary method_19625
Lnet/minecraft/class_1646;method_19625(I)V
named setExperience
Lnet/minecraft/entity/passive/VillagerEntity;setExperience(I)V
-
clearDailyRestockCount
private void clearDailyRestockCount()- Mappings:
Namespace Name Mixin selector official gg
Lbjq;gg()V
intermediary method_20821
Lnet/minecraft/class_1646;method_20821()V
named clearDailyRestockCount
Lnet/minecraft/entity/passive/VillagerEntity;clearDailyRestockCount()V
-
getGossip
- Mappings:
Namespace Name Mixin selector official fS
Lbjq;fS()Lbbp;
intermediary method_21651
Lnet/minecraft/class_1646;method_21651()Lnet/minecraft/class_4136;
named getGossip
Lnet/minecraft/entity/passive/VillagerEntity;getGossip()Lnet/minecraft/village/VillagerGossips;
-
readGossipDataNbt
- Mappings:
Namespace Name Mixin selector official a
Lbjq;a(Lns;)V
intermediary method_21650
Lnet/minecraft/class_1646;method_21650(Lnet/minecraft/class_2520;)V
named readGossipDataNbt
Lnet/minecraft/entity/passive/VillagerEntity;readGossipDataNbt(Lnet/minecraft/nbt/NbtElement;)V
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugData
in classMobEntity
- Mappings:
Namespace Name Mixin selector official R
Latv;R()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
sleep
- Overrides:
sleep
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Latt;b(Lgg;)V
intermediary method_18403
Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)V
named sleep
Lnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
-
wakeUp
public void wakeUp()- Overrides:
wakeUp
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eV
Latt;eV()V
intermediary method_18400
Lnet/minecraft/class_1309;method_18400()V
named wakeUp
Lnet/minecraft/entity/LivingEntity;wakeUp()V
-
hasRecentlySlept
private boolean hasRecentlySlept(long worldTime)- Mappings:
Namespace Name Mixin selector official b
Lbjq;b(J)Z
intermediary method_20741
Lnet/minecraft/class_1646;method_20741(J)Z
named hasRecentlySlept
Lnet/minecraft/entity/passive/VillagerEntity;hasRecentlySlept(J)Z
-