mirror of https://github.com/FabricMC/yarn.git
Cape and Elytra mappings for PlayerEntity (#1138)
* Cape and Elytra mappings for PlayerEntity * Apply suggestions from code review Co-Authored-By: Pyrofab <redstoneinfire@gmail.com> * spreadItems -> throwRandomly * vx/y/z -> dx/y/z * Remove invalid mappings Co-authored-by: Pyrofab <redstoneinfire@gmail.com>
This commit is contained in:
parent
ab47a6c0bc
commit
372e9fa3b2
|
@ -1,5 +1,3 @@
|
|||
CLASS net/minecraft/class_2490 net/minecraft/block/SlimeBlock
|
||||
METHOD <init> (Lnet/minecraft/class_2248$class_2251;)V
|
||||
ARG 1 settings
|
||||
METHOD method_21847 bounce (Lnet/minecraft/class_1297;)V
|
||||
ARG 1 entity
|
||||
|
|
|
@ -120,6 +120,7 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
METHOD method_18807 getDrinkSound (Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
|
||||
ARG 1 stack
|
||||
METHOD method_18808 getArrowType (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
|
||||
ARG 1 stack
|
||||
METHOD method_18865 applyFoodEffects (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)V
|
||||
ARG 1 stack
|
||||
ARG 2 world
|
||||
|
@ -159,6 +160,7 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
METHOD method_23883 dropXp ()V
|
||||
METHOD method_24518 isHolding (Lnet/minecraft/class_1792;)Z
|
||||
METHOD method_24520 isHolding (Ljava/util/function/Predicate;)Z
|
||||
METHOD method_24831 getPoses ()Lcom/google/common/collect/ImmutableList;
|
||||
METHOD method_5973 canTarget (Lnet/minecraft/class_1299;)Z
|
||||
ARG 1 type
|
||||
METHOD method_5989 getLootTable ()Lnet/minecraft/class_2960;
|
||||
|
@ -339,6 +341,8 @@ CLASS net/minecraft/class_1309 net/minecraft/entity/LivingEntity
|
|||
METHOD method_6104 swingHand (Lnet/minecraft/class_1268;)V
|
||||
ARG 1 hand
|
||||
METHOD method_6105 damageArmor (Lnet/minecraft/class_1282;F)V
|
||||
ARG 1 source
|
||||
ARG 2 amount
|
||||
METHOD method_6106 getJumpVelocity ()F
|
||||
METHOD method_6107 getSoundVolume ()F
|
||||
METHOD method_6108 updatePostDeath ()V
|
||||
|
|
|
@ -1,10 +1,13 @@
|
|||
CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
||||
FIELD field_18134 POSE_DIMENSIONS Ljava/util/Map;
|
||||
FIELD field_18135 STANDING_DIMENSIONS Lnet/minecraft/class_4048;
|
||||
FIELD field_19428 shoulderEntityAddedTime J
|
||||
FIELD field_7483 strideDistance F
|
||||
FIELD field_7484 itemCooldownManager Lnet/minecraft/class_1796;
|
||||
FIELD field_7486 enderChestInventory Lnet/minecraft/class_1730;
|
||||
FIELD field_7487 sleepTimer I
|
||||
FIELD field_7488 MAIN_ARM Lnet/minecraft/class_2940;
|
||||
FIELD field_7489 abilityResyncCountdown I
|
||||
FIELD field_7490 isSubmergedInWater Z
|
||||
FIELD field_7491 ABSORPTION_AMOUNT Lnet/minecraft/class_2940;
|
||||
FIELD field_7493 hungerManager Lnet/minecraft/class_1702;
|
||||
|
@ -12,9 +15,13 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
FIELD field_7495 totalExperience I
|
||||
FIELD field_7496 LEFT_SHOULDER_ENTITY Lnet/minecraft/class_2940;
|
||||
FIELD field_7498 playerContainer Lnet/minecraft/class_1723;
|
||||
FIELD field_7499 capeZ D
|
||||
FIELD field_7500 capeX D
|
||||
FIELD field_7501 spawnPosition Lnet/minecraft/class_2338;
|
||||
FIELD field_7502 prevCapeY D
|
||||
FIELD field_7503 abilities Lnet/minecraft/class_1656;
|
||||
FIELD field_7504 experiencePickUpDelay I
|
||||
FIELD field_7505 prevStrideDistance F
|
||||
FIELD field_7506 RIGHT_SHOULDER_ENTITY Lnet/minecraft/class_2940;
|
||||
FIELD field_7507 gameProfile Lcom/mojang/authlib/GameProfile;
|
||||
FIELD field_7508 lastPlayedLevelUpSoundTime I
|
||||
|
@ -26,7 +33,10 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
FIELD field_7515 spawnForced Z
|
||||
FIELD field_7518 PLAYER_MODEL_PARTS Lnet/minecraft/class_2940;
|
||||
FIELD field_7520 experienceLevel I
|
||||
FIELD field_7521 capeY D
|
||||
FIELD field_7522 prevCapeZ D
|
||||
FIELD field_7523 reducedDebugInfo Z
|
||||
FIELD field_7524 prevCapeX D
|
||||
FIELD field_7525 selectedItem Lnet/minecraft/class_1799;
|
||||
METHOD <init> (Lnet/minecraft/class_1937;Lcom/mojang/authlib/GameProfile;)V
|
||||
ARG 1 world
|
||||
|
@ -54,6 +64,9 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_21823 shouldCancelInteraction ()Z
|
||||
METHOD method_21824 shouldDismount ()Z
|
||||
METHOD method_21825 clipAtLedge ()Z
|
||||
METHOD method_23668 checkFallFlying ()Z
|
||||
METHOD method_23669 startFallFlying ()V
|
||||
METHOD method_23670 stopFallFlying ()V
|
||||
METHOD method_7254 unlockRecipes (Ljava/util/Collection;)I
|
||||
ARG 1 recipes
|
||||
METHOD method_7255 addExperience (I)V
|
||||
|
@ -64,9 +77,14 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_7258 isSpawnForced ()Z
|
||||
METHOD method_7259 incrementStat (Lnet/minecraft/class_3445;)V
|
||||
ARG 1 stat
|
||||
METHOD method_7260 increaseRidingMotionStats (DDD)V
|
||||
ARG 1 dx
|
||||
ARG 3 dy
|
||||
ARG 5 dz
|
||||
METHOD method_7261 getAttackCooldownProgress (F)F
|
||||
ARG 1 baseTime
|
||||
METHOD method_7262 dropShoulderEntities ()V
|
||||
METHOD method_7263 spawnSweepAttackParticles ()V
|
||||
METHOD method_7264 isWithinSleepingRange (Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
|
||||
ARG 1 sleepPos
|
||||
ARG 2 direction
|
||||
|
@ -95,6 +113,10 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_7280 getSpawnPosition ()Lnet/minecraft/class_2338;
|
||||
METHOD method_7281 incrementStat (Lnet/minecraft/class_2960;)V
|
||||
ARG 1 stat
|
||||
METHOD method_7282 increaseTravelMotionStats (DDD)V
|
||||
ARG 1 dx
|
||||
ARG 3 dy
|
||||
ARG 5 dz
|
||||
METHOD method_7283 setMainArm (Lnet/minecraft/class_1306;)V
|
||||
ARG 1 arm
|
||||
METHOD method_7284 disableShield (Z)V
|
||||
|
@ -112,6 +134,9 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
ARG 1 spawnPos
|
||||
ARG 2 allowNonBed
|
||||
METHOD method_7289 setPlayerSpawn (Lnet/minecraft/class_2338;ZZ)V
|
||||
ARG 1 pos
|
||||
ARG 2 forced
|
||||
ARG 3 announceChange
|
||||
METHOD method_7290 dropSelectedItem (Z)Z
|
||||
ARG 1 dropEntireStack
|
||||
METHOD method_7291 openHorseInventory (Lnet/minecraft/class_1496;Lnet/minecraft/class_1263;)V
|
||||
|
@ -119,6 +144,8 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_7293 vanishCursedItems ()V
|
||||
METHOD method_7294 canModifyWorld ()Z
|
||||
METHOD method_7295 updateWaterSubmersionState ()Z
|
||||
METHOD method_7296 dropShoulderEntity (Lnet/minecraft/class_2487;)V
|
||||
ARG 1 entityNbt
|
||||
METHOD method_7297 getSleepTimer ()I
|
||||
METHOD method_7298 addShoulderEntity (Lnet/minecraft/class_2487;)Z
|
||||
ARG 1 tag
|
||||
|
@ -135,6 +162,7 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_7310 getOfflinePlayerUuid (Ljava/lang/String;)Ljava/util/UUID;
|
||||
ARG 0 nickname
|
||||
METHOD method_7311 openEditSignScreen (Lnet/minecraft/class_2625;)V
|
||||
METHOD method_7313 updateCapeAngles ()V
|
||||
METHOD method_7315 openEditBookScreen (Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)V
|
||||
ARG 1 book
|
||||
ARG 2 hand
|
||||
|
@ -154,8 +182,12 @@ CLASS net/minecraft/class_1657 net/minecraft/entity/player/PlayerEntity
|
|||
METHOD method_7327 getScoreboard ()Lnet/minecraft/class_269;
|
||||
METHOD method_7328 dropItem (Lnet/minecraft/class_1799;Z)Lnet/minecraft/class_1542;
|
||||
ARG 1 stack
|
||||
ARG 2 retainOwnership
|
||||
METHOD method_7329 dropItem (Lnet/minecraft/class_1799;ZZ)Lnet/minecraft/class_1542;
|
||||
ARG 1 stack
|
||||
ARG 2 throwRandomly
|
||||
COMMENT If true, the item will be thrown in a random direction from the entity regardless of which direction the tntity is facing
|
||||
ARG 3 retainOwnership
|
||||
METHOD method_7330 updateTurtleHelmet ()V
|
||||
METHOD method_7331 requestRespawn ()V
|
||||
METHOD method_7332 canConsume (Z)Z
|
||||
|
|
|
@ -146,6 +146,3 @@ CLASS net/minecraft/class_3898 net/minecraft/server/world/ThreadedAnvilChunkStor
|
|||
METHOD <init> (Lnet/minecraft/class_3898;Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)V
|
||||
ARG 1 workerExecutor
|
||||
ARG 2 mainThreadExecutor
|
||||
METHOD <init> (Ljava/util/concurrent/Executor;Ljava/util/concurrent/Executor;)V
|
||||
ARG 1 workerExecutor
|
||||
ARG 2 mainThreadExecutor
|
||||
|
|
Loading…
Reference in New Issue