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.
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.
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.
*/publicboolean attackEntityFrom(DamageSource source, float amount)
{
if (!this.worldObj.isRemote && !this.isDead)
{
if (this.func_180431_b(source))
{
returnfalse;
}
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);
}
}
returntrue;
}
}
else
{
returntrue;
}
Confirmed.