-
[1.7.10][Solved]How to stop my item doing this?
Oh wait it does work when you are in survival... Fair enough.
-
[1.7.10][Solved]How to stop my item doing this?
Making it return true doesn't work.
-
[1.7.10][Solved]How to stop my item doing this?
Ok I changed the video link, now it does work. And I'm sorry i used the free version of dxtory. I hope you won't break down your computer because you got annoyed by the Dxtory banner. And no, I'm not sponsored.
-
[1.7.10][Solved]How to stop my item doing this?
To know what I just take an item and right click it on a block (it should be bobbing up and down). https://www.youtube.com/watch?v=JYGf_wL_UpI&feature=youtu.be How to stop that? It does that for every item, including the bow, but that gets masked because of the action a bow does.
-
[1.7.10][Solved]Make the message (IMessage) repeat itself.
Well i fixed it myself, but it was not just a tick handler, I just didn't explain the whole thing enough so you couldn't know that.
-
[1.7.10][Solved]Make the message (IMessage) repeat itself.
What i want to achieve is: like in the example i gave, keep adding 1 to x untill it becomes equel to y, then do z and stop.
-
[1.7.10][Solved]Make the message (IMessage) repeat itself.
What i need to happen is: if(x == y) {do z} else {add 1 to x and repeat this whole thing} So I tried just adding ModFile.INSTANCE.sendToServer... (how I initially sent the message), but the server (the actual server program) doesn't like that. Error: And using return new ReloadMessage(); doesn't repeat it. So what now?
-
[1.7.10][Solved] "Crash" (Something with IMessage onMessage and heldItem)[
So it works fine without the heldItem part, but when i add that, it "crashes" (it shuts down and returns to the main menu). The Message class (don't mind the "value") The "crash" in the console.
-
[1.7.10]Keybind making entity spawn?
Welp, i got it to work. I needed to add EntityPlayer player = ctx.getServerHandler().playerEntity; and then EntitySnowball ball = new EntitySnowball(world, player);
-
[1.7.10]Keybind making entity spawn?
Ok i changed to the Simple Network Wrapper (way easier than the PacketPipelin one). And now, say i wan't to spawn a snowball, that what i tried did not work. the onMessage (the package is send to the server, ofcourse. I guess this is not the way to do it.
-
[1.7.10]Keybind making entity spawn?
So I got a working keybind, but i can't spawn any entities in it. What now? I got the idea of sending a packet, but i don't know what i need to send with it nor how i then actually need to make the entity spawn (I'm quite new to packets). KeyHandler (it works, but what now?) PacketPipeline class (everything ok?) The actual packet (what do i need to write where?)
-
[1.7.10]Item left click actions?
Welp, can't sue you for having fun. But now let's ignore him and get on.
-
[1.7.10]Item left click actions?
- [1.7.10]Item left click actions?
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?- [1.7.10]Item left click actions?
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 - [1.7.10]Item left click actions?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.