Jump to content

Recommended Posts

Posted (edited)

Hi there,

 

I've been working on this, particle for a few weeks, Thanks to some wonderful people on this server I was able to get rid of all my errors that caused crashes, however now i'm at the point where it simply will not appear.  The Particle Goal is to make the particle float about 70% the way to the second block above the block the particle comes from as well as the particle starting from within the block so that it looks more natural instead of appearing randomly I also want the particle to scale in different sizes.

I threw down some math, I feel like i'm missing something though to make it appear.

Here is my particle code for paticle creation

https://github.com/drizzs/GrassWorld-1.14/tree/master/src/main/java/com/drizzs/grassworld/api/particle

Here is the particle itself
https://github.com/drizzs/GrassWorld-1.14/blob/master/src/main/java/com/drizzs/grassworld/api/particle/types/EnchantedBlack.java

and here is the block calling the particle

https://github.com/drizzs/GrassWorld-1.14/blob/master/src/main/java/com/drizzs/grassworld/blocks/normalgrass/OrangeGrass.java


I put a system print which does not appear
I can probably figure out the math if the particle appears. So hopefully someone has an idea as to why its not appearing and can give me some insight.

For those wondering if its possible the randomtick, its a grass block so its actually growing from a method that allows grass spread. Its also on a tick. It works.

No Errors, No Crash only this warning
image.png.b8cce2d3cce04a07038d0d0dc9b97c13.png
image.png.4266d3e3eafc698b675be9fca97fe802.png

 

Edited by Drizzs
more info

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • So am trying to make a custom 1.19.2 modpack and everything works until I add Oculus. I have tried Oculus+Embedium and Oculus+Rubdium and by themselves they work but as soon as I add anything it crashes no matter what it is. The modpack works fine with just Embedium and Rubdium. Can you help me to see if this is something i can fix or do i just have to deal with not having shaders. Here is the crash log. Thank you for your time. https://paste.ee/p/WXfNZ24K
    • What do I do now when it says "1 error"?
    • Hello everyone new here how are you all?
    • I haven't tested it but under https://minecraft.wiki/w/Items_model_definition it says now:   So I guess the resource location must have changed with 1.24.4, which means you need to move your models/item/ to the new source. But as I said I haven't tested this so it also may be that this wont work. Nevertheless give it a try      EDIT (important) So now I tested it and found out how it works   Let the model files (e.g. the .json from blockbench) within "assets/<your_mod_id>/models/item" In addition to that do the following: Every model you added will need a new file under "assets/<your_mod_id>/items" That file is also a JSON and looks like this: { "model": { "type": "minecraft:model", "model": "your_mod_id:item/custom_item" } } - "type" can be minecraft:model, minecraft:composite, minecraft:condition, minecraft:select, minecraft:range_dispatch, minecraft:empty, minecraft:bundle/selected_item or minecraft:special. (In most cases you would need minecraft:model) - "model" is the path to your actual model for this item. For example the value above would point to "assets/your_mod_id/models/item/custom_item"
  • Topics

×
×
  • Create New...

Important Information

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