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 bnwintermediary net/minecraft/class_1646named net/minecraft/entity/passive/VillagerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.passive.PassiveEntity
PassiveEntity.PassiveDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intstatic final intstatic final floatprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final longprivate booleanprivate static final org.slf4j.Loggerprivate intprivate final VillagerGossipsprivate longprivate @Nullable PlayerEntityprivate longprivate longprivate longprivate booleanprivate intprivate static final ImmutableList<MemoryModuleType<?>>private booleanstatic final Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity, PointOfInterestType>> private intprivate static final ImmutableList<SensorType<? extends Sensor<? super VillagerEntity>>>private static final TrackedData<VillagerData>Fields inherited from class net.minecraft.entity.passive.MerchantEntity
field_30599, offersFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
field_35670Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, 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, 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_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29974, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsConstructorDescriptionVillagerEntity(EntityType<? extends VillagerEntity> type, World world) VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidafterUsing(TradeOffer offer) private voidbeginTradeWith(PlayerEntity customer) booleancanBreed()booleanbooleancanImmediatelyDespawn(double distanceSquared) private booleanbooleanprivate booleanbooleancanSummonGolem(long time) private voidprivate voidResets the special price of all the trade offers of this villager.private voidprotected Brain.Profile<VillagerEntity>createChild(ServerWorld serverWorld, PassiveEntity passiveEntity) private voidprivate voiddepleteFood(int amount) protected Brain<?>deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) voidprotected voidprotected @Nullable SoundEventprivate intgetBrain()protected SoundEventprotected TextintgetHighestOpenPositionOnOffset(BlockPos pos, double x, double z) protected SoundEventgetHurtSound(DamageSource source) intgetReputation(PlayerEntity player) voidhandleStatus(byte status) private booleanhasRecentlySlept(long worldTime) booleanprivate voidinitBrain(Brain<VillagerEntity> brain) protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactMob(PlayerEntity player, Hand hand) booleanisClient()booleanbooleanprivate booleanprivate voidlevelUp()protected voidloot(ItemEntity item) booleanvoidmethod_35201(boolean bool) protected voidmobTick()private booleanReturns whether this villager needs restock.private voidnotifyDeath(Entity killer) voidonDeath(DamageSource source) protected voidonGrowUp()voidonInteractionWith(EntityInteraction interaction, Entity entity) voidonStruckByLightning(ServerWorld world, LightningEntity lightning) voidprivate voidprepareOffersFor(PlayerEntity player) voidvoidvoidreinitializeBrain(ServerWorld world) private voidvoidreleaseTicketFor(MemoryModuleType<GlobalPos> memoryModuleType) protected voidvoidrestock()private voidprivate voidsayNo()protected voidvoidsetAttacker(@Nullable LivingEntity attacker) voidsetCustomer(@Nullable PlayerEntity customer) voidsetExperience(int experience) voidsetOffers(TradeOfferList offers) voidsetVillagerData(VillagerData villagerData) booleanvoidprivate @Nullable IronGolemEntityspawnIronGolem(ServerWorld world) voidsummonGolem(ServerWorld world, long time, int requiredCount) voidtalkWithVillager(ServerWorld world, VillagerEntity villager, long time) voidtick()private voidUpdates the demand bonus of all the trade offers of this villager.voidwakeUp()Wakes this entity up.booleanvoidMethods inherited from class net.minecraft.entity.passive.MerchantEntity
canBeLeashedBy, fillRecipesFromPool, getActiveEyeHeight, getCustomer, getHeadRollingTimeLeft, getInventory, getLeashPos, getOffers, getStackReference, getTradingSound, getYesSound, hasCustomer, isLeveledMerchant, moveToWorld, onSellingItem, playCelebrateSound, produceParticles, setExperienceFromServer, setHeadRollingTimeLeft, setOffersFromServer, tradeMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, 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, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, 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, 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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyMovementInput, 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, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, 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, onAttacking, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, 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, getHandPosOffset, 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, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, 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, onLanding, 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, scheduleVelocityUpdate, sendSystemMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, 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, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.village.Merchant
sendOffers
-
Field Details
-
field_36335
private static final org.slf4j.Logger field_36335- Mappings:
Namespace Name Mixin selector official cbLbnw;cb:Lorg/slf4j/Logger;intermediary field_36335Lnet/minecraft/class_1646;field_36335:Lorg/slf4j/Logger;named field_36335Lnet/minecraft/entity/passive/VillagerEntity;field_36335:Lorg/slf4j/Logger;
-
VILLAGER_DATA
- Mappings:
Namespace Name Mixin selector official ccLbnw;cc:Lyb;intermediary field_7445Lnet/minecraft/class_1646;field_7445:Lnet/minecraft/class_2940;named VILLAGER_DATALnet/minecraft/entity/passive/VillagerEntity;VILLAGER_DATA:Lnet/minecraft/entity/data/TrackedData;
-
field_30602
public static final int field_30602- See Also:
- Mappings:
Namespace Name Mixin selector official bXLbnw;bX:Iintermediary field_30602Lnet/minecraft/class_1646;field_30602:Inamed field_30602Lnet/minecraft/entity/passive/VillagerEntity;field_30602:I
-
ITEM_FOOD_VALUES
- Mappings:
Namespace Name Mixin selector official bYLbnw;bY:Ljava/util/Map;intermediary field_18526Lnet/minecraft/class_1646;field_18526:Ljava/util/Map;named ITEM_FOOD_VALUESLnet/minecraft/entity/passive/VillagerEntity;ITEM_FOOD_VALUES:Ljava/util/Map;
-
field_30604
private static final int field_30604- See Also:
- Mappings:
Namespace Name Mixin selector official cdLbnw;cd:Iintermediary field_30604Lnet/minecraft/class_1646;field_30604:Inamed field_30604Lnet/minecraft/entity/passive/VillagerEntity;field_30604:I
-
GATHERABLE_ITEMS
- Mappings:
Namespace Name Mixin selector official ceLbnw;ce:Ljava/util/Set;intermediary field_18527Lnet/minecraft/class_1646;field_18527:Ljava/util/Set;named GATHERABLE_ITEMSLnet/minecraft/entity/passive/VillagerEntity;GATHERABLE_ITEMS:Ljava/util/Set;
-
field_30605
private static final int field_30605- See Also:
- Mappings:
Namespace Name Mixin selector official cfLbnw;cf:Iintermediary field_30605Lnet/minecraft/class_1646;field_30605:Inamed field_30605Lnet/minecraft/entity/passive/VillagerEntity;field_30605:I
-
field_30606
private static final int field_30606- See Also:
- Mappings:
Namespace Name Mixin selector official cgLbnw;cg:Iintermediary field_30606Lnet/minecraft/class_1646;field_30606:Inamed field_30606Lnet/minecraft/entity/passive/VillagerEntity;field_30606:I
-
field_30607
private static final int field_30607- See Also:
- Mappings:
Namespace Name Mixin selector official chLbnw;ch:Iintermediary field_30607Lnet/minecraft/class_1646;field_30607:Inamed field_30607Lnet/minecraft/entity/passive/VillagerEntity;field_30607:I
-
field_30608
private static final int field_30608- See Also:
- Mappings:
Namespace Name Mixin selector official ciLbnw;ci:Iintermediary field_30608Lnet/minecraft/class_1646;field_30608:Inamed field_30608Lnet/minecraft/entity/passive/VillagerEntity;field_30608:I
-
field_30609
private static final int field_30609- See Also:
- Mappings:
Namespace Name Mixin selector official cjLbnw;cj:Iintermediary field_30609Lnet/minecraft/class_1646;field_30609:Inamed field_30609Lnet/minecraft/entity/passive/VillagerEntity;field_30609:I
-
field_30610
private static final int field_30610- See Also:
- Mappings:
Namespace Name Mixin selector official ckLbnw;ck:Iintermediary field_30610Lnet/minecraft/class_1646;field_30610:Inamed field_30610Lnet/minecraft/entity/passive/VillagerEntity;field_30610:I
-
field_30611
private static final long field_30611- See Also:
- Mappings:
Namespace Name Mixin selector official clLbnw;cl:Jintermediary field_30611Lnet/minecraft/class_1646;field_30611:Jnamed field_30611Lnet/minecraft/entity/passive/VillagerEntity;field_30611:J
-
field_30603
public static final float field_30603- See Also:
- Mappings:
Namespace Name Mixin selector official bZLbnw;bZ:Fintermediary field_30603Lnet/minecraft/class_1646;field_30603:Fnamed field_30603Lnet/minecraft/entity/passive/VillagerEntity;field_30603:F
-
MEMORY_MODULES
- Mappings:
Namespace Name Mixin selector official czLbnw;cz:Lcom/google/common/collect/ImmutableList;intermediary field_18538Lnet/minecraft/class_1646;field_18538:Lcom/google/common/collect/ImmutableList;named MEMORY_MODULESLnet/minecraft/entity/passive/VillagerEntity;MEMORY_MODULES:Lcom/google/common/collect/ImmutableList;
-
SENSORS
- Mappings:
Namespace Name Mixin selector official cALbnw;cA:Lcom/google/common/collect/ImmutableList;intermediary field_18539Lnet/minecraft/class_1646;field_18539:Lcom/google/common/collect/ImmutableList;named SENSORSLnet/minecraft/entity/passive/VillagerEntity;SENSORS:Lcom/google/common/collect/ImmutableList;
-
POINTS_OF_INTEREST
public static final Map<MemoryModuleType<GlobalPos>,BiPredicate<VillagerEntity, POINTS_OF_INTERESTPointOfInterestType>> - Mappings:
Namespace Name Mixin selector official caLbnw;ca:Ljava/util/Map;intermediary field_18851Lnet/minecraft/class_1646;field_18851:Ljava/util/Map;named POINTS_OF_INTERESTLnet/minecraft/entity/passive/VillagerEntity;POINTS_OF_INTEREST:Ljava/util/Map;
-
levelUpTimer
private int levelUpTimer- Mappings:
Namespace Name Mixin selector official cmLbnw;cm:Iintermediary field_18528Lnet/minecraft/class_1646;field_18528:Inamed levelUpTimerLnet/minecraft/entity/passive/VillagerEntity;levelUpTimer:I
-
levelingUp
private boolean levelingUp- Mappings:
Namespace Name Mixin selector official cnLbnw;cn:Zintermediary field_18529Lnet/minecraft/class_1646;field_18529:Znamed levelingUpLnet/minecraft/entity/passive/VillagerEntity;levelingUp:Z
-
lastCustomer
- Mappings:
Namespace Name Mixin selector official coLbnw;co:Lboj;intermediary field_18530Lnet/minecraft/class_1646;field_18530:Lnet/minecraft/class_1657;named lastCustomerLnet/minecraft/entity/passive/VillagerEntity;lastCustomer:Lnet/minecraft/entity/player/PlayerEntity;
-
field_30612
private boolean field_30612- Mappings:
Namespace Name Mixin selector official cpLbnw;cp:Zintermediary field_30612Lnet/minecraft/class_1646;field_30612:Znamed field_30612Lnet/minecraft/entity/passive/VillagerEntity;field_30612:Z
-
foodLevel
private int foodLevel- Mappings:
Namespace Name Mixin selector official cqLbnw;cq:Iintermediary field_18533Lnet/minecraft/class_1646;field_18533:Inamed foodLevelLnet/minecraft/entity/passive/VillagerEntity;foodLevel:I
-
gossip
- Mappings:
Namespace Name Mixin selector official crLbnw;cr:Lbfu;intermediary field_18534Lnet/minecraft/class_1646;field_18534:Lnet/minecraft/class_4136;named gossipLnet/minecraft/entity/passive/VillagerEntity;gossip:Lnet/minecraft/village/VillagerGossips;
-
gossipStartTime
private long gossipStartTime- Mappings:
Namespace Name Mixin selector official csLbnw;cs:Jintermediary field_18535Lnet/minecraft/class_1646;field_18535:Jnamed gossipStartTimeLnet/minecraft/entity/passive/VillagerEntity;gossipStartTime:J
-
lastGossipDecayTime
private long lastGossipDecayTime- Mappings:
Namespace Name Mixin selector official ctLbnw;ct:Jintermediary field_19357Lnet/minecraft/class_1646;field_19357:Jnamed lastGossipDecayTimeLnet/minecraft/entity/passive/VillagerEntity;lastGossipDecayTime:J
-
experience
private int experience- Mappings:
Namespace Name Mixin selector official cuLbnw;cu:Iintermediary field_18536Lnet/minecraft/class_1646;field_18536:Inamed experienceLnet/minecraft/entity/passive/VillagerEntity;experience:I
-
lastRestockTime
private long lastRestockTime- Mappings:
Namespace Name Mixin selector official cvLbnw;cv:Jintermediary field_18537Lnet/minecraft/class_1646;field_18537:Jnamed lastRestockTimeLnet/minecraft/entity/passive/VillagerEntity;lastRestockTime:J
-
restocksToday
private int restocksToday- Mappings:
Namespace Name Mixin selector official cwLbnw;cw:Iintermediary field_19427Lnet/minecraft/class_1646;field_19427:Inamed restocksTodayLnet/minecraft/entity/passive/VillagerEntity;restocksToday:I
-
lastRestockCheckTime
private long lastRestockCheckTime- Mappings:
Namespace Name Mixin selector official cxLbnw;cx:Jintermediary field_20332Lnet/minecraft/class_1646;field_20332:Jnamed lastRestockCheckTimeLnet/minecraft/entity/passive/VillagerEntity;lastRestockCheckTime:J
-
natural
private boolean natural- Mappings:
Namespace Name Mixin selector official cyLbnw;cy:Zintermediary field_25167Lnet/minecraft/class_1646;field_25167:Znamed naturalLnet/minecraft/entity/passive/VillagerEntity;natural:Z
-
-
Constructor Details
-
VillagerEntity
- Mappings:
Namespace Name Mixin selector official <init>Laxk;<init>(Laxo;Lcav;)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
-
VillagerEntity
public VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type) - Mappings:
Namespace Name Mixin selector official <init>Lbnw;<init>(Laxo;Lcav;Lbob;)Vintermediary <init>Lnet/minecraft/class_1646;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;Lnet/minecraft/class_3854;)Vnamed <init>Lnet/minecraft/entity/passive/VillagerEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;Lnet/minecraft/village/VillagerType;)V
-
-
Method Details
-
getBrain
- Overrides:
getBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official duLaxy;du()Layt;intermediary method_18868Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;named getBrainLnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector official dvLaxy;dv()Layt$b;intermediary method_28306Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;named createBrainProfileLnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaxy;a(Lcom/mojang/serialization/Dynamic;)Layt;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
reinitializeBrain
- Mappings:
Namespace Name Mixin selector official cLbnw;c(Ladw;)Vintermediary method_19179Lnet/minecraft/class_1646;method_19179(Lnet/minecraft/class_3218;)Vnamed reinitializeBrainLnet/minecraft/entity/passive/VillagerEntity;reinitializeBrain(Lnet/minecraft/server/world/ServerWorld;)V
-
initBrain
- Mappings:
Namespace Name Mixin selector official aLbnw;a(Layt;)Vintermediary method_19174Lnet/minecraft/class_1646;method_19174(Lnet/minecraft/class_4095;)Vnamed initBrainLnet/minecraft/entity/passive/VillagerEntity;initBrain(Lnet/minecraft/entity/ai/brain/Brain;)V
-
onGrowUp
protected void onGrowUp()- Overrides:
onGrowUpin classPassiveEntity- Mappings:
Namespace Name Mixin selector official nLaxi;n()Vintermediary method_5619Lnet/minecraft/class_1296;method_5619()Vnamed onGrowUpLnet/minecraft/entity/passive/PassiveEntity;onGrowUp()V
-
createVillagerAttributes
- Mappings:
Namespace Name Mixin selector official fLLbnw;fL()Layy$a;intermediary method_26955Lnet/minecraft/class_1646;method_26955()Lnet/minecraft/class_5132$class_5133;named createVillagerAttributesLnet/minecraft/entity/passive/VillagerEntity;createVillagerAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
isNatural
public boolean isNatural()- Mappings:
Namespace Name Mixin selector official fMLbnw;fM()Zintermediary method_29279Lnet/minecraft/class_1646;method_29279()Znamed isNaturalLnet/minecraft/entity/passive/VillagerEntity;isNatural()Z
-
mobTick
protected void mobTick() -
tick
public void tick() -
interactMob
- Overrides:
interactMobin classMobEntity- Mappings:
Namespace Name Mixin selector official bLaya;b(Lboj;Lawg;)Lawh;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactMobLnet/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 fXLbnw;fX()Vintermediary method_20264Lnet/minecraft/class_1646;method_20264()Vnamed sayNoLnet/minecraft/entity/passive/VillagerEntity;sayNo()V
-
beginTradeWith
- Mappings:
Namespace Name Mixin selector official hLbnw;h(Lboj;)Vintermediary method_19191Lnet/minecraft/class_1646;method_19191(Lnet/minecraft/class_1657;)Vnamed beginTradeWithLnet/minecraft/entity/passive/VillagerEntity;beginTradeWith(Lnet/minecraft/entity/player/PlayerEntity;)V
-
setCustomer
- Specified by:
setCustomerin interfaceMerchant- Overrides:
setCustomerin classMerchantEntity- Mappings:
Namespace Name Mixin selector official fLbzs;f(Lboj;)Vintermediary method_8259Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)Vnamed setCustomerLnet/minecraft/village/Merchant;setCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
resetCustomer
protected void resetCustomer()- Overrides:
resetCustomerin classMerchantEntity- Mappings:
Namespace Name Mixin selector official fFLbnr;fF()Vintermediary method_19181Lnet/minecraft/class_3988;method_19181()Vnamed resetCustomerLnet/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 fYLbnw;fY()Vintermediary method_19187Lnet/minecraft/class_1646;method_19187()Vnamed clearSpecialPricesLnet/minecraft/entity/passive/VillagerEntity;clearSpecialPrices()V
-
canRefreshTrades
public boolean canRefreshTrades()- Specified by:
canRefreshTradesin interfaceMerchant- Mappings:
Namespace Name Mixin selector official fNLbzs;fN()Zintermediary method_20708Lnet/minecraft/class_1915;method_20708()Znamed canRefreshTradesLnet/minecraft/village/Merchant;canRefreshTrades()Z
-
isClient
public boolean isClient()- Specified by:
isClientin interfaceMerchant- Overrides:
isClientin classMerchantEntity- Mappings:
Namespace Name Mixin selector official fILbzs;fI()Zintermediary method_38069Lnet/minecraft/class_1915;method_38069()Znamed isClientLnet/minecraft/village/Merchant;isClient()Z
-
restock
public void restock()- Mappings:
Namespace Name Mixin selector official fOLbnw;fO()Vintermediary method_19182Lnet/minecraft/class_1646;method_19182()Vnamed restockLnet/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 fZLbnw;fZ()Zintermediary method_20823Lnet/minecraft/class_1646;method_20823()Znamed needsRestockLnet/minecraft/entity/passive/VillagerEntity;needsRestock()Z
-
canRestock
private boolean canRestock()- Mappings:
Namespace Name Mixin selector official gaLbnw;ga()Zintermediary method_20824Lnet/minecraft/class_1646;method_20824()Znamed canRestockLnet/minecraft/entity/passive/VillagerEntity;canRestock()Z
-
shouldRestock
public boolean shouldRestock()- Mappings:
Namespace Name Mixin selector official fPLbnw;fP()Zintermediary method_20822Lnet/minecraft/class_1646;method_20822()Znamed shouldRestockLnet/minecraft/entity/passive/VillagerEntity;shouldRestock()Z
-
restockAndUpdateDemandBonus
private void restockAndUpdateDemandBonus()- Mappings:
Namespace Name Mixin selector official gbLbnw;gb()Vintermediary method_21723Lnet/minecraft/class_1646;method_21723()Vnamed restockAndUpdateDemandBonusLnet/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 gcLbnw;gc()Vintermediary method_21724Lnet/minecraft/class_1646;method_21724()Vnamed updateDemandBonusLnet/minecraft/entity/passive/VillagerEntity;updateDemandBonus()V
-
prepareOffersFor
- Mappings:
Namespace Name Mixin selector official iLbnw;i(Lboj;)Vintermediary method_19192Lnet/minecraft/class_1646;method_19192(Lnet/minecraft/class_1657;)Vnamed prepareOffersForLnet/minecraft/entity/passive/VillagerEntity;prepareOffersFor(Lnet/minecraft/entity/player/PlayerEntity;)V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMerchantEntity- Mappings:
Namespace Name Mixin selector official a_Laxk;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMerchantEntity- Mappings:
Namespace Name Mixin selector official bLaxk;b(Lok;)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 classMerchantEntity- Mappings:
Namespace Name Mixin selector official aLaxk;a(Lok;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official hLaya;h(D)Zintermediary method_5974Lnet/minecraft/class_1308;method_5974(D)Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLaya;r()Lahj;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLaxy;c(Lawu;)Lahj;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official x_Laxy;x_()Lahj;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
playWorkSound
public void playWorkSound()- Mappings:
Namespace Name Mixin selector official fQLbnw;fQ()Vintermediary method_19183Lnet/minecraft/class_1646;method_19183()Vnamed playWorkSoundLnet/minecraft/entity/passive/VillagerEntity;playWorkSound()V
-
setVillagerData
- Specified by:
setVillagerDatain interfaceVillagerDataContainer- Mappings:
Namespace Name Mixin selector official aLbny;a(Lbnx;)Vintermediary method_7195Lnet/minecraft/class_3851;method_7195(Lnet/minecraft/class_3850;)Vnamed setVillagerDataLnet/minecraft/village/VillagerDataContainer;setVillagerData(Lnet/minecraft/village/VillagerData;)V
-
getVillagerData
- Specified by:
getVillagerDatain interfaceVillagerDataContainer- Mappings:
Namespace Name Mixin selector official fKLbny;fK()Lbnx;intermediary method_7231Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;named getVillagerDataLnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
-
afterUsing
- Specified by:
afterUsingin classMerchantEntity- Mappings:
Namespace Name Mixin selector official bLbnr;b(Lbzt;)Vintermediary method_18008Lnet/minecraft/class_3988;method_18008(Lnet/minecraft/class_1914;)Vnamed afterUsingLnet/minecraft/entity/passive/MerchantEntity;afterUsing(Lnet/minecraft/village/TradeOffer;)V
-
method_35201
public void method_35201(boolean bool) - Mappings:
Namespace Name Mixin selector official wLbnw;w(Z)Vintermediary method_35201Lnet/minecraft/class_1646;method_35201(Z)Vnamed method_35201Lnet/minecraft/entity/passive/VillagerEntity;method_35201(Z)V
-
method_35200
public boolean method_35200()- Mappings:
Namespace Name Mixin selector official fRLbnw;fR()Zintermediary method_35200Lnet/minecraft/class_1646;method_35200()Znamed method_35200Lnet/minecraft/entity/passive/VillagerEntity;method_35200()Z
-
setAttacker
- Overrides:
setAttackerin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaxy;a(Laxy;)Vintermediary method_6015Lnet/minecraft/class_1309;method_6015(Lnet/minecraft/class_1309;)Vnamed setAttackerLnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
-
onDeath
- Overrides:
onDeathin classMerchantEntity- Mappings:
Namespace Name Mixin selector official aLaxy;a(Lawu;)Vintermediary method_6078Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)Vnamed onDeathLnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
-
releaseAllTickets
private void releaseAllTickets()- Mappings:
Namespace Name Mixin selector official gdLbnw;gd()Vintermediary method_30958Lnet/minecraft/class_1646;method_30958()Vnamed releaseAllTicketsLnet/minecraft/entity/passive/VillagerEntity;releaseAllTickets()V
-
notifyDeath
- Mappings:
Namespace Name Mixin selector official aLbnw;a(Laxk;)Vintermediary method_20690Lnet/minecraft/class_1646;method_20690(Lnet/minecraft/class_1297;)Vnamed notifyDeathLnet/minecraft/entity/passive/VillagerEntity;notifyDeath(Lnet/minecraft/entity/Entity;)V
-
releaseTicketFor
- Mappings:
Namespace Name Mixin selector official aLbnw;a(Lbfy;)Vintermediary method_19176Lnet/minecraft/class_1646;method_19176(Lnet/minecraft/class_4140;)Vnamed releaseTicketForLnet/minecraft/entity/passive/VillagerEntity;releaseTicketFor(Lnet/minecraft/entity/ai/brain/MemoryModuleType;)V
-
isReadyToBreed
public boolean isReadyToBreed()- Overrides:
isReadyToBreedin classPassiveEntity- Mappings:
Namespace Name Mixin selector official gLaxi;g()Zintermediary method_19184Lnet/minecraft/class_1296;method_19184()Znamed isReadyToBreedLnet/minecraft/entity/passive/PassiveEntity;isReadyToBreed()Z
-
lacksFood
private boolean lacksFood()- Mappings:
Namespace Name Mixin selector official geLbnw;ge()Zintermediary method_20698Lnet/minecraft/class_1646;method_20698()Znamed lacksFoodLnet/minecraft/entity/passive/VillagerEntity;lacksFood()Z
-
consumeAvailableFood
private void consumeAvailableFood()- Mappings:
Namespace Name Mixin selector official gfLbnw;gf()Vintermediary method_19185Lnet/minecraft/class_1646;method_19185()Vnamed consumeAvailableFoodLnet/minecraft/entity/passive/VillagerEntity;consumeAvailableFood()V
-
getReputation
- Mappings:
Namespace Name Mixin selector official gLbnw;g(Lboj;)Iintermediary method_20594Lnet/minecraft/class_1646;method_20594(Lnet/minecraft/class_1657;)Inamed getReputationLnet/minecraft/entity/passive/VillagerEntity;getReputation(Lnet/minecraft/entity/player/PlayerEntity;)I
-
depleteFood
private void depleteFood(int amount) - Mappings:
Namespace Name Mixin selector official uLbnw;u(I)Vintermediary method_19193Lnet/minecraft/class_1646;method_19193(I)Vnamed depleteFoodLnet/minecraft/entity/passive/VillagerEntity;depleteFood(I)V
-
eatForBreeding
public void eatForBreeding()- Mappings:
Namespace Name Mixin selector official fSLbnw;fS()Vintermediary method_20697Lnet/minecraft/class_1646;method_20697()Vnamed eatForBreedingLnet/minecraft/entity/passive/VillagerEntity;eatForBreeding()V
-
setOffers
- Mappings:
Namespace Name Mixin selector official bLbnw;b(Lbzu;)Vintermediary method_16917Lnet/minecraft/class_1646;method_16917(Lnet/minecraft/class_1916;)Vnamed setOffersLnet/minecraft/entity/passive/VillagerEntity;setOffers(Lnet/minecraft/village/TradeOfferList;)V
-
canLevelUp
private boolean canLevelUp()- Mappings:
Namespace Name Mixin selector official ggLbnw;gg()Zintermediary method_19188Lnet/minecraft/class_1646;method_19188()Znamed canLevelUpLnet/minecraft/entity/passive/VillagerEntity;canLevelUp()Z
-
levelUp
private void levelUp()- Mappings:
Namespace Name Mixin selector official ghLbnw;gh()Vintermediary method_16918Lnet/minecraft/class_1646;method_16918()Vnamed levelUpLnet/minecraft/entity/passive/VillagerEntity;levelUp()V
-
getDefaultName
- Overrides:
getDefaultNamein classEntity- Mappings:
Namespace Name Mixin selector official cdLaxk;cd()Lqk;intermediary method_23315Lnet/minecraft/class_1297;method_23315()Lnet/minecraft/class_2561;named getDefaultNameLnet/minecraft/entity/Entity;getDefaultName()Lnet/minecraft/text/Text;
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatusin classMobEntity- Mappings:
Namespace Name Mixin selector official aLaxk;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/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:
initializein classMerchantEntity- Mappings:
Namespace Name Mixin selector official aLaya;a(Lcbk;Lawf;Layc;Layq;Lok;)Layq;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;
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official bLbnw;b(Ladw;Laxi;)Lbnw;intermediary method_7225Lnet/minecraft/class_1646;method_7225(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1646;named createChildLnet/minecraft/entity/passive/VillagerEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/VillagerEntity;
-
onStruckByLightning
- Overrides:
onStruckByLightningin classEntity- Mappings:
Namespace Name Mixin selector official aLaxk;a(Ladw;Laxx;)Vintermediary method_5800Lnet/minecraft/class_1297;method_5800(Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)Vnamed onStruckByLightningLnet/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 fTLbnw;fT()Zintermediary method_7234Lnet/minecraft/class_1646;method_7234()Znamed wantsToStartBreedingLnet/minecraft/entity/passive/VillagerEntity;wantsToStartBreeding()Z
-
canBreed
public boolean canBreed()- Mappings:
Namespace Name Mixin selector official fULbnw;fU()Zintermediary method_7239Lnet/minecraft/class_1646;method_7239()Znamed canBreedLnet/minecraft/entity/passive/VillagerEntity;canBreed()Z
-
getAvailableFood
private int getAvailableFood()- Mappings:
Namespace Name Mixin selector official giLbnw;gi()Iintermediary method_19189Lnet/minecraft/class_1646;method_19189()Inamed getAvailableFoodLnet/minecraft/entity/passive/VillagerEntity;getAvailableFood()I
-
hasSeedToPlant
public boolean hasSeedToPlant()- Mappings:
Namespace Name Mixin selector official fVLbnw;fV()Zintermediary method_19623Lnet/minecraft/class_1646;method_19623()Znamed hasSeedToPlantLnet/minecraft/entity/passive/VillagerEntity;hasSeedToPlant()Z
-
fillRecipes
protected void fillRecipes()- Specified by:
fillRecipesin classMerchantEntity- Mappings:
Namespace Name Mixin selector official fHLbnr;fH()Vintermediary method_7237Lnet/minecraft/class_3988;method_7237()Vnamed fillRecipesLnet/minecraft/entity/passive/MerchantEntity;fillRecipes()V
-
talkWithVillager
- Mappings:
Namespace Name Mixin selector official aLbnw;a(Ladw;Lbnw;J)Vintermediary method_19177Lnet/minecraft/class_1646;method_19177(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Vnamed talkWithVillagerLnet/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 gjLbnw;gj()Vintermediary method_20696Lnet/minecraft/class_1646;method_20696()Vnamed decayGossipLnet/minecraft/entity/passive/VillagerEntity;decayGossip()V
-
summonGolem
- Mappings:
Namespace Name Mixin selector official aLbnw;a(Ladw;JI)Vintermediary method_20688Lnet/minecraft/class_1646;method_20688(Lnet/minecraft/class_3218;JI)Vnamed summonGolemLnet/minecraft/entity/passive/VillagerEntity;summonGolem(Lnet/minecraft/server/world/ServerWorld;JI)V
-
canSummonGolem
public boolean canSummonGolem(long time) - Mappings:
Namespace Name Mixin selector official aLbnw;a(J)Zintermediary method_20687Lnet/minecraft/class_1646;method_20687(J)Znamed canSummonGolemLnet/minecraft/entity/passive/VillagerEntity;canSummonGolem(J)Z
-
spawnIronGolem
- Mappings:
Namespace Name Mixin selector official dLbnw;d(Ladw;)Lbin;intermediary method_19190Lnet/minecraft/class_1646;method_19190(Lnet/minecraft/class_3218;)Lnet/minecraft/class_1439;named spawnIronGolemLnet/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 aLbnw;a(Lgj;DD)Lgj;intermediary method_30023Lnet/minecraft/class_1646;method_30023(Lnet/minecraft/class_2338;DD)Lnet/minecraft/class_2338;named getHighestOpenPositionOnOffsetLnet/minecraft/entity/passive/VillagerEntity;getHighestOpenPositionOnOffset(Lnet/minecraft/util/math/BlockPos;DD)Lnet/minecraft/util/math/BlockPos;
-
onInteractionWith
- Specified by:
onInteractionWithin interfaceInteractionObserver- Mappings:
Namespace Name Mixin selector official aLaym;a(Lbhp;Laxk;)Vintermediary method_18870Lnet/minecraft/class_4094;method_18870(Lnet/minecraft/class_4151;Lnet/minecraft/class_1297;)Vnamed onInteractionWithLnet/minecraft/entity/InteractionObserver;onInteractionWith(Lnet/minecraft/entity/EntityInteraction;Lnet/minecraft/entity/Entity;)V
-
getExperience
public int getExperience()- Specified by:
getExperiencein interfaceMerchant- Overrides:
getExperiencein classMerchantEntity- Mappings:
Namespace Name Mixin selector official tLbzs;t()Iintermediary method_19269Lnet/minecraft/class_1915;method_19269()Inamed getExperienceLnet/minecraft/village/Merchant;getExperience()I
-
setExperience
public void setExperience(int experience) - Mappings:
Namespace Name Mixin selector official tLbnw;t(I)Vintermediary method_19625Lnet/minecraft/class_1646;method_19625(I)Vnamed setExperienceLnet/minecraft/entity/passive/VillagerEntity;setExperience(I)V
-
clearDailyRestockCount
private void clearDailyRestockCount()- Mappings:
Namespace Name Mixin selector official gkLbnw;gk()Vintermediary method_20821Lnet/minecraft/class_1646;method_20821()Vnamed clearDailyRestockCountLnet/minecraft/entity/passive/VillagerEntity;clearDailyRestockCount()V
-
getGossip
- Mappings:
Namespace Name Mixin selector official fWLbnw;fW()Lbfu;intermediary method_21651Lnet/minecraft/class_1646;method_21651()Lnet/minecraft/class_4136;named getGossipLnet/minecraft/entity/passive/VillagerEntity;getGossip()Lnet/minecraft/village/VillagerGossips;
-
readGossipDataNbt
- Mappings:
Namespace Name Mixin selector official aLbnw;a(Lpd;)Vintermediary method_21650Lnet/minecraft/class_1646;method_21650(Lnet/minecraft/class_2520;)Vnamed readGossipDataNbtLnet/minecraft/entity/passive/VillagerEntity;readGossipDataNbt(Lnet/minecraft/nbt/NbtElement;)V
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official QLaya;Q()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-
sleep
- Overrides:
sleepin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLaxy;b(Lgj;)Vintermediary method_18403Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)Vnamed sleepLnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
-
wakeUp
public void wakeUp()Wakes this entity up.- Overrides:
wakeUpin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official fdLaxy;fd()Vintermediary method_18400Lnet/minecraft/class_1309;method_18400()Vnamed wakeUpLnet/minecraft/entity/LivingEntity;wakeUp()V
-
hasRecentlySlept
private boolean hasRecentlySlept(long worldTime) - Mappings:
Namespace Name Mixin selector official bLbnw;b(J)Zintermediary method_20741Lnet/minecraft/class_1646;method_20741(J)Znamed hasRecentlySleptLnet/minecraft/entity/passive/VillagerEntity;hasRecentlySlept(J)Z
-