bump, I found out that I need to send PlayOutEntityMetadata packet to set the item in ItemFrame, but how do I know what is the entity ID of that...
Hello, I am trying to spawn a fake ItemFrame with item in it, using NMS, I was able to spawn it using this code: WorldServer worldServer =...
Hello. I wonder if there (in Bukkit API) is any way of canceling or preventing a copying of given ItemStack on Creative mode, by clicking Shift...
@MightyOne I need to set DamageCause to have a correct death message in other plugin.
@Zombie_Striker Ok, but how I can set the DamageCause? I don't see any method for this in EntityDamageEvent.
Hello. I need to damage a Player and set the DamageCause to SUICIDE, currently i have this: Bukkit.getPluginManager().callEvent(new...
Hello. I finally solved this by canceling the not needed SetSlot packets, using ProtocolLib's PacketListener. Now this works exactly as I wanted...
OK, tried my best, here is how the code looks now: public class ItemNameMessage implements Listener { public static HashMap<Player, Boolean>...
Hello. Sorry for bumping a thread that is over month old, but I still can't debug this. As I described in the previous post, it's not working with...
@X1machinemaker1X Still can't get it to work, if I do event.getSlot() == 103 or event.getRawSlot() == 103, or basing on different slot numeration:...
I was searching in Google, I tried to use == operator, it's still not working. It seems like event doesn't get canceled. If I put debug message...
Hello. I'm trying to check if getSlotType() is SlotType.ARMOR and, I can't get it to work... Here is the code: @EventHandler public void...
This doesn't help very much in this situation, because packet is being always sedned. I think the problem here, is that if player use a tool in...
No, I don't see any stacktrace in console.
Anyone knows how to make this work? Any hints? I can't solve this by myself...
Separate names with a comma.