ICY105 / Datapack-Utilities

Some useful functions for the intrepid datapack developer.
MIT License
93 stars 18 forks source link

End dimension small vertical hitboxes spawned and persist #19

Closed patcat127 closed 4 years ago

patcat127 commented 4 years ago

Approximately once a second, below the player (at least when near y=0), a small, about half a block tall, otherwise one-dimensional hitbox spawns. I have not been able to determine what kind of entity it is, due to /data get not cooperating, but I know that they persist continuously. This is a severe issue as our server ended up with twenty eight thousand of them near our enderman farm, and it caused severe problems with lag. The attached screenshot is of the entities, all facing south. This is a very severe issue for our server and has required us to disable datapack utilities, which is something I very much want to fix as soon as possible

2020-03-12_20 43 06

ICY105 commented 4 years ago

Hmm, thought I fixed those... You can remove them with "/kill @e[tag=chunk_scan.chunk]" You can also disable their creation (and chunk generation in general) by running this command constantly: "/tag @a add chunk_scab.disabled"

patcat127 commented 4 years ago

Is there any way I can do that without filling up the server log with commands?

On Fri, Mar 13, 2020, 11:29 AM Michael Weatherby notifications@github.com wrote:

Hmm, thought I fixed those... You can remove them with "/kill @e https://github.com/e [tag=chunk_scan.chunk]" You can also disable their creation (and chunk generation in general) by running this command constantly: "/tag @A https://github.com/A add chunk_scab.disabled"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ImCoolYeah105/Datapack-Utilities/issues/19#issuecomment-598780156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKTHLL73EKJJZEIPZ3OSJDRHJGNVANCNFSM4LGYFVUA .

ICY105 commented 4 years ago

iirc using "/tag @a[tag=!chunk_scan.disabled] add chunk_scan.disabled" won't spam the console- if it does you can add the line to a datapack's tick function.

patcat127 commented 4 years ago

It worked! Thank you, the server performs a lot better now

On Fri, Mar 13, 2020, 4:13 PM Michael Weatherby notifications@github.com wrote:

iirc using "/tag @A https://github.com/A[tag=!chunk_scan.disabled] add chunk_scan.disabled" won't spam the console- if it does you can add the line to a datapack's tick function.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ImCoolYeah105/Datapack-Utilities/issues/19#issuecomment-598893636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGKTHLMUX6BX7FHNGXDKZOLRHKHWZANCNFSM4LGYFVUA .

Archer70 commented 4 years ago

I fixed our lag issue by disabling processing of the end. At least that's what I think I did, because I'm not familiar with editing datapacks. Maybe @ImCoolYeah105 can tell me if I'm a retard or not.

data/chunk_scan/functions/player.mcfunction

execute unless predicate chunk_scan:in_the_end if block ~ 0 ~ bedrock run function chunk_scan:chunk/init

#execute if predicate chunk_scan:in_the_end unless block ~ 255 ~ moving_piston run function chunk_scan:chunk/init

execute unless predicate chunk_scan:in_the_end positioned ~-8 0 ~-8 as @e[distance=0..,type=area_effect_cloud,tag=chunk_scan.chunk,sort=nearest,limit=1] at @s run function chunk_scan:chunk/generate
#execute if predicate chunk_scan:in_the_end positioned ~-8 0 ~-8 as @e[distance=0..,type=area_effect_cloud,tag=chunk_scan.chunk,sort=nearest,limit=1] at @s run function chunk_scan:chunk_end/generate
ICY105 commented 4 years ago

Fixed in 2.1.4