mojira.dev
MC-7433

Action button will no longer place blocks, open doors, etc. - it only destroys/punches

Have been playing the game for several weeks. Was playing as usual when "Out of Memory" screen popped up, was forced to quit the game. Tried to relaunch and continued to get the same message. The following day tried to launch the game again, and was able to get into the game but now the action button will not place blocks, open doors. The action button can now only be used to destroy items.

I tried to create the memory .bat file that is recommended on the Minecraft website (javaw -Xmx512m -Xms512m -jar minecraft.exe). I cannot get this .bat file to launch Minecraft.

Attachments

Comments 15

Please force a crash by pressing F3 + C for 10 seconds while ingame and attach the crash report here.

For the batch file:
create a "minecraft.bat" just there where Minecraft.exe is located, put the following code in the batch file:

java -Xmx1g -Xms512M -cp Minecraft.exe net.minecraft.LauncherFrame

On what Minecraft website did you read the recommendation of "-Xmx512m -Xms512m" ? That's too less memory.

I think this is intended. See: http://www.minecraftwiki.net/wiki/Version_history/Development_versions#12w40a ("The left-click action will no longer open doors, pull levers, push buttons or open trapdoors. Use the right mouse button!")

Anon Ymus: i think he means the right-click as he states it will no longer place blocks.

But he also says "The action button can now only be used to destroy items." which seems to indicate the left-click. Jeff, can you please clarify which button you are refering to?

Ok, lets do some defining:

"Attack"-Button = Left Mouse button (Default): Digs and Attacks
"Use Item"-Button = Right Mouse button: Place blocks, open doors

So neither the right click can destroy blocks nor the left click can place blocks --> Working as intended.

5 more comments

Here was the crash report requested by Kumasasa. Thanks again, sorry for delay.

Reopened.
According to the crash report your memory is set to the default value of max. 1GB:

JVM Flags: 2 total; -Xms512m -Xmx1024m

Using the batch file from the given website will even lower the memory to the half.

Please check the control setting (Options -> Controls) to what the "Use Item" button is set.

"Use Item" was set to "2", instead of "Button 2". Looks like I overlooked that simple investigation. Don't know how/why that button management was changed. Any ideas? Looks like this case is closed, thank you. One more comment, should I use the .bat file or no??? Thanks again.

I wouldn't launch minecraft with a .bat file unless you are short on RAM. It just over-complicates things.

Please resolve as Works as Intended.

Jeff Stanczyk

(Unassigned)

Unconfirmed

Minecraft 1.4.7

Retrieved