<ItemMeta>.addItemFlags(ItemFlag.HIDE_ENCHANTS);
Preferably I want the border around the screen to be included, and I also want to avoid giving the player slowness or decreasing the speed...
Hello! I am trying to find a way to give the player the spyglass zoom effect and gui when they hold a certain item. I already got the holding item...
@davidclue I don't have to explain myself if I don't want to. If you don't know the answer then please don't post anything. Also, I literally...
@davidclue I mentioned me using PacketPlayOutWorldParticles in the original post, which is a part of NMS.
I am using the version 1.16, which does not have EnumParticle, but rather just Particles. However, you cannot use Particles.DUST in...
@davidclue sorry for the late reply, was out traveling. Unfortunately, this is not what I meant. I want to use NMS PacketPlayOutWorldParticles to...
bump x2
Hey all! So while making a plugin for my server, I've ran into a slight problem, and it is that I cannot use Particles.DUST as the first parameter...
alright I guess I will go with @davidclue method
Because the particles aren't frequent enough. When a player fires an arrow, it the particles are very spaced out, so it looks bad.
I want them to spawn every x milliseconds, not ticks, since ticks are too slow.
@KarimAKL oh, I spawn it like this: getWorld().getWorld().spawnParticle(Particle.VILLAGER_HAPPY, new Location(getWorld().getWorld(), locX(),...
@KarimAKL I spawned the arrow through the CustomArrow class, and then I cancelled the original arrow that was shot.
ok thank you Edit: I just tested out the code, and it seems as if the speed of the particles did not change. Im assuming its because I did not...
Thank you, that helped me a lot, but there is one problem: When the arrow is spawned, it just falls and hits the ground. I looked into the class,...
How would I go about doing that? Sorry if its a dumb question.
Please mark this thread as solved then :)
So Im making custom projectile trails for a server, and I came across a big issue: the arrows are too fast. I am currently using a...
I haven't checked if this works, but it should in theory: for (ItemStack i : event.getBlock().getDrops()) { if...
Separate names with a comma.