Posted September 4, 20223 yr g days i need to show a particle at this exact vector but the particle donts spaws or its not visible soo i made this in a custom item to try figure out was wrong // ########## ########## ########## ########## @Override public InteractionResultHolder<ItemStack> use(Level warudo, Player pe, InteractionHand hand) { Vec3 vh = util.calcularVectores(pe, 2 , 0.0F );// if ( vh != null) //warudo.isClientSide && { util.showthis( String.format(" %1$s, %2$s, %3$s", vh.x, vh.y, vh.z ) , pe); warudo.addAlwaysVisibleParticle(ParticleTypes.FLAME, vh.x, vh.y, vh.z , 0.0D, 0.0D, 0.0D); warudo.addParticle(ParticleTypes.SMOKE, vh.x, vh.y, vh.z , 0.0D, 0.0D, 0.0D); pe.playSound(SoundEvents.FIRE_EXTINGUISH, 1.0F, 1.0F); } return InteractionResultHolder.pass(pe.getItemInHand(hand)); } util.calcularVectores(pe, 2 , 0.0F ); just calculate the position 2 meters in from of player if i hold rigth click from time to time i see the flame particle but never see the smoke the sound allways works soo ineed help whith this how i spawn a particle or its now an entity ?
September 4, 20223 yr Try this: warudo.addAlwaysVisibleParticle(ParticleTypes.FLAME, vh.x, vh.y, vh.z + 0.5f , 0.0D, 0.0D, 0.0D); warudo.addParticle(ParticleTypes.SMOKE, vh.x + 0.5f, vh.y, vh.z , 0.0D, 0.0D, 0.0D); Then see if you can figure it out why my code works (and yours does as well). 🙂 Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
September 5, 20223 yr Author i fond the issue and dont like it in mi words i allways turn down render distance the bobbing effect the particles the shadows and pop up the light level is like a tradition to get the best experience from mi video card soo particles was not rendering coze i set particles to minimun, turn it to max and now it works is weird i could assure than before versions always pops particles from mods wherever the config says
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.