| Type: | Bug | ||
| Reporter: | Connor Steppie | Assignee: | Unassigned |
| Resolution: | Works As Intended | Votes: | 21 |
| Labels: | CustomName, item-renaming | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||||||||||||||
| Confirmation Status: | Confirmed | ||||||||||||||||||||||||||||||||||||||||||||
| Game Mode: | Creative | ||||||||||||||||||||||||||||||||||||||||||||
| Category: |
Minecart
|
||||||||||||||||||||||||||||||||||||||||||||
| Description |
The bugRenamed minecarts still drop a minecart item in creative mode. Expected behavior would be not to drop a minecart. How to reproduce
Code analysisCode analysis by marcono1234 can be found in this comment. |
| Comments |
| Comment by pulpetti [ 07/Aug/20 ] |
|
In 1.16.2 Pre-3 |
| Comment by Желязко Юрий Алеексевич [ 25/Jul/20 ] |
|
I have the same =) |
| Comment by [Mod] Asteraoth [ 12/Dec/18 ] |
|
Changed the reporter to Awesoman3000. |
| Comment by Connor Steppie [ 12/Dec/18 ] |
|
Affects 18w50a |
| Comment by Connor Steppie [ 05/Dec/18 ] |
|
Affects 18w49a |
| Comment by Connor Steppie [ 30/Nov/18 ] |
|
Affects 18w48b, can I request ownership of the ticket? |
| Comment by Connor Steppie [ 29/Nov/18 ] |
|
Affects 18w48a |
| Comment by Connor Steppie [ 25/Nov/18 ] |
|
Affects 18w47b |
| Comment by Kraif [ 31/Aug/18 ] |
|
Confirmed for 1.13.1. |
| Comment by Steven W.d.V. [ 29/Jun/18 ] |
|
Confirmed for 1.13-pre5 |
| Comment by user33 [ 27/Apr/17 ] |
|
Confirmed for 17w17a |
| Comment by Steven W.d.V. [ 18/Feb/16 ] |
|
Confirmed for 1.9-pre2 |
| Comment by Marcono1234 [ 17/Feb/16 ] |
|
Please link to this comment in the description The following is based on decompiled version of Minecraft 1.8 using MCP. All method and class names are the names used in the decompiled version. This behaviour could be changed by modifying the public boolean attackEntityFrom(DamageSource source, float amount) method of the net.minecraft.entity.item.EntityMinecart class. However as this is done on purpose this bug might be "Works as Intended". /** * Called when the entity is attacked. */ public boolean attackEntityFrom(DamageSource source, float amount) { if (!this.worldObj.isRemote && !this.isDead) { if (this.func_180431_b(source)) { return false; } else { this.setRollingDirection(-this.getRollingDirection()); this.setRollingAmplitude(10); this.setBeenAttacked(); this.setDamage(this.getDamage() + amount * 10.0F); boolean var3 = source.getEntity() instanceof EntityPlayer && ((EntityPlayer)source.getEntity()).capabilities.isCreativeMode; if (var3 || this.getDamage() > 40.0F) { if (this.riddenByEntity != null) { this.riddenByEntity.mountEntity((Entity)null); } // Changed this //if (var3 && !this.hasCustomName()) if (var3) { this.setDead(); } else { this.killMinecart(source); } } return true; } } else { return true; } |
| Comment by Immaterialise [ 17/Feb/16 ] |
|
Confirmed for 1.9-pre1 |
| Comment by Steven W.d.V. [ 05/Feb/16 ] |
|
Confirmed for 16w05b |
| Comment by Steven W.d.V. [ 20/Dec/15 ] |
|
Confirmed for 15w51b |
| Comment by Steven W.d.V. [ 18/Nov/15 ] |
|
Confirmed for 15w47a and 15w47c |
| Comment by Steven W.d.V. [ 05/Nov/15 ] |
|
Confirmed for 15w45a |
| Comment by Steven W.d.V. [ 28/Oct/15 ] |
|
Confirmed for 15w44a and 15w44b |
| Comment by Steven W.d.V. [ 22/Oct/15 ] |
|
Confirmed for 15w43b and 15w43c |
| Comment by Steven W.d.V. [ 14/Oct/15 ] |
|
Confirmed for 15w42a |
| Comment by Steven W.d.V. [ 07/Oct/15 ] |
|
Still present in 15w41b |
| Comment by Steven W.d.V. [ 30/Sep/15 ] |
|
Confirmed in 15w40b |
| Comment by Steven W.d.V. [ 23/Sep/15 ] |
|
Confirmed for 15w39c |
| Comment by [Mod] redstonehelper [ 28/Aug/15 ] |
|
I resolved |
| Comment by Anon Ymus [ 28/Aug/15 ] |
|
That's |
| Comment by PancakeMan77 [ 28/Aug/15 ] |
|
Confirmed for 15w35c. I also want to note, that when done with a minecart command block, it will drop a minecart named "@". |
| Comment by [Mod] redstonehelper [ 26/Aug/15 ] |
|
Done, thanks. |
| Comment by PancakeMan77 [ 26/Aug/15 ] |
|
Can someone update the title to include creative? It's confusing otherwise. If you were in survival, it would make sense. I know that you are in creative, but it was initially confusing. |
| Comment by Marcono1234 [ 31/May/14 ] |
|
Confirmed for 14w21b Unnamed minecarts with command blocks don't drop something |
| Comment by Roadsguy [ 11/Mar/14 ] |
|
I would think this is a good feature if the minecart keeps its name data when placed, and drops itself as a named item when you break it, but if not, then it's got to be a bug. |
| Comment by julian mazer [ 26/Feb/13 ] |
|
This Happens To all minecarts |
| Comment by Kumasasa [ 26/Feb/13 ] |
|
Confirmed. |