Package net.minecraft.entity.mob
Class AbstractPiglinEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.PathAwareEntity
net.minecraft.entity.mob.HostileEntity
net.minecraft.entity.mob.AbstractPiglinEntity
- All Implemented Interfaces:
- Attackable,- DataTracked,- EquipmentHolder,- Leashable,- Monster,- Targeter,- ScoreHolder,- Nameable,- EntityLike
- Direct Known Subclasses:
- PiglinBruteEntity,- PiglinEntity
- Mappings:
- Namespace - Name - named - net/minecraft/entity/mob/AbstractPiglinEntity- intermediary - net/minecraft/class_5418- official - cnl
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.LivingEntityLivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.EntityEntity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReasonNested classes/interfaces inherited from interface net.minecraft.entity.LeashableLeashable.LeashData
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final TrackedData<Boolean> static final intprotected intFields inherited from class net.minecraft.entity.mob.PathAwareEntityDEFAULT_PATHFINDING_FAVORFields inherited from class net.minecraft.entity.mob.MobEntityambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, bodyArmorDropChance, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, field_52220, goalSelector, handDropChances, jumpControl, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelectorFields inherited from class net.minecraft.entity.LivingEntityactiveItemStack, attackingPlayer, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, EQUIPMENT_SLOT_ID, field_30069, field_30070, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_6215, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevScale, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideAttackDamage, riptideStack, riptideTicks, 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.Entityage, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.entity.LeashableLEASH_NBT_KEY, MAX_LEASH_LENGTH, SHORT_LEASH_LENGTHFields inherited from interface net.minecraft.entity.mob.MonsterNORMAL_MONSTER_EXPERIENCE, SMALL_MONSTER_EXPERIENCE, STRONG_MONSTER_EXPERIENCE, STRONGER_MONSTER_EXPERIENCE, WITHER_EXPERIENCE, ZERO_EXPERIENCEFields inherited from interface net.minecraft.scoreboard.ScoreHolderWILDCARD, WILDCARD_NAME
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractPiglinEntity(EntityType<? extends AbstractPiglinEntity> type, World world) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract booleancanHunt()abstract PiglinActivityprotected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.booleanisAdult()protected booleanprotected booleanprotected voidmobTick(ServerWorld world) voidprotected abstract voidvoidReads custom data fromnbt.protected voidprivate voidvoidsetImmuneToZombification(boolean immuneToZombification) voidsetTimeInOverworld(int timeInOverworld) booleanvoidWrites custom data tonbt.protected voidzombify(ServerWorld world) Methods inherited from class net.minecraft.entity.mob.HostileEntitycanSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getDeathSound, getFallSounds, getHurtSound, getPathfindingFavor, getProjectileType, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropExperience, shouldDropLoot, tickMovement, updateDespawnCounterMethods inherited from class net.minecraft.entity.mob.PathAwareEntitybeforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeashMethods inherited from class net.minecraft.entity.mob.MobEntitybaseTick, breakLongLeash, canBeLeashed, canDispenserEquipSlot, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, canUseSlot, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createMobAttributes, createNavigation, dropAllEquipment, dropEquipment, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, equipStack, getAllArmorItems, getAmbientSound, getArmorDropChances, getArmorItems, getAttackBox, getBodyArmor, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getExperienceToDrop, getHandDropChances, getHandItems, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTargetInBrain, getVisibilityCache, handleStatus, hasPositionTarget, initEquipment, initGoals, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateAttribute, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntityaddDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, blockedByShield, canBeNameTagged, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damage, damageArmor, damageEquipment, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, drop, dropExperience, dropInventory, endCombat, enterCombat, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseDimensions, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectiveGravity, getEquippedItems, getExperienceToDrop, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getKnockbackAgainst, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLocationBasedEnchantmentEffects, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, onTrackedDataSet, playBlockFallSound, playSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, resetLerp, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.EntityaddAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, canTeleportBetween, changeLookDirection, clientDamage, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLocalPlayerOrLogicalSideForUpdatingMovement, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, queueBlockCollisionCheck, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setPrevPositionAndAngles, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickBlockCollision, tickPortalCooldown, tickPortalTeleportation, toNbtList, toNbtList, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updatePrevAngles, updatePrevPosition, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.entity.EquipmentHoldergetSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTableMethods inherited from interface net.minecraft.entity.LeashableapplyLeashElasticity, attachLeash, canLeashAttachTo, detachLeash, detachLeashWithoutDrop, getLeashHolder, isLeashed, mightBeLeashed, readLeashDataFromNbt, setUnresolvedLeashHolderId, writeLeashDataToNbtMethods inherited from interface net.minecraft.scoreboard.ScoreHoldergetStyledDisplayName
- 
Field Details- 
IMMUNE_TO_ZOMBIFICATION- Mappings:
- Namespace - Name - Mixin selector - named - IMMUNE_TO_ZOMBIFICATION- Lnet/minecraft/entity/mob/AbstractPiglinEntity;IMMUNE_TO_ZOMBIFICATION:Lnet/minecraft/entity/data/TrackedData;- intermediary - field_25758- Lnet/minecraft/class_5418;field_25758:Lnet/minecraft/class_2940;- official - a- Lcnl;a:Lajy;
 
