yarn/mappings/net/minecraft/entity/Entity.mapping

850 lines
34 KiB
Plaintext
Raw Normal View History

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;
FIELD field_23807 inanimate Z
FIELD field_25599 submergedFluidTag Lnet/minecraft/class_3494;
FIELD field_25750 trackedPosition Lnet/minecraft/class_243;
FIELD field_26994 prevAge I
FIELD field_26995 removalReason Lnet/minecraft/class_1297$class_5529;
Entity stuff, see #1905 (#1967) * Squash the review stuff Co-authored-by: Henry <obw@generalprogramming.org> Co-authored-by: Thalia Nero <chrisvn00@gmail.com> commit b9e91de684428f0b0350755527052e418dfa84f1 Author: Henry <obw@generalprogramming.org> Date: Fri Jan 1 18:06:37 2021 +0000 Apply some cleanup from code review Also removes some bits not present in 20w51a Co-authored-by: YanisBft <doublecraft.official@gmail.com> commit e9f0cea6e77e28bcdbb49e80ec95d0392107c54d Author: Henry Le Grys <henry@legrys.info> Date: Wed Dec 9 19:40:28 2020 +0000 Add javadocs for MessageListener commit a6fe16a9cd0d18c17938ba56b35cda253ad9c008 Author: Henry Le Grys <henry@legrys.info> Date: Wed Dec 9 18:31:29 2020 +0000 Apply some suggestions to clean up - Restored missing Entity methods - Fixed comment reference - Unmapped generic `flagSet`-named methods commit cbacd58a0ad73f9ebb3e2766f9e7a583003c61f3 Author: Henry Le Grys <henry@legrys.info> Date: Thu Dec 3 18:56:45 2020 +0000 Apply some suggestions & map extra names commit 411b92b91fd863afafd0d2cec2292ad53a275e20 Merge: c5287fed0 c0a046c66 Author: Henry Le Grys <henry@legrys.info> Date: Thu Dec 3 17:55:40 2020 +0000 Merge 20w49a into world-entity commit c5287fed068a748c91c6cd7744b74537c10e6ab6 Author: Thalia Nero <chrisvn00@gmail.com> Date: Wed Nov 11 23:18:02 2020 -0500 listener -> handler commit 490818513eaad0f53adc0e11258dcf57d49f3b5c Merge: d74d922b0 3465a1132 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sun Nov 8 14:53:43 2020 -0500 Merge branch '20w45a' into world-entity commit d74d922b0b01cff8291fe6f1fa4199bad1b51c87 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 15:28:32 2020 -0500 Update mappings from review. commit fbb44ecbb94300be1a1efe1108a12a3591cbea54 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:51:17 2020 -0500 Some docs and mapping of methods called by the entity stuff. commit 095711c00abeb269ca66ee2449bc21e981aaac10 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:28:23 2020 -0500 Some parameters and mappings. commit caea9fed001f8c6c1e965c67120a3d7171ad08e7 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:14:33 2020 -0500 Filter -> TypeFilter commit 9d82f4bcc4b8d0982fc676d51b777077dc5d104d Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 20:19:18 2020 -0500 Map ChunkStatusChangeListener. commit 4699e0991e4a4ad3f12e9db6ce9d39f0d9743cb3 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 20:11:11 2020 -0500 Map more entity loading stuff. commit 8a30358ef29a692045f86ba26dbb75536a5f4783 Merge: 6d0aa8cff ee05e2b40 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 18:10:03 2020 -0500 Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity commit 6d0aa8cff719465ffa3e3049627a4575d6ea4069 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 03:43:11 2020 -0500 Map a lot of entity world interaction shenanigans. Feeling tired might remap later. * Extra classes * tweaks * Revert some refactors * meh, enigma bad * move entitylike to world as it's more s/l related than actual entity * Eliminate the "group" Signed-off-by: liach <liach@users.noreply.github.com> * Bunch renames, should make sense now Signed-off-by: liach <liach@users.noreply.github.com> * Fix javadoc types Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Human-friendly name for synthetic fields in case they appear * rename Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-10 14:35:29 -05:00
FIELD field_26996 entityChangeListener Lnet/minecraft/class_5569;
FIELD field_27857 inPowderSnow Z
FIELD field_27858 FROZEN_TICKS Lnet/minecraft/class_2940;
FIELD field_28628 wasInPowderSnow Z
2019-06-28 17:55:20 -04:00
FIELD field_5951 ridingCooldown I
FIELD field_5952 onGround Z
FIELD field_5953 firstUpdate Z
2019-06-28 17:55:20 -04:00
FIELD field_5955 LOGGER Lorg/apache/logging/log4j/Logger;
FIELD field_5956 fireTicks I
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;
FIELD field_5963 inNetherPortal Z
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
FIELD field_5971 lastRenderY D
FIELD field_5972 netherPortalTime I
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
FIELD field_5978 ENTITY_ID_COUNTER Ljava/util/concurrent/atomic/AtomicInteger;
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
FIELD field_5986 entityId I
FIELD field_5989 lastRenderZ D
2019-06-28 17:55:20 -04:00
FIELD field_5990 FLAGS Lnet/minecraft/class_2940;
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
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
FIELD field_6000 submergedInWater Z
2019-06-28 17:55:20 -04:00
FIELD field_6002 world Lnet/minecraft/class_1937;
FIELD field_6003 nextStepSoundDistance F
2019-06-28 17:55:20 -04:00
FIELD field_6004 prevPitch F
FIELD field_6005 entityBounds Lnet/minecraft/class_238;
2019-06-28 17:55:20 -04:00
FIELD field_6007 velocityDirty Z
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
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
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
FIELD field_6038 lastRenderX D
FIELD field_6039 prevHorizontalSpeed F
METHOD <init> (Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
2018-11-28 15:24:24 -05:00
ARG 1 type
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
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
ARG 3 context
ARG 4 collisions
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_17996 squaredHorizontalLength (Lnet/minecraft/class_243;)D
ARG 0 vector
METHOD method_18002 createSpawnPacket ()Lnet/minecraft/class_2596;
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
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
COMMENT obvious name label rendering, no dismounting while riding, etc.</p>
COMMENT
COMMENT <p>This is used by vanilla for non-player entities to crouch, such as
COMMENT for foxes and cats.</p>
2019-06-28 17:55:20 -04:00
METHOD method_18375 detach ()V
Javadoc for some client, datafixer and other miscellaneous areas. (#1219) * Javadoc for some client, datafixer and misc. * Update ServerPlayNetworkHandler.mapping * Update MinecraftClient.mapping * Update ClientPlayerEntity.mapping * Update PlayerListEntry.mapping * Update TypeReferences.mapping * Update Entity.mapping * Update LivingEntity.mapping * Update NbtHelper.mapping * Update CommandOutput.mapping * Update mappings/net/minecraft/client/MinecraftClient.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/command/CommandOutput.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update PlayerListEntry.mapping * Update ClientPlayPacketListener.mapping * Update ServerPlayPacketListener.mapping * Update ClientPlayPacketListener.mapping * Fix possible build error * try 2 * Update LivingEntity.mapping * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/entity/Entity.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
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
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
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
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
METHOD method_18797 calculatePistonMovementFactor (Lnet/minecraft/class_2350$class_2351;D)D
ARG 1 axis
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
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
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
METHOD method_20620 teleport (DDD)V
ARG 1 destX
ARG 3 destY
ARG 5 destZ
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
ARG 3 world
ARG 4 context
ARG 5 collisions
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
METHOD method_20802 getFireTicks ()I
METHOD method_20803 setFireTicks (I)V
ARG 1 ticks
METHOD method_21749 bypassesSteppingEffects ()Z
METHOD method_21750 bypassesLandingEffects ()Z
METHOD method_21751 isSneaky ()Z
METHOD method_21752 isDescending ()Z
METHOD method_22861 getTeamColorValue ()I
2021-01-20 14:22:41 -05:00
METHOD method_22862 resetPosition ()V
METHOD method_23311 refreshPosition ()V
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;
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
METHOD method_23319 getRandomBodyY ()D
METHOD method_23320 getEyeY ()D
2019-10-10 00:36:35 -04:00
METHOD method_23321 getZ ()D
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
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
METHOD method_24201 updatePassengerPosition (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297$class_4738;)V
ARG 1 passenger
ARG 2 positionUpdater
METHOD method_24203 refreshPositionAfterTeleport (DDD)V
ARG 1 x
ARG 3 y
ARG 5 z
METHOD method_24516 isInRange (Lnet/minecraft/class_1297;D)Z
COMMENT Checks if the distance between this entity and the {@code other} entity is less
COMMENT than {@code radius}.
ARG 1 other
ARG 2 radius
METHOD method_24826 getPassengerDismountOffset (DDF)Lnet/minecraft/class_243;
ARG 0 vehicleWidth
ARG 2 passengerWidth
ARG 4 passengerYaw
METHOD method_24828 isOnGround ()Z
METHOD method_24829 updatePassengerForDismount (Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
ARG 1 passenger
METHOD method_24830 setOnGround (Z)V
ARG 1 onGround
METHOD method_25936 getLandingBlockState ()Lnet/minecraft/class_2680;
METHOD method_27298 shouldSpawnSprintingParticles ()Z
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()
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.
METHOD method_29495 refreshPositionAfterTeleport (Lnet/minecraft/class_243;)V
ARG 1 pos
METHOD method_30076 removeFromDimension ()V
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
METHOD method_30329 getTeleportTarget (Lnet/minecraft/class_3218;)Lnet/minecraft/class_5454;
ARG 1 destination
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
METHOD method_30632 collidesWithStateAtPos (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
ARG 1 pos
ARG 2 state
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
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
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
METHOD method_31471 onSpawnPacket (Lnet/minecraft/class_2604;)V
ARG 1 packet
METHOD method_31472 discard ()V
METHOD method_31473 attemptTickInVoid ()V
COMMENT Calls {@link #tickInVoid()} when the entity is 64 blocks below the world's {@linkplain net.minecraft.world.HeightLimitView#getBottomY() minimum Y position}.
METHOD method_31476 getChunkPos ()Lnet/minecraft/class_1923;
METHOD method_31477 getBlockX ()I
METHOD method_31478 getBlockY ()I
METHOD method_31479 getBlockZ ()I
METHOD method_31480 getPickBlockStack ()Lnet/minecraft/class_1799;
METHOD method_31481 isRemoved ()Z
METHOD method_31482 unsetRemoved ()V
METHOD method_31483 getFirstPassenger ()Lnet/minecraft/class_1297;
Entity stuff, see #1905 (#1967) * Squash the review stuff Co-authored-by: Henry <obw@generalprogramming.org> Co-authored-by: Thalia Nero <chrisvn00@gmail.com> commit b9e91de684428f0b0350755527052e418dfa84f1 Author: Henry <obw@generalprogramming.org> Date: Fri Jan 1 18:06:37 2021 +0000 Apply some cleanup from code review Also removes some bits not present in 20w51a Co-authored-by: YanisBft <doublecraft.official@gmail.com> commit e9f0cea6e77e28bcdbb49e80ec95d0392107c54d Author: Henry Le Grys <henry@legrys.info> Date: Wed Dec 9 19:40:28 2020 +0000 Add javadocs for MessageListener commit a6fe16a9cd0d18c17938ba56b35cda253ad9c008 Author: Henry Le Grys <henry@legrys.info> Date: Wed Dec 9 18:31:29 2020 +0000 Apply some suggestions to clean up - Restored missing Entity methods - Fixed comment reference - Unmapped generic `flagSet`-named methods commit cbacd58a0ad73f9ebb3e2766f9e7a583003c61f3 Author: Henry Le Grys <henry@legrys.info> Date: Thu Dec 3 18:56:45 2020 +0000 Apply some suggestions & map extra names commit 411b92b91fd863afafd0d2cec2292ad53a275e20 Merge: c5287fed0 c0a046c66 Author: Henry Le Grys <henry@legrys.info> Date: Thu Dec 3 17:55:40 2020 +0000 Merge 20w49a into world-entity commit c5287fed068a748c91c6cd7744b74537c10e6ab6 Author: Thalia Nero <chrisvn00@gmail.com> Date: Wed Nov 11 23:18:02 2020 -0500 listener -> handler commit 490818513eaad0f53adc0e11258dcf57d49f3b5c Merge: d74d922b0 3465a1132 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sun Nov 8 14:53:43 2020 -0500 Merge branch '20w45a' into world-entity commit d74d922b0b01cff8291fe6f1fa4199bad1b51c87 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 15:28:32 2020 -0500 Update mappings from review. commit fbb44ecbb94300be1a1efe1108a12a3591cbea54 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:51:17 2020 -0500 Some docs and mapping of methods called by the entity stuff. commit 095711c00abeb269ca66ee2449bc21e981aaac10 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:28:23 2020 -0500 Some parameters and mappings. commit caea9fed001f8c6c1e965c67120a3d7171ad08e7 Author: Thalia Nero <chrisvn00@gmail.com> Date: Sat Nov 7 01:14:33 2020 -0500 Filter -> TypeFilter commit 9d82f4bcc4b8d0982fc676d51b777077dc5d104d Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 20:19:18 2020 -0500 Map ChunkStatusChangeListener. commit 4699e0991e4a4ad3f12e9db6ce9d39f0d9743cb3 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 20:11:11 2020 -0500 Map more entity loading stuff. commit 8a30358ef29a692045f86ba26dbb75536a5f4783 Merge: 6d0aa8cff ee05e2b40 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 18:10:03 2020 -0500 Merge branch '20w45a' of github.com:FabricMC/yarn into world-entity commit 6d0aa8cff719465ffa3e3049627a4575d6ea4069 Author: Thalia Nero <chrisvn00@gmail.com> Date: Fri Nov 6 03:43:11 2020 -0500 Map a lot of entity world interaction shenanigans. Feeling tired might remap later. * Extra classes * tweaks * Revert some refactors * meh, enigma bad * move entitylike to world as it's more s/l related than actual entity * Eliminate the "group" Signed-off-by: liach <liach@users.noreply.github.com> * Bunch renames, should make sense now Signed-off-by: liach <liach@users.noreply.github.com> * Fix javadoc types Co-authored-by: YanisBft <doublecraft.official@gmail.com> * Human-friendly name for synthetic fields in case they appear * rename Co-authored-by: liach <liach@users.noreply.github.com> Co-authored-by: YanisBft <doublecraft.official@gmail.com>
2021-02-10 14:35:29 -05:00
METHOD method_31484 streamIntoPassengers ()Ljava/util/stream/Stream;
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
METHOD method_32318 getCommandItemSlot (I)Lnet/minecraft/class_5630;
COMMENT Obtains an item slot for command modification purpose. Used by commands
COMMENT like {@code /loot} or {@code /replaceitem}.
COMMENT
COMMENT @see net.minecraft.command.argument.ItemSlotArgumentType
ARG 1 mappedIndex
COMMENT the mapped index as given by the item slot argument
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
ARG 1 event
ARG 2 entity
METHOD method_32876 emitGameEvent (Lnet/minecraft/class_5712;)V
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}.
METHOD method_33189 occludeVibrationSignals ()Z
METHOD method_33567 requestTeleportAndDismount (DDD)V
ARG 1 destX
ARG 3 destY
ARG 5 destZ
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
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.
METHOD method_33571 getEyePos ()Lnet/minecraft/class_243;
METHOD method_33572 setOnFire (Z)V
ARG 1 onFire
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)}
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.
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
LivingEntity mappings (#802) * field_6276 -> lastDamageSource field_6226 -> lastDamageTime * getHealthMaximum -> getMaximumHealth * method_6124 -> getPrimeAdversary * addPotionEffect -> addStatusEffect * method_6009 -> onStatusEffectUpgraded method_6020 -> onStatusEffectApplied * clearPotionEffects -> clearStatusEffects * method_6024 -> getLeaningPitch field_6243 -> leaningPitch field_6264 -> lastLeaningPitch * Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position) * method_18802 -> getMovementSpeed field_6281 -> flyingSpeed * method_18801 -> applyClimbingSpeed * method_6093 -> knockDownwards * cannotMove -> isImmobile * method_18396 -> getArmorVisibility * isEquippedStackValid -> hasStackEquipped * setEquippedStack -> equipStack * attributeContainer -> attributes * method_6039 -> isBlocking method_6061 -> canPierceDefense * method_6040 -> consumeItem * method_6076 -> tickActiveItemStack * method_6072 -> updateLeaningPitch * method_6077 -> canEnterTrapdoor * method_16212 -> getBlockStateUnderFeet (suggestions welcome) * method_6095 -> absorbDamage * field_6271 -> knockbackVelocity (or painFactor) * field_6239 -> roll * field_6228 -> jumpingCooldown * field_6254 -> maxHurtTime * method_6129 -> onStatusEffectRemoved * field_6285 -> effectsChanged * spawnPotionParticles -> tickStatusEffects * method_6031 -> turnHead (as hinted by Mojang) field_6283 -> bodyYaw field_6220 -> prevBodyYaw * field_6255 -> lookDirection (result of turnHead) * method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart) * field_6267 -> diagonalSpeed * field_6261 -> pushCooldown method_6035 -> push (As hinted by Mojang) tickPushing -> tickCramming (applies the cramming rule) * field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion) * field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before) * field_6275 -> prevLookDirection * field_6269 -> defaultMaximumHealth (public, final, value is 20) * (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding) field_6233 -> stepBobbingAmount field_6217 -> prevStepBobbingAmount * (unused - set to a random float when constructing) field_6244 -> randomLargeSeed field_6262 -> randomSmallSeed * Stitch did this. I don't know why. * StatusEffect.method_5555 -> onApplied * canPierceDefense -> tryUseShield * absorbDamage -> tryUseTotem * getBlockStateUnderFeet -> getBlockState * diagonalSpeed -> turningSpeed * Mapped several parameters * removeStatusEffect -> tryRemoveStatusEffect removePotionEffect -> removeStatusEffect * isPotionEffective -> canHaveStatusEffect * More parameters * tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
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
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;
METHOD method_5636 setYaw (F)V
ARG 1 yaw
METHOD method_5637 isWet ()Z
COMMENT Returns whether this entity is touching water, or is being rained on, or is inside a bubble column...
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
METHOD method_5640 shouldRender (D)Z
2019-06-28 17:55:20 -04:00
ARG 1 distance
METHOD method_5641 updatePositionAndAngles (DDDFF)V
2018-11-04 07:22:38 -05:00
ARG 1 x
ARG 3 y
ARG 5 z
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
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
METHOD method_5647 writeNbt (Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
2019-06-28 17:55:20 -04:00
ARG 1 tag
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
ARG 1 reason
METHOD method_5651 readNbt (Lnet/minecraft/class_2487;)V
2019-06-28 17:55:20 -04:00
ARG 1 tag
METHOD method_5652 writeCustomDataToNbt (Lnet/minecraft/class_2487;)V
2019-06-28 17:55:20 -04:00
ARG 1 tag
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;
METHOD method_5662 saveToTag (Lnet/minecraft/class_2487;)Z
ARG 1 tag
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
ARG 3 hand
2019-06-28 17:55:20 -04:00
METHOD method_5665 setCustomName (Lnet/minecraft/class_2561;)V
ARG 1 name
METHOD method_5668 getRootVehicle ()Lnet/minecraft/class_1297;
Javadoc for some client, datafixer and other miscellaneous areas. (#1219) * Javadoc for some client, datafixer and misc. * Update ServerPlayNetworkHandler.mapping * Update MinecraftClient.mapping * Update ClientPlayerEntity.mapping * Update PlayerListEntry.mapping * Update TypeReferences.mapping * Update Entity.mapping * Update LivingEntity.mapping * Update NbtHelper.mapping * Update CommandOutput.mapping * Update mappings/net/minecraft/client/MinecraftClient.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/command/CommandOutput.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update PlayerListEntry.mapping * Update ClientPlayPacketListener.mapping * Update ServerPlayPacketListener.mapping * Update ClientPlayPacketListener.mapping * Fix possible build error * try 2 * Update LivingEntity.mapping * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/entity/Entity.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 19:14:55 -04:00
COMMENT Gets the lowest entity this entity is riding.
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;
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;
LivingEntity mappings (#802) * field_6276 -> lastDamageSource field_6226 -> lastDamageTime * getHealthMaximum -> getMaximumHealth * method_6124 -> getPrimeAdversary * addPotionEffect -> addStatusEffect * method_6009 -> onStatusEffectUpgraded method_6020 -> onStatusEffectApplied * clearPotionEffects -> clearStatusEffects * method_6024 -> getLeaningPitch field_6243 -> leaningPitch field_6264 -> lastLeaningPitch * Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position) * method_18802 -> getMovementSpeed field_6281 -> flyingSpeed * method_18801 -> applyClimbingSpeed * method_6093 -> knockDownwards * cannotMove -> isImmobile * method_18396 -> getArmorVisibility * isEquippedStackValid -> hasStackEquipped * setEquippedStack -> equipStack * attributeContainer -> attributes * method_6039 -> isBlocking method_6061 -> canPierceDefense * method_6040 -> consumeItem * method_6076 -> tickActiveItemStack * method_6072 -> updateLeaningPitch * method_6077 -> canEnterTrapdoor * method_16212 -> getBlockStateUnderFeet (suggestions welcome) * method_6095 -> absorbDamage * field_6271 -> knockbackVelocity (or painFactor) * field_6239 -> roll * field_6228 -> jumpingCooldown * field_6254 -> maxHurtTime * method_6129 -> onStatusEffectRemoved * field_6285 -> effectsChanged * spawnPotionParticles -> tickStatusEffects * method_6031 -> turnHead (as hinted by Mojang) field_6283 -> bodyYaw field_6220 -> prevBodyYaw * field_6255 -> lookDirection (result of turnHead) * method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart) * field_6267 -> diagonalSpeed * field_6261 -> pushCooldown method_6035 -> push (As hinted by Mojang) tickPushing -> tickCramming (applies the cramming rule) * field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion) * field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before) * field_6275 -> prevLookDirection * field_6269 -> defaultMaximumHealth (public, final, value is 20) * (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding) field_6233 -> stepBobbingAmount field_6217 -> prevStepBobbingAmount * (unused - set to a random float when constructing) field_6244 -> randomLargeSeed field_6262 -> randomSmallSeed * Stitch did this. I don't know why. * StatusEffect.method_5555 -> onApplied * canPierceDefense -> tryUseShield * absorbDamage -> tryUseTotem * getBlockStateUnderFeet -> getBlockState * diagonalSpeed -> turningSpeed * Mapped several parameters * removeStatusEffect -> tryRemoveStatusEffect removePotionEffect -> removeStatusEffect * isPotionEffective -> canHaveStatusEffect * More parameters * tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
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
METHOD method_5675 isPushedByFluids ()Z
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;
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;
METHOD method_5687 hasPermissionLevel (I)Z
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;
Javadoc for some client, datafixer and other miscellaneous areas. (#1219) * Javadoc for some client, datafixer and misc. * Update ServerPlayNetworkHandler.mapping * Update MinecraftClient.mapping * Update ClientPlayerEntity.mapping * Update PlayerListEntry.mapping * Update TypeReferences.mapping * Update Entity.mapping * Update LivingEntity.mapping * Update NbtHelper.mapping * Update CommandOutput.mapping * Update mappings/net/minecraft/client/MinecraftClient.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/command/CommandOutput.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update PlayerListEntry.mapping * Update ClientPlayPacketListener.mapping * Update ServerPlayPacketListener.mapping * Update ClientPlayPacketListener.mapping * Fix possible build error * try 2 * Update LivingEntity.mapping * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/entity/Entity.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
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
Javadoc for some client, datafixer and other miscellaneous areas. (#1219) * Javadoc for some client, datafixer and misc. * Update ServerPlayNetworkHandler.mapping * Update MinecraftClient.mapping * Update ClientPlayerEntity.mapping * Update PlayerListEntry.mapping * Update TypeReferences.mapping * Update Entity.mapping * Update LivingEntity.mapping * Update NbtHelper.mapping * Update CommandOutput.mapping * Update mappings/net/minecraft/client/MinecraftClient.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/command/CommandOutput.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update PlayerListEntry.mapping * Update ClientPlayPacketListener.mapping * Update ServerPlayPacketListener.mapping * Update ClientPlayPacketListener.mapping * Fix possible build error * try 2 * Update LivingEntity.mapping * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/entity/Entity.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 19:14:55 -04:00
COMMENT the player
2019-06-28 17:55:20 -04:00
ARG 2 hand
Javadoc for some client, datafixer and other miscellaneous areas. (#1219) * Javadoc for some client, datafixer and misc. * Update ServerPlayNetworkHandler.mapping * Update MinecraftClient.mapping * Update ClientPlayerEntity.mapping * Update PlayerListEntry.mapping * Update TypeReferences.mapping * Update Entity.mapping * Update LivingEntity.mapping * Update NbtHelper.mapping * Update CommandOutput.mapping * Update mappings/net/minecraft/client/MinecraftClient.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/command/CommandOutput.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update PlayerListEntry.mapping * Update ClientPlayPacketListener.mapping * Update ServerPlayPacketListener.mapping * Update ClientPlayPacketListener.mapping * Fix possible build error * try 2 * Update LivingEntity.mapping * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/entity/Entity.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
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
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
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
LivingEntity mappings (#802) * field_6276 -> lastDamageSource field_6226 -> lastDamageTime * getHealthMaximum -> getMaximumHealth * method_6124 -> getPrimeAdversary * addPotionEffect -> addStatusEffect * method_6009 -> onStatusEffectUpgraded method_6020 -> onStatusEffectApplied * clearPotionEffects -> clearStatusEffects * method_6024 -> getLeaningPitch field_6243 -> leaningPitch field_6264 -> lastLeaningPitch * Mapped all the tracking fields. (These are sent by the server and incrementally applied on the client to rubber-band entities into position) * method_18802 -> getMovementSpeed field_6281 -> flyingSpeed * method_18801 -> applyClimbingSpeed * method_6093 -> knockDownwards * cannotMove -> isImmobile * method_18396 -> getArmorVisibility * isEquippedStackValid -> hasStackEquipped * setEquippedStack -> equipStack * attributeContainer -> attributes * method_6039 -> isBlocking method_6061 -> canPierceDefense * method_6040 -> consumeItem * method_6076 -> tickActiveItemStack * method_6072 -> updateLeaningPitch * method_6077 -> canEnterTrapdoor * method_16212 -> getBlockStateUnderFeet (suggestions welcome) * method_6095 -> absorbDamage * field_6271 -> knockbackVelocity (or painFactor) * field_6239 -> roll * field_6228 -> jumpingCooldown * field_6254 -> maxHurtTime * method_6129 -> onStatusEffectRemoved * field_6285 -> effectsChanged * spawnPotionParticles -> tickStatusEffects * method_6031 -> turnHead (as hinted by Mojang) field_6283 -> bodyYaw field_6220 -> prevBodyYaw * field_6255 -> lookDirection (result of turnHead) * method_6038 -> onDismounted (checks collisions and pushes the entity and boat apart) * field_6267 -> diagonalSpeed * field_6261 -> pushCooldown method_6035 -> push (As hinted by Mojang) tickPushing -> tickCramming (applies the cramming rule) * field_6232 -> scoreAmount (appears unused. Value increments a score on the player when this entity is killed - see ServerPlayerEntity.updateKilledAdvancementCriterion) * field_6253 -> lastDamageTaken (Damage amount is stored and applyDamage is called with the difference only if the new damage is higher than it was before) * field_6275 -> prevLookDirection * field_6269 -> defaultMaximumHealth (public, final, value is 20) * (unused - interpolated between 0 and 0.3 when the entity is on the ground, and always 0 when riding) field_6233 -> stepBobbingAmount field_6217 -> prevStepBobbingAmount * (unused - set to a random float when constructing) field_6244 -> randomLargeSeed field_6262 -> randomSmallSeed * Stitch did this. I don't know why. * StatusEffect.method_5555 -> onApplied * canPierceDefense -> tryUseShield * absorbDamage -> tryUseTotem * getBlockStateUnderFeet -> getBlockState * diagonalSpeed -> turningSpeed * Mapped several parameters * removeStatusEffect -> tryRemoveStatusEffect removePotionEffect -> removeStatusEffect * isPotionEffective -> canHaveStatusEffect * More parameters * tryUseShield -> blockedByShield (because "hitsShield" reads like manglish)
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
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
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
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;
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
METHOD method_5723 dealDamage (Lnet/minecraft/class_1309;Lnet/minecraft/class_1297;)V
ARG 1 attacker
ARG 2 target
METHOD method_5724 updateVelocity (FLnet/minecraft/class_243;)V
ARG 1 speed
2019-06-28 17:55:20 -04:00
ARG 2 movementInput
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
2019-06-28 17:55:20 -04:00
METHOD method_5726 toListTag ([F)Lnet/minecraft/class_2499;
ARG 1 values
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
ARG 2 value
2019-06-28 17:55:20 -04:00
METHOD method_5730 setOnFireFromLava ()V
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
ARG 1 destination
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
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
METHOD method_5741 getMaxNetherPortalTime ()I
2019-06-28 17:55:20 -04:00
METHOD method_5742 onStoppedTrackingBy (Lnet/minecraft/class_3222;)V
ARG 1 player
2019-06-28 17:55:20 -04:00
METHOD method_5743 getItemsEquipped ()Ljava/lang/Iterable;
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
ARG 3 damageSource
METHOD method_5748 getMaxAir ()I
METHOD method_5749 readCustomDataFromNbt (Lnet/minecraft/class_2487;)V
2019-04-16 10:16:45 -04:00
ARG 1 tag
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;
METHOD method_5756 isInvisibleTo (Lnet/minecraft/class_1657;)Z
ARG 1 player
2019-06-28 17:55:20 -04:00
METHOD method_5757 isInsideWall ()Z
METHOD method_5759 updateTrackedPositionAndAngles (DDDFFIZ)V
2018-11-04 07:22:38 -05:00
ARG 1 x
ARG 3 y
ARG 5 z
2019-06-28 17:55:20 -04:00
ARG 7 yaw
ARG 8 pitch
ARG 9 interpolationSteps
ARG 10 interpolate
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
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
METHOD method_5776 hasWings ()Z
METHOD method_5777 isSubmergedIn (Lnet/minecraft/class_3494;)Z
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
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
ARG 1 movementType
ARG 2 movement
2019-06-28 17:55:20 -04:00
METHOD method_5785 scheduleVelocityUpdate ()V
METHOD method_5786 saveSelfToTag (Lnet/minecraft/class_2487;)Z
ARG 1 tag
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
ARG 1 passenger
2019-06-28 17:55:20 -04:00
METHOD method_5794 isConnectedThroughVehicle (Lnet/minecraft/class_1297;)Z
Javadoc for some client, datafixer and other miscellaneous areas. (#1219) * Javadoc for some client, datafixer and misc. * Update ServerPlayNetworkHandler.mapping * Update MinecraftClient.mapping * Update ClientPlayerEntity.mapping * Update PlayerListEntry.mapping * Update TypeReferences.mapping * Update Entity.mapping * Update LivingEntity.mapping * Update NbtHelper.mapping * Update CommandOutput.mapping * Update mappings/net/minecraft/client/MinecraftClient.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/command/CommandOutput.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update PlayerListEntry.mapping * Update ClientPlayPacketListener.mapping * Update ServerPlayPacketListener.mapping * Update ClientPlayPacketListener.mapping * Fix possible build error * try 2 * Update LivingEntity.mapping * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/entity/Entity.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
2020-03-25 19:14:55 -04:00
COMMENT Checks if this entity and another entity share the same root vehicle.
ARG 1 entity
Javadoc for some client, datafixer and other miscellaneous areas. (#1219) * Javadoc for some client, datafixer and misc. * Update ServerPlayNetworkHandler.mapping * Update MinecraftClient.mapping * Update ClientPlayerEntity.mapping * Update PlayerListEntry.mapping * Update TypeReferences.mapping * Update Entity.mapping * Update LivingEntity.mapping * Update NbtHelper.mapping * Update CommandOutput.mapping * Update mappings/net/minecraft/client/MinecraftClient.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/TestClassArgumentType.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/server/command/CommandOutput.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/command/arguments/ArgumentTypes.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: liach <7806504+liach@users.noreply.github.com> * Update PlayerListEntry.mapping * Update ClientPlayPacketListener.mapping * Update ServerPlayPacketListener.mapping * Update ClientPlayPacketListener.mapping * Fix possible build error * try 2 * Update LivingEntity.mapping * Update mappings/net/minecraft/datafixer/TypeReferences.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/entity/Entity.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> * Update mappings/net/minecraft/nbt/NbtHelper.mapping Co-Authored-By: Yanis48 <doublecraft.official@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com> Co-authored-by: Yanis48 <doublecraft.official@gmail.com>
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
ARG 1 swimming
2019-06-28 17:55:20 -04:00
METHOD method_5798 isInsideBubbleColumn ()Z
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
ARG 1 world
ARG 2 lightning
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
METHOD method_5806 getDefaultNetherPortalCooldown ()I
2019-06-28 17:55:20 -04:00
METHOD method_5807 isCustomNameVisible ()Z
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
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
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
METHOD method_5825 tickInVoid ()V
COMMENT Called when the entity is 64 blocks below the world's {@linkplain net.minecraft.world.HeightLimitView#getBottomY() minimum Y position}.
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;
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
METHOD method_5838 setEntityId (I)V
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
ARG 2 multiplier
2019-06-28 17:55:20 -04:00
METHOD method_5845 getUuidAsString ()Ljava/lang/String;
METHOD method_5846 toListTag ([D)Lnet/minecraft/class_2499;
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;
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
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
ARG 1 entity
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
ARG 1 passenger
METHOD method_5867 calculateNextStepSoundDistance ()F
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
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
ARG 1 entity
ARG 2 force
2020-07-01 12:44:38 -04:00
METHOD method_5874 onKilledOther (Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)V
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;
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
CLASS class_4738 PositionUpdater
METHOD accept (Lnet/minecraft/class_1297;DDD)V
ARG 1 entity
ARG 2 x
ARG 4 y
ARG 6 z
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.
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()
FIELD field_28634 sounds Z
FIELD field_28635 events Z
METHOD <init> (Ljava/lang/String;IZZ)V
ARG 3 sounds
ARG 4 events
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.