Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello I would like to know how to break as "thePlayer", so it´s like the player holds the mouse buttons.

Is that possible and if yes how?

 

Thanks

 

Keba

I don't understand what you mean. A player can already break and place blocks.

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.

  • Author

And how can i do it automaticaly? Like thePlayer.placeblock(x y z) and theplayer.breakblock(x, y, z);

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.

  • Author

No I need it to really mine it, because it should work on multiplayer server without forge....

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.

  • Author

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?

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.

  • Author

Thats the problem... I cant install forge cause my brrother wants to play and his Computer is not able to install forge

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.

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.