- 
TIME_TO_ZOMBIFYpublic static final int TIME_TO_ZOMBIFY- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - TIME_TO_ZOMBIFY- Lnet/minecraft/entity/mob/AbstractPiglinEntity;TIME_TO_ZOMBIFY:I- intermediary - field_30547- Lnet/minecraft/class_5418;field_30547:I- official - b- Lcnl;b:I
 
- 
timeInOverworldprotected int timeInOverworld- Mappings:
- Namespace - Name - Mixin selector - named - timeInOverworld- Lnet/minecraft/entity/mob/AbstractPiglinEntity;timeInOverworld:I- intermediary - field_25759- Lnet/minecraft/class_5418;field_25759:I- official - c- Lcnl;c:I
 
 
- 
- 
Constructor Details- 
AbstractPiglinEntity- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V- intermediary - <init>- Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V- official - <init>- Lbum;<init>(Lbut;Ldgj;)V
 
 
- 
- 
Method Details- 
setCanPathThroughDoorsprivate void setCanPathThroughDoors()- Mappings:
- Namespace - Name - Mixin selector - named - setCanPathThroughDoors- Lnet/minecraft/entity/mob/AbstractPiglinEntity;setCanPathThroughDoors()V- intermediary - method_30239- Lnet/minecraft/class_5418;method_30239()V- official - t- Lcnl;t()V
 
- 
canHuntprotected abstract boolean canHunt()- Mappings:
- Namespace - Name - Mixin selector - named - canHunt- Lnet/minecraft/entity/mob/AbstractPiglinEntity;canHunt()Z- intermediary - method_26952- Lnet/minecraft/class_5418;method_26952()Z- official - m- Lcnl;m()Z
 
- 
setImmuneToZombificationpublic void setImmuneToZombification(boolean immuneToZombification) - Mappings:
- Namespace - Name - Mixin selector - named - setImmuneToZombification- Lnet/minecraft/entity/mob/AbstractPiglinEntity;setImmuneToZombification(Z)V- intermediary - method_30240- Lnet/minecraft/class_5418;method_30240(Z)V- official - x- Lcnl;x(Z)V
 
- 
isImmuneToZombificationprotected boolean isImmuneToZombification()- Mappings:
- Namespace - Name - Mixin selector - named - isImmuneToZombification- Lnet/minecraft/entity/mob/AbstractPiglinEntity;isImmuneToZombification()Z- intermediary - method_30234- Lnet/minecraft/class_5418;method_30234()Z- official - p- Lcnl;p()Z
 
- 
initDataTrackerInitializes data tracker.- Overrides:
- initDataTrackerin class- MobEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
- Namespace - Name - Mixin selector - named - initDataTracker- Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V- intermediary - method_5693- Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V- official - a- Lbum;a(Lakc$a;)V
 
- 
writeCustomDataToNbtWrites custom data tonbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. - Overrides:
- writeCustomDataToNbtin class- MobEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - writeCustomDataToNbt- Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V- intermediary - method_5652- Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V- official - b- Lbum;b(Ltq;)V
 
