you could set the slot of the item which they clicked to an itemstack with one less item
Wrong. Though telling you the code is useful, you don't learn. You copy and paste it into your plugin. If you follow his directions, you will...
How do I set if a lever is flipped on or off, I know that there is a .setData method but it is deprecated and I prefer not to use those (They...
metalhedd Thanks, trying that right now.. and I see why not to use periods and colons, I am kicking myself for using those.
Could you use metadata to tag the player and in the onMove event check if the player has metadata then cancel?
So.... I have this custom config file (from the wiki) and I am trying to get a int but it just returns 0. I am not sure why and I checked the...
Thanks for that tip I knew that already, just forgot about that. After fixing, it still does not seem to work. Thanks, That worked. I had...
I have code that is supposed to check if the player is holding a type of dye (ink sac with durability 6) and it wont work. I used messages saying...
I am making a 'blackjack plugin where you sit in a seat and then a map with text on it will tell you things in the game. How would I go about...
k thanks, I'm trying to code that right now. SaxSalute Also, do you think there is a better way to do this? maybe the minecarts won't work. I'm...
I am making a skyrail plugin (from bioshock infinite) and I want to attach a player to a minecart so he can't move with WASD but he moves with...
NathanWolf Thanks for the suggestions, I think I'm going to try having the main "controller" block where if you right click it with a "wrench" it...
int[] vars = {a,b,c} for(int i = 0; i > 3; i++){ if(int == good_value && !bad_value){ } } Is this what you want?
How would I detect when multiblock structures are built, and not by just checking if the player places the right block, and check the blocks...
Deprecated means it might be removed later or it leads to unstable code, so it is best to not use deprecated code.
How would I get the direction of a dispenser, because .getData() is deprecated and I don't want to use it.
How to I check if the ingredient of a brewing stand is a certain item (With a certain lore) and when the brewing finishes, it creates a potion...
ok, thanks. would I use only d and f for entering parameters in the enum, because the registerEntities method has no parameters.
But when I used the method from the tutorial, exported the plugin and reloaded, all of the zombies were attacking skeletons. I didn't do anything...
oh, then how do I only override certain zombies?
Separate names with a comma.