
Bets
Members-
Posts
153 -
Joined
-
Last visited
Everything posted by Bets
-
Oh so this is what you mean, yeah I used that before in my code. I just did not under stand what the :: and # stuff means Thank you!
-
Is there a way I can get the amount of blocks per seconds ridden by a horse to get a dynamic speed I can display? (Client only, not modded horse)
-
So how can I implement it to my code can I have an example?
-
Sorry, what does the :: mean? is it like the Minecraft.getMinecraft(); thing? Is there a playerSP class? could find only the playercontrollerMP class but not this one.
-
So how can I access it if it's not by using mc.player?
-
-
Can I maybe use the code that makes the horse run to make him run by himself somehow? is it in the EntityHorse class?
-
Hmm, interesting idea - I think I have an idea, can't I make the horse constantly go forward and just change the rotation of the player? Like for example other mods trigger auto walk?
-
I don't care if the player can move the horse or not, just somehow control the WASD keys using the mod while riding the horse probably
-
Not really sure how to use the " NetHandlerPlayClient::getPlayerInfo " part
-
It's ok I'd just like to test it for now, can I somehow make the Horse move without pressing the W key?
-
Actually, I changed my mind. I want to make a mod that can "teach" my horse to ride to the destination I set in my survival world by itself. Is this possible? Starting by making the horse ride +5 block to the x access can be good enough
-
The only thing I was able to find is this.theEntity.getNavigator().tryMoveToXYZ Which I don't think I can execute as the player. or can I?
-
Is there an example code I can see somewhere?
-
Tried things like finding the net-handler, but did not succeed. What's the best way to do so in 1.11.2? (Ping to the server I'm currently connected to) Thanks!
-
Alrighty, in what class I can find this?
-
Just want to try and make something that follows a path like the camera mods, or just try to make the player walk to start with. Where is the mob path code located?
-
Can I make it so the player will follow a certain path? (like the camera mods do?) or even walk to a certain position? Will I have to use an algorithm even if I preset the path?
-
And I can access that using mc.player?
-
It shouldn't be open to everyone, that's the thing. I want the use to be only for my IP or anyone else's IP that I decide to add. What do you mean by UUID?
-
It's sort of a login in a way. The thing is I don't want to ban IPs I want to check them to see if the player has permissions to for example get "admin options" inside my mod. I just thought it can be pretty cool
-
This is why I'm asking for help here, all I want to do is this: > Click a button >Checks IP >If IP is identical > enter If not > don't Why are all the questions? what will I do with someone's IP...
-
As I said before, I use it for login purposes - if a user is trying to log in to a certain place from the mod without permission (wich will be defined by his public IP address) he will not get access. It's a public IP address, just like server owners can get.