@KarimAKL I understand, but how to make sure to pick up a could the one who killed the mob? BTW, this should not work for all items. That is, it...
Hello! I do not know how to do the following: I need to loot that fell from the monster (ItemStack), could only pick up the one who killed him...
How to do it? Keep in mind that clicks can be LEFT (left-right-right) or (left-right-left)
Hello! I need to check the player's right click and do something with it. Of course, I understand that we need PlayerInteractEvent. But I need...
@Zombie_Striker I wrote the code, but I'm still being teleported into blocks. Block b = player.getTargetBlock((Set<Material>) null, 10); if...
Hello! I need to teleport player in the direction he's looking at the 10 blocks. In this case, consider the following: - if type, to which he...
No. Entity e; switch (e.getType()) { case ZOMBIE: { e = ((CraftWorld) world).getHandle().addEntity(new...
Okay, I understand the mistake. How to fix?
No. The method spawn works for me, not working adding to the Moba NMS (e = entity = CustomEntities.handle(entity, type, l, l.getWorld ();), so I...
Nothing happens, there are no errors in the console.
Hello! My nms entity not working. Please help. I use method handle on spawn my custom entity with command (/entity [id] config). My code: public...
UP!
its working in click-event?
Hi! Help set this code to cooldown! I need to see if the player pressed, the event was carried out, and if I repeat something let the triggered...
Separate names with a comma.