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

Break and Place Blocks as a Player


Recommended Posts

Oh, you should of said that in your post! You can do this easily with World#setBlock. If you want to delete a block, you simply set it to air.

I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat.

Link to post
Share on other sites

So, you're trying to make a client only mod that mines for the player? That is actually called "hacking", and is not supported here.

I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat.

Link to post
Share on other sites

If you want to break a block automatically without the server having forge installed, you'd need to send packets from client to server in order to trick the server into thinking you did it (I think). Or, just have some button that sets the MOUSE1 (left click) as held always. Although, you saying it's for "your own Server" doesn't make sense considering you could install forge on your own server.

I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat.

Link to post
Share on other sites

Not really hacking as long as it doesn't e.g: Mine stuff that is behind you, but yeah - that is at least botting and is just stupid...

 

If you can code - checking out PlayerConroller will suffice, you will know what to do. Just to note out: you still won't be able to mine more than one block, nor mine with "long-range" or something, just saying, don't expect magic to happen.

 

INSTA EDIT:

 

But it is only for my own Server? I didn´t know that it is not allowed. :-X Is there still a way to break or place blocks?

 

1. If it is for your server, why client-side only?

2. Noone can stop you, I can only say it is waste of time and 0 creativity.

3. Learn to read MC's code. It is very simple and will teach you much more than we here. In this case - seriously, you just have to look at Minecraft.class and find where input happens.

1.7.10 is no longer supported by forge, you are on your own.

Link to post
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.

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.