The easiest way to find examples of how something is done is to use your IDE to search the vanilla Minecraft code. For example, if you are using Eclipse, to find all the uses of 'ParticleTypes.BLOCK', you could navigate to the ParticleTypes class, right click the 'BLOCK' variable and select 'Open call hierarchy', which should open the call hierarchy window so that you can browse all the different places where 'ParticleTypes.BLOCK' occurs. If you are using another IDE, I am sure they have similar features. Hope this helps!
I would like for when something exists that a block particle appears around what I have put into the world.
This is how you do it on 1.11.2:
On 1.16.5 I am not sure:
This will add the particle for effect. But what I am looking to do is use the texture of a block.
What was getIdFromBlock changed to?
1.16.5, but getIdFromBlock is what is underlined and that's the problem I'm running into so I can't add particles that way:
The easiest way to find examples of how something is done is to use your IDE to search the vanilla Minecraft code. For example, if you are using Eclipse, to find all the uses of 'ParticleTypes.BLOCK', you could navigate to the ParticleTypes class, right click the 'BLOCK' variable and select 'Open call hierarchy', which should open the call hierarchy window so that you can browse all the different places where 'ParticleTypes.BLOCK' occurs. If you are using another IDE, I am sure they have similar features. Hope this helps!
How do I choose which block the particle renders that way?
For example:
This is right and all that but I have no block for the added particle that way.
Which is how come it would be better if that avatar was a picture someone actually made...
Same thing with this one, I don't know how to specify which block that the texture is rendering though and I'm not sure how it works, but it could:
Both of these do not work:
This isn't working either for that matter at all:
This doesn't work either, but I could be close though, I'm not completely sure though:
I am not sure where you are getting your examples from, they are all quite wrong I am afraid. To be straight forward, this is how you would do it:
1.11.2:
1.16.5:
How do you do the one for redstone particle?
Such as:
I think I got it with this though:
It appears my game has crashed though.
Yeah, that doesn't show up that it has errors, but it crashes the game and I'm not really sure what to do.
Put your spoiler here.