Posted February 7, 201510 yr I've been trying tons of things, but nothing works as I wan't it to. That is: -you can left click in the air -it has to keep repeating as long as left mouse button is down -it needs to work at a good speed (not too much time between checking wether left clicking or not). Please help me and keep in mind that I'm not too good in coding so... Sorry for my english and sorry if I somehow insulted you
February 8, 201510 yr Author Use a tick handler or look into this. As for the link you gave, the only thing i can find is RIGHT_CLICK_AIR, RIGHT_CLICK_BLOCK, LEFT_CLICK_BLOCK, i need LEFT_CLICK_AIR, which doesn't exist. Next, the tick handler, if i want ti to check keys, it needs to be client side, but entity spawning is server side (correct?). Also, how do I only let it check if i click if I'm not in the menu or looking in my inventory or containers or stuff like that?
February 8, 201510 yr Author Welp, can't sue you for having fun. But now let's ignore him and get on.
January 6, 20169 yr Actually, I want to know, how to get handle left-click-air-event, too? Is anybody know how to do this?
January 6, 20169 yr Ok, I see. Thanks. Packets is too hard for me... I'll try to get decision by plugin.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.