Posted November 1, 201510 yr Hello! I have 2 questions: 1. Can I increace vanilla particle max age? 2. How to spawn particles of my block breaking? (For vanilla blocks it "blockcrack_id_meta")
November 1, 201510 yr For your first question, the particleMaxAge field is protected so you could use Java Reflection technique to modify it. For your second question, the Block class has an addDestroyEffects() method you can call. I think each call creates a single particle so you may have to call it several times to create a "burst" of particles. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
November 1, 201510 yr Author For your first question, the particleMaxAge field is protected so you could use Java Reflection technique to modify it. For your second question, the Block class has an addDestroyEffects() method you can call. I think each call creates a single particle so you may have to call it several times to create a "burst" of particles. Thanks you!
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.