2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
2020-03-25 19:14:55 -04:00
COMMENT Represents an entity which has a health value and can receive damage.
2019-06-28 17:55:20 -04:00
FIELD field_18072 SLEEPING_DIMENSIONS Lnet/minecraft/class_4048;
FIELD field_18073 SLEEPING_POSITION Lnet/minecraft/class_2940;
FIELD field_18321 brain Lnet/minecraft/class_4095;
2020-06-07 11:02:50 -04:00
FIELD field_20347 stuckStingerTimer I
2019-09-01 11:21:31 -04:00
FIELD field_20348 STINGER_COUNT Lnet/minecraft/class_2940;
2020-06-07 11:02:50 -04:00
FIELD field_22418 climbingPos Ljava/util/Optional;
2020-05-22 07:38:04 -04:00
FIELD field_23128 SOUL_SPEED_BOOST_ID Ljava/util/UUID;
2020-12-31 09:22:27 -05:00
FIELD field_27859 POWDER_SNOW_SLOW_ID Ljava/util/UUID;
2021-04-15 07:41:38 -04:00
FIELD field_30064 USING_ITEM_FLAG I
FIELD field_30065 OFF_HAND_ACTIVE_FLAG I
FIELD field_30066 USING_RIPTIDE_FLAG I
2021-04-10 17:41:40 -04:00
FIELD field_30082 noDrag Z
2019-08-22 16:25:19 -04:00
FIELD field_6210 bodyTrackingIncrements I
2019-06-28 17:55:20 -04:00
FIELD field_6211 lastLimbDistance F
FIELD field_6212 sidewaysSpeed F
FIELD field_6213 deathTime I
FIELD field_6214 POTION_SWIRLS_AMBIENT Lnet/minecraft/class_2940;
2019-08-22 16:25:19 -04:00
FIELD field_6217 prevStepBobbingAmount F
2019-06-28 17:55:20 -04:00
FIELD field_6218 stuckArrowTimer I
2019-09-01 11:21:31 -04:00
FIELD field_6219 STUCK_ARROW_COUNT Lnet/minecraft/class_2940;
2019-08-22 16:25:19 -04:00
FIELD field_6220 prevBodyYaw F
FIELD field_6221 serverPitch D
2019-06-28 17:55:20 -04:00
FIELD field_6222 itemUseTimeLeft I
2019-08-22 16:25:19 -04:00
FIELD field_6224 serverX D
2019-06-28 17:55:20 -04:00
FIELD field_6225 limbDistance F
2019-08-22 16:25:19 -04:00
FIELD field_6226 lastDamageTime J
2019-06-28 17:55:20 -04:00
FIELD field_6227 upwardSpeed F
2019-08-22 16:25:19 -04:00
FIELD field_6228 jumpingCooldown I
2019-06-28 17:55:20 -04:00
FIELD field_6229 lastHandSwingProgress F
FIELD field_6230 lastAttackedTime I
2020-05-22 07:38:04 -04:00
FIELD field_6231 SPRINTING_SPEED_BOOST Lnet/minecraft/class_1322;
2019-08-22 16:25:19 -04:00
FIELD field_6232 scoreAmount I
FIELD field_6233 stepBobbingAmount F
2019-06-28 17:55:20 -04:00
FIELD field_6234 equippedHand Lnet/minecraft/class_2371;
FIELD field_6235 hurtTime I
FIELD field_6236 attacking Lnet/minecraft/class_1309;
2020-05-22 07:38:04 -04:00
FIELD field_6237 SPRINTING_SPEED_BOOST_ID Ljava/util/UUID;
2019-06-28 17:55:20 -04:00
FIELD field_6238 playerHitTimer I
2019-08-22 16:25:19 -04:00
FIELD field_6239 roll I
2019-06-28 17:55:20 -04:00
FIELD field_6240 POTION_SWIRLS_COLOR Lnet/minecraft/class_2940;
FIELD field_6241 headYaw F
2019-08-22 16:25:19 -04:00
FIELD field_6242 serverHeadYaw D
FIELD field_6243 leaningPitch F
FIELD field_6244 randomLargeSeed F
FIELD field_6245 serverY D
2019-06-28 17:55:20 -04:00
FIELD field_6246 absorptionAmount F
FIELD field_6247 HEALTH Lnet/minecraft/class_2940;
FIELD field_6248 equippedArmor Lnet/minecraft/class_2371;
FIELD field_6249 limbAngle F
FIELD field_6250 forwardSpeed F
FIELD field_6251 handSwingProgress F
2020-04-14 10:01:24 -04:00
FIELD field_6252 handSwinging Z
2019-08-22 16:25:19 -04:00
FIELD field_6253 lastDamageTaken F
FIELD field_6254 maxHurtTime I
FIELD field_6255 lookDirection F
2019-06-28 17:55:20 -04:00
FIELD field_6256 damageTracker Lnet/minecraft/class_1283;
FIELD field_6257 LIVING_FLAGS Lnet/minecraft/class_2940;
FIELD field_6258 attackingPlayer Lnet/minecraft/class_1657;
FIELD field_6259 prevHeadYaw F
2020-04-02 13:40:17 -04:00
FIELD field_6260 attributes Lnet/minecraft/class_5131;
2020-06-24 12:35:02 -04:00
FIELD field_6261 riptideTicks I
2019-08-22 16:25:19 -04:00
FIELD field_6262 randomSmallSeed F
FIELD field_6263 serverZ D
FIELD field_6264 lastLeaningPitch F
FIELD field_6265 headTrackingIncrements I
2019-06-28 17:55:20 -04:00
FIELD field_6266 preferredHand Lnet/minecraft/class_1268;
FIELD field_6268 lastBlockPos Lnet/minecraft/class_2338;
2020-05-30 14:31:17 -04:00
FIELD field_6269 defaultMaxHealth I
2019-06-28 17:55:20 -04:00
FIELD field_6270 lastAttackTime I
2019-08-22 16:25:19 -04:00
FIELD field_6271 knockbackVelocity F
2019-06-28 17:55:20 -04:00
FIELD field_6272 dead Z
FIELD field_6273 lastAttackedTicks I
FIELD field_6274 attacker Lnet/minecraft/class_1309;
2019-08-22 16:25:19 -04:00
FIELD field_6275 prevLookDirection F
FIELD field_6276 lastDamageSource Lnet/minecraft/class_1282;
2019-06-28 17:55:20 -04:00
FIELD field_6277 activeItemStack Lnet/minecraft/class_1799;
FIELD field_6278 despawnCounter I
FIELD field_6279 handSwingTicks I
FIELD field_6280 activeStatusEffects Ljava/util/Map;
2019-08-22 16:25:19 -04:00
FIELD field_6281 flyingSpeed F
2019-06-28 17:55:20 -04:00
FIELD field_6282 jumping Z
2019-08-22 16:25:19 -04:00
FIELD field_6283 bodyYaw F
FIELD field_6284 serverYaw D
FIELD field_6285 effectsChanged Z
2019-06-28 17:55:20 -04:00
FIELD field_6287 movementSpeed F
METHOD method_16077 dropLoot (Lnet/minecraft/class_1282;Z)V
2019-03-07 20:01:59 -05:00
ARG 1 source
2019-08-22 16:25:19 -04:00
ARG 2 causedByPlayer
2019-06-28 17:55:20 -04:00
METHOD method_16078 dropInventory ()V
METHOD method_16079 getLootContextBuilder (ZLnet/minecraft/class_1282;)Lnet/minecraft/class_47$class_48;
2019-08-22 16:25:19 -04:00
ARG 1 causedByPlayer
ARG 2 source
2019-06-28 17:55:20 -04:00
METHOD method_16080 drop (Lnet/minecraft/class_1282;)V
2019-08-22 16:25:19 -04:00
ARG 1 source
2019-06-28 17:55:20 -04:00
METHOD method_16826 setDespawnCounter (I)V
ARG 1 despawnCounter
METHOD method_17825 getScaleFactor ()F
METHOD method_18390 getAttackDistanceScalingFactor (Lnet/minecraft/class_1297;)D
2019-08-22 16:25:19 -04:00
ARG 1 entity
2019-06-28 17:55:20 -04:00
METHOD method_18391 isTarget (Lnet/minecraft/class_1309;Lnet/minecraft/class_4051;)Z
2019-08-22 16:25:19 -04:00
ARG 1 entity
ARG 2 predicate
2019-06-28 17:55:20 -04:00
METHOD method_18392 setPositionInBed (Lnet/minecraft/class_2338;)V
2019-04-04 16:04:27 -04:00
ARG 1 pos
2021-06-06 10:21:56 -04:00
METHOD method_18393 (Lnet/minecraft/class_2487;Lnet/minecraft/class_2338;)V
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_18394 getActiveEyeHeight (Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
2019-05-07 07:19:00 -04:00
ARG 1 pose
2019-06-18 08:05:31 -04:00
ARG 2 dimensions
2019-06-28 17:55:20 -04:00
METHOD method_18395 canTarget (Lnet/minecraft/class_1309;)Z
ARG 1 target
2019-08-22 16:25:19 -04:00
METHOD method_18396 getArmorVisibility ()F
2020-08-02 04:35:13 -04:00
METHOD method_18397 canEquip (Lnet/minecraft/class_1799;)Z
2019-03-07 20:01:59 -05:00
ARG 1 stack
2019-06-28 17:55:20 -04:00
METHOD method_18398 getSleepingPosition ()Ljava/util/Optional;
METHOD method_18399 clearSleepingPosition ()V
METHOD method_18400 wakeUp ()V
METHOD method_18401 getSleepingDirection ()Lnet/minecraft/class_2350;
METHOD method_18402 setSleepingPosition (Lnet/minecraft/class_2338;)V
2019-08-22 16:25:19 -04:00
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_18403 sleep (Lnet/minecraft/class_2338;)V
2019-04-04 16:04:27 -04:00
ARG 1 pos
2021-04-07 16:44:18 -04:00
METHOD method_18404 (Lnet/minecraft/class_2338;)V
ARG 1 pos
METHOD method_18405 (Lnet/minecraft/class_2338;)Ljava/lang/Boolean;
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_18406 isSleepingInBed ()Z
2019-08-22 16:25:19 -04:00
METHOD method_18801 applyClimbingSpeed (Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
ARG 1 motion
METHOD method_18802 getMovementSpeed (F)F
ARG 1 slipperiness
2019-06-28 17:55:20 -04:00
METHOD method_18807 getDrinkSound (Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
ARG 1 stack
METHOD method_18808 getArrowType (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
2020-03-07 12:37:40 -05:00
ARG 1 stack
2019-06-28 17:55:20 -04:00
METHOD method_18865 applyFoodEffects (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)V
2019-08-22 16:25:19 -04:00
ARG 1 stack
ARG 2 world
ARG 3 targetEntity
2019-06-28 17:55:20 -04:00
METHOD method_18866 eatFood (Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
2019-08-22 16:25:19 -04:00
ARG 1 world
ARG 2 stack
2020-05-20 12:12:58 -04:00
METHOD method_18867 deserializeBrain (Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
2021-04-01 08:21:58 -04:00
ARG 1 dynamic
2019-06-28 17:55:20 -04:00
METHOD method_18868 getBrain ()Lnet/minecraft/class_4095;
METHOD method_18869 getEatSound (Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
ARG 1 stack
METHOD method_20235 sendEquipmentBreakStatus (Lnet/minecraft/class_1304;)V
ARG 1 slot
METHOD method_20236 sendToolBreakStatus (Lnet/minecraft/class_1268;)V
2019-08-22 16:25:19 -04:00
ARG 1 hand
2019-06-28 17:55:20 -04:00
METHOD method_20237 getEquipmentBreakStatus (Lnet/minecraft/class_1304;)B
2019-08-22 16:25:19 -04:00
ARG 0 slot
2021-04-07 16:44:18 -04:00
METHOD method_20238 (Lnet/minecraft/class_1309;)V
ARG 0 player
2019-09-01 11:21:31 -04:00
METHOD method_21753 getStingerCount ()I
2020-01-14 15:22:47 -05:00
METHOD method_21754 isHoldingOntoLadder ()Z
COMMENT @return {@code true} if this entity should not lose height while in a climbing state
COMMENT @see net.minecraft.entity.LivingEntity
2019-09-01 11:21:31 -04:00
METHOD method_21755 setStingerCount (I)V
ARG 1 stingerCount
2020-01-14 15:22:47 -05:00
METHOD method_22382 shouldSpawnConsumptionEffects ()Z
METHOD method_23328 playBlockFallSound ()V
METHOD method_23329 computeFallDamage (FF)I
ARG 1 fallDistance
ARG 2 damageMultiplier
2019-11-02 17:47:58 -04:00
METHOD method_23667 swingHand (Lnet/minecraft/class_1268;Z)V
2020-06-07 11:02:50 -04:00
ARG 1 hand
2021-04-07 16:44:18 -04:00
ARG 2 fromServerPlayer
2020-01-14 15:22:47 -05:00
METHOD method_23733 onKilledBy (Lnet/minecraft/class_1309;)V
COMMENT Performs secondary effects after this mob has been killed.
COMMENT
2020-06-24 12:34:48 -04:00
COMMENT <p> The default behavior spawns a wither rose if {@code adversary} is a {@code WitherEntity}.
2020-01-14 15:22:47 -05:00
ARG 1 adversary
COMMENT the main adversary responsible for this entity's death
METHOD method_23883 dropXp ()V
2021-03-20 07:15:41 -04:00
COMMENT Drops experience when this entity is killed.
COMMENT
COMMENT <p>To control the details of experience dropping, consider overriding
COMMENT {@link #shouldAlwaysDropXp()}, {@link #shouldDropXp()}, and
COMMENT {@link #getXpToDrop(PlayerEntity)}.
2020-02-24 15:14:56 -05:00
METHOD method_24518 isHolding (Lnet/minecraft/class_1792;)Z
2020-03-25 19:14:55 -04:00
COMMENT Checks if this entity is holding a certain item.
COMMENT
COMMENT <p>This checks both the entity's main and off hand.
2020-03-26 10:08:27 -04:00
ARG 1 item
2021-04-07 16:44:18 -04:00
METHOD method_24519 (Lnet/minecraft/class_1792;Lnet/minecraft/class_1799;)Z
ARG 1 stack
2020-02-24 15:14:56 -05:00
METHOD method_24520 isHolding (Ljava/util/function/Predicate;)Z
2020-03-25 19:14:55 -04:00
COMMENT Checks if this entity is holding a certain item.
COMMENT
COMMENT <p>This checks both the entity's main and off hand.
2021-04-07 16:44:18 -04:00
ARG 1 predicate
2020-03-07 12:37:40 -05:00
METHOD method_24831 getPoses ()Lcom/google/common/collect/ImmutableList;
2020-06-07 11:02:50 -04:00
METHOD method_24832 getClimbingPos ()Ljava/util/Optional;
2020-05-20 17:57:06 -04:00
METHOD method_24833 getBoundingBox (Lnet/minecraft/class_4050;)Lnet/minecraft/class_238;
2020-06-07 11:02:50 -04:00
ARG 1 pose
2020-06-08 08:20:53 -04:00
METHOD method_25937 displaySoulSpeedEffects ()V
2021-06-01 11:29:19 -04:00
METHOD method_26082 setStatusEffect (Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)V
COMMENT Sets a status effect in this entity.
COMMENT
COMMENT <p>The preexistent status effect of the same type on this entity, if there is one, is cleared.
COMMENT To actually add a status effect and undergo effect combination logic, call
COMMENT {@link #addStatusEffect(StatusEffectInstance, Entity)}.
COMMENT
COMMENT @apiNote In vanilla, this is exclusively used by the client to set a status
COMMENT effect on the player upon {@linkplain
COMMENT net.minecraft.client.network.ClientPlayNetworkHandler#onEntityStatusEffect
COMMENT reception} of the status effect packet.
2020-06-07 11:02:50 -04:00
ARG 1 effect
2021-06-01 11:29:19 -04:00
COMMENT the effect to set
ARG 2 source
COMMENT the source entity or {@code null} for non-entity sources
2021-04-07 16:44:18 -04:00
METHOD method_26084 (Lnet/minecraft/class_1309;)V
ARG 0 player
2020-06-07 11:02:50 -04:00
METHOD method_26319 canWalkOnFluid (Lnet/minecraft/class_3611;)Z
ARG 1 fluid
2020-04-26 17:16:16 -04:00
METHOD method_26825 getAttributeValue (Lnet/minecraft/class_1320;)D
ARG 1 attribute
METHOD method_26826 getAttributeBaseValue (Lnet/minecraft/class_1320;)D
ARG 1 attribute
2020-04-05 07:19:15 -04:00
METHOD method_26827 createLivingAttributes ()Lnet/minecraft/class_5132$class_5133;
2020-05-06 16:49:35 -04:00
METHOD method_27071 shouldDropLoot ()Z
2020-06-08 08:20:53 -04:00
METHOD method_27302 shouldDisplaySoulSpeedEffects ()Z
2020-05-29 09:31:34 -04:00
METHOD method_27303 isOnSoulSpeedBlock ()Z
2021-06-06 10:21:56 -04:00
METHOD method_28305 (Lnet/minecraft/class_2487;Lnet/minecraft/class_2520;)V
ARG 1 brain
2020-05-22 07:40:53 -04:00
METHOD method_28306 createBrainProfile ()Lnet/minecraft/class_4095$class_5303;
2020-12-31 09:22:27 -05:00
METHOD method_29242 updateLimbs (Lnet/minecraft/class_1309;Z)V
ARG 1 entity
ARG 2 flutter
2020-11-07 08:11:45 -05:00
METHOD method_29499 triggerItemPickedUpByEntityCriteria (Lnet/minecraft/class_1542;)V
COMMENT Called to trigger advancement criteria when an entity picks up an item
COMMENT thrown by a player.
ARG 1 item
2021-03-20 07:15:41 -04:00
METHOD method_29500 shouldRemoveSoulSpeedBoost (Lnet/minecraft/class_2680;)Z
ARG 1 landingState
2020-06-08 08:20:53 -04:00
METHOD method_29501 removeSoulSpeedBoost ()V
METHOD method_29502 addSoulSpeedBoostIfNeeded ()V
2020-06-07 11:02:50 -04:00
METHOD method_29503 hurtByWater ()Z
METHOD method_29504 isDead ()Z
METHOD method_29505 setAttacking (Lnet/minecraft/class_1657;)V
ARG 1 attacking
2020-11-07 18:16:57 -05:00
METHOD method_29920 shouldSwimInFluids ()Z
2021-04-06 13:00:23 -04:00
METHOD method_30120 (Ljava/util/List;Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
ARG 2 slot
ARG 3 stack
METHOD method_30121 swapHandStacks (Ljava/util/Map;)V
ARG 1 equipment
2020-12-31 09:22:27 -05:00
METHOD method_30122 setArmorInSlot (Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
ARG 1 slot
ARG 2 armor
2021-04-06 13:00:23 -04:00
METHOD method_30123 setEquipment (Ljava/util/Map;)V
ARG 1 equipment
2020-12-31 09:22:27 -05:00
METHOD method_30124 setStackInHandSlot (Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
ARG 1 slot
ARG 2 stack
METHOD method_30125 getArmorInSlot (Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
ARG 1 slot
METHOD method_30126 getStackInHandSlot (Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
ARG 1 slot
METHOD method_30127 swapHandStacks ()V
2021-05-24 09:46:09 -04:00
METHOD method_30129 getEquipment ()Ljava/util/Map;
2021-04-06 13:00:23 -04:00
METHOD method_31079 positionInPortal (Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
ARG 0 pos
2021-05-30 17:10:13 -04:00
METHOD method_32321 getStackReference (Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;)Lnet/minecraft/class_5630;
2021-04-06 13:00:23 -04:00
ARG 0 entity
ARG 1 slot
2020-12-31 09:22:27 -05:00
METHOD method_32322 getEquipmentSlot (I)Lnet/minecraft/class_1304;
ARG 0 slotId
2021-04-07 16:44:18 -04:00
METHOD method_32323 (Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Z
ARG 1 stack
2020-12-31 09:22:27 -05:00
METHOD method_32324 removePowderSnowSlow ()V
METHOD method_32325 addPowderSnowSlowIfNeeded ()V
METHOD method_32326 getPreferredEquipmentSlot (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1304;
ARG 0 stack
METHOD method_33190 canTakeDamage ()Z
2021-03-17 14:46:42 -04:00
METHOD method_33579 readFromPacket (Lnet/minecraft/class_2610;)V
ARG 1 packet
2021-04-10 17:41:40 -04:00
METHOD method_35053 hasNoDrag ()Z
METHOD method_35054 setNoDrag (Z)V
ARG 1 noDrag
2021-04-30 13:02:56 -04:00
METHOD method_36362 updateGlowing ()V
2021-05-24 09:46:09 -04:00
METHOD method_36549 addDeathParticles ()V
2021-05-19 08:45:47 -04:00
METHOD method_36608 isPartOfGame ()Z
2021-05-21 10:28:57 -04:00
METHOD method_36977 damageHelmet (Lnet/minecraft/class_1282;F)V
ARG 1 source
ARG 2 amount
2021-06-06 10:21:56 -04:00
METHOD method_37119 tickItemStackUsage (Lnet/minecraft/class_1799;)V
ARG 1 stack
2021-06-01 11:29:19 -04:00
METHOD method_37222 addStatusEffect (Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Z
COMMENT Adds a status effect to this entity.
COMMENT
COMMENT @implNote A status effect may fail to be added due to getting overridden by
COMMENT existing effects or the effect being incompatible with this entity.
COMMENT
COMMENT @return whether the active status effects of this entity has been modified
ARG 1 effect
COMMENT the effect to add
ARG 2 source
COMMENT the source entity or {@code null} for non-entity sources
2021-06-07 09:46:10 -04:00
METHOD method_37410 processEquippedStack (Lnet/minecraft/class_1799;)V
ARG 1 stack
2021-06-24 09:15:19 -04:00
METHOD method_37416 getJumpBoostVelocityModifier ()D
2019-06-28 17:55:20 -04:00
METHOD method_5973 canTarget (Lnet/minecraft/class_1299;)Z
ARG 1 type
METHOD method_5989 getLootTable ()Lnet/minecraft/class_2960;
METHOD method_5996 getAttributeInstance (Lnet/minecraft/class_1320;)Lnet/minecraft/class_1324;
2019-08-22 16:25:19 -04:00
ARG 1 attribute
2019-06-28 17:55:20 -04:00
METHOD method_5997 attackLivingEntity (Lnet/minecraft/class_1309;)V
ARG 1 target
METHOD method_5998 getStackInHand (Lnet/minecraft/class_1268;)Lnet/minecraft/class_1799;
2019-08-22 16:25:19 -04:00
ARG 1 hand
2019-06-28 17:55:20 -04:00
METHOD method_5999 isUndead ()Z
2019-10-09 12:44:02 -04:00
METHOD method_6000 enterCombat ()V
2019-06-28 17:55:20 -04:00
METHOD method_6002 getDeathSound ()Lnet/minecraft/class_3414;
2019-08-22 16:25:19 -04:00
METHOD method_6003 getRoll ()I
2021-05-05 13:45:23 -04:00
METHOD method_6005 takeKnockback (DDD)V
2021-05-19 08:45:47 -04:00
ARG 1 strength
ARG 3 x
ARG 5 z
2019-06-28 17:55:20 -04:00
METHOD method_6006 setNearbySongPlaying (Lnet/minecraft/class_2338;Z)V
2019-08-22 16:25:19 -04:00
ARG 1 songPosition
2019-06-28 17:55:20 -04:00
ARG 2 playing
METHOD method_6007 tickMovement ()V
2019-10-30 11:42:22 -04:00
METHOD method_6008 markEffectsDirty ()V
2021-05-27 13:09:37 -04:00
METHOD method_6009 onStatusEffectUpgraded (Lnet/minecraft/class_1293;ZLnet/minecraft/class_1297;)V
2019-08-22 16:25:19 -04:00
ARG 1 effect
ARG 2 reapplyEffect
2021-06-01 11:29:19 -04:00
ARG 3 source
2019-06-28 17:55:20 -04:00
METHOD method_6010 swimUpward (Lnet/minecraft/class_3494;)V
ARG 1 fluid
METHOD method_6011 getHurtSound (Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
ARG 1 source
2019-08-22 16:25:19 -04:00
METHOD method_6012 clearStatusEffects ()Z
2019-06-28 17:55:20 -04:00
METHOD method_6013 playHurtSound (Lnet/minecraft/class_1282;)V
2019-08-22 16:25:19 -04:00
ARG 1 source
2019-06-28 17:55:20 -04:00
METHOD method_6014 getItemUseTimeLeft ()I
METHOD method_6015 setAttacker (Lnet/minecraft/class_1309;)V
ARG 1 attacker
2020-01-11 11:12:49 -05:00
METHOD method_6016 removeStatusEffect (Lnet/minecraft/class_1291;)Z
COMMENT Removes a status effect from this entity.
2020-01-14 15:22:47 -05:00
COMMENT
2021-06-01 11:29:19 -04:00
COMMENT <p>Calling this method will call cleanup methods on the status effect and trigger synchronization of effect particles with watching clients. If this entity is a player,
2020-01-11 11:12:49 -05:00
COMMENT the change in the list of effects will also be synchronized with the corresponding client.
2020-01-14 15:22:47 -05:00
COMMENT
2021-06-01 11:29:19 -04:00
COMMENT @return whether the active status effects on this entity has been changed by
COMMENT this call
2020-01-11 11:12:49 -05:00
ARG 1 type
2019-06-28 17:55:20 -04:00
METHOD method_6017 getSoundPitch ()F
2020-06-24 12:35:02 -04:00
METHOD method_6018 setRiptideTicks (I)V
2021-04-07 16:44:18 -04:00
ARG 1 riptideTicks
2019-06-28 17:55:20 -04:00
METHOD method_6019 setCurrentHand (Lnet/minecraft/class_1268;)V
2019-08-22 16:25:19 -04:00
ARG 1 hand
2021-05-27 13:09:37 -04:00
METHOD method_6020 onStatusEffectApplied (Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)V
2019-08-22 16:25:19 -04:00
ARG 1 effect
2021-06-01 11:29:19 -04:00
ARG 2 source
2019-06-28 17:55:20 -04:00
METHOD method_6021 clearActiveItem ()V
2019-09-01 11:21:31 -04:00
METHOD method_6022 getStuckArrowCount ()I
2019-06-28 17:55:20 -04:00
METHOD method_6023 tickNewAi ()V
2019-08-22 16:25:19 -04:00
METHOD method_6024 getLeaningPitch (F)F
ARG 1 tickDelta
2019-06-28 17:55:20 -04:00
METHOD method_6025 heal (F)V
2021-03-21 09:14:31 -04:00
COMMENT Heals this entity by the given {@code amount} of half-hearts.
COMMENT
COMMENT <p>A dead entity cannot be healed.
COMMENT
COMMENT @see #isDead()
2019-06-28 17:55:20 -04:00
ARG 1 amount
METHOD method_6026 getStatusEffects ()Ljava/util/Collection;
METHOD method_6027 updatePotionVisibility ()V
METHOD method_6028 getHandSwingDuration ()I
METHOD method_6029 getMovementSpeed ()F
METHOD method_6030 getActiveItem ()Lnet/minecraft/class_1799;
2019-08-22 16:25:19 -04:00
METHOD method_6031 turnHead (FF)F
ARG 1 bodyRotation
ARG 2 headRotation
2019-06-28 17:55:20 -04:00
METHOD method_6032 getHealth ()F
METHOD method_6033 setHealth (F)V
2019-08-22 16:25:19 -04:00
ARG 1 health
2019-06-28 17:55:20 -04:00
METHOD method_6034 canMoveVoluntarily ()Z
2020-06-24 12:35:02 -04:00
METHOD method_6035 tickRiptide (Lnet/minecraft/class_238;Lnet/minecraft/class_238;)V
2019-08-22 16:25:19 -04:00
ARG 1 a
ARG 2 b
2019-06-28 17:55:20 -04:00
METHOD method_6036 applyEnchantmentsToDamage (Lnet/minecraft/class_1282;F)F
2019-04-04 16:04:27 -04:00
ARG 1 source
ARG 2 amount
2019-06-28 17:55:20 -04:00
METHOD method_6037 spawnItemParticles (Lnet/minecraft/class_1799;I)V
2019-08-22 16:25:19 -04:00
ARG 1 stack
2019-09-01 11:21:31 -04:00
ARG 2 count
2019-08-22 16:25:19 -04:00
METHOD method_6038 onDismounted (Lnet/minecraft/class_1297;)V
2021-04-30 13:02:56 -04:00
ARG 1 vehicle
2019-09-18 11:17:05 -04:00
METHOD method_6039 isBlocking ()Z
2019-08-22 16:25:19 -04:00
METHOD method_6040 consumeItem ()V
2019-06-28 17:55:20 -04:00
METHOD method_6041 getFallSound (I)Lnet/minecraft/class_3414;
2019-08-22 16:25:19 -04:00
ARG 1 distance
2019-06-28 17:55:20 -04:00
METHOD method_6043 jump ()V
2019-10-09 12:44:02 -04:00
METHOD method_6044 endCombat ()V
2019-06-28 17:55:20 -04:00
METHOD method_6045 playEquipmentBreakEffects (Lnet/minecraft/class_1799;)V
2019-08-22 16:25:19 -04:00
ARG 1 stack
2019-06-28 17:55:20 -04:00
METHOD method_6046 getGroup ()Lnet/minecraft/class_1310;
METHOD method_6047 getMainHandStack ()Lnet/minecraft/class_1799;
METHOD method_6048 getItemUseTime ()I
2019-08-22 16:25:19 -04:00
METHOD method_6049 canHaveStatusEffect (Lnet/minecraft/class_1293;)Z
2019-05-07 07:19:00 -04:00
ARG 1 effect
2019-08-22 16:25:19 -04:00
METHOD method_6050 tickStatusEffects ()V
2019-09-29 13:46:25 -04:00
METHOD method_6051 getRandom ()Ljava/util/Random;
2019-06-28 17:55:20 -04:00
METHOD method_6052 getAttacking ()Lnet/minecraft/class_1309;
2021-05-19 08:46:21 -04:00
METHOD method_6053 tickFallFlying ()V
2021-03-20 07:15:41 -04:00
METHOD method_6054 shouldDropXp ()Z
COMMENT Returns if this entity should drop experience on death when the {@linkplain
COMMENT net.minecraft.world.GameRules#DO_MOB_LOOT doMobLoot} game rule is
COMMENT enabled and has been attacked by a player.
COMMENT
COMMENT <p>If {@link #shouldAlwaysDropXp() shouldAlwaysDropXp()} returns {@code
COMMENT true}, this check is disregarded.
COMMENT
COMMENT @see #dropXp()
COMMENT @see #shouldAlwaysDropXp()
COMMENT @see #getXpToDrop(PlayerEntity)
2019-06-28 17:55:20 -04:00
METHOD method_6055 getHandSwingProgress (F)F
ARG 1 tickDelta
METHOD method_6056 damageShield (F)V
ARG 1 amount
METHOD method_6057 canSee (Lnet/minecraft/class_1297;)Z
ARG 1 entity
METHOD method_6058 getActiveHand ()Lnet/minecraft/class_1268;
METHOD method_6059 hasStatusEffect (Lnet/minecraft/class_1291;)Z
2019-08-22 16:25:19 -04:00
ARG 1 effect
2019-06-28 17:55:20 -04:00
METHOD method_6060 knockback (Lnet/minecraft/class_1309;)V
2019-04-04 16:04:27 -04:00
ARG 1 target
2019-08-22 16:25:19 -04:00
METHOD method_6061 blockedByShield (Lnet/minecraft/class_1282;)Z
ARG 1 source
METHOD method_6062 isImmobile ()Z
2020-05-30 14:31:17 -04:00
METHOD method_6063 getMaxHealth ()F
2019-10-09 12:44:02 -04:00
METHOD method_6064 getNextAirOnLand (I)I
ARG 1 air
2019-06-28 17:55:20 -04:00
METHOD method_6065 getAttacker ()Lnet/minecraft/class_1309;
METHOD method_6066 getDamageTracker ()Lnet/minecraft/class_1283;
METHOD method_6067 getAbsorptionAmount ()F
2019-06-28 18:43:16 -04:00
METHOD method_6068 getMainArm ()Lnet/minecraft/class_1306;
2019-06-28 17:55:20 -04:00
METHOD method_6069 clearPotionSwirls ()V
2019-08-22 16:25:19 -04:00
METHOD method_6070 tickCramming ()V
2019-06-28 17:55:20 -04:00
METHOD method_6071 shouldAlwaysDropXp ()Z
2021-03-20 07:15:41 -04:00
COMMENT Returns if this entity may always drop experience, skipping any
COMMENT other checks.
COMMENT
COMMENT @see #dropXp()
COMMENT @see #getXpToDrop(PlayerEntity)
2019-08-22 16:25:19 -04:00
METHOD method_6072 updateLeaningPitch ()V
2019-06-28 17:55:20 -04:00
METHOD method_6073 setAbsorptionAmount (F)V
ARG 1 amount
METHOD method_6074 applyDamage (Lnet/minecraft/class_1282;F)V
2019-04-04 16:04:27 -04:00
ARG 1 source
2019-08-22 16:25:19 -04:00
ARG 2 amount
2019-06-28 17:55:20 -04:00
METHOD method_6075 stopUsingItem ()V
2019-08-22 16:25:19 -04:00
METHOD method_6076 tickActiveItemStack ()V
METHOD method_6077 canEnterTrapdoor (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
ARG 1 pos
ARG 2 state
2019-06-28 17:55:20 -04:00
METHOD method_6078 onDeath (Lnet/minecraft/class_1282;)V
2019-08-22 16:25:19 -04:00
ARG 1 source
2019-06-28 17:55:20 -04:00
METHOD method_6079 getOffHandStack ()Lnet/minecraft/class_1799;
METHOD method_6081 getRecentDamageSource ()Lnet/minecraft/class_1282;
METHOD method_6082 teleport (DDDZ)Z
ARG 1 x
ARG 3 y
ARG 5 z
ARG 7 particleEffects
METHOD method_6083 getLastAttackTime ()I
2019-08-22 16:25:19 -04:00
METHOD method_6084 hasStackEquipped (Lnet/minecraft/class_1304;)Z
ARG 1 slot
2019-06-28 17:55:20 -04:00
METHOD method_6085 setLivingFlag (IZ)V
ARG 1 mask
ARG 2 value
2019-07-14 03:17:06 -04:00
METHOD method_6086 isAffectedBySplashPotions ()Z
2019-06-28 17:55:20 -04:00
METHOD method_6087 pushAway (Lnet/minecraft/class_1297;)V
2019-08-22 16:25:19 -04:00
ARG 1 entity
2019-06-28 17:55:20 -04:00
METHOD method_6088 getActiveStatusEffects ()Ljava/util/Map;
METHOD method_6089 containsOnlyAmbientEffects (Ljava/util/Collection;)Z
ARG 0 effects
METHOD method_6090 takeShieldHit (Lnet/minecraft/class_1309;)V
2019-08-22 16:25:19 -04:00
ARG 1 attacker
2019-06-28 17:55:20 -04:00
METHOD method_6091 travel (Lnet/minecraft/class_243;)V
2021-07-10 07:27:29 -04:00
COMMENT Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.
COMMENT
COMMENT <p>See vanilla examples of {@linkplain net.minecraft.entity.passive.HorseBaseEntity#travel
COMMENT custom horse vehicle} and {@linkplain net.minecraft.entity.mob.FlyingEntity#travel
COMMENT flying entities}.
2019-06-28 17:55:20 -04:00
ARG 1 movementInput
2021-07-10 07:27:29 -04:00
COMMENT represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
2019-08-22 16:25:19 -04:00
METHOD method_6092 addStatusEffect (Lnet/minecraft/class_1293;)Z
2021-06-01 11:29:19 -04:00
COMMENT Adds a status effect to this entity without specifying a source entity.
COMMENT
COMMENT <p>Consider calling {@link #addStatusEffect(StatusEffectInstance, Entity)}
COMMENT if the {@code effect} is caused by or from an entity.
COMMENT
COMMENT @return whether the active status effects of this entity has been modified
COMMENT @see #addStatusEffect(StatusEffectInstance, Entity)
2019-06-28 17:55:20 -04:00
ARG 1 effect
2021-06-01 11:29:19 -04:00
COMMENT the effect to add
2019-08-22 16:25:19 -04:00
METHOD method_6093 knockDownwards ()V
2019-06-28 17:55:20 -04:00
METHOD method_6094 canBreatheInWater ()Z
2019-08-22 16:25:19 -04:00
METHOD method_6095 tryUseTotem (Lnet/minecraft/class_1282;)Z
ARG 1 source
2019-06-28 17:55:20 -04:00
METHOD method_6096 getArmor ()I
2019-09-01 11:21:31 -04:00
METHOD method_6097 setStuckArrowCount (I)V
ARG 1 stuckArrowCount
2019-06-28 17:55:20 -04:00
METHOD method_6098 spawnConsumptionEffects (Lnet/minecraft/class_1799;I)V
2019-08-22 16:25:19 -04:00
ARG 1 stack
2019-06-28 17:55:20 -04:00
ARG 2 particleCount
METHOD method_6099 dropEquipment (Lnet/minecraft/class_1282;IZ)V
2019-08-22 16:25:19 -04:00
ARG 1 source
ARG 2 lootingMultiplier
ARG 3 allowDrops
2019-06-28 17:55:20 -04:00
METHOD method_6100 setJumping (Z)V
ARG 1 jumping
METHOD method_6101 isClimbing ()Z
2020-03-11 11:09:33 -04:00
METHOD method_6102 isMobOrPlayer ()Z
2019-06-28 17:55:20 -04:00
METHOD method_6103 sendPickup (Lnet/minecraft/class_1297;I)V
ARG 1 item
ARG 2 count
METHOD method_6104 swingHand (Lnet/minecraft/class_1268;)V
2019-08-22 16:25:19 -04:00
ARG 1 hand
2020-02-05 12:27:03 -05:00
METHOD method_6105 damageArmor (Lnet/minecraft/class_1282;F)V
2020-03-07 12:37:40 -05:00
ARG 1 source
ARG 2 amount
2019-06-28 17:55:20 -04:00
METHOD method_6106 getJumpVelocity ()F
METHOD method_6107 getSoundVolume ()F
METHOD method_6108 updatePostDeath ()V
METHOD method_6109 isBaby ()Z
2021-03-20 07:15:41 -04:00
METHOD method_6110 getXpToDrop (Lnet/minecraft/class_1657;)I
COMMENT Called when this entity is killed and returns the amount of experience
COMMENT to drop.
COMMENT
COMMENT <p>{@code player} may be {@code null} if {@linkplain #shouldAlwaysDropXp
COMMENT shouldAlwaysDropXp()} returns {@code true}.
COMMENT
COMMENT @see #dropXp()
COMMENT @see #shouldAlwaysDropXp()
COMMENT @see #shouldDropXp()
2019-05-07 07:19:00 -04:00
ARG 1 player
2021-03-20 07:15:41 -04:00
COMMENT the attacking player
2020-01-11 11:12:49 -05:00
METHOD method_6111 removeStatusEffectInternal (Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;
COMMENT Removes a status effect from this entity without calling any listener.
2020-01-14 15:22:47 -05:00
COMMENT
2021-06-01 11:29:19 -04:00
COMMENT <p>This method does not perform any cleanup or synchronization operation.
COMMENT Under most circumstances, calling {@link #removeStatusEffect(StatusEffect)} is highly preferable.
COMMENT
COMMENT @return the status effect removed
2020-01-11 11:12:49 -05:00
ARG 1 type
2019-06-28 17:55:20 -04:00
METHOD method_6112 getStatusEffect (Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;
2019-08-22 16:25:19 -04:00
ARG 1 effect
2019-06-28 17:55:20 -04:00
METHOD method_6113 isSleeping ()Z
METHOD method_6114 onAttacking (Lnet/minecraft/class_1297;)V
2019-08-22 16:25:19 -04:00
ARG 1 target
2019-06-28 17:55:20 -04:00
METHOD method_6115 isUsingItem ()Z
METHOD method_6116 onEquipStack (Lnet/minecraft/class_1799;)V
2019-05-07 07:19:00 -04:00
ARG 1 stack
2019-06-28 17:55:20 -04:00
METHOD method_6117 getLastAttackedTime ()I
METHOD method_6118 getEquippedStack (Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
ARG 1 slot
METHOD method_6119 tickHandSwing ()V
METHOD method_6120 getBaseMovementSpeedMultiplier ()F
METHOD method_6121 tryAttack (Lnet/minecraft/class_1297;)Z
2019-04-04 16:04:27 -04:00
ARG 1 target
2019-06-28 17:55:20 -04:00
METHOD method_6122 setStackInHand (Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)V
ARG 1 hand
2019-08-22 16:25:19 -04:00
ARG 2 stack
2019-06-28 17:55:20 -04:00
METHOD method_6123 isUsingRiptide ()Z
2019-08-22 16:25:19 -04:00
METHOD method_6124 getPrimeAdversary ()Lnet/minecraft/class_1309;
2019-06-28 17:55:20 -04:00
METHOD method_6125 setMovementSpeed (F)V
ARG 1 movementSpeed
2020-05-22 07:39:23 -04:00
METHOD method_6126 applyMovementEffects (Lnet/minecraft/class_2338;)V
2019-05-07 07:19:00 -04:00
ARG 1 pos
2020-04-02 13:40:17 -04:00
METHOD method_6127 getAttributes ()Lnet/minecraft/class_5131;
2019-06-28 17:55:20 -04:00
METHOD method_6128 isFallFlying ()Z
2019-08-22 16:25:19 -04:00
METHOD method_6129 onStatusEffectRemoved (Lnet/minecraft/class_1293;)V
ARG 1 effect
2019-10-09 12:44:02 -04:00
METHOD method_6130 getNextAirUnderwater (I)I
ARG 1 air
2019-06-28 17:55:20 -04:00
METHOD method_6131 getDespawnCounter ()I
METHOD method_6132 applyArmorToDamage (Lnet/minecraft/class_1282;F)F
ARG 1 source
2019-08-22 16:25:19 -04:00
ARG 2 amount