Question: How would I spawn a player entity client-side and remove it when I'm done? I've searched all over and I can't find a good way to accomplish this.
I'm trying to simulate what will happen if the player holds certain keys after X ticks(i.e. new position, new velocity, etc.), so if there's an easier way to do this than spawning a new player entity and forcefully ticking that one forward after copying the velocity/position/input of the player, then please let me know.
I've already figured iut how to forcefully tick the player forward, but my attempts at duplicating the player used .copyFrom have failed due to causing strange behaviors, so I'm looking to spawn a new player entity client-side and see how this goes.
Also, will doing this potentially send information to the server, or no?
Thanks in advance!
#(Solved-ish) How would I spawn a player entity client-side and remove it when I'm done?
18 messages · Page 1 of 1 (latest)
Also, will doing this potentially send information to the server, or no?
What is this mod for?
It's a personal project, with the main intent of adding jump sprinting to baritone and creating a "manhunt bot" of sorts to play with friends. I don't intend on going on any public servers with this(baritone + my PvP thing would get me banned pretty fast lol), but I want to know if it does this in case it has any side effects.
I tried making this project in Mineflayer and creating my own pathfinder and got pretty far, but Mineflayer has a few too many bugs for my liking.
Mhm.. I dont think the intention matters, we dont provide help with hacks on this server
!!cheating
@acoustic marsh: Unknown tag, use !tag to see all available tags
We do not support hacked clients, cheats, or modifications that are intended to give you the upper hand in a server, competitive or otherwise.
See rule 1 in #welcome and the Discord TOS: https://discordapp.com/terms
But I'm not doing this to hack on a server. I'm doing this to play with friends privately, and they know of this project. If I went on any of the public servers I'd actually want to use this on it'd get banned instantly, and I'm fine with that.
The same response is given for people writing mods for 2b2t server hacks, this is just not the server for this stuff
This is what I made with Mineflayer. Now I'm trying to do it in Fabric with the only difference being I'm using baritone so I don't have to rewrite my pathfinder. If a moderator tells me that what I'm seeking is something they can't help with, then I'll go with that. Otherwise any and all help with my original intent of simply spawning a player entity clientside is welcome.
HELP(still needed): How would I spawn a player entity client-side and remove it when I'm done?
(Solved-ish) How would I spawn a player entity client-side and remove it when I'm done?
My solution was to port https://github.com/PrismarineJS/prismarine-physics to java. It deviates a bit from vanilla since it's mainly based on 1.8 physics, but for my needs it gets the job done.