Package net.minecraft.entity.mob
Class HostileEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.mob.HostileEntity
- All Implemented Interfaces:
EntityCategoryProvider,Monster
- Direct Known Subclasses:
BlazeEntity,CreeperEntity,EndermanEntity,GiantEntity,SilverfishEntity,SkeletonEntity,SpiderEntity,WitchEntity,WitherEntity,ZombieEntity
- Mappings:
Namespace Name official wrintermediary net/minecraft/class_975named net/minecraft/entity/mob/HostileEntity
-
Field Summary
Fields inherited from class net.minecraft.entity.PathAwareEntity
field_3415, field_3416, field_3417, FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, experiencePoints, field_3351, field_3353, goalsFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6745, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6772, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, zFields inherited from interface net.minecraft.entity.mob.Monster
field_5388 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSpawn()booleandamage(DamageSource source, float amount) protected Stringprotected StringgetFallSound(int distance) protected Stringprotected Stringprotected Stringprotected voidfloatmethod_2683(int int2, int int3, int int4) protected voidmethod_2685(Entity entity, float float2) protected Entityprotected booleanprotected booleanvoidtick()voidbooleanMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, method_2684, method_2686, method_2687, method_2688, method_2691, method_6168, method_6169, method_6171, method_6173, method_6175, shouldContinue, tickNewAi, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canPickUpLoot, checkDespawn, detachLeash, dropLoot, getAmbientSound, getArmorStacks, getDefaultDrop, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getTranslationKey, getVisibilityCache, getXpToDrop, hasNoAi, initDataTracker, isLeashed, isPersistent, isTameable, lookAtEntity, method_2638, method_4470, method_4472, method_4473, method_4474, method_5388, method_5391, method_5392, method_5394, method_5397, method_6156, method_6162, method_6166, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, readCustomDataFromNbt, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, shouldDropHead, turnHead, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canMoveVoluntarily, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getEyeHeight, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, handleStatus, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, method_2488, method_2489, method_2490, method_2577, method_2582, method_2607, method_2610, method_2630, method_2634, method_2649, method_2658, method_2672, method_6105, method_6108, method_6109, method_6111, method_6117, method_6146, method_6149, method_6150, method_6152, method_8372, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travelMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, burn, canAvoidTraps, canClimb, canFly, checkBlockCollision, copyFrom, copyPosition, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getBox, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getLastNetherPortalAxis, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getSavedEntityId, getTargetingMargin, getUuid, handleAttack, hashCode, hasVehicle, increaseTransforms, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2475, method_2494, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onKilledOther, onLightningStrike, onPlayerCollision, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, setAir, setBounds, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, startRiding, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Constructor Details
-
HostileEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official eLrg;e()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
tick
public void tick() -
getSwimSound
- Overrides:
getSwimSoundin classEntity- Mappings:
Namespace Name Mixin selector official HLqm;H()Ljava/lang/String;intermediary method_8360Lnet/minecraft/class_864;method_8360()Ljava/lang/String;named getSwimSoundLnet/minecraft/entity/Entity;getSwimSound()Ljava/lang/String;
-
getSplashSound
- Overrides:
getSplashSoundin classEntity- Mappings:
Namespace Name Mixin selector official OLqm;O()Ljava/lang/String;intermediary method_8361Lnet/minecraft/class_864;method_8361()Ljava/lang/String;named getSplashSoundLnet/minecraft/entity/Entity;getSplashSound()Ljava/lang/String;
-
method_2689
- Overrides:
method_2689in classPathAwareEntity- Mappings:
Namespace Name Mixin selector official bPLro;bP()Lqm;intermediary method_2689Lnet/minecraft/class_877;method_2689()Lnet/minecraft/class_864;named method_2689Lnet/minecraft/entity/PathAwareEntity;method_2689()Lnet/minecraft/entity/Entity;
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Lqa;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official aTLrg;aT()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official aULrg;aU()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
getFallSound
- Overrides:
getFallSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official oLrg;o(I)Ljava/lang/String;intermediary method_8373Lnet/minecraft/class_1699;method_8373(I)Ljava/lang/String;named getFallSoundLnet/minecraft/entity/LivingEntity;getFallSound(I)Ljava/lang/String;
-
tryAttack
- Overrides:
tryAttackin classLivingEntity- Mappings:
Namespace Name Mixin selector official mLrg;m(Lqm;)Zintermediary method_2671Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Znamed tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
-
method_2685
- Overrides:
method_2685in classPathAwareEntity- Mappings:
Namespace Name Mixin selector official aLro;a(Lqm;F)Vintermediary method_2685Lnet/minecraft/class_877;method_2685(Lnet/minecraft/class_864;F)Vnamed method_2685Lnet/minecraft/entity/PathAwareEntity;method_2685(Lnet/minecraft/entity/Entity;F)V
-
method_2683
public float method_2683(int int2, int int3, int int4) - Overrides:
method_2683in classPathAwareEntity- Mappings:
Namespace Name Mixin selector official aLro;a(III)Fintermediary method_2683Lnet/minecraft/class_877;method_2683(III)Fnamed method_2683Lnet/minecraft/entity/PathAwareEntity;method_2683(III)F
-
method_3087
protected boolean method_3087()- Mappings:
Namespace Name Mixin selector official j_Lwr;j_()Zintermediary method_3087Lnet/minecraft/class_975;method_3087()Znamed method_3087Lnet/minecraft/entity/mob/HostileEntity;method_3087()Z
-
canSpawn
public boolean canSpawn()- Overrides:
canSpawnin classPathAwareEntity- Mappings:
Namespace Name Mixin selector official bwLrh;bw()Zintermediary method_2637Lnet/minecraft/class_871;method_2637()Znamed canSpawnLnet/minecraft/entity/mob/MobEntity;canSpawn()Z
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classMobEntity- Mappings:
Namespace Name Mixin selector official aDLrg;aD()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
shouldDropXp
protected boolean shouldDropXp()- Overrides:
shouldDropXpin classLivingEntity- Mappings:
Namespace Name Mixin selector official aGLrg;aG()Zintermediary method_8369Lnet/minecraft/class_1699;method_8369()Znamed shouldDropXpLnet/minecraft/entity/LivingEntity;shouldDropXp()Z
-