Skip to content

Commit

Permalink
Add Javadocs to Worldadd(Important)ParticlesClient
Browse files Browse the repository at this point in the history
  • Loading branch information
Octol1ttle committed Jan 9, 2025
1 parent a67e21d commit 36fd762
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 10 deletions.
37 changes: 27 additions & 10 deletions mappings/net/minecraft/world/World.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 2 old
ARG 3 updated
METHOD method_17452 addImportantParticleClient (Lnet/minecraft/class_2394;ZDDDDDD)V
COMMENT Adds an important particle to the client's world renderer. Important particles get added even if the Particles graphics option is set to Minimal
COMMENT Does nothing on the server.
COMMENT
COMMENT @see ServerWorld#spawnParticles
ARG 1 parameters
ARG 2 force
ARG 3 x
Expand Down Expand Up @@ -135,9 +139,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
METHOD method_43126 getSpawnPos ()Lnet/minecraft/class_2338;
METHOD method_43127 getSpawnAngle ()F
METHOD method_43128 playSound (Lnet/minecraft/class_1297;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
COMMENT Plays a sound caused by a source. On the client, the sound will only play if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
ARG 1 source
COMMENT the player that caused this sound, or {@code null}. On the client, the sound will only if if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
COMMENT the player that caused this sound, or {@code null}
ARG 2 x
ARG 4 y
ARG 6 z
Expand All @@ -146,9 +151,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 10 volume
ARG 11 pitch
METHOD method_43129 playSoundFromEntity (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_3414;Lnet/minecraft/class_3419;FF)V
COMMENT Plays a sound caused by a source at the provided entity's position. On the client, the sound will only play if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
ARG 1 source
COMMENT the player that caused this sound, or {@code null}. On the client, the sound will only if if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
COMMENT the player that caused this sound, or {@code null}
ARG 2 entity
ARG 3 sound
ARG 4 category
Expand Down Expand Up @@ -190,9 +196,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
METHOD method_47576 (Ljava/util/function/Predicate;Ljava/util/List;ILnet/minecraft/class_5575;Lnet/minecraft/class_1297;)Lnet/minecraft/class_7927$class_7928;
ARG 4 entity
METHOD method_47967 playSound (Lnet/minecraft/class_1297;DDDLnet/minecraft/class_3414;Lnet/minecraft/class_3419;FFJ)V
COMMENT Plays a sound caused by a source. On the client, the sound will only play if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
ARG 1 source
COMMENT the player that caused this sound, or {@code null}. On the client, the sound will only if if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
COMMENT the player that caused this sound, or {@code null}
ARG 2 x
ARG 4 y
ARG 6 z
Expand Down Expand Up @@ -285,9 +292,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
METHOD method_8442 getSkyAngleRadians (F)F
ARG 1 tickDelta
METHOD method_8449 playSoundFromEntity (Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;Lnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)V
COMMENT Plays a sound caused by a source at the provided entity's position. On the client, the sound will only play if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
ARG 1 source
COMMENT the player that caused this sound, or {@code null}. On the client, the sound will only if if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
COMMENT the player that caused this sound, or {@code null}
ARG 2 entity
ARG 3 sound
ARG 4 category
Expand Down Expand Up @@ -325,9 +333,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 2 block
METHOD method_8458 isSavingDisabled ()Z
METHOD method_8465 playSound (Lnet/minecraft/class_1297;DDDLnet/minecraft/class_6880;Lnet/minecraft/class_3419;FFJ)V
COMMENT Plays a sound caused by a source. On the client, the sound will only play if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
ARG 1 source
COMMENT the player that caused this sound, or {@code null}. On the client, the sound will only if if the source is the same as the client's player.
COMMENT On the server, sound packets will be sent to players around the source, excluding the source itself.
COMMENT the player that caused this sound, or {@code null}
ARG 2 x
ARG 4 y
ARG 6 z
Expand All @@ -337,6 +346,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 11 pitch
ARG 12 seed
METHOD method_8466 addParticleClient (Lnet/minecraft/class_2394;ZZDDDDDD)V
COMMENT Adds a particle to the client's world renderer.
COMMENT Does nothing on the server.
COMMENT
COMMENT @see ServerWorld#spawnParticles
ARG 1 parameters
ARG 2 force
ARG 3 canSpawnOnMinimal
Expand Down Expand Up @@ -380,6 +393,10 @@ CLASS net/minecraft/class_1937 net/minecraft/world/World
ARG 2 sourceBlock
ARG 3 orientation
METHOD method_8494 addImportantParticleClient (Lnet/minecraft/class_2394;DDDDDD)V
COMMENT Adds an important particle to the client's world renderer. Important particles get added even if the Particles graphics option is set to Minimal
COMMENT Does nothing on the server.
COMMENT
COMMENT @see ServerWorld#spawnParticles
ARG 1 parameters
ARG 2 x
ARG 4 y
Expand Down
4 changes: 4 additions & 0 deletions mappings/net/minecraft/world/WorldAccess.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ CLASS net/minecraft/class_1936 net/minecraft/world/WorldAccess
METHOD method_8404 getLocalDifficulty (Lnet/minecraft/class_2338;)Lnet/minecraft/class_1266;
ARG 1 pos
METHOD method_8406 addParticleClient (Lnet/minecraft/class_2394;DDDDDD)V
COMMENT Adds a particle to the client's world renderer.
COMMENT Does nothing on the server.
COMMENT
COMMENT @see ServerWorld#spawnParticles
ARG 1 parameters
ARG 2 x
ARG 4 y
Expand Down

0 comments on commit 36fd762

Please sign in to comment.