- 
readCustomDataFromNbtReads custom data fromnbt. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity. nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
- readCustomDataFromNbtin class- MobEntity
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - readCustomDataFromNbt- Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V- intermediary - method_5749- Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V- official - a- Lbum;a(Ltq;)V
 
- 
mobTick
- 
setTimeInOverworldpublic void setTimeInOverworld(int timeInOverworld) - Mappings:
- Namespace - Name - Mixin selector - named - setTimeInOverworld- Lnet/minecraft/entity/mob/AbstractPiglinEntity;setTimeInOverworld(I)V- intermediary - method_63664- Lnet/minecraft/class_5418;method_63664(I)V- official - b- Lcnl;b(I)V
 
- 
shouldZombifypublic boolean shouldZombify()- Mappings:
- Namespace - Name - Mixin selector - named - shouldZombify- Lnet/minecraft/entity/mob/AbstractPiglinEntity;shouldZombify()Z- intermediary - method_30235- Lnet/minecraft/class_5418;method_30235()Z- official - x- Lcnl;x()Z
 
- 
zombify- Mappings:
- Namespace - Name - Mixin selector - named - zombify- Lnet/minecraft/entity/mob/AbstractPiglinEntity;zombify(Lnet/minecraft/server/world/ServerWorld;)V- intermediary - method_24694- Lnet/minecraft/class_5418;method_24694(Lnet/minecraft/class_3218;)V- official - g- Lcnl;g(Lard;)V
 
- 
isAdultpublic boolean isAdult()- Mappings:
- Namespace - Name - Mixin selector - named - isAdult- Lnet/minecraft/entity/mob/AbstractPiglinEntity;isAdult()Z- intermediary - method_30236- Lnet/minecraft/class_5418;method_30236()Z- official - gs- Lcnl;gs()Z
 
- 
getActivity- Mappings:
- Namespace - Name - Mixin selector - named - getActivity- Lnet/minecraft/entity/mob/AbstractPiglinEntity;getActivity()Lnet/minecraft/entity/mob/PiglinActivity;- intermediary - method_24705- Lnet/minecraft/class_5418;method_24705()Lnet/minecraft/class_4837;- official - gt- Lcnl;gt()Lcno;
 
- 
getTarget- Specified by:
- getTargetin interface- Targeter
- Overrides:
- getTargetin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - named - getTarget- Lnet/minecraft/entity/Targeter;getTarget()Lnet/minecraft/entity/LivingEntity;- intermediary - method_5968- Lnet/minecraft/class_8152;method_5968()Lnet/minecraft/class_1309;- official - O_- Lbwg;O_()Lbvi;
 
- 
isHoldingToolprotected boolean isHoldingTool()- Mappings:
- Namespace - Name - Mixin selector - named - isHoldingTool- Lnet/minecraft/entity/mob/AbstractPiglinEntity;isHoldingTool()Z- intermediary - method_30237- Lnet/minecraft/class_5418;method_30237()Z- official - gu- Lcnl;gu()Z
 
- 
playAmbientSoundpublic void playAmbientSound()- Overrides:
- playAmbientSoundin class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - named - playAmbientSound- Lnet/minecraft/entity/mob/MobEntity;playAmbientSound()V- intermediary - method_5966- Lnet/minecraft/class_1308;method_5966()V- official - U- Lbvk;U()V
 
- 
sendAiDebugDataprotected void sendAiDebugData()- Overrides:
- sendAiDebugDatain class- MobEntity
- Mappings:
- Namespace - Name - Mixin selector - named - sendAiDebugData- Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V- intermediary - method_18409- Lnet/minecraft/class_1308;method_18409()V- official - ac- Lbvk;ac()V
 
- 
playZombificationSoundprotected abstract void playZombificationSound()- Mappings:
- Namespace - Name - Mixin selector - named - playZombificationSound- Lnet/minecraft/entity/mob/AbstractPiglinEntity;playZombificationSound()V- intermediary - method_30238- Lnet/minecraft/class_5418;method_30238()V- official - gv- Lcnl;gv()V
 
 
-