Skip to content

Commit

Permalink
change: add 'Client' suffix to some 'World' methods to indicate that …
Browse files Browse the repository at this point in the history
…they only work on the client
  • Loading branch information
Octol1ttle committed Nov 17, 2024
1 parent 065ea56 commit cfb9f1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions mappings/net/minecraft/world/World.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 1 pos
ARG 2 old
ARG 3 updated
METHOD method_17452 addImportantParticle (Lnet/minecraft/class_2394;ZDDDDDD)V
METHOD method_17452 addImportantParticleClient (Lnet/minecraft/class_2394;ZDDDDDD)V
ARG 1 parameters
ARG 2 force
ARG 3 x
Expand Down Expand Up @@ -169,7 +169,7 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 4 category
ARG 5 volume
ARG 6 pitch
METHOD method_45446 playSoundAtBlockCenter (Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
METHOD method_45446 playSoundAtBlockCenterClient (Lnet/minecraft/class_2338;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
ARG 1 pos
ARG 2 sound
ARG 3 category
Expand Down Expand Up @@ -228,7 +228,7 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 6 z
ARG 8 sound
ARG 9 category
METHOD method_55116 playSoundFromEntity (Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
METHOD method_55116 playSoundFromEntityClient (Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
ARG 1 entity
ARG 2 sound
ARG 3 category
Expand Down Expand Up @@ -353,7 +353,7 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 10 volume
ARG 11 pitch
ARG 12 seed
METHOD method_8466 addParticle (Lnet/minecraft/class_2394;ZZDDDDDD)V
METHOD method_8466 addParticleClient (Lnet/minecraft/class_2394;ZZDDDDDD)V
ARG 1 parameters
ARG 2 force
ARG 3 canSpawnOnMinimal
Expand All @@ -379,7 +379,7 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 1 pos
METHOD method_8478 getThunderGradient (F)F
ARG 1 delta
METHOD method_8486 playSound (DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
METHOD method_8486 playSoundClient (DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFZ)V
ARG 1 x
ARG 3 y
ARG 5 z
Expand All @@ -396,7 +396,7 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 1 pos
ARG 2 sourceBlock
ARG 3 orientation
METHOD method_8494 addImportantParticle (Lnet/minecraft/class_2394;DDDDDD)V
METHOD method_8494 addImportantParticleClient (Lnet/minecraft/class_2394;DDDDDD)V
ARG 1 parameters
ARG 2 x
ARG 4 y
Expand Down
2 changes: 1 addition & 1 deletion mappings/net/minecraft/world/WorldAccess.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ CLASS net/minecraft/class_1936 net/minecraft/world/WorldAccess
METHOD method_8401 getLevelProperties ()Lnet/minecraft/class_5217;
METHOD method_8404 getLocalDifficulty (Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;
ARG 1 pos
METHOD method_8406 addParticle (Lnet/minecraft/class_2394;DDDDDD)V
METHOD method_8406 addParticleClient (Lnet/minecraft/class_2394;DDDDDD)V
ARG 1 parameters
ARG 2 x
ARG 4 y
Expand Down

0 comments on commit cfb9f1a

Please sign in to comment.