mojira.dev
MC-40919

CAN break blocks w/sword in creative

What I expected to happen was...:
Nothing would happen when I hit the ground, and the mobs would die in one hit from my Sharpness X and Fire Aspect II and Knockback X sword.

What actually happened was...:
The block I hit w/the sword vanished, and it dealt the same damage as punching.

Steps to Reproduce:
It might not be this complicated, but this is what I did.
1. Set up a custom generic villager to give you a named and lored diamond sword with huge enchant levels on it with /summon
2. Trade with it.
3. Use the sword on a mob and find it deals the same damage as punching
4. Hit the ground with the sword and find the block breaks instantly.

Comments 7

Please attach the complete output of the "Development console" tab of the launcher.

  • Click the text, press CTRL-A to select all, then CTRL-C to copy, and CTRL-V to paste in a comment on this ticket.


If the launcher closes after game start, please edit your profile and select "Launcher visibility" then, "Keep the launcher open".

Okay. Typing on a chromebook right now, will play minecraft at around noon. Thanks for looking at this!

Now it won't break any more blocks, but it will break instantly.

[11:43:04 INFO]: Refreshing local version list...
[11:43:04 INFO]: Minecraft Launcher 1.3.3 (through bootstrap 4) started on windows...
[11:43:04 INFO]: Current time is Nov 25, 2013 11:43:04 AM
[11:43:04 INFO]: System.getProperty('os.name') == 'Windows Vista'
[11:43:04 INFO]: System.getProperty('os.version') == '6.0'
[11:43:04 INFO]: System.getProperty('os.arch') == 'x86'
[11:43:04 INFO]: System.getProperty('java.version') == '1.7.0_45'
[11:43:04 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[11:43:04 INFO]: System.getProperty('sun.arch.data.model') == '32'
[11:43:04 INFO]: Refreshing remote version list...
[11:43:05 INFO]: Refresh complete.
[11:43:05 INFO]: Loaded 5 profile(s); selected 'qxu21'
[11:43:05 INFO]: Refreshing auth...
[11:43:05 INFO]: Logging in with access token
[11:43:46 INFO]: Getting syncinfo for selected version
[11:43:46 INFO]: Queueing library & version downloads
[11:43:47 INFO]: Download job 'Version & Libraries' started (8 threads, 24 files)
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\paulscode\codecwav\20101023\codecwav-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\paulscode\codecjorbis\20101023\codecjorbis-20101023.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl\2.9.0\lwjgl-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput-platform\2.0.5\jinput-platform-2.0.5-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\google\code\gson\gson\2.2.4\gson-2.2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-core\2.0-beta9\log4j-core-2.0-beta9.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\net\java\jinput\jinput\2.0.5\jinput-2.0.5.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\net\sf\jopt-simple\jopt-simple\4.5\jopt-simple-4.5.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\net\java\jutils\jutils\1.0.0\jutils-1.0.0.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:47 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\paulscode\soundsystem\20120107\soundsystem-20120107.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\paulscode\librarylwjglopenal\20100824\librarylwjglopenal-20100824.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl-platform\2.9.0\lwjgl-platform-2.9.0-natives-windows.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\java3d\vecmath\1.3.1\vecmath-1.3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\io\netty\netty-all\4.0.10.Final\netty-all-4.0.10.Final.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\org\apache\commons\commons-lang3\3.1\commons-lang3-3.1.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\org\lwjgl\lwjgl\lwjgl_util\2.9.0\lwjgl_util-2.9.0.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\ibm\icu\icu4j-core-mojang\51.2\icu4j-core-mojang-51.2.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\paulscode\libraryjavasound\20101123\libraryjavasound-20101123.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\google\guava\guava\15.0\guava-15.0.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:48 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\commons-io\commons-io\2.4\commons-io-2.4.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:49 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\com\mojang\authlib\1.3\authlib-1.3.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:49 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\org\apache\logging\log4j\log4j-api\2.0-beta9\log4j-api-2.0-beta9.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:49 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\versions\1.7.2\1.7.2.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:49 INFO]: Finished downloading C:\Users\Thomas\AppData\Roaming\.minecraft\libraries\net\sf\trove4j\trove4j\3.0.3\trove4j-3.0.3.jar for job 'Version & Libraries': Used own copy as it matched etag
[11:43:49 INFO]: Job 'Version & Libraries' finished successfully (took 0:00:02.352)
[11:43:51 INFO]: Download job 'Resources' skipped as there are no files to download
[11:43:51 INFO]: Job 'Resources' finished successfully (took 0:00:00.000)
[11:43:51 INFO]: Launching game
[11:43:51 INFO]: Looking for old natives to clean up...
[11:43:51 INFO]: Unpacking natives to C:\Users\Thomas\AppData\Roaming\.minecraft\versions\1.7.2\1.7.2-natives-561360753252
[11:43:51 INFO]: Launching in C:\Users\Thomas\AppData\Roaming\.minecraft
[11:43:53 INFO]: Client> [11:43:53] [main/INFO]: Setting user: qxu21
[11:43:53 INFO]: Client> [11:43:53] [main/INFO]: (Session ID is token:f1802858b30c457cb2435ca7cf90fcad:542eb293e43f41daa3d7d2f35763983e)
[11:43:54 INFO]: Client> [11:43:54] [Client thread/INFO]: LWJGL Version: 2.9.0
[11:43:54 INFO]: Client> [11:43:54] [Client thread/INFO]: Reloading ResourceManager: Default
[11:43:54 INFO]: Client> 
[11:43:54 INFO]: Client> Starting up SoundSystem...
[11:43:54 INFO]: Client> Initializing LWJGL OpenAL
[11:43:54 INFO]: Client>     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:43:55 INFO]: Client> OpenAL initialized.
[11:43:55 INFO]: Client> 
[11:43:55 INFO]: Client> [11:43:55] [Sound Library Loader/INFO]: Sound engine started
[11:43:55 INFO]: Client> [11:43:55] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[11:43:55 INFO]: Client> [11:43:55] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[11:44:32 INFO]: Client> [11:44:32] [Server thread/INFO]: Starting integrated minecraft server version 1.7.2
[11:44:32 INFO]: Client> [11:44:32] [Server thread/INFO]: Generating keypair
[11:44:33 INFO]: Client> [11:44:33] [Server thread/INFO]: Preparing start region for level 0
[11:44:34 INFO]: Client> [11:44:34] [Server thread/INFO]: Preparing spawn area: 28%
[11:44:35 INFO]: Client> [11:44:35] [Server thread/INFO]: Preparing spawn area: 65%
[11:44:36 INFO]: Client> [11:44:36] [Server thread/INFO]: Preparing spawn area: 99%
[11:44:36 INFO]: Client> [11:44:36] [Server thread/INFO]: qxu21[local:E:6b223af9] logged in with entity id 298 at (-24.075670685035405, 6.123803747784586, 10.060859319913664)
[11:44:36 INFO]: Client> [11:44:36] [Server thread/INFO]: qxu21 joined the game
[11:44:38 INFO]: Client> [11:44:38] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2119ms behind, skipping 42 tick(s)
[11:44:47 INFO]: Client> [11:44:47] [Server thread/INFO]: [@: Object successfully summoned]
[11:45:27 INFO]: Client> [11:45:27] [Server thread/INFO]: [@: Object successfully summoned]
[11:45:34 INFO]: Client> [11:45:34] [Server thread/INFO]: Saving and pausing game...
[11:45:34 INFO]: Client> [11:45:34] [Server thread/INFO]: Saving chunks for level '??????'/Overworld
[11:45:34 INFO]: Client> [11:45:34] [Server thread/INFO]: Saving chunks for level '??????'/Nether
[11:45:34 INFO]: Client> [11:45:34] [Server thread/INFO]: Saving chunks for level '??????'/The End
[11:45:59 INFO]: Client> [11:45:59] [Server thread/INFO]: Saving and pausing game...
[11:45:59 INFO]: Client> [11:45:59] [Server thread/INFO]: Saving chunks for level '??????'/Overworld
[11:45:59 INFO]: Client> [11:45:59] [Server thread/INFO]: Saving chunks for level '??????'/Nether
[11:45:59 INFO]: Client> [11:45:59] [Server thread/INFO]: Saving chunks for level '??????'/The End
[11:46:00 INFO]: Client> [11:46:00] [Server thread/INFO]: Stopping server
[11:46:00 INFO]: Client> [11:46:00] [Server thread/INFO]: Saving players
[11:46:00 INFO]: Client> [11:46:00] [Server thread/INFO]: Saving worlds
[11:46:00 INFO]: Client> [11:46:00] [Server thread/INFO]: Saving chunks for level '??????'/Overworld
[11:46:00 INFO]: Client> [11:46:00] [Server thread/INFO]: Saving chunks for level '??????'/Nether
[11:46:00 INFO]: Client> [11:46:00] [Server thread/INFO]: Saving chunks for level '??????'/The End

That's the console right there...

Unable to reproduce by giving myself that sword. I suspect it is an issue with the fact that you are /summoning it and your client thinks you have it equipped while the server doesn't.

I'm in singleplayer!

Does this happen when you open the creative inventory and equip a sword? If not, that means that the issue is that you are trading wrong. You need to specify a count for the items the villager is trading.

Mary Mary

(Unassigned)

Unconfirmed

block, sword

Minecraft 1.7.2

Retrieved