Skip to content

Comments

Add config to prevent self morph particles#309

Open
asanetargoss wants to merge 1 commit intomchorse:1.12from
asanetargoss:blaze_smoke_in_my_face
Open

Add config to prevent self morph particles#309
asanetargoss wants to merge 1 commit intomchorse:1.12from
asanetargoss:blaze_smoke_in_my_face

Conversation

@asanetargoss
Copy link
Contributor

@asanetargoss asanetargoss commented Feb 19, 2024

A bigger PR than the first two.

This fix prevents spawning particles in first-person, which makes using a blaze morph easier. Because this may interfere with other mods, a config option has been provided to disable it if needed.

The fix wraps every vanilla IWorldEventListener. When spawning client-side particles from the user's morph while in first person, the wrapper is passed a flag which causes it to not spawn particles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant