Potion particles spread always from the north-west corner of a block, regardless of impact
The bug
The potion particles are not spawning in the middle of the block. They're spawning on the edge of the block. Does not happen when you use the following command with a command block:
/particle <particle> ~0 ~1 ~0 0 0 0 1 1
Code analysis
Code analysis by Marcono1234 can be found in this comment.
Linked Issues
is duplicated by29
relates to11
- Fixed
Connor Steppie
cvsd
[Mojang] Panda- 52
- 24
- Confirmed
Low
- Networking Particles Rendering
- corner incorrect-particle-generation north-west particle splash-potion
14w04b - 1.16-pre5
14w04b 14w27b 14w30c 14w31a 14w34b 1.8-pre1 1.8-pre2 1.8 1.8.1 1.8.2-pre1 1.8.3 1.8.4 1.8.5 1.8.8 15w31a 15w31c 15w32b 15w32c 15w33a 15w33b 15w34a 15w34d 15w35e 15w36b 15w36c 15w36d 15w37a 15w38a 15w42a 15w43c 15w46a 15w47a 15w47b 15w47c 15w50a 1.9.2 16w15b 1.9.4 1.10.2 16w33a 16w36a 16w38a 16w39a 16w39b 16w39c 16w40a 16w41a 16w42a 16w43a 16w44a 1.11 16w50a 1.11.1 1.11.2 17w06a 17w13b 17w15a 17w16b 17w17a 17w18b 1.12-pre2 1.12.1 1.12.2-pre1 1.12.2-pre2 1.12.2 17w43a 17w43b 17w45a 17w45b 17w50a 18w05a 18w09a 18w15a 18w16a 1.13-pre2 1.13-pre3 1.13-pre6 1.13-pre7 1.13-pre8 1.13-pre9 1.13-pre10 1.13 18w30a 18w30b 18w31a 18w32a 18w33a 1.13.1-pre1 1.13.1-pre2 1.13.1 1.13.2-pre1 1.13.2-pre2 1.13.2 18w43b 18w43c 18w44a 18w45a 18w46a 18w47a 18w47b 18w48a 18w48b 18w49a 18w50a 19w02a 19w03a 19w03b 19w03c 19w04a 19w05a 19w07a 19w08b 19w09a 19w11a 19w11b 19w12a 19w12b 19w13a 19w13b 19w14a 19w14b 1.14-pre1 1.14-pre2 1.14-pre5 1.14.2-pre1 1.14.2-pre2 1.14.2-pre3 1.14.3-pre1 1.14.3-pre3 1.14.3-pre4 1.14.4-pre4 1.14.4 19w35a 19w36a 19w37a 19w38b 19w39a 19w40a 19w41a 19w42a 19w44a 19w45a 19w46a 1.15-pre1 1.15-pre2 1.15-pre3 1.15-pre4 1.15-pre6 1.15-pre7 1.15.1-pre1 1.15.2-pre1 1.15.2-pre2 1.15.2 20w06a 20w07a 20w08a 20w09a 20w10a 20w11a 20w12a 20w17a 20w20a 20w21a 1.16-pre1 1.16-pre2 1.16-pre3 1.16-pre5- 14w05b 1.16-pre6
Created Issue:
Potion Particles
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle.
Environment
Windows 7, Java 64bit
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle.
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
Potion ParticlesPotion Particles spread always from the north-west corner of a block, regardless of impact
is duplicated by
relates to
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
Windows
7, Java 64bitWindows 10 64-bit, Java 8 64-bit
Windows 10 64-bit, Java 8 64-bit
Intel Core i5-4690
MSI Radeon R9 380
8 GB Ram. (1GB given to Minecraft)
Windows 10 Pro (64-bit)
Java 8
is duplicated by
relates to
is duplicated by
is duplicated by
relates to
is duplicated by
relates to
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
Marcono1234 thinks he identified the cause in the code in this comment .
relates to
Could you include this please?
is duplicated by
relates to
is duplicated by
is duplicated by
is duplicated by
is duplicated by
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
Marcono1234
thinks he identified the cause in the codein this comment.The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
Code analysis by Marcono1234 can be found in this comment.
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
Code analysis by Marcono1234 can be found in this comment.
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
Code analysis by Marcono1234 can be found in this comment.
is duplicated by
is duplicated by
PotionParticles spread always from the north-west corner of a block, regardless of impactPotion particles spread always from the north-west corner of a block, regardless of impact
Still an issue in 16w41a
Intel Core i5-4690
MSI Radeon R9 380
8 GB Ram. (1GB given to Minecraft)
Windows 10 Pro (64-bit)
Java 8
Still in 16w15b
is duplicated by
The Potion Particles are not spawning in the middle of the block.They're spawning on the edge of the block. Does not happen when you use /particle [particle] ~0 ~1 ~0 0 0 0 1 1 with an command block.
Code analysis by Marcono1234 can be found in this comment.
The bug
The potion particles are not spawning in the middle of the block. They're spawning on the edge of the block. Does not happen when you use the following command with a command block:
/particle <particle> ~0 ~1 ~0 0 0 0 1 1Code analysis
Code analysis by Marcono1234 can be found in this comment.
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
is duplicated by
relates to
[Precision loss] Potion particles spread always from the north-west corner of a block, regardless of impact
[Precision loss]Potion particles spread always from the north-west corner of a block, regardless of impact
Casting issue: Potion particles spread always from the north-west corner of a block, regardless of impact
[Assign to category Networking then delete this line]
The bug
The potion particles are not spawning in the middle of the block. They're spawning on the edge of the block. Does not happen when you use the following command with a command block:
/particle <particle> ~0 ~1 ~0 0 0 0 1 1Code analysis
Code analysis by Marcono1234 can be found in this comment.
relates to
relates to
relates to
[Assign to category Networking then delete this line]
The bug
The potion particles are not spawning in the middle of the block. They're spawning on the edge of the block. Does not happen when you use the following command with a command block:
/particle <particle> ~0 ~1 ~0 0 0 0 1 1Code analysis
Code analysis by Marcono1234 can be found in this comment.
relates to
Casting issue:Potion particles spread always from the north-west corner of a block, regardless of impact
relates to
relates to
relates to
relates to
relates to
relates to
relates to
is duplicated by
is duplicated by
Dupe of MC-45749
Duplicate of MC-45749
This is probably MC-45749
The bug
When a splash or lingering potion with the CustomPotionEffects tag hits the ground and bursts, it will only show the particles of the potion defined by the Potion tag.
This is pretty inconsistent as for example tipped arrows show the particles of the effects provided in the CustomPotionEffects tag.
/give @p lingering_potion 1 0 {CustomPotionEffects:[{Id:12,Duration:1200,Ambient:1b,Amplifier:1}],Potion:"minecraft:water"}
The reason
The following is based on decompiled version of Minecraft 1.9 using MCP 9.24 beta. All method and class names are the names used in the decompiled version.
The reason why this happens is because the method net.minecraft.client.renderer.RenderGlobal.playAuxSFX(EntityPlayer, int, BlockPos, int) only passes a data value. This is currently used to represent the id of a default potion. As MC-45749 shows this method might be outdated.
Video is private. Also, duplicate of MC-45749.
Dupe of MC-45749
Relates to:
The problem for the mob to be offset is that the values for the translate(float p_179109_0_, float p_179109_1_, float p_179109_2_) method of the /Client/src/net/minecraft/client/renderer/GlStateManager.java (MCP 1.8 names) need to be offset when called for a mob spawner in the /Client/src/net/minecraft/client/renderer/tileentity/TileEntityMobSpawnerRenderer.java class by the func_147517_a(MobSpawnerBaseLogic p_147517_0_, double p_147517_1_, double p_147517_3_, double p_147517_5_, float p_147517_7_) method, because apparently setting position and rotation of the entity has no effect. So this "fix" might not actually fix the main problem behind this.
public static void func_147517_a(MobSpawnerBaseLogic p_147517_0_, double p_147517_1_, double p_147517_3_, double p_147517_5_, float p_147517_7_) { Entity var8 = p_147517_0_.func_180612_a(p_147517_0_.getSpawnerWorld()); if (var8 != null) { float var9 = 0.4375F; // This would work for spawner blocks GlStateManager.translate(0.0F, 0.4F, 0.0F); // This would work for MinecartSpawners GlStateManager.translate(0.5F, 0.4F, -0.5F); GlStateManager.rotate((float)(p_147517_0_.func_177223_e() + (p_147517_0_.func_177222_d() - p_147517_0_.func_177223_e()) * (double)p_147517_7_) * 10.0F, 0.0F, 1.0F, 0.0F); GlStateManager.rotate(-30.0F, 1.0F, 0.0F, 0.0F); GlStateManager.translate(0.0F, -0.4F, 0.0F); GlStateManager.scale(var9, var9, var9); var8.setLocationAndAngles(p_147517_1_, p_147517_3_, p_147517_5_, 0.0F, 0.0F); Minecraft.getMinecraft().getRenderManager().renderEntityWithPosYaw(var8, 0.0D, 0.0D, 0.0D, 0.0F, p_147517_7_); } }
This issue is a duplicate of MC-45749. Please search before reporting issues (if you haven't already) to see if your bug has been reported before.
Dupe of MC-45749
Thank you for your report!
However, this issue has been closed as a Duplicate of MC-45749.
It has been linked to this report. If you have additional information, please add it to the duplicated report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
However, this issue is a Duplicate of MC-45749.
If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Thank you for your report!
We're actually already tracking this issue at MC-45749, so we will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
If you're talking about the potion being positioned incorrectly (on the Y axis), causing it to not inflict damage, that's MC-45749 instead.
May relate to MC-45749
Duplicate of MC-45749
When playing a music disk in the jukebox the actual sound origin is on the far negative x negative y of the jukebox.
In the video you can hear the origin of the sound, and it is not on the center but rather its on the corner of the block
This issue is similar to the one where the potion particles origin is displayed as the far negative X and Y of the block that it fell on (Resolved MC-45749)


Use absolute coordinates and add .5 to the end of the x and z coordinates. It's the only advice I can offer.
Fixed in 14w05b.
Tested with
Please re-open this issue. The bug is still prevalent in 14w27b. No matter where you throw a splash potion, the particles only appear on the North-West corner of the block they landed on.
Reopened and confirmed.
Confirmed 1.8-pre1
Confirmed 1.8-pre2
Affects 1.8.
Confirmed for
Still affects 1.8.3.
Affects 1.8.4
Still affecting 1.8.5 : http://prntscr.com/78hpcl
Affects 15w31a!
Confirmed for 15w32b.
Still confirmed for 15w33a. I hope this gets fixed now there are new Lingering potions
Affects 15w33b.
Affects 15w34a.
Affects 15w34d.
Mathias K.: Since the original reporter seems inactive I've given you the ticket. Take good care of it
Bug confirmed for 15w47a.
Bug is still existent in 15w47b.
This bug affects 15w47c.
Confirmed for
The reason for that is that the method playAuxSFX(int p_175718_1_, BlockPos p_175718_2_, int p_175718_3_) in the /Client/src/net/minecraft/world/World.java class takes a BlockPos as argument (MCP 1.8 names). However BlockPos can only store three integers. This is also the reason why for example doors being broken display their particles in the center of the block (very likely). This method is not only used for rendering but also for the sound, which is the reason why the method used by the /particle command cannot be used for potions (as well as the fact that that method ignores the particle settings).
Edit: There are actually two methods of the net.minecraft.world.World class that could be used instead (together):
still in 1.9.4
Can confirm for 17w50a. Please update the affected versions for said version.
Still affects 18w05a, please update!
Affects 18w09a.
Yet confirmed in latest -release and -snapshot versions. Seems to be a simple bug with unnecessary float -> integer conversions of x/y/z coordinates.
Affects 1.13-pre6. Please keep the issue updated accordingly.
Affects 1.13-pre7
It also seems like the spread not only offsets to negative X and Z coordinates, but also to a negative Y coordinate. You could make splash potions sink into the ground by throwing them on end portal frames at a certain angle. The same applies to slabs and most slab-like blocks.
Present in 1.14.4 and all prior versions...
The packet for splash potions takes integers for the location, instead of floats or doubles.
Issue should probably be updated to include a feature request to change location parameters of (World) Effect packet ID 0x22 (34) to some floating point types.
Unfortunately, almost all of the effects that can be sent from this packet, make sense to only use block location, so this is probably not a big concern for the developers.
Relates closely to
MC-76810Affects 1.15 and 1.15.1 pre-release 1.
Also Eye of Ender broken particles are offset.
[^AGDRec_20200122_084340.mp4]
@Pneuma01, that is a separate issue and I created MC-172739 for it and attached your video there.
Please comment on it if you want to become the reporter.
Affects 1.16 pre5
Resolved? in 1.16 Pre-release 6.
Splash potion particles now always spread from the center of the block, regardless of impact