Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Auto walk, break, place


Gingerbreadman
 Share

Recommended Posts

Then you should trigger some methods in playercontroller. See Minecraft and PlayerController code that how it works.

(Yes, it should be handled on client side)

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

You don't need any fake mobs. Just find the path, and force the player to follow the path on client side.

  (Some Entity AIs contain pathfinding code, so it would be helpful)

 

And on placing and breaking, you would just invoke right click to place, and left click to break.

 

(NOTE : You might need some reflection trick to do that.)

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

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
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.

 Share



×
×
  • Create New...

Important Information

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