Package net.minecraft.entity.mob
Class HoglinEntity
- All Implemented Interfaces:
Hoglin,Monster,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official brpintermediary net/minecraft/class_4760named net/minecraft/entity/mob/HoglinEntity
-
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 static final TrackedData<Boolean>private booleanprivate static final floatprivate static final intprivate static final floatprivate static final intprivate static final floatprivate static final intprivate static final floatprivate static final intprotected static final ImmutableList<? extends MemoryModuleType<?>>private intprotected static final ImmutableList<? extends SensorType<? extends Sensor<? super HoglinEntity>>>private intFields inherited from class net.minecraft.entity.passive.AnimalEntity
BREEDING_COOLDOWNFields inherited from class net.minecraft.entity.passive.PassiveEntity
BABY_AGE, breedingAge, forcedAge, happyTicksRemainingFields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields 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, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, 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_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, MIN_RISING_BUBBLE_COLUMN_SPEED, 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
DUMMYFields inherited from interface net.minecraft.entity.mob.Hoglin
field_30546Fields inherited from interface net.minecraft.entity.mob.Monster
NORMAL_MONSTER_XP, SMALL_MONSTER_XP, STRONG_MONSTER_XP, STRONGER_MONSTER_XP, WITHER_XP, ZERO_XP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleancanBeLeashedBy(PlayerEntity player) booleanbooleancanEat()booleancanImmediatelyDespawn(double distanceSquared) static booleancanSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) protected Brain.Profile<HoglinEntity>createChild(ServerWorld world, PassiveEntity entity) booleandamage(DamageSource source, float amount) protected Brain<?>deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) protected SoundEventgetBrain()protected SoundEventprotected SoundEventgetHurtSound(DamageSource source) doubleintfloatgetPathfindingFavor(BlockPos pos, WorldView world) protected SoundEventprotected SoundEventintCalled when this entity is killed and returns the amount of experience to drop.voidhandleStatus(byte status) protected voidinitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactMob(PlayerEntity player, Hand hand) booleanisAdult()booleanisBreedingItem(ItemStack stack) private booleanprotected voidknockback(LivingEntity target) protected voidmobTick()protected voidonGrowUp()protected voidplaySound(SoundEvent sound) protected voidplayStepSound(BlockPos pos, BlockState state) voidprotected voidprivate voidsetCannotBeHunted(boolean cannotBeHunted) voidsetImmuneToZombification(boolean immuneToZombification) booleanReturns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.voidbooleanvoidprivate voidzombify(ServerWorld word) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
breed, canBreedWith, eat, getHeightOffset, getLoveTicks, getLovingPlayer, getMinAmbientSoundDelay, isInLove, isLightLevelValidForNaturalSpawn, isValidNaturalSpawn, lovePlayer, resetLoveTicks, setLoveTicksMethods inherited from class net.minecraft.entity.passive.PassiveEntity
getBreedingAge, growUp, growUp, isBaby, isReadyToBreed, onTrackedDataSet, setBaby, setBreedingAge, toGrowUpAgeMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canEquip, canGather, 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, getItemPickUpRangeExpander, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPotentialEscapePositions, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, initEquipment, initGoals, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, 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, tick, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, 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, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, asMessageSender, 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, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEventSource, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, 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, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSyncedPos, 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, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, 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, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, 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, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, 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
cannotBeSilenced
-
Field Details
-
BABY
- Mappings:
Namespace Name Mixin selector official caLbrp;ca:Lzr;intermediary field_23737Lnet/minecraft/class_4760;field_23737:Lnet/minecraft/class_2940;named BABYLnet/minecraft/entity/mob/HoglinEntity;BABY:Lnet/minecraft/entity/data/TrackedData;
-
field_30525
private static final float field_30525- See Also:
- Mappings:
Namespace Name Mixin selector official cbLbrp;cb:Fintermediary field_30525Lnet/minecraft/class_4760;field_30525:Fnamed field_30525Lnet/minecraft/entity/mob/HoglinEntity;field_30525:F
-
field_30526
private static final int field_30526- See Also:
- Mappings:
Namespace Name Mixin selector official ccLbrp;cc:Iintermediary field_30526Lnet/minecraft/class_4760;field_30526:Inamed field_30526Lnet/minecraft/entity/mob/HoglinEntity;field_30526:I
-
field_30527
private static final float field_30527- See Also:
- Mappings:
Namespace Name Mixin selector official cdLbrp;cd:Fintermediary field_30527Lnet/minecraft/class_4760;field_30527:Fnamed field_30527Lnet/minecraft/entity/mob/HoglinEntity;field_30527:F
-
field_30528
private static final int field_30528- See Also:
- Mappings:
Namespace Name Mixin selector official ceLbrp;ce:Iintermediary field_30528Lnet/minecraft/class_4760;field_30528:Inamed field_30528Lnet/minecraft/entity/mob/HoglinEntity;field_30528:I
-
field_30529
private static final float field_30529- See Also:
- Mappings:
Namespace Name Mixin selector official cfLbrp;cf:Fintermediary field_30529Lnet/minecraft/class_4760;field_30529:Fnamed field_30529Lnet/minecraft/entity/mob/HoglinEntity;field_30529:F
-
field_30530
private static final int field_30530- See Also:
- Mappings:
Namespace Name Mixin selector official cgLbrp;cg:Iintermediary field_30530Lnet/minecraft/class_4760;field_30530:Inamed field_30530Lnet/minecraft/entity/mob/HoglinEntity;field_30530:I
-
field_30531
private static final float field_30531- See Also:
- Mappings:
Namespace Name Mixin selector official chLbrp;ch:Fintermediary field_30531Lnet/minecraft/class_4760;field_30531:Fnamed field_30531Lnet/minecraft/entity/mob/HoglinEntity;field_30531:F
-
field_30532
private static final int field_30532- See Also:
- Mappings:
Namespace Name Mixin selector official ciLbrp;ci:Iintermediary field_30532Lnet/minecraft/class_4760;field_30532:Inamed field_30532Lnet/minecraft/entity/mob/HoglinEntity;field_30532:I
-
SENSOR_TYPES
protected static final ImmutableList<? extends SensorType<? extends Sensor<? super HoglinEntity>>> SENSOR_TYPES- Mappings:
Namespace Name Mixin selector official bXLbrp;bX:Lcom/google/common/collect/ImmutableList;intermediary field_22365Lnet/minecraft/class_4760;field_22365:Lcom/google/common/collect/ImmutableList;named SENSOR_TYPESLnet/minecraft/entity/mob/HoglinEntity;SENSOR_TYPES:Lcom/google/common/collect/ImmutableList;
-
MEMORY_MODULE_TYPES
- Mappings:
Namespace Name Mixin selector official bYLbrp;bY:Lcom/google/common/collect/ImmutableList;intermediary field_22366Lnet/minecraft/class_4760;field_22366:Lcom/google/common/collect/ImmutableList;named MEMORY_MODULE_TYPESLnet/minecraft/entity/mob/HoglinEntity;MEMORY_MODULE_TYPES:Lcom/google/common/collect/ImmutableList;
-
movementCooldownTicks
private int movementCooldownTicks- Mappings:
Namespace Name Mixin selector official cjLbrp;cj:Iintermediary field_22368Lnet/minecraft/class_4760;field_22368:Inamed movementCooldownTicksLnet/minecraft/entity/mob/HoglinEntity;movementCooldownTicks:I
-
timeInOverworld
private int timeInOverworld- Mappings:
Namespace Name Mixin selector official ckLbrp;ck:Iintermediary field_23735Lnet/minecraft/class_4760;field_23735:Inamed timeInOverworldLnet/minecraft/entity/mob/HoglinEntity;timeInOverworld:I
-
cannotBeHunted
private boolean cannotBeHunted- Mappings:
Namespace Name Mixin selector official clLbrp;cl:Zintermediary field_23736Lnet/minecraft/class_4760;field_23736:Znamed cannotBeHuntedLnet/minecraft/entity/mob/HoglinEntity;cannotBeHunted:Z
-
-
Constructor Details
-
HoglinEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbaq;<init>(Lbau;Lcga;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classMobEntity- Mappings:
Namespace Name Mixin selector official aLbbh;a(Lbtf;)Zintermediary method_5931Lnet/minecraft/class_1308;method_5931(Lnet/minecraft/class_1657;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
createHoglinAttributes
- Mappings:
Namespace Name Mixin selector official qLbrp;q()Lbcf$a;intermediary method_26943Lnet/minecraft/class_4760;method_26943()Lnet/minecraft/class_5132$class_5133;named createHoglinAttributesLnet/minecraft/entity/mob/HoglinEntity;createHoglinAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
tryAttack
-
knockback
- Overrides:
knockbackin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLbbf;e(Lbbf;)Vintermediary method_6060Lnet/minecraft/class_1309;method_6060(Lnet/minecraft/class_1309;)Vnamed knockbackLnet/minecraft/entity/LivingEntity;knockback(Lnet/minecraft/entity/LivingEntity;)V
-
damage
- Overrides:
damagein classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lazz;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
createBrainProfile
- Overrides:
createBrainProfilein classLivingEntity- Mappings:
Namespace Name Mixin selector official dALbbf;dA()Lbca$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 aLbbf;a(Lcom/mojang/serialization/Dynamic;)Lbca;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;
-
getBrain
- Overrides:
getBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official dzLbbf;dz()Lbca;intermediary method_18868Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;named getBrainLnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
mobTick
protected void mobTick()- Overrides:
mobTickin classAnimalEntity- Mappings:
Namespace Name Mixin selector official TLbbh;T()Vintermediary method_5958Lnet/minecraft/class_1308;method_5958()Vnamed mobTickLnet/minecraft/entity/mob/MobEntity;mobTick()V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classAnimalEntity- Mappings:
Namespace Name Mixin selector official w_Lbbf;w_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
onGrowUp
protected void onGrowUp()- Overrides:
onGrowUpin classPassiveEntity- Mappings:
Namespace Name Mixin selector official nLban;n()Vintermediary method_5619Lnet/minecraft/class_1296;method_5619()Vnamed onGrowUpLnet/minecraft/entity/passive/PassiveEntity;onGrowUp()V
-
canSpawn
public static boolean canSpawn(EntityType<HoglinEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random) - Mappings:
Namespace Name Mixin selector official cLbrp;c(Lbau;Lcgb;Lbbj;Lgt;Lalu;)Zintermediary method_24349Lnet/minecraft/class_4760;method_24349(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Znamed canSpawnLnet/minecraft/entity/mob/HoglinEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initializein classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLbbh;a(Lcgp;Lazk;Lbbj;Lbbx;Lpj;)Lbbx;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;
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawnin classAnimalEntity- Mappings:
Namespace Name Mixin selector official hLbbh;h(D)Zintermediary method_5974Lnet/minecraft/class_1308;method_5974(D)Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbbo;a(Lgt;Lcgd;)Fintermediary method_6144Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)Fnamed getPathfindingFavorLnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
-
getMountedHeightOffset
public double getMountedHeightOffset()- Overrides:
getMountedHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official buLbaq;bu()Dintermediary method_5621Lnet/minecraft/class_1297;method_5621()Dnamed getMountedHeightOffsetLnet/minecraft/entity/Entity;getMountedHeightOffset()D
-
interactMob
- Overrides:
interactMobin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLbbh;b(Lbtf;Lazl;)Lazm;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;
-
handleStatus
public void handleStatus(byte status) - Overrides:
handleStatusin classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
getMovementCooldownTicks
public int getMovementCooldownTicks()- Specified by:
getMovementCooldownTicksin interfaceHoglin- Mappings:
Namespace Name Mixin selector official fKLbrr;fK()Iintermediary method_24657Lnet/minecraft/class_5137;method_24657()Inamed getMovementCooldownTicksLnet/minecraft/entity/mob/Hoglin;getMovementCooldownTicks()I
-
shouldDropXp
public boolean shouldDropXp()Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.If
shouldAlwaysDropXp()returnstrue, this check is disregarded.- Overrides:
shouldDropXpin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official dNLbbf;dN()Zintermediary method_6054Lnet/minecraft/class_1309;method_6054()Znamed shouldDropXpLnet/minecraft/entity/LivingEntity;shouldDropXp()Z
-
getXpToDrop
public int getXpToDrop()Called when this entity is killed and returns the amount of experience to drop.- Overrides:
getXpToDropin classAnimalEntity- See Also:
- Mappings:
Namespace Name Mixin selector official dPLbbf;dP()Iintermediary method_6110Lnet/minecraft/class_1309;method_6110()Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop()I
-
zombify
- Mappings:
Namespace Name Mixin selector official cLbrp;c(Lafo;)Vintermediary method_26942Lnet/minecraft/class_4760;method_26942(Lnet/minecraft/class_3218;)Vnamed zombifyLnet/minecraft/entity/mob/HoglinEntity;zombify(Lnet/minecraft/server/world/ServerWorld;)V
-
isBreedingItem
- Overrides:
isBreedingItemin classAnimalEntity- Mappings:
Namespace Name Mixin selector official nLbmh;n(Lcaa;)Zintermediary method_6481Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Znamed isBreedingItemLnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
-
isAdult
public boolean isAdult()- Mappings:
Namespace Name Mixin selector official tLbrp;t()Zintermediary method_24658Lnet/minecraft/class_4760;method_24658()Znamed isAdultLnet/minecraft/entity/mob/HoglinEntity;isAdult()Z
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classPassiveEntity- Mappings:
Namespace Name Mixin selector official a_Lbaq;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector official bLbaq;b(Lpj;)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 classAnimalEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lpj;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
setImmuneToZombification
public void setImmuneToZombification(boolean immuneToZombification) - Mappings:
Namespace Name Mixin selector official vLbrp;v(Z)Vintermediary method_26948Lnet/minecraft/class_4760;method_26948(Z)Vnamed setImmuneToZombificationLnet/minecraft/entity/mob/HoglinEntity;setImmuneToZombification(Z)V
-
isImmuneToZombification
private boolean isImmuneToZombification()- Mappings:
Namespace Name Mixin selector official fSLbrp;fS()Zintermediary method_26946Lnet/minecraft/class_4760;method_26946()Znamed isImmuneToZombificationLnet/minecraft/entity/mob/HoglinEntity;isImmuneToZombification()Z
-
canConvert
public boolean canConvert()- Mappings:
Namespace Name Mixin selector official fLLbrp;fL()Zintermediary method_26944Lnet/minecraft/class_4760;method_26944()Znamed canConvertLnet/minecraft/entity/mob/HoglinEntity;canConvert()Z
-
setCannotBeHunted
private void setCannotBeHunted(boolean cannotBeHunted) - Mappings:
Namespace Name Mixin selector official wLbrp;w(Z)Vintermediary method_26949Lnet/minecraft/class_4760;method_26949(Z)Vnamed setCannotBeHuntedLnet/minecraft/entity/mob/HoglinEntity;setCannotBeHunted(Z)V
-
canBeHunted
public boolean canBeHunted()- Mappings:
Namespace Name Mixin selector official fMLbrp;fM()Zintermediary method_26945Lnet/minecraft/class_4760;method_26945()Znamed canBeHuntedLnet/minecraft/entity/mob/HoglinEntity;canBeHunted()Z
-
createChild
- Specified by:
createChildin classPassiveEntity- Mappings:
Namespace Name Mixin selector official aLban;a(Lafo;Lban;)Lban;intermediary method_5613Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;named createChildLnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
-
canEat
public boolean canEat()- Overrides:
canEatin classAnimalEntity- Mappings:
Namespace Name Mixin selector official fNLbmh;fN()Zintermediary method_6482Lnet/minecraft/class_1429;method_6482()Znamed canEatLnet/minecraft/entity/passive/AnimalEntity;canEat()Z
-
getSoundCategory
- Overrides:
getSoundCategoryin classEntity- Mappings:
Namespace Name Mixin selector official cSLbaq;cS()Lajf;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLbbh;r()Lajd;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 cLbbf;c(Lazz;)Lajd;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_Lbbf;x_()Lajd;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getSwimSound
- Overrides:
getSwimSoundin classEntity- Mappings:
Namespace Name Mixin selector official aGLbaq;aG()Lajd;intermediary method_5737Lnet/minecraft/class_1297;method_5737()Lnet/minecraft/class_3414;named getSwimSoundLnet/minecraft/entity/Entity;getSwimSound()Lnet/minecraft/sound/SoundEvent;
-
getSplashSound
- Overrides:
getSplashSoundin classEntity- Mappings:
Namespace Name Mixin selector official aHLbaq;aH()Lajd;intermediary method_5625Lnet/minecraft/class_1297;method_5625()Lnet/minecraft/class_3414;named getSplashSoundLnet/minecraft/entity/Entity;getSplashSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLbaq;b(Lgt;Lcur;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
playSound
- Mappings:
Namespace Name Mixin selector official bLbrp;b(Lajd;)Vintermediary method_30081Lnet/minecraft/class_4760;method_30081(Lnet/minecraft/class_3414;)Vnamed playSoundLnet/minecraft/entity/mob/HoglinEntity;playSound(Lnet/minecraft/sound/SoundEvent;)V
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official RLbbh;R()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
-