Jump to content

Recommended Posts

Posted

Hello there, I've started with MCP around 4 days ago and I just gotta say I love it. It took a while but I think I'm starting to understand everything. Anyway, you're not here to listen to that. What I'm looking for is some guidance on how to move the MCP player client around. Say there's a BlockPos obj in the system and I want to get to that block. How would I move my player (like a mob) to that block. What I mean by mob is like maybe the Minecraft pathfinding system? I tried using the Minecraft pathfinding system but as I dug deeper they only really meant it for mobs. I tried to change the EntityLivingBase to just EntityLiving and that made some problems and didn't even do what I intended it to do. The reason I did that was to be able to use Minecraft#thePlayer in the net.minecraft.pathfinding classes, which in the end didn't work and kept moving my camera in the "center" of the screen. Again, I want to be able to just walk a player to a location/block position. Thanks in advance!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.