Skip to content

Commit

Permalink
complete entity, particle, and sound
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Apr 14, 2024
1 parent 7e5b99d commit 2a73227
Show file tree
Hide file tree
Showing 19 changed files with 74 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/Entity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,8 @@ CLASS net/minecraft/unmapped/C_astfners net/minecraft/entity/Entity
ARG 1 x
ARG 3 y
ARG 5 z
METHOD m_pjfzcdiu getPassengerClosestTo (Lnet/minecraft/unmapped/C_vgpupfxx;)Ljava/util/Optional;
ARG 1 pos
METHOD m_plmkvbcv streamIntoPassengers ()Ljava/util/stream/Stream;
METHOD m_pnapxqoc updatePassengerPosition (Lnet/minecraft/unmapped/C_astfners;)V
ARG 1 passenger
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/entity/EntityAttachments.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ CLASS net/minecraft/unmapped/C_pubtmkke net/minecraft/entity/EntityAttachments
ARG 2 yScale
ARG 3 zScale
METHOD m_mhnyqnyc getPoint (Lnet/minecraft/unmapped/C_biqpbxns;IF)Lnet/minecraft/unmapped/C_vgpupfxx;
ARG 1 attachmentType
METHOD m_rfotkcao getPointNullable (Lnet/minecraft/unmapped/C_biqpbxns;IF)Lnet/minecraft/unmapped/C_vgpupfxx;
ARG 1 type
ARG 2 index
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/EquipmentSlotGroup.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ CLASS net/minecraft/unmapped/C_qfoqahef net/minecraft/entity/EquipmentSlotGroup
ARG 0 slot
METHOD m_toxnrdqq matches (Lnet/minecraft/unmapped/C_yuycoehb;)Z
ARG 1 slot
METHOD m_tvkclilo get (Lnet/minecraft/unmapped/C_yuycoehb;)Lnet/minecraft/unmapped/C_qfoqahef;
ARG 0 slot
METHOD m_uqnkvvet (Lnet/minecraft/unmapped/C_yuycoehb;Lnet/minecraft/unmapped/C_yuycoehb;)Z
ARG 1 checkedSlot
METHOD m_zegoqtrl (Lnet/minecraft/unmapped/C_qfoqahef;)I
Expand Down
7 changes: 7 additions & 0 deletions mappings/net/minecraft/entity/EquipmentTable.mapping
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CLASS net/minecraft/unmapped/C_fiwnwrrf net/minecraft/entity/EquipmentTable
FIELD f_dkmtcuiu CODEC Lcom/mojang/serialization/Codec;
FIELD f_nrtowqnp DROP_CHANCES_CODEC Lcom/mojang/serialization/Codec;
METHOD m_eoydeadh createSlotDropChances (F)Ljava/util/Map;
METHOD m_nyvzjlnn createSlotDropChances (Ljava/util/List;F)Ljava/util/Map;
ARG 0 slots
ARG 1 dropChance
6 changes: 6 additions & 0 deletions mappings/net/minecraft/entity/EquipmentUser.mapping
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
CLASS net/minecraft/unmapped/C_fxfvcivl net/minecraft/entity/EquipmentUser
METHOD m_esnoggyp resolveSlot (Lnet/minecraft/unmapped/C_sddaxwyk;Ljava/util/List;)Lnet/minecraft/unmapped/C_yuycoehb;
ARG 2 filledSlots
METHOD m_jcbansoq equip (Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_nzsnkdtl;JLjava/util/Map;)V
ARG 5 dropChances
METHOD m_mxaydhis equip (Lnet/minecraft/unmapped/C_xhhleach;Lnet/minecraft/unmapped/C_nzsnkdtl;Ljava/util/Map;)V
ARG 3 dropChances
METHOD m_mywpdhns setDropChance (Lnet/minecraft/unmapped/C_yuycoehb;F)V
ARG 1 slot
ARG 2 chance
METHOD m_udqbhpxg equipStack (Lnet/minecraft/unmapped/C_yuycoehb;Lnet/minecraft/unmapped/C_sddaxwyk;)V
ARG 1 slot
METHOD m_ybivtegh equip (Lnet/minecraft/unmapped/C_fiwnwrrf;Lnet/minecraft/unmapped/C_nzsnkdtl;)V
ARG 1 equipmentTable
METHOD m_zwvabaox getEquippedStack (Lnet/minecraft/unmapped/C_yuycoehb;)Lnet/minecraft/unmapped/C_sddaxwyk;
ARG 1 slot
14 changes: 14 additions & 0 deletions mappings/net/minecraft/entity/OminousItemSpawnerEntity.mapping
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
CLASS net/minecraft/unmapped/C_czxrapyw net/minecraft/entity/OminousItemSpawnerEntity
FIELD f_acgarpsz TICKS_BEFORE_SOUND I
FIELD f_aidjyzuo SPAWN_ITEM_AFTER_TICKS_KEY Ljava/lang/String;
FIELD f_fpgygaic spawnItemAfterTicks J
FIELD f_fqqnpxrv ITEM Lnet/minecraft/unmapped/C_rinmcaxy;
FIELD f_hwkvzweu MIN_ITEM_SPAWN_DELAY I
FIELD f_iqwiqvcx ITEM_KEY Ljava/lang/String;
FIELD f_nbbuvcry MAX_ITEM_SPAWN_DELAY I
METHOD m_apattskp getItem ()Lnet/minecraft/unmapped/C_sddaxwyk;
METHOD m_fschfwkq spawnItem ()V
METHOD m_hbpvxart create (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_sddaxwyk;)Lnet/minecraft/unmapped/C_czxrapyw;
METHOD m_orrtvmdq addParticles ()V
METHOD m_qfxtwbzg tickServer ()V
METHOD m_uggltryb tickClient ()V
METHOD m_xgqbzeee setItem (Lnet/minecraft/unmapped/C_sddaxwyk;)V
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
CLASS net/minecraft/unmapped/C_oqpueoay net/minecraft/entity/effect/InfestedStatusEffect
METHOD m_qnqnjewe (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_usxaxydn;DDD)V
FIELD f_ivvbwqfr spawnedCountFunction Ljava/util/function/ToIntFunction;
FIELD f_wjzspyfs chanceToSpawn F
METHOD m_qnqnjewe spawnSilverfish (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_usxaxydn;DDD)V
ARG 2 entity
ARG 3 x
ARG 5 y
ARG 7 z
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CLASS net/minecraft/unmapped/C_koniavnx net/minecraft/entity/effect/OozingStatusEffect
FIELD f_cyoohyey RADIUS_TO_CHECK_FOR_SLIMES I
FIELD f_drmymdqm slimeSpawnCountFunction Ljava/util/function/ToIntFunction;
FIELD f_xiaeazlk SLIME_SIZE I
METHOD m_shkrczuy spawnSlimes (Lnet/minecraft/unmapped/C_cdctfzbn;DDD)V
ARG 2 x
ARG 4 y
ARG 6 z
METHOD m_veysajwx getSpawnedSlimeCount (III)I
ARG 0 maxEntityCramming
ARG 1 nearbySlimeCount
ARG 2 potentialSlimes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
CLASS net/minecraft/unmapped/C_zyqpnbsg net/minecraft/entity/effect/WeavingStatusEffect
FIELD f_qhzcaglh cobwebChanceFunction Ljava/util/function/ToIntFunction;
METHOD m_ordwiosb spawnCobwebs (Lnet/minecraft/unmapped/C_cdctfzbn;Lnet/minecraft/unmapped/C_rlomrsco;Lnet/minecraft/unmapped/C_hynzadkk;)V
5 changes: 5 additions & 0 deletions mappings/net/minecraft/entity/mob/MobEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,14 @@ CLASS net/minecraft/unmapped/C_dxkfswlz net/minecraft/entity/mob/MobEntity
METHOD m_rpistqzo isWearingBodyArmor ()Z
METHOD m_ruuttiyq isPersistent ()Z
METHOD m_rvknxdfs isBodyArmorItem (Lnet/minecraft/unmapped/C_sddaxwyk;)Z
METHOD m_rxurkduy getAttackTarget ()Lnet/minecraft/unmapped/C_usxaxydn;
METHOD m_saekgdkn stopMoving ()V
METHOD m_swfiqufm prefersNewEquipment (Lnet/minecraft/unmapped/C_sddaxwyk;Lnet/minecraft/unmapped/C_sddaxwyk;)Z
ARG 1 newStack
ARG 2 oldStack
METHOD m_szhnkfyu canWearBodyArmor ()Z
METHOD m_szmqgzqm equip (Lnet/minecraft/unmapped/C_fiwnwrrf;)V
ARG 1 equipmentTable
METHOD m_tjejbxzp canUseRangedWeapon (Lnet/minecraft/unmapped/C_axrfhndl;)Z
ARG 1 weapon
METHOD m_todoiyds clearGoalsAndTasks (Ljava/util/function/Predicate;)V
Expand All @@ -189,6 +192,8 @@ CLASS net/minecraft/unmapped/C_dxkfswlz net/minecraft/entity/mob/MobEntity
ARG 2 penalty
METHOD m_uazxcfcd updateEnchantments (Lnet/minecraft/unmapped/C_rlomrsco;Lnet/minecraft/unmapped/C_jiailwzt;)V
ARG 2 difficulty
METHOD m_uebjilbs equip (Lnet/minecraft/unmapped/C_xhhleach;Ljava/util/Map;)V
ARG 2 dropChances
METHOD m_uffvnhuu readLeashNbt ()V
METHOD m_uqccedlq canSpawn (Lnet/minecraft/unmapped/C_vdvbsyle;Lnet/minecraft/unmapped/C_uzzvxofv;)Z
ARG 1 world
Expand Down
2 changes: 2 additions & 0 deletions mappings/net/minecraft/entity/passive/WolfVariants.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ CLASS net/minecraft/unmapped/C_udrqifai net/minecraft/entity/passive/WolfVariant
METHOD m_lnueigda getKey (Ljava/lang/String;)Lnet/minecraft/unmapped/C_xhhleach;
METHOD m_ouhhqrrg register (Lnet/minecraft/unmapped/C_hqoyyfco;Lnet/minecraft/unmapped/C_xhhleach;Ljava/lang/String;Lnet/minecraft/unmapped/C_ednuhnnn;)V
METHOD m_pzmgmdro register (Lnet/minecraft/unmapped/C_hqoyyfco;Lnet/minecraft/unmapped/C_xhhleach;Ljava/lang/String;Lnet/minecraft/unmapped/C_xhhleach;)V
ARG 1 variantKey
ARG 3 biomeKey
METHOD m_uoffyfmm register (Lnet/minecraft/unmapped/C_hqoyyfco;Lnet/minecraft/unmapped/C_xhhleach;Ljava/lang/String;Lnet/minecraft/unmapped/C_odfnijdo;)V
ARG 2 name
ARG 3 biomes
Expand Down
3 changes: 3 additions & 0 deletions mappings/net/minecraft/entity/player/HungerConstants.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ CLASS net/minecraft/unmapped/C_hogjaswq net/minecraft/entity/player/HungerConsta
COMMENT fast healing logic.
FIELD f_zrphofge MIN_SATURATION F
COMMENT The lowest saturation value ({@value}) allowed in a hunger manager.
METHOD m_bddulzod calculateSaturation (IF)F
ARG 0 hunger
ARG 1 saturationModifier
5 changes: 4 additions & 1 deletion mappings/net/minecraft/entity/player/HungerManager.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ CLASS net/minecraft/unmapped/C_lvaukqjj net/minecraft/entity/player/HungerManage
FIELD f_zeivleti foodSaturationLevel F
METHOD m_etwfogec isNotFull ()Z
METHOD m_frtlrvvj add (IF)V
ARG 1 food
ARG 1 hunger
ARG 2 saturationModifier
METHOD m_hbovcxyx getPrevFoodLevel ()I
METHOD m_hmimlxwl addInternal (IF)V
ARG 1 hunger
ARG 2 saturation
METHOD m_icyxpyiq update (Lnet/minecraft/unmapped/C_jzrpycqo;)V
ARG 1 player
METHOD m_ilwsbruf getExhaustion ()F
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
CLASS net/minecraft/unmapped/C_rhioaoru net/minecraft/entity/projectile/ExplosiveProjectileEntity
FIELD f_dkqtyluo powerX D
FIELD f_dnowwkkw DEFLECTION_SCALE D
FIELD f_gyqksnid powerZ D
FIELD f_hbcoyjan powerY D
METHOD <init> (Lnet/minecraft/unmapped/C_ogavsvbr;DDDDDDLnet/minecraft/unmapped/C_cdctfzbn;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CLASS net/minecraft/unmapped/C_ltpsyvhj net/minecraft/entity/projectile/Projecti
ARG 5 z
ARG 7 speed
ARG 8 divergence
METHOD m_dbijdqsf onDeflection ()V
METHOD m_dixzluws getEffectCause ()Lnet/minecraft/unmapped/C_astfners;
COMMENT {@return the cause entity of any effect applied by this projectile} If this
COMMENT projectile has an owner, the effect is attributed to the owner; otherwise, it
Expand All @@ -18,6 +19,8 @@ CLASS net/minecraft/unmapped/C_ltpsyvhj net/minecraft/entity/projectile/Projecti
ARG 8 divergence
METHOD m_ggjsldmr onBlockHit (Lnet/minecraft/unmapped/C_jdakttms;)V
ARG 1 blockHitResult
METHOD m_gkrsfskk getDeflector (Lnet/minecraft/unmapped/C_eetoegzn;)Lnet/minecraft/unmapped/C_jslwmoew;
ARG 1 hit
METHOD m_jmdjqqjc canHit (Lnet/minecraft/unmapped/C_astfners;)Z
ARG 1 entity
METHOD m_jyeyoflu canBreakBlocks (Lnet/minecraft/unmapped/C_cdctfzbn;)Z
Expand All @@ -37,7 +40,11 @@ CLASS net/minecraft/unmapped/C_ltpsyvhj net/minecraft/entity/projectile/Projecti
ARG 1 entity
METHOD m_ruolgrkr shouldLeaveOwner ()Z
METHOD m_vxsjwvrq updateRotation ()V
METHOD m_wfumhqdl onPunch (Lnet/minecraft/unmapped/C_astfners;)V
ARG 1 attacker
METHOD m_wosjyviq setOwner (Lnet/minecraft/unmapped/C_astfners;)V
ARG 1 entity
METHOD m_xlvwraww onCollision (Lnet/minecraft/unmapped/C_eetoegzn;)V
ARG 1 hitResult
METHOD m_xyxcezdx punch (Lnet/minecraft/unmapped/C_sbxfkpyv;)Z
ARG 1 source
2 changes: 2 additions & 0 deletions mappings/net/minecraft/particle/ColoredParticleEffect.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ CLASS net/minecraft/unmapped/C_gjiczies net/minecraft/particle/ColoredParticleEf
METHOD m_isvlspbn create (Lnet/minecraft/unmapped/C_qlzoaopu;I)Lnet/minecraft/unmapped/C_gjiczies;
ARG 0 type
ARG 1 color
METHOD m_miuanucg createCodec (Lnet/minecraft/unmapped/C_qlzoaopu;)Lcom/mojang/serialization/MapCodec;
ARG 0 type
METHOD m_pnqkildl getGreen ()F
METHOD m_rahtkbru createPacketCodec (Lnet/minecraft/unmapped/C_qlzoaopu;)Lnet/minecraft/unmapped/C_qsrmwluu;
ARG 0 type
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/particle/ParticleTypes.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ CLASS net/minecraft/unmapped/C_ikjsgvwe net/minecraft/particle/ParticleTypes
FIELD f_fxvedhtd LAVA_SPLASH Lnet/minecraft/unmapped/C_lwmufxcy;
FIELD f_gqwyjfup WATER_SPLASH Lnet/minecraft/unmapped/C_lwmufxcy;
FIELD f_tjoynfkt CODEC Lnet/minecraft/unmapped/C_qsrmwluu;
METHOD m_dghlnsfq register (Ljava/lang/String;ZLjava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/unmapped/C_qlzoaopu;
ARG 1 alwaysShow
ARG 2 codecFactory
ARG 3 packetCodecFactory
METHOD m_hihblidg register (Ljava/lang/String;Z)Lnet/minecraft/unmapped/C_lwmufxcy;
ARG 0 name
ARG 1 alwaysShow
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ CLASS net/minecraft/unmapped/C_hfiihagy net/minecraft/particle/VibrationParticle
FIELD f_kdfcxapg CODEC Lcom/mojang/serialization/MapCodec;
FIELD f_ogbzrebq PACKET_CODEC Lnet/minecraft/unmapped/C_qsrmwluu;
FIELD f_peccigsc destination Lnet/minecraft/unmapped/C_duzerrml;
FIELD f_rvdlvija POSITION_SOURCE_CODEC Lcom/mojang/serialization/Codec;
FIELD f_zqvbwolw arrivalTicks I
METHOD <init> (Lnet/minecraft/unmapped/C_duzerrml;I)V
ARG 1 destination
Expand Down
1 change: 1 addition & 0 deletions mappings/net/minecraft/sound/SoundEvent.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ CLASS net/minecraft/unmapped/C_avavozay net/minecraft/sound/SoundEvent
METHOD m_sfswrbpw createEvent (Lnet/minecraft/unmapped/C_ncpywfca;Ljava/util/Optional;)Lnet/minecraft/unmapped/C_avavozay;
ARG 0 id
ARG 1 range
METHOD m_vrqmvzyk getRange ()Ljava/util/Optional;
METHOD m_vuiblxtx createFixedRangeEvent (Lnet/minecraft/unmapped/C_ncpywfca;F)Lnet/minecraft/unmapped/C_avavozay;
ARG 0 id
ARG 1 range
Expand Down

0 comments on commit 2a73227

Please sign in to comment.