Hi. I'm trying to create per-player holograms, but I encountered a problem. I'm using following code: Location loc =...
@ref
@AlvinB No, InventoryOpenEvent doesn't detect when players open his inventory. You can read more about it here:...
Hello. Is there a way to detect when player opens his inventory? (By pressing specific button (By default "E")). Up to 1.11 there existed a way to...
Ok, I see you have found a little workaround, but it still won't solve my problem. Maybe my previous question wasn't that accurate, so here is...
Since 1.10 there is a new kind of attack, called "sweep attack". But how to call it? Making my question simplest as possible: how to, for...
@timtower OK, so what is the main purpose of it's use then? I hoped that it allows to damage entity "in that correct way" and knockback entity...
Hi. I get this code: @EventHandler public void test(PlayerChatEvent e){ for(Entity en : e.getPlayer().getNearbyEntities(5, 2, 5)){...
I made it working. Thank to both of you, especially Doggy. I appreciate your help.
@timtower Could you give me sample code showing your idea of solving this?
OK, just to clarify: Let's say that I want to create some API. As you know, its use should be as simple as possible. So I want to create method...
Thank you for fast replies. Yes, I don't want to use sync tasks because there may be a lot of those requests used independently. Furthermore I...
Hello! How can I get value of some variable from the inside of scheduler? I write a plugin, which should get text from some URL with some timeout....
@timtower Nope, no errors or exceptions. Mobs just don't disappear (you can't get any info of them etc.), as long as no one is in this world. It...
Hello. I want some mobs to disappear when my plugin is loading. I tried this: for(Entity en :...
Hello! Like the title says, I have problem with making entity client-side glowing. I know that I can make it glows to everyone by simply using...
Hm... I liked your solution, so I started to make some more researches. Then, accidentally, I found something little strange - my AntiRape list...
Hello! I have problem with packets. I created packet listener (Using PacketListenerApi) and everything works fine. Maybe too fine, because my code...
@I Al Istannen I LOVE YOU MAN! With just some more more researches I made, I finally have done what I wanted! Your post was a big clue for me, but...
It looks like: private EntityPlayer npc; npc = new EntityPlayer(nmsServer, nmsWorld, new GameProfile(UUID.fromString("randomUUIDhere"),...
Separate names with a comma.