-
Bug
-
Resolution: Unresolved
-
None
-
1.18.1, 22w03a, 22w05a, 22w06a, 22w07a, 1.18.2 Pre-release 1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 23w18a, 1.20.1, 1.21, 1.21.4
-
None
-
Confirmed
-
Networking, Particles
-
Low
-
Platform
The Bug:
When a player feeds a baby entity its desired food, green growth particles can only be seen by the person who fed the entity, and not other players.
Steps to Reproduce:
- Get two players and label them "Player A" and "Player B".
- Have "Player A" obtain some wheat and summon a baby cow by using the command provided below.
/summon minecraft:cow ~ ~ ~ {NoAI:1b,Age:-25000}
- Get "Player B" to look at the baby cow and have "Player A" feed it multiple pieces of wheat.
- Take note as to whether or not growth particles can be seen by other players.
Observed Behavior:
Green growth particles can only be seen by the person feeding the entity its desired food, and not other players.
Expected Behavior:
Green growth particles would be seen by all players.
Code Analysis:
Code analysis by Avoma can be found below.
The following is based on a decompiled version of Minecraft 1.18.1 using MCP-Reborn.
public abstract class AgeableMob extends PathfinderMob { ... public void aiStep() { super.aiStep(); if (this.level.isClientSide) { if (this.forcedAgeTimer > 0) { if (this.forcedAgeTimer % 4 == 0) { this.level.addParticle(ParticleTypes.HAPPY_VILLAGER, this.getRandomX(1.0D), this.getRandomY() + 0.5D, this.getRandomZ(1.0D), 0.0D, 0.0D, 0.0D); } ...
If we look at the above class, we can see that particles produced from entities growing are only produced client-side. This is evident through the following line of code:
if (this.level.isClientSide)
- relates to
-
MC-236515 The "minecraft:item.elytra.flying" sound cannot be heard by other players when flying with elytra
- Open
-
MC-237053 Block breaking particles cannot be seen by other players
- Open
-
MC-237252 The "minecraft:entity.puffer_fish.sting" sound cannot be heard by other players when being stung by pufferfish
- Open
-
MC-238714 The "minecraft:item.book.page_turn" sound cannot be heard by other players when switching between pages in books held in the hand
- Open
-
MC-238715 The "minecraft:block.chest.locked" sound cannot be heard by other players when attempting to open locked blocks
- Open
-
MC-248666 Particles produced from dragon eggs teleporting cannot be seen by other players
- Open
-
MC-237057 The "minecraft:particle.soul_escape" sound is very rarely heard by other players when using boots enchanted with soul speed
- Resolved
-
MC-237165 Block breaking sounds cannot be heard by other players
- Open
-
MC-244949 The sounds of packing and unpacking items using bundles in creative mode cannot be heard by other players
- Open
-
MC-256890 The "minecraft:entity.generic.extinguish_fire" sound can only be heard by other players when being extinguished with splash water bottles
- Open
-
MC-253884 Particles produced from the bad omen effect being consumed cannot be seen by other players
- Resolved
-
MC-257268 The dashing animations of camels sometimes aren't displayed for other players
- Resolved