[SPIGOT-1975] Entity-Spam with falling blocks Created: 19/Mar/16  Updated: 18/Jan/18  Resolved: 22/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Fabian Müller Assignee: md_5
Resolution: Fixed Votes: 0
Labels: 1.9, entity, spam

Attachments: PNG File 2016-03-19_01.10.12.png    

 Description   

Since 1.9 it's possible to spam massive entities with falling blocks (like sand and gravel) and cause huge lags. You just need to let sand or gravel fall on a fence (screenshot).
Seems like this is a vanilla bug, although I'm wondering if spigot could change something here.



 Comments   
Comment by pokechu22 [ 18/Jan/18 ]

I agree with commandblockguy. One of the main goals of craftbukkit (not spigot) is to avoid making changes that break vanilla behavior; this is a vanilla behavior that is sometimes useful (albeit also problematic). Getting rid of it without any option breaks a small selection of vanilla things, which goes against that goal.

(For reference, craftbukkit commit 616a9687 changed this behavior, and the vanilla ticket is MC-90523)

Comment by blablubbabc [ 18/Jan/18 ]

https://www.xkcd.com/1172/

Comment by commandblockguy [ 17/Jan/18 ]

This behavior has some uses in both aesthetic and functional designs. For example, some creeper and witch farms use falling sand entities to remove arrow entities which would pile up otherwise. It is also used to make slabs out of concrete powder which are not normally possible, such as in this video here https://youtu.be/pQvOsOa0Vl8?t=1m39s

This fix should have a configuration option so that players on servers without security concerns can use the vanilla behavior.

Comment by md_5 [ 22/Mar/16 ]

Fixed on our end because it's a reasonably serious issue

Comment by Dev [ 19/Mar/16 ]

You can use this technique with torches too. Actually much faster to clean entire sand areas using torches than fences. We just filled in guardian temple with sand and used this technique to clear out most of the water to turn it into a fish farm. Also found extremely high entity count during the process. We stopped halfway through and went looking for people breeding too many cows or chickens. Now it's really funny that the whole time it was us duh lol.

Comment by md_5 [ 19/Mar/16 ]

The fix is pretty simple, but it's likely this is intentional. Gonna try and find out why Mojang changed this.

Comment by Fabian Müller [ 19/Mar/16 ]

Falling sand is an entity, so that you can cause massive client lags and make some chunks inaccessible.
In 1.8 the block stopped 1 block above the fence and wasn't in state "falling", now it's an entity that stays in the "falling" state if you let it fall above a fence.

Comment by md_5 [ 19/Mar/16 ]

Whats the issue, it breaking and making items or what?

Generated at Fri Apr 11 16:22:06 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.