Posted April 8, 20205 yr How would I add a custom particle to the game? I've looked at Minecraft's ParticleTypes class but I'm confused. Thank you!
April 8, 20205 yr Author Figured it out for my needs at least, here's my code should anyone need it: @EventBusSubscriber(modid = Combat.MODID) public class ModParticleTypes { public static final IParticleData SHURIKEN_PARTICLE = new BlockParticleData(ParticleTypes.BLOCK, Blocks.IRON_BLOCK.getDefaultState()); }
April 9, 20205 yr Hi You might find this example useful as well https://github.com/TheGreyGhost/MinecraftByExample/tree/master/src/main/java/minecraftbyexample (mbe50) Contains some extra information on how to use particles properly -TGG
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.