Worked like a charm, thanks! [I feel like this event could have a better name] The code for this encase anybody who finds this in the future:...
I have made it so you can place wheat crops on sand. The placing works fine but when I place a block next to the crops and they get updated, the...
Bump. I tried to count the amount of water bottles before and after clicking but sometimes the players inventory if full and the water bottle gets...
I am having some troubles detecting glass bottles being filled. I first tried the PlayerInteractEvent but, when the player is right clicking in...
It's pretty much what you would expect. I'm just trying to make everything in the anvil craft wood as a test. @EventHandler public void...
I can see the item again but still can't take it out of the results square. Starting to think I'm just going to have to code a custom anvil GUI......
If I do it like this, there is no result in the slot to take. @EventHandler public void onAnvilEvent(PrepareAnvilEvent e) { new...
That event would be perfect, but it seems that in the game when I call .setResult() on that event, I can see the result, I just can't take the...
I have made a custom enchantment plugins, and I want my enchantments to work in an anvil. This includes combining books (IE Drain I + Drain I =...
Checking their inventory every n ticks was the solution I was avoiding, but it would work. I was hoping for an event but if that doesn't exist I...
I need a way to detect every time a player gets an item. The ideal solution should include things like picking items off of the floor, crafting...
Separate names with a comma.