2019-06-28 17:55:20 -04:00
CLASS net/minecraft/class_1297 net/minecraft/entity/Entity
FIELD field_17046 movementMultiplier Lnet/minecraft/class_243;
FIELD field_18064 POSE Lnet/minecraft/class_2940;
FIELD field_18065 dimensions Lnet/minecraft/class_4048;
FIELD field_18066 standingEyeHeight F
FIELD field_18276 velocity Lnet/minecraft/class_243;
2020-03-19 10:07:30 -04:00
FIELD field_22467 pos Lnet/minecraft/class_243;
FIELD field_22468 blockPos Lnet/minecraft/class_2338;
2020-04-15 21:47:24 -04:00
FIELD field_23807 inanimate Z
2020-12-31 09:22:27 -05:00
FIELD field_25599 submergedFluidTag Lnet/minecraft/class_3494;
2020-08-19 09:08:03 -04:00
FIELD field_25750 trackedPosition Lnet/minecraft/class_243;
2021-06-06 10:21:56 -04:00
FIELD field_26994 lastChimeAge I
2020-11-05 04:41:29 -05:00
FIELD field_26995 removalReason Lnet/minecraft/class_1297$class_5529;
2021-02-10 14:35:29 -05:00
FIELD field_26996 entityChangeListener Lnet/minecraft/class_5569;
2020-11-18 07:02:57 -05:00
FIELD field_27857 inPowderSnow Z
FIELD field_27858 FROZEN_TICKS Lnet/minecraft/class_2940;
2021-02-04 13:34:24 -05:00
FIELD field_28628 wasInPowderSnow Z
2021-04-06 13:00:23 -04:00
FIELD field_28629 wasOnFire Z
2021-05-19 08:46:21 -04:00
FIELD field_29975 SNEAKING_FLAG_INDEX I
FIELD field_29976 SPRINTING_FLAG_INDEX I
FIELD field_29977 SWIMMING_FLAG_INDEX I
FIELD field_29978 INVISIBLE_FLAG_INDEX I
FIELD field_29979 ON_FIRE_FLAG_INDEX I
FIELD field_29980 GLOWING_FLAG_INDEX I
FIELD field_29981 FALL_FLYING_FLAG_INDEX I
2021-04-06 13:00:23 -04:00
FIELD field_29985 ID_KEY Ljava/lang/String;
FIELD field_29986 PASSENGERS_KEY Ljava/lang/String;
FIELD field_29994 UUID_KEY Ljava/lang/String;
2021-05-24 09:46:09 -04:00
FIELD field_33758 hasVisualFire Z
2019-06-28 17:55:20 -04:00
FIELD field_5951 ridingCooldown I
FIELD field_5952 onGround Z
2019-06-28 18:43:16 -04:00
FIELD field_5953 firstUpdate Z
2019-06-28 17:55:20 -04:00
FIELD field_5955 LOGGER Lorg/apache/logging/log4j/Logger;
2019-09-30 08:58:58 -04:00
FIELD field_5956 fireTicks I
2020-01-19 13:02:15 -05:00
FIELD field_5957 touchingWater Z
2019-06-28 17:55:20 -04:00
FIELD field_5958 glowing Z
FIELD field_5960 noClip Z
FIELD field_5961 type Lnet/minecraft/class_1299;
FIELD field_5962 SILENT Lnet/minecraft/class_2940;
2019-12-26 07:26:34 -05:00
FIELD field_5963 inNetherPortal Z
2020-05-02 08:31:02 -04:00
FIELD field_5964 fluidHeight Lit/unimi/dsi/fastutil/objects/Object2DoubleMap;
2019-06-28 17:55:20 -04:00
FIELD field_5965 pitch F
FIELD field_5969 prevZ D
2019-12-02 08:47:40 -05:00
FIELD field_5971 lastRenderY D
2019-12-26 07:26:34 -05:00
FIELD field_5972 netherPortalTime I
2019-06-28 18:43:16 -04:00
FIELD field_5973 horizontalSpeed F
2019-06-28 17:55:20 -04:00
FIELD field_5974 random Ljava/util/Random;
FIELD field_5975 NAME_VISIBLE Lnet/minecraft/class_2940;
FIELD field_5976 horizontalCollision Z
2021-06-07 09:45:06 -04:00
FIELD field_5978 CURRENT_ID Ljava/util/concurrent/atomic/AtomicInteger;
COMMENT A generator of unique entity {@link #id network IDs}. The generated
COMMENT ID for client entities are useless and discarded subsequently through
COMMENT {@link #setId(int)} calls.
2020-11-04 15:44:22 -05:00
FIELD field_5979 passengerList Lcom/google/common/collect/ImmutableList;
2019-06-28 17:55:20 -04:00
FIELD field_5981 uuidString Ljava/lang/String;
FIELD field_5982 prevYaw F
FIELD field_5985 ignoreCameraFrustum Z
2021-06-07 09:45:06 -04:00
FIELD field_5986 id I
COMMENT The entity's network ID, used as a reference for synchronization over network.
COMMENT This is not persistent across save and loads; use {@link #uuid} to identify
COMMENT an entity in those cases.
COMMENT
COMMENT @see #getId()
2019-12-02 08:47:40 -05:00
FIELD field_5989 lastRenderZ D
2019-06-28 17:55:20 -04:00
FIELD field_5990 FLAGS Lnet/minecraft/class_2940;
2019-12-26 07:26:34 -05:00
FIELD field_5991 lastNetherPortalPosition Lnet/minecraft/class_2338;
2019-06-28 17:55:20 -04:00
FIELD field_5992 verticalCollision Z
FIELD field_5993 pistonMovementDelta [D
2019-09-12 09:28:23 -04:00
FIELD field_5994 distanceTraveled F
2019-06-28 17:55:20 -04:00
FIELD field_5995 NO_GRAVITY Lnet/minecraft/class_2940;
FIELD field_5996 pistonMovementTick J
FIELD field_5999 renderDistanceMultiplier D
2020-01-19 13:02:15 -05:00
FIELD field_6000 submergedInWater Z
2019-06-28 17:55:20 -04:00
FIELD field_6002 world Lnet/minecraft/class_1937;
2019-09-12 09:28:23 -04:00
FIELD field_6003 nextStepSoundDistance F
2019-06-28 17:55:20 -04:00
FIELD field_6004 prevPitch F
2019-06-28 18:43:16 -04:00
FIELD field_6005 entityBounds Lnet/minecraft/class_238;
2019-06-28 17:55:20 -04:00
FIELD field_6007 velocityDirty Z
2019-06-28 18:43:16 -04:00
FIELD field_6008 timeUntilRegen I
2019-06-28 17:55:20 -04:00
FIELD field_6009 invulnerable Z
FIELD field_6011 dataTracker Lnet/minecraft/class_2945;
FIELD field_6012 age I
FIELD field_6013 stepHeight F
FIELD field_6014 prevX D
FIELD field_6017 fallDistance F
2019-12-26 07:26:34 -05:00
FIELD field_6018 netherPortalCooldown I
2019-06-28 17:55:20 -04:00
FIELD field_6021 uuid Ljava/util/UUID;
FIELD field_6025 NULL_BOX Lnet/minecraft/class_238;
FIELD field_6027 CUSTOM_NAME Lnet/minecraft/class_2940;
FIELD field_6029 scoreboardTags Ljava/util/Set;
FIELD field_6030 EMPTY_STACK_LIST Ljava/util/List;
FIELD field_6031 yaw F
2019-10-09 12:44:02 -04:00
FIELD field_6032 AIR Lnet/minecraft/class_2940;
2019-06-28 17:55:20 -04:00
FIELD field_6034 vehicle Lnet/minecraft/class_1297;
FIELD field_6036 prevY D
FIELD field_6037 velocityModified Z
2019-12-02 08:47:40 -05:00
FIELD field_6038 lastRenderX D
2019-06-28 18:43:16 -04:00
FIELD field_6039 prevHorizontalSpeed F
2019-07-08 12:09:22 -04:00
METHOD <init> (Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
2018-11-28 15:24:24 -05:00
ARG 1 type
2020-06-07 11:02:50 -04:00
ARG 2 world
2019-06-28 17:55:20 -04:00
METHOD equals (Ljava/lang/Object;)Z
ARG 1 o
METHOD method_17681 getWidth ()F
METHOD method_17682 getHeight ()F
2019-09-12 09:28:23 -04:00
METHOD method_17833 adjustSingleAxisMovementForCollisions (Lnet/minecraft/class_243;Lnet/minecraft/class_238;Lnet/minecraft/class_4538;Lnet/minecraft/class_3726;Lnet/minecraft/class_3538;)Lnet/minecraft/class_243;
ARG 0 movement
ARG 1 entityBoundingBox
ARG 2 world
2019-06-28 18:43:16 -04:00
ARG 3 context
ARG 4 collisions
2019-09-12 09:28:23 -04:00
METHOD method_17835 adjustMovementForCollisions (Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
ARG 1 movement
2019-06-28 17:55:20 -04:00
METHOD method_18002 createSpawnPacket ()Lnet/minecraft/class_2596;
2019-06-28 18:43:16 -04:00
METHOD method_18003 updateTrackedPosition (DDD)V
ARG 1 x
ARG 3 y
ARG 5 z
2019-08-22 09:39:40 -04:00
METHOD method_18276 isInSneakingPose ()Z
2020-07-08 05:40:52 -04:00
COMMENT Returns whether the entity is in a crouching pose.
COMMENT
COMMENT <p>Compared to {@link #isSneaking()}, it only makes the entity appear
COMMENT crouching and does not bring other effects of sneaking, such as no less
2021-04-11 08:08:07 -04:00
COMMENT obvious name label rendering, no dismounting while riding, etc.
2020-07-08 05:40:52 -04:00
COMMENT
COMMENT <p>This is used by vanilla for non-player entities to crouch, such as
2021-04-11 08:08:07 -04:00
COMMENT for foxes and cats.
2019-06-28 17:55:20 -04:00
METHOD method_18375 detach ()V
2020-03-25 19:14:55 -04:00
COMMENT Removes all the passengers and removes this entity from any vehicles it is riding.
2019-06-28 17:55:20 -04:00
METHOD method_18376 getPose ()Lnet/minecraft/class_4050;
METHOD method_18377 getDimensions (Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
ARG 1 pose
METHOD method_18378 getEyeHeight (Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
ARG 1 pose
ARG 2 dimensions
2019-12-26 07:26:34 -05:00
METHOD method_18379 tickNetherPortal ()V
2019-06-28 17:55:20 -04:00
METHOD method_18380 setPose (Lnet/minecraft/class_4050;)V
ARG 1 pose
METHOD method_18381 getEyeHeight (Lnet/minecraft/class_4050;)F
ARG 1 pose
METHOD method_18382 calculateDimensions ()V
2019-09-12 09:28:23 -04:00
METHOD method_18794 adjustMovementForPiston (Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
ARG 1 movement
2019-06-28 17:55:20 -04:00
METHOD method_18795 movementInputToVelocity (Lnet/minecraft/class_243;FF)Lnet/minecraft/class_243;
ARG 0 movementInput
ARG 1 speed
ARG 2 yaw
2019-09-12 09:28:23 -04:00
METHOD method_18796 adjustMovementForSneaking (Lnet/minecraft/class_243;Lnet/minecraft/class_1313;)Lnet/minecraft/class_243;
ARG 1 movement
2019-06-28 17:55:20 -04:00
ARG 2 type
2019-06-28 18:43:16 -04:00
METHOD method_18797 calculatePistonMovementFactor (Lnet/minecraft/class_2350$class_2351;D)D
2019-09-12 09:28:23 -04:00
ARG 1 axis
2019-06-28 18:43:16 -04:00
ARG 2 offsetFactor
2019-06-28 17:55:20 -04:00
METHOD method_18798 getVelocity ()Lnet/minecraft/class_243;
METHOD method_18799 setVelocity (Lnet/minecraft/class_243;)V
ARG 1 velocity
METHOD method_18800 setVelocity (DDD)V
2019-05-07 07:19:00 -04:00
ARG 1 x
ARG 3 y
ARG 5 z
2019-06-28 17:55:20 -04:00
METHOD method_18863 getOppositeRotationVector (FF)Lnet/minecraft/class_243;
ARG 1 pitch
ARG 2 yaw
METHOD method_18864 getOppositeRotationVector (F)Lnet/minecraft/class_243;
ARG 1 tickDelta
METHOD method_19538 getPos ()Lnet/minecraft/class_243;
METHOD method_20232 isInSwimmingPose ()Z
METHOD method_20233 wouldPoseNotCollide (Lnet/minecraft/class_4050;)Z
ARG 1 pose
2019-06-28 18:43:16 -04:00
METHOD method_20343 calculateBoundsForPose (Lnet/minecraft/class_4050;)Lnet/minecraft/class_238;
ARG 1 pos
2019-06-28 17:55:20 -04:00
METHOD method_20448 shouldLeaveSwimmingPose ()Z
2019-06-28 18:43:16 -04:00
METHOD method_20620 teleport (DDD)V
ARG 1 destX
ARG 3 destY
ARG 5 destZ
2019-09-12 09:28:23 -04:00
METHOD method_20736 adjustMovementForCollisions (Lnet/minecraft/class_1297;Lnet/minecraft/class_243;Lnet/minecraft/class_238;Lnet/minecraft/class_1937;Lnet/minecraft/class_3726;Lnet/minecraft/class_3538;)Lnet/minecraft/class_243;
ARG 0 entity
ARG 1 movement
ARG 2 entityBoundingBox
2019-06-28 18:43:16 -04:00
ARG 3 world
ARG 4 context
ARG 5 collisions
2019-09-12 09:28:23 -04:00
METHOD method_20737 adjustMovementForCollisions (Lnet/minecraft/class_243;Lnet/minecraft/class_238;Lnet/minecraft/class_3538;)Lnet/minecraft/class_243;
ARG 0 movement
ARG 1 entityBoundingBox
ARG 2 collisions
2019-09-30 08:58:58 -04:00
METHOD method_20802 getFireTicks ()I
METHOD method_20803 setFireTicks (I)V
ARG 1 ticks
2019-12-05 18:28:21 -05:00
METHOD method_21749 bypassesSteppingEffects ()Z
METHOD method_21750 bypassesLandingEffects ()Z
METHOD method_21751 isSneaky ()Z
METHOD method_21752 isDescending ()Z
2019-10-30 12:15:03 -04:00
METHOD method_22861 getTeamColorValue ()I
2021-01-20 14:22:41 -05:00
METHOD method_22862 resetPosition ()V
2020-01-17 14:48:35 -05:00
METHOD method_23311 refreshPosition ()V
2019-12-05 18:28:21 -05:00
METHOD method_23312 getLandingPos ()Lnet/minecraft/class_2338;
METHOD method_23313 getJumpVelocityMultiplier ()F
METHOD method_23314 getVelocityAffectingPos ()Lnet/minecraft/class_2338;
METHOD method_23315 getDefaultName ()Lnet/minecraft/class_2561;
2019-11-19 09:28:00 -05:00
METHOD method_23316 offsetX (D)D
ARG 1 widthScale
2019-10-10 00:36:35 -04:00
METHOD method_23317 getX ()D
METHOD method_23318 getY ()D
2019-11-19 09:28:00 -05:00
METHOD method_23319 getRandomBodyY ()D
METHOD method_23320 getEyeY ()D
2019-10-10 00:36:35 -04:00
METHOD method_23321 getZ ()D
2019-11-19 09:28:00 -05:00
METHOD method_23322 getParticleX (D)D
ARG 1 widthScale
METHOD method_23323 getBodyY (D)D
ARG 1 heightScale
METHOD method_23324 offsetZ (D)D
ARG 1 widthScale
METHOD method_23325 getParticleZ (D)D
ARG 1 widthScale
2019-12-05 18:28:21 -05:00
METHOD method_23326 getVelocityMultiplier ()F
2019-10-10 00:36:35 -04:00
METHOD method_23327 setPos (DDD)V
ARG 1 x
ARG 3 y
ARG 5 z
2019-12-05 18:28:21 -05:00
METHOD method_24201 updatePassengerPosition (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)V
ARG 1 passenger
2020-12-31 09:22:27 -05:00
ARG 2 positionUpdater
2020-06-24 12:34:48 -04:00
METHOD method_24203 refreshPositionAfterTeleport (DDD)V
2019-12-05 18:28:21 -05:00
ARG 1 x
ARG 3 y
ARG 5 z
2020-02-24 15:14:56 -05:00
METHOD method_24516 isInRange (Lnet/minecraft/class_1297;D)Z
2021-03-21 09:14:31 -04:00
COMMENT Checks if the distance between this entity and the {@code other} entity is less
COMMENT than {@code radius}.
2020-02-24 15:14:56 -05:00
ARG 1 other
ARG 2 radius
2020-05-20 17:57:06 -04:00
METHOD method_24826 getPassengerDismountOffset (DDF)Lnet/minecraft/class_243;
ARG 0 vehicleWidth
ARG 2 passengerWidth
ARG 4 passengerYaw
2020-03-17 16:21:08 -04:00
METHOD method_24828 isOnGround ()Z
2020-05-20 17:57:06 -04:00
METHOD method_24829 updatePassengerForDismount (Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
ARG 1 passenger
2020-03-17 16:21:08 -04:00
METHOD method_24830 setOnGround (Z)V
ARG 1 onGround
2020-03-30 05:10:03 -04:00
METHOD method_25936 getLandingBlockState ()Lnet/minecraft/class_2680;
2020-05-06 16:49:35 -04:00
METHOD method_27298 shouldSpawnSprintingParticles ()Z
2020-11-05 04:41:29 -05:00
METHOD method_29239 dismountVehicle ()V
COMMENT Dismounts the vehicle if present.
COMMENT <p>
COMMENT For players, will not trigger any networking changes. Use {@link #stopRiding()} instead.
COMMENT
COMMENT @see #stopRiding()
2021-02-27 05:57:00 -05:00
METHOD method_29241 getSwimHeight ()D
COMMENT Returns the minimum submerged height of this entity in fluid so that it
COMMENT would be affected by fluid physics.
COMMENT
COMMENT @apiNote This is also used by living entities for checking whether to
COMMENT start swimming.
COMMENT
COMMENT @implSpec This implementation returns {@code 0.4} if its
COMMENT {@linkplain #getStandingEyeHeight standing eye height} is larger than
COMMENT {@code 0.4}; otherwise it returns {@code 0.0} for shorter entities.
COMMENT
COMMENT @implNote The swim height of 0 allows short entities like baby animals
COMMENT to start swimming to avoid suffocation.
2021-04-07 16:44:18 -04:00
METHOD method_29494 (Lnet/minecraft/class_2680;)Z
ARG 0 state
2020-08-04 03:39:03 -04:00
METHOD method_29495 refreshPositionAfterTeleport (Lnet/minecraft/class_243;)V
2020-12-31 09:22:27 -05:00
ARG 1 pos
2021-04-09 04:36:00 -04:00
METHOD method_29919 getLeashOffset ()Lnet/minecraft/class_243;
2020-12-31 09:22:27 -05:00
METHOD method_30076 removeFromDimension ()V
2020-08-19 09:08:03 -04:00
METHOD method_30227 getTrackedPosition ()Lnet/minecraft/class_243;
METHOD method_30228 updateTrackedPosition (Lnet/minecraft/class_243;)V
ARG 1 pos
2020-08-30 06:06:56 -04:00
METHOD method_30229 resetNetherPortalCooldown ()V
METHOD method_30230 hasNetherPortalCooldown ()Z
2020-07-09 06:00:39 -04:00
METHOD method_30329 getTeleportTarget (Lnet/minecraft/class_3218;)Lnet/minecraft/class_5454;
2021-05-05 07:57:42 -04:00
COMMENT Determines a {@link TeleportTarget} for the entity
COMMENT based on its current and destination worlds, plus
COMMENT any portals that may be present.
2020-07-09 06:00:39 -04:00
ARG 1 destination
2021-02-13 12:01:51 -05:00
METHOD method_30330 getPortalRect (Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Z)Ljava/util/Optional;
ARG 1 destWorld
ARG 2 destPos
ARG 3 destIsNether
2021-04-07 16:44:18 -04:00
METHOD method_30331 (Lnet/minecraft/class_3218;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_5454;
ARG 2 rect
2020-12-31 09:22:27 -05:00
METHOD method_30632 collidesWithStateAtPos (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
ARG 1 pos
ARG 2 state
2021-02-13 12:01:51 -05:00
METHOD method_30633 positionInPortal (Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;
ARG 1 portalAxis
ARG 2 portalRect
2020-12-31 09:22:27 -05:00
METHOD method_30634 updatePosition (DDD)V
2020-08-30 06:06:56 -04:00
ARG 1 x
ARG 3 y
ARG 5 z
2020-10-03 06:37:13 -04:00
METHOD method_30948 isCollidable ()Z
METHOD method_30949 collidesWith (Lnet/minecraft/class_1297;)Z
ARG 1 other
2020-12-31 09:22:27 -05:00
METHOD method_30950 getLerpedPos (F)Lnet/minecraft/class_243;
ARG 1 delta
METHOD method_31166 getClientCameraPosVec (F)Lnet/minecraft/class_243;
2020-08-30 06:06:56 -04:00
ARG 1 tickDelta
2021-04-07 16:44:18 -04:00
METHOD method_31469 (Lnet/minecraft/class_1297;)Z
ARG 0 entity
METHOD method_31470 (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;)Z
ARG 1 entity
2020-11-06 09:24:34 -05:00
METHOD method_31471 onSpawnPacket (Lnet/minecraft/class_2604;)V
2020-11-05 04:41:29 -05:00
ARG 1 packet
METHOD method_31472 discard ()V
2021-01-25 15:19:36 -05:00
METHOD method_31473 attemptTickInVoid ()V
2021-02-07 08:30:35 -05:00
COMMENT Calls {@link #tickInVoid()} when the entity is 64 blocks below the world's {@linkplain net.minecraft.world.HeightLimitView#getBottomY() minimum Y position}.
2021-04-07 16:44:18 -04:00
METHOD method_31474 (Lnet/minecraft/class_1297;)V
ARG 0 entity
2020-11-05 04:41:29 -05:00
METHOD method_31476 getChunkPos ()Lnet/minecraft/class_1923;
METHOD method_31477 getBlockX ()I
METHOD method_31478 getBlockY ()I
METHOD method_31479 getBlockZ ()I
2020-11-06 09:24:34 -05:00
METHOD method_31480 getPickBlockStack ()Lnet/minecraft/class_1799;
2020-11-05 04:41:29 -05:00
METHOD method_31481 isRemoved ()Z
METHOD method_31482 unsetRemoved ()V
METHOD method_31483 getFirstPassenger ()Lnet/minecraft/class_1297;
2021-02-10 14:35:29 -05:00
METHOD method_31484 streamIntoPassengers ()Ljava/util/stream/Stream;
2020-11-18 07:02:57 -05:00
METHOD method_32312 getFrozenTicks ()I
METHOD method_32313 getFreezingScale ()F
METHOD method_32314 isFreezing ()Z
METHOD method_32315 getMinFreezeDamageTicks ()I
METHOD method_32316 canFreeze ()Z
METHOD method_32317 setFrozenTicks (I)V
ARG 1 frozenTicks
2021-05-30 17:10:13 -04:00
METHOD method_32318 getStackReference (I)Lnet/minecraft/class_5630;
COMMENT Obtains a stack reference to be modified. Used by commands like
COMMENT {@code /loot} or {@code /item}.
2021-02-08 14:47:07 -05:00
COMMENT
COMMENT @see net.minecraft.command.argument.ItemSlotArgumentType
ARG 1 mappedIndex
COMMENT the mapped index as given by the item slot argument
2020-11-18 07:02:57 -05:00
METHOD method_32319 setInPowderSnow (Z)V
ARG 1 inPowderSnow
2021-02-03 14:34:30 -05:00
METHOD method_32875 emitGameEvent (Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;)V
2021-02-13 12:01:00 -05:00
ARG 1 event
ARG 2 entity
2020-12-14 16:35:39 -05:00
METHOD method_32876 emitGameEvent (Lnet/minecraft/class_5712;)V
2021-02-13 12:01:00 -05:00
ARG 1 event
METHOD method_32877 getGameEventHandler ()Lnet/minecraft/class_5715;
COMMENT Returns the game event handler for this entity.
COMMENT
COMMENT <p>Subclasses interested in listening to game events as an entity should return a
COMMENT handler so the {@link net.minecraft.world.event.listener.GameEventListener listener}
COMMENT used to receive game events can be registered to the correct dispatchers.
COMMENT
COMMENT @implNote The vanilla implementation always returns {@code null}.
2020-12-31 09:22:27 -05:00
METHOD method_33189 occludeVibrationSignals ()Z
2021-06-06 10:21:56 -04:00
METHOD method_33331 (Lnet/minecraft/class_4048;Lnet/minecraft/class_243;)V
ARG 2 pos
2021-04-06 13:00:23 -04:00
METHOD method_33332 calculateBoundingBox ()Lnet/minecraft/class_238;
2021-02-17 13:16:34 -05:00
METHOD method_33567 requestTeleportAndDismount (DDD)V
ARG 1 destX
ARG 3 destY
ARG 5 destZ
2021-02-13 12:01:00 -05:00
METHOD method_33568 emitGameEvent (Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_2338;)V
ARG 1 event
ARG 2 entity
ARG 3 pos
METHOD method_33569 emitGameEvent (Lnet/minecraft/class_5712;Lnet/minecraft/class_2338;)V
ARG 1 event
ARG 2 pos
2021-02-17 13:16:34 -05:00
METHOD method_33570 getMoveEffect ()Lnet/minecraft/class_1297$class_5799;
COMMENT Returns the possible effect(s) of an entity moving.
COMMENT
COMMENT @implNote If an entity does not emit game events or play move sounds, this
COMMENT method should be overridden as returning a value other than
COMMENT {@linkplain Entity.MoveEffect#ALL ALL} allows skipping some movement logic
COMMENT and boost ticking performance.
2021-02-13 12:01:00 -05:00
METHOD method_33571 getEyePos ()Lnet/minecraft/class_243;
2021-02-04 13:34:24 -05:00
METHOD method_33572 setOnFire (Z)V
ARG 1 onFire
2021-02-17 13:16:34 -05:00
METHOD method_33573 addAirTravelEffects ()V
COMMENT Adds the effects of this entity when it travels in air, usually to the
COMMENT world the entity is in.
COMMENT
COMMENT <p>This is only called when the entity {@linkplain #getMoveEffect() has
COMMENT any move effect}, from {@link #move(MovementType, Vec3d)}
2021-04-06 13:00:23 -04:00
METHOD method_33574 setPosition (Lnet/minecraft/class_243;)V
ARG 1 pos
2021-02-27 05:57:00 -05:00
METHOD method_33575 getCameraBlockPos ()Lnet/minecraft/class_2338;
METHOD method_33724 isRegionUnloaded ()Z
COMMENT Returns whether any part of this entity's bounding box is in an unloaded
COMMENT region of the world the entity is in.
COMMENT
COMMENT @implSpec This implementation expands this entity's bounding box by 1 in
COMMENT each axis and checks whether the expanded box's smallest enclosing
COMMENT axis-aligned integer box is fully loaded in the world.
2021-04-06 13:00:23 -04:00
METHOD method_35049 getRemovalReason ()Lnet/minecraft/class_1297$class_5529;
2021-04-23 15:08:59 -04:00
METHOD method_36209 onRemoved ()V
2021-05-24 09:46:09 -04:00
METHOD method_36361 isGlowingLocal ()Z
2021-04-30 13:02:56 -04:00
METHOD method_36454 getYaw ()F
METHOD method_36455 getPitch ()F
METHOD method_36456 setYaw (F)V
ARG 1 yaw
METHOD method_36457 setPitch (F)V
ARG 1 pitch
2021-05-24 09:46:09 -04:00
METHOD method_36601 getBlockStateAtPos ()Lnet/minecraft/class_2680;
2021-05-21 10:28:57 -04:00
METHOD method_36971 canModifyAt (Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Z
ARG 1 world
ARG 2 pos
METHOD method_36974 tryCheckBlockCollision ()V
METHOD method_36975 playExtinguishSound ()V
2021-06-06 10:21:56 -04:00
METHOD method_37215 playAmethystChimeSound (Lnet/minecraft/class_2680;)V
ARG 1 state
2021-09-17 11:18:49 -04:00
METHOD method_37908 getWorld ()Lnet/minecraft/class_1937;
2019-06-28 17:55:20 -04:00
METHOD method_5621 getMountedHeightOffset ()D
METHOD method_5622 onBlockCollision (Lnet/minecraft/class_2680;)V
ARG 1 state
METHOD method_5623 fall (DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
ARG 1 heightDifference
ARG 3 onGround
2019-08-22 16:25:19 -04:00
ARG 4 landedState
ARG 5 landedPosition
2019-06-28 17:55:20 -04:00
METHOD method_5624 isSprinting ()Z
METHOD method_5625 getSplashSound ()Lnet/minecraft/class_3414;
METHOD method_5626 hasPassenger (Lnet/minecraft/class_1297;)Z
ARG 1 passenger
METHOD method_5627 addPassenger (Lnet/minecraft/class_1297;)V
ARG 1 passenger
METHOD method_5629 doesNotCollide (Lnet/minecraft/class_238;)Z
ARG 1 box
2020-01-19 13:02:15 -05:00
METHOD method_5630 updateSubmergedInWaterState ()V
2019-06-28 17:55:20 -04:00
METHOD method_5631 getRotationVector (FF)Lnet/minecraft/class_243;
ARG 1 pitch
ARG 2 yaw
METHOD method_5632 pushOutOfBlocks (DDD)V
2018-11-04 07:22:38 -05:00
ARG 1 x
ARG 3 y
2019-01-17 18:32:39 -05:00
ARG 5 z
2019-06-28 17:55:20 -04:00
METHOD method_5634 getSoundCategory ()Lnet/minecraft/class_3419;
2021-04-30 13:02:56 -04:00
METHOD method_5636 setBodyYaw (F)V
ARG 1 bodyYaw
2020-01-19 13:02:15 -05:00
METHOD method_5637 isWet ()Z
COMMENT Returns whether this entity is touching water, or is being rained on, or is inside a bubble column...
2020-02-24 15:14:56 -05:00
COMMENT
COMMENT @see net.minecraft.entity.Entity#isTouchingWater()
COMMENT @see net.minecraft.entity.Entity#isBeingRainedOn()
COMMENT @see net.minecraft.entity.Entity#isInsideBubbleColumn()
2019-06-28 17:55:20 -04:00
METHOD method_5638 shouldSetPositionOnLoad ()Z
METHOD method_5639 setOnFireFor (I)V
ARG 1 seconds
2019-12-02 08:47:40 -05:00
METHOD method_5640 shouldRender (D)Z
2019-06-28 17:55:20 -04:00
ARG 1 distance
2020-01-17 14:48:35 -05:00
METHOD method_5641 updatePositionAndAngles (DDDFF)V
2018-11-04 07:22:38 -05:00
ARG 1 x
ARG 3 y
ARG 5 z
2019-05-07 07:19:00 -04:00
ARG 7 yaw
ARG 8 pitch
2019-06-28 17:55:20 -04:00
METHOD method_5642 getPrimaryPassenger ()Lnet/minecraft/class_1297;
METHOD method_5643 damage (Lnet/minecraft/class_1282;F)Z
2018-11-04 07:22:38 -05:00
ARG 1 source
2018-12-12 05:36:16 -05:00
ARG 2 amount
2019-06-28 17:55:20 -04:00
METHOD method_5644 onPassengerLookAround (Lnet/minecraft/class_1297;)V
ARG 1 passenger
METHOD method_5645 isTeamPlayer (Lnet/minecraft/class_270;)Z
ARG 1 team
METHOD method_5646 extinguish ()V
2021-02-17 13:16:46 -05:00
METHOD method_5647 writeNbt (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
2021-04-02 17:03:30 -04:00
ARG 1 nbt
2019-06-28 17:55:20 -04:00
METHOD method_5648 setInvisible (Z)V
ARG 1 invisible
METHOD method_5649 squaredDistanceTo (DDD)D
ARG 1 x
ARG 3 y
ARG 5 z
2020-11-04 15:44:22 -05:00
METHOD method_5650 remove (Lnet/minecraft/class_1297$class_5529;)V
2020-11-05 04:41:29 -05:00
ARG 1 reason
2021-02-17 13:16:46 -05:00
METHOD method_5651 readNbt (Lnet/minecraft/class_2487;)V
2021-04-02 17:03:30 -04:00
ARG 1 nbt
2021-02-17 13:16:46 -05:00
METHOD method_5652 writeCustomDataToNbt (Lnet/minecraft/class_2487;)V
2021-04-02 17:03:30 -04:00
ARG 1 nbt
2019-06-28 17:55:20 -04:00
METHOD method_5653 getSavedEntityId ()Ljava/lang/String;
METHOD method_5654 doesNotCollide (DDD)Z
ARG 1 offsetX
ARG 3 offsetY
ARG 5 offsetZ
METHOD method_5655 isInvulnerable ()Z
METHOD method_5657 getPistonBehavior ()Lnet/minecraft/class_3619;
METHOD method_5659 isImmuneToExplosion ()Z
METHOD method_5660 setSneaking (Z)V
ARG 1 sneaking
METHOD method_5661 getArmorItems ()Ljava/lang/Iterable;
2021-04-02 17:03:30 -04:00
METHOD method_5662 saveNbt (Lnet/minecraft/class_2487;)Z
ARG 1 nbt
2019-06-28 17:55:20 -04:00
METHOD method_5663 getRotationVecClient ()Lnet/minecraft/class_243;
METHOD method_5664 interactAt (Lnet/minecraft/class_1657;Lnet/minecraft/class_243;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
2018-11-04 07:22:38 -05:00
ARG 1 player
ARG 2 hitPos
2019-05-07 07:19:00 -04:00
ARG 3 hand
2019-06-28 17:55:20 -04:00
METHOD method_5665 setCustomName (Lnet/minecraft/class_2561;)V
ARG 1 name
2019-06-28 18:43:16 -04:00
METHOD method_5668 getRootVehicle ()Lnet/minecraft/class_1297;
2020-03-25 19:14:55 -04:00
COMMENT Gets the lowest entity this entity is riding.
2019-10-09 12:44:02 -04:00
METHOD method_5669 getAir ()I
2019-06-28 17:55:20 -04:00
METHOD method_5670 baseTick ()V
METHOD method_5671 getCommandSource ()Lnet/minecraft/class_2168;
2021-03-21 09:14:31 -04:00
COMMENT Creates a command source which represents this entity.
2019-06-28 17:55:20 -04:00
METHOD method_5672 getHighSpeedSplashSound ()Lnet/minecraft/class_3414;
2019-08-22 16:25:19 -04:00
METHOD method_5673 equipStack (Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
2019-06-28 17:55:20 -04:00
ARG 1 slot
ARG 2 stack
METHOD method_5674 onTrackedDataSet (Lnet/minecraft/class_2940;)V
ARG 1 data
2021-03-30 17:36:56 -04:00
METHOD method_5675 isPushedByFluids ()Z
2019-06-28 18:43:16 -04:00
METHOD method_5676 getBurningDuration ()I
2019-06-28 17:55:20 -04:00
METHOD method_5678 getHeightOffset ()D
METHOD method_5679 isInvulnerableTo (Lnet/minecraft/class_1282;)Z
ARG 1 damageSource
METHOD method_5680 canBeSpectated (Lnet/minecraft/class_3222;)Z
ARG 1 spectator
METHOD method_5681 isSwimming ()Z
METHOD method_5682 getServer ()Lnet/minecraft/server/MinecraftServer;
2019-06-28 18:43:16 -04:00
METHOD method_5683 updateTrackedHeadRotation (FI)V
ARG 1 yaw
ARG 2 interpolationSteps
2019-06-28 17:55:20 -04:00
METHOD method_5684 setInvulnerable (Z)V
ARG 1 invulnerable
METHOD method_5685 getPassengerList ()Ljava/util/List;
2020-04-06 19:29:55 -04:00
METHOD method_5687 hasPermissionLevel (I)Z
2019-06-28 18:43:16 -04:00
ARG 1 permissionLevel
2020-06-04 15:08:31 -04:00
METHOD method_5688 interact (Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
2020-03-25 19:14:55 -04:00
COMMENT Called when a player interacts with this entity.
2019-06-28 17:55:20 -04:00
ARG 1 player
2020-03-25 19:14:55 -04:00
COMMENT the player
2019-06-28 17:55:20 -04:00
ARG 2 hand
2020-03-25 19:14:55 -04:00
COMMENT the hand the player used to interact with this entity
2019-06-28 17:55:20 -04:00
METHOD method_5691 getPermissionLevel ()I
2020-02-26 12:56:39 -05:00
METHOD method_5692 updateMovementInFluid (Lnet/minecraft/class_3494;D)Z
2019-06-28 17:55:20 -04:00
ARG 1 tag
METHOD method_5693 initDataTracker ()V
METHOD method_5694 onPlayerCollision (Lnet/minecraft/class_1657;)V
ARG 1 player
METHOD method_5695 getPitch (F)F
ARG 1 tickDelta
METHOD method_5696 canAvoidTraps ()Z
METHOD method_5697 pushAwayFrom (Lnet/minecraft/class_1297;)V
ARG 1 entity
2019-06-28 18:43:16 -04:00
METHOD method_5698 handleAttack (Lnet/minecraft/class_1297;)Z
ARG 1 attacker
2019-06-28 17:55:20 -04:00
METHOD method_5699 dropStack (Lnet/minecraft/class_1799;F)Lnet/minecraft/class_1542;
2018-11-04 07:22:38 -05:00
ARG 1 stack
2019-05-07 07:19:00 -04:00
ARG 2 yOffset
2019-06-28 17:55:20 -04:00
METHOD method_5700 onBubbleColumnSurfaceCollision (Z)V
ARG 1 drag
METHOD method_5701 isSilent ()Z
METHOD method_5702 lookAt (Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)V
2019-08-22 16:25:19 -04:00
ARG 1 anchorPoint
2018-12-14 13:18:38 -05:00
ARG 2 target
2020-11-04 15:44:22 -05:00
METHOD method_5703 hasPassengerType (Ljava/util/function/Predicate;)Z
2021-05-21 10:28:57 -04:00
ARG 1 predicate
2019-06-28 17:55:20 -04:00
METHOD method_5705 getYaw (F)F
ARG 1 tickDelta
METHOD method_5706 dropItem (Lnet/minecraft/class_1935;)Lnet/minecraft/class_1542;
ARG 1 item
METHOD method_5707 squaredDistanceTo (Lnet/minecraft/class_243;)D
ARG 1 vector
METHOD method_5709 isLiving ()Z
METHOD method_5710 setRotation (FF)V
ARG 1 yaw
ARG 2 pitch
METHOD method_5711 handleStatus (B)V
ARG 1 status
METHOD method_5712 playStepSound (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
ARG 1 pos
2021-06-06 10:21:56 -04:00
ARG 2 state
2020-02-26 12:56:39 -05:00
METHOD method_5713 checkWaterState ()V
2019-06-28 17:55:20 -04:00
METHOD method_5715 isSneaking ()Z
METHOD method_5716 updateKilledAdvancementCriterion (Lnet/minecraft/class_1297;ILnet/minecraft/class_1282;)V
ARG 1 killer
ARG 2 score
ARG 3 damageSource
2019-12-26 07:26:34 -05:00
METHOD method_5717 setInNetherPortal (Lnet/minecraft/class_2338;)V
2019-06-28 17:55:20 -04:00
ARG 1 pos
METHOD method_5718 getBrightnessAtEyes ()F
METHOD method_5719 copyPositionAndRotation (Lnet/minecraft/class_1297;)V
ARG 1 entity
METHOD method_5720 getRotationVector ()Lnet/minecraft/class_243;
2020-01-19 13:02:15 -05:00
METHOD method_5721 isTouchingWaterOrRain ()Z
2019-06-28 17:55:20 -04:00
METHOD method_5722 isTeammate (Lnet/minecraft/class_1297;)Z
ARG 1 other
2021-06-01 11:26:08 -04:00
METHOD method_5723 applyDamageEffects (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;)V
COMMENT Applies damage effects to {@code attacker} or {@code target}.
COMMENT
COMMENT <p>Called when {@code attacker} damages {@code target}.
COMMENT
COMMENT <p>Used to apply damage effects based on enchantments, such
COMMENT as Thorns attacker damage or slowness from Bane of Arthropods.
COMMENT
COMMENT @implNote Although this method is non-static, {@code this} keyword is
COMMENT not used anywhere in this method.
2019-06-28 17:55:20 -04:00
ARG 1 attacker
2021-06-01 11:26:08 -04:00
COMMENT the attacker; usually this entity, but may be a {@linkplain
COMMENT net.minecraft.entity.projectile.ProjectileEntity#getOwner() projectile's
COMMENT owner entity}
2019-06-28 17:55:20 -04:00
ARG 2 target
METHOD method_5724 updateVelocity (FLnet/minecraft/class_243;)V
2019-02-25 08:33:09 -05:00
ARG 1 speed
2019-06-28 17:55:20 -04:00
ARG 2 movementInput
2020-01-17 14:48:35 -05:00
METHOD method_5725 refreshPositionAndAngles (Lnet/minecraft/class_2338;FF)V
2018-11-04 07:22:38 -05:00
ARG 1 pos
ARG 2 yaw
2019-01-17 18:32:39 -05:00
ARG 3 pitch
2021-04-02 17:03:30 -04:00
METHOD method_5726 toNbtList ([F)Lnet/minecraft/class_2499;
2019-05-07 07:19:00 -04:00
ARG 1 values
2019-12-02 08:47:40 -05:00
METHOD method_5727 shouldRender (DDD)Z
ARG 1 cameraX
ARG 3 cameraY
ARG 5 cameraZ
2019-06-28 17:55:20 -04:00
METHOD method_5728 setSprinting (Z)V
ARG 1 sprinting
METHOD method_5729 setFlag (IZ)V
2018-11-04 07:22:38 -05:00
ARG 1 index
2019-04-10 10:34:04 -04:00
ARG 2 value
2019-06-28 17:55:20 -04:00
METHOD method_5730 setOnFireFromLava ()V
2020-07-09 06:00:39 -04:00
METHOD method_5731 moveToWorld (Lnet/minecraft/class_3218;)Lnet/minecraft/class_1297;
COMMENT Moves this entity to another world.
COMMENT
COMMENT <p>Note all entities except server player entities are completely recreated at the destination.
COMMENT
COMMENT @return the entity in the other world
2020-06-18 15:16:49 -04:00
ARG 1 destination
2019-06-28 18:43:16 -04:00
METHOD method_5732 isAttackable ()Z
2019-06-28 17:55:20 -04:00
METHOD method_5733 shouldRenderName ()Z
METHOD method_5734 playSwimSound (F)V
ARG 1 volume
METHOD method_5735 getHorizontalFacing ()Lnet/minecraft/class_2350;
2020-11-04 15:44:22 -05:00
METHOD method_5736 getPassengersDeep ()Ljava/lang/Iterable;
2019-06-28 17:55:20 -04:00
METHOD method_5737 getSwimSound ()Lnet/minecraft/class_3414;
METHOD method_5738 removeScoreboardTag (Ljava/lang/String;)Z
2019-05-07 07:19:00 -04:00
ARG 1 tag
2019-06-28 17:55:20 -04:00
METHOD method_5739 distanceTo (Lnet/minecraft/class_1297;)F
ARG 1 entity
METHOD method_5740 hasNoGravity ()Z
2019-12-26 07:26:34 -05:00
METHOD method_5741 getMaxNetherPortalTime ()I
2019-06-28 17:55:20 -04:00
METHOD method_5742 onStoppedTrackingBy (Lnet/minecraft/class_3222;)V
2019-05-07 07:19:00 -04:00
ARG 1 player
2019-06-28 17:55:20 -04:00
METHOD method_5743 getItemsEquipped ()Ljava/lang/Iterable;
2020-08-23 17:04:34 -04:00
METHOD method_5745 raycast (DFZ)Lnet/minecraft/class_239;
2019-06-28 17:55:20 -04:00
ARG 1 maxDistance
ARG 3 tickDelta
ARG 4 includeFluids
METHOD method_5746 onSwimmingStart ()V
2021-01-20 14:22:41 -05:00
METHOD method_5747 handleFallDamage (FFLnet/minecraft/class_1282;)Z
2019-06-28 17:55:20 -04:00
ARG 1 fallDistance
ARG 2 damageMultiplier
2021-01-25 13:28:38 -05:00
ARG 3 damageSource
2019-10-09 12:44:02 -04:00
METHOD method_5748 getMaxAir ()I
2021-02-17 13:16:46 -05:00
METHOD method_5749 readCustomDataFromNbt (Lnet/minecraft/class_2487;)V
2021-04-02 17:03:30 -04:00
ARG 1 nbt
2019-06-28 17:55:20 -04:00
METHOD method_5750 setVelocityClient (DDD)V
2019-01-30 12:48:39 -05:00
ARG 1 x
ARG 3 y
ARG 5 z
2019-06-28 17:55:20 -04:00
METHOD method_5751 getStandingEyeHeight ()F
METHOD method_5752 getScoreboardTags ()Ljava/util/Set;
METHOD method_5753 isFireImmune ()Z
METHOD method_5755 getMovementDirection ()Lnet/minecraft/class_2350;
2020-01-31 05:14:57 -05:00
METHOD method_5756 isInvisibleTo (Lnet/minecraft/class_1657;)Z
2019-04-10 10:34:04 -04:00
ARG 1 player
2019-06-28 17:55:20 -04:00
METHOD method_5757 isInsideWall ()Z
2019-06-28 18:43:16 -04:00
METHOD method_5759 updateTrackedPositionAndAngles (DDDFFIZ)V
2018-11-04 07:22:38 -05:00
ARG 1 x
2019-05-07 07:19:00 -04:00
ARG 3 y
ARG 5 z
2019-06-28 17:55:20 -04:00
ARG 7 yaw
ARG 8 pitch
2019-06-28 18:43:16 -04:00
ARG 9 interpolationSteps
ARG 10 interpolate
2019-12-26 07:26:34 -05:00
METHOD method_5760 tickNetherPortalCooldown ()V
2019-06-28 17:55:20 -04:00
METHOD method_5762 addVelocity (DDD)V
2019-01-30 12:48:39 -05:00
ARG 1 deltaX
2019-02-25 08:33:09 -05:00
ARG 3 deltaY
ARG 5 deltaZ
2019-06-28 17:55:20 -04:00
METHOD method_5763 applyMirror (Lnet/minecraft/class_2415;)F
ARG 1 mirror
METHOD method_5764 onBubbleColumnCollision (Z)V
ARG 1 drag
METHOD method_5765 hasVehicle ()Z
METHOD method_5767 isInvisible ()Z
METHOD method_5768 kill ()V
METHOD method_5769 getHoverEvent ()Lnet/minecraft/class_2568;
METHOD method_5770 getEntityWorld ()Lnet/minecraft/class_1937;
METHOD method_5771 isInLava ()Z
METHOD method_5772 removeAllPassengers ()V
METHOD method_5773 tick ()V
METHOD method_5774 getEffectiveExplosionResistance (Lnet/minecraft/class_1927;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;Lnet/minecraft/class_3610;F)F
ARG 1 explosion
ARG 2 world
ARG 3 pos
ARG 4 blockState
ARG 5 fluidState
ARG 6 max
METHOD method_5775 dropStack (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1542;
ARG 1 stack
2019-09-12 09:28:23 -04:00
METHOD method_5776 hasWings ()Z
2020-03-11 11:09:33 -04:00
METHOD method_5777 isSubmergedIn (Lnet/minecraft/class_3494;)Z
2020-12-31 09:22:27 -05:00
ARG 1 fluidTag
2019-06-28 17:55:20 -04:00
METHOD method_5778 isBeingRainedOn ()Z
METHOD method_5779 isPartOf (Lnet/minecraft/class_1297;)Z
ARG 1 entity
METHOD method_5780 addScoreboardTag (Ljava/lang/String;)Z
2019-05-07 07:19:00 -04:00
ARG 1 tag
2019-06-28 17:55:20 -04:00
METHOD method_5781 getScoreboardTeam ()Lnet/minecraft/class_270;
METHOD method_5782 hasPassengers ()Z
METHOD method_5783 playSound (Lnet/minecraft/class_3414;FF)V
ARG 1 sound
ARG 2 volume
ARG 3 pitch
METHOD method_5784 move (Lnet/minecraft/class_1313;Lnet/minecraft/class_243;)V
2021-02-13 16:41:21 -05:00
ARG 1 movementType
2019-09-12 09:28:23 -04:00
ARG 2 movement
2019-06-28 17:55:20 -04:00
METHOD method_5785 scheduleVelocityUpdate ()V
2021-04-02 17:03:30 -04:00
METHOD method_5786 saveSelfNbt (Lnet/minecraft/class_2487;)Z
ARG 1 nbt
2019-06-28 17:55:20 -04:00
METHOD method_5787 isLogicalSideForUpdatingMovement ()Z
METHOD method_5788 canBeRiddenInWater ()Z
METHOD method_5790 updateSwimming ()V
METHOD method_5791 getHeadYaw ()F
METHOD method_5793 removePassenger (Lnet/minecraft/class_1297;)V
2020-11-05 04:41:29 -05:00
ARG 1 passenger
2019-06-28 17:55:20 -04:00
METHOD method_5794 isConnectedThroughVehicle (Lnet/minecraft/class_1297;)Z
2020-03-25 19:14:55 -04:00
COMMENT Checks if this entity and another entity share the same root vehicle.
2019-05-07 07:19:00 -04:00
ARG 1 entity
2020-03-25 19:14:55 -04:00
COMMENT the other entity
2019-06-28 17:55:20 -04:00
METHOD method_5795 getFlag (I)Z
ARG 1 index
METHOD method_5796 setSwimming (Z)V
2019-03-27 13:54:42 -04:00
ARG 1 swimming
2019-06-28 17:55:20 -04:00
METHOD method_5798 isInsideBubbleColumn ()Z
2020-01-19 13:02:15 -05:00
METHOD method_5799 isTouchingWater ()Z
COMMENT Returns whether this entity's hitbox is touching water fluid.
2020-07-01 12:44:38 -04:00
METHOD method_5800 onStruckByLightning (Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)V
2020-09-02 16:27:57 -04:00
ARG 1 world
ARG 2 lightning
2021-02-17 13:16:34 -05:00
METHOD method_5801 addFlapEffects ()V
COMMENT Adds the effects of this entity flapping, usually to the world the entity
COMMENT is in.
COMMENT
COMMENT <p>The actual flapping logic should be done in {@link #tick()} instead.
COMMENT
COMMENT <p>This is only called when the entity {@linkplain #hasWings() has wings}
COMMENT and the entity {@linkplain #getMoveEffect() has any move effect}, from
COMMENT {@link #addAirTravelEffects()}.
2019-06-28 17:55:20 -04:00
METHOD method_5802 getRotationClient ()Lnet/minecraft/class_241;
METHOD method_5803 setSilent (Z)V
ARG 1 silent
METHOD method_5804 startRiding (Lnet/minecraft/class_1297;)Z
ARG 1 entity
METHOD method_5805 isAlive ()Z
2019-12-26 07:26:34 -05:00
METHOD method_5806 getDefaultNetherPortalCooldown ()I
2019-06-28 17:55:20 -04:00
METHOD method_5807 isCustomNameVisible ()Z
2020-01-17 14:48:35 -05:00
METHOD method_5808 refreshPositionAndAngles (DDDFF)V
2018-11-04 07:22:38 -05:00
ARG 1 x
2019-01-30 12:48:39 -05:00
ARG 3 y
ARG 5 z
2019-06-28 17:55:20 -04:00
ARG 7 yaw
ARG 8 pitch
METHOD method_5809 isOnFire ()Z
METHOD method_5810 isPushable ()Z
2021-04-07 16:44:18 -04:00
METHOD method_5813 (Lnet/minecraft/class_2583;)Lnet/minecraft/class_2583;
ARG 1 style
2020-12-31 09:22:27 -05:00
METHOD method_5814 setPosition (DDD)V
2019-04-04 16:04:27 -04:00
ARG 1 x
ARG 3 y
ARG 5 z
2019-06-28 17:55:20 -04:00
METHOD method_5816 isInsideWaterOrBubbleColumn ()Z
2019-06-28 18:43:16 -04:00
METHOD method_5817 hasPlayerRider ()Z
2019-06-28 17:55:20 -04:00
METHOD method_5818 canAddPassenger (Lnet/minecraft/class_1297;)Z
ARG 1 passenger
METHOD method_5819 populateCrashReport (Lnet/minecraft/class_129;)V
ARG 1 section
METHOD method_5820 getEntityName ()Ljava/lang/String;
METHOD method_5821 hasPassengerDeep (Lnet/minecraft/class_1297;)Z
ARG 1 passenger
METHOD method_5822 canUsePortals ()Z
METHOD method_5824 getRenderDistanceMultiplier ()D
2021-01-25 15:19:36 -05:00
METHOD method_5825 tickInVoid ()V
2021-02-07 08:30:35 -05:00
COMMENT Called when the entity is 64 blocks below the world's {@linkplain net.minecraft.world.HeightLimitView#getBottomY() minimum Y position}.
2021-01-25 15:19:36 -05:00
COMMENT
COMMENT <p>{@linkplain LivingEntity Living entities} use this to deal {@linkplain net.minecraft.entity.damage.DamageSource#OUT_OF_WORLD out of world damage}.
2019-06-28 17:55:20 -04:00
METHOD method_5826 setUuid (Ljava/util/UUID;)V
ARG 1 uuid
METHOD method_5828 getRotationVec (F)Lnet/minecraft/class_243;
2019-04-10 10:34:04 -04:00
ARG 1 tickDelta
2019-06-28 17:55:20 -04:00
METHOD method_5830 getVisibilityBoundingBox ()Lnet/minecraft/class_238;
METHOD method_5832 applyRotation (Lnet/minecraft/class_2470;)F
ARG 1 rotation
METHOD method_5833 entityDataRequiresOperator ()Z
METHOD method_5834 setGlowing (Z)V
ARG 1 glowing
METHOD method_5836 getCameraPosVec (F)Lnet/minecraft/class_243;
2019-03-14 08:57:09 -04:00
ARG 1 tickDelta
2019-06-28 17:55:20 -04:00
METHOD method_5837 onStartedTrackingBy (Lnet/minecraft/class_3222;)V
ARG 1 player
2021-06-07 09:45:06 -04:00
METHOD method_5838 setId (I)V
COMMENT Sets the network ID of this entity.
COMMENT
COMMENT @apiNote This is used by client-side networking logic to set up the network
COMMENT ID of entities from the server. This shouldn't be used by server-side logic
COMMENT as the network ID is already properly initialized on entity object construction.
COMMENT
COMMENT @see #getId()
2019-06-28 17:55:20 -04:00
ARG 1 id
METHOD method_5839 spawnSprintingParticles ()V
METHOD method_5840 setRenderDistanceMultiplier (D)V
ARG 0 value
METHOD method_5841 getDataTracker ()Lnet/minecraft/class_2945;
METHOD method_5842 tickRiding ()V
METHOD method_5844 slowMovement (Lnet/minecraft/class_2680;Lnet/minecraft/class_243;)V
ARG 1 state
2019-09-12 09:28:23 -04:00
ARG 2 multiplier
2019-06-28 17:55:20 -04:00
METHOD method_5845 getUuidAsString ()Ljava/lang/String;
2021-04-02 17:03:30 -04:00
METHOD method_5846 toNbtList ([D)Lnet/minecraft/class_2499;
2019-06-28 17:55:20 -04:00
ARG 1 values
METHOD method_5847 setHeadYaw (F)V
ARG 1 headYaw
METHOD method_5848 stopRiding ()V
METHOD method_5850 getSafeFallDistance ()I
METHOD method_5851 isGlowing ()Z
METHOD method_5852 checkBlockCollision ()V
METHOD method_5853 canExplosionDestroyBlock (Lnet/minecraft/class_1927;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;F)Z
ARG 1 explosion
ARG 2 world
ARG 3 pos
ARG 4 state
ARG 5 explosionPower
METHOD method_5854 getVehicle ()Lnet/minecraft/class_1297;
2019-10-09 12:44:02 -04:00
METHOD method_5855 setAir (I)V
ARG 1 air
2020-04-22 11:59:47 -04:00
METHOD method_5856 removeClickEvents (Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
2019-06-28 17:55:20 -04:00
ARG 0 textComponent
METHOD method_5857 setBoundingBox (Lnet/minecraft/class_238;)V
ARG 1 boundingBox
METHOD method_5858 squaredDistanceTo (Lnet/minecraft/class_1297;)D
ARG 1 entity
METHOD method_5859 requestTeleport (DDD)V
2019-06-28 18:43:16 -04:00
ARG 1 destX
ARG 3 destY
ARG 5 destZ
2019-06-28 17:55:20 -04:00
METHOD method_5860 canStartRiding (Lnet/minecraft/class_1297;)Z
2019-05-07 07:19:00 -04:00
ARG 1 entity
2020-05-02 08:31:02 -04:00
METHOD method_5861 getFluidHeight (Lnet/minecraft/class_3494;)D
ARG 1 fluid
2019-06-28 17:55:20 -04:00
METHOD method_5862 doesRenderOnFire ()Z
METHOD method_5863 collides ()Z
METHOD method_5864 getType ()Lnet/minecraft/class_1299;
METHOD method_5865 updatePassengerPosition (Lnet/minecraft/class_1297;)V
2019-05-07 07:19:00 -04:00
ARG 1 passenger
2019-09-12 09:28:23 -04:00
METHOD method_5867 calculateNextStepSoundDistance ()F
2020-01-19 13:02:15 -05:00
METHOD method_5869 isSubmergedInWater ()Z
COMMENT Returns whether this entity's hitbox is fully submerged in water.
2019-06-28 17:55:20 -04:00
METHOD method_5870 dropItem (Lnet/minecraft/class_1935;I)Lnet/minecraft/class_1542;
ARG 1 item
ARG 2 yOffset
2019-06-28 18:43:16 -04:00
METHOD method_5871 getTargetingMargin ()F
2019-06-28 17:55:20 -04:00
METHOD method_5872 changeLookDirection (DD)V
ARG 1 cursorDeltaX
ARG 3 cursorDeltaY
METHOD method_5873 startRiding (Lnet/minecraft/class_1297;Z)Z
2020-06-18 15:16:49 -04:00
ARG 1 entity
2019-06-28 18:43:16 -04:00
ARG 2 force
2020-07-01 12:44:38 -04:00
METHOD method_5874 onKilledOther (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
2020-12-31 09:22:27 -05:00
ARG 1 world
ARG 2 other
2019-06-28 17:55:20 -04:00
METHOD method_5875 setNoGravity (Z)V
ARG 1 noGravity
2020-02-26 12:56:39 -05:00
METHOD method_5876 updateWaterState ()Z
2019-06-28 17:55:20 -04:00
METHOD method_5877 getItemsHand ()Ljava/lang/Iterable;
2019-06-28 18:43:16 -04:00
METHOD method_5878 copyFrom (Lnet/minecraft/class_1297;)V
ARG 1 original
2019-06-28 17:55:20 -04:00
METHOD method_5879 animateDamage ()V
METHOD method_5880 setCustomNameVisible (Z)V
ARG 1 visible
2019-11-07 14:37:31 -05:00
METHOD method_5982 checkDespawn ()V
2019-06-28 17:55:20 -04:00
METHOD method_7325 isSpectator ()Z
2019-12-05 18:28:21 -05:00
CLASS class_4738 PositionUpdater
METHOD accept (Lnet/minecraft/class_1297;DDD)V
ARG 1 entity
ARG 2 x
ARG 4 y
ARG 6 z
2020-11-05 04:41:29 -05:00
CLASS class_5529 RemovalReason
FIELD field_26998 KILLED Lnet/minecraft/class_1297$class_5529;
COMMENT The entity is killed.
FIELD field_26999 DISCARDED Lnet/minecraft/class_1297$class_5529;
FIELD field_27000 UNLOADED_TO_CHUNK Lnet/minecraft/class_1297$class_5529;
COMMENT The entity is unloaded to chunk.
COMMENT <p>
COMMENT The entity should be saved.
FIELD field_27001 UNLOADED_WITH_PLAYER Lnet/minecraft/class_1297$class_5529;
FIELD field_27002 CHANGED_DIMENSION Lnet/minecraft/class_1297$class_5529;
COMMENT The entity changed dimension.
FIELD field_27003 destroy Z
FIELD field_27004 save Z
METHOD <init> (Ljava/lang/String;IZZ)V
ARG 3 destroy
ARG 4 save
METHOD method_31486 shouldDestroy ()Z
COMMENT Returns whether the entity should be destroyed or not.
COMMENT <p>
COMMENT If an entity should be destroyed, then the entity should not be re-used and any external data on the entity will be cleared.
METHOD method_31487 shouldSave ()Z
COMMENT Returns whether the entity should be saved or not.
2021-02-17 13:16:34 -05:00
CLASS class_5799 MoveEffect
COMMENT The move effect represents possible effects of an entity moving, such as
COMMENT playing sounds, emitting game events, none, or both.
COMMENT
COMMENT @see Entity#getMoveEffect()
2021-02-04 13:34:24 -05:00
FIELD field_28634 sounds Z
FIELD field_28635 events Z
METHOD <init> (Ljava/lang/String;IZZ)V
ARG 3 sounds
ARG 4 events
2021-02-17 13:16:34 -05:00
METHOD method_33576 hasAny ()Z
COMMENT Returns whether this means an entity may emit game events or play sounds
COMMENT as it moves.
METHOD method_33577 emitsGameEvents ()Z
COMMENT Returns whether this means an entity may emit game events as it moves.
METHOD method_33578 playsSounds ()Z
COMMENT Returns whether this means an entity may play sounds as it moves.