Jump to content

Get Break Particles From A Block


nov4e

Recommended Posts

Just now, V0idWa1k3r said:

Then I am afraid you will need a custom particle implementation. Default particles don't follow anything but their motion values.

I think not because on some vanilla servers theres a plugin that do that. Maybe I can try to spawn the particles in the same position of the damaged entity.

Link to comment
Share on other sites

5 minutes ago, nov4e said:

I think not because on some vanilla servers theres a plugin that do that.

Plugins can't do that since the server doesn't have any particle data whatsoever, only the client does. You are likely confused. The particle won't follow anything but it's motion. You can though continuously spawn particles at the entity's position thus making the entity a "particle emmitter".

Link to comment
Share on other sites

2 minutes ago, V0idWa1k3r said:

Plugins can't do that since the server doesn't have any particle data whatsoever, only the client does. You are likely confused. The particle won't follow anything but it's motion. You can though continuously spawn particles at the entity's position thus making the entity a "particle emmitter".

check this plugin.  I want to make something similiar to this.

Link to comment
Share on other sites

1 minute ago, nov4e said:

I have to put the methods in a eventhandler marking it with Side.CLIENT only?

Thats also for distinguishing between physical sides

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

1 minute ago, nov4e said:

ok i make a new event handler only client only and it should work?

No.

6 minutes ago, V0idWa1k3r said:

you need to separate logical sides

Hint: world.isRemote   

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

As a side note events are not guaranteed to run on both logical sides. If the event only fires on a logical server then world.isRemote will always return false and your code will never execute. In this case you would either need an event that does fire on the logical client or you will need to use packets.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.